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
1688_putty_and_putty_strip.c
term_invalidate
FUN_001a9e8f
term_invalidate
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_invalidate(Terminal *term) { Terminal *term_local; wchar_t i; wchar_t j; for (i = L'\0'; i < term->rows; i = i + L'\x01') { for (j = L'\0'; j < term->cols; j = j + L'\x01') { term->disptext[i]->chars[j].attr = ter...
void FUN_001a9e8f(long param_1) { undefined4 local_10; undefined4 local_c; for (local_10 = 0; local_10 < *(int *)(param_1 + 0x188); local_10 = local_10 + 1) { for (local_c = 0; local_c < *(int *)(param_1 + 0x18c); local_c = local_c + 1) { *(ulong *)((long)local_c * 0x18 + *(long *)...
(translation_unit "void FUN_001a9e8f(long param_1)\n\n{\n undefined4 local_10;\n undefined4 local_c;\n \n for (local_10 = 0; local_10 < *(int *)(param_1 + 0x188); local_10 = local_10 + 1) {\n for (local_c = 0; local_c < *(int *)(param_1 + 0x18c); local_c = local_c + 1) {\n *(ulong *)((long)local_c * 0x18 +\...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x8],0x0 JMP 0x001a9f41 MOV dword ptr [RBP + -0x4],0x0 JMP 0x001a9f2a MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x28] MOV EDX,dword ptr [RBP + -0x8] MOVSXD RDX,EDX SHL RDX,0x3 ADD RAX,RDX MOV RAX,qword ptr [RAX] MOV R...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term) { type_1 *term_local; type_2 var_1; type_2 var_2; for (var_1 = L'\0'; var_1 < term->rows; var_1 = var_1 + L'\x01') { for (var_2 = L'\0'; var_2 < term->cols; var_2 = var_2 + L'\x01') { term->dis...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_invalidate(Terminal *term)\n\n{\n Terminal *term_local;\n wchar_t i;\n wchar_t j;\n \n for (i = L'\0'; i < term->rows; i = i + L'\x01') {\n for (j = L'\0'; j < term->cols; j = j + L'\x01') {\n term->dis...
(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_1 *term_local;\n type_2 var_1;\n type_2 var_2;\n \n for (var_1 = L'\0'; var_1 < term->rows; var_1 = var_1 + L'\x01') {\n for (var_2 = L'\0'; var_2 < term->cols; var_2 = var_2 ...
(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...
1855_putty_and_putty_strip.c
fatalbox
FUN_001b9a23
fatalbox
void fatalbox(char *p,...) { long lVar1; char in_AL; char *msg_00; undefined8 in_RCX; undefined8 in_RDX; undefined8 in_RSI; undefined8 in_R8; undefined8 in_R9; long in_FS_OFFSET; undefined8 in_XMM0_Qa; undefined8 in_XMM1_Qa; undefined8 in_XMM2_Qa; undefined8 in_XMM3_Qa; undefined8 in_XMM4_...
void FUN_001b9a23(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,undefined8 param_10,undefined8 param_11,undefined8 param_12, undefined8 param...
(translation_unit "void FUN_001b9a23(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,undefined8 param_10,undefined8 param_11,undefined8 param_12,\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0xf0 MOV qword ptr [RBP + -0xe8],RDI MOV qword ptr [RBP + -0xa8],RSI 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 0x001b9a7c MOVAPS xmmword ptr [RBP + -0x80],XMM0 MOVAPS xmmword ptr [RBP + -0x70],...
void function_1(char *p,...) { long var_7; char var_1; char *msg_00; type_1 in_RCX; type_1 in_RDX; type_1 in_RSI; type_1 in_R8; type_1 in_R9; long var_2; type_1 in_XMM0_Qa; type_1 in_XMM1_Qa; type_1 in_XMM2_Qa; type_1 in_XMM3_Qa; type_1 in_XMM4_Qa; type_1 in_XMM5_Qa; type_1 in_XMM6_Qa;...
(translation_unit "void fatalbox(char *p,...)\n\n{\n long lVar1;\n char in_AL;\n char *msg_00;\n undefined8 in_RCX;\n undefined8 in_RDX;\n undefined8 in_RSI;\n undefined8 in_R8;\n undefined8 in_R9;\n long in_FS_OFFSET;\n undefined8 in_XMM0_Qa;\n undefined8 in_XMM1_Qa;\n undefined8 in_XMM2_Qa;\n undefined8 ...
(translation_unit "void function_1(char *p,...)\n\n{\n long var_7;\n char var_1;\n char *msg_00;\n type_1 in_RCX;\n type_1 in_RDX;\n type_1 in_RSI;\n type_1 in_R8;\n type_1 in_R9;\n long var_2;\n type_1 in_XMM0_Qa;\n type_1 in_XMM1_Qa;\n type_1 in_XMM2_Qa;\n type_1 in_XMM3_Qa;\n type_1 in_XMM4_Qa;\n 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))) (variadic_parameter))) body: (compound_statement (declaration type:...
1579_putty_and_putty_strip.c
zlib_literal
FUN_00195470
zlib_literal
void zlib_literal(LZ77Context *ectx,uchar c) { Outbuf *out_00; uchar c_local; LZ77Context *ectx_local; Outbuf *out; out_00 = (Outbuf *)ectx->userdata; if (out_00->comp_disabled == 0) { if (c < 0x90) { outbits(out_00,(ulong)""[(int)(c + 0x30)],8); } else { outbits(out_00,(long)(i...
void FUN_00195470(long param_1,byte param_2) { long lVar1; lVar1 = *(long *)(param_1 + 8); if (*(int *)(lVar1 + 0x20) == 0) { if (param_2 < 0x90) { FUN_0019533d(lVar1,(&DAT_00211520)[(int)(param_2 + 0x30)],8); } else { FUN_0019533d(lVar1,(uint)(byte)(&DAT_00211520)[(int)(uint)param_2]...
(translation_unit "void FUN_00195470(long param_1,byte param_2)\n\n{\n long lVar1;\n \n lVar1 = *(long *)(param_1 + 8);\n if (*(int *)(lVar1 + 0x20) == 0) {\n if (param_2 < 0x90) {\n FUN_0019533d(lVar1,(&DAT_00211520)[(int)(param_2 + 0x30)],8);\n }\n else {\n FUN_0019533d(lVar1,(uint)(byte)(&DAT_...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV EAX,ESI MOV byte ptr [RBP + -0x1c],AL MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x8] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x20] TEST EAX,EAX JZ 0x001954b2 MOVZX ECX,byte ptr [RBP + -0x1...
void function_1(type_1 *ectx,type_2 var_1) { type_3 *out_00; type_2 c_local; type_1 *ectx_local; type_3 *out; out_00 = (type_3 *)ectx->userdata; if (out_00->comp_disabled == 0) { if (var_1 < 0x90) { var_2(out_00,(type_4)""[(int)(var_1 + 0x30)],8); } else { var_2(out_00,(long)(in...
(translation_unit "void zlib_literal(LZ77Context *ectx,uchar c)\n\n{\n Outbuf *out_00;\n uchar c_local;\n LZ77Context *ectx_local;\n Outbuf *out;\n \n out_00 = (Outbuf *)ectx->userdata;\n if (out_00->comp_disabled == 0) {\n if (c < 0x90) {\n outbits(out_00,(ulong)""[(int)(c + 0x30)],8);\n }\n else ...
(translation_unit "void function_1(type_1 *ectx,type_2 var_1)\n\n{\n type_3 *out_00;\n type_2 c_local;\n type_1 *ectx_local;\n type_3 *out;\n \n out_00 = (type_3 *)ectx->userdata;\n if (out_00->comp_disabled == 0) {\n if (var_1 < 0x90) {\n var_2(out_00,(type_4)""[(int)(var_1 + 0x30)],8);\n }\n else...
(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...
1275_putty_and_putty_strip.c
get160
FUN_00174822
get160
Bignum get160(char **data,int *datalen) { Bignum_conflict pBVar1; int *datalen_local; char **data_local; Bignum b; if (*datalen < 0x14) { pBVar1 = (Bignum_conflict)0x0; } else { pBVar1 = bignum_from_bytes((uchar *)*data,0x14); *data = *data + 0x14; *datalen = *datalen + -0x14; } r...
undefined8 FUN_00174822(long *param_1,int *param_2) { undefined8 uVar1; if (*param_2 < 0x14) { uVar1 = 0; } else { uVar1 = FUN_0016a627(*param_1,0x14); *param_1 = *param_1 + 0x14; *param_2 = *param_2 + -0x14; } return uVar1; }
(translation_unit "undefined8 FUN_00174822(long *param_1,int *param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_2 < 0x14) {\n uVar1 = 0;\n }\n else {\n uVar1 = FUN_0016a627(*param_1,0x14);\n *param_1 = *param_1 + 0x14;\n *param_2 = *param_2 + -0x14;\n }\n return uVar1;\n}\n\n" (function_definition "u...
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 + -0x20] MOV EAX,dword ptr [RAX] CMP EAX,0x13 JG 0x00174844 MOV EAX,0x0 JMP 0x00174881 MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] MOV ESI,0x14 MOV RDI,RAX CALL 0x0016a627 MOV qword ptr [...
type_1 function_1(char **data,int *datalen) { type_2 pBVar1; int *datalen_local; char **data_local; type_1 b; if (*datalen < 0x14) { pBVar1 = (type_2)0x0; } else { pBVar1 = var_1((type_3 *)*data,0x14); *data = *data + 0x14; *datalen = *datalen + -0x14; } return pBVar1; }
(translation_unit "Bignum get160(char **data,int *datalen)\n\n{\n Bignum_conflict pBVar1;\n int *datalen_local;\n char **data_local;\n Bignum b;\n \n if (*datalen < 0x14) {\n pBVar1 = (Bignum_conflict)0x0;\n }\n else {\n pBVar1 = bignum_from_bytes((uchar *)*data,0x14);\n *data = *data + 0x14;\n *dat...
(translation_unit "type_1 function_1(char **data,int *datalen)\n\n{\n type_2 pBVar1;\n int *datalen_local;\n char **data_local;\n type_1 b;\n \n if (*datalen < 0x14) {\n pBVar1 = (type_2)0x0;\n }\n else {\n pBVar1 = var_1((type_3 *)*data,0x14);\n *data = *data + 0x14;\n *datalen = *datalen + -0x14;\...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (pri...
1851_putty_and_putty_strip.c
askhk
FUN_001b9896
askhk
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int askhk(void *frontend,char *algname,char *betteralgs,_func_void_void_ptr_int *callback,void *ctx) { int iVar1; char *msg; undefined8 uVar2; void *pvVar3; GtkWidget *parentwin; void *ctx_local; _func_void_void_ptr_int *callback_...
bool FUN_001b9896(undefined8 param_1,undefined8 param_2,undefined8 param_3) { undefined4 uVar1; int iVar2; undefined8 uVar3; undefined8 uVar4; undefined8 uVar5; uVar3 = FUN_0012d477("The first host key type we have stored for this server\nis %s, which is below the configured warning threshold.\nThe ser...
(translation_unit "bool FUN_001b9896(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined4 uVar1;\n int iVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n \n uVar3 = FUN_0012d477("The first host key type we have stored for this server\nis %s, which is below the configured ...
PUSH RBP MOV RBP,RSP PUSH R12 PUSH RBX 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 qword ptr [RBP + -0x48],R8 MOV RDX,qword ptr [RBP + -0x38] MOV RAX,qword ptr [RBP + -0x30] MOV RSI,RAX LEA RDI,[0x2149e0] MOV EAX,0x0 CA...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(void *frontend,char *algname,char *betteralgs,type_1 *callback,void *ctx) { int var_8; char *msg; type_2 uVar2; void *pvVar3; type_3 *parentwin; void *ctx_local; type_1 *callback_local; char *betteralgs_local; c...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint askhk(void *frontend,char *algname,char *betteralgs,_func_void_void_ptr_int *callback,void *ctx)\n\n{\n int iVar1;\n char *msg;\n undefined8 uVar2;\n void *pvVar3;\n GtkWidget *parentwin;\n void *ctx_local;\n _func...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *frontend,char *algname,char *betteralgs,type_1 *callback,void *ctx)\n\n{\n int var_8;\n char *msg;\n type_2 uVar2;\n void *pvVar3;\n type_3 *parentwin;\n void *ctx_local;\n type_1 *callback_local;\...
(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: (primitive_type) declarator:...
1646_putty_and_putty_strip.c
sblines
FUN_0019b985
sblines
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ wchar_t sblines(Terminal *term) { Terminal *term_local; wchar_t sblines; sblines = count234(term->scrollback); if (((term->erase_to_scrollback != L'\0') && (term->alt_which != L'\0')) && (term->alt_screen != (tree234 *)0x0)) { ...
int FUN_0019b985(long param_1) { undefined4 local_c; local_c = FUN_001ad557(*(undefined8 *)(param_1 + 8)); if (((*(int *)(param_1 + 0x11d4) != 0) && (*(int *)(param_1 + 0x20c) != 0)) && (*(long *)(param_1 + 0x18) != 0)) { local_c = local_c + *(int *)(param_1 + 0x210); } return local_c; }
(translation_unit "int FUN_0019b985(long param_1)\n\n{\n undefined4 local_c;\n \n local_c = FUN_001ad557(*(undefined8 *)(param_1 + 8));\n if (((*(int *)(param_1 + 0x11d4) != 0) && (*(int *)(param_1 + 0x20c) != 0)) &&\n (*(long *)(param_1 + 0x18) != 0)) {\n local_c = local_c + *(int *)(param_1 + 0x210);\n }\...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x8] MOV RDI,RAX CALL 0x001ad557 MOV dword ptr [RBP + -0x4],EAX MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0x11d4] TEST EAX,EAX JZ 0x0019b9da MOV RAX,qword ptr [RBP + -0x18] MOV EAX,d...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 function_1(type_2 *term) { type_2 *term_local; type_1 function_1; function_1 = var_1(term->scrollback); if (((term->erase_to_scrollback != L'\0') && (term->alt_which != L'\0')) && (term->alt_screen != (type_3 *)0x0)) { ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t sblines(Terminal *term)\n\n{\n Terminal *term_local;\n wchar_t sblines;\n \n sblines = count234(term->scrollback);\n if (((term->erase_to_scrollback != L'\0') && (term->alt_which != L'\0')) &&\n (term->alt_sc...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *term)\n\n{\n type_2 *term_local;\n type_1 function_1;\n \n function_1 = var_1(term->scrollback);\n if (((term->erase_to_scrollback != L'\0') && (term->alt_which != L'\0')) &&\n (term->alt_sc...
(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))))) body: (compound_statement (declaration type: (type_id...
1149_putty_and_putty_strip.c
internal_mod
FUN_00168591
internal_mod
void internal_mod(BignumInt *a,int alen,BignumInt *m,int mlen,BignumInt *quot,BignumInt recip, int rshift) { BignumInt BVar1; undefined auVar2 [16]; undefined auVar3 [16]; undefined auVar4 [16]; undefined auVar5 [16]; undefined auVar6 [16]; undefined auVar7 [16]; undefined auVar8 [16]...
void FUN_00168591(long param_1,int param_2,long param_3,int param_4,long param_5,ulong param_6, int param_7) { ulong uVar1; long lVar2; undefined auVar3 [16]; undefined auVar4 [16]; undefined auVar5 [16]; undefined auVar6 [16]; undefined auVar7 [16]; undefined auVar8 [16]; undefined...
(translation_unit "void FUN_00168591(long param_1,int param_2,long param_3,int param_4,long param_5,ulong param_6,\n int param_7)\n\n{\n ulong uVar1;\n long lVar2;\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [16];\n undef...
PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 SUB RSP,0x1b0 MOV qword ptr [RBP + -0x118],RDI MOV dword ptr [RBP + -0x11c],ESI MOV qword ptr [RBP + -0x128],RDX MOV dword ptr [RBP + -0x120],ECX MOV qword ptr [RBP + -0x130],R8 MOV qword ptr [RBP + -0x138],R9 MOV dword ptr [RBP + -0x110],0x0 JMP 0x00168c78 MOV E...
void function_1(type_1 *a,int var_1,type_1 *m,int var_2,type_1 *var_28,type_1 recip, int var_11) { type_1 var_5; type_2 var_9 [16]; type_2 var_15 [16]; type_2 var_21 [16]; type_2 var_10 [16]; type_2 var_16 [16]; type_2 var_22 [16]; type_2 auVar8 [16]; type_2 var_17 [16]; type_2 au...
(translation_unit "void internal_mod(BignumInt *a,int alen,BignumInt *m,int mlen,BignumInt *quot,BignumInt recip,\n int rshift)\n\n{\n BignumInt BVar1;\n undefined auVar2 [16];\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [...
(translation_unit "void function_1(type_1 *a,int var_1,type_1 *m,int var_2,type_1 *var_28,type_1 recip,\n int var_11)\n\n{\n type_1 var_5;\n type_2 var_9 [16];\n type_2 var_15 [16];\n type_2 var_21 [16];\n type_2 var_10 [16];\n type_2 var_16 [16];\n type_2 var_22 [16];\n type_2 auVar8 [16];\n t...
(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...
1433_putty_and_putty_strip.c
freersakey
FUN_00185dc9
freersakey
void freersakey(RSAKey *key) { RSAKey *key_local; if (key->modulus != (Bignum)0x0) { freebn((Bignum_conflict)key->modulus); } if (key->exponent != (Bignum)0x0) { freebn((Bignum_conflict)key->exponent); } if (key->private_exponent != (Bignum)0x0) { freebn((Bignum_conflict)key->private_expone...
void FUN_00185dc9(long param_1) { if (*(long *)(param_1 + 8) != 0) { FUN_00166d90(*(undefined8 *)(param_1 + 8)); } if (*(long *)(param_1 + 0x10) != 0) { FUN_00166d90(*(undefined8 *)(param_1 + 0x10)); } if (*(long *)(param_1 + 0x18) != 0) { FUN_00166d90(*(undefined8 *)(param_1 + 0x18)); } if ...
(translation_unit "void FUN_00185dc9(long param_1)\n\n{\n if (*(long *)(param_1 + 8) != 0) {\n FUN_00166d90(*(undefined8 *)(param_1 + 8));\n }\n if (*(long *)(param_1 + 0x10) != 0) {\n FUN_00166d90(*(undefined8 *)(param_1 + 0x10));\n }\n if (*(long *)(param_1 + 0x18) != 0) {\n FUN_00166d90(*(undefined8 *)...
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 + 0x8] TEST RAX,RAX JZ 0x00185df2 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x8] MOV RDI,RAX CALL 0x00166d90 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x10] TEST RAX,RAX JZ ...
void function_1(type_1 *key) { type_1 *key_local; if (key->modulus != (type_2)0x0) { var_1((type_3)key->modulus); } if (key->exponent != (type_2)0x0) { var_1((type_3)key->exponent); } if (key->private_exponent != (type_2)0x0) { var_1((type_3)key->private_exponent); } if (key->p != (type...
(translation_unit "void freersakey(RSAKey *key)\n\n{\n RSAKey *key_local;\n \n if (key->modulus != (Bignum)0x0) {\n freebn((Bignum_conflict)key->modulus);\n }\n if (key->exponent != (Bignum)0x0) {\n freebn((Bignum_conflict)key->exponent);\n }\n if (key->private_exponent != (Bignum)0x0) {\n freebn((Bignu...
(translation_unit "void function_1(type_1 *key)\n\n{\n type_1 *key_local;\n \n if (key->modulus != (type_2)0x0) {\n var_1((type_3)key->modulus);\n }\n if (key->exponent != (type_2)0x0) {\n var_1((type_3)key->exponent);\n }\n if (key->private_exponent != (type_2)0x0) {\n var_1((type_3)key->private_expone...
(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...
1227_putty_and_putty_strip.c
des_key_setup
FUN_0016f437
des_key_setup
void des_key_setup(word32 key_msw,word32 key_lsw,DESContext *sched) { long lVar1; word32 wVar2; long in_FS_OFFSET; DESContext *sched_local; word32 key_lsw_local; word32 key_msw_local; word32 C; word32 D; int i; word32 buf [2]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); buf[0] = key_lsw; buf[...
void FUN_0016f437(uint param_1,uint param_2,long param_3) { undefined4 uVar1; long in_FS_OFFSET; uint local_24; uint local_20; int local_1c; uint local_18; uint local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_18 = param_2; local_14 = param_1; local_24 = FUN_0016f3b...
(translation_unit "void FUN_0016f437(uint param_1,uint param_2,long param_3)\n\n{\n undefined4 uVar1;\n long in_FS_OFFSET;\n uint local_24;\n uint local_20;\n int local_1c;\n uint local_18;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = param_2;\n local_14 = p...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV dword ptr [RBP + -0x24],EDI MOV dword ptr [RBP + -0x28],ESI MOV qword ptr [RBP + -0x30],RDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV EAX,dword ptr [RBP + -0x28] MOV dword ptr [RBP + -0x10],EAX MOV EAX,dword ptr [RBP + -0x24] MOV dword ptr [RBP + -0...
void function_1(type_1 key_msw,type_1 key_lsw,type_2 *sched) { long var_6; type_1 wVar2; long var_1; type_2 *sched_local; type_1 key_lsw_local; type_1 key_msw_local; type_1 var_4; type_1 var_5; int var_3; type_1 buf [2]; var_6 = *(long *)(var_1 + 0x28); buf[0] = key_lsw; buf[1] = key_msw;...
(translation_unit "void des_key_setup(word32 key_msw,word32 key_lsw,DESContext *sched)\n\n{\n long lVar1;\n word32 wVar2;\n long in_FS_OFFSET;\n DESContext *sched_local;\n word32 key_lsw_local;\n word32 key_msw_local;\n word32 C;\n word32 D;\n int i;\n word32 buf [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0...
(translation_unit "void function_1(type_1 key_msw,type_1 key_lsw,type_2 *sched)\n\n{\n long var_6;\n type_1 wVar2;\n long var_1;\n type_2 *sched_local;\n type_1 key_lsw_local;\n type_1 key_msw_local;\n type_1 var_4;\n type_1 var_5;\n int var_3;\n type_1 buf [2];\n \n var_6 = *(long *)(var_1 + 0x28);\n buf[...
(translation_unit (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)) (parameter_declaration typ...
907_putty_and_putty_strip.c
ssh_pkt_addbyte
FUN_001408b9
ssh_pkt_addbyte
void ssh_pkt_addbyte(Packet *pkt,uchar byte) { uchar byte_local; Packet *pkt_local; byte_local = byte; pkt_local = pkt; ssh_pkt_adddata(pkt,&byte_local,1); return; }
void FUN_001408b9(undefined8 param_1,undefined param_2) { undefined local_14 [4]; undefined8 local_10; local_14[0] = param_2; local_10 = param_1; FUN_00140841(param_1,local_14,1); return; }
(translation_unit "void FUN_001408b9(undefined8 param_1,undefined param_2)\n\n{\n undefined local_14 [4];\n undefined8 local_10;\n \n local_14[0] = param_2;\n local_10 = param_1;\n FUN_00140841(param_1,local_14,1);\n return;\n}\n\n" (function_definition "void FUN_001408b9(undefined8 param_1,undefined param_2)\n\...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV EAX,ESI MOV byte ptr [RBP + -0xc],AL LEA RCX,[RBP + -0xc] MOV RAX,qword ptr [RBP + -0x8] MOV EDX,0x1 MOV RSI,RCX MOV RDI,RAX CALL 0x00140841 NOP LEAVE RET
void function_1(type_1 *pkt,type_2 byte) { type_2 byte_local; type_1 *pkt_local; byte_local = byte; pkt_local = pkt; var_1(pkt,&byte_local,1); return; }
(translation_unit "void ssh_pkt_addbyte(Packet *pkt,uchar byte)\n\n{\n uchar byte_local;\n Packet *pkt_local;\n \n byte_local = byte;\n pkt_local = pkt;\n ssh_pkt_adddata(pkt,&byte_local,1);\n return;\n}\n\n" (function_definition "void ssh_pkt_addbyte(Packet *pkt,uchar byte)\n\n{\n uchar byte_local;\n Packet *...
(translation_unit "void function_1(type_1 *pkt,type_2 byte)\n\n{\n type_2 byte_local;\n type_1 *pkt_local;\n \n byte_local = byte;\n pkt_local = pkt;\n var_1(pkt,&byte_local,1);\n return;\n}\n\n" (function_definition "void function_1(type_1 *pkt,type_2 byte)\n\n{\n type_2 byte_local;\n type_1 *pkt_local;\n \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: (identi...
1216_putty_and_putty_strip.c
ccp_length_op
FUN_0016ec01
ccp_length_op
void ccp_length_op(ccp_context *ctx,uchar *blk,int len,ulong seq) { long lVar1; long in_FS_OFFSET; ulong seq_local; int len_local; uchar *blk_local; ccp_context *ctx_local; uchar iv [8]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); iv[0] = '\0'; iv[1] = '\0'; iv[2] = '\0'; iv[3] = '\0'; iv[4] ...
void FUN_0016ec01(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) { long in_FS_OFFSET; undefined local_18; undefined local_17; undefined local_16; undefined local_15; undefined local_14; undefined local_13; undefined local_12; undefined local_11; long local_10; local_10...
(translation_unit "void FUN_0016ec01(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_18;\n undefined local_17;\n undefined local_16;\n undefined local_15;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\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 qword ptr [RBP + -0x30],RCX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV byte ptr [RBP + -0x10],0x0 MOV byte ptr [RBP + -0xf],0x0 MOV byte ptr [RBP + -0xe],...
void function_1(type_1 *ctx,type_2 *blk,int len,type_3 var_2) { long var_5; long var_1; type_3 seq_local; int len_local; type_2 *blk_local; type_1 *ctx_local; type_2 iv [8]; var_5 = *(long *)(var_1 + 0x28); iv[0] = '\0'; iv[1] = '\0'; iv[2] = '\0'; iv[3] = '\0'; iv[4] = (type_2)var_2; i...
(translation_unit "void ccp_length_op(ccp_context *ctx,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n ccp_context *ctx_local;\n uchar iv [8];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n iv[0] = '\0';\n iv[1] = '\0';\n iv[2] ...
(translation_unit "void function_1(type_1 *ctx,type_2 *blk,int len,type_3 var_2)\n\n{\n long var_5;\n long var_1;\n type_3 seq_local;\n int len_local;\n type_2 *blk_local;\n type_1 *ctx_local;\n type_2 iv [8];\n \n var_5 = *(long *)(var_1 + 0x28);\n iv[0] = '\0';\n iv[1] = '\0';\n iv[2] = '\0';\n iv[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...
1653_putty_and_putty_strip.c
term_schedule_cblink
FUN_0019beb5
term_schedule_cblink
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_schedule_cblink(Terminal *term) { ulong uVar1; Terminal *term_local; if ((term->blink_cur == L'\0') || (term->has_focus == L'\0')) { term->cblinker = L'\x01'; term->cblink_pending = L'\0'; } else { if (term->c...
void FUN_0019beb5(long param_1) { undefined8 uVar1; if ((*(int *)(param_1 + 0x11bc) == 0) || (*(int *)(param_1 + 0x194) == 0)) { *(undefined4 *)(param_1 + 0x10c) = 1; *(undefined4 *)(param_1 + 0x113c) = 0; } else { if (*(int *)(param_1 + 0x113c) == 0) { uVar1 = FUN_001ad1a6(0x1c2,FUN_0019...
(translation_unit "void FUN_0019beb5(long param_1)\n\n{\n undefined8 uVar1;\n \n if ((*(int *)(param_1 + 0x11bc) == 0) || (*(int *)(param_1 + 0x194) == 0)) {\n *(undefined4 *)(param_1 + 0x10c) = 1;\n *(undefined4 *)(param_1 + 0x113c) = 0;\n }\n else {\n if (*(int *)(param_1 + 0x113c) == 0) {\n uVar1 ...
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 + 0x11bc] TEST EAX,EAX JZ 0x0019bf21 MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x194] TEST EAX,EAX JZ 0x0019bf21 MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x113c] TEST EAX,E...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term) { type_2 uVar1; type_1 *term_local; if ((term->blink_cur == L'\0') || (term->has_focus == L'\0')) { term->cblinker = L'\x01'; term->cblink_pending = L'\0'; } else { if (term->cblink_pending...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_schedule_cblink(Terminal *term)\n\n{\n ulong uVar1;\n Terminal *term_local;\n \n if ((term->blink_cur == L'\0') || (term->has_focus == L'\0')) {\n term->cblinker = L'\x01';\n term->cblink_pending = L'\0';\...
(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 uVar1;\n type_1 *term_local;\n \n if ((term->blink_cur == L'\0') || (term->has_focus == L'\0')) {\n term->cblinker = L'\x01';\n term->cblink_pending = L'\0';\n }\n else ...
(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...
1114_putty_and_putty_strip.c
blowfish_lsb_encrypt_cbc
FUN_0016562b
blowfish_lsb_encrypt_cbc
void blowfish_lsb_encrypt_cbc(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 xL; word32 xR; word32 out [2]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); if ((len & 7U) != 0) { ...
void FUN_0016562b(uint *param_1,uint param_2,long param_3) { long in_FS_OFFSET; uint local_34; uint *local_30; uint local_28; uint local_24; uint local_18; uint local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if ((param_2 & 7) != 0) { /* WARNING: Subrouti...
(translation_unit "void FUN_0016562b(uint *param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n uint local_34;\n uint *local_30;\n uint local_28;\n uint local_24;\n uint local_18;\n uint local_14;\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 0x00165676 LEA RCX,[0x20d860] MOV EDX,0x133 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_6; type_3 var_7; type_3 xL; type_3 xR; type_3 out [2]; var_9 = *(long *)(var_1 + 0x28); if ((var_2 & 7U) != 0) { /* WARNING: Subroutine do...
(translation_unit "void blowfish_lsb_encrypt_cbc(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 xL;\n word32 xR;\n word32 out [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0...
(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_6;\n type_3 var_7;\n type_3 xL;\n type_3 xR;\n type_3 out [2];\n \n var_9 = *(long *)(var_1 + 0x28);\n if ((var_2 & 7U) != 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: (primitive_type) declarator: (identif...
1071_putty_and_putty_strip.c
ssh_unthrottle
FUN_0015d694
ssh_unthrottle
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_unthrottle(void *handle,int bufsize) { int bufsize_local; void *handle_local; Ssh_conflict ssh; if (*(int *)((long)handle + 0x250) == 1) { if ((*(int *)((long)handle + 0x260) != 0) && (bufsize < 0x8000)) { *(undefi...
void FUN_0015d694(long param_1,int param_2) { if (*(int *)(param_1 + 0x250) == 1) { if ((*(int *)(param_1 + 0x260) != 0) && (param_2 < 0x8000)) { *(undefined4 *)(param_1 + 0x260) = 0; FUN_0014491b(param_1,0xffffffff); } } else if (*(long *)(param_1 + 0x1a8) != 0) { FUN_00152128(*(undefin...
(translation_unit "void FUN_0015d694(long param_1,int param_2)\n\n{\n if (*(int *)(param_1 + 0x250) == 1) {\n if ((*(int *)(param_1 + 0x260) != 0) && (param_2 < 0x8000)) {\n *(undefined4 *)(param_1 + 0x260) = 0;\n FUN_0014491b(param_1,0xffffffff);\n }\n }\n else if (*(long *)(param_1 + 0x1a8) != 0) {...
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 EAX,dword ptr [RAX + 0x250] CMP EAX,0x1 JNZ 0x0015d6f2 MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x260] TEST E...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(void *handle,int var_1) { int bufsize_local; void *handle_local; type_1 ssh; if (*(int *)((long)handle + 0x250) == 1) { if ((*(int *)((long)handle + 0x260) != 0) && (var_1 < 0x8000)) { *(type_2 *)((long)hand...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_unthrottle(void *handle,int bufsize)\n\n{\n int bufsize_local;\n void *handle_local;\n Ssh_conflict ssh;\n \n if (*(int *)((long)handle + 0x250) == 1) {\n if ((*(int *)((long)handle + 0x260) != 0) && (bufsize...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,int var_1)\n\n{\n int bufsize_local;\n void *handle_local;\n type_1 ssh;\n \n if (*(int *)((long)handle + 0x250) == 1) {\n if ((*(int *)((long)handle + 0x260) != 0) && (var_1 < 0x8000)) {\...
(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: (primitive_type) declarator:...
1878_putty_and_putty_strip.c
x11_alloc_subfont
FUN_001bbfae
x11_alloc_subfont
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void x11_alloc_subfont(x11font *xfont,wchar_t sfid) { undefined8 uVar1; char *ptr; XFontStruct *pXVar2; wchar_t sfid_local; x11font *xfont_local; Display *disp; char *derived_name; uVar1 = gdk_display_get_default(); uVar1 =...
void FUN_001bbfae(long param_1,uint param_2) { undefined8 uVar1; undefined8 uVar2; uVar1 = gdk_display_get_default(); uVar1 = gdk_x11_display_get_xdisplay(uVar1); uVar2 = FUN_001bb584(*(undefined8 *)(param_1 + 0x28),param_2 & 1,(param_2 & 2) != 0); uVar1 = XLoadQueryFont(uVar1,uVar2); *(undefined8 *)...
(translation_unit "void FUN_001bbfae(long param_1,uint param_2)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n \n uVar1 = gdk_display_get_default();\n uVar1 = gdk_x11_display_get_xdisplay(uVar1);\n uVar2 = FUN_001bb584(*(undefined8 *)(param_1 + 0x28),param_2 & 1,(param_2 & 2) != 0);\n uVar1 = XLoadQueryFont(uVar...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI CALL 0x00114df0 MOV RDI,RAX CALL 0x00115fa0 MOV qword ptr [RBP + -0x10],RAX MOV EAX,dword ptr [RBP + -0x1c] AND EAX,0x2 TEST EAX,EAX SETNZ AL MOVZX EDX,AL MOV EAX,dword ptr [RBP + -0x1c] AND EAX,0x1 MOV ECX,EAX MOV RAX,qwo...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *xfont,type_2 var_4) { type_3 uVar1; char *ptr; type_4 *pXVar2; type_2 sfid_local; type_1 *xfont_local; type_5 *disp; char *derived_name; uVar1 = var_1(); uVar1 = var_2(uVar1); ptr = var_3(xfont->fo...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_alloc_subfont(x11font *xfont,wchar_t sfid)\n\n{\n undefined8 uVar1;\n char *ptr;\n XFontStruct *pXVar2;\n wchar_t sfid_local;\n x11font *xfont_local;\n Display *disp;\n char *derived_name;\n \n uVar1 = gdk_d...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *xfont,type_2 var_4)\n\n{\n type_3 uVar1;\n char *ptr;\n type_4 *pXVar2;\n type_2 sfid_local;\n type_1 *xfont_local;\n type_5 *disp;\n char *derived_name;\n \n uVar1 = var_1();\n uVar1 = var_2...
(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...
914_putty_and_putty_strip.c
ssh1_pkt_addmp
FUN_00140b1d
ssh1_pkt_addmp
void ssh1_pkt_addmp(Packet *pkt,Bignum b) { int len_00; void *data_00; Bignum b_local; Packet *pkt_local; int len; uchar *data; len_00 = ssh1_bignum_length((Bignum_conflict)b); data_00 = safemalloc((long)len_00,1); ssh1_write_bignum(data_00,(Bignum_conflict)b); ssh_pkt_adddata(pkt,data_00,len_0...
void FUN_00140b1d(undefined8 param_1,undefined8 param_2) { int iVar1; undefined8 uVar2; iVar1 = FUN_0016ac11(param_2); uVar2 = FUN_0012e037((long)iVar1,1); FUN_0016ae1e(uVar2,param_2); FUN_00140841(param_1,uVar2,iVar1); FUN_0012e243(uVar2); return; }
(translation_unit "void FUN_00140b1d(undefined8 param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n iVar1 = FUN_0016ac11(param_2);\n uVar2 = FUN_0012e037((long)iVar1,1);\n FUN_0016ae1e(uVar2,param_2);\n FUN_00140841(param_1,uVar2,iVar1);\n FUN_0012e243(uVar2);\n return;\n}\n\n" (function_def...
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 + -0x20] MOV RDI,RAX CALL 0x0016ac11 MOV dword ptr [RBP + -0xc],EAX MOV EAX,dword ptr [RBP + -0xc] CDQE MOV ESI,0x1 MOV RDI,RAX CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV RDX,qword ptr [RBP +...
void function_1(type_1 *pkt,type_2 b) { int len_00; void *data_00; type_2 b_local; type_1 *pkt_local; int len; type_3 *data; len_00 = var_1((type_4)b); data_00 = var_2((long)len_00,1); var_3(data_00,(type_4)b); var_4(pkt,data_00,len_00); var_5(data_00); return; }
(translation_unit "void ssh1_pkt_addmp(Packet *pkt,Bignum b)\n\n{\n int len_00;\n void *data_00;\n Bignum b_local;\n Packet *pkt_local;\n int len;\n uchar *data;\n \n len_00 = ssh1_bignum_length((Bignum_conflict)b);\n data_00 = safemalloc((long)len_00,1);\n ssh1_write_bignum(data_00,(Bignum_conflict)b);\n ss...
(translation_unit "void function_1(type_1 *pkt,type_2 b)\n\n{\n int len_00;\n void *data_00;\n type_2 b_local;\n type_1 *pkt_local;\n int len;\n type_3 *data;\n \n len_00 = var_1((type_4)b);\n data_00 = var_2((long)len_00,1);\n var_3(data_00,(type_4)b);\n var_4(pkt,data_00,len_00);\n var_5(data_00);\n retu...
(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...
1248_putty_and_putty_strip.c
des3_ssh2_encrypt_blk
FUN_00173012
des3_ssh2_encrypt_blk
void des3_ssh2_encrypt_blk(void *handle,uchar *blk,int len) { int len_local; uchar *blk_local; void *handle_local; DESContext *keys; des_cbc3_encrypt(blk,len,(DESContext *)handle); return; }
void FUN_00173012(undefined8 param_1,undefined8 param_2,undefined4 param_3) { FUN_00172466(param_2,param_3,param_1); return; }
(translation_unit "void FUN_00173012(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172466(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_00173012(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172466(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_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_cbc3_encrypt(blk,len,(DESContext *)handle);\n return;\n}\n\n" (function_definition "void des3_ssh2_encrypt_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...
1561_putty_and_putty_strip.c
share_sent
FUN_00193d3d
share_sent
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void share_sent(Plug plug,int bufsize) { int bufsize_local; Plug plug_local; return; }
void FUN_00193d3d(void) { return; }
(translation_unit "void FUN_00193d3d(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_00193d3d(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00193d3d(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 dword ptr [RBP + -0xc],ESI NOP POP RBP RET
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 plug,int bufsize) { int bufsize_local; type_1 plug_local; return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_sent(Plug plug,int bufsize)\n\n{\n int bufsize_local;\n Plug plug_local;\n \n return;\n}\n\n" comment (function_definition "void share_sent(Plug plug,int bufsize)\n\n{\n int bufsize_local;\n Plug plug_local;\...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int bufsize)\n\n{\n int bufsize_local;\n type_1 plug_local;\n \n return;\n}\n\n" comment (function_definition "void function_1(type_1 plug,int bufsize)\n\n{\n int bufsize_local;\n type_1 plug...
(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)))) body: (compound...
1756_putty_and_putty_strip.c
columns_alloc_horiz
FUN_001b14ad
columns_alloc_horiz
void columns_alloc_horiz(Columns *cols,gint ourwidth,widget_dim_fn_t get_width) { gint *pgVar1; ColumnsChild *pCVar2; int iVar3; int iVar4; gint gVar5; undefined8 uVar6; gint gVar7; widget_dim_fn_t get_width_local; gint ourwidth_local; Columns *cols_local; gint i; gint ncols; gint percent; ...
void FUN_001b14ad(long param_1,int param_2,code *param_3) { long lVar1; long *plVar2; int iVar3; int iVar4; undefined4 uVar5; undefined8 uVar6; int local_40; int local_3c; int local_38; undefined8 *local_28; undefined4 *local_20; uVar6 = gtk_container_get_type(); uVar6 = g_type_check_inst...
(translation_unit "void FUN_001b14ad(long param_1,int param_2,code *param_3)\n\n{\n long lVar1;\n long *plVar2;\n int iVar3;\n int iVar4;\n undefined4 uVar5;\n undefined8 uVar6;\n int local_40;\n int local_3c;\n int local_38;\n undefined8 *local_28;\n undefined4 *local_20;\n \n uVar6 = gtk_container_get_ty...
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 CALL 0x00114a90 MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x48] MOV RSI,RDX MOV RDI,RAX CALL 0x00114570 MOV RDI,RAX CALL 0x00114f30 MOV dword ptr [RBP + -0x2c],EAX MOV dword ptr [RBP + -0x34],0x...
void function_1(type_1 *cols,type_2 var_5,type_3 get_width) { type_2 *pgVar1; type_4 *var_8; int var_6; int var_14; type_2 gVar5; type_5 uVar6; type_2 var_15; type_3 get_width_local; type_2 ourwidth_local; type_1 *cols_local; type_2 var_11; type_2 var_10; type_2 var_12; type_2 border; ty...
(translation_unit "void columns_alloc_horiz(Columns *cols,gint ourwidth,widget_dim_fn_t get_width)\n\n{\n gint *pgVar1;\n ColumnsChild *pCVar2;\n int iVar3;\n int iVar4;\n gint gVar5;\n undefined8 uVar6;\n gint gVar7;\n widget_dim_fn_t get_width_local;\n gint ourwidth_local;\n Columns *cols_local;\n gint i;\...
(translation_unit "void function_1(type_1 *cols,type_2 var_5,type_3 get_width)\n\n{\n type_2 *pgVar1;\n type_4 *var_8;\n int var_6;\n int var_14;\n type_2 gVar5;\n type_5 uVar6;\n type_2 var_15;\n type_3 get_width_local;\n type_2 ourwidth_local;\n type_1 *cols_local;\n type_2 var_11;\n type_2 var_10;\n typ...
(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...
1232_putty_and_putty_strip.c
des_3cbc_encrypt
FUN_00172403
des_3cbc_encrypt
void des_3cbc_encrypt(uchar *blk,uint len,DESContext *scheds) { DESContext *scheds_local; uint len_local; uchar *blk_local; des_cbc_encrypt(blk,len,scheds); des_cbc_decrypt(blk,len,scheds + 1); des_cbc_encrypt(blk,len,scheds + 2); return; }
void FUN_00172403(undefined8 param_1,undefined4 param_2,long param_3) { FUN_00172019(param_1,param_2,param_3); FUN_00172208(param_1,param_2,param_3 + 0x88); FUN_00172019(param_1,param_2,param_3 + 0x110); return; }
(translation_unit "void FUN_00172403(undefined8 param_1,undefined4 param_2,long param_3)\n\n{\n FUN_00172019(param_1,param_2,param_3);\n FUN_00172208(param_1,param_2,param_3 + 0x88);\n FUN_00172019(param_1,param_2,param_3 + 0x110);\n return;\n}\n\n" (function_definition "void FUN_00172403(undefined8 param_1,undefin...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV dword ptr [RBP + -0xc],ESI MOV qword ptr [RBP + -0x18],RDX MOV RDX,qword ptr [RBP + -0x18] MOV ECX,dword ptr [RBP + -0xc] MOV RAX,qword ptr [RBP + -0x8] MOV ESI,ECX MOV RDI,RAX CALL 0x00172019 MOV RAX,qword ptr [RBP + -0x18] LEA RDX,[RAX + 0x88] MOV E...
void function_1(type_1 *blk,type_2 len,type_3 *var_3) { type_3 *scheds_local; type_2 len_local; type_1 *blk_local; var_1(blk,len,var_3); var_2(blk,len,var_3 + 1); var_1(blk,len,var_3 + 2); return; }
(translation_unit "void des_3cbc_encrypt(uchar *blk,uint len,DESContext *scheds)\n\n{\n DESContext *scheds_local;\n uint len_local;\n uchar *blk_local;\n \n des_cbc_encrypt(blk,len,scheds);\n des_cbc_decrypt(blk,len,scheds + 1);\n des_cbc_encrypt(blk,len,scheds + 2);\n return;\n}\n\n" (function_definition "void...
(translation_unit "void function_1(type_1 *blk,type_2 len,type_3 *var_3)\n\n{\n type_3 *scheds_local;\n type_2 len_local;\n type_1 *blk_local;\n \n var_1(blk,len,var_3);\n var_2(blk,len,var_3 + 1);\n var_1(blk,len,var_3 + 2);\n return;\n}\n\n" (function_definition "void function_1(type_1 *blk,type_2 len,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: (identi...
1323_putty_and_putty_strip.c
getstring
FUN_00179ba9
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_00179ba9(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_00179ba9(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 0x00179cb3 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...
1446_putty_and_putty_strip.c
rsa2_sign
FUN_001872ec
rsa2_sign
uchar * rsa2_sign(void *key,char *data,int datalen,int *siglen) { long lVar1; int iVar2; int iVar3; uchar *puVar4; Bignum_conflict b; Bignum_conflict bn; long in_FS_OFFSET; int *siglen_local; int datalen_local; char *data_local; void *key_local; int i; int j; int nbytes; RSAKey *rsa; u...
undefined * FUN_001872ec(long param_1,undefined8 param_2,undefined4 param_3,int *param_4) { undefined uVar1; int iVar2; int iVar3; undefined *puVar4; undefined8 uVar5; undefined8 uVar6; long in_FS_OFFSET; int local_54; int local_50; undefined local_28 [24]; long local_10; local_10 = *(long ...
(translation_unit "undefined * FUN_001872ec(long param_1,undefined8 param_2,undefined4 param_3,int *param_4)\n\n{\n undefined uVar1;\n int iVar2;\n int iVar3;\n undefined *puVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n long in_FS_OFFSET;\n int local_54;\n int local_50;\n undefined local_28 [24];\n long lo...
PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x58],RDI MOV qword ptr [RBP + -0x60],RSI MOV dword ptr [RBP + -0x64],EDX MOV qword ptr [RBP + -0x70],RCX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x58] MOV qword ptr [RBP + -0x40],RAX LEA RDX,[RBP + -0x20] M...
type_1 * function_1(void *key,char *data,int datalen,int *siglen) { long var_17; int var_4; int var_5; type_1 *var_15; type_2 b; type_2 bn; long var_1; int *siglen_local; int datalen_local; char *data_local; void *key_local; int var_8; int var_9; int nbytes; type_3 *rsa; type_1 *bytes;...
(translation_unit "uchar * rsa2_sign(void *key,char *data,int datalen,int *siglen)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n uchar *puVar4;\n Bignum_conflict b;\n Bignum_conflict bn;\n long in_FS_OFFSET;\n int *siglen_local;\n int datalen_local;\n char *data_local;\n void *key_local;\n int i;\n int j;...
(translation_unit "type_1 * function_1(void *key,char *data,int datalen,int *siglen)\n\n{\n long var_17;\n int var_4;\n int var_5;\n type_1 *var_15;\n type_2 b;\n type_2 bn;\n long var_1;\n int *siglen_local;\n int datalen_local;\n char *data_local;\n void *key_local;\n int var_8;\n int var_9;\n int nbyte...
(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...
1728_putty_and_putty_strip.c
index234
FUN_001ae2e9
index234
void * index234(tree234 *t,int index) { int iVar1; int index_local; tree234 *t_local; node234_conflict *n; if (((t->root != (node234_conflict *)0x0) && (-1 < index)) && (iVar1 = countnode234(t->root), index < iVar1)) { n = t->root; index_local = index; while( true ) { while( true )...
undefined8 FUN_001ae2e9(long *param_1,int param_2) { int iVar1; int local_24; long local_10; if (((*param_1 != 0) && (-1 < param_2)) && (iVar1 = FUN_001ad4de(*param_1), param_2 < iVar1)) { local_10 = *param_1; local_24 = param_2; while( true ) { while( true ) { if (local_10 == 0) ...
(translation_unit "undefined8 FUN_001ae2e9(long *param_1,int param_2)\n\n{\n int iVar1;\n int local_24;\n long local_10;\n \n if (((*param_1 != 0) && (-1 < param_2)) && (iVar1 = FUN_001ad4de(*param_1), param_2 < iVar1)) {\n local_10 = *param_1;\n local_24 = param_2;\n while( true ) {\n while( true ) ...
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 RAX,qword ptr [RAX] TEST RAX,RAX JNZ 0x001ae30e MOV EAX,0x0 JMP 0x001ae41e CMP dword ptr [RBP + -0x1c],0x0 JS 0x001ae328 MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] MOV RDI,R...
void * function_1(type_1 *t,int var_1) { int var_3; int var_5; type_1 *t_local; type_2 *var_4; if (((t->root != (type_2 *)0x0) && (-1 < var_1)) && (var_3 = var_2(t->root), var_1 < var_3)) { var_4 = t->root; var_5 = var_1; while( true ) { while( true ) { if (var_4 == (type_2...
(translation_unit "void * index234(tree234 *t,int index)\n\n{\n int iVar1;\n int index_local;\n tree234 *t_local;\n node234_conflict *n;\n \n if (((t->root != (node234_conflict *)0x0) && (-1 < index)) &&\n (iVar1 = countnode234(t->root), index < iVar1)) {\n n = t->root;\n index_local = index;\n while...
(translation_unit "void * function_1(type_1 *t,int var_1)\n\n{\n int var_3;\n int var_5;\n type_1 *t_local;\n type_2 *var_4;\n \n if (((t->root != (type_2 *)0x0) && (-1 < var_1)) &&\n (var_3 = var_2(t->root), var_1 < var_3)) {\n var_4 = t->root;\n var_5 = var_1;\n while( true ) {\n while( true )...
(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...
1095_putty_and_putty_strip.c
aes128_key
FUN_00163bca
aes128_key
void aes128_key(void *handle,uchar *key) { uchar *key_local; void *handle_local; AESContext *ctx; aes_setup((AESContext *)handle,0x10,key,0x10); return; }
void FUN_00163bca(undefined8 param_1,undefined8 param_2) { FUN_00162f17(param_1,0x10,param_2,0x10); return; }
(translation_unit "void FUN_00163bca(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00162f17(param_1,0x10,param_2,0x10);\n return;\n}\n\n" (function_definition "void FUN_00163bca(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00162f17(param_1,0x10,param_2,0x10);\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,0x10 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,0x10); return; }
(translation_unit "void aes128_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,0x10);\n return;\n}\n\n" (function_definition "void aes128_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,0x10);\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...
1525_putty_and_putty_strip.c
share_xchannel_server_cmp
FUN_0018f4d5
share_xchannel_server_cmp
int share_xchannel_server_cmp(void *av,void *bv) { int iVar1; void *bv_local; void *av_local; share_xchannel *a; share_xchannel *b; if (*(uint *)((long)av + 4) < *(uint *)((long)bv + 4)) { iVar1 = -1; } else if (*(uint *)((long)bv + 4) < *(uint *)((long)av + 4)) { iVar1 = 1; } else { ...
undefined8 FUN_0018f4d5(long param_1,long param_2) { undefined8 uVar1; if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) { uVar1 = 0xffffffff; } else if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) { uVar1 = 1; } else { uVar1 = 0; } return uVar1; }
(translation_unit "undefined8 FUN_0018f4d5(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n uVar1 = 0xffffffff;\n }\n else if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x20] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x10] MOV EDX,dword ptr [RAX + 0x4] MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword p...
int function_1(void *av,void *bv) { int iVar1; void *bv_local; void *av_local; type_1 *a; type_1 *b; if (*(type_2 *)((long)av + 4) < *(type_2 *)((long)bv + 4)) { iVar1 = -1; } else if (*(type_2 *)((long)bv + 4) < *(type_2 *)((long)av + 4)) { iVar1 = 1; } else { iVar1 = 0; } retu...
(translation_unit "int share_xchannel_server_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n share_xchannel *a;\n share_xchannel *b;\n \n if (*(uint *)((long)av + 4) < *(uint *)((long)bv + 4)) {\n iVar1 = -1;\n }\n else if (*(uint *)((long)bv + 4) < *(uint *)((long)av + 4)) {\...
(translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n if (*(type_2 *)((long)av + 4) < *(type_2 *)((long)bv + 4)) {\n iVar1 = -1;\n }\n else if (*(type_2 *)((long)bv + 4) < *(type_2 *)((long)av + 4)) {\n iVar1 = 1;\n }\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: (pointer_...
985_putty_and_putty_strip.c
ssh1_msg_channel_close
FUN_0014af4d
ssh1_msg_channel_close
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh1_msg_channel_close(Ssh_conflict ssh,Packet *pktin) { ssh_channel *c_00; char *text; Packet *pktin_local; Ssh_conflict ssh_local; ssh_channel *c; c_00 = ssh_channel_msg(ssh,pktin); if (c_00 != (ssh_channel *)0x0) { ...
void FUN_0014af4d(undefined8 param_1,long param_2) { long lVar1; undefined8 uVar2; lVar1 = FUN_0015236c(param_1,param_2); if (lVar1 != 0) { if (*(int *)(param_2 + 0x10) == 0x18) { FUN_00152e31(lVar1); } if ((*(int *)(param_2 + 0x10) == 0x19) && ((*(uint *)(lVar1 + 0x18) & 8) == 0)) { ...
(translation_unit "void FUN_0014af4d(undefined8 param_1,long param_2)\n\n{\n long lVar1;\n undefined8 uVar2;\n \n lVar1 = FUN_0015236c(param_1,param_2);\n if (lVar1 != 0) {\n if (*(int *)(param_2 + 0x10) == 0x18) {\n FUN_00152e31(lVar1);\n }\n if ((*(int *)(param_2 + 0x10) == 0x19) && ((*(uint *)(lVa...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RDX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RDX MOV RDI,RAX CALL 0x0015236c MOV qword ptr [RBP + -0x8],RAX CMP qword ptr [RBP + -0x8],0x0 JZ 0x0014b075 MOV RAX,qword ptr [RBP + -0x20] MOV EAX,dw...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { type_3 *var_2; char *text; type_2 *pktin_local; type_1 ssh_local; type_3 *c; var_2 = var_1(ssh,pktin); if (var_2 != (type_3 *)0x0) { if (pktin->type == 0x18) { var_3(var_2);...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_msg_channel_close(Ssh_conflict ssh,Packet *pktin)\n\n{\n ssh_channel *c_00;\n char *text;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n \n c_00 = ssh_channel_msg(ssh,pktin);\n if (c_00...
(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 *var_2;\n char *text;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_3 *c;\n \n var_2 = var_1(ssh,pktin);\n if (var_2 != (type_3 *)0x0) {\n if (pktin->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...
1453_putty_and_putty_strip.c
SHA256_Block
FUN_00187aa3
SHA256_Block
void SHA256_Block(SHA256_State *s,uint32 *block) { uint uVar1; uint uVar2; uint uVar3; uint uVar4; long lVar5; int iVar6; uint uVar7; uint uVar8; uint uVar9; uint uVar10; long in_FS_OFFSET; uint32 *block_local; SHA256_State *s_local; uint32 a; uint32 b; uint32 c; uint32 d; uint32 e...
void FUN_00187aa3(uint *param_1,long param_2) { int iVar1; long in_FS_OFFSET; uint local_184; uint local_180; uint local_17c; uint local_178; uint local_174; uint local_170; uint local_16c; uint local_168; int local_164; uint auStack_158 [82]; long local_10; local_10 = *(long *)(in_FS_O...
(translation_unit "void FUN_00187aa3(uint *param_1,long param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n uint local_184;\n uint local_180;\n uint local_17c;\n uint local_178;\n uint local_174;\n uint local_170;\n uint local_16c;\n uint local_168;\n int local_164;\n uint auStack_158 [82];\n long local_10;\...
PUSH RBP MOV RBP,RSP SUB RSP,0x190 MOV qword ptr [RBP + -0x188],RDI MOV qword ptr [RBP + -0x190],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV dword ptr [RBP + -0x15c],0x0 JMP 0x00187b09 MOV EAX,dword ptr [RBP + -0x15c] CDQE LEA RDX,[RAX*0x4] MOV RAX,qword ptr [RBP + -0x190] ADD RAX,RDX...
void function_1(type_1 *s,type_2 *block) { type_3 var_12; type_3 var_14; type_3 var_16; type_3 var_18; long var_20; int var_8; type_3 var_13; type_3 var_15; type_3 var_17; type_3 var_19; long var_1; type_2 *block_local; type_1 *s_local; type_2 var_11; type_2 var_9; type_2 var_10; typ...
(translation_unit "void SHA256_Block(SHA256_State *s,uint32 *block)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n long lVar5;\n int iVar6;\n uint uVar7;\n uint uVar8;\n uint uVar9;\n uint uVar10;\n long in_FS_OFFSET;\n uint32 *block_local;\n SHA256_State *s_local;\n uint32 a;\n uint32 b;...
(translation_unit "void function_1(type_1 *s,type_2 *block)\n\n{\n type_3 var_12;\n type_3 var_14;\n type_3 var_16;\n type_3 var_18;\n long var_20;\n int var_8;\n type_3 var_13;\n type_3 var_15;\n type_3 var_17;\n type_3 var_19;\n long var_1;\n type_2 *block_local;\n type_1 *s_local;\n type_2 var_11;\n t...
(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...
960_putty_and_putty_strip.c
ssh_agentf_got_response
FUN_00144bc9
ssh_agentf_got_response
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_agentf_got_response(ssh_channel *c,void *reply,int replylen) { int replylen_local; void *reply_local; ssh_channel *c_local; (c->u).a.pending = (agent_pending_query *)0x0; if ((c->closes & 1U) != 0) { /*...
void FUN_00144bc9(long param_1,undefined *param_2,undefined4 param_3) { undefined4 local_1c; undefined *local_18; *(undefined8 *)(param_1 + 0x88) = 0; if ((*(uint *)(param_1 + 0x18) & 1) != 0) { /* WARNING: Subroutine does not return */ __assert_fail("!(c->closes & CLOSES_SENT_EOF)"...
(translation_unit "void FUN_00144bc9(long param_1,undefined *param_2,undefined4 param_3)\n\n{\n undefined4 local_1c;\n undefined *local_18;\n \n *(undefined8 *)(param_1 + 0x88) = 0;\n if ((*(uint *)(param_1 + 0x18) & 1) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("!(c-...
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 qword ptr [RAX + 0x88],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x18] AND EAX,0x1 TEST EAX,EAX JZ 0x00144c18 LEA RCX,[0x209fc0] MOV EDX,0...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *c,void *var_2,int replylen) { int replylen_local; void *reply_local; type_1 *c_local; (c->u).a.pending = (type_2 *)0x0; if ((c->closes & 1U) != 0) { /* WARNING: Subroutine does not return...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_agentf_got_response(ssh_channel *c,void *reply,int replylen)\n\n{\n int replylen_local;\n void *reply_local;\n ssh_channel *c_local;\n \n (c->u).a.pending = (agent_pending_query *)0x0;\n if ((c->closes & 1U) !=...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,void *var_2,int replylen)\n\n{\n int replylen_local;\n void *reply_local;\n type_1 *c_local;\n \n (c->u).a.pending = (type_2 *)0x0;\n if ((c->closes & 1U) != 0) {\n /* WARNIN...
(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...
1517_putty_and_putty_strip.c
sha1_96_verify
FUN_0018effc
sha1_96_verify
int sha1_96_verify(void *handle,uchar *blk,int len,ulong seq) { long lVar1; int iVar2; long in_FS_OFFSET; ulong seq_local; int len_local; uchar *blk_local; void *handle_local; uchar correct [20]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); sha1_do_hmac(handle,blk,len,seq,correct); iVar2 = smemeq(...
void FUN_0018effc(undefined8 param_1,long param_2,int param_3,undefined8 param_4) { long in_FS_OFFSET; undefined local_28 [24]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_0018ecea(param_1,param_2,param_3,param_4,local_28); FUN_0012e6a8(local_28,param_3 + param_2,0xc); if (local_10 ...
(translation_unit "void FUN_0018effc(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\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_0018ecea(param_1,param_2,param_3,param_4,local_28);\n FUN_0012e6a8(local_28,param_3 + pa...
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 + -0x40],RCX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RDI,[RBP + -0x20] MOV RCX,qword ptr [RBP + -0x40] MOV EDX,dword ptr [RBP + -0x34] M...
int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq) { long var_6; int iVar2; long var_1; type_2 seq_local; int len_local; type_1 *blk_local; void *handle_local; type_1 correct [20]; var_6 = *(long *)(var_1 + 0x28); var_2(handle,var_4,var_5,seq,correct); iVar2 = var_3(correct,var_4...
(translation_unit "int sha1_96_verify(void *handle,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar correct [20];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n sha1_do_hmac(handle,blk,len,...
(translation_unit "int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)\n\n{\n long var_6;\n int iVar2;\n long var_1;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 correct [20];\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(handle,var_4,var_5,seq,correct)...
(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...
1176_putty_and_putty_strip.c
bignum_from_long
FUN_0016bb46
bignum_from_long
Bignum_conflict bignum_from_long(ulong n) { Bignum_conflict pBVar1; ulong n_local; int i; int maxwords; Bignum_conflict ret; pBVar1 = newbn(1); *pBVar1 = 0; for (i = 0; i < 1; i = i + 1) { pBVar1[(long)i + 1] = n; if (pBVar1[(long)i + 1] != 0) { *pBVar1 = (long)(i + 1); } } re...
long * FUN_0016bb46(long param_1) { long *plVar1; int local_18; plVar1 = (long *)FUN_00166c60(1); *plVar1 = 0; for (local_18 = 0; local_18 < 1; local_18 = local_18 + 1) { plVar1[(long)local_18 + 1] = param_1; if (plVar1[(long)local_18 + 1] != 0) { *plVar1 = (long)(local_18 + 1); } } ...
(translation_unit "long * FUN_0016bb46(long param_1)\n\n{\n long *plVar1;\n int local_18;\n \n plVar1 = (long *)FUN_00166c60(1);\n *plVar1 = 0;\n for (local_18 = 0; local_18 < 1; local_18 = local_18 + 1) {\n plVar1[(long)local_18 + 1] = param_1;\n if (plVar1[(long)local_18 + 1] != 0) {\n *plVar1 = (lon...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0xc],0x1 MOV EAX,dword ptr [RBP + -0xc] MOV EDI,EAX CALL 0x00166c60 MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RAX],0x0 MOV dword ptr [RBP + -0x10],0x0 JMP 0x0016bbde MOV EAX,dword ptr [RBP + -0x10]...
type_1 function_1(type_2 n) { type_1 pBVar1; type_2 n_local; int var_2; int maxwords; type_1 ret; pBVar1 = var_1(1); *pBVar1 = 0; for (var_2 = 0; var_2 < 1; var_2 = var_2 + 1) { pBVar1[(long)var_2 + 1] = n; if (pBVar1[(long)var_2 + 1] != 0) { *pBVar1 = (long)(var_2 + 1); } } r...
(translation_unit "Bignum_conflict bignum_from_long(ulong n)\n\n{\n Bignum_conflict pBVar1;\n ulong n_local;\n int i;\n int maxwords;\n Bignum_conflict ret;\n \n pBVar1 = newbn(1);\n *pBVar1 = 0;\n for (i = 0; i < 1; i = i + 1) {\n pBVar1[(long)i + 1] = n;\n if (pBVar1[(long)i + 1] != 0) {\n *pBVar1...
(translation_unit "type_1 function_1(type_2 n)\n\n{\n type_1 pBVar1;\n type_2 n_local;\n int var_2;\n int maxwords;\n type_1 ret;\n \n pBVar1 = var_1(1);\n *pBVar1 = 0;\n for (var_2 = 0; var_2 < 1; var_2 = var_2 + 1) {\n pBVar1[(long)var_2 + 1] = n;\n if (pBVar1[(long)var_2 + 1] != 0) {\n *pBVar1 = ...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declar...
1739_putty_and_putty_strip.c
columns_class_init
FUN_001afc7e
columns_class_init
/* WARNING: Enum "GParamFlags": Some values do not have unique names */ /* WARNING: Enum "GdkEventType": Some values do not have unique names */ void columns_class_init(ColumnsClass *klass) { undefined8 uVar1; long lVar2; long lVar3; ColumnsClass *klass_local; GtkWidgetClass *widget_class; GtkContainerCl...
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ void FUN_001afc7e(undefined8 param_1) { undefined8 uVar1; long lVar2; long lVar3; uVar1 = gtk_widget_get_type(); lVar2 = g_type_check_class_cast(param_1,uVar1); uVar1 = gtk_container_get_type(); lVar3 = g_type_check...
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_001afc7e(undefined8 param_1)\n\n{\n undefined8 uVar1;\n long lVar2;\n long lVar3;\n \n uVar1 = gtk_widget_get_type();\n lVar2 = g_type_check_class_cast(param_1,uVar1);\n uVar1 = gtk_container_get_t...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI CALL 0x00114510 MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RDX MOV RDI,RAX CALL 0x00115ee0 MOV qword ptr [RBP + -0x10],RAX CALL 0x00114a90 MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RDX MOV RDI,RAX CALL 0x00115ee0 MOV qword ptr [RBP + -...
/* WARNING: Enum "GParamFlags": Some values do not have unique names */ /* WARNING: Enum "GdkEventType": Some values do not have unique names */ void function_1(type_1 *klass) { type_2 uVar1; long var_5; long var_6; type_1 *klass_local; type_3 *widget_class; type_4 *container_class; uVar1 = var_1();...
(translation_unit "/* WARNING: Enum "GParamFlags": Some values do not have unique names */\n/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\nvoid columns_class_init(ColumnsClass *klass)\n\n{\n undefined8 uVar1;\n long lVar2;\n long lVar3;\n ColumnsClass *klass_local;\n GtkWidgetClass *wi...
(translation_unit "/* WARNING: Enum "GParamFlags": Some values do not have unique names */\n/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\nvoid function_1(type_1 *klass)\n\n{\n type_2 uVar1;\n long var_5;\n long var_6;\n type_1 *klass_local;\n type_3 *widget_class;\n type_4 *container...
(translation_unit (comment) (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:...
1326_putty_and_putty_strip.c
decodepoint_ed
FUN_00179daa
decodepoint_ed
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int decodepoint_ed(char *p,int length,ec_point *point) { uint uVar1; int iVar2; Bignum_conflict pBVar3; Bignum *ppvVar4; ec_point *point_local; int length_local; char *p_local; int negative; Bignum tmp; pBVar3 = bignum_fr...
undefined8 FUN_00179daa(undefined8 param_1,undefined4 param_2,long *param_3) { uint uVar1; int iVar2; long lVar3; undefined8 uVar4; lVar3 = FUN_0016a75c(param_1,param_2); param_3[2] = lVar3; uVar1 = FUN_0016aba4(param_3[2]); if (*(uint *)(*param_3 + 0x18) < uVar1) { FUN_00166d90(param_3[2]); ...
(translation_unit "undefined8 FUN_00179daa(undefined8 param_1,undefined4 param_2,long *param_3)\n\n{\n uint uVar1;\n int iVar2;\n long lVar3;\n undefined8 uVar4;\n \n lVar3 = FUN_0016a75c(param_1,param_2);\n param_3[2] = lVar3;\n uVar1 = FUN_0016aba4(param_3[2]);\n if (*(uint *)(*param_3 + 0x18) < uVar1) {\n ...
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 EDX,dword ptr [RBP + -0x1c] MOV RAX,qword ptr [RBP + -0x18] MOV ESI,EDX MOV RDI,RAX CALL 0x0016a75c MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RAX + 0x10],RDX MOV RAX,qwo...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(char *p,int length,type_1 *point) { type_2 var_3; int var_9; type_3 pBVar3; type_4 *ppvVar4; type_1 *point_local; int length_local; char *p_local; int negative; type_4 tmp; pBVar3 = var_1((type_5 *)p,length...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint decodepoint_ed(char *p,int length,ec_point *point)\n\n{\n uint uVar1;\n int iVar2;\n Bignum_conflict pBVar3;\n Bignum *ppvVar4;\n ec_point *point_local;\n int length_local;\n char *p_local;\n int negative;\n Bign...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(char *p,int length,type_1 *point)\n\n{\n type_2 var_3;\n int var_9;\n type_3 pBVar3;\n type_4 *ppvVar4;\n type_1 *point_local;\n int length_local;\n char *p_local;\n int negative;\n type_4 tmp;\n \n ...
(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: (primitive_type) declarator:...
1045_putty_and_putty_strip.c
ssh2_msg_authconn
FUN_00155129
ssh2_msg_authconn
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_msg_authconn(Ssh_conflict ssh,Packet *pktin) { Packet *pktin_local; Ssh_conflict ssh_local; do_ssh2_authconn(ssh,(uchar *)0x0,0,pktin); return; }
void FUN_00155129(undefined8 param_1,undefined8 param_2) { FUN_00155197(param_1,0,0,param_2); return; }
(translation_unit "void FUN_00155129(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00155197(param_1,0,0,param_2);\n return;\n}\n\n" (function_definition "void FUN_00155129(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00155197(param_1,0,0,param_2);\n return;\n}" primitive_type (function_declarator "FUN_0015...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RDX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RBP + -0x8] MOV RCX,RDX MOV EDX,0x0 MOV ESI,0x0 MOV RDI,RAX CALL 0x00155197 NOP LEAVE RET
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { type_2 *pktin_local; type_1 ssh_local; var_1(ssh,(type_3 *)0x0,0,pktin); return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_authconn(Ssh_conflict ssh,Packet *pktin)\n\n{\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n \n do_ssh2_authconn(ssh,(uchar *)0x0,0,pktin);\n return;\n}\n\n" comment (function_definition "void ssh2_msg_...
(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_2 *pktin_local;\n type_1 ssh_local;\n \n var_1(ssh,(type_3 *)0x0,0,pktin);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 ssh,type_2 *pktin)\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...
967_putty_and_putty_strip.c
sshfwd_get_conf
FUN_0014909b
sshfwd_get_conf
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ Conf * sshfwd_get_conf(ssh_channel *c) { ssh_channel *c_local; Ssh_conflict ssh; return c->ssh->conf; }
undefined8 FUN_0014909b(long *param_1) { return *(undefined8 *)(*param_1 + 0x380); }
(translation_unit "undefined8 FUN_0014909b(long *param_1)\n\n{\n return *(undefined8 *)(*param_1 + 0x380);\n}\n\n" (function_definition "undefined8 FUN_0014909b(long *param_1)\n\n{\n return *(undefined8 *)(*param_1 + 0x380);\n}" type_identifier (function_declarator "FUN_0014909b(long *param_1)" identifier (parameter_...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x380] POP RBP RET
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_2 *c) { type_2 *c_local; type_3 ssh; return c->ssh->conf; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nConf * sshfwd_get_conf(ssh_channel *c)\n\n{\n ssh_channel *c_local;\n Ssh_conflict ssh;\n \n return c->ssh->conf;\n}\n\n" comment (function_definition "Conf * sshfwd_get_conf(ssh_channel *c)\n\n{\n ssh_channel *c_local;\...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *c)\n\n{\n type_2 *c_local;\n type_3 ssh;\n \n return c->ssh->conf;\n}\n\n" comment (function_definition "type_1 * function_1(type_2 *c)\n\n{\n type_2 *c_local;\n type_3 ssh;\n \n return c->...
(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)))))) body: (compound_stat...
1625_putty_and_putty_strip.c
freeline
FUN_00199dea
freeline
void freeline(termline *line) { termline *line_local; if (line != (termline *)0x0) { safefree(line->chars); safefree(line); } return; }
void FUN_00199dea(long param_1) { if (param_1 != 0) { FUN_0012e243(*(undefined8 *)(param_1 + 0x18)); FUN_0012e243(param_1); } return; }
(translation_unit "void FUN_00199dea(long param_1)\n\n{\n if (param_1 != 0) {\n FUN_0012e243(*(undefined8 *)(param_1 + 0x18));\n FUN_0012e243(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_00199dea(long param_1)\n\n{\n if (param_1 != 0) {\n FUN_0012e243(*(undefined8 *)(param_1 + 0x18));\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI CMP qword ptr [RBP + -0x8],0x0 JZ 0x00199e19 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x18] MOV RDI,RAX CALL 0x0012e243 MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0012e243 NOP LEAVE RET
void function_1(type_1 *var_1) { type_1 *line_local; if (var_1 != (type_1 *)0x0) { var_2(var_1->chars); var_2(var_1); } return; }
(translation_unit "void freeline(termline *line)\n\n{\n termline *line_local;\n \n if (line != (termline *)0x0) {\n safefree(line->chars);\n safefree(line);\n }\n return;\n}\n\n" (function_definition "void freeline(termline *line)\n\n{\n termline *line_local;\n \n if (line != (termline *)0x0) {\n safef...
(translation_unit "void function_1(type_1 *var_1)\n\n{\n type_1 *line_local;\n \n if (var_1 != (type_1 *)0x0) {\n var_2(var_1->chars);\n var_2(var_1);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *var_1)\n\n{\n type_1 *line_local;\n \n if (var_1 != (type_1 *)0x0) {\n var_2(var_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))))) body: (compound_statement (declaration type: (type_identifier) d...
1338_putty_and_putty_strip.c
ecdsa_openssh_fmtkey
FUN_0017b5de
ecdsa_openssh_fmtkey
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int ecdsa_openssh_fmtkey(void *key,uchar *blob,int len) { int iVar1; int iVar2; int iVar3; size_t sVar4; bool bVar5; int len_local; uchar *blob_local; void *key_local; int bloblen; int i; int pointlen; int namelen; ec_...
int FUN_0017b5de(long param_1,undefined *param_2,int param_3) { int iVar1; undefined uVar2; int iVar3; int iVar4; size_t sVar5; bool bVar6; int local_30; int local_2c; if (**(int **)(param_1 + 8) == 0) { iVar3 = FUN_0016aba4(*(undefined8 *)(*(long *)(param_1 + 8) + 0x20)); iVar4 = iVar3 +...
(translation_unit "int FUN_0017b5de(long param_1,undefined *param_2,int param_3)\n\n{\n int iVar1;\n undefined uVar2;\n int iVar3;\n int iVar4;\n size_t sVar5;\n bool bVar6;\n int local_30;\n int local_2c;\n \n if (**(int **)(param_1 + 8) == 0) {\n iVar3 = FUN_0016aba4(*(undefined8 *)(*(long *)(param_1 + 8...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x48 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV dword ptr [RBP + -0x44],EDX MOV RAX,qword ptr [RBP + -0x38] MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x8] MOV EAX,dword ptr [RAX] TEST EAX,EAX JZ 0x0017b612 MOV ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(void *key,type_1 *var_11,int var_8) { int var_2; int var_3; int var_6; size_t var_9; bool bVar5; int len_local; type_1 *blob_local; void *key_local; int var_7; int var_12; int pointlen; int namelen; type...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ecdsa_openssh_fmtkey(void *key,uchar *blob,int len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n size_t sVar4;\n bool bVar5;\n int len_local;\n uchar *blob_local;\n void *key_local;\n int bloblen;\n int i;\n i...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *key,type_1 *var_11,int var_8)\n\n{\n int var_2;\n int var_3;\n int var_6;\n size_t var_9;\n bool bVar5;\n int len_local;\n type_1 *blob_local;\n void *key_local;\n int var_7;\n int var_12;\n in...
(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...
1080_putty_and_putty_strip.c
ssh_fallback_cmd
FUN_0015d9b1
ssh_fallback_cmd
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int ssh_fallback_cmd(void *handle) { void *handle_local; Ssh_conflict ssh; return *(int *)((long)handle + 0x210); }
undefined4 FUN_0015d9b1(long param_1) { return *(undefined4 *)(param_1 + 0x210); }
(translation_unit "undefined4 FUN_0015d9b1(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 0x210);\n}\n\n" (function_definition "undefined4 FUN_0015d9b1(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 0x210);\n}" type_identifier (function_declarator "FUN_0015d9b1(long param_1)" identifier (parameter_list ...
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 + 0x210] 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 ssh; return *(int *)((long)handle + 0x210); }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_fallback_cmd(void *handle)\n\n{\n void *handle_local;\n Ssh_conflict ssh;\n \n return *(int *)((long)handle + 0x210);\n}\n\n" comment (function_definition "int ssh_fallback_cmd(void *handle)\n\n{\n void *handle_l...
(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 ssh;\n \n return *(int *)((long)handle + 0x210);\n}\n\n" comment (function_definition "int function_1(void *handle)\n\n{\n void *handle_local;\n type_1 ss...
(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...
1163_putty_and_putty_strip.c
ssh2_bignum_length
FUN_0016ac3c
ssh2_bignum_length
int ssh2_bignum_length(Bignum_conflict bn) { int iVar1; int iVar2; Bignum_conflict bn_local; iVar1 = bignum_bitcount(bn); iVar2 = iVar1 + 8; if (iVar1 + 8 < 0) { iVar2 = iVar1 + 0xf; } return (iVar2 >> 3) + 4; }
int FUN_0016ac3c(undefined8 param_1) { int iVar1; int iVar2; iVar1 = FUN_0016aba4(param_1); iVar2 = iVar1 + 8; if (iVar1 + 8 < 0) { iVar2 = iVar1 + 0xf; } return (iVar2 >> 3) + 4; }
(translation_unit "int FUN_0016ac3c(undefined8 param_1)\n\n{\n int iVar1;\n int iVar2;\n \n iVar1 = FUN_0016aba4(param_1);\n iVar2 = iVar1 + 8;\n if (iVar1 + 8 < 0) {\n iVar2 = iVar1 + 0xf;\n }\n return (iVar2 >> 3) + 4;\n}\n\n" (function_definition "int FUN_0016ac3c(undefined8 param_1)\n\n{\n int iVar1;\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x8 MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0016aba4 ADD EAX,0x8 LEA EDX,[RAX + 0x7] TEST EAX,EAX CMOVS EAX,EDX SAR EAX,0x3 ADD EAX,0x4 LEAVE RET
int function_1(type_1 bn) { int var_2; int var_3; type_1 bn_local; var_2 = var_1(bn); var_3 = var_2 + 8; if (var_2 + 8 < 0) { var_3 = var_2 + 0xf; } return (var_3 >> 3) + 4; }
(translation_unit "int ssh2_bignum_length(Bignum_conflict bn)\n\n{\n int iVar1;\n int iVar2;\n Bignum_conflict bn_local;\n \n iVar1 = bignum_bitcount(bn);\n iVar2 = iVar1 + 8;\n if (iVar1 + 8 < 0) {\n iVar2 = iVar1 + 0xf;\n }\n return (iVar2 >> 3) + 4;\n}\n\n" (function_definition "int ssh2_bignum_length(Bi...
(translation_unit "int function_1(type_1 bn)\n\n{\n int var_2;\n int var_3;\n type_1 bn_local;\n \n var_2 = var_1(bn);\n var_3 = var_2 + 8;\n if (var_2 + 8 < 0) {\n var_3 = var_2 + 0xf;\n }\n return (var_3 >> 3) + 4;\n}\n\n" (function_definition "int function_1(type_1 bn)\n\n{\n int var_2;\n int var_3;\n ...
(translation_unit (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)) (declarat...
1128_putty_and_putty_strip.c
blowfish_iv
FUN_001669fc
blowfish_iv
void blowfish_iv(void *handle,uchar *key) { uchar *key_local; void *handle_local; BlowfishContext *ctx; *(uint *)((long)handle + 0x1048) = (uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3]; *(uint *)((long)handle + 0x104c) = (uint)key[4] << 0x18 | (uint)key[5] << ...
void FUN_001669fc(long param_1,byte *param_2) { *(uint *)(param_1 + 0x1048) = (uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 | (uint)param_2[3]; *(uint *)(param_1 + 0x104c) = (uint)param_2[4] << 0x18 | (uint)param_2[5] << 0x10 | (uint)param_2[6] << 8 | (uint)param_2...
(translation_unit "void FUN_001669fc(long param_1,byte *param_2)\n\n{\n *(uint *)(param_1 + 0x1048) =\n (uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 | (uint)param_2[3];\n *(uint *)(param_1 + 0x104c) =\n (uint)param_2[4] << 0x18 | (uint)param_2[5] << 0x10 | (uint)param_2[6] << ...
PUSH RBP MOV RBP,RSP 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] MOVZX EAX,byte ptr [RAX] MOVZX EAX,AL SHL EAX,0x18 MOV EDX,EAX MOV RAX,qword ptr [RBP + -0x20] ADD RAX,0x1 MOVZX EAX,byte ptr [RAX] MOVZX EA...
void function_1(void *handle,type_1 *var_1) { type_1 *key_local; void *handle_local; type_2 *ctx; *(type_3 *)((long)handle + 0x1048) = (type_3)*var_1 << 0x18 | (type_3)var_1[1] << 0x10 | (type_3)var_1[2] << 8 | (type_3)var_1[3]; *(type_3 *)((long)handle + 0x104c) = (type_3)var_1[4] << 0x18 ...
(translation_unit "void blowfish_iv(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n *(uint *)((long)handle + 0x1048) =\n (uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3];\n *(uint *)((long)handle + 0x104c) =\n (uint)key[4...
(translation_unit "void function_1(void *handle,type_1 *var_1)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *ctx;\n \n *(type_3 *)((long)handle + 0x1048) =\n (type_3)*var_1 << 0x18 | (type_3)var_1[1] << 0x10 | (type_3)var_1[2] << 8 | (type_3)var_1[3];\n *(type_3 *)((long)handle + 0x104c) =\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...
1382_putty_and_putty_strip.c
loadrsakey_main
FUN_0017f4f3
loadrsakey_main
int loadrsakey_main(FILE *fp,RSAKey *key,int pub_only,char **commentptr,char *passphrase, char **error) { long lVar1; int iVar2; int iVar3; int iVar4; size_t sVar5; char *s; char *pcVar6; long in_FS_OFFSET; char **error_local; char *passphrase_local; char **commentptr_local; ...
uint FUN_0017f4f3(FILE *param_1,long param_2,int param_3,undefined8 *param_4,char *param_5, undefined8 *param_6) { int iVar1; int iVar2; int iVar3; size_t sVar4; void *__dest; undefined8 uVar5; long in_FS_OFFSET; uint local_40a4; undefined local_4088 [96]; undefined local_4028 [16...
(translation_unit "uint FUN_0017f4f3(FILE *param_1,long param_2,int param_3,undefined8 *param_4,char *param_5,\n undefined8 *param_6)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n size_t sVar4;\n void *__dest;\n undefined8 uVar5;\n long in_FS_OFFSET;\n uint local_40a4;\n undefined local_4088 [9...
PUSH RBP MOV RBP,RSP SUB RSP,0x40d0 MOV qword ptr [RBP + -0x40a8],RDI MOV qword ptr [RBP + -0x40b0],RSI MOV dword ptr [RBP + -0x40b4],EDX MOV qword ptr [RBP + -0x40c0],RCX MOV qword ptr [RBP + -0x40c8],R8 MOV qword ptr [RBP + -0x40d0],R9 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV dword p...
int function_1(type_1 *fp,type_2 *var_15,int var_17,char **var_13,char *passphrase, char **error) { long var_28; int var_7; int var_9; int var_4; size_t sVar5; char *var_11; char *pcVar6; long var_1; char **error_local; char *passphrase_local; char **commentptr_local; int pu...
(translation_unit "int loadrsakey_main(FILE *fp,RSAKey *key,int pub_only,char **commentptr,char *passphrase,\n char **error)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n size_t sVar5;\n char *s;\n char *pcVar6;\n long in_FS_OFFSET;\n char **error_local;\n char *passphrase_loca...
(translation_unit "int function_1(type_1 *fp,type_2 *var_15,int var_17,char **var_13,char *passphrase,\n char **error)\n\n{\n long var_28;\n int var_7;\n int var_9;\n int var_4;\n size_t sVar5;\n char *var_11;\n char *pcVar6;\n long var_1;\n char **error_local;\n char *passphrase_local;\n 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: (type_identifier) declarator: (pointe...
1009_putty_and_putty_strip.c
ssh2_chanopen_init
FUN_00151f43
ssh2_chanopen_init
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ Packet * ssh2_chanopen_init(ssh_channel *c,char *type) { Packet *pkt; char *type_local; ssh_channel *c_local; Packet *pktout; pkt = ssh2_pkt_init(0x5a); ssh_pkt_addstring(pkt,type); ssh_pkt_adduint32(pkt,(ulong)c->localid); s...
undefined8 FUN_00151f43(long param_1,undefined8 param_2) { undefined8 uVar1; uVar1 = FUN_00140d83(0x5a); FUN_00140aeb(uVar1,param_2); FUN_00140911(uVar1,*(undefined4 *)(param_1 + 0xc)); FUN_00140911(uVar1,(long)*(int *)(param_1 + 0x48)); FUN_00140911(uVar1,0x4000); return uVar1; }
(translation_unit "undefined8 FUN_00151f43(long param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_00140d83(0x5a);\n FUN_00140aeb(uVar1,param_2);\n FUN_00140911(uVar1,*(undefined4 *)(param_1 + 0xc));\n FUN_00140911(uVar1,(long)*(int *)(param_1 + 0x48));\n FUN_00140911(uVar1,0x4000);\n return ...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV EDI,0x5a CALL 0x00140d83 MOV qword ptr [RBP + -0x8],RAX MOV RDX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x8] MOV RSI,RDX MOV RDI,RAX CALL 0x00140aeb MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0x...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_2 *c,char *type) { type_1 *pkt; char *type_local; type_2 *c_local; type_1 *pktout; pkt = var_1(0x5a); var_2(pkt,type); var_3(pkt,(type_3)c->localid); var_3(pkt,(long)(c->v).v2.locwindow); var_3(pkt,...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPacket * ssh2_chanopen_init(ssh_channel *c,char *type)\n\n{\n Packet *pkt;\n char *type_local;\n ssh_channel *c_local;\n Packet *pktout;\n \n pkt = ssh2_pkt_init(0x5a);\n ssh_pkt_addstring(pkt,type);\n ssh_pkt_adduint...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *c,char *type)\n\n{\n type_1 *pkt;\n char *type_local;\n type_2 *c_local;\n type_1 *pktout;\n \n pkt = var_1(0x5a);\n var_2(pkt,type);\n var_3(pkt,(type_3)c->localid);\n var_3(pkt,(long)(c-...
(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 ...
1838_putty_and_putty_strip.c
window_destroy
FUN_001b73f4
window_destroy
void window_destroy(GtkWidget *widget,gpointer data) { gpointer data_local; GtkWidget *widget_local; gtk_main_quit(); return; }
void FUN_001b73f4(void) { gtk_main_quit(); return; }
(translation_unit "void FUN_001b73f4(void)\n\n{\n gtk_main_quit();\n return;\n}\n\n" (function_definition "void FUN_001b73f4(void)\n\n{\n gtk_main_quit();\n return;\n}" primitive_type (function_declarator "FUN_001b73f4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (c...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI CALL 0x00115b50 NOP LEAVE RET
void function_1(type_1 *widget,type_2 data) { type_2 data_local; type_1 *widget_local; var_1(); return; }
(translation_unit "void window_destroy(GtkWidget *widget,gpointer data)\n\n{\n gpointer data_local;\n GtkWidget *widget_local;\n \n gtk_main_quit();\n return;\n}\n\n" (function_definition "void window_destroy(GtkWidget *widget,gpointer data)\n\n{\n gpointer data_local;\n GtkWidget *widget_local;\n \n gtk_main_...
(translation_unit "void function_1(type_1 *widget,type_2 data)\n\n{\n type_2 data_local;\n type_1 *widget_local;\n \n var_1();\n return;\n}\n\n" (function_definition "void function_1(type_1 *widget,type_2 data)\n\n{\n type_2 data_local;\n type_1 *widget_local;\n \n var_1();\n return;\n}" primitive_type (funct...
(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...
1407_putty_and_putty_strip.c
ssh2_fingerprint
FUN_00183cf7
ssh2_fingerprint
char * ssh2_fingerprint(ssh_signkey *alg,void *data) { long in_FS_OFFSET; void *data_local; ssh_signkey *alg_local; int len; uchar *blob; char *ret; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); blob = (*alg->public_blob)(data,&len); ret = ssh2_fingerprint_blob(blob,len); safefree...
undefined8 FUN_00183cf7(long param_1,undefined8 param_2) { long in_FS_OFFSET; undefined4 local_24; undefined8 local_20; undefined8 local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_20 = (**(code **)(param_1 + 0x18))(param_2,&local_24); local_18 = FUN_00183b50(local_20,local_...
(translation_unit "undefined8 FUN_00183cf7(long param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_24;\n undefined8 local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_20 = (**(code **)(param_1 + 0x18))(param_2,&local_24);\n local_18 =...
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] MOV RAX,qword ptr [RAX + 0x18] LEA RCX,[RBP + -0x1c] MOV RDX,qword ptr [RBP + -0x30] MOV RSI,RCX MOV RDI,RDX CALL RAX M...
char * function_1(type_1 *alg,void *data) { long var_1; void *data_local; type_1 *alg_local; int len; type_2 *blob; char *ret; long var_4; var_4 = *(long *)(var_1 + 0x28); blob = (*alg->public_blob)(data,&len); ret = var_2(blob,len); var_3(blob); if (var_4 != *(long *)(var_1 + 0x28)) { ...
(translation_unit "char * ssh2_fingerprint(ssh_signkey *alg,void *data)\n\n{\n long in_FS_OFFSET;\n void *data_local;\n ssh_signkey *alg_local;\n int len;\n uchar *blob;\n char *ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n blob = (*alg->public_blob)(data,&len);\n ret = ssh2_fingerp...
(translation_unit "char * function_1(type_1 *alg,void *data)\n\n{\n long var_1;\n void *data_local;\n type_1 *alg_local;\n int len;\n type_2 *blob;\n char *ret;\n long var_4;\n \n var_4 = *(long *)(var_1 + 0x28);\n blob = (*alg->public_blob)(data,&len);\n ret = var_2(blob,len);\n var_3(blob);\n if (var_4 !...
(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...
1720_putty_and_putty_strip.c
newtree234
FUN_001ad414
newtree234
tree234 * newtree234(cmpfn234 cmp) { tree234 *ptVar1; cmpfn234 cmp_local; tree234 *ret; ptVar1 = (tree234 *)safemalloc(1,0x10); ptVar1->root = (node234_conflict *)0x0; ptVar1->cmp = cmp; return ptVar1; }
undefined8 * FUN_001ad414(undefined8 param_1) { undefined8 *puVar1; puVar1 = (undefined8 *)FUN_0012e037(1,0x10); *puVar1 = 0; puVar1[1] = param_1; return puVar1; }
(translation_unit "undefined8 * FUN_001ad414(undefined8 param_1)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_0012e037(1,0x10);\n *puVar1 = 0;\n puVar1[1] = param_1;\n return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_001ad414(undefined8 param_1)\n\n{\n undefined8 *puVar1;\n \n puVar1...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV ESI,0x10 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RAX],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV RDX,qword ptr [RBP + -0x18] MOV qword ptr [RAX + 0x8],RDX MOV RAX,qword ptr [RBP + -0x8] LEA...
type_1 * function_1(type_2 cmp) { type_1 *ptVar1; type_2 cmp_local; type_1 *ret; ptVar1 = (type_1 *)var_1(1,0x10); ptVar1->root = (type_3 *)0x0; ptVar1->cmp = cmp; return ptVar1; }
(translation_unit "tree234 * newtree234(cmpfn234 cmp)\n\n{\n tree234 *ptVar1;\n cmpfn234 cmp_local;\n tree234 *ret;\n \n ptVar1 = (tree234 *)safemalloc(1,0x10);\n ptVar1->root = (node234_conflict *)0x0;\n ptVar1->cmp = cmp;\n return ptVar1;\n}\n\n" (function_definition "tree234 * newtree234(cmpfn234 cmp)\n\n{\n...
(translation_unit "type_1 * function_1(type_2 cmp)\n\n{\n type_1 *ptVar1;\n type_2 cmp_local;\n type_1 *ret;\n \n ptVar1 = (type_1 *)var_1(1,0x10);\n ptVar1->root = (type_3 *)0x0;\n ptVar1->cmp = cmp;\n return ptVar1;\n}\n\n" (function_definition "type_1 * function_1(type_2 cmp)\n\n{\n type_1 *ptVar1;\n type_...
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) ...
1486_putty_and_putty_strip.c
sha512_free
FUN_0018dc67
sha512_free
void sha512_free(void *handle) { void *handle_local; SHA512_State *s; smemclr(handle,0x118); safefree(handle); return; }
void FUN_0018dc67(undefined8 param_1) { FUN_0012e30b(param_1,0x118); FUN_0012e243(param_1); return; }
(translation_unit "void FUN_0018dc67(undefined8 param_1)\n\n{\n FUN_0012e30b(param_1,0x118);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_0018dc67(undefined8 param_1)\n\n{\n FUN_0012e30b(param_1,0x118);\n FUN_0012e243(param_1);\n return;\n}" primitive_type (function_declarator "FUN_00...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 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 ESI,0x118 MOV RDI,RAX CALL 0x0012e30b MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0012e243 NOP LEAVE RET
void function_1(void *handle) { void *handle_local; type_1 *s; var_1(handle,0x118); var_2(handle); return; }
(translation_unit "void sha512_free(void *handle)\n\n{\n void *handle_local;\n SHA512_State *s;\n \n smemclr(handle,0x118);\n safefree(handle);\n return;\n}\n\n" (function_definition "void sha512_free(void *handle)\n\n{\n void *handle_local;\n SHA512_State *s;\n \n smemclr(handle,0x118);\n safefree(handle);\...
(translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *s;\n \n var_1(handle,0x118);\n var_2(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *s;\n \n var_1(handle,0x118);\n var_2(handle);\n return;\n}" primitive...
(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...
1018_putty_and_putty_strip.c
ssh2_msg_channel_data
FUN_001526a7
ssh2_msg_channel_data
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_msg_channel_data(Ssh_conflict ssh,Packet *pktin) { int iVar1; ulong uVar2; long in_FS_OFFSET; Packet *pktin_local; Ssh_conflict ssh_local; int length; uint ext_type; int bufsize; char *data; ssh_channel *c; long ...
void FUN_001526a7(undefined8 param_1,long param_2) { int iVar1; long in_FS_OFFSET; int local_2c; int local_28; int local_24; long local_20; long local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_28 = 0; local_18 = FUN_0015236c(param_1,param_2); if (local_18 != 0) { ...
(translation_unit "void FUN_001526a7(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int local_2c;\n int local_28;\n int local_24;\n long local_20;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28 = 0;\n local_18 = FUN_0015236c(param_1,pa...
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 dword ptr [RBP + -0x20],0x0 MOV RDX,qword ptr [RBP + -0x40] MOV RAX,qword ptr [RBP + -0x38] MOV RSI,RDX MOV RDI,RAX CALL 0x0015236c MOV qword ptr [...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { int var_14; type_3 uVar2; long var_1; type_2 *pktin_local; type_1 ssh_local; int var_7; type_4 var_8; int var_11; char *var_6; type_5 *var_3; long var_16; var_16 = *(long *)...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_data(Ssh_conflict ssh,Packet *pktin)\n\n{\n int iVar1;\n ulong uVar2;\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int length;\n uint ext_type;\n int bufsize;\n char *...
(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 int var_14;\n type_3 uVar2;\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int var_7;\n type_4 var_8;\n int var_11;\n char *var_6;\n type_5 *var_3;\n lon...
(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...
1008_putty_and_putty_strip.c
ssh_channel_init
FUN_00151e64
ssh_channel_init
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_channel_init(ssh_channel *c) { Ssh_conflict ssh_00; uint uVar1; int iVar2; ssh_channel *c_local; Ssh_conflict ssh; ssh_00 = c->ssh; uVar1 = alloc_channel_id(ssh_00); c->localid = uVar1; c->closes = 0; c->pending_...
void FUN_00151e64(long *param_1) { long lVar1; undefined4 uVar2; int iVar3; lVar1 = *param_1; uVar2 = FUN_0013cdaa(lVar1); *(undefined4 *)((long)param_1 + 0xc) = uVar2; *(undefined4 *)(param_1 + 3) = 0; *(undefined4 *)((long)param_1 + 0x1c) = 0; *(undefined4 *)(param_1 + 4) = 0; if (*(int *)(lV...
(translation_unit "void FUN_00151e64(long *param_1)\n\n{\n long lVar1;\n undefined4 uVar2;\n int iVar3;\n \n lVar1 = *param_1;\n uVar2 = FUN_0013cdaa(lVar1);\n *(undefined4 *)((long)param_1 + 0xc) = uVar2;\n *(undefined4 *)(param_1 + 3) = 0;\n *(undefined4 *)((long)param_1 + 0x1c) = 0;\n *(undefined4 *)(param...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0013cdaa MOV EDX,EAX MOV RAX,qword ptr [RBP + -0x18] MOV dword ptr [RAX + 0xc],EDX MOV RAX,qword ptr [RBP + -0x18] MO...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *c) { type_2 ssh_00; type_3 uVar1; int var_3; type_1 *c_local; type_2 ssh; ssh_00 = c->ssh; uVar1 = var_1(ssh_00); c->localid = uVar1; c->closes = 0; c->pending_eof = 0; c->throttling_conn = 0; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_channel_init(ssh_channel *c)\n\n{\n Ssh_conflict ssh_00;\n uint uVar1;\n int iVar2;\n ssh_channel *c_local;\n Ssh_conflict ssh;\n \n ssh_00 = c->ssh;\n uVar1 = alloc_channel_id(ssh_00);\n c->localid = uVar1;...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c)\n\n{\n type_2 ssh_00;\n type_3 uVar1;\n int var_3;\n type_1 *c_local;\n type_2 ssh;\n \n ssh_00 = c->ssh;\n uVar1 = var_1(ssh_00);\n c->localid = uVar1;\n c->closes = 0;\n c->pending_eof ...
(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...
1368_putty_and_putty_strip.c
MD5Simple
FUN_0017ede2
MD5Simple
void MD5Simple(void *p,uint len,uchar *output) { long lVar1; long in_FS_OFFSET; uchar *output_local; uint len_local; void *p_local; MD5Context s; lVar1 = *(long *)(in_FS_OFFSET + 0x28); MD5Init(&s); MD5Update(&s,(uchar *)p,len); MD5Final(output,&s); smemclr(&s,0x5c); if (lVar1 != *(long *)(...
void FUN_0017ede2(undefined8 param_1,undefined4 param_2,undefined8 param_3) { long in_FS_OFFSET; undefined local_78 [104]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); MD5Init(local_78); MD5Update(local_78,param_1,param_2); MD5Final(param_3,local_78); FUN_0012e30b(local_78,0x5c); if ...
(translation_unit "void FUN_0017ede2(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_78 [104];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n MD5Init(local_78);\n MD5Update(local_78,param_1,param_2);\n MD5Final(param_3,local_78);\n FUN_0...
PUSH RBP MOV RBP,RSP SUB RSP,0x90 MOV qword ptr [RBP + -0x78],RDI MOV dword ptr [RBP + -0x7c],ESI MOV qword ptr [RBP + -0x88],RDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RAX,[RBP + -0x70] MOV RDI,RAX CALL 0x0017e9bd MOV EDX,dword ptr [RBP + -0x7c] MOV RCX,qword ptr [RBP + -0x78] LEA R...
void function_1(void *p,type_1 len,type_2 *output) { long var_6; long var_1; type_2 *output_local; type_1 len_local; void *p_local; type_3 s; var_6 = *(long *)(var_1 + 0x28); var_2(&s); var_3(&s,(type_2 *)p,len); var_4(output,&s); var_5(&s,0x5c); if (var_6 != *(long *)(var_1 + 0x28)) { ...
(translation_unit "void MD5Simple(void *p,uint len,uchar *output)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *output_local;\n uint len_local;\n void *p_local;\n MD5Context s;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n MD5Init(&s);\n MD5Update(&s,(uchar *)p,len);\n MD5Final(output,&s);\n smemclr(&s,...
(translation_unit "void function_1(void *p,type_1 len,type_2 *output)\n\n{\n long var_6;\n long var_1;\n type_2 *output_local;\n type_1 len_local;\n void *p_local;\n type_3 s;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(&s);\n var_3(&s,(type_2 *)p,len);\n var_4(output,&s);\n var_5(&s,0x5c);\n if (var_6 !...
(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: (identif...
1588_putty_and_putty_strip.c
zlib_decompress_init
FUN_00196220
zlib_decompress_init
/* WARNING: Unknown calling convention */ /* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void * zlib_decompress_init(void) { long lVar1; undefined8 *puVar2; zlib_table *pzVar3; long in_FS_OFFSET; zlib_decompress_ctx *dctx; uchar lengths [288]; lVar1 = *(long *)(in_FS_OFFSET...
undefined8 * FUN_00196220(void) { undefined8 *puVar1; undefined8 uVar2; long in_FS_OFFSET; undefined local_138 [144]; undefined auStack_a8 [112]; undefined auStack_38 [24]; undefined auStack_20 [16]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); puVar1 = (undefined8 *)FUN_0012e037(1...
(translation_unit "undefined8 * FUN_00196220(void)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined local_138 [144];\n undefined auStack_a8 [112];\n undefined auStack_38 [24];\n undefined auStack_20 [16];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n puVar1...
PUSH RBP MOV RBP,RSP SUB RSP,0x140 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV ESI,0x81c8 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x138],RAX LEA RAX,[RBP + -0x130] MOV EDX,0x90 MOV ESI,0x8 MOV RDI,RAX CALL 0x00114850 LEA RAX,[RBP + -0x130] ADD RAX,0x90 MOV EDX,0x70 MOV ESI,0x9 M...
/* WARNING: Unknown calling convention */ /* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void * function_1(void) { long var_7; type_1 *var_6; type_2 *pzVar3; long var_1; type_3 *dctx; type_4 var_4 [288]; var_7 = *(long *)(var_1 + 0x28); var_6 = (type_1 *)var_2(1,0x81c8); ...
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * zlib_decompress_init(void)\n\n{\n long lVar1;\n undefined8 *puVar2;\n zlib_table *pzVar3;\n long in_FS_OFFSET;\n zlib_decompress_ctx *dctx;\n uchar lengths [288];\n \n ...
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(void)\n\n{\n long var_7;\n type_1 *var_6;\n type_2 *pzVar3;\n long var_1;\n type_3 *dctx;\n type_4 var_4 [288];\n \n var_7 = *(long *)(var_1 + 0x28);\n var...
(translation_unit (comment) (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: (sized_type_specifier) de...
949_putty_and_putty_strip.c
ssh_connshare_log
FUN_0014414d
ssh_connshare_log
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_connshare_log(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err) { char *us_err_local; char *ds_err_local; char *logtext_local; int event_local; Ssh_conflict ssh_local; if (event == 0) { if (logtext ...
void FUN_0014414d(undefined8 param_1,int param_2,long param_3,long param_4,long param_5) { if (param_2 == 0) { if (param_3 == 0) { if (param_4 != 0) { FUN_0013c7b6(param_1,"Could not set up connection sharing as downstream: %s",param_4); } if (param_5 != 0) { FUN_0013c7b6(param...
(translation_unit "void FUN_0014414d(undefined8 param_1,int param_2,long param_3,long param_4,long param_5)\n\n{\n if (param_2 == 0) {\n if (param_3 == 0) {\n if (param_4 != 0) {\n FUN_0013c7b6(param_1,"Could not set up connection sharing as downstream: %s",param_4);\n }\n if (param_5 != 0) {\...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x8],RDI MOV dword ptr [RBP + -0xc],ESI MOV qword ptr [RBP + -0x18],RDX MOV qword ptr [RBP + -0x20],RCX MOV qword ptr [RBP + -0x28],R8 CMP dword ptr [RBP + -0xc],0x0 JNZ 0x001441e2 CMP qword ptr [RBP + -0x18],0x0 JZ 0x00144196 MOV RDX,qword ptr [RBP + -0x18] MOV R...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,int var_1,char *var_2,char *var_3,char *var_5) { char *us_err_local; char *ds_err_local; char *logtext_local; int event_local; type_1 ssh_local; if (var_1 == 0) { if (var_2 == (char *)0x0) { i...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_connshare_log(Ssh_conflict ssh,int event,char *logtext,char *ds_err,char *us_err)\n\n{\n char *us_err_local;\n char *ds_err_local;\n char *logtext_local;\n int event_local;\n Ssh_conflict ssh_local;\n \n if (e...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,int var_1,char *var_2,char *var_3,char *var_5)\n\n{\n char *us_err_local;\n char *ds_err_local;\n char *logtext_local;\n int event_local;\n type_1 ssh_local;\n \n if (var_1 == 0) {\n if (v...
(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...
1758_putty_and_putty_strip.c
columns_alloc_vert
FUN_001b19e4
columns_alloc_vert
void columns_alloc_vert(Columns *cols,gint ourheight,widget_dim_fn_t get_height) { ColumnsChild *pCVar1; int iVar2; gint gVar3; gint gVar4; widget_dim_fn_t get_height_local; gint ourheight_local; Columns *cols_local; gint i; gint ncols; gint fakeheight; int topy; gint realheight; gint childh...
void FUN_001b19e4(long param_1,undefined8 param_2,code *param_3) { long *plVar1; int iVar2; int iVar3; int local_40; int local_3c; int local_38; int local_34; undefined8 *local_20; int *local_18; local_3c = 1; local_18 = (int *)g_malloc_n(1,4); *local_18 = 0; for (local_20 = *(undefined8 ...
(translation_unit "void FUN_001b19e4(long param_1,undefined8 param_2,code *param_3)\n\n{\n long *plVar1;\n int iVar2;\n int iVar3;\n int local_40;\n int local_3c;\n int local_38;\n int local_34;\n undefined8 *local_20;\n int *local_18;\n \n local_3c = 1;\n local_18 = (int *)g_malloc_n(1,4);\n *local_18 = 0...
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 dword ptr [RBP + -0x34],0x1 MOV ESI,0x4 MOV EDI,0x1 CALL 0x00114080 MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x10] MOV dword ptr [RAX],0x0 MOV RAX,qword ptr [RBP + -0x48...
void function_1(type_1 *cols,type_2 ourheight,type_3 get_height) { type_4 *var_3; int var_8; type_2 var_9; type_2 var_10; type_3 get_height_local; type_2 ourheight_local; type_1 *cols_local; type_2 var_4; type_2 var_5; type_2 var_12; int var_11; type_2 realheight; type_2 childheight2; type...
(translation_unit "void columns_alloc_vert(Columns *cols,gint ourheight,widget_dim_fn_t get_height)\n\n{\n ColumnsChild *pCVar1;\n int iVar2;\n gint gVar3;\n gint gVar4;\n widget_dim_fn_t get_height_local;\n gint ourheight_local;\n Columns *cols_local;\n gint i;\n gint ncols;\n gint fakeheight;\n int topy;\n...
(translation_unit "void function_1(type_1 *cols,type_2 ourheight,type_3 get_height)\n\n{\n type_4 *var_3;\n int var_8;\n type_2 var_9;\n type_2 var_10;\n type_3 get_height_local;\n type_2 ourheight_local;\n type_1 *cols_local;\n type_2 var_4;\n type_2 var_5;\n type_2 var_12;\n int var_11;\n type_2 realheigh...
(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...
1807_putty_and_putty_strip.c
dlg_filesel_set
FUN_001b4129
dlg_filesel_set
void dlg_filesel_set(control *ctrl,void *dlg,Filename *fn) { uctrl *puVar1; char *ptr; undefined8 uVar2; Filename *fn_local; void *dlg_local; control *ctrl_local; dlgparam *dp; uctrl *uc; char *duppath; puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl); ptr = dupstr(fn->path); if ((puVar1->ctr...
void FUN_001b4129(undefined8 param_1,undefined8 param_2,undefined8 *param_3) { undefined8 *puVar1; undefined8 uVar2; undefined8 uVar3; puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1); uVar2 = FUN_0012cfa3(*param_3); if (*(int *)*puVar1 != 7) { /* WARNING: Subroutine does not re...
(translation_unit "void FUN_001b4129(undefined8 param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n \n puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1);\n uVar2 = FUN_0012cfa3(*param_3);\n if (*(int *)*puVar1 != 7) {\n /* WAR...
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,type_2 *fn) { type_3 *puVar1; char *ptr; type_4 uVar2; type_2 *fn_local; void *dlg_local; type_1 *ctrl_local; type_5 *dp; type_3 *uc; char *duppath; puVar1 = var_1((type_5 *)dlg,ctrl); ptr = var_2(fn->path); if ((puVar1->ctrl->generic).type != 7) { ...
(translation_unit "void dlg_filesel_set(control *ctrl,void *dlg,Filename *fn)\n\n{\n uctrl *puVar1;\n char *ptr;\n undefined8 uVar2;\n Filename *fn_local;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n char *duppath;\n \n puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n ptr = dups...
(translation_unit "void function_1(type_1 *ctrl,void *dlg,type_2 *fn)\n\n{\n type_3 *puVar1;\n char *ptr;\n type_4 uVar2;\n type_2 *fn_local;\n void *dlg_local;\n type_1 *ctrl_local;\n type_5 *dp;\n type_3 *uc;\n char *duppath;\n \n puVar1 = var_1((type_5 *)dlg,ctrl);\n ptr = var_2(fn->path);\n if ((puVar1...
(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...
1261_putty_and_putty_strip.c
des_encrypt_blk
FUN_00173fc8
des_encrypt_blk
void des_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_00173fc8(undefined8 param_1,undefined8 param_2,undefined4 param_3) { FUN_00172019(param_2,param_3,param_1); return; }
(translation_unit "void FUN_00173fc8(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_00173fc8(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_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_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n in...
(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...
1160_putty_and_putty_strip.c
ssh1_read_bignum
FUN_0016aadd
ssh1_read_bignum
int ssh1_read_bignum(uchar *data,int len,Bignum_conflict *result) { int iVar1; Bignum_conflict pBVar2; Bignum_conflict *result_local; int len_local; uchar *data_local; int i; int w; int b; uchar *p; if (len < 2) { iVar1 = -1; } else { w = 0; p = data; for (i = 0; i < 2; i = ...
byte * FUN_0016aadd(byte *param_1,int param_2,undefined8 *param_3) { int iVar1; undefined8 uVar2; int local_1c; int local_18; byte *local_10; if (param_2 < 2) { local_10 = (byte *)0xffffffff; } else { local_18 = 0; local_10 = param_1; for (local_1c = 0; local_1c < 2; local_1c = loca...
(translation_unit "byte * FUN_0016aadd(byte *param_1,int param_2,undefined8 *param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n int local_1c;\n int local_18;\n byte *local_10;\n \n if (param_2 < 2) {\n local_10 = (byte *)0xffffffff;\n }\n else {\n local_18 = 0;\n local_10 = param_1;\n for (local_1c =...
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 [RBP + -0x28] MOV qword ptr [RBP + -0x8],RAX CMP dword ptr [RBP + -0x2c],0x1 JG 0x0016ab08 MOV EAX,0xffffffff JMP 0x0016aba2 MOV dword ptr [RBP + -0x10],0x0 MOV dword ptr [...
int function_1(type_1 *data,int var_1,type_2 *var_6) { int var_5; type_2 pBVar2; type_2 *result_local; int len_local; type_1 *data_local; int var_2; int var_4; int b; type_1 *var_3; if (var_1 < 2) { var_5 = -1; } else { var_4 = 0; var_3 = data; for (var_2 = 0; var_2 < 2; var...
(translation_unit "int ssh1_read_bignum(uchar *data,int len,Bignum_conflict *result)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n Bignum_conflict *result_local;\n int len_local;\n uchar *data_local;\n int i;\n int w;\n int b;\n uchar *p;\n \n if (len < 2) {\n iVar1 = -1;\n }\n else {\n w = 0;\n p...
(translation_unit "int function_1(type_1 *data,int var_1,type_2 *var_6)\n\n{\n int var_5;\n type_2 pBVar2;\n type_2 *result_local;\n int len_local;\n type_1 *data_local;\n int var_2;\n int var_4;\n int b;\n type_1 *var_3;\n \n if (var_1 < 2) {\n var_5 = -1;\n }\n else {\n var_4 = 0;\n var_3 = data...
(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...
938_putty_and_putty_strip.c
ssh_fix_verstring
FUN_00142d72
ssh_fix_verstring
void ssh_fix_verstring(char *str) { char *str_local; for (str_local = str; (*str_local != '\0' && (*str_local != '-')); str_local = str_local + 1) { } if (*str_local == '-') { while (str_local = str_local + 1, *str_local != '\0') { if ((*str_local == '-') || (*str_local == ' ')) { *str_lo...
void FUN_00142d72(char *param_1) { char *local_10; for (local_10 = param_1; (*local_10 != '\0' && (*local_10 != '-')); local_10 = local_10 + 1) { } if (*local_10 == '-') { while (local_10 = local_10 + 1, *local_10 != '\0') { if ((*local_10 == '-') || (*local_10 == ' ')) { *local_10 = '_';...
(translation_unit "void FUN_00142d72(char *param_1)\n\n{\n char *local_10;\n \n for (local_10 = param_1; (*local_10 != '\0' && (*local_10 != '-')); local_10 = local_10 + 1) {\n }\n if (*local_10 == '-') {\n while (local_10 = local_10 + 1, *local_10 != '\0') {\n if ((*local_10 == '-') || (*local_10 == ' '))...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI JMP 0x00142d85 ADD qword ptr [RBP + -0x8],0x1 MOV RAX,qword ptr [RBP + -0x8] MOVZX EAX,byte ptr [RAX] TEST AL,AL JZ 0x00142d9b MOV RAX,qword ptr [RBP + -0x8] MOVZX EAX,byte ptr [RAX] CMP AL,0x2d JNZ 0x00142d80 MOV RAX,qword ptr [RBP + -0x8] MOVZX EAX,byte...
void function_1(char *str) { char *var_1; for (var_1 = str; (*var_1 != '\0' && (*var_1 != '-')); var_1 = var_1 + 1) { } if (*var_1 == '-') { while (var_1 = var_1 + 1, *var_1 != '\0') { if ((*var_1 == '-') || (*var_1 == ' ')) { *var_1 = '_'; } } return; } ...
(translation_unit "void ssh_fix_verstring(char *str)\n\n{\n char *str_local;\n \n for (str_local = str; (*str_local != '\0' && (*str_local != '-')); str_local = str_local + 1) {\n }\n if (*str_local == '-') {\n while (str_local = str_local + 1, *str_local != '\0') {\n if ((*str_local == '-') || (*str_local...
(translation_unit "void function_1(char *str)\n\n{\n char *var_1;\n \n for (var_1 = str; (*var_1 != '\0' && (*var_1 != '-')); var_1 = var_1 + 1) {\n }\n if (*var_1 == '-') {\n while (var_1 = var_1 + 1, *var_1 != '\0') {\n if ((*var_1 == '-') || (*var_1 == ' ')) {\n *var_1 = '_';\n }\n }\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))))) body: (compound_statement (declaration type: (primitive_type) dec...
1241_putty_and_putty_strip.c
des3_free_context
FUN_00172bc7
des3_free_context
void des3_free_context(void *handle) { void *handle_local; safefree(handle); return; }
void FUN_00172bc7(undefined8 param_1) { FUN_0012e243(param_1); return; }
(translation_unit "void FUN_00172bc7(undefined8 param_1)\n\n{\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_00172bc7(undefined8 param_1)\n\n{\n FUN_0012e243(param_1);\n return;\n}" primitive_type (function_declarator "FUN_00172bc7(undefined8 param_1)" identifier (parameter_list "(undefin...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0012e243 NOP LEAVE RET
void function_1(void *handle) { void *handle_local; var_1(handle); return; }
(translation_unit "void des3_free_context(void *handle)\n\n{\n void *handle_local;\n \n safefree(handle);\n return;\n}\n\n" (function_definition "void des3_free_context(void *handle)\n\n{\n void *handle_local;\n \n safefree(handle);\n return;\n}" primitive_type (function_declarator "des3_free_context(void *hand...
(translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n \n var_1(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n \n var_1(handle);\n return;\n}" primitive_type (function_declarator "function_1(void *handle)" identifier (parameter_...
(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...
1087_putty_and_putty_strip.c
aes_setup
FUN_00162f17
aes_setup
void aes_setup(AESContext *ctx,int blocklen,uchar *key,int keylen) { int iVar1; int iVar2; uint uVar3; uchar *key_local; int keylen_local; int blocklen_local; AESContext *ctx_local; int i; int j; int rconst; word32 temp; word32 temp_1; int Nk; int a; int b; int c; int d; int a_1; ...
void FUN_00162f17(long param_1,int param_2,long param_3,int param_4) { int iVar1; uint uVar2; int local_50; int local_4c; uint local_48; uint local_44; uint local_40; if (((param_2 != 0x10) && (param_2 != 0x18)) && (param_2 != 0x20)) { /* WARNING: Subroutine does not return */ ...
(translation_unit "void FUN_00162f17(long param_1,int param_2,long param_3,int param_4)\n\n{\n int iVar1;\n uint uVar2;\n int local_50;\n int local_4c;\n uint local_48;\n uint local_44;\n uint local_40;\n \n if (((param_2 != 0x10) && (param_2 != 0x18)) && (param_2 != 0x20)) {\n /* WARNING: S...
PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x58],RDI MOV dword ptr [RBP + -0x5c],ESI MOV qword ptr [RBP + -0x68],RDX MOV dword ptr [RBP + -0x60],ECX CMP dword ptr [RBP + -0x5c],0x10 JZ 0x00162f5e CMP dword ptr [RBP + -0x5c],0x18 JZ 0x00162f5e CMP dword ptr [RBP + -0x5c],0x20 JZ 0x00162f5e LEA RCX,[0x20c6f8...
void function_1(type_1 *ctx,int var_1,type_2 *key,int var_3) { int var_5; int var_4; type_3 var_9; type_2 *key_local; int keylen_local; int blocklen_local; type_1 *ctx_local; int var_6; int var_13; int var_8; type_4 var_7; type_4 var_14; int Nk; int a; int b; int c; int d; int a_1;...
(translation_unit "void aes_setup(AESContext *ctx,int blocklen,uchar *key,int keylen)\n\n{\n int iVar1;\n int iVar2;\n uint uVar3;\n uchar *key_local;\n int keylen_local;\n int blocklen_local;\n AESContext *ctx_local;\n int i;\n int j;\n int rconst;\n word32 temp;\n word32 temp_1;\n int Nk;\n int a;\n in...
(translation_unit "void function_1(type_1 *ctx,int var_1,type_2 *key,int var_3)\n\n{\n int var_5;\n int var_4;\n type_3 var_9;\n type_2 *key_local;\n int keylen_local;\n int blocklen_local;\n type_1 *ctx_local;\n int var_6;\n int var_13;\n int var_8;\n type_4 var_7;\n type_4 var_14;\n int Nk;\n int a;\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: (primitive_type) declarator: (identif...
1894_putty_and_putty_strip.c
pangofont_check_desc_makes_sense
FUN_001bde37
pangofont_check_desc_makes_sense
wchar_t pangofont_check_desc_makes_sense(PangoContext *ctx,PangoFontDescription *desc) { int iVar1; wchar_t wVar2; undefined8 uVar3; undefined8 uVar4; long in_FS_OFFSET; PangoFontDescription *desc_local; PangoContext *ctx_local; wchar_t nfamilies; wchar_t i; wchar_t matched; PangoFontFamily **fa...
undefined4 FUN_001bde37(undefined8 param_1,undefined8 param_2) { int iVar1; undefined4 uVar2; undefined8 uVar3; undefined8 uVar4; long in_FS_OFFSET; int local_3c; int local_38; undefined4 local_34; long local_30; long local_28; long local_20; local_20 = *(long *)(in_FS_OFFSET + 0x28); loc...
(translation_unit "undefined4 FUN_001bde37(undefined8 param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n int local_3c;\n int local_38;\n undefined4 local_34;\n long local_30;\n long local_28;\n long local_20;\n \n local_20 = *(lo...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x48 MOV qword ptr [RBP + -0x48],RDI MOV qword ptr [RBP + -0x50],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x18],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x48] MOV RDI,RAX CALL 0x00114e60 MOV qword ptr [RBP + -0x20],RAX CMP qword ptr [RBP + -0x20],0x0 JNZ 0x001bde78 MO...
type_1 function_1(type_2 *ctx,type_3 *desc) { int var_10; type_1 wVar2; type_4 uVar3; type_4 uVar4; long var_1; type_3 *desc_local; type_2 *ctx_local; type_1 var_6; type_1 var_5; type_1 matched; type_5 **families; type_6 *var_3; long var_12; var_12 = *(long *)(var_1 + 0x28); var_3 = (...
(translation_unit "wchar_t pangofont_check_desc_makes_sense(PangoContext *ctx,PangoFontDescription *desc)\n\n{\n int iVar1;\n wchar_t wVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n PangoFontDescription *desc_local;\n PangoContext *ctx_local;\n wchar_t nfamilies;\n wchar_t i;\n wchar_t m...
(translation_unit "type_1 function_1(type_2 *ctx,type_3 *desc)\n\n{\n int var_10;\n type_1 wVar2;\n type_4 uVar3;\n type_4 uVar4;\n long var_1;\n type_3 *desc_local;\n type_2 *ctx_local;\n type_1 var_6;\n type_1 var_5;\n type_1 matched;\n type_5 **families;\n type_6 *var_3;\n long var_12;\n \n var_12 = *...
(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...
1729_putty_and_putty_strip.c
findrelpos234
FUN_001ae420
findrelpos234
void * findrelpos234(tree234 *t,void *e,cmpfn234 cmp,int relation,int *index) { int iVar1; void *pvVar2; int *index_local; int relation_local; cmpfn234 cmp_local; void *e_local; tree234 *t_local; int idx; int ecount; int kcount; int cmpret; int c; node234_conflict *n; void *ret; if (t...
long FUN_001ae420(long *param_1,long param_2,code *param_3,int param_4,int *param_5) { int iVar1; long lVar2; code *local_50; int local_2c; int local_28; int local_24; int local_20; long local_18; if (*param_1 == 0) { return 0; } local_50 = param_3; if (param_3 == (code *)0x0) { loc...
(translation_unit "long FUN_001ae420(long *param_1,long param_2,code *param_3,int param_4,int *param_5)\n\n{\n int iVar1;\n long lVar2;\n code *local_50;\n int local_2c;\n int local_28;\n int local_24;\n int local_20;\n long local_18;\n \n if (*param_1 == 0) {\n return 0;\n }\n local_50 = param_3;\n if ...
PUSH RBP MOV RBP,RSP SUB RSP,0x60 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV qword ptr [RBP + -0x48],RDX MOV dword ptr [RBP + -0x4c],ECX MOV qword ptr [RBP + -0x58],R8 MOV RAX,qword ptr [RBP + -0x38] MOV RAX,qword ptr [RAX] TEST RAX,RAX JNZ 0x001ae451 MOV EAX,0x0 JMP 0x001ae650 CMP qword ptr [R...
void * function_1(type_1 *t,void *var_2,type_2 var_1,int var_3,int *var_10) { int var_7; void *var_12; int *index_local; int relation_local; type_2 cmp_local; void *e_local; type_1 *t_local; int var_8; int var_9; int var_5; int var_6; int c; type_3 *n; void *ret; if (t->root == (type_...
(translation_unit "void * findrelpos234(tree234 *t,void *e,cmpfn234 cmp,int relation,int *index)\n\n{\n int iVar1;\n void *pvVar2;\n int *index_local;\n int relation_local;\n cmpfn234 cmp_local;\n void *e_local;\n tree234 *t_local;\n int idx;\n int ecount;\n int kcount;\n int cmpret;\n int c;\n node234_con...
(translation_unit "void * function_1(type_1 *t,void *var_2,type_2 var_1,int var_3,int *var_10)\n\n{\n int var_7;\n void *var_12;\n int *index_local;\n int relation_local;\n type_2 cmp_local;\n void *e_local;\n type_1 *t_local;\n int var_8;\n int var_9;\n int var_5;\n int var_6;\n int c;\n type_3 *n;\n voi...
(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...
1631_putty_and_putty_strip.c
copy_termchar
FUN_0019a3a7
copy_termchar
void copy_termchar(termline *destline,wchar_t x,termchar *src) { termchar *ptVar1; ulong uVar2; undefined4 uVar3; termchar *src_local; wchar_t x_local; termline *destline_local; clear_cc(destline,x); ptVar1 = destline->chars + x; uVar2 = src->attr; ptVar1->chr = src->chr; ptVar1->attr = uVar2...
void FUN_0019a3a7(long param_1,int param_2,undefined8 *param_3) { undefined8 *puVar1; undefined8 uVar2; undefined8 *local_20; FUN_0019a125(param_1,param_2); puVar1 = (undefined8 *)(*(long *)(param_1 + 0x18) + (long)param_2 * 0x18); uVar2 = param_3[1]; *puVar1 = *param_3; puVar1[1] = uVar2; puVar1...
(translation_unit "void FUN_0019a3a7(long param_1,int param_2,undefined8 *param_3)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n undefined8 *local_20;\n \n FUN_0019a125(param_1,param_2);\n puVar1 = (undefined8 *)(*(long *)(param_1 + 0x18) + (long)param_2 * 0x18);\n uVar2 = param_3[1];\n *puVar1 = *param_3;\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV dword ptr [RBP + -0xc],ESI MOV qword ptr [RBP + -0x18],RDX MOV EDX,dword ptr [RBP + -0xc] MOV RAX,qword ptr [RBP + -0x8] MOV ESI,EDX MOV RDI,RAX CALL 0x0019a125 MOV RAX,qword ptr [RBP + -0x8] MOV RCX,qword ptr [RAX + 0x18] MOV EAX,dword ptr [RBP + -0x...
void function_1(type_1 *destline,type_2 var_2,type_3 *src) { type_3 *ptVar1; type_4 uVar2; type_5 uVar3; type_3 *var_3; type_2 x_local; type_1 *destline_local; var_1(destline,var_2); ptVar1 = destline->chars + var_2; uVar2 = src->attr; ptVar1->chr = src->chr; ptVar1->attr = uVar2; uVar3 = *...
(translation_unit "void copy_termchar(termline *destline,wchar_t x,termchar *src)\n\n{\n termchar *ptVar1;\n ulong uVar2;\n undefined4 uVar3;\n termchar *src_local;\n wchar_t x_local;\n termline *destline_local;\n \n clear_cc(destline,x);\n ptVar1 = destline->chars + x;\n uVar2 = src->attr;\n ptVar1->chr = s...
(translation_unit "void function_1(type_1 *destline,type_2 var_2,type_3 *src)\n\n{\n type_3 *ptVar1;\n type_4 uVar2;\n type_5 uVar3;\n type_3 *var_3;\n type_2 x_local;\n type_1 *destline_local;\n \n var_1(destline,var_2);\n ptVar1 = destline->chars + var_2;\n uVar2 = src->attr;\n ptVar1->chr = src->chr;\n p...
(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...
1155_putty_and_putty_strip.c
decbn
FUN_0016a57d
decbn
void decbn(Bignum_conflict bn) { Bignum_conflict bn_local; int i; i = 1; while ((i < (int)*bn && (bn[i] == 0))) { bn[i] = 0xffffffffffffffff; i = i + 1; } if ((int)*bn <= i) { /* WARNING: Subroutine does not return */ __assert_fail("i < (int)bn[0]","sshbn.c",0x57b,"decbn...
void FUN_0016a57d(undefined8 *param_1) { int local_c; local_c = 1; while ((local_c < (int)*param_1 && (param_1[local_c] == 0))) { param_1[local_c] = 0xffffffffffffffff; local_c = local_c + 1; } if ((int)*param_1 <= local_c) { /* WARNING: Subroutine does not return */ __ass...
(translation_unit "void FUN_0016a57d(undefined8 *param_1)\n\n{\n int local_c;\n \n local_c = 1;\n while ((local_c < (int)*param_1 && (param_1[local_c] == 0))) {\n param_1[local_c] = 0xffffffffffffffff;\n local_c = local_c + 1;\n }\n if ((int)*param_1 <= local_c) {\n /* WARNING: Subroutine...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x4],0x1 JMP 0x0016a5b3 MOV EAX,dword ptr [RBP + -0x4] LEA EDX,[RAX + 0x1] MOV dword ptr [RBP + -0x4],EDX CDQE LEA RDX,[RAX*0x8] MOV RAX,qword ptr [RBP + -0x18] ADD RAX,RDX MOV qword ptr [RAX],-0x1 MOV RAX,qword ptr [RBP + -0x18] MO...
void function_1(type_1 bn) { type_1 bn_local; int var_1; var_1 = 1; while ((var_1 < (int)*bn && (bn[var_1] == 0))) { bn[var_1] = 0xffffffffffffffff; var_1 = var_1 + 1; } if ((int)*bn <= var_1) { /* WARNING: Subroutine does not return */ var_2("i < (int)bn[0]","sshbn.c",0...
(translation_unit "void decbn(Bignum_conflict bn)\n\n{\n Bignum_conflict bn_local;\n int i;\n \n i = 1;\n while ((i < (int)*bn && (bn[i] == 0))) {\n bn[i] = 0xffffffffffffffff;\n i = i + 1;\n }\n if ((int)*bn <= i) {\n /* WARNING: Subroutine does not return */\n __assert_fail("i < (in...
(translation_unit "void function_1(type_1 bn)\n\n{\n type_1 bn_local;\n int var_1;\n \n var_1 = 1;\n while ((var_1 < (int)*bn && (bn[var_1] == 0))) {\n bn[var_1] = 0xffffffffffffffff;\n var_1 = var_1 + 1;\n }\n if ((int)*bn <= var_1) {\n /* WARNING: Subroutine does not return */\n var...
(translation_unit (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: (type_identifier) declarator: (identifier)) (declara...
1335_putty_and_putty_strip.c
ed25519_openssh_createkey
FUN_0017ae8f
ed25519_openssh_createkey
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void * ed25519_openssh_createkey(ssh_signkey *self,uchar **blob,int *len) { int iVar1; ec_curve *peVar2; Bignum_conflict pBVar3; ec_key *peVar4; long in_FS_OFFSET; int *len_local; uchar **blob_local; ssh_signkey *self_local; i...
undefined8 * FUN_0017ae8f(undefined8 param_1,undefined8 param_2,undefined8 param_3) { int iVar1; undefined8 uVar2; undefined8 *puVar3; long in_FS_OFFSET; int local_38; int local_34; void *local_30; long local_28; undefined8 *local_20; long local_18; long local_10; local_10 = *(long *)(in_FS...
(translation_unit "undefined8 * FUN_0017ae8f(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 *puVar3;\n long in_FS_OFFSET;\n int local_38;\n int local_34;\n void *local_30;\n long local_28;\n undefined8 *local_20;\n long local_18;\n long local_10;\...
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 LEA RCX,[RBP + -0x30] LEA RDX,[RBP + -0x28] MOV RSI,qword ptr [RBP + -0x48] MOV RAX,qword ptr [RBP + -0x40] MOV RDI,RAX...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void * function_1(type_1 *self,type_2 **blob,int *len) { int var_7; type_3 *peVar2; type_4 pBVar3; type_5 *peVar4; long var_1; int *len_local; type_2 **blob_local; type_1 *self_local; int var_16; int var_10; char *var_3; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * ed25519_openssh_createkey(ssh_signkey *self,uchar **blob,int *len)\n\n{\n int iVar1;\n ec_curve *peVar2;\n Bignum_conflict pBVar3;\n ec_key *peVar4;\n long in_FS_OFFSET;\n int *len_local;\n uchar **blob_local;\n...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(type_1 *self,type_2 **blob,int *len)\n\n{\n int var_7;\n type_3 *peVar2;\n type_4 pBVar3;\n type_5 *peVar4;\n long var_1;\n int *len_local;\n type_2 **blob_local;\n type_1 *self_local;\n int var_16;...
(translation_unit (comment) (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 t...
1570_putty_and_putty_strip.c
nullplug_receive
FUN_00194315
nullplug_receive
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void nullplug_receive(Plug plug,int urgent,char *data,int len) { char *data_local; int len_local; int urgent_local; Plug plug_local; return; }
void FUN_00194315(void) { return; }
(translation_unit "void FUN_00194315(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_00194315(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00194315(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 dword ptr [RBP + -0xc],ESI MOV qword ptr [RBP + -0x18],RDX MOV dword ptr [RBP + -0x10],ECX NOP POP RBP RET
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 plug,int urgent,char *data,int len) { char *data_local; int len_local; int urgent_local; type_1 plug_local; return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid nullplug_receive(Plug plug,int urgent,char *data,int len)\n\n{\n char *data_local;\n int len_local;\n int urgent_local;\n Plug plug_local;\n \n return;\n}\n\n" comment (function_definition "void nullplug_receive(Pl...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int urgent,char *data,int len)\n\n{\n char *data_local;\n int len_local;\n int urgent_local;\n type_1 plug_local;\n \n return;\n}\n\n" comment (function_definition "void function_1(type_1 plu...
(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...
1196_putty_and_putty_strip.c
poly1305_key
FUN_0016e3ae
poly1305_key
void poly1305_key(poly1305 *ctx,uchar *key) { long lVar1; undefined8 uVar2; long in_FS_OFFSET; uchar *key_local; poly1305 *ctx_local; uchar key_copy [16]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); key_copy._0_8_ = *(ulong *)key & 0xffffffc0fffffff; key_copy._8_8_ = *(ulong *)(key + 8) & 0xffffffc0f...
void FUN_0016e3ae(ulong *param_1,ulong *param_2) { ulong uVar1; long in_FS_OFFSET; ulong local_28; ulong local_20; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_28 = *param_2 & 0xffffffc0fffffff; local_20 = param_2[1] & 0xffffffc0ffffffc; FUN_0016d14f(param_1 + 2,&local_28,0x10)...
(translation_unit "void FUN_0016e3ae(ulong *param_1,ulong *param_2)\n\n{\n ulong uVar1;\n long in_FS_OFFSET;\n ulong local_28;\n ulong local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28 = *param_2 & 0xffffffc0fffffff;\n local_20 = param_2[1] & 0xffffffc0ffffffc;\n FUN_0016d1...
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 + -0x30] MOV RDX,qword ptr [RAX + 0x8] MOV RAX,qword ptr [RAX] MOV qword ptr [RBP + -0x20],RAX MOV qword ptr [RBP + -0x18],RDX M...
void function_1(type_1 *ctx,type_2 *var_2) { long var_5; type_3 uVar2; long var_1; type_2 *key_local; type_1 *ctx_local; type_2 key_copy [16]; var_5 = *(long *)(var_1 + 0x28); key_copy._0_8_ = *(type_4 *)var_2 & 0xffffffc0fffffff; key_copy._8_8_ = *(type_4 *)(var_2 + 8) & 0xffffffc0ffffffc; var...
(translation_unit "void poly1305_key(poly1305 *ctx,uchar *key)\n\n{\n long lVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n uchar *key_local;\n poly1305 *ctx_local;\n uchar key_copy [16];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n key_copy._0_8_ = *(ulong *)key & 0xffffffc0fffffff;\n key_copy._8_8_ = *(u...
(translation_unit "void function_1(type_1 *ctx,type_2 *var_2)\n\n{\n long var_5;\n type_3 uVar2;\n long var_1;\n type_2 *key_local;\n type_1 *ctx_local;\n type_2 key_copy [16];\n \n var_5 = *(long *)(var_1 + 0x28);\n key_copy._0_8_ = *(type_4 *)var_2 & 0xffffffc0fffffff;\n key_copy._8_8_ = *(type_4 *)(var_2 +...
(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...
1233_putty_and_putty_strip.c
des_cbc3_encrypt
FUN_00172466
des_cbc3_encrypt
void des_cbc3_encrypt(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 out [2]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); if ((len & 7) != 0) { /* WARNI...
void FUN_00172466(byte *param_1,uint param_2,long param_3) { long in_FS_OFFSET; byte *local_30; uint local_24; uint local_20; uint local_1c; uint local_18; uint local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if ((param_2 & 7) != 0) { /* WARNING: Subrouti...
(translation_unit "void FUN_00172466(byte *param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n byte *local_30;\n uint local_24;\n uint local_20;\n uint local_1c;\n uint local_18;\n uint local_14;\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 0x001724b1 LEA RCX,[0x20ef40] MOV EDX,0x29b LEA RSI,[0x20ec...
void function_1(type_1 *blk,type_2 var_2,type_3 *var_10) { long var_11; long var_1; type_3 *scheds_local; type_2 len_local; type_1 *var_7; type_4 var_6; type_4 var_8; type_2 var_4; type_4 out [2]; var_11 = *(long *)(var_1 + 0x28); if ((var_2 & 7) != 0) { /* WARNING: Subrou...
(translation_unit "void des_cbc3_encrypt(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 out [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & 7) != 0...
(translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *var_10)\n\n{\n long var_11;\n long var_1;\n type_3 *scheds_local;\n type_2 len_local;\n type_1 *var_7;\n type_4 var_6;\n type_4 var_8;\n type_2 var_4;\n type_4 out [2];\n \n var_11 = *(long *)(var_1 + 0x28);\n if ((var_2 & 7) != 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: (identi...
1861_putty_and_putty_strip.c
eventlog_destroy
FUN_001ba186
eventlog_destroy
void eventlog_destroy(GtkWidget *widget,gpointer data) { gpointer data_local; GtkWidget *widget_local; eventlog_stuff *es; *(undefined8 *)((long)data + 8) = 0; safefree(*(void **)((long)data + 0xc90)); *(undefined8 *)((long)data + 0xc90) = 0; dlg_cleanup((dlgparam *)((long)data + 0xc18)); ctrl_free...
void FUN_001ba186(undefined8 param_1,long param_2) { *(undefined8 *)(param_2 + 8) = 0; FUN_0012e243(*(undefined8 *)(param_2 + 0xc90)); *(undefined8 *)(param_2 + 0xc90) = 0; FUN_001b2c31(param_2 + 0xc18); FUN_0012561f(*(undefined8 *)(param_2 + 0x10)); return; }
(translation_unit "void FUN_001ba186(undefined8 param_1,long param_2)\n\n{\n *(undefined8 *)(param_2 + 8) = 0;\n FUN_0012e243(*(undefined8 *)(param_2 + 0xc90));\n *(undefined8 *)(param_2 + 0xc90) = 0;\n FUN_001b2c31(param_2 + 0xc18);\n FUN_0012561f(*(undefined8 *)(param_2 + 0x10));\n return;\n}\n\n" (function_def...
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 + -0x20] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RAX + 0x8],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0xc90] MOV RDI,RAX CALL 0x0012e243 MOV RAX...
void function_1(type_1 *widget,type_2 data) { type_2 data_local; type_1 *widget_local; type_3 *es; *(type_4 *)((long)data + 8) = 0; var_1(*(void **)((long)data + 0xc90)); *(type_4 *)((long)data + 0xc90) = 0; var_2((type_5 *)((long)data + 0xc18)); var_3(*(type_6 **)((long)data + 0x10)); return; } ...
(translation_unit "void eventlog_destroy(GtkWidget *widget,gpointer data)\n\n{\n gpointer data_local;\n GtkWidget *widget_local;\n eventlog_stuff *es;\n \n *(undefined8 *)((long)data + 8) = 0;\n safefree(*(void **)((long)data + 0xc90));\n *(undefined8 *)((long)data + 0xc90) = 0;\n dlg_cleanup((dlgparam *)((long...
(translation_unit "void function_1(type_1 *widget,type_2 data)\n\n{\n type_2 data_local;\n type_1 *widget_local;\n type_3 *es;\n \n *(type_4 *)((long)data + 8) = 0;\n var_1(*(void **)((long)data + 0xc90));\n *(type_4 *)((long)data + 0xc90) = 0;\n var_2((type_5 *)((long)data + 0xc18));\n var_3(*(type_6 **)((lon...
(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...
1041_putty_and_putty_strip.c
ssh2_setup_x11
FUN_00154887
ssh2_setup_x11
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_setup_x11(ssh_channel *c,Packet *pktin,void *ctx) { Ssh_conflict ssh_00; Packet *pkt; void *ctx_local; Packet *pktin_local; ssh_channel *c_local; Ssh_conflict ssh; ssh2_setup_x11_state *s; int *crLine; Packet *pktout...
void FUN_00154887(long *param_1,long param_2,int *param_3) { long lVar1; undefined8 uVar2; int *local_40; lVar1 = *param_1; local_40 = param_3; if (param_3 == (int *)0x0) { local_40 = (int *)FUN_0012e037(1,4); *local_40 = 0; } if (*local_40 == 0) { FUN_001c593c(*(undefined8 *)(lVar1 + 0...
(translation_unit "void FUN_00154887(long *param_1,long param_2,int *param_3)\n\n{\n long lVar1;\n undefined8 uVar2;\n int *local_40;\n \n lVar1 = *param_1;\n local_40 = param_3;\n if (param_3 == (int *)0x0) {\n local_40 = (int *)FUN_0012e037(1,4);\n *local_40 = 0;\n }\n if (*local_40 == 0) {\n FUN_00...
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 + -0x28] MOV RAX,qword ptr [RAX] MOV qword ptr [RBP + -0x20],RAX CMP qword ptr [RBP + -0x38],0x0 JNZ 0x001548d2 MOV ESI,0x4 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *c,type_2 *var_9,void *var_1) { type_3 ssh_00; type_2 *pkt; void *ctx_local; type_2 *pktin_local; type_1 *c_local; type_3 ssh; type_4 *s; int *crLine; type_2 *pktout; ssh_00 = c->ssh; ctx_local = ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_setup_x11(ssh_channel *c,Packet *pktin,void *ctx)\n\n{\n Ssh_conflict ssh_00;\n Packet *pkt;\n void *ctx_local;\n Packet *pktin_local;\n ssh_channel *c_local;\n Ssh_conflict ssh;\n ssh2_setup_x11_state *s;\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,type_2 *var_9,void *var_1)\n\n{\n type_3 ssh_00;\n type_2 *pkt;\n void *ctx_local;\n type_2 *pktin_local;\n type_1 *c_local;\n type_3 ssh;\n type_4 *s;\n int *crLine;\n type_2 *pktout;\n \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...
1016_putty_and_putty_strip.c
ssh2_msg_channel_response
FUN_00152595
ssh2_msg_channel_response
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_msg_channel_response(Ssh_conflict ssh,Packet *pktin) { outstanding_channel_request *ptr; ssh_channel *c_00; Packet *pktin_local; Ssh_conflict ssh_local; ssh_channel *c; outstanding_channel_request *ocr; c_00 = ssh_cha...
void FUN_00152595(undefined8 param_1,undefined8 param_2) { undefined8 *puVar1; long lVar2; lVar2 = FUN_0015236c(param_1,param_2); if (lVar2 != 0) { puVar1 = *(undefined8 **)(lVar2 + 0x58); if (puVar1 == (undefined8 *)0x0) { FUN_0015b06e(param_1,param_2); } else { (*(code *)*puVa...
(translation_unit "void FUN_00152595(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n long lVar2;\n \n lVar2 = FUN_0015236c(param_1,param_2);\n if (lVar2 != 0) {\n puVar1 = *(undefined8 **)(lVar2 + 0x58);\n if (puVar1 == (undefined8 *)0x0) {\n FUN_0015b06e(param_1,param_2);\n }\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RDX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RDX MOV RDI,RAX CALL 0x0015236c MOV qword ptr [RBP + -0x10],RAX CMP qword ptr [RBP + -0x10],0x0 JZ 0x00152631 MOV RAX,qword ptr [RBP + -0x10] MOV RAX,...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { type_3 *var_3; type_4 *var_2; type_2 *pktin_local; type_1 ssh_local; type_4 *c; type_3 *ocr; var_2 = var_1(ssh,pktin); if (var_2 != (type_4 *)0x0) { var_3 = (var_2->v).v2.chanre...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_response(Ssh_conflict ssh,Packet *pktin)\n\n{\n outstanding_channel_request *ptr;\n ssh_channel *c_00;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n outstanding_channel_reque...
(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 *var_3;\n type_4 *var_2;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_4 *c;\n type_3 *ocr;\n \n var_2 = var_1(ssh,pktin);\n if (var_2 != (type_4 *)0x0) {\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...
1681_putty_and_putty_strip.c
term_print_flush
FUN_001a06dd
term_print_flush
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_print_flush(Terminal *term) { long in_FS_OFFSET; Terminal *term_local; wchar_t len; wchar_t size; void *data; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); while( true ) { size = bufchain_size((bufch...
void FUN_001a06dd(long param_1) { long in_FS_OFFSET; int local_20; int local_1c; undefined8 local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); while( true ) { local_1c = FUN_0012dc00(param_1 + 0x148); if (local_1c < 6) break; FUN_0012deef(param_1 + 0x148,&local_18,&local_...
(translation_unit "void FUN_001a06dd(long param_1)\n\n{\n long in_FS_OFFSET;\n int local_20;\n int local_1c;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n while( true ) {\n local_1c = FUN_0012dc00(param_1 + 0x148);\n if (local_1c < 6) break;\n FUN_0012deef(pa...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX JMP 0x001a0763 MOV RAX,qword ptr [RBP + -0x28] LEA RCX,[RAX + 0x148] LEA RDX,[RBP + -0x18] LEA RAX,[RBP + -0x10] MOV RSI,RAX MOV RDI,RCX CALL 0x0012deef MOV EAX,dword ptr [RBP + -0x14...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term) { long var_1; type_1 *term_local; type_2 var_5; type_2 var_3; void *data; long var_8; var_8 = *(long *)(var_1 + 0x28); while( true ) { var_3 = var_2((type_3 *)&term->printer_buf); if (var...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_print_flush(Terminal *term)\n\n{\n long in_FS_OFFSET;\n Terminal *term_local;\n wchar_t len;\n wchar_t size;\n void *data;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n while( true ) {\...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term)\n\n{\n long var_1;\n type_1 *term_local;\n type_2 var_5;\n type_2 var_3;\n void *data;\n long var_8;\n \n var_8 = *(long *)(var_1 + 0x28);\n while( true ) {\n var_3 = var_2((type_3 *)...
(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: (sized_ty...
942_putty_and_putty_strip.c
ssh_process_incoming_data
FUN_00143b0f
ssh_process_incoming_data
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_process_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen) { Packet *pkt; int *datalen_local; uchar **data_local; Ssh_conflict ssh_local; Packet *pktin; pkt = (*ssh->s_rdpkt)(ssh,data,datalen); if (pkt != (Packe...
void FUN_00143b0f(long param_1,undefined8 param_2,undefined8 param_3) { long lVar1; lVar1 = (**(code **)(param_1 + 0x370))(param_1,param_2,param_3); if (lVar1 != 0) { (**(code **)(param_1 + 0x368))(param_1,0,0,lVar1); FUN_0013d032(lVar1); } return; }
(translation_unit "void FUN_00143b0f(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n long lVar1;\n \n lVar1 = (**(code **)(param_1 + 0x370))(param_1,param_2,param_3);\n if (lVar1 != 0) {\n (**(code **)(param_1 + 0x368))(param_1,0,0,lVar1);\n FUN_0013d032(lVar1);\n }\n return;\n}\n\n" (function_de...
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 + -0x18] MOV RAX,qword ptr [RAX + 0x370] MOV RDX,qword ptr [RBP + -0x28] MOV RSI,qword ptr [RBP + -0x20] MOV RCX,qword ptr [RBP + -0x18] MOV RDI,RCX CALL RAX MOV qword...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 **data,int *datalen) { type_3 *var_1; int *datalen_local; type_2 **data_local; type_1 ssh_local; type_3 *pktin; var_1 = (*ssh->s_rdpkt)(ssh,data,datalen); if (var_1 != (type_3 *)0x0) { (*ss...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_process_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)\n\n{\n Packet *pkt;\n int *datalen_local;\n uchar **data_local;\n Ssh_conflict ssh_local;\n Packet *pktin;\n \n pkt = (*ssh->s_rdpkt)(ssh,data,...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 **data,int *datalen)\n\n{\n type_3 *var_1;\n int *datalen_local;\n type_2 **data_local;\n type_1 ssh_local;\n type_3 *pktin;\n \n var_1 = (*ssh->s_rdpkt)(ssh,data,datalen);\n if (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...
1245_putty_and_putty_strip.c
des3_sesskey
FUN_00172f5d
des3_sesskey
void des3_sesskey(void *handle,uchar *key) { uchar *key_local; void *handle_local; DESContext *keys; des3_key(handle,key); des3_key((void *)((long)handle + 0x198),key); return; }
void FUN_00172f5d(long param_1,undefined8 param_2) { FUN_00172be2(param_1,param_2); FUN_00172be2(param_1 + 0x198,param_2); return; }
(translation_unit "void FUN_00172f5d(long param_1,undefined8 param_2)\n\n{\n FUN_00172be2(param_1,param_2);\n FUN_00172be2(param_1 + 0x198,param_2);\n return;\n}\n\n" (function_definition "void FUN_00172f5d(long param_1,undefined8 param_2)\n\n{\n FUN_00172be2(param_1,param_2);\n FUN_00172be2(param_1 + 0x198,param_...
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 RSI,RDX MOV RDI,RAX CALL 0x00172be2 MOV RAX,qword ptr [RBP + -0x8] LEA RDX,[RAX + 0x198] MOV...
void function_1(void *handle,type_1 *key) { type_1 *key_local; void *handle_local; type_2 *keys; var_1(handle,key); var_1((void *)((long)handle + 0x198),key); return; }
(translation_unit "void des3_sesskey(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n DESContext *keys;\n \n des3_key(handle,key);\n des3_key((void *)((long)handle + 0x198),key);\n return;\n}\n\n" (function_definition "void des3_sesskey(void *handle,uchar *key)\n\n{\n uchar *key_local;\...
(translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(handle,key);\n var_1((void *)((long)handle + 0x198),key);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *h...
(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...
1822_putty_and_putty_strip.c
button_clicked
FUN_001b4a8f
button_clicked
void button_clicked(GtkButton *button,gpointer data) { undefined8 uVar1; GtkWidget *w; uctrl *puVar2; gpointer data_local; GtkButton *button_local; dlgparam *dp; uctrl *uc; uVar1 = gtk_widget_get_type(); w = (GtkWidget *)g_type_check_instance_cast(button,uVar1); puVar2 = dlg_find_bywidget((dlgp...
void FUN_001b4a8f(undefined8 param_1,long param_2) { undefined8 uVar1; long *plVar2; uVar1 = gtk_widget_get_type(); uVar1 = g_type_check_instance_cast(param_1,uVar1); plVar2 = (long *)FUN_001b2d4d(param_2,uVar1); (**(code **)(*plVar2 + 0x18))(*plVar2,param_2,*(undefined8 *)(param_2 + 0x10),1); return...
(translation_unit "void FUN_001b4a8f(undefined8 param_1,long param_2)\n\n{\n undefined8 uVar1;\n long *plVar2;\n \n uVar1 = gtk_widget_get_type();\n uVar1 = g_type_check_instance_cast(param_1,uVar1);\n plVar2 = (long *)FUN_001b2d4d(param_2,uVar1);\n (**(code **)(*plVar2 + 0x18))(*plVar2,param_2,*(undefined8 *)(p...
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 + -0x20] MOV qword ptr [RBP + -0x10],RAX CALL 0x00114510 MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RDX MOV RDI,RAX CALL 0x00114570 MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x10] MOV RSI,RDX MO...
void function_1(type_1 *button,type_2 data) { type_3 uVar1; type_4 *w; type_5 *puVar2; type_2 data_local; type_1 *button_local; type_6 *dp; type_5 *uc; uVar1 = var_1(); w = (type_4 *)var_2(button,uVar1); puVar2 = var_3((type_6 *)data,w); (*(puVar2->ctrl->generic).handler)(puVar2->ctrl,data,*(...
(translation_unit "void button_clicked(GtkButton *button,gpointer data)\n\n{\n undefined8 uVar1;\n GtkWidget *w;\n uctrl *puVar2;\n gpointer data_local;\n GtkButton *button_local;\n dlgparam *dp;\n uctrl *uc;\n \n uVar1 = gtk_widget_get_type();\n w = (GtkWidget *)g_type_check_instance_cast(button,uVar1);\n p...
(translation_unit "void function_1(type_1 *button,type_2 data)\n\n{\n type_3 uVar1;\n type_4 *w;\n type_5 *puVar2;\n type_2 data_local;\n type_1 *button_local;\n type_6 *dp;\n type_5 *uc;\n \n uVar1 = var_1();\n w = (type_4 *)var_2(button,uVar1);\n puVar2 = var_3((type_6 *)data,w);\n (*(puVar2->ctrl->generi...
(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...
1034_putty_and_putty_strip.c
ssh_sharing_add_x11_display
FUN_00153ef1
ssh_sharing_add_x11_display
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ X11FakeAuth * ssh_sharing_add_x11_display(Ssh_conflict ssh,int authtype,void *share_cs,void *share_chan) { X11FakeAuth *pXVar1; void *share_chan_local; void *share_cs_local; int authtype_local; Ssh_conflict ssh_local; X11FakeAuth *a...
long FUN_00153ef1(long param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4) { long lVar1; lVar1 = FUN_001dae38(*(undefined8 *)(param_1 + 0x248),param_2); *(undefined8 *)(lVar1 + 0x40) = param_3; *(undefined8 *)(lVar1 + 0x48) = param_4; return lVar1; }
(translation_unit "long FUN_00153ef1(long param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n long lVar1;\n \n lVar1 = FUN_001dae38(*(undefined8 *)(param_1 + 0x248),param_2);\n *(undefined8 *)(lVar1 + 0x40) = param_3;\n *(undefined8 *)(lVar1 + 0x48) = param_4;\n return lVar1;\n}\n\n" (functio...
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 RAX,qword ptr [RAX + 0x248] MOV EDX,dword ptr [RBP + -0x1c] MOV ESI,EDX MOV RDI,RAX CALL 0x001dae38 MOV qword ptr [RBP + -...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_2 ssh,int authtype,void *share_cs,void *share_chan) { type_1 *pXVar1; void *share_chan_local; void *share_cs_local; int authtype_local; type_2 ssh_local; type_1 *auth; pXVar1 = var_1(ssh->x11authtree,au...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nX11FakeAuth *\nssh_sharing_add_x11_display(Ssh_conflict ssh,int authtype,void *share_cs,void *share_chan)\n\n{\n X11FakeAuth *pXVar1;\n void *share_chan_local;\n void *share_cs_local;\n int authtype_local;\n Ssh_conflict...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 *\nfunction_1(type_2 ssh,int authtype,void *share_cs,void *share_chan)\n\n{\n type_1 *pXVar1;\n void *share_chan_local;\n void *share_cs_local;\n int authtype_local;\n type_2 ssh_local;\n type_1 *auth;\n \n pXV...
(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...
1362_putty_and_putty_strip.c
ssh_gssapi_bind_fns
FUN_0017dbf6
ssh_gssapi_bind_fns
void ssh_gssapi_bind_fns(ssh_gss_library *lib) { ssh_gss_library *lib_local; lib->indicate_mech = ssh_gssapi_indicate_mech; lib->import_name = ssh_gssapi_import_name; lib->release_name = ssh_gssapi_release_name; lib->init_sec_context = ssh_gssapi_init_sec_context; lib->free_tok = ssh_gssapi_free_tok; ...
void FUN_0017dbf6(long param_1) { *(code **)(param_1 + 0x10) = FUN_0017d59e; *(code **)(param_1 + 0x18) = FUN_0017d5d6; *(code **)(param_1 + 0x20) = FUN_0017dafa; *(code **)(param_1 + 0x28) = FUN_0017d6eb; *(code **)(param_1 + 0x30) = FUN_0017d9e0; *(code **)(param_1 + 0x38) = FUN_0017d692; *(code **)(p...
(translation_unit "void FUN_0017dbf6(long param_1)\n\n{\n *(code **)(param_1 + 0x10) = FUN_0017d59e;\n *(code **)(param_1 + 0x18) = FUN_0017d5d6;\n *(code **)(param_1 + 0x20) = FUN_0017dafa;\n *(code **)(param_1 + 0x28) = FUN_0017d6eb;\n *(code **)(param_1 + 0x30) = FUN_0017d9e0;\n *(code **)(param_1 + 0x38) = FU...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] LEA RDX,[0x17d59e] MOV qword ptr [RAX + 0x10],RDX MOV RAX,qword ptr [RBP + -0x8] LEA RDX,[0x17d5d6] MOV qword ptr [RAX + 0x18],RDX MOV RAX,qword ptr [RBP + -0x8] LEA RDX,[0x17dafa] MOV qword ptr [RAX + 0x20],RDX MOV RAX,qword ptr [RBP + ...
void function_1(type_1 *lib) { type_1 *lib_local; lib->indicate_mech = ssh_gssapi_indicate_mech; lib->import_name = ssh_gssapi_import_name; lib->release_name = ssh_gssapi_release_name; lib->init_sec_context = ssh_gssapi_init_sec_context; lib->free_tok = ssh_gssapi_free_tok; lib->acquire_cred = ssh_gs...
(translation_unit "void ssh_gssapi_bind_fns(ssh_gss_library *lib)\n\n{\n ssh_gss_library *lib_local;\n \n lib->indicate_mech = ssh_gssapi_indicate_mech;\n lib->import_name = ssh_gssapi_import_name;\n lib->release_name = ssh_gssapi_release_name;\n lib->init_sec_context = ssh_gssapi_init_sec_context;\n lib->free_t...
(translation_unit "void function_1(type_1 *lib)\n\n{\n type_1 *lib_local;\n \n lib->indicate_mech = ssh_gssapi_indicate_mech;\n lib->import_name = ssh_gssapi_import_name;\n lib->release_name = ssh_gssapi_release_name;\n lib->init_sec_context = ssh_gssapi_init_sec_context;\n lib->free_tok = ssh_gssapi_free_tok;\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))))) body: (compound_statement (declaration type: (type_identifier) d...
1291_putty_and_putty_strip.c
ec_p256
FUN_0017688b
ec_p256
/* WARNING: Unknown calling convention */ /* WARNING: Enum "anon_enum_32": Some values do not have unique names */ ec_curve * ec_p256(void) { if (ec_p256::initialised == '\0') { initialise_wcurve(&ec_p256::curve,0x100,ec_p256::lexical_block_2::p,ec_p256::lexical_block_2::a, ec_p256::lexic...
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ undefined * FUN_0017688b(void) { if (DAT_00235a80 == '\0') { FUN_0017659a(&DAT_00235aa0,0x100,&DAT_0020f4c0,&DAT_0020f4e0,&DAT_0020f500,&DAT_0020f520, &DAT_0020f540,&DAT_0020f560); DAT_00235aa8 = "nistp256...
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined * FUN_0017688b(void)\n\n{\n if (DAT_00235a80 == '\0') {\n FUN_0017659a(&DAT_00235aa0,0x100,&DAT_0020f4c0,&DAT_0020f4e0,&DAT_0020f500,&DAT_0020f520,\n &DAT_0020f540,&DAT_0020f560);\n ...
PUSH RBP MOV RBP,RSP MOVZX EAX,byte ptr [0x00235a80] TEST AL,AL JNZ 0x001768fe LEA RAX,[0x20f560] PUSH RAX LEA RAX,[0x20f540] PUSH RAX LEA R9,[0x20f520] LEA R8,[0x20f500] LEA RCX,[0x20f4e0] LEA RDX,[0x20f4c0] MOV ESI,0x100 LEA RDI,[0x235aa0] CALL 0x0017659a ADD RSP,0x10 LEA RAX,[0x20f2e0] MOV qword ptr [0x00235aa8],RAX...
/* WARNING: Unknown calling convention */ /* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(void) { if (function_1::var_1 == '\0') { var_2(&function_1::curve,0x100,function_1::lexical_block_2::p,function_1::lexical_block_2::a, function_1::lexical...
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_curve * ec_p256(void)\n\n{\n if (ec_p256::initialised == '\0') {\n initialise_wcurve(&ec_p256::curve,0x100,ec_p256::lexical_block_2::p,ec_p256::lexical_block_2::a,\n ...
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void)\n\n{\n if (function_1::var_1 == '\0') {\n var_2(&function_1::curve,0x100,function_1::lexical_block_2::p,function_1::lexical_block_2::a,\n ...
(translation_unit (comment) (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (if_statement condition: (parenthesized_exp...
1520_putty_and_putty_strip.c
share_find_unused_id
FUN_0018f1af
share_find_unused_id
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ uint share_find_unused_id(ssh_sharing_state *sharestate,uint first) { long lVar1; void *pvVar2; long in_FS_OFFSET; uint first_local; ssh_sharing_state *sharestate_local; int low_orig; int low; int high; int high_orig; int mi...
int FUN_0018f1af(long param_1,int param_2) { long lVar1; long in_FS_OFFSET; int local_40b8; int local_40b4; int local_40b0; int local_40ac; int local_40a8; int local_40a4; long local_40a0; undefined local_4098 [8]; int local_4090; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); ...
(translation_unit "int FUN_0018f1af(long param_1,int param_2)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int local_40b8;\n int local_40b4;\n int local_40b0;\n int local_40ac;\n int local_40a8;\n int local_40a4;\n long local_40a0;\n undefined local_4098 [8];\n int local_4090;\n long local_10;\n \n local_10 ...
PUSH RBP MOV RBP,RSP SUB RSP,0x40c0 MOV qword ptr [RBP + -0x40b8],RDI MOV dword ptr [RBP + -0x40bc],ESI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV EAX,dword ptr [RBP + -0x40bc] MOV dword ptr [RBP + -0x4088],EAX MOV RAX,qword ptr [RBP + -0x40b8] MOV RAX,qword ptr [RAX + 0x18] LEA RDX,[RBP...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 function_1(type_2 *sharestate,type_1 var_8) { long var_14; void *var_12; long var_1; type_1 first_local; type_2 *sharestate_local; int var_10; int var_6; int var_5; int high_orig; int var_9; type_1 ret; type_3 *va...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nuint share_find_unused_id(ssh_sharing_state *sharestate,uint first)\n\n{\n long lVar1;\n void *pvVar2;\n long in_FS_OFFSET;\n uint first_local;\n ssh_sharing_state *sharestate_local;\n int low_orig;\n int low;\n int h...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *sharestate,type_1 var_8)\n\n{\n long var_14;\n void *var_12;\n long var_1;\n type_1 first_local;\n type_2 *sharestate_local;\n int var_10;\n int var_6;\n int var_5;\n int high_orig;\n int v...
(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...
1212_putty_and_putty_strip.c
ccp_iv
FUN_0016eb30
ccp_iv
void ccp_iv(void *vctx,uchar *iv) { uchar *iv_local; void *vctx_local; return; }
void FUN_0016eb30(void) { return; }
(translation_unit "void FUN_0016eb30(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0016eb30(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0016eb30(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(void *vctx,type_1 *iv) { type_1 *iv_local; void *vctx_local; return; }
(translation_unit "void ccp_iv(void *vctx,uchar *iv)\n\n{\n uchar *iv_local;\n void *vctx_local;\n \n return;\n}\n\n" (function_definition "void ccp_iv(void *vctx,uchar *iv)\n\n{\n uchar *iv_local;\n void *vctx_local;\n \n return;\n}" primitive_type (function_declarator "ccp_iv(void *vctx,uchar *iv)" identifier...
(translation_unit "void function_1(void *vctx,type_1 *iv)\n\n{\n type_1 *iv_local;\n void *vctx_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *vctx,type_1 *iv)\n\n{\n type_1 *iv_local;\n void *vctx_local;\n \n return;\n}" primitive_type (function_declarator "function_1(void *vctx,type_1...
(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...
911_putty_and_putty_strip.c
ssh_pkt_addstring_data
FUN_001409b6
ssh_pkt_addstring_data
void ssh_pkt_addstring_data(Packet *pkt,char *data,int len) { int len_local; char *data_local; Packet *pkt_local; ssh_pkt_adddata(pkt,data,len); pkt->data[pkt->savedpos + -4] = (uchar)((ulong)(pkt->length - pkt->savedpos) >> 0x18); pkt->data[pkt->savedpos + -3] = (uchar)((ulong)(pkt->length - pkt->save...
void FUN_001409b6(long *param_1,undefined8 param_2,undefined4 param_3) { FUN_00140841(param_1,param_2,param_3); *(char *)(param_1[6] + -4 + param_1[4]) = (char)((ulong)(*param_1 - param_1[6]) >> 0x18); *(char *)(param_1[6] + -3 + param_1[4]) = (char)((ulong)(*param_1 - param_1[6]) >> 0x10); *(char *)(param_1[...
(translation_unit "void FUN_001409b6(long *param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00140841(param_1,param_2,param_3);\n *(char *)(param_1[6] + -4 + param_1[4]) = (char)((ulong)(*param_1 - param_1[6]) >> 0x18);\n *(char *)(param_1[6] + -3 + param_1[4]) = (char)((ulong)(*param_1 - param_1[6]) >> 0x10...
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 EDX,dword ptr [RBP + -0x14] MOV RCX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RBP + -0x8] MOV RSI,RCX MOV RDI,RAX CALL 0x00140841 MOV RAX,qword ptr [RBP + -0x8] MOV RDX,qword ptr [RAX] M...
void function_1(type_1 *pkt,char *data,int len) { int len_local; char *data_local; type_1 *pkt_local; var_1(pkt,data,len); pkt->data[pkt->savedpos + -4] = (uchar)((ulong)(pkt->length - pkt->savedpos) >> 0x18); pkt->data[pkt->savedpos + -3] = (uchar)((ulong)(pkt->length - pkt->savedpos) >> 0x10); pkt-...
(translation_unit "void ssh_pkt_addstring_data(Packet *pkt,char *data,int len)\n\n{\n int len_local;\n char *data_local;\n Packet *pkt_local;\n \n ssh_pkt_adddata(pkt,data,len);\n pkt->data[pkt->savedpos + -4] = (uchar)((ulong)(pkt->length - pkt->savedpos) >> 0x18);\n pkt->data[pkt->savedpos + -3] = (uchar)((ulo...
(translation_unit "void function_1(type_1 *pkt,char *data,int len)\n\n{\n int len_local;\n char *data_local;\n type_1 *pkt_local;\n \n var_1(pkt,data,len);\n pkt->data[pkt->savedpos + -4] = (uchar)((ulong)(pkt->length - pkt->savedpos) >> 0x18);\n pkt->data[pkt->savedpos + -3] = (uchar)((ulong)(pkt->length - pkt-...
(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...
1704_putty_and_putty_strip.c
term_deselect
FUN_001ac7f8
term_deselect
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_deselect(Terminal *term) { Terminal *term_local; deselect(term); term_update(term); if (term->selstate != ADDRTYPE_IPV6) { term_out(term); } return; }
void FUN_001ac7f8(long param_1) { FUN_001ac795(param_1); FUN_0019c6a6(param_1); if (*(int *)(param_1 + 0xeb4) != 2) { FUN_001a08e9(param_1); } return; }
(translation_unit "void FUN_001ac7f8(long param_1)\n\n{\n FUN_001ac795(param_1);\n FUN_0019c6a6(param_1);\n if (*(int *)(param_1 + 0xeb4) != 2) {\n FUN_001a08e9(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_001ac7f8(long param_1)\n\n{\n FUN_001ac795(param_1);\n FUN_0019c6a6(param_1);\n if (*...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x001ac795 MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0019c6a6 MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0xeb4] CMP EAX,0x2 JZ 0x001ac837 MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term) { type_1 *term_local; var_1(term); var_2(term); if (term->selstate != var_3) { var_4(term); } return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_deselect(Terminal *term)\n\n{\n Terminal *term_local;\n \n deselect(term);\n term_update(term);\n if (term->selstate != ADDRTYPE_IPV6) {\n term_out(term);\n }\n return;\n}\n\n" comment (function_definition...
(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_1 *term_local;\n \n var_1(term);\n var_2(term);\n if (term->selstate != var_3) {\n var_4(term);\n }\n return;\n}\n\n" comment (function_definition "void function_1(type_1 *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...
1685_putty_and_putty_strip.c
term_bidi_cache_store
FUN_001a7bed
term_bidi_cache_store
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_bidi_cache_store (Terminal *term,wchar_t line,termchar *lbefore,termchar *lafter,bidi_char *wcTo, wchar_t width,wchar_t size) { wchar_t wVar1; bidi_cache_entry *pbVar2; termchar *ptVar3; wchar_t *...
void FUN_001a7bed(long param_1,int param_2,void *param_3,void *param_4,long param_5,int param_6, int param_7) { uint uVar1; undefined8 uVar2; long lVar3; undefined4 *puVar4; int local_24; int local_20; if ((*(long *)(param_1 + 0x1178) == 0) || (*(int *)(param_1 + 0x1188) <= param_2))...
(translation_unit "void FUN_001a7bed(long param_1,int param_2,void *param_3,void *param_4,long param_5,int param_6,\n int param_7)\n\n{\n uint uVar1;\n undefined8 uVar2;\n long lVar3;\n undefined4 *puVar4;\n int local_24;\n int local_20;\n \n if ((*(long *)(param_1 + 0x1178) == 0) || (*(int *)(p...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x48 MOV qword ptr [RBP + -0x28],RDI MOV dword ptr [RBP + -0x2c],ESI MOV qword ptr [RBP + -0x38],RDX MOV qword ptr [RBP + -0x40],RCX MOV qword ptr [RBP + -0x48],R8 MOV dword ptr [RBP + -0x30],R9D MOV RAX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RAX + 0x1178] TEST RAX,RAX JZ 0x001...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1 (type_1 *term,type_2 var_1,type_3 *lbefore,type_3 *lafter,type_4 *wcTo, type_2 var_8,type_2 size) { type_2 var_10; type_5 *pbVar2; type_3 *ptVar3; type_2 *pwVar4; type_4 *wcTo_local; typ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_bidi_cache_store\n (Terminal *term,wchar_t line,termchar *lbefore,termchar *lafter,bidi_char *wcTo,\n wchar_t width,wchar_t size)\n\n{\n wchar_t wVar1;\n bidi_cache_entry *pbVar2;\n te...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 *term,type_2 var_1,type_3 *lbefore,type_3 *lafter,type_4 *wcTo,\n type_2 var_8,type_2 size)\n\n{\n type_2 var_10;\n type_5 *pbVar2;\n type_3 *ptVar3;\n type_2 *pwVar4;...
(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...
1703_putty_and_putty_strip.c
deselect
FUN_001ac795
deselect
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void deselect(Terminal *term) { Terminal *term_local; term->selstate = ADDRTYPE_UNSPEC; (term->selend).y = L'\0'; (term->selend).x = (term->selend).y; (term->selstart).y = (term->selend).x; (term->selstart).x = (term->selstart).y...
void FUN_001ac795(long param_1) { *(undefined4 *)(param_1 + 0xeb4) = 0; *(undefined4 *)(param_1 + 0xec8) = 0; *(undefined4 *)(param_1 + 0xecc) = *(undefined4 *)(param_1 + 0xec8); *(undefined4 *)(param_1 + 0xec0) = *(undefined4 *)(param_1 + 0xecc); *(undefined4 *)(param_1 + 0xec4) = *(undefined4 *)(param_1 +...
(translation_unit "void FUN_001ac795(long param_1)\n\n{\n *(undefined4 *)(param_1 + 0xeb4) = 0;\n *(undefined4 *)(param_1 + 0xec8) = 0;\n *(undefined4 *)(param_1 + 0xecc) = *(undefined4 *)(param_1 + 0xec8);\n *(undefined4 *)(param_1 + 0xec0) = *(undefined4 *)(param_1 + 0xecc);\n *(undefined4 *)(param_1 + 0xec4) = ...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOV dword ptr [RAX + 0xeb4],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV dword ptr [RAX + 0xec8],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ptr [RAX + 0xec8] MOV RAX,qword ptr [RBP + -0x8] MOV dword ptr [RAX + 0xecc],EDX MOV RAX,qword pt...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term) { type_1 *term_local; term->selstate = ADDRTYPE_UNSPEC; (term->selend).y = L'\0'; (term->selend).x = (term->selend).y; (term->selstart).y = (term->selend).x; (term->selstart).x = (term->selstart).y; ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid deselect(Terminal *term)\n\n{\n Terminal *term_local;\n \n term->selstate = ADDRTYPE_UNSPEC;\n (term->selend).y = L'\0';\n (term->selend).x = (term->selend).y;\n (term->selstart).y = (term->selend).x;\n (term->sel...
(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_1 *term_local;\n \n term->selstate = ADDRTYPE_UNSPEC;\n (term->selend).y = L'\0';\n (term->selend).x = (term->selend).y;\n (term->selstart).y = (term->selend).x;\n (term->selst...
(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...
1299_putty_and_putty_strip.c
ecf_treble
FUN_00176c15
ecf_treble
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ Bignum ecf_treble(Bignum a,ec_curve *curve) { int iVar1; Bignum_conflict pBVar2; ec_curve *curve_local; Bignum a_local; Bignum ret; Bignum tmp; pBVar2 = bignum_lshift((Bignum_conflict)a,1); ret = bigadd(pBVar2,(Bignum_conflic...
long FUN_00176c15(undefined8 param_1,long param_2) { int iVar1; undefined8 uVar2; long lVar3; long local_18; uVar2 = FUN_0016b1a2(param_1,1); local_18 = FUN_0016b748(uVar2,param_1); FUN_00166d90(uVar2); while( true ) { iVar1 = FUN_0016aebd(local_18,*(undefined8 *)(param_2 + 0x20)); if (iVar...
(translation_unit "long FUN_00176c15(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n long lVar3;\n long local_18;\n \n uVar2 = FUN_0016b1a2(param_1,1);\n local_18 = FUN_0016b748(uVar2,param_1);\n FUN_00166d90(uVar2);\n while( true ) {\n iVar1 = FUN_0016aebd(local_18,*(undefined8 *)(...
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 ESI,0x1 MOV RDI,RAX CALL 0x0016b1a2 MOV qword ptr [RBP + -0x8],RAX MOV RDX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RBP + -0x8] MOV RSI,RDX MOV RDI,RAX CALL 0x0016b748 MOV qword ptr [R...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 function_1(type_1 a,type_2 *curve) { int var_5; type_3 var_7; type_2 *curve_local; type_1 a_local; type_1 ret; type_1 tmp; var_7 = var_1((type_3)a,1); ret = var_2(var_7,(type_3)a); var_3(var_7); while( true ) { ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nBignum ecf_treble(Bignum a,ec_curve *curve)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n ec_curve *curve_local;\n Bignum a_local;\n Bignum ret;\n Bignum tmp;\n \n pBVar2 = bignum_lshift((Bignum_conflict)a,1);\n ret ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_1 a,type_2 *curve)\n\n{\n int var_5;\n type_3 var_7;\n type_2 *curve_local;\n type_1 a_local;\n type_1 ret;\n type_1 tmp;\n \n var_7 = var_1((type_3)a,1);\n ret = var_2(var_7,(type_3)a);\n var...
(translation_unit (comment) (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: (pointer_declarator declarato...
1432_putty_and_putty_strip.c
rsa_public_blob_len
FUN_00185d34
rsa_public_blob_len
int rsa_public_blob_len(void *data,int maxlen) { uchar *data_00; int iVar1; int maxlen_local; void *data_local; int n; uchar *p; if (maxlen < 4) { iVar1 = -1; } else { iVar1 = ssh1_read_bignum((uchar *)((long)data + 4),maxlen + -4,(Bignum_conflict *)0x0); if (iVar1 < 0) { iVar1 ...
long FUN_00185d34(long param_1,int param_2) { long lVar1; int iVar2; if (param_2 < 4) { param_1 = 0xffffffff; } else { iVar2 = FUN_0016aadd(param_1 + 4,param_2 + -4,0); if (iVar2 < 0) { param_1 = 0xffffffff; } else { lVar1 = param_1 + 4 + (long)iVar2; iVar2 = FUN_001...
(translation_unit "long FUN_00185d34(long param_1,int param_2)\n\n{\n long lVar1;\n int iVar2;\n \n if (param_2 < 4) {\n param_1 = 0xffffffff;\n }\n else {\n iVar2 = FUN_0016aadd(param_1 + 4,param_2 + -4,0);\n if (iVar2 < 0) {\n param_1 = 0xffffffff;\n }\n else {\n lVar1 = param_1 + 4 + (...
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 CMP dword ptr [RBP + -0x1c],0x3 JG 0x00185d58 MOV EAX,0xffffffff JMP 0x00185dc7 ADD qword ptr [RBP + -0x8],0x4 SUB dword ptr [RBP + -0x1c],0x4 MOV ECX,dword pt...
int function_1(void *data,int var_1) { type_1 *data_00; int var_3; int maxlen_local; void *data_local; int n; type_1 *p; if (var_1 < 4) { var_3 = -1; } else { var_3 = var_2((type_1 *)((long)data + 4),var_1 + -4,(type_2 *)0x0); if (var_3 < 0) { var_3 = -1; } else { ...
(translation_unit "int rsa_public_blob_len(void *data,int maxlen)\n\n{\n uchar *data_00;\n int iVar1;\n int maxlen_local;\n void *data_local;\n int n;\n uchar *p;\n \n if (maxlen < 4) {\n iVar1 = -1;\n }\n else {\n iVar1 = ssh1_read_bignum((uchar *)((long)data + 4),maxlen + -4,(Bignum_conflict *)0x0);\n...
(translation_unit "int function_1(void *data,int var_1)\n\n{\n type_1 *data_00;\n int var_3;\n int maxlen_local;\n void *data_local;\n int n;\n type_1 *p;\n \n if (var_1 < 4) {\n var_3 = -1;\n }\n else {\n var_3 = var_2((type_1 *)((long)data + 4),var_1 + -4,(type_2 *)0x0);\n if (var_3 < 0) {\n 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))) (parameter_declaration type: (primitive_type) declarator: (identifi...
1515_putty_and_putty_strip.c
sha1_96_generate
FUN_0018ef1f
sha1_96_generate
void sha1_96_generate(void *handle,uchar *blk,int len,ulong seq) { long lVar1; long in_FS_OFFSET; ulong seq_local; int len_local; uchar *blk_local; void *handle_local; uchar full [20]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); sha1_do_hmac(handle,blk,len,seq,full); memcpy(blk + len,full,0xc); i...
void FUN_0018ef1f(undefined8 param_1,long param_2,int param_3,undefined8 param_4) { long in_FS_OFFSET; undefined local_28 [24]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_0018ecea(param_1,param_2,param_3,param_4,local_28); memcpy((void *)(param_3 + param_2),local_28,0xc); if (local...
(translation_unit "void FUN_0018ef1f(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\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_0018ecea(param_1,param_2,param_3,param_4,local_28);\n memcpy((void *)(param_3 + param_2)...
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 + -0x40],RCX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RDI,[RBP + -0x20] MOV RCX,qword ptr [RBP + -0x40] MOV EDX,dword ptr [RBP + -0x34] M...
void function_1(void *handle,type_1 *var_4,int var_5,type_2 seq) { long var_6; long var_1; type_2 seq_local; int len_local; type_1 *blk_local; void *handle_local; type_1 full [20]; var_6 = *(long *)(var_1 + 0x28); var_2(handle,var_4,var_5,seq,full); var_3(var_4 + var_5,full,0xc); if (var_6 !=...
(translation_unit "void sha1_96_generate(void *handle,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar full [20];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n sha1_do_hmac(handle,blk,len,seq,full);\n ...
(translation_unit "void function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)\n\n{\n long var_6;\n long var_1;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 full [20];\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(handle,var_4,var_5,seq,full);\n var_3(var_4 + ...
(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...
930_putty_and_putty_strip.c
ssh2_pkt_getbool
FUN_00141cb5
ssh2_pkt_getbool
int ssh2_pkt_getbool(Packet *pkt) { uchar uVar1; uint uVar2; Packet *pkt_local; ulong value; if (pkt->length == pkt->savedpos || pkt->length - pkt->savedpos < 0) { uVar2 = 0; } else { uVar1 = pkt->body[pkt->savedpos]; pkt->savedpos = pkt->savedpos + 1; uVar2 = (uint)(uVar1 != '\0'); ...
bool FUN_00141cb5(long *param_1) { bool bVar1; if (*param_1 == param_1[6] || *param_1 - param_1[6] < 0) { bVar1 = false; } else { bVar1 = *(char *)(param_1[6] + param_1[5]) != '\0'; param_1[6] = param_1[6] + 1; } return bVar1; }
(translation_unit "bool FUN_00141cb5(long *param_1)\n\n{\n bool bVar1;\n \n if (*param_1 == param_1[6] || *param_1 - param_1[6] < 0) {\n bVar1 = false;\n }\n else {\n bVar1 = *(char *)(param_1[6] + param_1[5]) != '\0';\n param_1[6] = param_1[6] + 1;\n }\n return bVar1;\n}\n\n" (function_definition "bool...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV RDX,qword ptr [RAX] MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x30] SUB RDX,RAX MOV RAX,RDX TEST RAX,RAX JG 0x00141cde MOV EAX,0x0 JMP 0x00141d18 MOV RAX,qword ptr [RBP + -0x18] MOV RDX,qword ptr [RAX + 0x28] MOV RAX...
int function_1(type_1 *pkt) { type_2 var_1; type_3 uVar2; type_1 *pkt_local; type_4 value; if (pkt->length == pkt->savedpos || pkt->length - pkt->savedpos < 0) { uVar2 = 0; } else { var_1 = pkt->body[pkt->savedpos]; pkt->savedpos = pkt->savedpos + 1; uVar2 = (type_3)(var_1 != '\0'); ...
(translation_unit "int ssh2_pkt_getbool(Packet *pkt)\n\n{\n uchar uVar1;\n uint uVar2;\n Packet *pkt_local;\n ulong value;\n \n if (pkt->length == pkt->savedpos || pkt->length - pkt->savedpos < 0) {\n uVar2 = 0;\n }\n else {\n uVar1 = pkt->body[pkt->savedpos];\n pkt->savedpos = pkt->savedpos + 1;\n ...
(translation_unit "int function_1(type_1 *pkt)\n\n{\n type_2 var_1;\n type_3 uVar2;\n type_1 *pkt_local;\n type_4 value;\n \n if (pkt->length == pkt->savedpos || pkt->length - pkt->savedpos < 0) {\n uVar2 = 0;\n }\n else {\n var_1 = pkt->body[pkt->savedpos];\n pkt->savedpos = pkt->savedpos + 1;\n uV...
(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...
1067_putty_and_putty_strip.c
new_sock_channel
FUN_0015d518
new_sock_channel
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void * new_sock_channel(void *handle,PortForwarding *pf) { ssh_channel *c_00; PortForwarding *pf_local; void *handle_local; Ssh_conflict ssh; ssh_channel *c; c_00 = (ssh_channel *)safemalloc(1,0x90); c_00->ssh = (Ssh_conflict)h...
undefined8 * FUN_0015d518(undefined8 param_1,undefined8 param_2) { undefined8 *puVar1; puVar1 = (undefined8 *)FUN_0012e037(1,0x90); *puVar1 = param_1; FUN_00151e64(puVar1); *(undefined4 *)((long)puVar1 + 0x14) = 1; *(undefined4 *)(puVar1 + 2) = 3; puVar1[0xe] = param_2; return puVar1; }
(translation_unit "undefined8 * FUN_0015d518(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_0012e037(1,0x90);\n *puVar1 = param_1;\n FUN_00151e64(puVar1);\n *(undefined4 *)((long)puVar1 + 0x14) = 1;\n *(undefined4 *)(puVar1 + 2) = 3;\n puVar1[0xe] = param_2;\n ...
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 + -0x10],RAX MOV ESI,0x90 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RDX,qword ptr [RBP + -0x10] MOV qword ptr [RAX],RDX...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void * function_1(void *handle,type_1 *pf) { type_2 *c_00; type_1 *pf_local; void *handle_local; type_3 ssh; type_2 *c; c_00 = (type_2 *)var_1(1,0x90); c_00->ssh = (type_3)handle; var_2(c_00); c_00->halfopen = 1; c_00->ty...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * new_sock_channel(void *handle,PortForwarding *pf)\n\n{\n ssh_channel *c_00;\n PortForwarding *pf_local;\n void *handle_local;\n Ssh_conflict ssh;\n ssh_channel *c;\n \n c_00 = (ssh_channel *)safemalloc(1,0x90);\...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(void *handle,type_1 *pf)\n\n{\n type_2 *c_00;\n type_1 *pf_local;\n void *handle_local;\n type_3 ssh;\n type_2 *c;\n \n c_00 = (type_2 *)var_1(1,0x90);\n c_00->ssh = (type_3)handle;\n var_2(c_00);\n...
(translation_unit (comment) (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))) (parameter_declaration ty...
1137_putty_and_putty_strip.c
copybn
FUN_00166d30
copybn
Bignum_conflict copybn(Bignum_conflict orig) { Bignum_conflict __dest; Bignum_conflict orig_local; Bignum_conflict b; __dest = (Bignum_conflict)safemalloc(*orig + 1,8); if (__dest == (Bignum_conflict)0x0) { /* WARNING: Subroutine does not return */ abort(); } memcpy(__dest,ori...
void * FUN_00166d30(long *param_1) { void *__dest; __dest = (void *)FUN_0012e037(*param_1 + 1,8); if (__dest == (void *)0x0) { /* WARNING: Subroutine does not return */ abort(); } memcpy(__dest,param_1,(*param_1 + 1) * 8); return __dest; }
(translation_unit "void * FUN_00166d30(long *param_1)\n\n{\n void *__dest;\n \n __dest = (void *)FUN_0012e037(*param_1 + 1,8);\n if (__dest == (void *)0x0) {\n /* WARNING: Subroutine does not return */\n abort();\n }\n memcpy(__dest,param_1,(*param_1 + 1) * 8);\n return __dest;\n}\n\n" (fun...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] ADD RAX,0x1 MOV ESI,0x8 MOV RDI,RAX CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX CMP qword ptr [RBP + -0x8],0x0 JNZ 0x00166d64 CALL 0x00114860 MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RA...
type_1 function_1(type_1 orig) { type_1 var_2; type_1 orig_local; type_1 b; var_2 = (type_1)var_1(*orig + 1,8); if (var_2 == (type_1)0x0) { /* WARNING: Subroutine does not return */ var_3(); } var_4(var_2,orig,(*orig + 1) * 8); return var_2; }
(translation_unit "Bignum_conflict copybn(Bignum_conflict orig)\n\n{\n Bignum_conflict __dest;\n Bignum_conflict orig_local;\n Bignum_conflict b;\n \n __dest = (Bignum_conflict)safemalloc(*orig + 1,8);\n if (__dest == (Bignum_conflict)0x0) {\n /* WARNING: Subroutine does not return */\n abor...
(translation_unit "type_1 function_1(type_1 orig)\n\n{\n type_1 var_2;\n type_1 orig_local;\n type_1 b;\n \n var_2 = (type_1)var_1(*orig + 1,8);\n if (var_2 == (type_1)0x0) {\n /* WARNING: Subroutine does not return */\n var_3();\n }\n var_4(var_2,orig,(*orig + 1) * 8);\n return var_2;\n}...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declar...
1723_putty_and_putty_strip.c
countnode234
FUN_001ad4de
countnode234
int countnode234(node234_conflict *n) { node234_conflict *n_local; int count; int i; count = 0; if (n == (node234_conflict *)0x0) { count = 0; } else { for (i = 0; i < 4; i = i + 1) { count = count + n->counts[i]; } for (i = 0; i < 3; i = i + 1) { if (n->elems[i] != (void ...
int FUN_001ad4de(long param_1) { undefined4 local_10; undefined4 local_c; local_10 = 0; if (param_1 == 0) { local_10 = 0; } else { for (local_c = 0; local_c < 4; local_c = local_c + 1) { local_10 = local_10 + *(int *)(param_1 + 8 + ((long)local_c + 8) * 4); } for (local_c = 0; loc...
(translation_unit "int FUN_001ad4de(long param_1)\n\n{\n undefined4 local_10;\n undefined4 local_c;\n \n local_10 = 0;\n if (param_1 == 0) {\n local_10 = 0;\n }\n else {\n for (local_c = 0; local_c < 4; local_c = local_c + 1) {\n local_10 = local_10 + *(int *)(param_1 + 8 + ((long)local_c + 8) * 4);\n...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x8],0x0 CMP qword ptr [RBP + -0x18],0x0 JNZ 0x001ad4fb MOV EAX,0x0 JMP 0x001ad555 MOV dword ptr [RBP + -0x4],0x0 JMP 0x001ad51d MOV RAX,qword ptr [RBP + -0x18] MOV EDX,dword ptr [RBP + -0x4] MOVSXD RDX,EDX ADD RDX,0x8 MOV EAX,dword ptr [RAX + R...
int function_1(type_1 *var_1) { type_1 *n_local; int var_3; int var_2; var_3 = 0; if (var_1 == (type_1 *)0x0) { var_3 = 0; } else { for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) { var_3 = var_3 + var_1->counts[var_2]; } for (var_2 = 0; var_2 < 3; var_2 = var_2 + 1) { if (v...
(translation_unit "int countnode234(node234_conflict *n)\n\n{\n node234_conflict *n_local;\n int count;\n int i;\n \n count = 0;\n if (n == (node234_conflict *)0x0) {\n count = 0;\n }\n else {\n for (i = 0; i < 4; i = i + 1) {\n count = count + n->counts[i];\n }\n for (i = 0; i < 3; i = i + 1) ...
(translation_unit "int function_1(type_1 *var_1)\n\n{\n type_1 *n_local;\n int var_3;\n int var_2;\n \n var_3 = 0;\n if (var_1 == (type_1 *)0x0) {\n var_3 = 0;\n }\n else {\n for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {\n var_3 = var_3 + var_1->counts[var_2];\n }\n for (var_2 = 0; var_2 < 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))))) body: (compound_statement (declaration type: (type_identifier) d...
1562_putty_and_putty_strip.c
share_listen_closing
FUN_00193d4b
share_listen_closing
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void share_listen_closing(Plug plug,char *error_msg,int error_code,int calling_back) { int calling_back_local; int error_code_local; char *error_msg_local; Plug plug_local; ssh_sharing_state *sharestate; if (error_msg != (char *)...
void FUN_00193d4b(long param_1,long param_2) { if (param_2 != 0) { FUN_00152989(*(undefined8 *)(param_1 + 0x28),0,"listening socket: %s",param_2); } (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10)); *(undefined8 *)(param_1 + 0x10) = 0; return; }
(translation_unit "void FUN_00193d4b(long param_1,long param_2)\n\n{\n if (param_2 != 0) {\n FUN_00152989(*(undefined8 *)(param_1 + 0x28),0,"listening socket: %s",param_2);\n }\n (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));\n *(undefined8 *)(param_1 + 0x10) = 0;\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 dword ptr [RBP + -0x28],ECX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX CMP qword ptr [RBP + -0x20],0x0 JZ 0x00193d98 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 plug,char *var_1,int error_code,int calling_back) { int calling_back_local; int error_code_local; char *error_msg_local; type_1 plug_local; type_2 *sharestate; if (var_1 != (char *)0x0) { var_2((type_3)...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_listen_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n Plug plug_local;\n ssh_sharing_state *sharestate;\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,char *var_1,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 plug_local;\n type_2 *sharestate;\n \n if (var_1 != (cha...
(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:...
1649_putty_and_putty_strip.c
term_timer
FUN_0019bc7f
term_timer
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_timer(void *ctx,ulong now) { bool bVar1; ulong now_local; void *ctx_local; wchar_t update; Terminal *term; bVar1 = false; if ((*(int *)((long)ctx + 0x1138) != 0) && (now == *(ulong *)((long)ctx + 0x1140))) { *(uin...
void FUN_0019bc7f(long param_1,long param_2) { bool bVar1; bVar1 = false; if ((*(int *)(param_1 + 0x1138) != 0) && (param_2 == *(long *)(param_1 + 0x1140))) { *(uint *)(param_1 + 0x110) = (uint)(*(int *)(param_1 + 0x110) == 0); *(undefined4 *)(param_1 + 0x1138) = 0; FUN_0019be38(param_1); bVa...
(translation_unit "void FUN_0019bc7f(long param_1,long param_2)\n\n{\n bool bVar1;\n \n bVar1 = false;\n if ((*(int *)(param_1 + 0x1138) != 0) && (param_2 == *(long *)(param_1 + 0x1140))) {\n *(uint *)(param_1 + 0x110) = (uint)(*(int *)(param_1 + 0x110) == 0);\n *(undefined4 *)(param_1 + 0x1138) = 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 qword ptr [RBP + -0x8],RAX MOV dword ptr [RBP + -0xc],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x1138] TEST EAX,EAX JZ 0x0019bcfa MOV RAX,qword ptr [RBP + -0x8] MOV RA...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(void *ctx,type_1 var_1) { bool bVar1; type_1 now_local; void *ctx_local; type_2 update; type_3 *term; bVar1 = false; if ((*(int *)((long)ctx + 0x1138) != 0) && (var_1 == *(type_1 *)((long)ctx + 0x1140))) { *...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_timer(void *ctx,ulong now)\n\n{\n bool bVar1;\n ulong now_local;\n void *ctx_local;\n wchar_t update;\n Terminal *term;\n \n bVar1 = false;\n if ((*(int *)((long)ctx + 0x1138) != 0) && (now == *(ulong *)((lo...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *ctx,type_1 var_1)\n\n{\n bool bVar1;\n type_1 now_local;\n void *ctx_local;\n type_2 update;\n type_3 *term;\n \n bVar1 = false;\n if ((*(int *)((long)ctx + 0x1138) != 0) && (var_1 == *(type_1 *)...
(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...
1753_putty_and_putty_strip.c
columns_taborder_last
FUN_001b0dd1
columns_taborder_last
void columns_taborder_last(Columns *cols,GtkWidget *widget) { GType GVar1; GList *pGVar2; GtkWidget *widget_local; Columns *cols_local; gboolean __r; GList *children; GTypeInstance *__inst; GType __t; GtkWidget *childw; if (cols == (Columns *)0x0) { g_return_if_fail_warning(0,"columns_tabor...
void FUN_001b0dd1(long *param_1,long param_2) { long lVar1; int local_2c; long *local_28; if (param_1 == (long *)0x0) { g_return_if_fail_warning(0,"columns_taborder_last","cols != NULL"); } else { lVar1 = FUN_001afc3e(); if (param_1 == (long *)0x0) { local_2c = 0; } else if ((...
(translation_unit "void FUN_001b0dd1(long *param_1,long param_2)\n\n{\n long lVar1;\n int local_2c;\n long *local_28;\n \n if (param_1 == (long *)0x0) {\n g_return_if_fail_warning(0,"columns_taborder_last","cols != NULL");\n }\n else {\n lVar1 = FUN_001afc3e();\n if (param_1 == (long *)0x0) {\n loc...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI CMP qword ptr [RBP + -0x38],0x0 JNZ 0x001b0e05 LEA RDX,[0x213338] LEA RSI,[0x2134f0] MOV EDI,0x0 CALL 0x00114230 JMP 0x001b0f3e MOV RAX,qword ptr [RBP + -0x38] MOV qword ptr [RBP + -0x18],RAX CALL 0x001afc3e MOV qword ptr ...
void function_1(type_1 *var_1,type_2 *var_7) { type_3 var_4; type_4 *pGVar2; type_2 *widget_local; type_1 *cols_local; type_5 var_6; type_4 *var_8; type_6 *__inst; type_3 __t; type_2 *childw; if (var_1 == (type_1 *)0x0) { var_2(0,"columns_taborder_last","cols != NULL"); } else { var...
(translation_unit "void columns_taborder_last(Columns *cols,GtkWidget *widget)\n\n{\n GType GVar1;\n GList *pGVar2;\n GtkWidget *widget_local;\n Columns *cols_local;\n gboolean __r;\n GList *children;\n GTypeInstance *__inst;\n GType __t;\n GtkWidget *childw;\n \n if (cols == (Columns *)0x0) {\n g_return_...
(translation_unit "void function_1(type_1 *var_1,type_2 *var_7)\n\n{\n type_3 var_4;\n type_4 *pGVar2;\n type_2 *widget_local;\n type_1 *cols_local;\n type_5 var_6;\n type_4 *var_8;\n type_6 *__inst;\n type_3 __t;\n type_2 *childw;\n \n if (var_1 == (type_1 *)0x0) {\n var_2(0,"columns_taborder_last","cols...
(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...
1046_putty_and_putty_strip.c
ssh2_response_authconn
FUN_00155159
ssh2_response_authconn
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_response_authconn(ssh_channel *c,Packet *pktin,void *ctx) { void *ctx_local; Packet *pktin_local; ssh_channel *c_local; if (pktin != (Packet *)0x0) { do_ssh2_authconn(c->ssh,(uchar *)0x0,0,pktin); } return; }
void FUN_00155159(undefined8 *param_1,long param_2) { if (param_2 != 0) { FUN_00155197(*param_1,0,0,param_2); } return; }
(translation_unit "void FUN_00155159(undefined8 *param_1,long param_2)\n\n{\n if (param_2 != 0) {\n FUN_00155197(*param_1,0,0,param_2);\n }\n return;\n}\n\n" (function_definition "void FUN_00155159(undefined8 *param_1,long param_2)\n\n{\n if (param_2 != 0) {\n FUN_00155197(*param_1,0,0,param_2);\n }\n retur...
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 CMP qword ptr [RBP + -0x10],0x0 JZ 0x00155194 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX] MOV RDX,qword ptr [RBP + -0x10] MOV RCX,RDX MOV EDX,0x0 MOV ESI,0x0 MOV RDI,RAX CALL 0x001...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *c,type_2 *var_1,void *ctx) { void *ctx_local; type_2 *pktin_local; type_1 *c_local; if (var_1 != (type_2 *)0x0) { var_2(c->ssh,(type_3 *)0x0,0,var_1); } return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_response_authconn(ssh_channel *c,Packet *pktin,void *ctx)\n\n{\n void *ctx_local;\n Packet *pktin_local;\n ssh_channel *c_local;\n \n if (pktin != (Packet *)0x0) {\n do_ssh2_authconn(c->ssh,(uchar *)0x0,0,pk...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,type_2 *var_1,void *ctx)\n\n{\n void *ctx_local;\n type_2 *pktin_local;\n type_1 *c_local;\n \n if (var_1 != (type_2 *)0x0) {\n var_2(c->ssh,(type_3 *)0x0,0,var_1);\n }\n return;\n}\n\n" co...
(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...
1179_putty_and_putty_strip.c
bigdiv
FUN_0016be00
bigdiv
Bignum_conflict bigdiv(Bignum_conflict a,Bignum_conflict b) { Bignum_conflict quotient; Bignum_conflict b_local; Bignum_conflict a_local; Bignum_conflict q; quotient = newbn((int)*a); bigdivmod(a,b,(Bignum_conflict)0x0,quotient); while ((1 < *quotient && (quotient[*quotient] == 0))) { *quotient =...
ulong * FUN_0016be00(ulong *param_1,undefined8 param_2) { ulong *puVar1; puVar1 = (ulong *)FUN_00166c60(*param_1 & 0xffffffff); FUN_0016a2cb(param_1,param_2,0,puVar1); while ((1 < *puVar1 && (puVar1[*puVar1] == 0))) { *puVar1 = *puVar1 - 1; } return puVar1; }
(translation_unit "ulong * FUN_0016be00(ulong *param_1,undefined8 param_2)\n\n{\n ulong *puVar1;\n \n puVar1 = (ulong *)FUN_00166c60(*param_1 & 0xffffffff);\n FUN_0016a2cb(param_1,param_2,0,puVar1);\n while ((1 < *puVar1 && (puVar1[*puVar1] == 0))) {\n *puVar1 = *puVar1 - 1;\n }\n return puVar1;\n}\n\n" (func...
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 EDI,EAX CALL 0x00166c60 MOV qword ptr [RBP + -0x8],RAX MOV RDX,qword ptr [RBP + -0x8] MOV RSI,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x18] MOV RCX,RDX ...
type_1 function_1(type_1 a,type_1 b) { type_1 quotient; type_1 b_local; type_1 a_local; type_1 q; quotient = var_1((int)*a); var_2(a,b,(type_1)0x0,quotient); while ((1 < *quotient && (quotient[*quotient] == 0))) { *quotient = *quotient - 1; } return quotient; }
(translation_unit "Bignum_conflict bigdiv(Bignum_conflict a,Bignum_conflict b)\n\n{\n Bignum_conflict quotient;\n Bignum_conflict b_local;\n Bignum_conflict a_local;\n Bignum_conflict q;\n \n quotient = newbn((int)*a);\n bigdivmod(a,b,(Bignum_conflict)0x0,quotient);\n while ((1 < *quotient && (quotient[*quotien...
(translation_unit "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 quotient;\n type_1 b_local;\n type_1 a_local;\n type_1 q;\n \n quotient = var_1((int)*a);\n var_2(a,b,(type_1)0x0,quotient);\n while ((1 < *quotient && (quotient[*quotient] == 0))) {\n *quotient = *quotient - 1;\n }\n return quotient;\n}...
(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...
1497_putty_and_putty_strip.c
sha1_init
FUN_0018e73c
sha1_init
/* WARNING: Unknown calling convention */ void * sha1_init(void) { SHA_CTX *c; SHA_State *s; c = (SHA_CTX *)safemalloc(1,0x60); SHA_Init(c); return c; }
undefined8 FUN_0018e73c(void) { undefined8 uVar1; uVar1 = FUN_0012e037(1,0x60); FUN_0018e280(uVar1); return uVar1; }
(translation_unit "undefined8 FUN_0018e73c(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0012e037(1,0x60);\n FUN_0018e280(uVar1);\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0018e73c(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0012e037(1,0x60);\n FUN_0018e280(uVar1);\n return uVar1;\n}"...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV ESI,0x60 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0018e280 MOV RAX,qword ptr [RBP + -0x8] LEAVE RET
/* WARNING: Unknown calling convention */ void * function_1(void) { type_1 *c; type_2 *s; c = (type_1 *)var_1(1,0x60); var_2(c); return c; }
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * sha1_init(void)\n\n{\n SHA_CTX *c;\n SHA_State *s;\n \n c = (SHA_CTX *)safemalloc(1,0x60);\n SHA_Init(c);\n return c;\n}\n\n" comment (function_definition "void * sha1_init(void)\n\n{\n SHA_CTX *c;\n SHA_State *s;\n \n c = (SHA_CTX *)safem...
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n type_1 *c;\n type_2 *s;\n \n c = (type_1 *)var_1(1,0x60);\n var_2(c);\n return c;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{\n type_1 *c;\n type_2 *s;\n \n c = (type_1 *)var_1(1,0x60);\n var...
(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: (type_identifier) declarator: (poin...
1464_putty_and_putty_strip.c
sha256_free_context
FUN_00188b6c
sha256_free_context
void sha256_free_context(void *handle) { void *handle_local; smemclr(handle,0x144); safefree(handle); return; }
void FUN_00188b6c(undefined8 param_1) { FUN_0012e30b(param_1,0x144); FUN_0012e243(param_1); return; }
(translation_unit "void FUN_00188b6c(undefined8 param_1)\n\n{\n FUN_0012e30b(param_1,0x144);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_00188b6c(undefined8 param_1)\n\n{\n FUN_0012e30b(param_1,0x144);\n FUN_0012e243(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 MOV RAX,qword ptr [RBP + -0x8] MOV ESI,0x144 MOV RDI,RAX CALL 0x0012e30b MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0012e243 NOP LEAVE RET
void function_1(void *handle) { void *handle_local; var_1(handle,0x144); var_2(handle); return; }
(translation_unit "void sha256_free_context(void *handle)\n\n{\n void *handle_local;\n \n smemclr(handle,0x144);\n safefree(handle);\n return;\n}\n\n" (function_definition "void sha256_free_context(void *handle)\n\n{\n void *handle_local;\n \n smemclr(handle,0x144);\n safefree(handle);\n return;\n}" primitive...
(translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n \n var_1(handle,0x144);\n var_2(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n \n var_1(handle,0x144);\n var_2(handle);\n return;\n}" primitive_type (function_declarator "...
(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...
1638_putty_and_putty_strip.c
makeliteral_cc
FUN_0019ad69
makeliteral_cc
void makeliteral_cc(buf *b,termchar *c,ulong *state) { long lVar1; long in_FS_OFFSET; ulong *state_local; termchar *c_local; buf *b_local; ulong zstate; termchar z; lVar1 = *(long *)(in_FS_OFFSET + 0x28); c_local = c; while (c_local->cc_next != L'\0') { c_local = c_local + c_local->cc_next;...
void FUN_0019ad69(undefined8 param_1,long *param_2) { long in_FS_OFFSET; long *local_48; undefined8 local_30; undefined8 local_28 [3]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_48 = param_2; while (*(int *)(local_48 + 2) != 0) { local_48 = local_48 + (long)*(int *)(local_4...
(translation_unit "void FUN_0019ad69(undefined8 param_1,long *param_2)\n\n{\n long in_FS_OFFSET;\n long *local_48;\n undefined8 local_30;\n undefined8 local_28 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_48 = param_2;\n while (*(int *)(local_48 + 2) != 0) {\n local_48 = loc...
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 JMP 0x0019adf3 MOV RAX,qword ptr [RBP + -0x40] MOV EAX,dword ptr [RAX + 0x10] MOVSXD RDX,EAX MOV RAX,RDX ADD RAX,RAX AD...
void function_1(type_1 *b,type_2 *c,type_3 *state) { long var_5; long var_1; type_3 *state_local; type_2 *var_2; type_1 *b_local; type_3 zstate; type_2 z; var_5 = *(long *)(var_1 + 0x28); var_2 = c; while (var_2->cc_next != L'\0') { var_2 = var_2 + var_2->cc_next; if (var_2->chr == 0) {...
(translation_unit "void makeliteral_cc(buf *b,termchar *c,ulong *state)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong *state_local;\n termchar *c_local;\n buf *b_local;\n ulong zstate;\n termchar z;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n c_local = c;\n while (c_local->cc_next != L'\0') {\n c_loc...
(translation_unit "void function_1(type_1 *b,type_2 *c,type_3 *state)\n\n{\n long var_5;\n long var_1;\n type_3 *state_local;\n type_2 *var_2;\n type_1 *b_local;\n type_3 zstate;\n type_2 z;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_2 = c;\n while (var_2->cc_next != L'\0') {\n var_2 = var_2 + var_2->cc_...
(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...
909_putty_and_putty_strip.c
ssh_pkt_adduint32
FUN_00140911
ssh_pkt_adduint32
void ssh_pkt_adduint32(Packet *pkt,ulong value) { long lVar1; long in_FS_OFFSET; ulong value_local; Packet *pkt_local; uchar x [4]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); x[0] = (uchar)(value >> 0x18); x[1] = (uchar)(value >> 0x10); x[2] = (uchar)(value >> 8); x[3] = (uchar)value; ssh_pkt_ad...
void FUN_00140911(undefined8 param_1,undefined8 param_2) { 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 = (undefined)((ulong)param_2 >> 0x18); local_13 = (undefined)((ulong)par...
(translation_unit "void FUN_00140911(undefined8 param_1,undefined8 param_2)\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_FS_OFFSET + 0x28);\n local_14 = (undefined)((ulong)param_2 >> 0x18);\n loc...
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] SHR RAX,0x18 MOV byte ptr [RBP + -0xc],AL MOV RAX,qword ptr [RBP + -0x20] SHR RAX,0x10 MOV byte ptr [RBP + -0xb],AL MOV...
void function_1(type_1 *pkt,type_2 var_2) { long var_4; long var_1; type_2 value_local; type_1 *pkt_local; type_3 x [4]; var_4 = *(long *)(var_1 + 0x28); x[0] = (type_3)(var_2 >> 0x18); x[1] = (type_3)(var_2 >> 0x10); x[2] = (type_3)(var_2 >> 8); x[3] = (type_3)var_2; var_3(pkt,x,4); if (va...
(translation_unit "void ssh_pkt_adduint32(Packet *pkt,ulong value)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong value_local;\n Packet *pkt_local;\n uchar x [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n x[0] = (uchar)(value >> 0x18);\n x[1] = (uchar)(value >> 0x10);\n x[2] = (uchar)(value >> 8);\n x[...
(translation_unit "void function_1(type_1 *pkt,type_2 var_2)\n\n{\n long var_4;\n long var_1;\n type_2 value_local;\n type_1 *pkt_local;\n type_3 x [4];\n \n var_4 = *(long *)(var_1 + 0x28);\n x[0] = (type_3)(var_2 >> 0x18);\n x[1] = (type_3)(var_2 >> 0x10);\n x[2] = (type_3)(var_2 >> 8);\n x[3] = (type_3)va...
(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...
1019_putty_and_putty_strip.c
ssh_check_termination
FUN_00152848
ssh_check_termination
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_check_termination(Ssh_conflict ssh) { int iVar1; Ssh_conflict ssh_local; if ((((ssh->version == 2) && (iVar1 = conf_get_int(ssh->conf,0x2d), iVar1 == 0)) && (ssh->channels != (tree234 *)0x0)) && (iVar1 = count234(ssh->ch...
void FUN_00152848(long param_1) { int iVar1; if ((((*(int *)(param_1 + 0x250) == 2) && (iVar1 = FUN_0011a4c1(*(undefined8 *)(param_1 + 0x380),0x2d), iVar1 == 0)) && (*(long *)(param_1 + 0x1a0) != 0)) && (iVar1 = FUN_001ad557(*(undefined8 *)(param_1 + 0x1a0)), iVar1 == 0)) { if ((*(long *)...
(translation_unit "void FUN_00152848(long param_1)\n\n{\n int iVar1;\n \n if ((((*(int *)(param_1 + 0x250) == 2) &&\n (iVar1 = FUN_0011a4c1(*(undefined8 *)(param_1 + 0x380),0x2d), iVar1 == 0)) &&\n (*(long *)(param_1 + 0x1a0) != 0)) &&\n (iVar1 = FUN_001ad557(*(undefined8 *)(param_1 + 0x1a0)), iVar1 =...
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 + 0x250] CMP EAX,0x2 JNZ 0x001528f4 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x380] MOV ESI,0x2d MOV RDI,RAX CALL 0x0011a4c1 TEST EAX,EAX JNZ 0x001528f4 MOV RAX,qword ptr [RBP + -0x8] MO...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh) { int var_2; type_1 ssh_local; if ((((ssh->version == 2) && (var_2 = var_1(ssh->conf,0x2d), var_2 == 0)) && (ssh->channels != (type_2 *)0x0)) && (var_2 = var_3(ssh->channels), var_2 == 0)) { if ((s...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_check_termination(Ssh_conflict ssh)\n\n{\n int iVar1;\n Ssh_conflict ssh_local;\n \n if ((((ssh->version == 2) && (iVar1 = conf_get_int(ssh->conf,0x2d), iVar1 == 0)) &&\n (ssh->channels != (tree234 *)0x0)) &...
(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_2;\n type_1 ssh_local;\n \n if ((((ssh->version == 2) && (var_2 = var_1(ssh->conf,0x2d), var_2 == 0)) &&\n (ssh->channels != (type_2 *)0x0)) && (var_2 = var_3(ssh->channels)...
(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))...
1214_putty_and_putty_strip.c
ccp_encrypt
FUN_0016eb8b
ccp_encrypt
void ccp_encrypt(void *vctx,uchar *blk,int len) { int len_local; uchar *blk_local; void *vctx_local; ccp_context *ctx; chacha20_encrypt((chacha20 *)((long)vctx + 0x84),blk,len); return; }
void FUN_0016eb8b(long param_1,undefined8 param_2,undefined4 param_3) { FUN_0016d06a(param_1 + 0x84,param_2,param_3); return; }
(translation_unit "void FUN_0016eb8b(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0016d06a(param_1 + 0x84,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_0016eb8b(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0016d06a(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_encrypt(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_encrypt((chacha20 *)((long)vctx + 0x84),blk,len);\n return;\n}\n\n" (function_definition "void ccp_encrypt(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...
1147_putty_and_putty_strip.c
bn_clz
FUN_0016805b
bn_clz
int bn_clz(BignumInt x) { BignumInt x_local; int i; int ret; ret = 0; x_local = x; for (i = 0x20; i != 0; i = i >> 1) { if (x_local >> (0x40U - (sbyte)i & 0x3f) == 0) { x_local = x_local << (sbyte)i; ret = ret + i; } } return ret; }
int FUN_0016805b(ulong param_1) { undefined8 local_20; undefined4 local_10; undefined4 local_c; local_c = 0; local_20 = param_1; for (local_10 = 0x20; local_10 != 0; local_10 = local_10 >> 1) { if (local_20 >> (0x40U - (sbyte)local_10 & 0x3f) == 0) { local_20 = local_20 << (sbyte)local_10; ...
(translation_unit "int FUN_0016805b(ulong param_1)\n\n{\n undefined8 local_20;\n undefined4 local_10;\n undefined4 local_c;\n \n local_c = 0;\n local_20 = param_1;\n for (local_10 = 0x20; local_10 != 0; local_10 = local_10 >> 1) {\n if (local_20 >> (0x40U - (sbyte)local_10 & 0x3f) == 0) {\n local_20 = lo...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x4],0x0 MOV dword ptr [RBP + -0x8],0x20 JMP 0x0016809e MOV EAX,0x40 SUB EAX,dword ptr [RBP + -0x8] MOV RDX,qword ptr [RBP + -0x18] MOV ECX,EAX SHR RDX,CL MOV RAX,RDX TEST RAX,RAX JNZ 0x0016809b MOV EAX,dword ptr [RBP + -0x8] MOV ECX,EAX SHL qwo...
int function_1(type_1 x) { type_1 var_2; int var_1; int var_3; var_3 = 0; var_2 = x; for (var_1 = 0x20; var_1 != 0; var_1 = var_1 >> 1) { if (var_2 >> (0x40U - (type_2)var_1 & 0x3f) == 0) { var_2 = var_2 << (type_2)var_1; var_3 = var_3 + var_1; } } return var_3; }
(translation_unit "int bn_clz(BignumInt x)\n\n{\n BignumInt x_local;\n int i;\n int ret;\n \n ret = 0;\n x_local = x;\n for (i = 0x20; i != 0; i = i >> 1) {\n if (x_local >> (0x40U - (sbyte)i & 0x3f) == 0) {\n x_local = x_local << (sbyte)i;\n ret = ret + i;\n }\n }\n return ret;\n}\n\n" (functi...
(translation_unit "int function_1(type_1 x)\n\n{\n type_1 var_2;\n int var_1;\n int var_3;\n \n var_3 = 0;\n var_2 = x;\n for (var_1 = 0x20; var_1 != 0; var_1 = var_1 >> 1) {\n if (var_2 >> (0x40U - (type_2)var_1 & 0x3f) == 0) {\n var_2 = var_2 << (type_2)var_1;\n var_3 = var_3 + var_1;\n }\n }\...
(translation_unit (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: (type_identifier) declarator: (identifier)) (declara...