file_name
stringlengths
21
73
function_name
stringlengths
1
699
stripped_function_name
stringlengths
4
22
clean_function_name
stringlengths
1
50
decompiled_code_original
stringlengths
34
273k
stripped_function_body
stringlengths
37
217k
S-Expression_of_decompiled_code_stripped
stringlengths
338
7.68M
assembly_code
stringlengths
3
132k
Replace_function_name_and_variable_name
stringlengths
39
257k
S-Expression_decompiled_code_original
stringlengths
339
6.76M
S-Expression_of_generate_modified_code
stringlengths
354
6.67M
Root Node
stringlengths
226
974k
1731_putty_and_putty_strip.c
findrel234
FUN_001ae687
findrel234
void * findrel234(tree234 *t,void *e,cmpfn234 cmp,int relation) { void *pvVar1; int relation_local; cmpfn234 cmp_local; void *e_local; tree234 *t_local; pvVar1 = findrelpos234(t,e,cmp,relation,(int *)0x0); return pvVar1; }
void FUN_001ae687(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4) { FUN_001ae420(param_1,param_2,param_3,param_4,0); return; }
(translation_unit "void FUN_001ae687(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n FUN_001ae420(param_1,param_2,param_3,param_4,0);\n return;\n}\n\n" (function_definition "void FUN_001ae687(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n FUN_0...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV dword ptr [RBP + -0x1c],ECX MOV ECX,dword ptr [RBP + -0x1c] MOV RDX,qword ptr [RBP + -0x18] MOV RSI,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RBP + -0x8] MOV R8D,0x0 MOV RDI,RAX CALL 0x0...
void * function_1(type_1 *t,void *e,type_2 cmp,int relation) { void *pvVar1; int relation_local; type_2 cmp_local; void *e_local; type_1 *t_local; pvVar1 = var_1(t,e,cmp,relation,(int *)0x0); return pvVar1; }
(translation_unit "void * findrel234(tree234 *t,void *e,cmpfn234 cmp,int relation)\n\n{\n void *pvVar1;\n int relation_local;\n cmpfn234 cmp_local;\n void *e_local;\n tree234 *t_local;\n \n pvVar1 = findrelpos234(t,e,cmp,relation,(int *)0x0);\n return pvVar1;\n}\n\n" (function_definition "void * findrel234(tree...
(translation_unit "void * function_1(type_1 *t,void *e,type_2 cmp,int relation)\n\n{\n void *pvVar1;\n int relation_local;\n type_2 cmp_local;\n void *e_local;\n type_1 *t_local;\n \n pvVar1 = var_1(t,e,cmp,relation,(int *)0x0);\n return pvVar1;\n}\n\n" (function_definition "void * function_1(type_1 *t,void *e,...
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim...
1491_putty_and_putty_strip.c
SHA_Core_Init
FUN_0018dd81
SHA_Core_Init
void SHA_Core_Init(uint32 *h) { uint32 *h_local; *h = 0x67452301; h[1] = 0xefcdab89; h[2] = 0x98badcfe; h[3] = 0x10325476; h[4] = 0xc3d2e1f0; return; }
void FUN_0018dd81(undefined4 *param_1) { *param_1 = 0x67452301; param_1[1] = 0xefcdab89; param_1[2] = 0x98badcfe; param_1[3] = 0x10325476; param_1[4] = 0xc3d2e1f0; return; }
(translation_unit "void FUN_0018dd81(undefined4 *param_1)\n\n{\n *param_1 = 0x67452301;\n param_1[1] = 0xefcdab89;\n param_1[2] = 0x98badcfe;\n param_1[3] = 0x10325476;\n param_1[4] = 0xc3d2e1f0;\n return;\n}\n\n" (function_definition "void FUN_0018dd81(undefined4 *param_1)\n\n{\n *param_1 = 0x67452301;\n param...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV dword ptr [RAX],0x67452301 MOV RAX,qword ptr [RBP + -0x8] ADD RAX,0x4 MOV dword ptr [RAX],0xefcdab89 MOV RAX,qword ptr [RBP + -0x8] ADD RAX,0x8 MOV dword ptr [RAX],0x98badcfe MOV RAX,qword ptr [RBP + -0x8] ADD RAX,0xc MOV dword ptr [...
void function_1(type_1 *h) { type_1 *h_local; *h = 0x67452301; h[1] = 0xefcdab89; h[2] = 0x98badcfe; h[3] = 0x10325476; h[4] = 0xc3d2e1f0; return; }
(translation_unit "void SHA_Core_Init(uint32 *h)\n\n{\n uint32 *h_local;\n \n *h = 0x67452301;\n h[1] = 0xefcdab89;\n h[2] = 0x98badcfe;\n h[3] = 0x10325476;\n h[4] = 0xc3d2e1f0;\n return;\n}\n\n" (function_definition "void SHA_Core_Init(uint32 *h)\n\n{\n uint32 *h_local;\n \n *h = 0x67452301;\n h[1] = 0xef...
(translation_unit "void function_1(type_1 *h)\n\n{\n type_1 *h_local;\n \n *h = 0x67452301;\n h[1] = 0xefcdab89;\n h[2] = 0x98badcfe;\n h[3] = 0x10325476;\n h[4] = 0xc3d2e1f0;\n return;\n}\n\n" (function_definition "void function_1(type_1 *h)\n\n{\n type_1 *h_local;\n \n *h = 0x67452301;\n h[1] = 0xefcdab89...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d...
1057_putty_and_putty_strip.c
ssh2_bare_connection_protocol
FUN_0015b6e3
ssh2_bare_connection_protocol
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_bare_connection_protocol(Ssh_conflict ssh,void *vin,int inlen,Packet *pktin) { Packet *pktin_local; int inlen_local; void *vin_local; Ssh_conflict ssh_local; uchar *in; if (ssh->state != AL) { if (pktin == (Packet *...
void FUN_0015b6e3(long param_1,undefined8 param_2,undefined4 param_3,long param_4) { if (*(int *)(param_1 + 0x1d0) != 4) { if (param_4 == 0) { FUN_00155197(param_1,param_2,param_3,0); } else { (**(code **)(param_1 + 8 + ((long)*(int *)(param_4 + 0x10) + 0x78) * 8))(param_1,param_4); } ...
(translation_unit "void FUN_0015b6e3(long param_1,undefined8 param_2,undefined4 param_3,long param_4)\n\n{\n if (*(int *)(param_1 + 0x1d0) != 4) {\n if (param_4 == 0) {\n FUN_00155197(param_1,param_2,param_3,0);\n }\n else {\n (**(code **)(param_1 + 8 + ((long)*(int *)(param_4 + 0x10) + 0x78) * 8))(...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV qword ptr [RBP + -0x30],RCX MOV RAX,qword ptr [RBP + -0x20] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0x1d0] CMP EAX,0x4 JZ 0x0015b75a CMP q...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,void *vin,int inlen,type_2 *var_2) { type_2 *pktin_local; int inlen_local; void *vin_local; type_1 ssh_local; type_3 *in; if (ssh->state != var_1) { if (var_2 == (type_2 *)0x0) { var_3(ssh,(ty...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_bare_connection_protocol(Ssh_conflict ssh,void *vin,int inlen,Packet *pktin)\n\n{\n Packet *pktin_local;\n int inlen_local;\n void *vin_local;\n Ssh_conflict ssh_local;\n uchar *in;\n \n if (ssh->state != AL)...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,void *vin,int inlen,type_2 *var_2)\n\n{\n type_2 *pktin_local;\n int inlen_local;\n void *vin_local;\n type_1 ssh_local;\n type_3 *in;\n \n if (ssh->state != var_1) {\n if (var_2 == (type_...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:...
1813_putty_and_putty_strip.c
dlg_set_focus
FUN_001b4467
dlg_set_focus
void dlg_set_focus(control *ctrl,void *dlg) { int iVar1; uctrl *puVar2; undefined8 uVar3; void *dlg_local; control *ctrl_local; int i; dlgparam *dp; uctrl *uc; puVar2 = dlg_find_byctrl((dlgparam *)dlg,ctrl); switch((ctrl->generic).type) { case 1: case 7: case 8: if (puVar2->entry == (...
void FUN_001b4467(undefined4 *param_1,undefined8 param_2) { int iVar1; long lVar2; undefined8 uVar3; int local_1c; lVar2 = FUN_001b2d0b(param_2,param_1); switch(*param_1) { case 1: case 7: case 8: if (*(long *)(lVar2 + 0x20) == 0) { if (*(long *)(lVar2 + 0x30) != 0) { gtk_widget...
(translation_unit "void FUN_001b4467(undefined4 *param_1,undefined8 param_2)\n\n{\n int iVar1;\n long lVar2;\n undefined8 uVar3;\n int local_1c;\n \n lVar2 = FUN_001b2d0b(param_2,param_1);\n switch(*param_1) {\n case 1:\n case 7:\n case 8:\n if (*(long *)(lVar2 + 0x20) == 0) {\n if (*(long *)(lVar2 + ...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr [RBP + -0x30] MOV qword ptr [RBP + -0x10],RAX MOV RDX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RBP + -0x10] MOV RSI,RDX MOV RDI,RAX CALL 0x001b2d0b MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP ...
void function_1(type_1 *ctrl,void *dlg) { int var_7; type_2 *puVar2; type_3 uVar3; void *dlg_local; type_1 *ctrl_local; int var_3; type_4 *dp; type_2 *uc; puVar2 = var_1((type_4 *)dlg,ctrl); switch((ctrl->generic).type) { case 1: case 7: case 8: if (puVar2->entry == (type_5 *)0x0) { ...
(translation_unit "void dlg_set_focus(control *ctrl,void *dlg)\n\n{\n int iVar1;\n uctrl *puVar2;\n undefined8 uVar3;\n void *dlg_local;\n control *ctrl_local;\n int i;\n dlgparam *dp;\n uctrl *uc;\n \n puVar2 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n switch((ctrl->generic).type) {\n case 1:\n case 7:\n ...
(translation_unit "void function_1(type_1 *ctrl,void *dlg)\n\n{\n int var_7;\n type_2 *puVar2;\n type_3 uVar3;\n void *dlg_local;\n type_1 *ctrl_local;\n int var_3;\n type_4 *dp;\n type_2 *uc;\n \n puVar2 = var_1((type_4 *)dlg,ctrl);\n switch((ctrl->generic).type) {\n case 1:\n case 7:\n case 8:\n if (...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1390_putty_and_putty_strip.c
find_pubkey_alg_len
FUN_00180b2a
find_pubkey_alg_len
ssh_signkey * find_pubkey_alg_len(int namelen,char *name) { int iVar1; ssh_signkey *psVar2; char *name_local; int namelen_local; iVar1 = match_ssh_id(namelen,name,"ssh-rsa"); if (iVar1 == 0) { iVar1 = match_ssh_id(namelen,name,"ssh-dss"); if (iVar1 == 0) { iVar1 = match_ssh_id(namelen,nam...
undefined ** FUN_00180b2a(undefined4 param_1,undefined8 param_2) { int iVar1; undefined **ppuVar2; iVar1 = FUN_0012e715(param_1,param_2,"ssh-rsa"); if (iVar1 == 0) { iVar1 = FUN_0012e715(param_1,param_2,"ssh-dss"); if (iVar1 == 0) { iVar1 = FUN_0012e715(param_1,param_2,"ecdsa-sha2-nistp256");...
(translation_unit "undefined ** FUN_00180b2a(undefined4 param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined **ppuVar2;\n \n iVar1 = FUN_0012e715(param_1,param_2,"ssh-rsa");\n if (iVar1 == 0) {\n iVar1 = FUN_0012e715(param_1,param_2,"ssh-dss");\n if (iVar1 == 0) {\n iVar1 = FUN_0012e715(param_1,par...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV dword ptr [RBP + -0x4],EDI MOV qword ptr [RBP + -0x10],RSI MOV RCX,qword ptr [RBP + -0x10] MOV EAX,dword ptr [RBP + -0x4] LEA RDX,[0x20fc67] MOV RSI,RCX MOV EDI,EAX CALL 0x0012e715 TEST EAX,EAX JZ 0x00180b61 LEA RAX,[0x230d80] JMP 0x00180c22 MOV RCX,qword ptr [RBP + -0x10] MOV EAX,...
type_1 * function_1(int namelen,char *name) { int var_2; type_1 *psVar2; char *name_local; int namelen_local; var_2 = var_1(namelen,name,"ssh-rsa"); if (var_2 == 0) { var_2 = var_1(namelen,name,"ssh-dss"); if (var_2 == 0) { var_2 = var_1(namelen,name,"ecdsa-sha2-nistp256"); if (var_...
(translation_unit "ssh_signkey * find_pubkey_alg_len(int namelen,char *name)\n\n{\n int iVar1;\n ssh_signkey *psVar2;\n char *name_local;\n int namelen_local;\n \n iVar1 = match_ssh_id(namelen,name,"ssh-rsa");\n if (iVar1 == 0) {\n iVar1 = match_ssh_id(namelen,name,"ssh-dss");\n if (iVar1 == 0) {\n iV...
(translation_unit "type_1 * function_1(int namelen,char *name)\n\n{\n int var_2;\n type_1 *psVar2;\n char *name_local;\n int namelen_local;\n \n var_2 = var_1(namelen,name,"ssh-rsa");\n if (var_2 == 0) {\n var_2 = var_1(namelen,name,"ssh-dss");\n if (var_2 == 0) {\n var_2 = var_1(namelen,name,"ecdsa-s...
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_...
1719_putty_and_putty_strip.c
expire_timer_context
FUN_001ad3ea
expire_timer_context
void expire_timer_context(void *ctx) { void *ctx_local; init_timers(); del234(timer_contexts,ctx); return; }
void FUN_001ad3ea(undefined8 param_1) { FUN_001ad161(); FUN_001af5c6(DAT_00236278,param_1); return; }
(translation_unit "void FUN_001ad3ea(undefined8 param_1)\n\n{\n FUN_001ad161();\n FUN_001af5c6(DAT_00236278,param_1);\n return;\n}\n\n" (function_definition "void FUN_001ad3ea(undefined8 param_1)\n\n{\n FUN_001ad161();\n FUN_001af5c6(DAT_00236278,param_1);\n return;\n}" primitive_type (function_declarator "FUN_00...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI CALL 0x001ad161 MOV RAX,qword ptr [0x00236278] MOV RDX,qword ptr [RBP + -0x8] MOV RSI,RDX MOV RDI,RAX CALL 0x001af5c6 NOP LEAVE RET
void function_1(void *ctx) { void *ctx_local; var_1(); var_2(timer_contexts,ctx); return; }
(translation_unit "void expire_timer_context(void *ctx)\n\n{\n void *ctx_local;\n \n init_timers();\n del234(timer_contexts,ctx);\n return;\n}\n\n" (function_definition "void expire_timer_context(void *ctx)\n\n{\n void *ctx_local;\n \n init_timers();\n del234(timer_contexts,ctx);\n return;\n}" primitive_type ...
(translation_unit "void function_1(void *ctx)\n\n{\n void *ctx_local;\n \n var_1();\n var_2(timer_contexts,ctx);\n return;\n}\n\n" (function_definition "void function_1(void *ctx)\n\n{\n void *ctx_local;\n \n var_1();\n var_2(timer_contexts,ctx);\n return;\n}" primitive_type (function_declarator "function_1(v...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec...
957_putty_and_putty_strip.c
ssh_throttle_all
FUN_001449cc
ssh_throttle_all
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_throttle_all(Ssh_conflict ssh,int enable,int bufsize) { int iVar1; ssh_channel *c_00; int bufsize_local; int enable_local; Ssh_conflict ssh_local; int i; ssh_channel *c; if (enable != ssh->throttled_all) { ssh->t...
void FUN_001449cc(long param_1,int param_2,undefined4 param_3) { int iVar1; long lVar2; int local_14; if (param_2 != *(int *)(param_1 + 0x25c)) { *(int *)(param_1 + 0x25c) = param_2; *(undefined4 *)(param_1 + 600) = param_3; if (*(long *)(param_1 + 0x1a0) != 0) { local_14 = 0; while...
(translation_unit "void FUN_001449cc(long param_1,int param_2,undefined4 param_3)\n\n{\n int iVar1;\n long lVar2;\n int local_14;\n \n if (param_2 != *(int *)(param_1 + 0x25c)) {\n *(int *)(param_1 + 0x25c) = param_2;\n *(undefined4 *)(param_1 + 600) = param_3;\n if (*(long *)(param_1 + 0x1a0) != 0) {\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV dword ptr [RBP + -0x20],EDX MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0x25c] CMP dword ptr [RBP + -0x1c],EAX JZ 0x00144ab9 MOV RAX,qword ptr [RBP + -0x18] MOV EDX,dword ptr [RBP + -0x1c] MOV dword ptr [R...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,int var_1,int bufsize) { int var_4; type_2 *var_3; int bufsize_local; int enable_local; type_1 ssh_local; int var_8; type_2 *c; if (var_1 != ssh->throttled_all) { ssh->throttled_all = var_1; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_throttle_all(Ssh_conflict ssh,int enable,int bufsize)\n\n{\n int iVar1;\n ssh_channel *c_00;\n int bufsize_local;\n int enable_local;\n Ssh_conflict ssh_local;\n int i;\n ssh_channel *c;\n \n if (enable != s...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,int var_1,int bufsize)\n\n{\n int var_4;\n type_2 *var_3;\n int bufsize_local;\n int enable_local;\n type_1 ssh_local;\n int var_8;\n type_2 *c;\n \n if (var_1 != ssh->throttled_all) {\n ...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar...
1033_putty_and_putty_strip.c
ssh2_msg_global_request
FUN_00153e6e
ssh2_msg_global_request
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_msg_global_request(Ssh_conflict ssh,Packet *pktin) { long in_FS_OFFSET; Packet *pktin_local; Ssh_conflict ssh_local; int typelen; int want_reply; char *type; Packet *pktout; long local_10; local_10 = *(long *)(in_...
void FUN_00153e6e(undefined8 param_1,undefined8 param_2) { long in_FS_OFFSET; undefined local_28 [4]; int local_24; undefined local_20 [8]; undefined8 local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_00141d1a(param_2,local_20,local_28); local_24 = FUN_00141cb5(param_2); i...
(translation_unit "void FUN_00153e6e(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [4];\n int local_24;\n undefined local_20 [8];\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00141d1a(param_2,local_20,local_28);\n local_2...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RDX,[RBP + -0x20] LEA RCX,[RBP + -0x18] MOV RAX,qword ptr [RBP + -0x30] MOV RSI,RCX MOV RDI,RAX CALL 0x00141d1a MOV RAX,qword ptr [RBP + -0x30] MOV...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { long var_1; type_2 *pktin_local; type_1 ssh_local; int typelen; int var_4; char *type; type_2 *pktout; long var_7; var_7 = *(long *)(var_1 + 0x28); var_2(pktin,&type,&typelen); ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_global_request(Ssh_conflict ssh,Packet *pktin)\n\n{\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int typelen;\n int want_reply;\n char *type;\n Packet *pktout;\n long local_10;...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int typelen;\n int var_4;\n char *type;\n type_2 *pktout;\n long var_7;\n \n var_7 = *(long *)(var_1 + 0x28);...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1820_putty_and_putty_strip.c
dlg_coloursel_results
FUN_001b4996
dlg_coloursel_results
int dlg_coloursel_results(control *ctrl,void *dlg,int *r,int *g,int *b) { bool bVar1; int *b_local; int *g_local; int *r_local; void *dlg_local; control *ctrl_local; dlgparam *dp; bVar1 = *(char *)((long)dlg + 0x1b) != '\0'; if (bVar1) { *r = (uint)*(byte *)((long)dlg + 0x18); *g = (uint)...
bool FUN_001b4996(undefined8 param_1,long param_2,uint *param_3,uint *param_4,uint *param_5) { bool bVar1; bVar1 = *(char *)(param_2 + 0x1b) != '\0'; if (bVar1) { *param_3 = (uint)*(byte *)(param_2 + 0x18); *param_4 = (uint)*(byte *)(param_2 + 0x19); *param_5 = (uint)*(byte *)(param_2 + 0x1a); ...
(translation_unit "bool FUN_001b4996(undefined8 param_1,long param_2,uint *param_3,uint *param_4,uint *param_5)\n\n{\n bool bVar1;\n \n bVar1 = *(char *)(param_2 + 0x1b) != '\0';\n if (bVar1) {\n *param_3 = (uint)*(byte *)(param_2 + 0x18);\n *param_4 = (uint)*(byte *)(param_2 + 0x19);\n *param_5 = (uint)*(...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV qword ptr [RBP + -0x28],RDX MOV qword ptr [RBP + -0x30],RCX MOV qword ptr [RBP + -0x38],R8 MOV RAX,qword ptr [RBP + -0x20] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOVZX EAX,byte ptr [RAX + 0x1b] TEST AL,AL JZ ...
int function_1(type_1 *ctrl,void *dlg,int *r,int *g,int *b) { bool bVar1; int *b_local; int *g_local; int *r_local; void *dlg_local; type_1 *ctrl_local; type_2 *dp; bVar1 = *(char *)((long)dlg + 0x1b) != '\0'; if (bVar1) { *r = (uint)*(type_3 *)((long)dlg + 0x18); *g = (uint)*(type_3 *)((...
(translation_unit "int dlg_coloursel_results(control *ctrl,void *dlg,int *r,int *g,int *b)\n\n{\n bool bVar1;\n int *b_local;\n int *g_local;\n int *r_local;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n \n bVar1 = *(char *)((long)dlg + 0x1b) != '\0';\n if (bVar1) {\n *r = (uint)*(byte *)((lo...
(translation_unit "int function_1(type_1 *ctrl,void *dlg,int *r,int *g,int *b)\n\n{\n bool bVar1;\n int *b_local;\n int *g_local;\n int *r_local;\n void *dlg_local;\n type_1 *ctrl_local;\n type_2 *dp;\n \n bVar1 = *(char *)((long)dlg + 0x1b) != '\0';\n if (bVar1) {\n *r = (uint)*(type_3 *)((long)dlg + 0x18...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1722_putty_and_putty_strip.c
freetree234
FUN_001ad4b4
freetree234
void freetree234(tree234 *t) { tree234 *t_local; freenode234(t->root); safefree(t); return; }
void FUN_001ad4b4(undefined8 *param_1) { FUN_001ad450(*param_1); FUN_0012e243(param_1); return; }
(translation_unit "void FUN_001ad4b4(undefined8 *param_1)\n\n{\n FUN_001ad450(*param_1);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_001ad4b4(undefined8 *param_1)\n\n{\n FUN_001ad450(*param_1);\n FUN_0012e243(param_1);\n return;\n}" primitive_type (function_declarator "FUN_001ad4b4(u...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX] MOV RDI,RAX CALL 0x001ad450 MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0012e243 NOP LEAVE RET
void function_1(type_1 *t) { type_1 *t_local; var_1(t->root); var_2(t); return; }
(translation_unit "void freetree234(tree234 *t)\n\n{\n tree234 *t_local;\n \n freenode234(t->root);\n safefree(t);\n return;\n}\n\n" (function_definition "void freetree234(tree234 *t)\n\n{\n tree234 *t_local;\n \n freenode234(t->root);\n safefree(t);\n return;\n}" primitive_type (function_declarator "freetree...
(translation_unit "void function_1(type_1 *t)\n\n{\n type_1 *t_local;\n \n var_1(t->root);\n var_2(t);\n return;\n}\n\n" (function_definition "void function_1(type_1 *t)\n\n{\n type_1 *t_local;\n \n var_1(t->root);\n var_2(t);\n return;\n}" primitive_type (function_declarator "function_1(type_1 *t)" identifie...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d...
1550_putty_and_putty_strip.c
getstring_inner
FUN_00190ed4
getstring_inner
int getstring_inner(void *vdata,int datalen,char **out,int *outlen) { int iVar1; uint uVar2; char *pcVar3; int *outlen_local; char **out_local; int datalen_local; void *vdata_local; int len; uchar *data; if (datalen < 4) { iVar1 = 0; } else { /* WARNING: Load size is...
undefined8 FUN_00190ed4(byte *param_1,int param_2,undefined8 *param_3,int *param_4) { int iVar1; undefined8 uVar2; if (param_2 < 4) { uVar2 = 0; } else { iVar1 = FUN_0012d293((uint)param_1[3] | (uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[2] << 8); ...
(translation_unit "undefined8 FUN_00190ed4(byte *param_1,int param_2,undefined8 *param_3,int *param_4)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (param_2 < 4) {\n uVar2 = 0;\n }\n else {\n iVar1 = FUN_0012d293((uint)param_1[3] |\n (uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV qword ptr [RBP + -0x28],RDX MOV qword ptr [RBP + -0x30],RCX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX CMP dword ptr [RBP + -0x1c],0x3 JG 0x00190f03 MOV EAX,0x0 JMP 0x00190fb1 MOV RAX,qword ptr [RBP...
int function_1(void *var_3,int var_1,char **var_6,int *var_4) { int iVar1; type_1 var_5; char *pcVar3; int *outlen_local; char **out_local; int datalen_local; void *vdata_local; int len; type_2 *data; if (var_1 < 4) { iVar1 = 0; } else { /* WARNING: Load size is inac...
(translation_unit "int getstring_inner(void *vdata,int datalen,char **out,int *outlen)\n\n{\n int iVar1;\n uint uVar2;\n char *pcVar3;\n int *outlen_local;\n char **out_local;\n int datalen_local;\n void *vdata_local;\n int len;\n uchar *data;\n \n if (datalen < 4) {\n iVar1 = 0;\n }\n else {\n ...
(translation_unit "int function_1(void *var_3,int var_1,char **var_6,int *var_4)\n\n{\n int iVar1;\n type_1 var_5;\n char *pcVar3;\n int *outlen_local;\n char **out_local;\n int datalen_local;\n void *vdata_local;\n int len;\n type_2 *data;\n \n if (var_1 < 4) {\n iVar1 = 0;\n }\n else {\n ...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi...
1223_putty_and_putty_strip.c
crc_update
FUN_0016ee86
crc_update
void crc_update(uint32 *a,void *b) { ulong uVar1; void *b_local; uint32 *a_local; uVar1 = crc32_update((ulong)*a,b,4); *a = (uint32)uVar1; return; }
void FUN_0016ee86(undefined4 *param_1,undefined8 param_2) { undefined4 uVar1; uVar1 = FUN_0016ed69(*param_1,param_2,4); *param_1 = uVar1; return; }
(translation_unit "void FUN_0016ee86(undefined4 *param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_0016ed69(*param_1,param_2,4);\n *param_1 = uVar1;\n return;\n}\n\n" (function_definition "void FUN_0016ee86(undefined4 *param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_001...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX] MOV ECX,EAX MOV RAX,qword ptr [RBP + -0x10] MOV EDX,0x4 MOV RSI,RAX MOV RDI,RCX CALL 0x0016ed69 MOV EDX,EAX MOV RAX,qword ptr [RBP + -0x8] MOV dword ptr [RAX],EDX NOP L...
void function_1(type_1 *var_2,void *b) { type_2 uVar1; void *b_local; type_1 *a_local; uVar1 = var_1((type_2)*var_2,b,4); *var_2 = (type_1)uVar1; return; }
(translation_unit "void crc_update(uint32 *a,void *b)\n\n{\n ulong uVar1;\n void *b_local;\n uint32 *a_local;\n \n uVar1 = crc32_update((ulong)*a,b,4);\n *a = (uint32)uVar1;\n return;\n}\n\n" (function_definition "void crc_update(uint32 *a,void *b)\n\n{\n ulong uVar1;\n void *b_local;\n uint32 *a_local;\n \n...
(translation_unit "void function_1(type_1 *var_2,void *b)\n\n{\n type_2 uVar1;\n void *b_local;\n type_1 *a_local;\n \n uVar1 = var_1((type_2)*var_2,b,4);\n *var_2 = (type_1)uVar1;\n return;\n}\n\n" (function_definition "void function_1(type_1 *var_2,void *b)\n\n{\n type_2 uVar1;\n void *b_local;\n type_1 *a_...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1559_putty_and_putty_strip.c
share_got_pkt_from_downstream
FUN_00191ebb
share_got_pkt_from_downstream
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void share_got_pkt_from_downstream(ssh_sharing_connstate *cs,int type,uchar *pkt,int pktlen) { byte bVar1; uchar uVar2; byte bVar3; byte bVar4; byte bVar5; uchar uVar6; byte bVar7; byte bVar8; byte bVar9; byte bVar10; long...
void FUN_00191ebb(long param_1,int param_2,byte *param_3,int param_4) { byte bVar1; byte bVar2; byte bVar3; byte bVar4; byte bVar5; byte bVar6; byte bVar7; byte bVar8; byte bVar9; byte bVar10; int iVar11; int iVar12; uint uVar13; undefined4 uVar14; int iVar15; char *pcVar16; long lVa...
(translation_unit "void FUN_00191ebb(long param_1,int param_2,byte *param_3,int param_4)\n\n{\n byte bVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n int iVar11;\n int iVar12;\n uint uVar13;\n undefined4 uVar14;\n int ...
PUSH RBP MOV RBP,RSP SUB RSP,0x100 MOV qword ptr [RBP + -0xe8],RDI MOV dword ptr [RBP + -0xec],ESI MOV qword ptr [RBP + -0xf8],RDX MOV dword ptr [RBP + -0xf0],ECX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV qword ptr [RBP + -0x78],0x0 CMP dword ptr [RBP + -0xec],0x5a JZ 0x00192732 CMP dwo...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *cs,int var_2,type_2 *var_12,int var_5) { type_3 var_39; type_2 var_31; type_3 bVar3; type_3 bVar4; type_3 bVar5; type_2 var_26; type_3 bVar7; type_3 bVar8; type_3 bVar9; type_3 bVar10; long var_55; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_got_pkt_from_downstream(ssh_sharing_connstate *cs,int type,uchar *pkt,int pktlen)\n\n{\n byte bVar1;\n uchar uVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n uchar uVar6;\n byte bVar7;\n byte bVar8;\n by...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs,int var_2,type_2 *var_12,int var_5)\n\n{\n type_3 var_39;\n type_2 var_31;\n type_3 bVar3;\n type_3 bVar4;\n type_3 bVar5;\n type_2 var_26;\n type_3 bVar7;\n type_3 bVar8;\n type_3 bVar9;\n...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator...
1141_putty_and_putty_strip.c
internal_sub
FUN_00166f04
internal_sub
void internal_sub(BignumInt *a,BignumInt *b,BignumInt *c,int len) { ulong uVar1; BignumInt BVar2; int len_local; BignumInt *c_local; BignumInt *b_local; BignumInt *a_local; int i; BignumCarry carry; BignumDblInt ADC_temp; carry = 1; for (i = len + -1; -1 < i; i = i + -1) { uVar1 = a[i] + ...
void FUN_00166f04(long param_1,long param_2,long param_3,int param_4) { ulong uVar1; long lVar2; ulong uVar3; ulong uVar4; undefined4 local_24; undefined8 local_20; local_20 = 1; for (local_24 = param_4 + -1; -1 < local_24; local_24 = local_24 + -1) { uVar3 = *(ulong *)(param_1 + (long)local_24...
(translation_unit "void FUN_00166f04(long param_1,long param_2,long param_3,int param_4)\n\n{\n ulong uVar1;\n long lVar2;\n ulong uVar3;\n ulong uVar4;\n undefined4 local_24;\n undefined8 local_20;\n \n local_20 = 1;\n for (local_24 = param_4 + -1; -1 < local_24; local_24 = local_24 + -1) {\n uVar3 = *(ulo...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV qword ptr [RBP + -0x38],RDX MOV dword ptr [RBP + -0x3c],ECX MOV qword ptr [RBP + -0x18],0x1 MOV EAX,dword ptr [RBP + -0x3c] SUB EAX,0x1 MOV dword ptr [RBP + -0x1c],EAX JMP 0x00166fc6 MOV EAX,dword ptr [RBP + -0x1c] CDQE LEA RDX,[RA...
void function_1(type_1 *a,type_1 *b,type_1 *c,int var_1) { type_2 var_3; type_1 BVar2; int len_local; type_1 *c_local; type_1 *b_local; type_1 *a_local; int var_2; type_3 var_4; type_4 ADC_temp; var_4 = 1; for (var_2 = var_1 + -1; -1 < var_2; var_2 = var_2 + -1) { var_3 = a[var_2] + ~b[va...
(translation_unit "void internal_sub(BignumInt *a,BignumInt *b,BignumInt *c,int len)\n\n{\n ulong uVar1;\n BignumInt BVar2;\n int len_local;\n BignumInt *c_local;\n BignumInt *b_local;\n BignumInt *a_local;\n int i;\n BignumCarry carry;\n BignumDblInt ADC_temp;\n \n carry = 1;\n for (i = len + -1; -1 < i; i...
(translation_unit "void function_1(type_1 *a,type_1 *b,type_1 *c,int var_1)\n\n{\n type_2 var_3;\n type_1 BVar2;\n int len_local;\n type_1 *c_local;\n type_1 *b_local;\n type_1 *a_local;\n int var_2;\n type_3 var_4;\n type_4 ADC_temp;\n \n var_4 = 1;\n for (var_2 = var_1 + -1; -1 < var_2; var_2 = var_2 + -1...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1802_putty_and_putty_strip.c
dlg_listbox_index
FUN_001b38b6
dlg_listbox_index
int dlg_listbox_index(control *ctrl,void *dlg) { int iVar1; undefined8 uVar2; long in_FS_OFFSET; void *dlg_local; control *ctrl_local; int ret; GtkTreeModel *model; dlgparam *dp; uctrl *uc; GtkTreeSelection *treesel; GList *sellist; GtkTreePath *path; gint *indices; long local_10; loc...
ulong FUN_001b38b6(undefined8 param_1,undefined8 param_2) { int iVar1; undefined8 uVar2; ulong uVar3; long in_FS_OFFSET; uint local_4c; undefined local_48 [8]; undefined8 local_40; undefined8 *local_38; undefined8 local_30; long *local_28; long local_20; uint *local_18; long local_10; l...
(translation_unit "ulong FUN_001b38b6(undefined8 param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n ulong uVar3;\n long in_FS_OFFSET;\n uint local_4c;\n undefined local_48 [8];\n undefined8 local_40;\n undefined8 *local_38;\n undefined8 local_30;\n long *local_28;\n long local_20;\n uint *l...
PUSH RBP MOV RBP,RSP SUB RSP,0x60 MOV qword ptr [RBP + -0x58],RDI MOV qword ptr [RBP + -0x60],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x60] MOV qword ptr [RBP + -0x38],RAX MOV RDX,qword ptr [RBP + -0x58] MOV RAX,qword ptr [RBP + -0x38] MOV RSI,RDX MOV RDI,RAX...
int function_1(type_1 *ctrl,void *dlg) { int var_8; type_2 uVar2; long var_1; void *dlg_local; type_1 *ctrl_local; int ret; type_3 *model; type_4 *dp; type_5 *uc; type_6 *treesel; type_7 *var_10; type_8 *path; type_9 *var_13; long var_18; var_18 = *(long *)(var_1 + 0x28); dp = (type...
(translation_unit "int dlg_listbox_index(control *ctrl,void *dlg)\n\n{\n int iVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n void *dlg_local;\n control *ctrl_local;\n int ret;\n GtkTreeModel *model;\n dlgparam *dp;\n uctrl *uc;\n GtkTreeSelection *treesel;\n GList *sellist;\n GtkTreePath *path;\n gint *i...
(translation_unit "int function_1(type_1 *ctrl,void *dlg)\n\n{\n int var_8;\n type_2 uVar2;\n long var_1;\n void *dlg_local;\n type_1 *ctrl_local;\n int ret;\n type_3 *model;\n type_4 *dp;\n type_5 *uc;\n type_6 *treesel;\n type_7 *var_10;\n type_8 *path;\n type_9 *var_13;\n long var_18;\n \n var_18 = *...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1603_putty_and_putty_strip.c
do_telnet_read
FUN_001987f9
do_telnet_read
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void do_telnet_read(Telnet telnet,char *buf,int len) { char *pcVar1; byte bVar2; int iVar3; uint option; uchar *puVar4; int len_local; char *buf_local; Telnet telnet_local; int outbuflen; int outbufsize; int c; char *out...
void FUN_001987f9(long param_1,byte *param_2,int param_3) { byte *pbVar1; byte bVar2; int iVar3; uint uVar4; undefined8 uVar5; int local_3c; byte *local_38; int local_1c; int local_18; long local_10; local_10 = 0; local_1c = 0; local_18 = 0; local_3c = param_3; local_38 = param_2; swi...
(translation_unit "void FUN_001987f9(long param_1,byte *param_2,int param_3)\n\n{\n byte *pbVar1;\n byte bVar2;\n int iVar3;\n uint uVar4;\n undefined8 uVar5;\n int local_3c;\n byte *local_38;\n int local_1c;\n int local_18;\n long local_10;\n \n local_10 = 0;\n local_1c = 0;\n local_18 = 0;\n local_3c =...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV dword ptr [RBP + -0x34],EDX MOV qword ptr [RBP + -0x8],0x0 MOV dword ptr [RBP + -0x14],0x0 MOV dword ptr [RBP + -0x10],0x0 JMP 0x00198c16 MOV RAX,qword ptr [RBP + -0x30] LEA RDX,[RAX + 0x1] MOV qword ptr [RBP + -0x30],...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 telnet,char *buf,int len) { char *pcVar1; type_2 bVar2; int var_12; type_3 var_6; type_4 *puVar4; int var_1; char *var_5; type_1 telnet_local; int var_2; int var_8; int c; char *outbuf; outbuf...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid do_telnet_read(Telnet telnet,char *buf,int len)\n\n{\n char *pcVar1;\n byte bVar2;\n int iVar3;\n uint option;\n uchar *puVar4;\n int len_local;\n char *buf_local;\n Telnet telnet_local;\n int outbuflen;\n int ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 telnet,char *buf,int len)\n\n{\n char *pcVar1;\n type_2 bVar2;\n int var_12;\n type_3 var_6;\n type_4 *puVar4;\n int var_1;\n char *var_5;\n type_1 telnet_local;\n int var_2;\n int var_8;\n i...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:...
1197_putty_and_putty_strip.c
poly1305_feed_chunk
FUN_0016e484
poly1305_feed_chunk
void poly1305_feed_chunk(poly1305 *ctx,uchar *chunk,int len) { long lVar1; int iVar2; long in_FS_OFFSET; int len_local; uchar *chunk_local; poly1305 *ctx_local; bigval c; lVar1 = *(long *)(in_FS_OFFSET + 0x28); bigval_import_le(&c,chunk,len); iVar2 = len; if (len < 0) { iVar2 = len + 7; ...
void FUN_0016e484(long param_1,undefined8 param_2,int param_3) { int iVar1; long in_FS_OFFSET; ulong local_28 [4]; local_28[3] = *(long *)(in_FS_OFFSET + 0x28); FUN_0016d14f(local_28,param_2,param_3); iVar1 = param_3; if (param_3 < 0) { iVar1 = param_3 + 7; } local_28[iVar1 >> 3] = local_28[i...
(translation_unit "void FUN_0016e484(long param_1,undefined8 param_2,int param_3)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n ulong local_28 [4];\n \n local_28[3] = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0016d14f(local_28,param_2,param_3);\n iVar1 = param_3;\n if (param_3 < 0) {\n iVar1 = param_3 + 7;\n }\n lo...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV dword ptr [RBP + -0x34],EDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV EDX,dword ptr [RBP + -0x34] MOV RCX,qword ptr [RBP + -0x30] LEA RAX,[RBP + -0x20] MOV RSI,RCX MOV RDI,RAX CALL 0x00...
void function_1(type_1 *ctx,type_2 *chunk,int var_3) { long var_7; int var_4; long var_1; int len_local; type_2 *chunk_local; type_1 *ctx_local; type_3 c; var_7 = *(long *)(var_1 + 0x28); var_2(&c,chunk,var_3); var_4 = var_3; if (var_3 < 0) { var_4 = var_3 + 7; } c.w[var_4 >> 3] = c.w...
(translation_unit "void poly1305_feed_chunk(poly1305 *ctx,uchar *chunk,int len)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n int len_local;\n uchar *chunk_local;\n poly1305 *ctx_local;\n bigval c;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n bigval_import_le(&c,chunk,len);\n iVar2 = len;\n if (l...
(translation_unit "void function_1(type_1 *ctx,type_2 *chunk,int var_3)\n\n{\n long var_7;\n int var_4;\n long var_1;\n int len_local;\n type_2 *chunk_local;\n type_1 *ctx_local;\n type_3 c;\n \n var_7 = *(long *)(var_1 + 0x28);\n var_2(&c,chunk,var_3);\n var_4 = var_3;\n if (var_3 < 0) {\n var_4 = var_3...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1629_putty_and_putty_strip.c
termchars_equal_override
FUN_0019a295
termchars_equal_override
wchar_t termchars_equal_override(termchar *a,termchar *b,ulong bchr,ulong battr) { ulong battr_local; ulong bchr_local; termchar *b_local; termchar *a_local; if ((bchr == a->chr) && (b_local = b, a_local = a, ((a->attr ^ battr) & 0xffffffff0fffffff) == 0)) { do { if ((a_local->cc_next == L'\0...
undefined8 FUN_0019a295(long *param_1,long *param_2,long param_3,ulong param_4) { long *local_18; long *local_10; if ((param_3 == *param_1) && (local_18 = param_2, local_10 = param_1, ((param_1[1] ^ param_4) & 0xffffffff0fffffff) == 0)) { do { if ((*(int *)(local_10 + 2) == 0) && (*(int *)(loc...
(translation_unit "undefined8 FUN_0019a295(long *param_1,long *param_2,long param_3,ulong param_4)\n\n{\n long *local_18;\n long *local_10;\n \n if ((param_3 == *param_1) &&\n (local_18 = param_2, local_10 = param_1, ((param_1[1] ^ param_4) & 0xffffffff0fffffff) == 0)) {\n do {\n if ((*(int *)(local_10 ...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV qword ptr [RBP + -0x20],RCX MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX] CMP qword ptr [RBP + -0x18],RAX JZ 0x0019a2c0 MOV EAX,0x0 JMP 0x0019a374 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword...
type_1 function_1(type_2 *a,type_2 *b,type_3 var_1,type_3 var_2) { type_3 battr_local; type_3 bchr_local; type_2 *var_4; type_2 *var_3; if ((var_1 == a->chr) && (var_4 = b, var_3 = a, ((a->attr ^ var_2) & 0xffffffff0fffffff) == 0)) { do { if ((var_3->cc_next == L'\0') && (var_4->cc_next == L'...
(translation_unit "wchar_t termchars_equal_override(termchar *a,termchar *b,ulong bchr,ulong battr)\n\n{\n ulong battr_local;\n ulong bchr_local;\n termchar *b_local;\n termchar *a_local;\n \n if ((bchr == a->chr) && (b_local = b, a_local = a, ((a->attr ^ battr) & 0xffffffff0fffffff) == 0))\n {\n do {\n ...
(translation_unit "type_1 function_1(type_2 *a,type_2 *b,type_3 var_1,type_3 var_2)\n\n{\n type_3 battr_local;\n type_3 bchr_local;\n type_2 *var_4;\n type_2 *var_3;\n \n if ((var_1 == a->chr) && (var_4 = b, var_3 = a, ((a->attr ^ var_2) & 0xffffffff0fffffff) == 0))\n {\n do {\n if ((var_3->cc_next == L'...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (point...
1870_putty_and_putty_strip.c
xlfd_decompose
FUN_001bafa5
xlfd_decompose
xlfd_decomposed * xlfd_decompose(char *xlfd) { char *__s; long lVar1; wchar_t wVar2; xlfd_decomposed *ptr; size_t sVar3; long in_FS_OFFSET; char *xlfd_local; wchar_t i; char *p; void *mem; xlfd_decomposed *dec; char *components [14]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); if (xlfd == (...
undefined8 * FUN_001bafa5(char *param_1) { char *__s; int iVar1; undefined8 *puVar2; size_t sVar3; long in_FS_OFFSET; int local_a4; char *local_a0; undefined8 auStack_88 [4]; undefined8 uStack_68; undefined8 uStack_60; char *pcStack_58; char *pcStack_50; char *pcStack_48; char *pcStack_40;...
(translation_unit "undefined8 * FUN_001bafa5(char *param_1)\n\n{\n char *__s;\n int iVar1;\n undefined8 *puVar2;\n size_t sVar3;\n long in_FS_OFFSET;\n int local_a4;\n char *local_a0;\n undefined8 auStack_88 [4];\n undefined8 uStack_68;\n undefined8 uStack_60;\n char *pcStack_58;\n char *pcStack_50;\n char...
PUSH RBP MOV RBP,RSP SUB RSP,0xb0 MOV qword ptr [RBP + -0xa8],RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX CMP qword ptr [RBP + -0xa8],0x0 JNZ 0x001bafda MOV EAX,0x0 JMP 0x001bb2f5 MOV RAX,qword ptr [RBP + -0xa8] MOV RDI,RAX CALL 0x00114630 ADD RAX,0x61 MOV ESI,0x1 MOV RDI,RAX CALL 0x0012e...
type_1 * function_1(char *var_2) { char *var_12; long var_14; type_2 wVar2; type_1 *var_6; size_t var_5; long var_1; char *xlfd_local; type_2 var_8; char *var_10; void *mem; type_1 *dec; char *components [14]; var_14 = *(long *)(var_1 + 0x28); if (var_2 == (char *)0x0) { var_6 = (ty...
(translation_unit "xlfd_decomposed * xlfd_decompose(char *xlfd)\n\n{\n char *__s;\n long lVar1;\n wchar_t wVar2;\n xlfd_decomposed *ptr;\n size_t sVar3;\n long in_FS_OFFSET;\n char *xlfd_local;\n wchar_t i;\n char *p;\n void *mem;\n xlfd_decomposed *dec;\n char *components [14];\n \n lVar1 = *(long *)(in_...
(translation_unit "type_1 * function_1(char *var_2)\n\n{\n char *var_12;\n long var_14;\n type_2 wVar2;\n type_1 *var_6;\n size_t var_5;\n long var_1;\n char *xlfd_local;\n type_2 var_8;\n char *var_10;\n void *mem;\n type_1 *dec;\n char *components [14];\n \n var_14 = *(long *)(var_1 + 0x28);\n if (var_...
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl...
941_putty_and_putty_strip.c
do_ssh_connection_init
FUN_00143641
do_ssh_connection_init
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int do_ssh_connection_init(Ssh_conflict ssh,uchar c) { int *piVar1; long lVar2; int iVar3; void *pvVar4; size_t sVar5; char *pcVar6; Pinger ppVar7; uchar c_local; Ssh_conflict ssh_local; do_ssh_connection_init_state *s; in...
undefined8 FUN_00143641(long param_1,char param_2) { int *piVar1; long lVar2; int iVar3; undefined8 uVar4; size_t sVar5; if (*(long *)(param_1 + 0x2a8) == 0) { uVar4 = FUN_0012e037(1,0x28); *(undefined8 *)(param_1 + 0x2a8) = uVar4; **(undefined4 **)(param_1 + 0x2a8) = 0; } piVar1 = *(in...
(translation_unit "undefined8 FUN_00143641(long param_1,char param_2)\n\n{\n int *piVar1;\n long lVar2;\n int iVar3;\n undefined8 uVar4;\n size_t sVar5;\n \n if (*(long *)(param_1 + 0x2a8) == 0) {\n uVar4 = FUN_0012e037(1,0x28);\n *(undefined8 *)(param_1 + 0x2a8) = uVar4;\n **(undefined4 **)(param_1 + 0...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x28 MOV qword ptr [RBP + -0x28],RDI MOV EAX,ESI MOV byte ptr [RBP + -0x2c],AL MOV RAX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RAX + 0x2a8] TEST RAX,RAX JNZ 0x00143699 MOV ESI,0x28 MOV EDI,0x1 CALL 0x0012e037 MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RAX + 0x2a8...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(type_1 ssh,type_2 var_3) { int *var_4; long var_10; int var_2; void *pvVar4; size_t var_9; char *pcVar6; type_3 ppVar7; type_2 c_local; type_1 ssh_local; type_4 *s; int *crLine; if (ssh->type_4 == (void...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint do_ssh_connection_init(Ssh_conflict ssh,uchar c)\n\n{\n int *piVar1;\n long lVar2;\n int iVar3;\n void *pvVar4;\n size_t sVar5;\n char *pcVar6;\n Pinger ppVar7;\n uchar c_local;\n Ssh_conflict ssh_local;\n do_ss...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 ssh,type_2 var_3)\n\n{\n int *var_4;\n long var_10;\n int var_2;\n void *pvVar4;\n size_t var_9;\n char *pcVar6;\n type_3 ppVar7;\n type_2 c_local;\n type_1 ssh_local;\n type_4 *s;\n int *crLi...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compoun...
1791_putty_and_putty_strip.c
dlg_radiobutton_set
FUN_001b2dfb
dlg_radiobutton_set
void dlg_radiobutton_set(control *ctrl,void *dlg,int which) { uctrl *puVar1; undefined8 uVar2; int which_local; void *dlg_local; control *ctrl_local; dlgparam *dp; uctrl *uc; puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl); if ((puVar1->ctrl->generic).type != 2) { /* WARNING: S...
void FUN_001b2dfb(undefined8 param_1,undefined8 param_2,int param_3) { undefined8 *puVar1; undefined8 uVar2; puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1); if (*(int *)*puVar1 != 2) { /* WARNING: Subroutine does not return */ __assert_fail("uc->ctrl->generic.type == CTRL_RADI...
(translation_unit "void FUN_001b2dfb(undefined8 param_1,undefined8 param_2,int param_3)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1);\n if (*(int *)*puVar1 != 2) {\n /* WARNING: Subroutine does not return */\n __assert_fail("uc->ctrl...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV RAX,qword ptr [RBP + -0x20] MOV qword ptr [RBP + -0x10],RAX MOV RDX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RBP + -0x10] MOV RSI,RDX MOV RDI,RAX CALL 0x001b2d0b MOV qword ptr [RBP + -...
void function_1(type_1 *ctrl,void *dlg,int which) { type_2 *puVar1; type_3 uVar2; int which_local; void *dlg_local; type_1 *ctrl_local; type_4 *dp; type_2 *uc; puVar1 = var_1((type_4 *)dlg,ctrl); if ((puVar1->ctrl->generic).type != 2) { /* WARNING: Subroutine does not return *...
(translation_unit "void dlg_radiobutton_set(control *ctrl,void *dlg,int which)\n\n{\n uctrl *puVar1;\n undefined8 uVar2;\n int which_local;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n \n puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n if ((puVar1->ctrl->generic).type != 2) {\n ...
(translation_unit "void function_1(type_1 *ctrl,void *dlg,int which)\n\n{\n type_2 *puVar1;\n type_3 uVar2;\n int which_local;\n void *dlg_local;\n type_1 *ctrl_local;\n type_4 *dp;\n type_2 *uc;\n \n puVar1 = var_1((type_4 *)dlg,ctrl);\n if ((puVar1->ctrl->generic).type != 2) {\n /* WARNIN...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
894_putty_and_putty_strip.c
ssh2_bare_connection_rdpkt
FUN_0013f81d
ssh2_bare_connection_rdpkt
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ Packet * ssh2_bare_connection_rdpkt(Ssh_conflict ssh,uchar **data,int *datalen) { ulong uVar1; int iVar2; int *piVar3; char *text; Packet *pPVar4; uchar *puVar5; int *datalen_local; uchar **data_local; Ssh_conflict ssh_local; ...
undefined8 FUN_0013f81d(long param_1,long *param_2,int *param_3) { byte *pbVar1; long lVar2; undefined *puVar3; int iVar4; undefined4 *puVar5; undefined8 uVar6; puVar5 = (undefined4 *)(param_1 + 0x278); iVar4 = *(int *)(param_1 + 0x278); if (iVar4 == 0x78e) goto LAB_0013f894; if (iVar4 == 0x7a5...
(translation_unit "undefined8 FUN_0013f81d(long param_1,long *param_2,int *param_3)\n\n{\n byte *pbVar1;\n long lVar2;\n undefined *puVar3;\n int iVar4;\n undefined4 *puVar5;\n undefined8 uVar6;\n \n puVar5 = (undefined4 *)(param_1 + 0x278);\n iVar4 = *(int *)(param_1 + 0x278);\n if (iVar4 == 0x78e) goto LAB_...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x38 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV qword ptr [RBP + -0x38],RDX MOV RAX,qword ptr [RBP + -0x28] ADD RAX,0x338 MOV qword ptr [RBP + -0x20],RAX MOV RAX,qword ptr [RBP + -0x28] ADD RAX,0x278 MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_2 ssh,type_3 **data,int *datalen) { type_4 var_8; int var_1; int *piVar3; char *text; type_1 *pPVar4; type_3 *var_2; int *datalen_local; type_3 **data_local; type_2 ssh_local; type_5 *st; int *crLi...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPacket * ssh2_bare_connection_rdpkt(Ssh_conflict ssh,uchar **data,int *datalen)\n\n{\n ulong uVar1;\n int iVar2;\n int *piVar3;\n char *text;\n Packet *pPVar4;\n uchar *puVar5;\n int *datalen_local;\n uchar **data_loc...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 ssh,type_3 **data,int *datalen)\n\n{\n type_4 var_8;\n int var_1;\n int *piVar3;\n char *text;\n type_1 *pPVar4;\n type_3 *var_2;\n int *datalen_local;\n type_3 **data_local;\n type_2 ssh_l...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarato...
1439_putty_and_putty_strip.c
rsa2_public_blob
FUN_00186204
rsa2_public_blob
uchar * rsa2_public_blob(void *key,int *len) { int iVar1; int iVar2; int iVar3; int iVar4; uchar *puVar5; int *len_local; void *key_local; int i; int elen; int mlen; int bloblen; uchar *p; RSAKey *rsa; uchar *blob; iVar1 = bignum_bitcount(*(Bignum_conflict *)((long)key + 0x10)); iVa...
undefined * FUN_00186204(long param_1,int *param_2) { char cVar1; int iVar2; int iVar3; int iVar4; int iVar5; undefined *puVar6; int local_30; char *local_20; iVar2 = FUN_0016aba4(*(undefined8 *)(param_1 + 0x10)); iVar3 = iVar2 + 8; if (iVar2 + 8 < 0) { iVar3 = iVar2 + 0xf; } local_30...
(translation_unit "undefined * FUN_00186204(long param_1,int *param_2)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n undefined *puVar6;\n int local_30;\n char *local_20;\n \n iVar2 = FUN_0016aba4(*(undefined8 *)(param_1 + 0x10));\n iVar3 = iVar2 + 8;\n if (iVar2 + 8 < 0) {\n iV...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV RAX,qword ptr [RBP + -0x38] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX + 0x10] MOV RDI,RAX CALL 0x0016aba4 ADD EAX,0x8 LEA EDX,[RAX + 0x7] TEST EAX,EAX CMOVS EAX,EDX SAR EAX,...
type_1 * function_1(void *key,int *len) { int var_2; int var_4; int var_11; int var_3; type_1 *var_8; int *len_local; void *key_local; int var_5; int elen; int mlen; int bloblen; type_1 *var_10; type_2 *rsa; type_1 *blob; var_2 = var_1(*(type_3 *)((long)key + 0x10)); var_3 = var_2 +...
(translation_unit "uchar * rsa2_public_blob(void *key,int *len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n uchar *puVar5;\n int *len_local;\n void *key_local;\n int i;\n int elen;\n int mlen;\n int bloblen;\n uchar *p;\n RSAKey *rsa;\n uchar *blob;\n \n iVar1 = bignum_bitcount(*(Bignum_c...
(translation_unit "type_1 * function_1(void *key,int *len)\n\n{\n int var_2;\n int var_4;\n int var_11;\n int var_3;\n type_1 *var_8;\n int *len_local;\n void *key_local;\n int var_5;\n int elen;\n int mlen;\n int bloblen;\n type_1 *var_10;\n type_2 *rsa;\n type_1 *blob;\n \n var_2 = var_1(*(type_3 *)((...
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim...
1242_putty_and_putty_strip.c
des3_key
FUN_00172be2
des3_key
void des3_key(void *handle,uchar *key) { uchar *key_local; void *handle_local; DESContext *keys; des_key_setup((uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3], (uint)key[4] << 0x18 | (uint)key[5] << 0x10 | (uint)key[6] << 8 | (uint)key[7], (DESCo...
void FUN_00172be2(long param_1,byte *param_2) { FUN_0016f437((uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 | (uint)param_2[3], (uint)param_2[4] << 0x18 | (uint)param_2[5] << 0x10 | (uint)param_2[6] << 8 | (uint)param_2[7],param_1); FUN_0016f...
(translation_unit "void FUN_00172be2(long param_1,byte *param_2)\n\n{\n FUN_0016f437((uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 |\n (uint)param_2[3],\n (uint)param_2[4] << 0x18 | (uint)param_2[5] << 0x10 | (uint)param_2[6] << 8 |\n (uint)param_2[...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x20] ADD RAX,0x4 MOVZX EAX,byte ptr [RAX] MOVZX EAX,AL SHL EAX,0x18 MOV EDX,EAX MOV RAX,qword ptr [RBP + -0x20] ADD RAX,0x5 MOVZX EA...
void function_1(void *handle,type_1 *var_2) { type_1 *key_local; void *handle_local; type_2 *keys; var_1((type_3)*var_2 << 0x18 | (type_3)var_2[1] << 0x10 | (type_3)var_2[2] << 8 | (type_3)var_2[3], (type_3)var_2[4] << 0x18 | (type_3)var_2[5] << 0x10 | (type_3)var_2[6] << 8 | (type_3)var_2[...
(translation_unit "void des3_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n DESContext *keys;\n \n des_key_setup((uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3],\n (uint)key[4] << 0x18 | (uint)key[5] << 0x10 | (uint)key[6] << 8 | (uint)key[...
(translation_unit "void function_1(void *handle,type_1 *var_2)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *keys;\n \n var_1((type_3)*var_2 << 0x18 | (type_3)var_2[1] << 0x10 | (type_3)var_2[2] << 8 | (type_3)var_2[3],\n (type_3)var_2[4] << 0x18 | (type_3)var_2[5] << 0x10 | (type_3)var_...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1799_putty_and_putty_strip.c
dlg_listbox_add
FUN_001b34db
dlg_listbox_add
void dlg_listbox_add(control *ctrl,void *dlg,char *text) { char *text_local; void *dlg_local; control *ctrl_local; dlg_listbox_addwithid(ctrl,dlg,text,0); return; }
void FUN_001b34db(undefined8 param_1,undefined8 param_2,undefined8 param_3) { FUN_001b350b(param_1,param_2,param_3,0); return; }
(translation_unit "void FUN_001b34db(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n FUN_001b350b(param_1,param_2,param_3,0);\n return;\n}\n\n" (function_definition "void FUN_001b34db(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n FUN_001b350b(param_1,param_2,param_3,0);\n return;...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV RDX,qword ptr [RBP + -0x18] MOV RSI,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RBP + -0x8] MOV ECX,0x0 MOV RDI,RAX CALL 0x001b350b NOP LEAVE RET
void function_1(type_1 *ctrl,void *dlg,char *text) { char *text_local; void *dlg_local; type_1 *ctrl_local; var_1(ctrl,dlg,text,0); return; }
(translation_unit "void dlg_listbox_add(control *ctrl,void *dlg,char *text)\n\n{\n char *text_local;\n void *dlg_local;\n control *ctrl_local;\n \n dlg_listbox_addwithid(ctrl,dlg,text,0);\n return;\n}\n\n" (function_definition "void dlg_listbox_add(control *ctrl,void *dlg,char *text)\n\n{\n char *text_local;\n ...
(translation_unit "void function_1(type_1 *ctrl,void *dlg,char *text)\n\n{\n char *text_local;\n void *dlg_local;\n type_1 *ctrl_local;\n \n var_1(ctrl,dlg,text,0);\n return;\n}\n\n" (function_definition "void function_1(type_1 *ctrl,void *dlg,char *text)\n\n{\n char *text_local;\n void *dlg_local;\n type_1 *c...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1431_putty_and_putty_strip.c
rsa_public_blob
FUN_00185c0d
rsa_public_blob
uchar * rsa_public_blob(RSAKey *key,int *len) { int iVar1; int iVar2; uchar *puVar3; int *len_local; RSAKey *key_local; int length; int pos; uchar *ret; iVar1 = ssh1_bignum_length((Bignum_conflict)key->modulus); iVar2 = ssh1_bignum_length((Bignum_conflict)key->exponent); iVar1 = iVar2 + iVar1...
undefined * FUN_00185c0d(long param_1,int *param_2) { undefined uVar1; undefined extraout_AH; undefined extraout_var; int iVar2; int iVar3; undefined extraout_var_00; undefined *puVar4; iVar2 = FUN_0016ac11(*(undefined8 *)(param_1 + 8)); iVar3 = FUN_0016ac11(*(undefined8 *)(param_1 + 0x10)); iV...
(translation_unit "undefined * FUN_00185c0d(long param_1,int *param_2)\n\n{\n undefined uVar1;\n undefined extraout_AH;\n undefined extraout_var;\n int iVar2;\n int iVar3;\n undefined extraout_var_00;\n undefined *puVar4;\n \n iVar2 = FUN_0016ac11(*(undefined8 *)(param_1 + 8));\n iVar3 = FUN_0016ac11(*(undefi...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x28 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RAX + 0x8] MOV RDI,RAX CALL 0x0016ac11 MOV EBX,EAX MOV RAX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RAX + 0x10] MOV RDI,RAX CALL 0x0016ac11 ADD EAX,EBX ADD EAX,...
type_1 * function_1(type_2 *key,int *len) { int var_3; int var_2; type_1 *var_7; int *len_local; type_2 *key_local; int length; int pos; type_1 *ret; var_3 = var_1((type_3)key->modulus); var_2 = var_1((type_3)key->exponent); var_3 = var_2 + var_3 + 4; var_7 = (type_1 *)var_4((long)var_3,1);...
(translation_unit "uchar * rsa_public_blob(RSAKey *key,int *len)\n\n{\n int iVar1;\n int iVar2;\n uchar *puVar3;\n int *len_local;\n RSAKey *key_local;\n int length;\n int pos;\n uchar *ret;\n \n iVar1 = ssh1_bignum_length((Bignum_conflict)key->modulus);\n iVar2 = ssh1_bignum_length((Bignum_conflict)key->exp...
(translation_unit "type_1 * function_1(type_2 *key,int *len)\n\n{\n int var_3;\n int var_2;\n type_1 *var_7;\n int *len_local;\n type_2 *key_local;\n int length;\n int pos;\n type_1 *ret;\n \n var_3 = var_1((type_3)key->modulus);\n var_2 = var_1((type_3)key->exponent);\n var_3 = var_2 + var_3 + 4;\n var_7 ...
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri...
1236_putty_and_putty_strip.c
des_sdctr3
FUN_00172927
des_sdctr3
void des_sdctr3(uchar *blk,uint len,DESContext *scheds) { long lVar1; long in_FS_OFFSET; DESContext *scheds_local; uint len_local; uchar *blk_local; word32 iv0; word32 iv1; uint i; word32 tmp; word32 b [2]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); if ((len & 7) != 0) { /*...
void FUN_00172927(byte *param_1,uint param_2,long param_3) { long in_FS_OFFSET; byte *local_30; int local_28; int local_24; uint local_20; undefined4 local_18; undefined4 local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if ((param_2 & 7) != 0) { /* WARNING...
(translation_unit "void FUN_00172927(byte *param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n byte *local_30;\n int local_28;\n int local_24;\n uint local_20;\n undefined4 local_18;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((param_2 & 7) != 0) {...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x28],RDI MOV dword ptr [RBP + -0x2c],ESI MOV qword ptr [RBP + -0x38],RDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV EAX,dword ptr [RBP + -0x2c] AND EAX,0x7 TEST EAX,EAX JZ 0x00172972 LEA RCX,[0x20ef78] MOV EDX,0x2d9 LEA RSI,[0x20ec...
void function_1(type_1 *blk,type_2 var_2,type_3 *var_7) { long var_11; long var_1; type_3 *scheds_local; type_2 len_local; type_1 *var_8; type_4 var_10; type_4 var_9; type_2 var_4; type_4 tmp; type_4 b [2]; var_11 = *(long *)(var_1 + 0x28); if ((var_2 & 7) != 0) { /* WAR...
(translation_unit "void des_sdctr3(uchar *blk,uint len,DESContext *scheds)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n DESContext *scheds_local;\n uint len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n uint i;\n word32 tmp;\n word32 b [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & ...
(translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *var_7)\n\n{\n long var_11;\n long var_1;\n type_3 *scheds_local;\n type_2 len_local;\n type_1 *var_8;\n type_4 var_10;\n type_4 var_9;\n type_2 var_4;\n type_4 tmp;\n type_4 b [2];\n \n var_11 = *(long *)(var_1 + 0x28);\n if ((var_2 & 7) !...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi...
1889_putty_and_putty_strip.c
x11font_draw_combining
FUN_001bcfc4
x11font_draw_combining
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void x11font_draw_combining (unifont_drawctx *ctx,unifont *font,wchar_t x,wchar_t y,wchar_t *string,wchar_t len, wchar_t wide,wchar_t bold,wchar_t cellwidth) { wchar_t len_local; wchar_t *string_local; wchar_...
void FUN_001bcfc4(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4, long param_5,int param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9) { undefined4 local_c; for (local_c = 0; local_c < param_6; local_c = local_c + 1) { FUN_001bcc25(param_1,param_2...
(translation_unit "void FUN_001bcfc4(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4,\n long param_5,int param_6,undefined4 param_7,undefined4 param_8,undefined4 param_9)\n\n{\n undefined4 local_c;\n \n for (local_c = 0; local_c < param_6; local_c = local_c + 1) {\n FUN...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV dword ptr [RBP + -0x28],ECX MOV qword ptr [RBP + -0x30],R8 MOV dword ptr [RBP + -0x34],R9D MOV dword ptr [RBP + -0x4],0x0 JMP 0x001bd034 MOV EAX,dword ptr [RBP + -0x4] CDQE LEA RDX,[RAX*...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1 (type_1 *ctx,type_2 *font,type_3 x,type_3 y,type_3 *var_4,type_3 var_2, type_3 wide,type_3 bold,type_3 cellwidth) { type_3 len_local; type_3 *string_local; type_3 y_local; type_3 x_local; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11font_draw_combining\n (unifont_drawctx *ctx,unifont *font,wchar_t x,wchar_t y,wchar_t *string,wchar_t len,\n wchar_t wide,wchar_t bold,wchar_t cellwidth)\n\n{\n wchar_t len_local;\n wchar...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 *ctx,type_2 *font,type_3 x,type_3 y,type_3 *var_4,type_3 var_2,\n type_3 wide,type_3 bold,type_3 cellwidth)\n\n{\n type_3 len_local;\n type_3 *string_local;\n type_3 y_...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato...
1376_putty_and_putty_strip.c
hmacmd5_verresult
FUN_0017f290
hmacmd5_verresult
int hmacmd5_verresult(void *handle,uchar *hmac) { long lVar1; int iVar2; long in_FS_OFFSET; uchar *hmac_local; void *handle_local; uchar correct [16]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); hmacmd5_genresult(handle,correct); iVar2 = smemeq(correct,hmac,0x10); if (lVar1 != *(long *)(in_FS_OFFSE...
void FUN_0017f290(undefined8 param_1,undefined8 param_2) { long in_FS_OFFSET; undefined local_28 [24]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_0017f0ff(param_1,local_28); FUN_0012e6a8(local_28,param_2,0x10); if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) { /...
(translation_unit "void FUN_0017f290(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0017f0ff(param_1,local_28);\n FUN_0012e6a8(local_28,param_2,0x10);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RDX,[RBP + -0x20] MOV RAX,qword ptr [RBP + -0x28] MOV RSI,RDX MOV RDI,RAX CALL 0x0017f0ff MOV RCX,qword ptr [RBP + -0x30] LEA RAX,[RBP + -0x20] MOV...
int function_1(void *handle,type_1 *hmac) { long var_4; int iVar2; long var_1; type_1 *hmac_local; void *handle_local; type_1 correct [16]; var_4 = *(long *)(var_1 + 0x28); var_2(handle,correct); iVar2 = var_3(correct,hmac,0x10); if (var_4 != *(long *)(var_1 + 0x28)) { /* WA...
(translation_unit "int hmacmd5_verresult(void *handle,uchar *hmac)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n uchar *hmac_local;\n void *handle_local;\n uchar correct [16];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n hmacmd5_genresult(handle,correct);\n iVar2 = smemeq(correct,hmac,0x10);\n if ...
(translation_unit "int function_1(void *handle,type_1 *hmac)\n\n{\n long var_4;\n int iVar2;\n long var_1;\n type_1 *hmac_local;\n void *handle_local;\n type_1 correct [16];\n \n var_4 = *(long *)(var_1 + 0x28);\n var_2(handle,correct);\n iVar2 = var_3(correct,hmac,0x10);\n if (var_4 != *(long *)(var_1 + 0x2...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1470_putty_and_putty_strip.c
sha256_do_hmac
FUN_00188fc4
sha256_do_hmac
void sha256_do_hmac(void *handle,uchar *blk,int len,ulong seq,uchar *hmac) { long lVar1; long in_FS_OFFSET; uchar *hmac_local; ulong seq_local; int len_local; uchar *blk_local; void *handle_local; uchar seqbuf [4]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); seqbuf[0] = (uchar)(seq >> 0x18); seqb...
void FUN_00188fc4(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4, undefined8 param_5) { long in_FS_OFFSET; undefined local_14; undefined local_13; undefined local_12; undefined local_11; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_14...
(translation_unit "void FUN_00188fc4(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined8 param_5)\n\n{\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV qword ptr [RBP + -0x30],RCX MOV qword ptr [RBP + -0x38],R8 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x30] SHR RAX,0x18 MOV byte pt...
void function_1(void *handle,type_1 *blk,int len,type_2 var_2,type_1 *hmac) { long var_6; long var_1; type_1 *hmac_local; type_2 seq_local; int len_local; type_1 *blk_local; void *handle_local; type_1 seqbuf [4]; var_6 = *(long *)(var_1 + 0x28); seqbuf[0] = (type_1)(var_2 >> 0x18); seqbuf[1] ...
(translation_unit "void sha256_do_hmac(void *handle,uchar *blk,int len,ulong seq,uchar *hmac)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *hmac_local;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar seqbuf [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n seqbuf[0]...
(translation_unit "void function_1(void *handle,type_1 *blk,int len,type_2 var_2,type_1 *hmac)\n\n{\n long var_6;\n long var_1;\n type_1 *hmac_local;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 seqbuf [4];\n \n var_6 = *(long *)(var_1 + 0x28);\n seqbuf[0] = (type_...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
925_putty_and_putty_strip.c
ssh_pkt_defersend
FUN_00141835
ssh_pkt_defersend
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_pkt_defersend(Ssh_conflict ssh) { int bufsize; Ssh_conflict ssh_local; int backlog; bufsize = s_write(ssh,ssh->deferred_send_data,ssh->deferred_len); ssh->deferred_size = 0; ssh->deferred_len = ssh->deferred_size; safe...
void FUN_00141835(long param_1) { int iVar1; iVar1 = FUN_0013fe55(param_1,*(undefined8 *)(param_1 + 0x200),*(undefined4 *)(param_1 + 0x208)); *(undefined4 *)(param_1 + 0x20c) = 0; *(undefined4 *)(param_1 + 0x208) = *(undefined4 *)(param_1 + 0x20c); FUN_0012e243(*(undefined8 *)(param_1 + 0x200)); *(unde...
(translation_unit "void FUN_00141835(long param_1)\n\n{\n int iVar1;\n \n iVar1 = FUN_0013fe55(param_1,*(undefined8 *)(param_1 + 0x200),*(undefined4 *)(param_1 + 0x208));\n *(undefined4 *)(param_1 + 0x20c) = 0;\n *(undefined4 *)(param_1 + 0x208) = *(undefined4 *)(param_1 + 0x20c);\n FUN_0012e243(*(undefined8 *)(p...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV EDX,dword ptr [RAX + 0x208] MOV RAX,qword ptr [RBP + -0x18] MOV RCX,qword ptr [RAX + 0x200] MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RCX MOV RDI,RAX CALL 0x0013fe55 MOV dword ptr [RBP + -0x4],EAX MOV RAX,qword ptr [RBP ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh) { int var_3; type_1 ssh_local; int backlog; var_3 = var_1(ssh,ssh->deferred_send_data,ssh->deferred_len); ssh->deferred_size = 0; ssh->deferred_len = ssh->deferred_size; var_2(ssh->deferred_send_data...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_pkt_defersend(Ssh_conflict ssh)\n\n{\n int bufsize;\n Ssh_conflict ssh_local;\n int backlog;\n \n bufsize = s_write(ssh,ssh->deferred_send_data,ssh->deferred_len);\n ssh->deferred_size = 0;\n ssh->deferred_len...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh)\n\n{\n int var_3;\n type_1 ssh_local;\n int backlog;\n \n var_3 = var_1(ssh,ssh->deferred_send_data,ssh->deferred_len);\n ssh->deferred_size = 0;\n ssh->deferred_len = ssh->deferred_size;\n ...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier))...
923_putty_and_putty_strip.c
ssh2_pkt_send
FUN_0014179e
ssh2_pkt_send
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_pkt_send(Ssh_conflict ssh,Packet *pkt) { Packet *pkt_local; Ssh_conflict ssh_local; if (ssh->queueing == 0) { ssh2_pkt_send_noqueue(ssh,pkt); } else { ssh2_pkt_queue(ssh,pkt); } return; }
void FUN_0014179e(long param_1,undefined8 param_2) { if (*(int *)(param_1 + 0x1f8) == 0) { FUN_001413f2(param_1,param_2); } else { FUN_001416c6(param_1,param_2); } return; }
(translation_unit "void FUN_0014179e(long param_1,undefined8 param_2)\n\n{\n if (*(int *)(param_1 + 0x1f8) == 0) {\n FUN_001413f2(param_1,param_2);\n }\n else {\n FUN_001416c6(param_1,param_2);\n }\n return;\n}\n\n" (function_definition "void FUN_0014179e(long param_1,undefined8 param_2)\n\n{\n if (*(int *)...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x1f8] TEST EAX,EAX JZ 0x001417d1 MOV RDX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RBP + -0x8] MOV RSI,RDX MOV RDI,RAX CALL 0x001416c6 JMP 0x001417e4 MOV RDX,qword p...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pkt) { type_2 *pkt_local; type_1 ssh_local; if (ssh->queueing == 0) { var_1(ssh,pkt); } else { var_2(ssh,pkt); } return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_pkt_send(Ssh_conflict ssh,Packet *pkt)\n\n{\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n \n if (ssh->queueing == 0) {\n ssh2_pkt_send_noqueue(ssh,pkt);\n }\n else {\n ssh2_pkt_queue(ssh,pkt);\n }\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pkt)\n\n{\n type_2 *pkt_local;\n type_1 ssh_local;\n \n if (ssh->queueing == 0) {\n var_1(ssh,pkt);\n }\n else {\n var_2(ssh,pkt);\n }\n return;\n}\n\n" comment (function_defin...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1123_putty_and_putty_strip.c
blowfish_make_context
FUN_00166951
blowfish_make_context
/* WARNING: Unknown calling convention */ void * blowfish_make_context(void) { void *pvVar1; pvVar1 = safemalloc(1,0x1050); return pvVar1; }
void FUN_00166951(void) { FUN_0012e037(1,0x1050); return; }
(translation_unit "void FUN_00166951(void)\n\n{\n FUN_0012e037(1,0x1050);\n return;\n}\n\n" (function_definition "void FUN_00166951(void)\n\n{\n FUN_0012e037(1,0x1050);\n return;\n}" primitive_type (function_declarator "FUN_00166951(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitiv...
PUSH RBP MOV RBP,RSP MOV ESI,0x1050 MOV EDI,0x1 CALL 0x0012e037 POP RBP RET
/* WARNING: Unknown calling convention */ void * function_1(void) { void *pvVar1; pvVar1 = var_1(1,0x1050); return pvVar1; }
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * blowfish_make_context(void)\n\n{\n void *pvVar1;\n \n pvVar1 = safemalloc(1,0x1050);\n return pvVar1;\n}\n\n" comment (function_definition "void * blowfish_make_context(void)\n\n{\n void *pvVar1;\n \n pvVar1 = safemalloc(1,0x1050);\n return ...
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n void *pvVar1;\n \n pvVar1 = var_1(1,0x1050);\n return pvVar1;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{\n void *pvVar1;\n \n pvVar1 = var_1(1,0x1050);\n return pvVar1;\n}" primitive_type (poin...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (point...
1858_putty_and_putty_strip.c
about_key_press
FUN_001b9c44
about_key_press
/* WARNING: Enum "GdkEventType": Some values do not have unique names */ void about_key_press(GtkWidget *widget,GdkEventKey *event,gpointer data) { gpointer data_local; GdkEventKey *event_local; GtkWidget *widget_local; if ((event->keyval == 0xff1b) && (aboutbox != (GtkWidget *)0x0)) { gtk_widget_dest...
void FUN_001b9c44(undefined8 param_1,long param_2) { if ((*(int *)(param_2 + 0x1c) == 0xff1b) && (DAT_002362b0 != 0)) { gtk_widget_destroy(DAT_002362b0); DAT_002362b0 = 0; } return; }
(translation_unit "void FUN_001b9c44(undefined8 param_1,long param_2)\n\n{\n if ((*(int *)(param_2 + 0x1c) == 0xff1b) && (DAT_002362b0 != 0)) {\n gtk_widget_destroy(DAT_002362b0);\n DAT_002362b0 = 0;\n }\n return;\n}\n\n" (function_definition "void FUN_001b9c44(undefined8 param_1,long param_2)\n\n{\n if ((*(i...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV RAX,qword ptr [RBP + -0x10] MOV EAX,dword ptr [RAX + 0x1c] CMP EAX,0xff1b JNZ 0x001b9c8c MOV RAX,qword ptr [0x002362b0] TEST RAX,RAX JZ 0x001b9c8c MOV RAX,qword ptr [0x002362b0] MOV RDI,R...
/* WARNING: Enum "GdkEventType": Some values do not have unique names */ void function_1(type_1 *widget,type_2 *event,type_3 data) { type_3 data_local; type_2 *event_local; type_1 *widget_local; if ((event->keyval == 0xff1b) && (var_1 != (type_1 *)0x0)) { var_2(var_1); var_1 = (type_1 *)0x0; } ...
(translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\nvoid about_key_press(GtkWidget *widget,GdkEventKey *event,gpointer data)\n\n{\n gpointer data_local;\n GdkEventKey *event_local;\n GtkWidget *widget_local;\n \n if ((event->keyval == 0xff1b) && (aboutbox != (GtkWidget *)...
(translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\nvoid function_1(type_1 *widget,type_2 *event,type_3 data)\n\n{\n type_3 data_local;\n type_2 *event_local;\n type_1 *widget_local;\n \n if ((event->keyval == 0xff1b) && (var_1 != (type_1 *)0x0)) {\n var_2(var_1);\n ...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato...
1084_putty_and_putty_strip.c
aes_decrypt_nb_4
FUN_00160469
aes_decrypt_nb_4
void aes_decrypt_nb_4(AESContext *ctx,word32 *block) { uint *puVar1; byte bVar2; byte bVar3; byte bVar4; byte bVar5; byte bVar6; byte bVar7; byte bVar8; byte bVar9; byte bVar10; byte bVar11; byte bVar12; byte bVar13; uint uVar14; uint uVar15; uint uVar16; uint uVar17; uint uVar18; ...
void FUN_00160469(long param_1,uint *param_2) { uint *puVar1; byte bVar2; byte bVar3; byte bVar4; byte bVar5; byte bVar6; byte bVar7; byte bVar8; byte bVar9; byte bVar10; byte bVar11; byte bVar12; byte bVar13; uint uVar14; uint uVar15; uint uVar16; uint uVar17; uint uVar18; uint ...
(translation_unit "void FUN_00160469(long param_1,uint *param_2)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n uint uVar14;\n uint uVar15;\n uint uVar16;\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x38] ADD RAX,0x1e0 MOV qword ptr [RBP + -0x28],RAX MOV dword ptr [RBP + -0x2c],0x0 JMP 0x00160901 MOV RAX,qword ptr [RBP + -...
void function_1(type_1 *ctx,type_2 *block) { type_3 *puVar1; type_4 bVar2; type_4 bVar3; type_4 bVar4; type_4 bVar5; type_4 bVar6; type_4 bVar7; type_4 bVar8; type_4 bVar9; type_4 bVar10; type_4 bVar11; type_4 bVar12; type_4 bVar13; type_3 var_5; type_3 var_6; type_3 var_7; type_3 va...
(translation_unit "void aes_decrypt_nb_4(AESContext *ctx,word32 *block)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n uint uVar14;\n uint uVar15;\n uint uV...
(translation_unit "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_3 *puVar1;\n type_4 bVar2;\n type_4 bVar3;\n type_4 bVar4;\n type_4 bVar5;\n type_4 bVar6;\n type_4 bVar7;\n type_4 bVar8;\n type_4 bVar9;\n type_4 bVar10;\n type_4 bVar11;\n type_4 bVar12;\n type_4 bVar13;\n type_3 var_5;\n type_3...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1225_putty_and_putty_strip.c
detect_attack
FUN_0016efdd
detect_attack
int detect_attack(void *handle,uchar *buf,uint32 len,uchar *IV) { int iVar1; void *pvVar2; uint uVar3; uchar *c; uchar *S; byte *S_00; uint32 i; short sVar4; uint32 j; uchar *IV_local; uint32 len_local; uchar *buf_local; void *handle_local; uint32 l; uchar *d; crcda_ctx *ctx; if (...
undefined8 FUN_0016efdd(long *param_1,byte *param_2,uint param_3,byte *param_4) { int iVar1; long lVar2; uint uVar3; byte *pbVar4; short sVar5; uint local_3c; byte *local_38; if ((0x40000 < param_3) || ((param_3 & 7) != 0)) { /* WARNING: Subroutine does not return */ __asser...
(translation_unit "undefined8 FUN_0016efdd(long *param_1,byte *param_2,uint param_3,byte *param_4)\n\n{\n int iVar1;\n long lVar2;\n uint uVar3;\n byte *pbVar4;\n short sVar5;\n uint local_3c;\n byte *local_38;\n \n if ((0x40000 < param_3) || ((param_3 & 7) != 0)) {\n /* WARNING: Subroutine ...
PUSH RBP MOV RBP,RSP PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x48 MOV qword ptr [RBP + -0x48],RDI MOV qword ptr [RBP + -0x50],RSI MOV dword ptr [RBP + -0x54],EDX MOV qword ptr [RBP + -0x60],RCX MOV RAX,qword ptr [RBP + -0x48] MOV qword ptr [RBP + -0x28],RAX CMP dword ptr [RBP + -0x54],0x40000 JA 0x0016f014 MOV EAX,dword ptr...
int function_1(void *handle,type_1 *var_7,type_2 var_1,type_1 *var_8) { int var_10; void *pvVar2; type_3 var_15; type_1 *c; type_1 *var_6; type_4 *var_14; type_2 i; short var_16; type_2 j; type_1 *IV_local; type_2 len_local; type_1 *buf_local; void *handle_local; type_2 var_3; type_1 *va...
(translation_unit "int detect_attack(void *handle,uchar *buf,uint32 len,uchar *IV)\n\n{\n int iVar1;\n void *pvVar2;\n uint uVar3;\n uchar *c;\n uchar *S;\n byte *S_00;\n uint32 i;\n short sVar4;\n uint32 j;\n uchar *IV_local;\n uint32 len_local;\n uchar *buf_local;\n void *handle_local;\n uint32 l;\n uc...
(translation_unit "int function_1(void *handle,type_1 *var_7,type_2 var_1,type_1 *var_8)\n\n{\n int var_10;\n void *pvVar2;\n type_3 var_15;\n type_1 *c;\n type_1 *var_6;\n type_4 *var_14;\n type_2 i;\n short var_16;\n type_2 j;\n type_1 *IV_local;\n type_2 len_local;\n type_1 *buf_local;\n void *handle_lo...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
895_putty_and_putty_strip.c
s_wrpkt_prepare
FUN_0013fb2b
s_wrpkt_prepare
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int s_wrpkt_prepare(Ssh_conflict ssh,Packet *pkt,int *offset_p) { int iVar1; long in_FS_OFFSET; int *offset_p_local; Packet *pkt_local; Ssh_conflict ssh_local; int complen; int i; int len; int pad; int pktoffs; int biglen;...
int FUN_0013fb2b(long param_1,long *param_2,int *param_3) { undefined uVar1; long in_FS_OFFSET; int local_38; int local_34; int local_30; int local_2c; int local_28; int local_24; void *local_20; undefined8 local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if (*(long *)(...
(translation_unit "int FUN_0013fb2b(long param_1,long *param_2,int *param_3)\n\n{\n undefined uVar1;\n long in_FS_OFFSET;\n int local_38;\n int local_34;\n int local_30;\n int local_2c;\n int local_28;\n int local_24;\n void *local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS...
PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV qword ptr [RBP + -0x48],RDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x38] MOV RAX,qword ptr [RAX + 0x30] TEST RAX,RAX JZ 0x0013fb6e MOV RDX,qword ptr [RBP + -0x4...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(type_1 ssh,type_2 *pkt,int *var_15) { int iVar1; long var_1; int *offset_p_local; type_2 *pkt_local; type_1 ssh_local; int var_5; int var_10; int var_8; int var_9; int pktoffs; int var_13; type_3 *compblk;...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint s_wrpkt_prepare(Ssh_conflict ssh,Packet *pkt,int *offset_p)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int *offset_p_local;\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n int complen;\n int i;\n int len;\n int pa...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 ssh,type_2 *pkt,int *var_15)\n\n{\n int iVar1;\n long var_1;\n int *offset_p_local;\n type_2 *pkt_local;\n type_1 ssh_local;\n int var_5;\n int var_10;\n int var_8;\n int var_9;\n int pktoffs;\...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1096_putty_and_putty_strip.c
aes192_key
FUN_00163bff
aes192_key
void aes192_key(void *handle,uchar *key) { uchar *key_local; void *handle_local; AESContext *ctx; aes_setup((AESContext *)handle,0x10,key,0x18); return; }
void FUN_00163bff(undefined8 param_1,undefined8 param_2) { FUN_00162f17(param_1,0x10,param_2,0x18); return; }
(translation_unit "void FUN_00163bff(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00162f17(param_1,0x10,param_2,0x18);\n return;\n}\n\n" (function_definition "void FUN_00163bff(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00162f17(param_1,0x10,param_2,0x18);\n return;\n}" primitive_type (function_declarat...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV RDX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x8] MOV ECX,0x18 MOV ESI,0x10 MOV RDI,RAX CALL 0x00162f17 NOP LEAVE RET
void function_1(void *handle,type_1 *key) { type_1 *key_local; void *handle_local; type_2 *ctx; var_1((type_2 *)handle,0x10,key,0x18); return; }
(translation_unit "void aes192_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n AESContext *ctx;\n \n aes_setup((AESContext *)handle,0x10,key,0x18);\n return;\n}\n\n" (function_definition "void aes192_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n AES...
(translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1((type_2 *)handle,0x10,key,0x18);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *ctx...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1409_putty_and_putty_strip.c
key_type
FUN_001841fa
key_type
int key_type(Filename *filename) { int iVar1; FILE *__stream; Filename *filename_local; int ret; FILE *fp; __stream = (FILE *)f_open(filename,"r",0); if (__stream == (FILE *)0x0) { iVar1 = 0; } else { iVar1 = key_type_fp((FILE *)__stream); fclose(__stream); } return iVar1; }
undefined4 FUN_001841fa(undefined8 param_1) { undefined4 uVar1; FILE *__stream; __stream = (FILE *)FUN_001d068d(param_1,&DAT_002101a2,0); if (__stream == (FILE *)0x0) { uVar1 = 0; } else { uVar1 = FUN_00183d6d(__stream); fclose(__stream); } return uVar1; }
(translation_unit "undefined4 FUN_001841fa(undefined8 param_1)\n\n{\n undefined4 uVar1;\n FILE *__stream;\n \n __stream = (FILE *)FUN_001d068d(param_1,&DAT_002101a2,0);\n if (__stream == (FILE *)0x0) {\n uVar1 = 0;\n }\n else {\n uVar1 = FUN_00183d6d(__stream);\n fclose(__stream);\n }\n return uVar1;\...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV EDX,0x0 LEA RSI,[0x2101a2] MOV RDI,RAX CALL 0x001d068d MOV qword ptr [RBP + -0x8],RAX CMP qword ptr [RBP + -0x8],0x0 JNZ 0x00184230 MOV EAX,0x0 JMP 0x0018424e MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x00183d6d ...
int function_1(type_1 *filename) { int iVar1; type_2 *var_2; type_1 *filename_local; int ret; type_2 *fp; var_2 = (type_2 *)var_1(filename,"r",0); if (var_2 == (type_2 *)0x0) { iVar1 = 0; } else { iVar1 = var_3((type_2 *)var_2); var_4(var_2); } return iVar1; }
(translation_unit "int key_type(Filename *filename)\n\n{\n int iVar1;\n FILE *__stream;\n Filename *filename_local;\n int ret;\n FILE *fp;\n \n __stream = (FILE *)f_open(filename,"r",0);\n if (__stream == (FILE *)0x0) {\n iVar1 = 0;\n }\n else {\n iVar1 = key_type_fp((FILE *)__stream);\n fclose(__str...
(translation_unit "int function_1(type_1 *filename)\n\n{\n int iVar1;\n type_2 *var_2;\n type_1 *filename_local;\n int ret;\n type_2 *fp;\n \n var_2 = (type_2 *)var_1(filename,"r",0);\n if (var_2 == (type_2 *)0x0) {\n iVar1 = 0;\n }\n else {\n iVar1 = var_3((type_2 *)var_2);\n var_4(var_2);\n }\n r...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de...
1694_putty_and_putty_strip.c
term_copyall
FUN_001aacc2
term_copyall
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_copyall(Terminal *term) { tree234 *screen_00; pos top_00; pos bottom_00; wchar_t wVar1; wchar_t wVar2; Terminal *term_local; tree234 *screen; pos top; pos bottom; screen_00 = term->screen; wVar1 = sblines(term...
void FUN_001aacc2(long param_1) { undefined8 uVar1; int iVar2; undefined4 uVar3; uVar1 = *(undefined8 *)(param_1 + 0x10); iVar2 = FUN_0019b985(param_1); uVar3 = FUN_0019e6c1(param_1,uVar1); FUN_001aa405(param_1,-iVar2,CONCAT44(*(undefined4 *)(param_1 + 0x18c),uVar3),0,1); return; }
(translation_unit "void FUN_001aacc2(long param_1)\n\n{\n undefined8 uVar1;\n int iVar2;\n undefined4 uVar3;\n \n uVar1 = *(undefined8 *)(param_1 + 0x10);\n iVar2 = FUN_0019b985(param_1);\n uVar3 = FUN_0019e6c1(param_1,uVar1);\n FUN_001aa405(param_1,-iVar2,CONCAT44(*(undefined4 *)(param_1 + 0x18c),uVar3),0,1);\...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV RAX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RAX + 0x10] MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x28] MOV RDI,RAX CALL 0x0019b985 NEG EAX MOV dword ptr [RBP + -0x10],EAX MOV dword ptr [RBP + -0xc],0x0 MOV RDX,qword ptr [RBP + -0x...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term) { type_2 *screen_00; type_3 top_00; type_3 bottom_00; type_4 wVar1; type_4 wVar2; type_1 *term_local; type_2 *screen; type_3 top; type_3 bottom; screen_00 = term->screen; wVar1 = var_1(term...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_copyall(Terminal *term)\n\n{\n tree234 *screen_00;\n pos top_00;\n pos bottom_00;\n wchar_t wVar1;\n wchar_t wVar2;\n Terminal *term_local;\n tree234 *screen;\n pos top;\n pos bottom;\n \n screen_00 = ter...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term)\n\n{\n type_2 *screen_00;\n type_3 top_00;\n type_3 bottom_00;\n type_4 wVar1;\n type_4 wVar2;\n type_1 *term_local;\n type_2 *screen;\n type_3 top;\n type_3 bottom;\n \n screen_00 = t...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide...
1198_putty_and_putty_strip.c
poly1305_feed
FUN_0016e551
poly1305_feed
void poly1305_feed(poly1305 *ctx,uchar *buf,int len) { int iVar1; int len_local; uchar *buf_local; poly1305 *ctx_local; len_local = len; buf_local = buf; if (ctx->bufferIndex != 0) { for (; (ctx->bufferIndex < 0x10 && (len_local != 0)); len_local = len_local + -1) { iVar1 = ctx->bufferIndex...
void FUN_0016e551(long param_1,undefined *param_2,int param_3) { int iVar1; int local_1c; undefined *local_18; local_1c = param_3; local_18 = param_2; if (*(int *)(param_1 + 0x50) != 0) { for (; (*(int *)(param_1 + 0x50) < 0x10 && (local_1c != 0)); local_1c = local_1c + -1) { iVar1 = *(int *)...
(translation_unit "void FUN_0016e551(long param_1,undefined *param_2,int param_3)\n\n{\n int iVar1;\n int local_1c;\n undefined *local_18;\n \n local_1c = param_3;\n local_18 = param_2;\n if (*(int *)(param_1 + 0x50) != 0) {\n for (; (*(int *)(param_1 + 0x50) < 0x10 && (local_1c != 0)); local_1c = local_1c + ...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV dword ptr [RBP + -0x14],EDX MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x50] TEST EAX,EAX JZ 0x0016e60d JMP 0x0016e5a5 MOV RAX,qword ptr [RBP + -0x10] LEA RDX,[RAX + 0x1] MOV qword ptr [RBP + -0x10],RDX MOV...
void function_1(type_1 *ctx,type_2 *buf,int len) { int var_2; int var_1; type_2 *var_3; type_1 *ctx_local; var_1 = len; var_3 = buf; if (ctx->bufferIndex != 0) { for (; (ctx->bufferIndex < 0x10 && (var_1 != 0)); var_1 = var_1 + -1) { var_2 = ctx->bufferIndex; ctx->bufferIndex = var_2 ...
(translation_unit "void poly1305_feed(poly1305 *ctx,uchar *buf,int len)\n\n{\n int iVar1;\n int len_local;\n uchar *buf_local;\n poly1305 *ctx_local;\n \n len_local = len;\n buf_local = buf;\n if (ctx->bufferIndex != 0) {\n for (; (ctx->bufferIndex < 0x10 && (len_local != 0)); len_local = len_local + -1) {\n...
(translation_unit "void function_1(type_1 *ctx,type_2 *buf,int len)\n\n{\n int var_2;\n int var_1;\n type_2 *var_3;\n type_1 *ctx_local;\n \n var_1 = len;\n var_3 = buf;\n if (ctx->bufferIndex != 0) {\n for (; (ctx->bufferIndex < 0x10 && (var_1 != 0)); var_1 = var_1 + -1) {\n var_2 = ctx->bufferIndex;\n...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1001_putty_and_putty_strip.c
ssh2_mkkey
FUN_0014c292
ssh2_mkkey
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ uchar * ssh2_mkkey(Ssh_conflict ssh,Bignum K,uchar *H,char chr,int keylen) { int keylen_local; char chr_local; uchar *H_local; Bignum K_local; Ssh_conflict ssh_local; int offset; int keylen_padded; ssh_hash *h; uchar *key; v...
long FUN_0014c292(long param_1,undefined8 param_2,undefined8 param_3,undefined param_4,int param_5) { undefined local_54 [4]; undefined8 local_50; undefined8 local_48; long local_40; int local_30; int local_2c; undefined8 *local_28; long local_20; undefined8 local_18; undefined8 local_10; loc...
(translation_unit "long FUN_0014c292(long param_1,undefined8 param_2,undefined8 param_3,undefined param_4,int param_5)\n\n{\n undefined local_54 [4];\n undefined8 local_50;\n undefined8 local_48;\n long local_40;\n int local_30;\n int local_2c;\n undefined8 *local_28;\n long local_20;\n undefined8 local_18;\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV qword ptr [RBP + -0x48],RDX MOV EAX,ECX MOV dword ptr [RBP + -0x50],R8D MOV byte ptr [RBP + -0x4c],AL MOV RAX,qword ptr [RBP + -0x38] MOV RAX,qword ptr [RAX + 0xf0] MOV RAX,qword ptr [RAX + 0x18] MOV qword ptr [RBP + -...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_2 ssh,type_3 K,type_1 *H,char chr,int var_1) { int keylen_local; char chr_local; type_1 *H_local; type_3 K_local; type_2 ssh_local; int var_5; int var_4; type_4 *h; type_1 *var_6; void *s; void *s2...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nuchar * ssh2_mkkey(Ssh_conflict ssh,Bignum K,uchar *H,char chr,int keylen)\n\n{\n int keylen_local;\n char chr_local;\n uchar *H_local;\n Bignum K_local;\n Ssh_conflict ssh_local;\n int offset;\n int keylen_padded;\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 ssh,type_3 K,type_1 *H,char chr,int var_1)\n\n{\n int keylen_local;\n char chr_local;\n type_1 *H_local;\n type_3 K_local;\n type_2 ssh_local;\n int var_5;\n int var_4;\n type_4 *h;\n type_...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarato...
1322_putty_and_putty_strip.c
_ecdsa_sign
FUN_001798cf
_ecdsa_sign
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void _ecdsa_sign(Bignum privateKey,ec_curve *curve,uchar *data,int dataLen,Bignum *r,Bignum *s) { long lVar1; int iVar2; int iVar3; Bignum_conflict pBVar4; Bignum *number; ec_point *point; Bignum_conflict pBVar5; Bignum_conflict...
void FUN_001798cf(undefined8 param_1,int *param_2,undefined8 param_3,undefined4 param_4, undefined8 *param_5,undefined8 *param_6) { int iVar1; int iVar2; undefined8 uVar3; long lVar4; undefined8 uVar5; undefined8 uVar6; undefined8 uVar7; long in_FS_OFFSET; undefined8 local_70; und...
(translation_unit "void FUN_001798cf(undefined8 param_1,int *param_2,undefined8 param_3,undefined4 param_4,\n undefined8 *param_5,undefined8 *param_6)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n long lVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n undefined8 uVar7;\n long in_FS_OFFSET;...
PUSH RBP MOV RBP,RSP SUB RSP,0xa0 MOV qword ptr [RBP + -0x78],RDI MOV qword ptr [RBP + -0x80],RSI MOV qword ptr [RBP + -0x88],RDX MOV dword ptr [RBP + -0x8c],ECX MOV qword ptr [RBP + -0x98],R8 MOV qword ptr [RBP + -0xa0],R9 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 privateKey,type_2 *curve,type_3 *data,int dataLen,type_1 *var_16,type_1 *s) { long var_20; int var_5; int var_6; type_4 pBVar4; type_1 *number; type_5 *var_12; type_4 var_19; type_4 pBVar6; long var_1; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid _ecdsa_sign(Bignum privateKey,ec_curve *curve,uchar *data,int dataLen,Bignum *r,Bignum *s)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n Bignum_conflict pBVar4;\n Bignum *number;\n ec_point *point;\n Bignum_confl...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 privateKey,type_2 *curve,type_3 *data,int dataLen,type_1 *var_16,type_1 *s)\n\n{\n long var_20;\n int var_5;\n int var_6;\n type_4 pBVar4;\n type_1 *number;\n type_5 *var_12;\n type_4 var_19;\n ...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
969_putty_and_putty_strip.c
sshfwd_unclean_close
FUN_0014910e
sshfwd_unclean_close
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void sshfwd_unclean_close(ssh_channel *c,char *err) { char *reason_00; char *err_local; ssh_channel *c_local; Ssh_conflict ssh; char *reason; if (c->ssh->state != AL) { reason_00 = dupprintf("due to local error: %s",err); ...
void FUN_0014910e(long *param_1,undefined8 param_2) { undefined8 uVar1; if (*(int *)(*param_1 + 0x1d0) != 4) { uVar1 = FUN_0012d477("due to local error: %s",param_2); FUN_00152abe(param_1,uVar1); FUN_0012e243(uVar1); *(undefined4 *)((long)param_1 + 0x1c) = 0; FUN_00152d0d(param_1); } re...
(translation_unit "void FUN_0014910e(long *param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(*param_1 + 0x1d0) != 4) {\n uVar1 = FUN_0012d477("due to local error: %s",param_2);\n FUN_00152abe(param_1,uVar1);\n FUN_0012e243(uVar1);\n *(undefined4 *)((long)param_1 + 0x1c) = 0;\n FUN...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x10] MOV EAX,dword ptr [RAX + 0x1d0] CMP EAX,0x4 JZ 0x0014918c MOV RAX,qword ptr [RBP + -0x20] MOV RSI,RAX ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *c,char *err) { char *reason_00; char *err_local; type_1 *c_local; type_2 ssh; char *reason; if (c->ssh->state != var_1) { reason_00 = var_2("due to local error: %s",err); var_3(c,reason_00); va...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sshfwd_unclean_close(ssh_channel *c,char *err)\n\n{\n char *reason_00;\n char *err_local;\n ssh_channel *c_local;\n Ssh_conflict ssh;\n char *reason;\n \n if (c->ssh->state != AL) {\n reason_00 = dupprintf("due...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,char *err)\n\n{\n char *reason_00;\n char *err_local;\n type_1 *c_local;\n type_2 ssh;\n char *reason;\n \n if (c->ssh->state != var_1) {\n reason_00 = var_2("due to local error: %s",err);\...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator...
976_putty_and_putty_strip.c
ssh_sharing_global_request_response
FUN_00149807
ssh_sharing_global_request_response
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_sharing_global_request_response(Ssh_conflict ssh,Packet *pktin,void *ctx) { void *ctx_local; Packet *pktin_local; Ssh_conflict ssh_local; share_got_pkt_from_server(ctx,pktin->type,pktin->body,(int)pktin->length); return; }...
void FUN_00149807(undefined8 param_1,ulong *param_2,undefined8 param_3) { FUN_001919bc(param_3,*(undefined4 *)(param_2 + 2),param_2[5],*param_2 & 0xffffffff); return; }
(translation_unit "void FUN_00149807(undefined8 param_1,ulong *param_2,undefined8 param_3)\n\n{\n FUN_001919bc(param_3,*(undefined4 *)(param_2 + 2),param_2[5],*param_2 & 0xffffffff);\n return;\n}\n\n" (function_definition "void FUN_00149807(undefined8 param_1,ulong *param_2,undefined8 param_3)\n\n{\n FUN_001919bc(pa...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX] MOV ECX,EAX MOV RAX,qword ptr [RBP + -0x10] MOV RDX,qword ptr [RAX + 0x28] MOV RAX,qword ptr [RBP + -0x10] MOV ESI,dword ptr [RAX + 0x1...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin,void *ctx) { void *ctx_local; type_2 *pktin_local; type_1 ssh_local; var_1(ctx,pktin->type,pktin->body,(int)pktin->length); return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_sharing_global_request_response(Ssh_conflict ssh,Packet *pktin,void *ctx)\n\n{\n void *ctx_local;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n \n share_got_pkt_from_server(ctx,pktin->type,pktin->body,(int)...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin,void *ctx)\n\n{\n void *ctx_local;\n type_2 *pktin_local;\n type_1 ssh_local;\n \n var_1(ctx,pktin->type,pktin->body,(int)pktin->length);\n return;\n}\n\n" comment (function_defi...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1178_putty_and_putty_strip.c
bignum_mod_short
FUN_0016bd73
bignum_mod_short
ushort bignum_mod_short(Bignum_conflict number,ushort modulus) { ulong uVar1; ushort modulus_local; Bignum_conflict number_local; int i; ulong r; ulong mod; ulong base_r; uVar1 = (ulong)modulus; r = 0; for (i = (int)*number; 0 < i; i = i + -1) { r = (number[i] % uVar1 + r * (-(ulong)modulus...
ulong FUN_0016bd73(undefined8 *param_1,ushort param_2) { ulong uVar1; int local_24; ulong local_20; uVar1 = (ulong)param_2; local_20 = 0; for (local_24 = (int)*param_1; 0 < local_24; local_24 = local_24 + -1) { local_20 = ((ulong)param_1[local_24] % uVar1 + local_20 * (-(ulong)param_2 % uVar1)) % u...
(translation_unit "ulong FUN_0016bd73(undefined8 *param_1,ushort param_2)\n\n{\n ulong uVar1;\n int local_24;\n ulong local_20;\n \n uVar1 = (ulong)param_2;\n local_20 = 0;\n for (local_24 = (int)*param_1; 0 < local_24; local_24 = local_24 + -1) {\n local_20 = ((ulong)param_1[local_24] % uVar1 + local_20 * (-...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x28],RDI MOV EAX,ESI MOV word ptr [RBP + -0x2c],AX MOVZX EAX,word ptr [RBP + -0x2c] MOV qword ptr [RBP + -0x10],RAX MOV qword ptr [RBP + -0x18],0x0 MOVZX EAX,word ptr [RBP + -0x2c] NEG RAX MOV EDX,0x0 DIV qword ptr [RBP + -0x10] MOV qword ptr [RBP + -0x8],RDX MOV RAX,qword pt...
type_1 function_1(type_2 number,type_1 modulus) { type_3 var_2; type_1 modulus_local; type_2 number_local; int var_1; type_3 var_3; type_3 mod; type_3 base_r; var_2 = (type_3)modulus; var_3 = 0; for (var_1 = (int)*number; 0 < var_1; var_1 = var_1 + -1) { var_3 = (number[var_1] % var_2 + var...
(translation_unit "ushort bignum_mod_short(Bignum_conflict number,ushort modulus)\n\n{\n ulong uVar1;\n ushort modulus_local;\n Bignum_conflict number_local;\n int i;\n ulong r;\n ulong mod;\n ulong base_r;\n \n uVar1 = (ulong)modulus;\n r = 0;\n for (i = (int)*number; 0 < i; i = i + -1) {\n r = (number[i...
(translation_unit "type_1 function_1(type_2 number,type_1 modulus)\n\n{\n type_3 var_2;\n type_1 modulus_local;\n type_2 number_local;\n int var_1;\n type_3 var_3;\n type_3 mod;\n type_3 base_r;\n \n var_2 = (type_3)modulus;\n var_3 = 0;\n for (var_1 = (int)*number; 0 < var_1; var_1 = var_1 + -1) {\n var_...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme...
974_putty_and_putty_strip.c
ssh_rportfwd_succfail
FUN_001495ff
ssh_rportfwd_succfail
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_rportfwd_succfail(Ssh_conflict ssh,Packet *pktin,void *ctx) { int iVar1; void *pvVar2; void *ctx_local; Packet *pktin_local; Ssh_conflict ssh_local; ssh_rportfwd *pf; ssh_rportfwd *rpf; if (ssh->version == 1) { i...
void FUN_001495ff(long param_1,long param_2,long param_3) { int iVar1; long lVar2; if (*(int *)(param_1 + 0x250) == 1) { iVar1 = 0xe; } else { iVar1 = 0x51; } if (iVar1 == *(int *)(param_2 + 0x10)) { FUN_0013c7b6(param_1,"Remote port forwarding from %s enabled",*(undefined8 *)(param_3 + 0...
(translation_unit "void FUN_001495ff(long param_1,long param_2,long param_3)\n\n{\n int iVar1;\n long lVar2;\n \n if (*(int *)(param_1 + 0x250) == 1) {\n iVar1 = 0xe;\n }\n else {\n iVar1 = 0x51;\n }\n if (iVar1 == *(int *)(param_2 + 0x10)) {\n FUN_0013c7b6(param_1,"Remote port forwarding from %s enabl...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV qword ptr [RBP + -0x28],RDX MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x20] MOV EDX,dword ptr [RAX + 0x10] MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0x250]...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin,void *var_5) { int var_1; void *var_4; void *ctx_local; type_2 *pktin_local; type_1 ssh_local; type_3 *pf; type_3 *rpf; if (ssh->version == 1) { var_1 = 0xe; } else { var_1...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_rportfwd_succfail(Ssh_conflict ssh,Packet *pktin,void *ctx)\n\n{\n int iVar1;\n void *pvVar2;\n void *ctx_local;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_rportfwd *pf;\n ssh_rportfwd *rpf;\n \n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin,void *var_5)\n\n{\n int var_1;\n void *var_4;\n void *ctx_local;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_3 *pf;\n type_3 *rpf;\n \n if (ssh->version == 1) {\n var...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1886_putty_and_putty_strip.c
x11font_cairo_draw_8
FUN_001bc97e
x11font_cairo_draw_8
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void x11font_cairo_draw_8 (unifont_drawctx *ctx,x11font_individual *xfi,wchar_t x,wchar_t y,void *vstring, wchar_t start,wchar_t length) { wchar_t wVar1; int iVar2; undefined8 uVar3; wchar_t start_local; ...
void FUN_001bc97e(undefined8 param_1,undefined8 *param_2,int param_3,undefined4 param_4,long param_5 ,int param_6,int param_7) { int iVar1; uint uVar2; undefined8 uVar3; int local_3c; int local_20; uVar3 = gdk_display_get_default(); uVar3 = gdk_x11_display_get_xdisplay(uVar3); para...
(translation_unit "void FUN_001bc97e(undefined8 param_1,undefined8 *param_2,int param_3,undefined4 param_4,long param_5\n ,int param_6,int param_7)\n\n{\n int iVar1;\n uint uVar2;\n undefined8 uVar3;\n int local_3c;\n int local_20;\n \n uVar3 = gdk_display_get_default();\n uVar3 = gdk_x11_displa...
PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV dword ptr [RBP + -0x34],EDX MOV dword ptr [RBP + -0x38],ECX MOV qword ptr [RBP + -0x40],R8 MOV dword ptr [RBP + -0x44],R9D CALL 0x00114df0 MOV RDI,RAX CALL 0x00115fa0 MOV qword ptr [RBP + -0x10],RAX MOV EAX,dword ptr [...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1 (type_1 *ctx,type_2 *xfi,type_3 x,type_3 y,void *vstring, type_3 start,type_3 var_4) { type_3 var_6; int var_12; type_4 uVar3; type_3 start_local; void *vstring_local; type_3 y_local; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11font_cairo_draw_8\n (unifont_drawctx *ctx,x11font_individual *xfi,wchar_t x,wchar_t y,void *vstring,\n wchar_t start,wchar_t length)\n\n{\n wchar_t wVar1;\n int iVar2;\n undefined8 uVar3...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 *ctx,type_2 *xfi,type_3 x,type_3 y,void *vstring,\n type_3 start,type_3 var_4)\n\n{\n type_3 var_6;\n int var_12;\n type_4 uVar3;\n type_3 start_local;\n void *vstrin...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato...
1684_putty_and_putty_strip.c
term_bidi_cache_hit
FUN_001a7ace
term_bidi_cache_hit
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ wchar_t term_bidi_cache_hit(Terminal *term,wchar_t line,termchar *lbefore,wchar_t width) { wchar_t wVar1; termchar *lbefore_local; wchar_t width_local; wchar_t line_local; Terminal *term_local; wchar_t i; if (term->pre_bidi_cac...
undefined8 FUN_001a7ace(long param_1,int param_2,long param_3,int param_4) { int iVar1; undefined8 uVar2; int local_c; if (*(long *)(param_1 + 0x1178) == 0) { uVar2 = 0; } else if (param_2 < *(int *)(param_1 + 0x1188)) { if (*(long *)(*(long *)(param_1 + 0x1178) + (long)param_2 * 0x20 + 8) == 0...
(translation_unit "undefined8 FUN_001a7ace(long param_1,int param_2,long param_3,int param_4)\n\n{\n int iVar1;\n undefined8 uVar2;\n int local_c;\n \n if (*(long *)(param_1 + 0x1178) == 0) {\n uVar2 = 0;\n }\n else if (param_2 < *(int *)(param_1 + 0x1188)) {\n if (*(long *)(*(long *)(param_1 + 0x1178) + (...
PUSH RBP MOV RBP,RSP SUB RSP,0x28 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV qword ptr [RBP + -0x28],RDX MOV dword ptr [RBP + -0x20],ECX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x1178] TEST RAX,RAX JNZ 0x001a7afe MOV EAX,0x0 JMP 0x001a7beb MOV RAX,qword ptr [RBP + -0x18] MOV EA...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 function_1(type_2 *term,type_1 var_1,type_3 *var_5,type_1 var_2) { type_1 var_6; type_3 *lbefore_local; type_1 width_local; type_1 line_local; type_2 *term_local; type_1 var_3; if (term->pre_bidi_cache == (type_4 *)0x0) ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t term_bidi_cache_hit(Terminal *term,wchar_t line,termchar *lbefore,wchar_t width)\n\n{\n wchar_t wVar1;\n termchar *lbefore_local;\n wchar_t width_local;\n wchar_t line_local;\n Terminal *term_local;\n wchar_t i;...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *term,type_1 var_1,type_3 *var_5,type_1 var_2)\n\n{\n type_1 var_6;\n type_3 *lbefore_local;\n type_1 width_local;\n type_1 line_local;\n type_2 *term_local;\n type_1 var_3;\n \n if (term->pre...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarat...
1789_putty_and_putty_strip.c
dlg_find_bywidget
FUN_001b2d4d
dlg_find_bywidget
uctrl * dlg_find_bywidget(dlgparam *dp,GtkWidget *w) { GtkWidget *pGVar1; uctrl *puVar2; GtkWidget *w_local; dlgparam *dp_local; uctrl *ret; pGVar1 = (GtkWidget *)dp->bywidget; while( true ) { if (pGVar1 == (GtkWidget *)0x0) { return (uctrl *)0x0; } puVar2 = (uctrl *)find234(dp->byw...
long FUN_001b2d4d(long param_1,long param_2) { long lVar1; lVar1 = *(long *)(param_1 + 8); while( true ) { if (lVar1 == 0) { return 0; } lVar1 = FUN_001ae652(*(undefined8 *)(param_1 + 8),param_2,FUN_001b2b6d); if (lVar1 != 0) break; param_2 = gtk_widget_get_parent(param_2); lVar...
(translation_unit "long FUN_001b2d4d(long param_1,long param_2)\n\n{\n long lVar1;\n \n lVar1 = *(long *)(param_1 + 8);\n while( true ) {\n if (lVar1 == 0) {\n return 0;\n }\n lVar1 = FUN_001ae652(*(undefined8 *)(param_1 + 8),param_2,FUN_001b2b6d);\n if (lVar1 != 0) break;\n param_2 = gtk_widget...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV qword ptr [RBP + -0x8],0x0 MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x8] TEST RAX,RAX JNZ 0x001b2d79 MOV EAX,0x0 JMP 0x001b2dc3 MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x8] MOV RCX,qwor...
type_1 * function_1(type_2 *dp,type_3 *w) { type_3 *var_1; type_1 *var_3; type_3 *w_local; type_2 *dp_local; type_1 *ret; var_1 = (type_3 *)dp->bywidget; while( true ) { if (var_1 == (type_3 *)0x0) { return (type_1 *)0x0; } var_3 = (type_1 *)var_2(dp->bywidget,w,uctrl_cmp_bywidget_f...
(translation_unit "uctrl * dlg_find_bywidget(dlgparam *dp,GtkWidget *w)\n\n{\n GtkWidget *pGVar1;\n uctrl *puVar2;\n GtkWidget *w_local;\n dlgparam *dp_local;\n uctrl *ret;\n \n pGVar1 = (GtkWidget *)dp->bywidget;\n while( true ) {\n if (pGVar1 == (GtkWidget *)0x0) {\n return (uctrl *)0x0;\n }\n p...
(translation_unit "type_1 * function_1(type_2 *dp,type_3 *w)\n\n{\n type_3 *var_1;\n type_1 *var_3;\n type_3 *w_local;\n type_2 *dp_local;\n type_1 *ret;\n \n var_1 = (type_3 *)dp->bywidget;\n while( true ) {\n if (var_1 == (type_3 *)0x0) {\n return (type_1 *)0x0;\n }\n var_3 = (type_1 *)var_2(dp-...
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (typ...
1290_putty_and_putty_strip.c
initialise_ecurve
FUN_00176799
initialise_ecurve
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void initialise_ecurve(ec_curve *curve,int bits,uchar *p,uchar *l,uchar *d,uchar *Bx,uchar *By) { int iVar1; Bignum_conflict pBVar2; ec_curve *peVar3; uchar *Bx_local; uchar *d_local; uchar *l_local; uchar *p_local; int bits_loc...
void FUN_00176799(undefined4 *param_1,uint param_2,undefined8 param_3,undefined8 param_4, undefined8 param_5,undefined8 param_6,undefined8 param_7) { uint uVar1; undefined8 uVar2; int local_c; uVar1 = param_2; if ((int)param_2 < 0) { uVar1 = param_2 + 7; } local_c = (int)uVar1 >>...
(translation_unit "void FUN_00176799(undefined4 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7)\n\n{\n uint uVar1;\n undefined8 uVar2;\n int local_c;\n \n uVar1 = param_2;\n if ((int)param_2 < 0) {\n uVar1 = param_2 + 7;\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV qword ptr [RBP + -0x28],RDX MOV qword ptr [RBP + -0x30],RCX MOV qword ptr [RBP + -0x38],R8 MOV qword ptr [RBP + -0x40],R9 MOV EAX,dword ptr [RBP + -0x1c] LEA EDX,[RAX + 0x7] TEST EAX,EAX CMOVS EAX,EDX SAR EAX,0x3 MOV d...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *curve,int var_1,type_2 *p,type_2 *l,type_2 *d,type_2 *Bx,type_2 *By) { int var_2; type_3 pBVar2; type_1 *peVar3; type_2 *Bx_local; type_2 *d_local; type_2 *l_local; type_2 *p_local; int bits_local; type...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid initialise_ecurve(ec_curve *curve,int bits,uchar *p,uchar *l,uchar *d,uchar *Bx,uchar *By)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n ec_curve *peVar3;\n uchar *Bx_local;\n uchar *d_local;\n uchar *l_local;\n u...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *curve,int var_1,type_2 *p,type_2 *l,type_2 *d,type_2 *Bx,type_2 *By)\n\n{\n int var_2;\n type_3 pBVar2;\n type_1 *peVar3;\n type_2 *Bx_local;\n type_2 *d_local;\n type_2 *l_local;\n type_2 *p_lo...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator...
1215_putty_and_putty_strip.c
ccp_decrypt
FUN_0016ebc6
ccp_decrypt
void ccp_decrypt(void *vctx,uchar *blk,int len) { int len_local; uchar *blk_local; void *vctx_local; ccp_context *ctx; chacha20_decrypt((chacha20 *)((long)vctx + 0x84),blk,len); return; }
void FUN_0016ebc6(long param_1,undefined8 param_2,undefined4 param_3) { FUN_0016d0f3(param_1 + 0x84,param_2,param_3); return; }
(translation_unit "void FUN_0016ebc6(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0016d0f3(param_1 + 0x84,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_0016ebc6(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0016d0f3(param_1 + 0x84,param_2,param_3);\n return;\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] LEA RCX,[RAX + 0x84] MOV EDX,dword ptr [RBP + -0x24] MOV RAX,qword ptr [RBP + -0x20] MOV RSI,RAX...
void function_1(void *vctx,type_1 *blk,int len) { int len_local; type_1 *blk_local; void *vctx_local; type_2 *ctx; var_1((type_3 *)((long)vctx + 0x84),blk,len); return; }
(translation_unit "void ccp_decrypt(void *vctx,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *vctx_local;\n ccp_context *ctx;\n \n chacha20_decrypt((chacha20 *)((long)vctx + 0x84),blk,len);\n return;\n}\n\n" (function_definition "void ccp_decrypt(void *vctx,uchar *blk,int len)\n\n{\n int ...
(translation_unit "void function_1(void *vctx,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *vctx_local;\n type_2 *ctx;\n \n var_1((type_3 *)((long)vctx + 0x84),blk,len);\n return;\n}\n\n" (function_definition "void function_1(void *vctx,type_1 *blk,int len)\n\n{\n int len_local;\n typ...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1414_putty_and_putty_strip.c
random_add_heavynoise_bitbybit
FUN_00184720
random_add_heavynoise_bitbybit
void random_add_heavynoise_bitbybit(void *noise,int length) { int length_local; void *noise_local; int i; uchar *p; length_local = length; p = (uchar *)noise; while (0x4b0 - pool.poolpos <= length_local) { for (i = 0; i < 0x4b0 - pool.poolpos; i = i + 1) { pool.pool[i + pool.poolpos] = pool...
void FUN_00184720(byte *param_1,int param_2) { int local_24; int local_14; byte *local_10; local_24 = param_2; local_10 = param_1; while (0x4b0 - DAT_00236210 <= local_24) { for (local_14 = 0; local_14 < 0x4b0 - DAT_00236210; local_14 = local_14 + 1) { (&DAT_00235d60)[local_14 + DAT_00236210]...
(translation_unit "void FUN_00184720(byte *param_1,int param_2)\n\n{\n int local_24;\n int local_14;\n byte *local_10;\n \n local_24 = param_2;\n local_10 = param_1;\n while (0x4b0 - DAT_00236210 <= local_24) {\n for (local_14 = 0; local_14 < 0x4b0 - DAT_00236210; local_14 = local_14 + 1) {\n (&DAT_00235...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX JMP 0x001847be MOV dword ptr [RBP + -0xc],0x0 JMP 0x00184789 MOV RAX,qword ptr [RBP + -0x8] LEA RDX,[RAX + 0x1] MOV qword ptr [RBP + -0x8],RDX MOVZX ESI,byte p...
void function_1(void *noise,int length) { int var_1; void *noise_local; int var_2; type_1 *var_3; var_1 = length; var_3 = (type_1 *)noise; while (0x4b0 - pool.poolpos <= var_1) { for (var_2 = 0; var_2 < 0x4b0 - pool.poolpos; var_2 = var_2 + 1) { pool.pool[var_2 + pool.poolpos] = pool.pool[v...
(translation_unit "void random_add_heavynoise_bitbybit(void *noise,int length)\n\n{\n int length_local;\n void *noise_local;\n int i;\n uchar *p;\n \n length_local = length;\n p = (uchar *)noise;\n while (0x4b0 - pool.poolpos <= length_local) {\n for (i = 0; i < 0x4b0 - pool.poolpos; i = i + 1) {\n pool...
(translation_unit "void function_1(void *noise,int length)\n\n{\n int var_1;\n void *noise_local;\n int var_2;\n type_1 *var_3;\n \n var_1 = length;\n var_3 = (type_1 *)noise;\n while (0x4b0 - pool.poolpos <= var_1) {\n for (var_2 = 0; var_2 < 0x4b0 - pool.poolpos; var_2 = var_2 + 1) {\n pool.pool[var_2...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi...
1811_putty_and_putty_strip.c
dlg_update_start
FUN_001b4449
dlg_update_start
void dlg_update_start(control *ctrl,void *dlg) { void *dlg_local; control *ctrl_local; return; }
void FUN_001b4449(void) { return; }
(translation_unit "void FUN_001b4449(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001b4449(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001b4449(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI NOP POP RBP RET
void function_1(type_1 *ctrl,void *dlg) { void *dlg_local; type_1 *ctrl_local; return; }
(translation_unit "void dlg_update_start(control *ctrl,void *dlg)\n\n{\n void *dlg_local;\n control *ctrl_local;\n \n return;\n}\n\n" (function_definition "void dlg_update_start(control *ctrl,void *dlg)\n\n{\n void *dlg_local;\n control *ctrl_local;\n \n return;\n}" primitive_type (function_declarator "dlg_upda...
(translation_unit "void function_1(type_1 *ctrl,void *dlg)\n\n{\n void *dlg_local;\n type_1 *ctrl_local;\n \n return;\n}\n\n" (function_definition "void function_1(type_1 *ctrl,void *dlg)\n\n{\n void *dlg_local;\n type_1 *ctrl_local;\n \n return;\n}" primitive_type (function_declarator "function_1(type_1 *ctrl,...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1817_putty_and_putty_strip.c
dlg_end
FUN_001b46b6
dlg_end
void dlg_end(void *dlg,int value) { int value_local; void *dlg_local; dlgparam *dp; *(int *)((long)dlg + 0x58) = value; gtk_widget_destroy(*(undefined8 *)((long)dlg + 0x28)); return; }
void FUN_001b46b6(long param_1,undefined4 param_2) { *(undefined4 *)(param_1 + 0x58) = param_2; gtk_widget_destroy(*(undefined8 *)(param_1 + 0x28)); return; }
(translation_unit "void FUN_001b46b6(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x58) = param_2;\n gtk_widget_destroy(*(undefined8 *)(param_1 + 0x28));\n return;\n}\n\n" (function_definition "void FUN_001b46b6(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x58) = param_2;\...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ptr [RBP + -0x1c] MOV dword ptr [RAX + 0x58],EDX MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x28] MOV...
void function_1(void *dlg,int value) { int value_local; void *dlg_local; type_1 *dp; *(int *)((long)dlg + 0x58) = value; var_1(*(type_2 *)((long)dlg + 0x28)); return; }
(translation_unit "void dlg_end(void *dlg,int value)\n\n{\n int value_local;\n void *dlg_local;\n dlgparam *dp;\n \n *(int *)((long)dlg + 0x58) = value;\n gtk_widget_destroy(*(undefined8 *)((long)dlg + 0x28));\n return;\n}\n\n" (function_definition "void dlg_end(void *dlg,int value)\n\n{\n int value_local;\n v...
(translation_unit "void function_1(void *dlg,int value)\n\n{\n int value_local;\n void *dlg_local;\n type_1 *dp;\n \n *(int *)((long)dlg + 0x58) = value;\n var_1(*(type_2 *)((long)dlg + 0x28));\n return;\n}\n\n" (function_definition "void function_1(void *dlg,int value)\n\n{\n int value_local;\n void *dlg_loca...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi...
897_putty_and_putty_strip.c
s_wrpkt
FUN_0013feec
s_wrpkt
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void s_wrpkt(Ssh_conflict ssh,Packet *pkt) { long in_FS_OFFSET; Packet *pkt_local; Ssh_conflict ssh_local; int offset; int len; int backlog; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); len = s_wrpkt_prepare(ss...
void FUN_0013feec(undefined8 param_1,long param_2) { long in_FS_OFFSET; int local_1c; undefined4 local_18; int local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_18 = FUN_0013fb2b(param_1,param_2,&local_1c); local_14 = FUN_0013fe55(param_1,*(long *)(param_2 + 0x20) + (long)lo...
(translation_unit "void FUN_0013feec(undefined8 param_1,long param_2)\n\n{\n long in_FS_OFFSET;\n int local_1c;\n undefined4 local_18;\n int local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = FUN_0013fb2b(param_1,param_2,&local_1c);\n local_14 = FUN_0013fe55(param_1,*(long ...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RDX,[RBP + -0x14] MOV RCX,qword ptr [RBP + -0x30] MOV RAX,qword ptr [RBP + -0x28] MOV RSI,RCX MOV RDI,RAX CALL 0x0013fb2b MOV dword ptr [RBP + -0x1...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pkt) { long var_1; type_2 *pkt_local; type_1 ssh_local; int var_4; int len; int var_5; long var_8; var_8 = *(long *)(var_1 + 0x28); len = var_2(ssh,pkt,&var_4); var_5 = var_3(ssh,pkt->da...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid s_wrpkt(Ssh_conflict ssh,Packet *pkt)\n\n{\n long in_FS_OFFSET;\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n int offset;\n int len;\n int backlog;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pkt)\n\n{\n long var_1;\n type_2 *pkt_local;\n type_1 ssh_local;\n int var_4;\n int len;\n int var_5;\n long var_8;\n \n var_8 = *(long *)(var_1 + 0x28);\n len = var_2(ssh,pkt,&var...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1626_putty_and_putty_strip.c
unlineptr
FUN_00199e1c
unlineptr
void unlineptr(termline *line) { termline *line_local; if (line->temporary != L'\0') { freeline(line); } return; }
void FUN_00199e1c(long param_1) { if (*(int *)(param_1 + 0xc) != 0) { FUN_00199dea(param_1); } return; }
(translation_unit "void FUN_00199e1c(long param_1)\n\n{\n if (*(int *)(param_1 + 0xc) != 0) {\n FUN_00199dea(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_00199e1c(long param_1)\n\n{\n if (*(int *)(param_1 + 0xc) != 0) {\n FUN_00199dea(param_1);\n }\n return;\n}" primitive_type (function_de...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0xc] TEST EAX,EAX JZ 0x00199e3f MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x00199dea NOP LEAVE RET
void function_1(type_1 *line) { type_1 *line_local; if (line->temporary != L'\0') { var_1(line); } return; }
(translation_unit "void unlineptr(termline *line)\n\n{\n termline *line_local;\n \n if (line->temporary != L'\0') {\n freeline(line);\n }\n return;\n}\n\n" (function_definition "void unlineptr(termline *line)\n\n{\n termline *line_local;\n \n if (line->temporary != L'\0') {\n freeline(line);\n }\n retur...
(translation_unit "void function_1(type_1 *line)\n\n{\n type_1 *line_local;\n \n if (line->temporary != L'\0') {\n var_1(line);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *line)\n\n{\n type_1 *line_local;\n \n if (line->temporary != L'\0') {\n var_1(line);\n }\n return;\n}" primi...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d...
1357_putty_and_putty_strip.c
ssh_gssapi_free_tok
FUN_0017d9e0
ssh_gssapi_free_tok
Ssh_gss_stat ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok) { Ssh_gss_stat SVar1; long in_FS_OFFSET; Ssh_gss_buf *send_tok_local; ssh_gss_library *lib_local; OM_uint32 min_stat; OM_uint32 maj_stat; gssapi_functions *gss; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); ...
undefined8 FUN_0017d9e0(long param_1,undefined8 param_2) { undefined8 uVar1; long in_FS_OFFSET; undefined local_20 [4]; int local_1c; long local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_18 = param_1 + 0x60; local_1c = (**(code **)(param_1 + 0x88))(local_20,param_2); i...
(translation_unit "undefined8 FUN_0017d9e0(long param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined local_20 [4];\n int local_1c;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = param_1 + 0x60;\n local_1c = (**(code **)(param_1 +...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x28] ADD RAX,0x60 MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX + 0x28] MOV RCX,qwo...
type_1 function_1(type_2 *lib,type_3 *send_tok) { type_1 SVar1; long var_1; type_3 *send_tok_local; type_2 *lib_local; type_4 min_stat; type_4 var_2; type_5 *gss; long var_3; var_3 = *(long *)(var_1 + 0x28); gss = (type_5 *)&lib->u; var_2 = (*(lib->u).gssapi.release_buffer)(&min_stat,send_tok...
(translation_unit "Ssh_gss_stat ssh_gssapi_free_tok(ssh_gss_library *lib,Ssh_gss_buf *send_tok)\n\n{\n Ssh_gss_stat SVar1;\n long in_FS_OFFSET;\n Ssh_gss_buf *send_tok_local;\n ssh_gss_library *lib_local;\n OM_uint32 min_stat;\n OM_uint32 maj_stat;\n gssapi_functions *gss;\n long local_10;\n \n local_10 = *(l...
(translation_unit "type_1 function_1(type_2 *lib,type_3 *send_tok)\n\n{\n type_1 SVar1;\n long var_1;\n type_3 *send_tok_local;\n type_2 *lib_local;\n type_4 min_stat;\n type_4 var_2;\n type_5 *gss;\n long var_3;\n \n var_3 = *(long *)(var_1 + 0x28);\n gss = (type_5 *)&lib->u;\n var_2 = (*(lib->u).gssapi.re...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (point...
989_putty_and_putty_strip.c
ssh1_smsg_exit_status
FUN_0014b242
ssh1_smsg_exit_status
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh1_smsg_exit_status(Ssh_conflict ssh,Packet *pktin) { ulong uVar1; Packet *pktin_local; Ssh_conflict ssh_local; uVar1 = ssh_pkt_getuint32(pktin); ssh->exitcode = (int)uVar1; logeventf(ssh,"Server sent command exit status %...
void FUN_0014b242(long param_1,undefined8 param_2) { undefined4 uVar1; uVar1 = FUN_00141be2(param_2); *(undefined4 *)(param_1 + 0x1b4) = uVar1; FUN_0013c7b6(param_1,"Server sent command exit status %d",*(undefined4 *)(param_1 + 0x1b4)); FUN_00140386(param_1,0x21,0); FUN_00144ec5(param_1,0,0,0,1); ret...
(translation_unit "void FUN_0014b242(long param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_00141be2(param_2);\n *(undefined4 *)(param_1 + 0x1b4) = uVar1;\n FUN_0013c7b6(param_1,"Server sent command exit status %d",*(undefined4 *)(param_1 + 0x1b4));\n FUN_00140386(param_1,0x21,0);\n FUN_00144...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x10] MOV RDI,RAX CALL 0x00141be2 MOV EDX,EAX MOV RAX,qword ptr [RBP + -0x8] MOV dword ptr [RAX + 0x1b4],EDX MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ptr [RAX + 0x1b4] MOV RAX,qword ptr [RBP + ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { type_3 uVar1; type_2 *pktin_local; type_1 ssh_local; uVar1 = var_1(pktin); ssh->exitcode = (int)uVar1; var_2(ssh,"Server sent command exit status %d",(type_3)(type_4)ssh->exitcode); v...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_smsg_exit_status(Ssh_conflict ssh,Packet *pktin)\n\n{\n ulong uVar1;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n \n uVar1 = ssh_pkt_getuint32(pktin);\n ssh->exitcode = (int)uVar1;\n logeventf(ssh,"Serv...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_3 uVar1;\n type_2 *pktin_local;\n type_1 ssh_local;\n \n uVar1 = var_1(pktin);\n ssh->exitcode = (int)uVar1;\n var_2(ssh,"Server sent command exit status %d",(type_...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1158_putty_and_putty_strip.c
bignum_from_decimal
FUN_0016a891
bignum_from_decimal
Bignum_conflict bignum_from_decimal(char *decimal) { ushort **ppuVar1; Bignum_conflict a; Bignum_conflict b; char *decimal_local; Bignum_conflict result; Bignum_conflict tmp; Bignum_conflict tmp2; result = copybn(Zero); decimal_local = decimal; while( true ) { if (*decimal_local == '\0') { ...
undefined8 FUN_0016a891(byte *param_1) { ushort **ppuVar1; undefined8 uVar2; undefined8 uVar3; byte *local_30; undefined8 local_20; local_20 = FUN_00166d30(PTR_DAT_002348c0); local_30 = param_1; while( true ) { if (*local_30 == 0) { return local_20; } ppuVar1 = __ctype_b_loc(); ...
(translation_unit "undefined8 FUN_0016a891(byte *param_1)\n\n{\n ushort **ppuVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n byte *local_30;\n undefined8 local_20;\n \n local_20 = FUN_00166d30(PTR_DAT_002348c0);\n local_30 = param_1;\n while( true ) {\n if (*local_30 == 0) {\n return local_20;\n }\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV RAX,qword ptr [0x002348c0] MOV RDI,RAX CALL 0x00166d30 MOV qword ptr [RBP + -0x18],RAX JMP 0x0016a967 CALL 0x00115170 MOV RDX,qword ptr [RAX] MOV RAX,qword ptr [RBP + -0x28] MOVZX EAX,byte ptr [RAX] MOVZX EAX,AL ADD RAX,RAX ADD RAX,RDX MOVZX EAX,word...
type_1 function_1(char *decimal) { type_2 **ppuVar1; type_1 a; type_1 b; char *var_3; type_1 result; type_1 tmp; type_1 tmp2; result = var_1(Zero); var_3 = decimal; while( true ) { if (*var_3 == '\0') { return result; } ppuVar1 = var_2(); if (((*ppuVar1)[(byte)*var_3] & 0x...
(translation_unit "Bignum_conflict bignum_from_decimal(char *decimal)\n\n{\n ushort **ppuVar1;\n Bignum_conflict a;\n Bignum_conflict b;\n char *decimal_local;\n Bignum_conflict result;\n Bignum_conflict tmp;\n Bignum_conflict tmp2;\n \n result = copybn(Zero);\n decimal_local = decimal;\n while( true ) {\n ...
(translation_unit "type_1 function_1(char *decimal)\n\n{\n type_2 **ppuVar1;\n type_1 a;\n type_1 b;\n char *var_3;\n type_1 result;\n type_1 tmp;\n type_1 tmp2;\n \n result = var_1(Zero);\n var_3 = decimal;\n while( true ) {\n if (*var_3 == '\0') {\n return result;\n }\n ppuVar1 = var_2();\n ...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d...
1249_putty_and_putty_strip.c
des3_ssh2_decrypt_blk
FUN_00173045
des3_ssh2_decrypt_blk
void des3_ssh2_decrypt_blk(void *handle,uchar *blk,int len) { int len_local; uchar *blk_local; void *handle_local; DESContext *keys; des_cbc3_decrypt(blk,len,(DESContext *)handle); return; }
void FUN_00173045(undefined8 param_1,undefined8 param_2,undefined4 param_3) { FUN_001726f2(param_2,param_3,param_1); return; }
(translation_unit "void FUN_00173045(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001726f2(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_00173045(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001726f2(param_2,param_3,param_1);\n return;\n}"...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV ECX,dword ptr [RBP + -0x24] MOV RDX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RBP + -0x20] MOV ESI,ECX MOV RDI,RAX CALL 0x0...
void function_1(void *handle,type_1 *blk,int len) { int len_local; type_1 *blk_local; void *handle_local; type_2 *keys; var_1(blk,len,(type_2 *)handle); return; }
(translation_unit "void des3_ssh2_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_cbc3_decrypt(blk,len,(DESContext *)handle);\n return;\n}\n\n" (function_definition "void des3_ssh2_decrypt_blk(void *handle,uchar *blk,int le...
(translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *b...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1763_putty_and_putty_strip.c
columns_gtk3_get_min_height
FUN_001b1edb
columns_gtk3_get_min_height
gint columns_gtk3_get_min_height(ColumnsChild *child) { long in_FS_OFFSET; ColumnsChild *child_local; gint ret; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); gtk_widget_get_preferred_height(child->widget,&ret,0); if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) { /* WAR...
undefined4 FUN_001b1edb(undefined8 *param_1) { long in_FS_OFFSET; undefined4 local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); gtk_widget_get_preferred_height(*param_1,&local_14,0); if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) { /* WARNING: Subroutine does not r...
(translation_unit "undefined4 FUN_001b1edb(undefined8 *param_1)\n\n{\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_height(*param_1,&local_14,0);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {\n /* WA...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] LEA RCX,[RBP + -0xc] MOV EDX,0x0 MOV RSI,RCX MOV RDI,RAX CALL 0x001144d0 MOV EAX,dword ptr [RBP + -0xc] MOV RDX,qword ptr [RBP ...
type_1 function_1(type_2 *child) { long var_1; type_2 *child_local; type_1 ret; long var_3; var_3 = *(long *)(var_1 + 0x28); var_2(child->widget,&ret,0); if (var_3 != *(long *)(var_1 + 0x28)) { /* WARNING: Subroutine does not return */ var_4(); } return ret; }
(translation_unit "gint columns_gtk3_get_min_height(ColumnsChild *child)\n\n{\n long in_FS_OFFSET;\n ColumnsChild *child_local;\n gint ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_height(child->widget,&ret,0);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) ...
(translation_unit "type_1 function_1(type_2 *child)\n\n{\n long var_1;\n type_2 *child_local;\n type_1 ret;\n long var_3;\n \n var_3 = *(long *)(var_1 + 0x28);\n var_2(child->widget,&ret,0);\n if (var_3 != *(long *)(var_1 + 0x28)) {\n /* WARNING: Subroutine does not return */\n var_4();\n ...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specif...
1693_putty_and_putty_strip.c
clipme
FUN_001aa405
clipme
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void clipme(Terminal *term,pos top,pos bottom,wchar_t rect,wchar_t desel) { long lVar1; ulong uVar2; bool bVar3; wchar_t wVar4; char byte; uint uVar5; wchar_t wVar6; termline *line; long in_FS_OFFSET; wchar_t desel_local; ...
void FUN_001aa405(long param_1,ulong param_2,undefined8 param_3,int param_4,undefined4 param_5) { undefined8 uVar1; bool bVar2; undefined4 uVar3; char cVar4; uint uVar5; int iVar6; undefined4 uVar7; ushort *puVar8; long in_FS_OFFSET; int local_f0; int iStack_ec; undefined8 local_e8; int loca...
(translation_unit "void FUN_001aa405(long param_1,ulong param_2,undefined8 param_3,int param_4,undefined4 param_5)\n\n{\n undefined8 uVar1;\n bool bVar2;\n undefined4 uVar3;\n char cVar4;\n uint uVar5;\n int iVar6;\n undefined4 uVar7;\n ushort *puVar8;\n long in_FS_OFFSET;\n int local_f0;\n int iStack_ec;\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0xf0 MOV qword ptr [RBP + -0xd8],RDI MOV qword ptr [RBP + -0xe0],RSI MOV qword ptr [RBP + -0xe8],RDX MOV dword ptr [RBP + -0xec],ECX MOV dword ptr [RBP + -0xf0],R8D MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV dword ptr [RBP + -0x90],0x1400 MOV dword ptr [RBP +...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term,type_2 top,type_2 bottom,type_3 var_8,type_3 desel) { long var_5; type_4 uVar2; bool bVar3; type_3 wVar4; char byte; type_5 var_10; type_3 var_12; type_6 *line; long var_1; type_3 desel_local; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid clipme(Terminal *term,pos top,pos bottom,wchar_t rect,wchar_t desel)\n\n{\n long lVar1;\n ulong uVar2;\n bool bVar3;\n wchar_t wVar4;\n char byte;\n uint uVar5;\n wchar_t wVar6;\n termline *line;\n long in_FS_OF...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 top,type_2 bottom,type_3 var_8,type_3 desel)\n\n{\n long var_5;\n type_4 uVar2;\n bool bVar3;\n type_3 wVar4;\n char byte;\n type_5 var_10;\n type_3 var_12;\n type_6 *line;\n long ...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato...
1272_putty_and_putty_strip.c
sha512_mpint
FUN_001745af
sha512_mpint
void sha512_mpint(SHA512_State *s,Bignum b) { long lVar1; int iVar2; int iVar3; long in_FS_OFFSET; Bignum b_local; SHA512_State *s_local; int len; uchar lenbuf [4]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); iVar2 = bignum_bitcount((Bignum_conflict)b); iVar3 = iVar2 + 8; if (iVar2 + 8 < 0) { ...
void FUN_001745af(undefined8 param_1,undefined8 param_2) { int iVar1; int iVar2; long in_FS_OFFSET; int local_18; char local_14; undefined local_13; undefined local_12; undefined local_11; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); iVar1 = FUN_0016aba4(param_2); iVar2 = iVar1...
(translation_unit "void FUN_001745af(undefined8 param_1,undefined8 param_2)\n\n{\n int iVar1;\n int iVar2;\n long in_FS_OFFSET;\n int local_18;\n char local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_00...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x20] MOV RDI,RAX CALL 0x0016aba4 ADD EAX,0x8 LEA EDX,[RAX + 0x7] TEST EAX,EAX CMOVS EAX,EDX SAR EAX,0x3 MOV dword ptr [RBP +...
void function_1(type_1 *s,type_2 b) { long var_9; int var_3; int var_4; long var_1; type_2 b_local; type_1 *s_local; int var_6; type_3 lenbuf [4]; var_9 = *(long *)(var_1 + 0x28); var_3 = var_2((type_4)b); var_4 = var_3 + 8; if (var_3 + 8 < 0) { var_4 = var_3 + 0xf; } var_6 = var_4 ...
(translation_unit "void sha512_mpint(SHA512_State *s,Bignum b)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n long in_FS_OFFSET;\n Bignum b_local;\n SHA512_State *s_local;\n int len;\n uchar lenbuf [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n iVar2 = bignum_bitcount((Bignum_conflict)b);\n iVar3 = iVa...
(translation_unit "void function_1(type_1 *s,type_2 b)\n\n{\n long var_9;\n int var_3;\n int var_4;\n long var_1;\n type_2 b_local;\n type_1 *s_local;\n int var_6;\n type_3 lenbuf [4];\n \n var_9 = *(long *)(var_1 + 0x28);\n var_3 = var_2((type_4)b);\n var_4 = var_3 + 8;\n if (var_3 + 8 < 0) {\n var_4 =...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi...
1526_putty_and_putty_strip.c
share_forwarding_cmp
FUN_0018f52a
share_forwarding_cmp
int share_forwarding_cmp(void *av,void *bv) { int iVar1; void *bv_local; void *av_local; int i; share_forwarding *a; share_forwarding *b; /* WARNING: Load size is inaccurate */ /* WARNING: Load size is inaccurate */ iVar1 = strcmp(*av,*bv); if (iVar1 == 0) { ...
int FUN_0018f52a(undefined8 *param_1,undefined8 *param_2) { int iVar1; iVar1 = strcmp((char *)*param_1,(char *)*param_2); if (iVar1 == 0) { if (*(int *)(param_1 + 1) < *(int *)(param_2 + 1)) { iVar1 = -1; } else if (*(int *)(param_2 + 1) < *(int *)(param_1 + 1)) { iVar1 = 1; } ...
(translation_unit "int FUN_0018f52a(undefined8 *param_1,undefined8 *param_2)\n\n{\n int iVar1;\n \n iVar1 = strcmp((char *)*param_1,(char *)*param_2);\n if (iVar1 == 0) {\n if (*(int *)(param_1 + 1) < *(int *)(param_2 + 1)) {\n iVar1 = -1;\n }\n else if (*(int *)(param_2 + 1) < *(int *)(param_1 + 1)) ...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x30] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RDX,qword ptr [RAX] MOV RAX,qword ptr [RBP + -0x10] MOV RAX,...
int function_1(void *av,void *bv) { int var_2; void *bv_local; void *av_local; int i; type_1 *a; type_1 *b; /* WARNING: Load size is inaccurate */ /* WARNING: Load size is inaccurate */ var_2 = var_1(*av,*bv); if (var_2 == 0) { if (*(int *)((long)av + 8) ...
(translation_unit "int share_forwarding_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int i;\n share_forwarding *a;\n share_forwarding *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n iVar1 = strcmp(...
(translation_unit "int function_1(void *av,void *bv)\n\n{\n int var_2;\n void *bv_local;\n void *av_local;\n int i;\n type_1 *a;\n type_1 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n var_2 = var_1(*av,*bv);\n if (var_2 == 0) {\...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_...
1273_putty_and_putty_strip.c
getstring
FUN_00174687
getstring
void getstring(char **data,int *datalen,char **p,int *length) { int iVar1; int *length_local; char **p_local; int *datalen_local; char **data_local; *p = (char *)0x0; if (3 < *datalen) { iVar1 = toint((uint)(byte)(*data)[3] | (uint)(byte)**data << 0x18 | (uint)(byte)(*data)[1] <...
void FUN_00174687(long *param_1,int *param_2,long *param_3,int *param_4) { int iVar1; *param_3 = 0; if (3 < *param_2) { iVar1 = FUN_0012d293((uint)*(byte *)(*param_1 + 3) | (uint)*(byte *)*param_1 << 0x18 | (uint)*(byte *)(*param_1 + 1) << 0x10 | (uint)*(...
(translation_unit "void FUN_00174687(long *param_1,int *param_2,long *param_3,int *param_4)\n\n{\n int iVar1;\n \n *param_3 = 0;\n if (3 < *param_2) {\n iVar1 = FUN_0012d293((uint)*(byte *)(*param_1 + 3) |\n (uint)*(byte *)*param_1 << 0x18 | (uint)*(byte *)(*param_1 + 1) << 0x10 |\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV qword ptr [RBP + -0x20],RCX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RAX],0x0 MOV RAX,qword ptr [RBP + -0x10] MOV EAX,dword ptr [RAX] CMP EAX,0x3 JLE 0x00174791 MOV RAX,qword ptr [R...
void function_1(char **data,int *datalen,char **p,int *length) { int iVar1; int *length_local; char **p_local; int *datalen_local; char **data_local; *p = (char *)0x0; if (3 < *datalen) { iVar1 = var_1((uint)(byte)(*data)[3] | (uint)(byte)**data << 0x18 | (uint)(byte)(*data)[1] ...
(translation_unit "void getstring(char **data,int *datalen,char **p,int *length)\n\n{\n int iVar1;\n int *length_local;\n char **p_local;\n int *datalen_local;\n char **data_local;\n \n *p = (char *)0x0;\n if (3 < *datalen) {\n iVar1 = toint((uint)(byte)(*data)[3] |\n (uint)(byte)**data << 0...
(translation_unit "void function_1(char **data,int *datalen,char **p,int *length)\n\n{\n int iVar1;\n int *length_local;\n char **p_local;\n int *datalen_local;\n char **data_local;\n \n *p = (char *)0x0;\n if (3 < *datalen) {\n iVar1 = var_1((uint)(byte)(*data)[3] |\n (uint)(byte)**data << ...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (prim...
1385_putty_and_putty_strip.c
rsakey_pubblob
FUN_0017fe02
rsakey_pubblob
int rsakey_pubblob(Filename *filename,void **blob,int *bloblen,char **commentptr,char **errorstr) { long lVar1; int iVar2; int iVar3; char *pcVar4; uchar *puVar5; size_t sVar6; long in_FS_OFFSET; char **errorstr_local; char **commentptr_local; int *bloblen_local; void **blob_local; Filename *f...
bool FUN_0017fe02(undefined8 param_1,undefined8 *param_2,undefined4 *param_3,undefined8 *param_4, undefined8 *param_5) { int iVar1; int iVar2; char *pcVar3; undefined8 uVar4; size_t sVar5; long in_FS_OFFSET; bool bVar6; char *local_e8; FILE *local_e0; char *local_d8; char *local...
(translation_unit "bool FUN_0017fe02(undefined8 param_1,undefined8 *param_2,undefined4 *param_3,undefined8 *param_4,\n undefined8 *param_5)\n\n{\n int iVar1;\n int iVar2;\n char *pcVar3;\n undefined8 uVar4;\n size_t sVar5;\n long in_FS_OFFSET;\n bool bVar6;\n char *local_e8;\n FILE *local_e0;\n...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x118 MOV qword ptr [RBP + -0xf8],RDI MOV qword ptr [RBP + -0x100],RSI MOV qword ptr [RBP + -0x108],RDX MOV qword ptr [RBP + -0x110],RCX MOV qword ptr [RBP + -0x118],R8 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x18],RAX XOR EAX,EAX MOV qword ptr [RBP + -0xe0],0x0 MOV RAX,q...
int function_1(type_1 *filename,void **blob,int *bloblen,char **var_18,char **var_29) { long var_30; int var_6; int var_17; char *var_4; type_2 *puVar5; size_t var_12; long var_1; char **errorstr_local; char **commentptr_local; int *bloblen_local; void **blob_local; type_1 *filename_local; i...
(translation_unit "int rsakey_pubblob(Filename *filename,void **blob,int *bloblen,char **commentptr,char **errorstr)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n char *pcVar4;\n uchar *puVar5;\n size_t sVar6;\n long in_FS_OFFSET;\n char **errorstr_local;\n char **commentptr_local;\n int *bloblen_local;\n v...
(translation_unit "int function_1(type_1 *filename,void **blob,int *bloblen,char **var_18,char **var_29)\n\n{\n long var_30;\n int var_6;\n int var_17;\n char *var_4;\n type_2 *puVar5;\n size_t var_12;\n long var_1;\n char **errorstr_local;\n char **commentptr_local;\n int *bloblen_local;\n void **blob_local...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1010_putty_and_putty_strip.c
ssh2_queue_chanreq_handler
FUN_00151fbc
ssh2_queue_chanreq_handler
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_queue_chanreq_handler(ssh_channel *c,cchandler_fn_t handler,void *ctx) { outstanding_channel_request *poVar1; void *ctx_local; cchandler_fn_t handler_local; ssh_channel *c_local; outstanding_channel_request *ocr; poVar1...
void FUN_00151fbc(long param_1,undefined8 param_2,undefined8 param_3) { undefined8 *puVar1; puVar1 = (undefined8 *)FUN_0012e037(1,0x18); if ((*(uint *)(param_1 + 0x18) & 10) != 0) { /* WARNING: Subroutine does not return */ __assert_fail("!(c->closes & (CLOSES_SENT_CLOSE | CLOSES_RCVD...
(translation_unit "void FUN_00151fbc(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_0012e037(1,0x18);\n if ((*(uint *)(param_1 + 0x18) & 10) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("!(c->closes & (CLOSE...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV qword ptr [RBP + -0x28],RDX MOV ESI,0x18 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0x18] AND EAX,0xa TEST EAX,EAX JZ 0x00152010 LEA RCX,[0x20a0d...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *c,type_2 handler,void *ctx) { type_3 *poVar1; void *ctx_local; type_2 handler_local; type_1 *c_local; type_3 *ocr; poVar1 = (type_3 *)var_1(1,0x18); if ((c->closes & 10U) != 0) { /* W...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_queue_chanreq_handler(ssh_channel *c,cchandler_fn_t handler,void *ctx)\n\n{\n outstanding_channel_request *poVar1;\n void *ctx_local;\n cchandler_fn_t handler_local;\n ssh_channel *c_local;\n outstanding_channe...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,type_2 handler,void *ctx)\n\n{\n type_3 *poVar1;\n void *ctx_local;\n type_2 handler_local;\n type_1 *c_local;\n type_3 *ocr;\n \n poVar1 = (type_3 *)var_1(1,0x18);\n if ((c->closes & 10U) !=...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato...
1795_putty_and_putty_strip.c
dlg_editbox_set
FUN_001b30b3
dlg_editbox_set
void dlg_editbox_set(control *ctrl,void *dlg,char *text) { uctrl *puVar1; undefined8 uVar2; char *ptr; char *text_local; void *dlg_local; control *ctrl_local; GtkWidget *entry; dlgparam *dp; uctrl *uc; char *tmpstring; puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl); if ((puVar1->ctrl->gener...
void FUN_001b30b3(undefined8 param_1,undefined8 param_2,undefined8 param_3) { undefined8 *puVar1; undefined8 uVar2; undefined8 uVar3; long local_28; puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1); if (*(int *)*puVar1 != 1) { /* WARNING: Subroutine does not return */ __asse...
(translation_unit "void FUN_001b30b3(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n long local_28;\n \n puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1);\n if (*(int *)*puVar1 != 1) {\n /* WARNING: Subroutine d...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV qword ptr [RBP + -0x38],RDX MOV RAX,qword ptr [RBP + -0x30] MOV qword ptr [RBP + -0x18],RAX MOV RDX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RDX MOV RDI,RAX CALL 0x001b2d0b MOV qword ptr [RBP + -...
void function_1(type_1 *ctrl,void *dlg,char *text) { type_2 *puVar1; type_3 uVar2; char *ptr; char *text_local; void *dlg_local; type_1 *ctrl_local; type_4 *var_6; type_5 *dp; type_2 *uc; char *tmpstring; puVar1 = var_1((type_5 *)dlg,ctrl); if ((puVar1->ctrl->generic).type != 1) { ...
(translation_unit "void dlg_editbox_set(control *ctrl,void *dlg,char *text)\n\n{\n uctrl *puVar1;\n undefined8 uVar2;\n char *ptr;\n char *text_local;\n void *dlg_local;\n control *ctrl_local;\n GtkWidget *entry;\n dlgparam *dp;\n uctrl *uc;\n char *tmpstring;\n \n puVar1 = dlg_find_byctrl((dlgparam *)dlg,c...
(translation_unit "void function_1(type_1 *ctrl,void *dlg,char *text)\n\n{\n type_2 *puVar1;\n type_3 uVar2;\n char *ptr;\n char *text_local;\n void *dlg_local;\n type_1 *ctrl_local;\n type_4 *var_6;\n type_5 *dp;\n type_2 *uc;\n char *tmpstring;\n \n puVar1 = var_1((type_5 *)dlg,ctrl);\n if ((puVar1->ctrl...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1142_putty_and_putty_strip.c
mul_compute_scratch
FUN_00166fd3
mul_compute_scratch
int mul_compute_scratch(int len) { int len_local; int ret; int toplen; int botlen; int midlen; ret = 0; len_local = len; while (0x32 < len_local) { len_local = (len_local - len_local / 2) + 1; ret = ret + len_local * 4; } return ret; }
int FUN_00166fd3(int param_1) { undefined4 local_1c; undefined4 local_18; local_18 = 0; local_1c = param_1; while (0x32 < local_1c) { local_1c = (local_1c - local_1c / 2) + 1; local_18 = local_18 + local_1c * 4; } return local_18; }
(translation_unit "int FUN_00166fd3(int param_1)\n\n{\n undefined4 local_1c;\n undefined4 local_18;\n \n local_18 = 0;\n local_1c = param_1;\n while (0x32 < local_1c) {\n local_1c = (local_1c - local_1c / 2) + 1;\n local_18 = local_18 + local_1c * 4;\n }\n return local_18;\n}\n\n" (function_definition "in...
PUSH RBP MOV RBP,RSP MOV dword ptr [RBP + -0x14],EDI MOV dword ptr [RBP + -0x10],0x0 JMP 0x00167013 MOV EAX,dword ptr [RBP + -0x14] MOV EDX,EAX SHR EDX,0x1f ADD EAX,EDX SAR EAX,0x1 MOV dword ptr [RBP + -0xc],EAX MOV EAX,dword ptr [RBP + -0x14] SUB EAX,dword ptr [RBP + -0xc] MOV dword ptr [RBP + -0x8],EAX MOV EAX,dword ...
int function_1(int len) { int var_1; int var_2; int toplen; int botlen; int midlen; var_2 = 0; var_1 = len; while (0x32 < var_1) { var_1 = (var_1 - var_1 / 2) + 1; var_2 = var_2 + var_1 * 4; } return var_2; }
(translation_unit "int mul_compute_scratch(int len)\n\n{\n int len_local;\n int ret;\n int toplen;\n int botlen;\n int midlen;\n \n ret = 0;\n len_local = len;\n while (0x32 < len_local) {\n len_local = (len_local - len_local / 2) + 1;\n ret = ret + len_local * 4;\n }\n return ret;\n}\n\n" (function_de...
(translation_unit "int function_1(int len)\n\n{\n int var_1;\n int var_2;\n int toplen;\n int botlen;\n int midlen;\n \n var_2 = 0;\n var_1 = len;\n while (0x32 < var_1) {\n var_1 = (var_1 - var_1 / 2) + 1;\n var_2 = var_2 + var_1 * 4;\n }\n return var_2;\n}\n\n" (function_definition "int function_1(in...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declarati...
1418_putty_and_putty_strip.c
random_byte
FUN_00184936
random_byte
/* WARNING: Unknown calling convention */ int random_byte(void) { int iVar1; if (random_active == 0) { /* WARNING: Subroutine does not return */ __assert_fail("random_active","sshrand.c",0x14a,"random_byte"); } if (0x4af < pool.poolpos) { random_stir(); } iVar1 = pool.poolp...
undefined FUN_00184936(void) { int iVar1; if (DAT_00235d40 == 0) { /* WARNING: Subroutine does not return */ __assert_fail("random_active","sshrand.c",0x14a,"random_byte"); } if (0x4af < DAT_00236210) { FUN_001842f0(); } iVar1 = DAT_00236210; DAT_00236210 = DAT_00236210 + ...
(translation_unit "undefined FUN_00184936(void)\n\n{\n int iVar1;\n \n if (DAT_00235d40 == 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n }\n if (0x4af < DAT_00236210) {\n FUN_001842f0();\n }\n iVar1 = DAT_00236210;\n ...
PUSH RBP MOV RBP,RSP MOV EAX,dword ptr [0x00235d40] TEST EAX,EAX JNZ 0x00184963 LEA RCX,[0x2103e8] MOV EDX,0x14a LEA RSI,[0x2103a8] LEA RDI,[0x2103c4] CALL 0x00114a00 MOV EAX,dword ptr [0x00236210] CMP EAX,0x4af JLE 0x00184975 CALL 0x001842f0 MOV EAX,dword ptr [0x00236210] LEA EDX,[RAX + 0x1] MOV dword ptr [0x00236210]...
/* WARNING: Unknown calling convention */ int function_1(void) { int iVar1; if (var_1 == 0) { /* WARNING: Subroutine does not return */ var_2("random_active","sshrand.c",0x14a,"random_byte"); } if (0x4af < pool.poolpos) { var_3(); } iVar1 = pool.poolpos; pool.poolpos = po...
(translation_unit "/* WARNING: Unknown calling convention */\n\nint random_byte(void)\n\n{\n int iVar1;\n \n if (random_active == 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("random_active","sshrand.c",0x14a,"random_byte");\n }\n if (0x4af < pool.poolpos) {\n random_st...
(translation_unit "/* WARNING: Unknown calling convention */\n\nint function_1(void)\n\n{\n int iVar1;\n \n if (var_1 == 0) {\n /* WARNING: Subroutine does not return */\n var_2("random_active","sshrand.c",0x14a,"random_byte");\n }\n if (0x4af < pool.poolpos) {\n var_3();\n }\n iVar1 = p...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: ...
901_putty_and_putty_strip.c
defer_packet
FUN_00140475
defer_packet
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void defer_packet(Ssh_conflict ssh,int pkttype,...) { long lVar1; char in_AL; Packet *pkt_00; undefined8 in_RCX; undefined8 in_RDX; undefined8 in_R8; undefined8 in_R9; long in_FS_OFFSET; undefined8 in_XMM0_Qa; undefined8 in_...
void FUN_00140475(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4, undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8, undefined8 param_9,undefined4 param_10,undefined8 param_11,undefined8 param_12, undefined8 param...
(translation_unit "void FUN_00140475(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,\n undefined8 param_9,undefined4 param_10,undefined8 param_11,undefined8 param_12,\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0xf0 MOV qword ptr [RBP + -0xe8],RDI MOV dword ptr [RBP + -0xec],ESI MOV qword ptr [RBP + -0xa0],RDX MOV qword ptr [RBP + -0x98],RCX MOV qword ptr [RBP + -0x90],R8 MOV qword ptr [RBP + -0x88],R9 TEST AL,AL JZ 0x001404cd MOVAPS xmmword ptr [RBP + -0x80],XMM0 MOVAPS xmmword ptr [RBP + -0x70],...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,int pkttype,...) { long var_5; char var_1; type_2 *pkt_00; type_3 in_RCX; type_3 in_RDX; type_3 in_R8; type_3 in_R9; long var_2; type_3 in_XMM0_Qa; type_3 in_XMM1_Qa; type_3 in_XMM2_Qa; type_3 ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid defer_packet(Ssh_conflict ssh,int pkttype,...)\n\n{\n long lVar1;\n char in_AL;\n Packet *pkt_00;\n undefined8 in_RCX;\n undefined8 in_RDX;\n undefined8 in_R8;\n undefined8 in_R9;\n long in_FS_OFFSET;\n undefine...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,int pkttype,...)\n\n{\n long var_5;\n char var_1;\n type_2 *pkt_00;\n type_3 in_RCX;\n type_3 in_RDX;\n type_3 in_R8;\n type_3 in_R9;\n long var_2;\n type_3 in_XMM0_Qa;\n type_3 in_XMM1_Qa...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (variadic_paramet...
1088_putty_and_putty_strip.c
aes_encrypt
FUN_001634b1
aes_encrypt
void aes_encrypt(AESContext *ctx,word32 *block) { word32 *block_local; AESContext *ctx_local; (*ctx->encrypt)(ctx,block); return; }
void FUN_001634b1(long param_1,undefined8 param_2) { (**(code **)(param_1 + 0x3c0))(param_1,param_2); return; }
(translation_unit "void FUN_001634b1(long param_1,undefined8 param_2)\n\n{\n (**(code **)(param_1 + 0x3c0))(param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_001634b1(long param_1,undefined8 param_2)\n\n{\n (**(code **)(param_1 + 0x3c0))(param_1,param_2);\n return;\n}" primitive_type (function_decl...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x3c0] MOV RCX,qword ptr [RBP + -0x10] MOV RDX,qword ptr [RBP + -0x8] MOV RSI,RCX MOV RDI,RDX CALL RAX NOP LEAVE RET
void function_1(type_1 *ctx,type_2 *block) { type_2 *block_local; type_1 *ctx_local; (*ctx->encrypt)(ctx,block); return; }
(translation_unit "void aes_encrypt(AESContext *ctx,word32 *block)\n\n{\n word32 *block_local;\n AESContext *ctx_local;\n \n (*ctx->encrypt)(ctx,block);\n return;\n}\n\n" (function_definition "void aes_encrypt(AESContext *ctx,word32 *block)\n\n{\n word32 *block_local;\n AESContext *ctx_local;\n \n (*ctx->encry...
(translation_unit "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_2 *block_local;\n type_1 *ctx_local;\n \n (*ctx->encrypt)(ctx,block);\n return;\n}\n\n" (function_definition "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_2 *block_local;\n type_1 *ctx_local;\n \n (*ctx->encrypt)(ctx,block);\n ...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1498_putty_and_putty_strip.c
sha1_copy
FUN_0018e769
sha1_copy
void * sha1_copy(void *vold) { undefined8 uVar1; undefined8 *puVar2; void *vold_local; SHA_State *old; SHA_State *s; puVar2 = (undefined8 *)safemalloc(1,0x60); /* WARNING: Load size is inaccurate */ uVar1 = *(undefined8 *)((long)vold + 8); *puVar2 = *vold; puVar2[1] = uVar1; ...
undefined8 * FUN_0018e769(undefined8 *param_1) { undefined8 uVar1; undefined8 *puVar2; puVar2 = (undefined8 *)FUN_0012e037(1,0x60); uVar1 = param_1[1]; *puVar2 = *param_1; puVar2[1] = uVar1; uVar1 = param_1[3]; puVar2[2] = param_1[2]; puVar2[3] = uVar1; uVar1 = param_1[5]; puVar2[4] = param_1...
(translation_unit "undefined8 * FUN_0018e769(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n undefined8 *puVar2;\n \n puVar2 = (undefined8 *)FUN_0012e037(1,0x60);\n uVar1 = param_1[1];\n *puVar2 = *param_1;\n puVar2[1] = uVar1;\n uVar1 = param_1[3];\n puVar2[2] = param_1[2];\n puVar2[3] = uVar1;\n uVar1 = pa...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x28 MOV qword ptr [RBP + -0x28],RDI MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x20],RAX MOV ESI,0x60 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x18] MOV RDX,qword ptr [RBP + -0x20] MOV RCX,qword ptr [RDX] MOV RBX,qword ptr [R...
void * function_1(void *vold) { type_1 uVar1; type_1 *puVar2; void *vold_local; type_2 *old; type_2 *s; puVar2 = (type_1 *)var_1(1,0x60); /* WARNING: Load size is inaccurate */ uVar1 = *(type_1 *)((long)vold + 8); *puVar2 = *vold; puVar2[1] = uVar1; uVar1 = *(type_1 *)((long...
(translation_unit "void * sha1_copy(void *vold)\n\n{\n undefined8 uVar1;\n undefined8 *puVar2;\n void *vold_local;\n SHA_State *old;\n SHA_State *s;\n \n puVar2 = (undefined8 *)safemalloc(1,0x60);\n /* WARNING: Load size is inaccurate */\n uVar1 = *(undefined8 *)((long)vold + 8);\n *puVar2 =...
(translation_unit "void * function_1(void *vold)\n\n{\n type_1 uVar1;\n type_1 *puVar2;\n void *vold_local;\n type_2 *old;\n type_2 *s;\n \n puVar2 = (type_1 *)var_1(1,0x60);\n /* WARNING: Load size is inaccurate */\n uVar1 = *(type_1 *)((long)vold + 8);\n *puVar2 = *vold;\n puVar2[1] = uVa...
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla...
973_putty_and_putty_strip.c
ssh_queue_handler
FUN_001494b0
ssh_queue_handler
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_queue_handler(Ssh_conflict ssh,int msg1,int msg2,chandler_fn_t handler,void *ctx) { queued_handler *pqVar1; void *ctx_local; chandler_fn_t handler_local; int msg2_local; int msg1_local; Ssh_conflict ssh_local; queued_hand...
void FUN_001494b0(long param_1,int param_2,int param_3,undefined8 param_4,undefined8 param_5) { int *piVar1; piVar1 = (int *)FUN_0012e037(1,0x20); *piVar1 = param_2; piVar1[1] = param_3; *(undefined8 *)(piVar1 + 2) = param_4; *(undefined8 *)(piVar1 + 4) = param_5; piVar1[6] = 0; piVar1[7] = 0; if...
(translation_unit "void FUN_001494b0(long param_1,int param_2,int param_3,undefined8 param_4,undefined8 param_5)\n\n{\n int *piVar1;\n \n piVar1 = (int *)FUN_0012e037(1,0x20);\n *piVar1 = param_2;\n piVar1[1] = param_3;\n *(undefined8 *)(piVar1 + 2) = param_4;\n *(undefined8 *)(piVar1 + 4) = param_5;\n piVar1[6...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV dword ptr [RBP + -0x20],EDX MOV qword ptr [RBP + -0x28],RCX MOV qword ptr [RBP + -0x30],R8 MOV ESI,0x20 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ptr [RBP +...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,int msg1,int msg2,type_2 handler,void *ctx) { type_3 *pqVar1; void *ctx_local; type_2 handler_local; int msg2_local; int msg1_local; type_1 ssh_local; type_3 *qh; pqVar1 = (type_3 *)var_1(1,0x20); ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_queue_handler(Ssh_conflict ssh,int msg1,int msg2,chandler_fn_t handler,void *ctx)\n\n{\n queued_handler *pqVar1;\n void *ctx_local;\n chandler_fn_t handler_local;\n int msg2_local;\n int msg1_local;\n Ssh_confl...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,int msg1,int msg2,type_2 handler,void *ctx)\n\n{\n type_3 *pqVar1;\n void *ctx_local;\n type_2 handler_local;\n int msg2_local;\n int msg1_local;\n type_1 ssh_local;\n type_3 *qh;\n \n pqVa...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar...
1678_putty_and_putty_strip.c
toggle_mode
FUN_0019fe1d
toggle_mode
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void toggle_mode(Terminal *term,wchar_t mode,wchar_t query,wchar_t state) { ulong uVar1; wchar_t wVar2; wchar_t state_local; wchar_t query_local; wchar_t mode_local; Terminal *term_local; if (query == L'\0') { if (mode == L...
void FUN_0019fe1d(uint *param_1,int param_2,int param_3,uint param_4) { undefined8 uVar1; uint uVar2; if (param_3 == 0) { if (param_2 == 0xc) { param_1[0x46] = (uint)(param_4 == 0); if (*(long *)(param_1 + 0x440) != 0) { FUN_0012714f(*(undefined8 *)(param_1 + 0x440)); } } ...
(translation_unit "void FUN_0019fe1d(uint *param_1,int param_2,int param_3,uint param_4)\n\n{\n undefined8 uVar1;\n uint uVar2;\n \n if (param_3 == 0) {\n if (param_2 == 0xc) {\n param_1[0x46] = (uint)(param_4 == 0);\n if (*(long *)(param_1 + 0x440) != 0) {\n FUN_0012714f(*(undefined8 *)(param_1...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV dword ptr [RBP + -0xc],ESI MOV dword ptr [RBP + -0x10],EDX MOV dword ptr [RBP + -0x14],ECX CMP dword ptr [RBP + -0x10],0x0 JZ 0x001a0497 CMP dword ptr [RBP + -0xc],0x19 JZ 0x001a0194 CMP dword ptr [RBP + -0xc],0x19 JG 0x0019feac CMP dword ptr [RBP + -...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term,type_2 var_2,type_2 var_1,type_2 var_3) { type_3 uVar1; type_2 wVar2; type_2 state_local; type_2 query_local; type_2 mode_local; type_1 *term_local; if (var_1 == L'\0') { if (var_2 == L'\f') { ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid toggle_mode(Terminal *term,wchar_t mode,wchar_t query,wchar_t state)\n\n{\n ulong uVar1;\n wchar_t wVar2;\n wchar_t state_local;\n wchar_t query_local;\n wchar_t mode_local;\n Terminal *term_local;\n \n if (query...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 var_2,type_2 var_1,type_2 var_3)\n\n{\n type_3 uVar1;\n type_2 wVar2;\n type_2 state_local;\n type_2 query_local;\n type_2 mode_local;\n type_1 *term_local;\n \n if (var_1 == L'\0')...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato...
1482_putty_and_putty_strip.c
SHA512_Simple
FUN_0018dab4
SHA512_Simple
void SHA512_Simple(void *p,int len,uchar *output) { long lVar1; long in_FS_OFFSET; uchar *output_local; int len_local; void *p_local; SHA512_State s; lVar1 = *(long *)(in_FS_OFFSET + 0x28); SHA512_Init((SHA512_CTX *)&s); SHA512_Bytes(&s,p,len); SHA512_Final(&s,output); smemclr(&s,0x118); if...
void FUN_0018dab4(undefined8 param_1,undefined4 param_2,undefined8 param_3) { long in_FS_OFFSET; undefined local_128 [280]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_0018d1b6(local_128); FUN_0018d25a(local_128,param_1,param_2); FUN_0018d665(local_128,param_3); FUN_0012e30b(local...
(translation_unit "void FUN_0018dab4(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_128 [280];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0018d1b6(local_128);\n FUN_0018d25a(local_128,param_1,param_2);\n FUN_0018d665(local_128,pa...
PUSH RBP MOV RBP,RSP SUB RSP,0x140 MOV qword ptr [RBP + -0x128],RDI MOV dword ptr [RBP + -0x12c],ESI MOV qword ptr [RBP + -0x138],RDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RAX,[RBP + -0x120] MOV RDI,RAX CALL 0x0018d1b6 MOV EDX,dword ptr [RBP + -0x12c] MOV RCX,qword ptr [RBP + -0x128...
void function_1(void *p,int len,type_1 *output) { long var_6; long var_1; type_1 *output_local; int len_local; void *p_local; type_2 s; var_6 = *(long *)(var_1 + 0x28); var_2((type_3 *)&s); var_3(&s,p,len); var_4(&s,output); var_5(&s,0x118); if (var_6 != *(long *)(var_1 + 0x28)) { ...
(translation_unit "void SHA512_Simple(void *p,int len,uchar *output)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *output_local;\n int len_local;\n void *p_local;\n SHA512_State s;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n SHA512_Init((SHA512_CTX *)&s);\n SHA512_Bytes(&s,p,len);\n SHA512_Final(&s,out...
(translation_unit "void function_1(void *p,int len,type_1 *output)\n\n{\n long var_6;\n long var_1;\n type_1 *output_local;\n int len_local;\n void *p_local;\n type_2 s;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2((type_3 *)&s);\n var_3(&s,p,len);\n var_4(&s,output);\n var_5(&s,0x118);\n if (var_6 != *(l...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi...
1692_putty_and_putty_strip.c
clip_addchar
FUN_001aa2f1
clip_addchar
void clip_addchar(clip_workbuf *b,wchar_t chr,wchar_t attr) { wchar_t *pwVar1; wchar_t attr_local; wchar_t chr_local; clip_workbuf *b_local; if (b->buflen <= b->bufpos) { b->buflen = b->buflen * 2; pwVar1 = (wchar_t *)saferealloc(b->textbuf,(long)b->buflen,4); b->textbuf = pwVar1; b->text...
void FUN_001aa2f1(int *param_1,undefined4 param_2,undefined4 param_3) { undefined4 *puVar1; undefined8 uVar2; if (*param_1 <= param_1[1]) { *param_1 = *param_1 * 2; uVar2 = FUN_0012e12e(*(undefined8 *)(param_1 + 2),(long)*param_1,4); *(undefined8 *)(param_1 + 2) = uVar2; *(long *)(param_1 + 4...
(translation_unit "void FUN_001aa2f1(int *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n undefined4 *puVar1;\n undefined8 uVar2;\n \n if (*param_1 <= param_1[1]) {\n *param_1 = *param_1 * 2;\n uVar2 = FUN_0012e12e(*(undefined8 *)(param_1 + 2),(long)*param_1,4);\n *(undefined8 *)(param_1 + 2) = uVar2...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV dword ptr [RBP + -0xc],ESI MOV dword ptr [RBP + -0x10],EDX MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ptr [RAX + 0x4] MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX] CMP EDX,EAX JL 0x001aa3bf MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [...
void function_1(type_1 *b,type_2 chr,type_2 attr) { type_2 *var_2; type_2 attr_local; type_2 chr_local; type_1 *b_local; if (b->buflen <= b->bufpos) { b->buflen = b->buflen * 2; var_2 = (type_2 *)var_1(b->textbuf,(long)b->buflen,4); b->textbuf = var_2; b->textptr = b->textbuf + b->bufpos;...
(translation_unit "void clip_addchar(clip_workbuf *b,wchar_t chr,wchar_t attr)\n\n{\n wchar_t *pwVar1;\n wchar_t attr_local;\n wchar_t chr_local;\n clip_workbuf *b_local;\n \n if (b->buflen <= b->bufpos) {\n b->buflen = b->buflen * 2;\n pwVar1 = (wchar_t *)saferealloc(b->textbuf,(long)b->buflen,4);\n b->...
(translation_unit "void function_1(type_1 *b,type_2 chr,type_2 attr)\n\n{\n type_2 *var_2;\n type_2 attr_local;\n type_2 chr_local;\n type_1 *b_local;\n \n if (b->buflen <= b->bufpos) {\n b->buflen = b->buflen * 2;\n var_2 = (type_2 *)var_1(b->textbuf,(long)b->buflen,4);\n b->textbuf = var_2;\n b->tex...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi...
1131_putty_and_putty_strip.c
blowfish_ssh1_decrypt_blk
FUN_00166b8d
blowfish_ssh1_decrypt_blk
void blowfish_ssh1_decrypt_blk(void *handle,uchar *blk,int len) { int len_local; uchar *blk_local; void *handle_local; BlowfishContext *ctx; blowfish_lsb_decrypt_cbc(blk,len,(BlowfishContext *)((long)handle + 0x1050)); return; }
void FUN_00166b8d(long param_1,undefined8 param_2,undefined4 param_3) { FUN_001659bc(param_2,param_3,param_1 + 0x1050); return; }
(translation_unit "void FUN_00166b8d(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001659bc(param_2,param_3,param_1 + 0x1050);\n return;\n}\n\n" (function_definition "void FUN_00166b8d(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001659bc(param_2,param_3,param_1 + 0x1050);\n retur...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] LEA RDX,[RAX + 0x1050] MOV ECX,dword ptr [RBP + -0x24] MOV RAX,qword ptr [RBP + -0x20] MOV ESI,E...
void function_1(void *handle,type_1 *blk,int len) { int len_local; type_1 *blk_local; void *handle_local; type_2 *ctx; var_1(blk,len,(type_2 *)((long)handle + 0x1050)); return; }
(translation_unit "void blowfish_ssh1_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n blowfish_lsb_decrypt_cbc(blk,len,(BlowfishContext *)((long)handle + 0x1050));\n return;\n}\n\n" (function_definition "void blowfish_ssh1_...
(translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1(blk,len,(type_2 *)((long)handle + 0x1050));\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_loc...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1182_putty_and_putty_strip.c
modinv
FUN_0016bfee
modinv
Bignum_conflict modinv(Bignum_conflict number,Bignum_conflict modulus) { int iVar1; Bignum_conflict result; Bignum_conflict quotient; Bignum_conflict pBVar2; BignumInt BVar3; ulong uVar4; bool bVar5; Bignum_conflict modulus_local; Bignum_conflict number_local; int sign; int maxspot; int i; B...
long * FUN_0016bfee(long *param_1,ulong *param_2) { int iVar1; ulong *puVar2; ulong *puVar3; long *plVar4; ulong uVar5; ulong uVar6; bool bVar7; int local_64; int local_60; int local_5c; ulong *local_58; ulong *local_50; long *local_48; long *local_40; long local_38; local_58 = (ulo...
(translation_unit "long * FUN_0016bfee(long *param_1,ulong *param_2)\n\n{\n int iVar1;\n ulong *puVar2;\n ulong *puVar3;\n long *plVar4;\n ulong uVar5;\n ulong uVar6;\n bool bVar7;\n int local_64;\n int local_60;\n int local_5c;\n ulong *local_58;\n ulong *local_50;\n long *local_48;\n long *local_40;\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x68],RDI MOV qword ptr [RBP + -0x70],RSI MOV RAX,qword ptr [RBP + -0x70] MOV RDI,RAX CALL 0x00166d30 MOV qword ptr [RBP + -0x50],RAX MOV RAX,qword ptr [RBP + -0x68] MOV RDI,RAX CALL 0x00166d30 MOV qword ptr [RBP + -0x48],RAX MOV RAX,qword ptr [0x002348c0] MOV RDI...
type_1 function_1(type_1 number,type_1 modulus) { int var_4; type_1 result; type_1 quotient; type_1 pBVar2; type_2 var_9; type_3 var_10; bool bVar5; type_1 modulus_local; type_1 number_local; int var_6; int maxspot; int var_8; type_1 a; type_1 b; type_1 xp; type_1 x; type_2 var_11; ...
(translation_unit "Bignum_conflict modinv(Bignum_conflict number,Bignum_conflict modulus)\n\n{\n int iVar1;\n Bignum_conflict result;\n Bignum_conflict quotient;\n Bignum_conflict pBVar2;\n BignumInt BVar3;\n ulong uVar4;\n bool bVar5;\n Bignum_conflict modulus_local;\n Bignum_conflict number_local;\n int sig...
(translation_unit "type_1 function_1(type_1 number,type_1 modulus)\n\n{\n int var_4;\n type_1 result;\n type_1 quotient;\n type_1 pBVar2;\n type_2 var_9;\n type_3 var_10;\n bool bVar5;\n type_1 modulus_local;\n type_1 number_local;\n int var_6;\n int maxspot;\n int var_8;\n type_1 a;\n type_1 b;\n type_1...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme...
1103_putty_and_putty_strip.c
aes256_decrypt_pubkey
FUN_00163e71
aes256_decrypt_pubkey
void aes256_decrypt_pubkey(uchar *key,uchar *blk,int len) { long lVar1; long in_FS_OFFSET; int len_local; uchar *blk_local; uchar *key_local; AESContext ctx; lVar1 = *(long *)(in_FS_OFFSET + 0x28); aes_setup(&ctx,0x10,key,0x20); memset(ctx.iv,0,0x20); aes_decrypt_cbc(blk,len,&ctx); smemclr(&c...
void FUN_00163e71(undefined8 param_1,undefined8 param_2,undefined4 param_3) { long in_FS_OFFSET; undefined local_408 [976]; undefined auStack_38 [40]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_00162f17(local_408,0x10,param_1,0x20); memset(auStack_38,0,0x20); FUN_00163716(param_2...
(translation_unit "void FUN_00163e71(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_408 [976];\n undefined auStack_38 [40];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00162f17(local_408,0x10,param_1,0x20);\n memset(auStack_38,0,0...
PUSH RBP MOV RBP,RSP SUB RSP,0x420 MOV qword ptr [RBP + -0x408],RDI MOV qword ptr [RBP + -0x410],RSI MOV dword ptr [RBP + -0x414],EDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RDX,qword ptr [RBP + -0x408] LEA RAX,[RBP + -0x400] MOV ECX,0x20 MOV ESI,0x10 MOV RDI,RAX CALL 0x00162f17 LEA R...
void function_1(type_1 *key,type_1 *blk,int len) { long var_6; long var_1; int len_local; type_1 *blk_local; type_1 *key_local; type_2 ctx; var_6 = *(long *)(var_1 + 0x28); var_2(&ctx,0x10,key,0x20); var_3(ctx.iv,0,0x20); var_4(blk,len,&ctx); var_5(&ctx,0x3f8); if (var_6 != *(long *)(var_1 ...
(translation_unit "void aes256_decrypt_pubkey(uchar *key,uchar *blk,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n uchar *blk_local;\n uchar *key_local;\n AESContext ctx;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n aes_setup(&ctx,0x10,key,0x20);\n memset(ctx.iv,0,0x20);\n aes_decrypt_...
(translation_unit "void function_1(type_1 *key,type_1 *blk,int len)\n\n{\n long var_6;\n long var_1;\n int len_local;\n type_1 *blk_local;\n type_1 *key_local;\n type_2 ctx;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(&ctx,0x10,key,0x20);\n var_3(ctx.iv,0,0x20);\n var_4(blk,len,&ctx);\n var_5(&ctx,0x3f8);...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1612_putty_and_putty_strip.c
telnet_sendbuffer
FUN_0019944e
telnet_sendbuffer
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int telnet_sendbuffer(void *handle) { void *handle_local; Telnet telnet; return *(int *)((long)handle + 100); }
undefined4 FUN_0019944e(long param_1) { return *(undefined4 *)(param_1 + 100); }
(translation_unit "undefined4 FUN_0019944e(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 100);\n}\n\n" (function_definition "undefined4 FUN_0019944e(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 100);\n}" type_identifier (function_declarator "FUN_0019944e(long param_1)" identifier (parameter_list "(lo...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x64] POP RBP RET
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(void *handle) { void *handle_local; type_1 telnet; return *(int *)((long)handle + 100); }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint telnet_sendbuffer(void *handle)\n\n{\n void *handle_local;\n Telnet telnet;\n \n return *(int *)((long)handle + 100);\n}\n\n" comment (function_definition "int telnet_sendbuffer(void *handle)\n\n{\n void *handle_loca...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle)\n\n{\n void *handle_local;\n type_1 telnet;\n \n return *(int *)((long)handle + 100);\n}\n\n" comment (function_definition "int function_1(void *handle)\n\n{\n void *handle_local;\n type_1 t...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive...
1251_putty_and_putty_strip.c
des_ssh2_encrypt_blk
FUN_001730ab
des_ssh2_encrypt_blk
void des_ssh2_encrypt_blk(void *handle,uchar *blk,int len) { int len_local; uchar *blk_local; void *handle_local; DESContext *keys; des_cbc_encrypt(blk,len,(DESContext *)handle); return; }
void FUN_001730ab(undefined8 param_1,undefined8 param_2,undefined4 param_3) { FUN_00172019(param_2,param_3,param_1); return; }
(translation_unit "void FUN_001730ab(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172019(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_001730ab(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172019(param_2,param_3,param_1);\n return;\n}"...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV ECX,dword ptr [RBP + -0x24] MOV RDX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RBP + -0x20] MOV ESI,ECX MOV RDI,RAX CALL 0x0...
void function_1(void *handle,type_1 *blk,int len) { int len_local; type_1 *blk_local; void *handle_local; type_2 *keys; var_1(blk,len,(type_2 *)handle); return; }
(translation_unit "void des_ssh2_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_cbc_encrypt(blk,len,(DESContext *)handle);\n return;\n}\n\n" (function_definition "void des_ssh2_encrypt_blk(void *handle,uchar *blk,int len)\...
(translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *b...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1341_putty_and_putty_strip.c
ecdsa_sign
FUN_0017c09d
ecdsa_sign
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ uchar * ecdsa_sign(void *key,char *data,int datalen,int *siglen) { long lVar1; int iVar2; int iVar3; size_t sVar4; uchar *puVar5; long in_FS_OFFSET; int *siglen_local; int datalen_local; char *data_local; void *key_local; ...
undefined * FUN_0017c09d(long *param_1,undefined8 param_2,undefined4 param_3,int *param_4) { byte bVar1; undefined uVar2; int iVar3; size_t sVar4; undefined *puVar5; long in_FS_OFFSET; byte local_1e9; int local_1e8; uint local_1e4; int local_1e0; uint local_1dc; int local_1d8; int local_1d4;...
(translation_unit "undefined * FUN_0017c09d(long *param_1,undefined8 param_2,undefined4 param_3,int *param_4)\n\n{\n byte bVar1;\n undefined uVar2;\n int iVar3;\n size_t sVar4;\n undefined *puVar5;\n long in_FS_OFFSET;\n byte local_1e9;\n int local_1e8;\n uint local_1e4;\n int local_1e0;\n uint local_1dc;\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x210 MOV qword ptr [RBP + -0x1f8],RDI MOV qword ptr [RBP + -0x200],RSI MOV dword ptr [RBP + -0x204],EDX MOV qword ptr [RBP + -0x210],RCX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x1f8] MOV qword ptr [RBP + -0x1a8],RAX MOV RAX,qword pt...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(void *key,char *data,int datalen,int *siglen) { long var_35; int var_15; int var_32; size_t sVar4; type_1 *var_25; long var_1; int *siglen_local; int datalen_local; char *data_local; void *key_local; ty...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nuchar * ecdsa_sign(void *key,char *data,int datalen,int *siglen)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n size_t sVar4;\n uchar *puVar5;\n long in_FS_OFFSET;\n int *siglen_local;\n int datalen_local;\n char *da...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void *key,char *data,int datalen,int *siglen)\n\n{\n long var_35;\n int var_15;\n int var_32;\n size_t sVar4;\n type_1 *var_25;\n long var_1;\n int *siglen_local;\n int datalen_local;\n char *data...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration t...
1119_putty_and_putty_strip.c
blowfish_msb_sdctr
FUN_00165f8d
blowfish_msb_sdctr
void blowfish_msb_sdctr(uchar *blk,int len,BlowfishContext *ctx) { long lVar1; long in_FS_OFFSET; BlowfishContext *ctx_local; int len_local; uchar *blk_local; word32 iv0; word32 iv1; word32 tmp; word32 b [2]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); if ((len & 7U) != 0) { /...
void FUN_00165f8d(byte *param_1,uint param_2,long param_3) { long in_FS_OFFSET; uint local_34; byte *local_30; int local_24; int local_20; undefined local_18 [8]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if ((param_2 & 7) != 0) { /* WARNING: Subroutine does no...
(translation_unit "void FUN_00165f8d(byte *param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n uint local_34;\n byte *local_30;\n int local_24;\n int local_20;\n undefined local_18 [8];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((param_2 & 7) != 0) {\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x28],RDI MOV dword ptr [RBP + -0x2c],ESI MOV qword ptr [RBP + -0x38],RDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV EAX,dword ptr [RBP + -0x2c] AND EAX,0x7 TEST EAX,EAX JZ 0x00165fd8 LEA RCX,[0x20d900] MOV EDX,0x1b5 LEA RSI,[0x20d8...
void function_1(type_1 *blk,int var_2,type_2 *ctx) { long var_9; long var_1; type_2 *ctx_local; int var_4; type_1 *var_8; type_3 var_7; type_3 var_6; type_3 tmp; type_3 b [2]; var_9 = *(long *)(var_1 + 0x28); if ((var_2 & 7U) != 0) { /* WARNING: Subroutine does not return ...
(translation_unit "void blowfish_msb_sdctr(uchar *blk,int len,BlowfishContext *ctx)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n BlowfishContext *ctx_local;\n int len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n word32 tmp;\n word32 b [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & 7...
(translation_unit "void function_1(type_1 *blk,int var_2,type_2 *ctx)\n\n{\n long var_9;\n long var_1;\n type_2 *ctx_local;\n int var_4;\n type_1 *var_8;\n type_3 var_7;\n type_3 var_6;\n type_3 tmp;\n type_3 b [2];\n \n var_9 = *(long *)(var_1 + 0x28);\n if ((var_2 & 7U) != 0) {\n /* WAR...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif...
1845_putty_and_putty_strip.c
do_config_box
FUN_001b7ba8
do_config_box
/* WARNING: Enum "GdkEventType": Some values do not have unique names */ int do_config_box(char *title,Conf *conf,int midsession,int protcfginfo) { long lVar1; controlset *pcVar2; int iVar3; int iVar4; undefined4 uVar5; GtkWidget *window_00; controlbox *b; undefined8 uVar6; GtkWidget *pGVar7; Gtk...
undefined4 FUN_001b7ba8(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4) { long *plVar1; undefined4 uVar2; int iVar3; int iVar4; undefined8 uVar5; int *piVar6; undefined8 uVar7; undefined8 uVar8; undefined8 uVar9; undefined8 uVar10; undefined8 uVar11; undefined8 uVa...
(translation_unit "undefined4 FUN_001b7ba8(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n long *plVar1;\n undefined4 uVar2;\n int iVar3;\n int iVar4;\n undefined8 uVar5;\n int *piVar6;\n undefined8 uVar7;\n undefined8 uVar8;\n undefined8 uVar9;\n undefined8 uVar10;\n unde...
PUSH RBP MOV RBP,RSP PUSH R12 PUSH RBX SUB RSP,0xe80 MOV qword ptr [RBP + -0xe78],RDI MOV qword ptr [RBP + -0xe80],RSI MOV dword ptr [RBP + -0xe84],EDX MOV dword ptr [RBP + -0xe88],ECX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x18],RAX XOR EAX,EAX MOV qword ptr [RBP + -0xe30],0x0 MOV dword ptr [RBP + -0xe60],0...
/* WARNING: Enum "GdkEventType": Some values do not have unique names */ int function_1(char *title,type_1 *conf,int midsession,int protcfginfo) { long var_79; type_2 *pcVar2; int var_47; int var_49; type_3 uVar5; type_4 *window_00; type_5 *b; type_6 uVar6; type_4 *pGVar7; type_7 *pGVar8; type_...
(translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\nint do_config_box(char *title,Conf *conf,int midsession,int protcfginfo)\n\n{\n long lVar1;\n controlset *pcVar2;\n int iVar3;\n int iVar4;\n undefined4 uVar5;\n GtkWidget *window_00;\n controlbox *b;\n undefined8 uVa...
(translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\nint function_1(char *title,type_1 *conf,int midsession,int protcfginfo)\n\n{\n long var_79;\n type_2 *pcVar2;\n int var_47;\n int var_49;\n type_3 uVar5;\n type_4 *window_00;\n type_5 *b;\n type_6 uVar6;\n type_4 *pG...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator...
1841_putty_and_putty_strip.c
shortcut_add
FUN_001b78ae
shortcut_add
void shortcut_add(Shortcuts *scs,GtkWidget *labelw,int chr,int action,void *ptr) { int chr_00; void *ptr_local; int action_local; int chr_local; GtkWidget *labelw_local; Shortcuts *scs_local; if (chr != 0) { chr_00 = tolower(chr & 0xff); if (scs->sc[chr_00].action != 0) { ...
void FUN_001b78ae(long param_1,undefined8 param_2,uint param_3,int param_4,undefined8 param_5) { int iVar1; if (param_3 != 0) { iVar1 = tolower(param_3 & 0xff); if (*(int *)((long)iVar1 * 0x18 + param_1 + 0x10) != 0) { /* WARNING: Subroutine does not return */ __assert_fail("s...
(translation_unit "void FUN_001b78ae(long param_1,undefined8 param_2,uint param_3,int param_4,undefined8 param_5)\n\n{\n int iVar1;\n \n if (param_3 != 0) {\n iVar1 = tolower(param_3 & 0xff);\n if (*(int *)((long)iVar1 * 0x18 + param_1 + 0x10) != 0) {\n /* WARNING: Subroutine does not return...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV dword ptr [RBP + -0x14],EDX MOV dword ptr [RBP + -0x18],ECX MOV qword ptr [RBP + -0x20],R8 CMP dword ptr [RBP + -0x14],0x0 JZ 0x001b79f6 MOV EAX,dword ptr [RBP + -0x14] MOVZX EAX,AL MOV EDI,EAX CALL 0x001157c0 MOV dword...
void function_1(type_1 *scs,type_2 *labelw,int var_1,int var_4,void *ptr) { int chr_00; void *ptr_local; int action_local; int chr_local; type_2 *labelw_local; type_1 *scs_local; if (var_1 != 0) { chr_00 = var_2(var_1 & 0xff); if (scs->sc[chr_00].var_4 != 0) { /* WARNING: ...
(translation_unit "void shortcut_add(Shortcuts *scs,GtkWidget *labelw,int chr,int action,void *ptr)\n\n{\n int chr_00;\n void *ptr_local;\n int action_local;\n int chr_local;\n GtkWidget *labelw_local;\n Shortcuts *scs_local;\n \n if (chr != 0) {\n chr_00 = tolower(chr & 0xff);\n if (scs->sc[chr_00].actio...
(translation_unit "void function_1(type_1 *scs,type_2 *labelw,int var_1,int var_4,void *ptr)\n\n{\n int chr_00;\n void *ptr_local;\n int action_local;\n int chr_local;\n type_2 *labelw_local;\n type_1 *scs_local;\n \n if (var_1 != 0) {\n chr_00 = var_2(var_1 & 0xff);\n if (scs->sc[chr_00].var_4 != 0) {\n ...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1691_putty_and_putty_strip.c
term_scroll_to_selection
FUN_001aa249
term_scroll_to_selection
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_scroll_to_selection(Terminal *term,wchar_t which_end) { wchar_t wVar1; wchar_t which_end_local; Terminal *term_local; wchar_t y; wchar_t sbtop; pos target; wVar1 = sblines(term); y = -wVar1; if (term->selstate == ...
void FUN_001aa249(long param_1,int param_2) { int local_18; int local_10; local_18 = FUN_0019b985(param_1); local_18 = -local_18; if (*(int *)(param_1 + 0xeb4) == 3) { if (param_2 == 0) { local_10 = (int)*(undefined8 *)(param_1 + 0xec0); } else { local_10 = (int)*(undefined8 *)(pa...
(translation_unit "void FUN_001aa249(long param_1,int param_2)\n\n{\n int local_18;\n int local_10;\n \n local_18 = FUN_0019b985(param_1);\n local_18 = -local_18;\n if (*(int *)(param_1 + 0xeb4) == 3) {\n if (param_2 == 0) {\n local_10 = (int)*(undefined8 *)(param_1 + 0xec0);\n }\n else {\n loc...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV RAX,qword ptr [RBP + -0x18] MOV RDI,RAX CALL 0x0019b985 NEG EAX MOV dword ptr [RBP + -0xc],EAX MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0xeb4] CMP EAX,0x3 JNZ 0x001aa2ee CMP dword ptr [RBP + -0x1c],0x0 ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term,type_2 var_3) { type_2 var_5; type_2 which_end_local; type_1 *term_local; type_2 var_4; type_2 sbtop; type_3 target; var_5 = var_1(term); var_4 = -var_5; if (term->selstate == var_2) { if (v...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_scroll_to_selection(Terminal *term,wchar_t which_end)\n\n{\n wchar_t wVar1;\n wchar_t which_end_local;\n Terminal *term_local;\n wchar_t y;\n wchar_t sbtop;\n pos target;\n \n wVar1 = sblines(term);\n y = -...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 var_3)\n\n{\n type_2 var_5;\n type_2 which_end_local;\n type_1 *term_local;\n type_2 var_4;\n type_2 sbtop;\n type_3 target;\n \n var_5 = var_1(term);\n var_4 = -var_5;\n if (term...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato...
1396_putty_and_putty_strip.c
ssh2_userkey_loadpub
FUN_00182342
ssh2_userkey_loadpub
uchar * ssh2_userkey_loadpub (Filename *filename,char **algorithm,int *pub_blob_len,char **commentptr, char **errorstr) { long lVar1; int iVar2; char *pcVar3; uchar *puVar4; long in_FS_OFFSET; char **errorstr_local; char **commentptr_local; int *pub_blob_len_local; ...
long FUN_00182342(undefined8 param_1,undefined8 *param_2,undefined4 *param_3,long *param_4, undefined8 *param_5) { int iVar1; undefined8 uVar2; long lVar3; long in_FS_OFFSET; undefined4 local_84; int local_80; int local_7c; long local_78; char *local_70; long local_68; FILE *loc...
(translation_unit "long FUN_00182342(undefined8 param_1,undefined8 *param_2,undefined4 *param_3,long *param_4,\n undefined8 *param_5)\n\n{\n int iVar1;\n undefined8 uVar2;\n long lVar3;\n long in_FS_OFFSET;\n undefined4 local_84;\n int local_80;\n int local_7c;\n long local_78;\n char *local_70...
PUSH RBP MOV RBP,RSP SUB RSP,0xb0 MOV qword ptr [RBP + -0x88],RDI MOV qword ptr [RBP + -0x90],RSI MOV qword ptr [RBP + -0x98],RDX MOV qword ptr [RBP + -0xa0],RCX MOV qword ptr [RBP + -0xa8],R8 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV qword ptr [RBP + -0x68],0x0 MOV qword ptr [RBP + -0x...
type_1 * function_1 (type_2 *filename,char **var_25,int *var_24,char **var_19, char **var_27) { long var_28; int var_10; char *pcVar3; type_1 *puVar4; long var_1; char **errorstr_local; char **commentptr_local; int *pub_blob_len_local; char **algorithm_local; ty...
(translation_unit "uchar * ssh2_userkey_loadpub\n (Filename *filename,char **algorithm,int *pub_blob_len,char **commentptr,\n char **errorstr)\n\n{\n long lVar1;\n int iVar2;\n char *pcVar3;\n uchar *puVar4;\n long in_FS_OFFSET;\n char **errorstr_local;\n char **commentptr_local...
(translation_unit "type_1 * function_1\n (type_2 *filename,char **var_25,int *var_24,char **var_19,\n char **var_27)\n\n{\n long var_28;\n int var_10;\n char *pcVar3;\n type_1 *puVar4;\n long var_1;\n char **errorstr_local;\n char **commentptr_local;\n int *pub_blob_len_local;\...
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri...
1356_putty_and_putty_strip.c
ssh_gssapi_display_status
FUN_0017d7d7
ssh_gssapi_display_status
Ssh_gss_stat ssh_gssapi_display_status(ssh_gss_library *lib,Ssh_gss_ctx ctx,Ssh_gss_buf *buf) { long lVar1; Ssh_gss_stat SVar2; void *pvVar3; long in_FS_OFFSET; Ssh_gss_buf *buf_local; Ssh_gss_ctx ctx_local; ssh_gss_library *lib_local; OM_uint32 lmin; OM_uint32 ccc; OM_uint32 lmax; gssapi_functi...
undefined8 FUN_0017d7d7(long param_1,undefined4 *param_2,long *param_3) { undefined8 uVar1; long lVar2; long in_FS_OFFSET; undefined local_54 [4]; undefined4 local_50; int local_4c; long local_48; undefined4 *local_40; size_t local_38; void *local_30; size_t local_28; void *local_20; long lo...
(translation_unit "undefined8 FUN_0017d7d7(long param_1,undefined4 *param_2,long *param_3)\n\n{\n undefined8 uVar1;\n long lVar2;\n long in_FS_OFFSET;\n undefined local_54 [4];\n undefined4 local_50;\n int local_4c;\n long local_48;\n undefined4 *local_40;\n size_t local_38;\n void *local_30;\n size_t local_...
PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x58],RDI MOV qword ptr [RBP + -0x60],RSI MOV qword ptr [RBP + -0x68],RDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x58] ADD RAX,0x60 MOV qword ptr [RBP + -0x40],RAX MOV RAX,qword ptr [RBP + -0x60] MOV qword ...
type_1 function_1(type_2 *lib,type_3 ctx,type_4 *buf) { long var_5; type_1 SVar2; void *pvVar3; long var_1; type_4 *buf_local; type_3 ctx_local; type_2 *lib_local; type_5 lmin; type_5 ccc; type_5 var_2; type_6 *gss; type_7 *gssctx; type_8 msg_maj; type_8 msg_min; var_5 = *(long *)(var...
(translation_unit "Ssh_gss_stat ssh_gssapi_display_status(ssh_gss_library *lib,Ssh_gss_ctx ctx,Ssh_gss_buf *buf)\n\n{\n long lVar1;\n Ssh_gss_stat SVar2;\n void *pvVar3;\n long in_FS_OFFSET;\n Ssh_gss_buf *buf_local;\n Ssh_gss_ctx ctx_local;\n ssh_gss_library *lib_local;\n OM_uint32 lmin;\n OM_uint32 ccc;\n O...
(translation_unit "type_1 function_1(type_2 *lib,type_3 ctx,type_4 *buf)\n\n{\n long var_5;\n type_1 SVar2;\n void *pvVar3;\n long var_1;\n type_4 *buf_local;\n type_3 ctx_local;\n type_2 *lib_local;\n type_5 lmin;\n type_5 ccc;\n type_5 var_2;\n type_6 *gss;\n type_7 *gssctx;\n type_8 msg_maj;\n type_8 m...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (ident...
1254_putty_and_putty_strip.c
des3_encrypt_pubkey
FUN_001733c5
des3_encrypt_pubkey
void des3_encrypt_pubkey(uchar *key,uchar *blk,int len) { long lVar1; long in_FS_OFFSET; int len_local; uchar *blk_local; uchar *key_local; DESContext ourkeys [3]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); des_key_setup((uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3], ...
void FUN_001733c5(byte *param_1,undefined8 param_2,undefined4 param_3) { long in_FS_OFFSET; undefined local_1a8 [136]; undefined auStack_120 [136]; undefined auStack_98 [136]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_0016f437((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (u...
(translation_unit "void FUN_001733c5(byte *param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_1a8 [136];\n undefined auStack_120 [136];\n undefined auStack_98 [136];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0016f437((uint)*param_1 << 0x18 | (...
PUSH RBP MOV RBP,RSP SUB RSP,0x1c0 MOV qword ptr [RBP + -0x1a8],RDI MOV qword ptr [RBP + -0x1b0],RSI MOV dword ptr [RBP + -0x1b4],EDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x1a8] ADD RAX,0x4 MOVZX EAX,byte ptr [RAX] MOVZX EAX,AL SHL EAX,0x18 MOV EDX,EAX MOV RAX...
void function_1(type_1 *var_3,type_1 *blk,int len) { long var_7; long var_1; int len_local; type_1 *blk_local; type_1 *key_local; type_2 var_4 [3]; var_7 = *(long *)(var_1 + 0x28); var_2((type_3)*var_3 << 0x18 | (type_3)var_3[1] << 0x10 | (type_3)var_3[2] << 8 | (type_3)var_3[3], (t...
(translation_unit "void des3_encrypt_pubkey(uchar *key,uchar *blk,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n uchar *blk_local;\n uchar *key_local;\n DESContext ourkeys [3];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n des_key_setup((uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)ke...
(translation_unit "void function_1(type_1 *var_3,type_1 *blk,int len)\n\n{\n long var_7;\n long var_1;\n int len_local;\n type_1 *blk_local;\n type_1 *key_local;\n type_2 var_4 [3];\n \n var_7 = *(long *)(var_1 + 0x28);\n var_2((type_3)*var_3 << 0x18 | (type_3)var_3[1] << 0x10 | (type_3)var_3[2] << 8 | (type_3...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1360_putty_and_putty_strip.c
ssh_gssapi_get_mic
FUN_0017db68
ssh_gssapi_get_mic
Ssh_gss_stat ssh_gssapi_get_mic(ssh_gss_library *lib,Ssh_gss_ctx ctx,Ssh_gss_buf *buf,Ssh_gss_buf *hash) { Ssh_gss_stat SVar1; Ssh_gss_buf *hash_local; Ssh_gss_buf *buf_local; Ssh_gss_ctx ctx_local; ssh_gss_library *lib_local; gssapi_functions *gss; gssapi_ssh_gss_ctx *gssctx; if (ctx == (Ssh_gss_c...
undefined8 FUN_0017db68(long param_1,long param_2,undefined8 param_3,undefined8 param_4) { undefined8 uVar1; if (param_2 == 0) { uVar1 = 4; } else { uVar1 = (**(code **)(param_1 + 0x70)) (param_2 + 4,*(undefined8 *)(param_2 + 8),0,param_3,param_4); } return uVar1; }
(translation_unit "undefined8 FUN_0017db68(long param_1,long param_2,undefined8 param_3,undefined8 param_4)\n\n{\n undefined8 uVar1;\n \n if (param_2 == 0) {\n uVar1 = 4;\n }\n else {\n uVar1 = (**(code **)(param_1 + 0x70))\n (param_2 + 4,*(undefined8 *)(param_2 + 8),0,param_3,param_4);\...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV qword ptr [RBP + -0x28],RDX MOV qword ptr [RBP + -0x30],RCX MOV RAX,qword ptr [RBP + -0x18] ADD RAX,0x60 MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x20] MOV qword ptr [RBP + -0x8],RAX CMP qword ptr [RBP...
type_1 function_1(type_2 *lib,type_3 var_1,type_4 *buf,type_4 *hash) { type_1 SVar1; type_4 *hash_local; type_4 *buf_local; type_3 ctx_local; type_2 *lib_local; type_5 *gss; type_6 *gssctx; if (var_1 == (type_3)0x0) { SVar1 = SSH_GSS_FAILURE; } else { SVar1 = (*(lib->u).gssapi.get_mic) ...
(translation_unit "Ssh_gss_stat\nssh_gssapi_get_mic(ssh_gss_library *lib,Ssh_gss_ctx ctx,Ssh_gss_buf *buf,Ssh_gss_buf *hash)\n\n{\n Ssh_gss_stat SVar1;\n Ssh_gss_buf *hash_local;\n Ssh_gss_buf *buf_local;\n Ssh_gss_ctx ctx_local;\n ssh_gss_library *lib_local;\n gssapi_functions *gss;\n gssapi_ssh_gss_ctx *gssctx...
(translation_unit "type_1\nfunction_1(type_2 *lib,type_3 var_1,type_4 *buf,type_4 *hash)\n\n{\n type_1 SVar1;\n type_4 *hash_local;\n type_4 *buf_local;\n type_3 ctx_local;\n type_2 *lib_local;\n type_5 *gss;\n type_6 *gssctx;\n \n if (var_1 == (type_3)0x0) {\n SVar1 = SSH_GSS_FAILURE;\n }\n else {\n S...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (ident...
1830_putty_and_putty_strip.c
listbox_reorder
FUN_001b4e6e
listbox_reorder
void listbox_reorder(GtkTreeModel *treemodel,GtkTreePath *path,GtkTreeIter *iter,gpointer data) { undefined8 uVar1; undefined8 uVar2; GtkWidget *w; uctrl *puVar3; undefined8 *puVar4; gpointer data_local; GtkTreeIter *iter_local; GtkTreePath *path_local; GtkTreeModel *treemodel_local; dlgparam *dp;...
void FUN_001b4e6e(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4) { undefined8 uVar1; undefined8 uVar2; long lVar3; long *plVar4; if ((*(uint *)(param_4 + 0x1c) & 2) == 0) { uVar1 = g_type_check_instance_cast(param_1,0x50); uVar1 = g_object_get_data(uVar1,"user-data"); ...
(translation_unit "void FUN_001b4e6e(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n long lVar3;\n long *plVar4;\n \n if ((*(uint *)(param_4 + 0x1c) & 2) == 0) {\n uVar1 = g_type_check_instance_cast(param_1,0x50);\n uVar1 = g_object_get_d...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV qword ptr [RBP + -0x38],RDX MOV qword ptr [RBP + -0x40],RCX MOV RAX,qword ptr [RBP + -0x40] MOV qword ptr [RBP + -0x20],RAX MOV RAX,qword ptr [RBP + -0x20] MOV EAX,dword ptr [RAX + 0x1c] AND EAX,0x2 TEST EAX,EAX JNZ 0x...
void function_1(type_1 *treemodel,type_2 *path,type_3 *iter,type_4 data) { type_5 uVar1; type_5 uVar2; type_6 *w; type_7 *var_5; type_5 *puVar4; type_4 data_local; type_3 *iter_local; type_2 *path_local; type_1 *treemodel_local; type_8 *dp; type_4 tree; type_7 *uc; type_9 *ctx; if ((*(t...
(translation_unit "void listbox_reorder(GtkTreeModel *treemodel,GtkTreePath *path,GtkTreeIter *iter,gpointer data)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n GtkWidget *w;\n uctrl *puVar3;\n undefined8 *puVar4;\n gpointer data_local;\n GtkTreeIter *iter_local;\n GtkTreePath *path_local;\n GtkTreeModel *tre...
(translation_unit "void function_1(type_1 *treemodel,type_2 *path,type_3 *iter,type_4 data)\n\n{\n type_5 uVar1;\n type_5 uVar2;\n type_6 *w;\n type_7 *var_5;\n type_5 *puVar4;\n type_4 data_local;\n type_3 *iter_local;\n type_2 *path_local;\n type_1 *treemodel_local;\n type_8 *dp;\n type_4 tree;\n type_7 *...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1320_putty_and_putty_strip.c
ec_public
FUN_001794af
ec_public
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ ec_point * ec_public(Bignum privateKey,ec_curve *curve) { long lVar1; int iVar2; ec_point *peVar3; long in_FS_OFFSET; ec_curve *curve_local; Bignum privateKey_local; uchar b; int i; int keylen; Bignum a; ec_point *ret; S...
undefined8 FUN_001794af(undefined8 param_1,int *param_2) { undefined8 uVar1; long in_FS_OFFSET; undefined local_191; int local_190; uint local_18c; undefined8 local_188; undefined8 local_180; undefined local_178 [288]; byte local_58 [31]; byte local_39; long local_10; local_10 = *(long *)(i...
(translation_unit "undefined8 FUN_001794af(undefined8 param_1,int *param_2)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined local_191;\n int local_190;\n uint local_18c;\n undefined8 local_188;\n undefined8 local_180;\n undefined local_178 [288];\n byte local_58 [31];\n byte local_39;\n long local_...
PUSH RBP MOV RBP,RSP SUB RSP,0x1a0 MOV qword ptr [RBP + -0x198],RDI MOV qword ptr [RBP + -0x1a0],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x1a0] MOV EAX,dword ptr [RAX] TEST EAX,EAX JNZ 0x00179506 MOV RAX,qword ptr [RBP + -0x1a0] LEA RDX,[RAX + 0x40] MOV RAX,q...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_2 privateKey,type_3 *curve) { long var_13; int iVar2; type_1 *peVar3; long var_1; type_3 *curve_local; type_2 privateKey_local; type_4 b; int var_6; int var_7; type_2 a; type_1 *ret; type_5 s; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ec_public(Bignum privateKey,ec_curve *curve)\n\n{\n long lVar1;\n int iVar2;\n ec_point *peVar3;\n long in_FS_OFFSET;\n ec_curve *curve_local;\n Bignum privateKey_local;\n uchar b;\n int i;\n int keylen;\n...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 privateKey,type_3 *curve)\n\n{\n long var_13;\n int iVar2;\n type_1 *peVar3;\n long var_1;\n type_3 *curve_local;\n type_2 privateKey_local;\n type_4 b;\n int var_6;\n int var_7;\n type_2 ...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarato...
899_putty_and_putty_strip.c
construct_packet
FUN_001400af
construct_packet
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ Packet * construct_packet(Ssh_conflict ssh,int pkttype,__va_list_tag *ap) { void *data; Packet *pkt_00; undefined4 *puVar1; undefined8 *puVar2; int *piVar3; __va_list_tag *ap_local; int pkttype_local; Ssh_conflict ssh_local; u...
undefined8 FUN_001400af(undefined8 param_1,undefined4 param_2,uint *param_3) { undefined8 uVar1; undefined8 uVar2; undefined4 *puVar3; undefined8 *puVar4; int *piVar5; uVar2 = FUN_00140d0f(param_2); while( true ) { if (*param_3 < 0x30) { piVar5 = (int *)((ulong)*param_3 + *(long *)(param_3 ...
(translation_unit "undefined8 FUN_001400af(undefined8 param_1,undefined4 param_2,uint *param_3)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n undefined4 *puVar3;\n undefined8 *puVar4;\n int *piVar5;\n \n uVar2 = FUN_00140d0f(param_2);\n while( true ) {\n if (*param_3 < 0x30) {\n piVar5 = (int *)((ulong...
PUSH RBP MOV RBP,RSP SUB RSP,0x60 MOV qword ptr [RBP + -0x48],RDI MOV dword ptr [RBP + -0x4c],ESI MOV qword ptr [RBP + -0x58],RDX MOV EAX,dword ptr [RBP + -0x4c] MOV EDI,EAX CALL 0x00140d0f MOV qword ptr [RBP + -0x28],RAX JMP 0x0014032e CMP dword ptr [RBP + -0x30],0x5 JA 0x0014032e MOV EAX,dword ptr [RBP + -0x30] LEA R...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_2 ssh,int pkttype,type_3 *ap) { void *data; type_1 *pkt_00; type_4 *var_4; type_5 *var_6; int *var_2; type_3 *ap_local; int pkttype_local; type_2 ssh_local; type_6 argchar; int argtype; int arglen;...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPacket * construct_packet(Ssh_conflict ssh,int pkttype,__va_list_tag *ap)\n\n{\n void *data;\n Packet *pkt_00;\n undefined4 *puVar1;\n undefined8 *puVar2;\n int *piVar3;\n __va_list_tag *ap_local;\n int pkttype_local;\...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 ssh,int pkttype,type_3 *ap)\n\n{\n void *data;\n type_1 *pkt_00;\n type_4 *var_4;\n type_5 *var_6;\n int *var_2;\n type_3 *ap_local;\n int pkttype_local;\n type_2 ssh_local;\n type_6 argcha...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator...
1047_putty_and_putty_strip.c
do_ssh2_authconn
FUN_00155197
do_ssh2_authconn
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void do_ssh2_authconn(Ssh_conflict ssh,uchar *in,int inlen,Packet *pktin) { Ssh_gss_buf *pSVar1; Ssh_gss_buf *pSVar2; t_ssh_gss_init_sec_context p_Var3; Conf *conf; int iVar4; Ssh_gss_stat SVar5; void *pvVar6; Packet *pPVar7; ...
void FUN_00155197(long param_1,undefined8 param_2,int param_3,long param_4) { int *piVar1; int *piVar2; long lVar3; code *pcVar4; int iVar5; undefined4 uVar6; undefined8 uVar7; size_t sVar8; undefined *puVar9; char *pcVar10; ulong uVar11; undefined8 uVar12; long in_FS_OFFSET; int local_14c...
(translation_unit "void FUN_00155197(long param_1,undefined8 param_2,int param_3,long param_4)\n\n{\n int *piVar1;\n int *piVar2;\n long lVar3;\n code *pcVar4;\n int iVar5;\n undefined4 uVar6;\n undefined8 uVar7;\n size_t sVar8;\n undefined *puVar9;\n char *pcVar10;\n ulong uVar11;\n undefined8 uVar12;\n l...
PUSH RBP MOV RBP,RSP PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x158 MOV qword ptr [RBP + -0x158],RDI MOV qword ptr [RBP + -0x160],RSI MOV dword ptr [RBP + -0x164],EDX MOV qword ptr [RBP + -0x170],RCX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x28],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x158] MOV RAX,qword ptr [RA...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *in,int var_14,type_3 *var_4) { type_4 *pSVar1; type_4 *pSVar2; type_5 p_Var3; type_6 *conf; int var_3; type_7 var_121; void *pvVar6; type_3 *pPVar7; type_8 *pFVar8; char *var_26; type_2 *...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid do_ssh2_authconn(Ssh_conflict ssh,uchar *in,int inlen,Packet *pktin)\n\n{\n Ssh_gss_buf *pSVar1;\n Ssh_gss_buf *pSVar2;\n t_ssh_gss_init_sec_context p_Var3;\n Conf *conf;\n int iVar4;\n Ssh_gss_stat SVar5;\n void ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *in,int var_14,type_3 *var_4)\n\n{\n type_4 *pSVar1;\n type_4 *pSVar2;\n type_5 p_Var3;\n type_6 *conf;\n int var_3;\n type_7 var_121;\n void *pvVar6;\n type_3 *pPVar7;\n type_8 *pFV...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1436_putty_and_putty_strip.c
rsa2_newkey
FUN_0018602c
rsa2_newkey
void * rsa2_newkey(ssh_signkey *self,char *data,int len) { int iVar1; Bignum pvVar2; RSAKey *pRVar3; long in_FS_OFFSET; int len_local; char *data_local; ssh_signkey *self_local; int slen; char *p; RSAKey *rsa; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); len_local = len; da...
long FUN_0018602c(undefined8 param_1,undefined8 param_2,undefined4 param_3) { int iVar1; undefined8 uVar2; long lVar3; long in_FS_OFFSET; undefined4 local_3c; undefined8 local_38; undefined8 local_30; int local_24; void *local_20; long local_18; long local_10; local_10 = *(long *)(in_FS_OFF...
(translation_unit "long FUN_0018602c(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n long lVar3;\n long in_FS_OFFSET;\n undefined4 local_3c;\n undefined8 local_38;\n undefined8 local_30;\n int local_24;\n void *local_20;\n long local_18;\n long local_10;\n \...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV dword ptr [RBP + -0x34],EDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV ESI,0x40 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x10],RAX LEA RCX,[RBP + -0x1c] LEA RDX,[RBP + -0x18] LE...
void * function_1(type_1 *self,char *data,int len) { int var_7; type_2 pvVar2; type_3 *pRVar3; long var_1; int len_local; char *data_local; type_1 *self_local; int var_5; char *var_4; type_3 *rsa; long var_11; var_11 = *(long *)(var_1 + 0x28); len_local = len; data_local = data; self_...
(translation_unit "void * rsa2_newkey(ssh_signkey *self,char *data,int len)\n\n{\n int iVar1;\n Bignum pvVar2;\n RSAKey *pRVar3;\n long in_FS_OFFSET;\n int len_local;\n char *data_local;\n ssh_signkey *self_local;\n int slen;\n char *p;\n RSAKey *rsa;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET...
(translation_unit "void * function_1(type_1 *self,char *data,int len)\n\n{\n int var_7;\n type_2 pvVar2;\n type_3 *pRVar3;\n long var_1;\n int len_local;\n char *data_local;\n type_1 *self_local;\n int var_5;\n char *var_4;\n type_3 *rsa;\n long var_11;\n \n var_11 = *(long *)(var_1 + 0x28);\n len_local =...
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim...
1332_putty_and_putty_strip.c
ecdsa_public_blob
FUN_0017a6ad
ecdsa_public_blob
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ uchar * ecdsa_public_blob(void *key,int *len) { byte *pbVar1; uchar *puVar2; uint uVar3; uint uVar4; int iVar5; int iVar6; int iVar7; int iVar8; size_t sVar9; size_t sVar10; uchar uVar11; bool bVar14; int *len_local; ...
undefined * FUN_0017a6ad(long *param_1,int *param_2) { byte *pbVar1; undefined *puVar2; uint uVar3; byte bVar4; uint uVar5; int iVar6; int iVar7; int iVar8; int iVar9; size_t sVar10; size_t sVar11; undefined uVar12; bool bVar15; int local_34; int local_30; undefined *local_20; byte *...
(translation_unit "undefined * FUN_0017a6ad(long *param_1,int *param_2)\n\n{\n byte *pbVar1;\n undefined *puVar2;\n uint uVar3;\n byte bVar4;\n uint uVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n int iVar9;\n size_t sVar10;\n size_t sVar11;\n undefined uVar12;\n bool bVar15;\n int local_34;\n int local_...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV RAX,qword ptr [RBP + -0x38] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX] MOV RAX,qword ptr [RAX + 0x60] MOV RDI,RAX CALL 0x00114630 MOV dword ptr [RBP + -0x24],EAX MOV RAX,qword...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(void *key,int *len) { type_2 *var_9; type_1 *var_20; type_3 var_3; type_3 var_4; int var_5; int var_16; int var_17; int var_18; size_t var_2; size_t var_19; type_1 uVar11; bool bVar14; int *len_loca...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nuchar * ecdsa_public_blob(void *key,int *len)\n\n{\n byte *pbVar1;\n uchar *puVar2;\n uint uVar3;\n uint uVar4;\n int iVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n size_t sVar9;\n size_t sVar10;\n uchar uVar11;\n...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void *key,int *len)\n\n{\n type_2 *var_9;\n type_1 *var_20;\n type_3 var_3;\n type_3 var_4;\n int var_5;\n int var_16;\n int var_17;\n int var_18;\n size_t var_2;\n size_t var_19;\n type_1 uVar1...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration t...
1377_putty_and_putty_strip.c
hmacmd5_do_hmac_internal
FUN_0017f2f0
hmacmd5_do_hmac_internal
void hmacmd5_do_hmac_internal(void *handle,uchar *blk,int len,uchar *blk2,int len2,uchar *hmac) { uchar *hmac_local; uchar *blk2_local; int len2_local; int len_local; uchar *blk_local; void *handle_local; hmacmd5_start(handle); hmacmd5_bytes(handle,blk,len); if (blk2 != (uchar *)0x0) { hmacmd...
void FUN_0017f2f0(undefined8 param_1,undefined8 param_2,undefined4 param_3,long param_4, undefined4 param_5,undefined8 param_6) { FUN_0017f044(param_1); FUN_0017f0c4(param_1,param_2,param_3); if (param_4 != 0) { FUN_0017f0c4(param_1,param_4,param_5); } FUN_0017f0ff(param_1,param_6); r...
(translation_unit "void FUN_0017f2f0(undefined8 param_1,undefined8 param_2,undefined4 param_3,long param_4,\n undefined4 param_5,undefined8 param_6)\n\n{\n FUN_0017f044(param_1);\n FUN_0017f0c4(param_1,param_2,param_3);\n if (param_4 != 0) {\n FUN_0017f0c4(param_1,param_4,param_5);\n }\n FUN_001...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV dword ptr [RBP + -0x14],EDX MOV qword ptr [RBP + -0x20],RCX MOV dword ptr [RBP + -0x18],R8D MOV qword ptr [RBP + -0x28],R9 MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0017f044 MOV EDX,dword ptr [RBP + -0x14] MOV R...
void function_1(void *handle,type_1 *blk,int len,type_1 *var_3,int len2,type_1 *hmac) { type_1 *hmac_local; type_1 *blk2_local; int len2_local; int len_local; type_1 *blk_local; void *handle_local; var_1(handle); var_2(handle,blk,len); if (var_3 != (type_1 *)0x0) { var_2(handle,var_3,len2); ...
(translation_unit "void hmacmd5_do_hmac_internal(void *handle,uchar *blk,int len,uchar *blk2,int len2,uchar *hmac)\n\n{\n uchar *hmac_local;\n uchar *blk2_local;\n int len2_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n \n hmacmd5_start(handle);\n hmacmd5_bytes(handle,blk,len);\n if (blk2...
(translation_unit "void function_1(void *handle,type_1 *blk,int len,type_1 *var_3,int len2,type_1 *hmac)\n\n{\n type_1 *hmac_local;\n type_1 *blk2_local;\n int len2_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n \n var_1(handle);\n var_2(handle,blk,len);\n if (var_3 != (type_1 *)0x0) {\n...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1314_putty_and_putty_strip.c
ecp_mulw
FUN_00178d8c
ecp_mulw
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ ec_point * ecp_mulw(ec_point *a,Bignum b) { int iVar1; ec_point *a_00; Bignum b_local; ec_point *a_local; ec_point *ret; iVar1 = ec_aminus3(a->curve); a_00 = ecp_mul_(a,b,iVar1); iVar1 = ecp_normalise(a_00); if (iVar1 == 0)...
undefined8 FUN_00178d8c(undefined8 *param_1,undefined8 param_2) { undefined4 uVar1; int iVar2; undefined8 uVar3; uVar1 = FUN_00176ad9(*param_1); uVar3 = FUN_00178c90(param_1,param_2,uVar1); iVar2 = FUN_0017729f(uVar3); if (iVar2 == 0) { FUN_00176d6e(uVar3); uVar3 = 0; } return uVar3; }
(translation_unit "undefined8 FUN_00178d8c(undefined8 *param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n int iVar2;\n undefined8 uVar3;\n \n uVar1 = FUN_00176ad9(*param_1);\n uVar3 = FUN_00178c90(param_1,param_2,uVar1);\n iVar2 = FUN_0017729f(uVar3);\n if (iVar2 == 0) {\n FUN_00176d6e(uVar3);\n uVar3...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] MOV RDI,RAX CALL 0x00176ad9 MOV EDX,EAX MOV RCX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RCX MOV RDI,RAX CALL 0x00178c90 MOV qword ptr [RBP + -...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_1 *a,type_2 b) { int var_4; type_1 *a_00; type_2 b_local; type_1 *a_local; type_1 *ret; var_4 = var_1(a->curve); a_00 = var_2(a,b,var_4); var_4 = var_3(a_00); if (var_4 == 0) { var_5(a_00); ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_mulw(ec_point *a,Bignum b)\n\n{\n int iVar1;\n ec_point *a_00;\n Bignum b_local;\n ec_point *a_local;\n ec_point *ret;\n \n iVar1 = ec_aminus3(a->curve);\n a_00 = ecp_mul_(a,b,iVar1);\n iVar1 = ecp_nor...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *a,type_2 b)\n\n{\n int var_4;\n type_1 *a_00;\n type_2 b_local;\n type_1 *a_local;\n type_1 *ret;\n \n var_4 = var_1(a->curve);\n a_00 = var_2(a,b,var_4);\n var_4 = var_3(a_00);\n if (var...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ...