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
1303_putty_and_putty_strip.c
ec_point_copy
FUN_00176e72
ec_point_copy
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ ec_point * ec_point_copy(ec_point *a) { uchar infinity; ec_point *peVar1; Bignum_conflict z; Bignum_conflict y; Bignum_conflict x; ec_point *a_local; if (a == (ec_point *)0x0) { peVar1 = (ec_point *)0x0; } else { in...
undefined8 FUN_00176e72(undefined8 *param_1) { undefined uVar1; undefined8 uVar2; undefined8 uVar3; undefined8 uVar4; if (param_1 == (undefined8 *)0x0) { uVar2 = 0; } else { uVar1 = *(undefined *)(param_1 + 4); if (param_1[3] == 0) { uVar2 = 0; } else { uVar2 = FUN_001...
(translation_unit "undefined8 FUN_00176e72(undefined8 *param_1)\n\n{\n undefined uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n \n if (param_1 == (undefined8 *)0x0) {\n uVar2 = 0;\n }\n else {\n uVar1 = *(undefined *)(param_1 + 4);\n if (param_1[3] == 0) {\n uVar2 = 0;\n }...
PUSH RBP MOV RBP,RSP PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x18 MOV qword ptr [RBP + -0x28],RDI CMP qword ptr [RBP + -0x28],0x0 JNZ 0x00176e94 MOV EAX,0x0 JMP 0x00176f2e MOV RAX,qword ptr [RBP + -0x28] MOVZX EAX,byte ptr [RAX + 0x20] MOVZX EBX,AL MOV RAX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RAX + 0x18] TEST RAX,RAX ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_1 *var_1) { type_2 infinity; type_1 *peVar1; type_3 z; type_3 y; type_3 x; type_1 *a_local; if (var_1 == (type_1 *)0x0) { peVar1 = (type_1 *)0x0; } else { infinity = var_1->infinity; if ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ec_point_copy(ec_point *a)\n\n{\n uchar infinity;\n ec_point *peVar1;\n Bignum_conflict z;\n Bignum_conflict y;\n Bignum_conflict x;\n ec_point *a_local;\n \n if (a == (ec_point *)0x0) {\n peVar1 = (ec_p...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *var_1)\n\n{\n type_2 infinity;\n type_1 *peVar1;\n type_3 z;\n type_3 y;\n type_3 x;\n type_1 *a_local;\n \n if (var_1 == (type_1 *)0x0) {\n peVar1 = (type_1 *)0x0;\n }\n else {\n i...
(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...
1573_putty_and_putty_strip.c
ssh_connection_sharing_init
FUN_00194493
ssh_connection_sharing_init
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ Socket ssh_connection_sharing_init(char *host,int port,Conf *conf,Ssh ssh,void **state) { int iVar1; int iVar2; tree234 *ptVar3; Socket ppsVar4; long in_FS_OFFSET; void **state_local; Ssh ssh_local; Conf *conf_local; int port_...
long FUN_00194493(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4, undefined8 *param_5) { int iVar1; int iVar2; undefined8 uVar3; long lVar4; long in_FS_OFFSET; undefined8 local_40; undefined8 local_38; undefined8 local_30; long local_28; undefined8 loc...
(translation_unit "long FUN_00194493(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 *param_5)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n long lVar4;\n long in_FS_OFFSET;\n undefined8 local_40;\n undefined8 local_38;\n undefined8 local_30;\n l...
PUSH RBP MOV RBP,RSP ADD RSP,-0x80 MOV qword ptr [RBP + -0x58],RDI MOV dword ptr [RBP + -0x5c],ESI MOV qword ptr [RBP + -0x68],RDX MOV qword ptr [RBP + -0x70],RCX MOV qword ptr [RBP + -0x78],R8 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x68] MOV ESI,0xaa MOV RDI,RA...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 function_1(char *host,int port,type_2 *conf,type_3 ssh,void **state) { int var_3; int var_6; type_4 *ptVar3; type_1 ppsVar4; long var_1; void **state_local; type_3 ssh_local; type_2 *conf_local; int port_local; char *...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSocket ssh_connection_sharing_init(char *host,int port,Conf *conf,Ssh ssh,void **state)\n\n{\n int iVar1;\n int iVar2;\n tree234 *ptVar3;\n Socket ppsVar4;\n long in_FS_OFFSET;\n void **state_local;\n Ssh ssh_local;\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(char *host,int port,type_2 *conf,type_3 ssh,void **state)\n\n{\n int var_3;\n int var_6;\n type_4 *ptVar3;\n type_1 ppsVar4;\n long var_1;\n void **state_local;\n type_3 ssh_local;\n type_2 *conf_loc...
(translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator...
1521_putty_and_putty_strip.c
share_halfchannel_cmp
FUN_0018f389
share_halfchannel_cmp
int share_halfchannel_cmp(void *av,void *bv) { int iVar1; void *bv_local; void *av_local; share_halfchannel *a; share_halfchannel *b; /* WARNING: Load size is inaccurate */ /* WARNING: Load size is inaccurate */ if (*av < *bv) { iVar1 = -1; } else { ...
undefined8 FUN_0018f389(uint *param_1,uint *param_2) { undefined8 uVar1; if (*param_1 < *param_2) { uVar1 = 0xffffffff; } else if (*param_2 < *param_1) { uVar1 = 1; } else { uVar1 = 0; } return uVar1; }
(translation_unit "undefined8 FUN_0018f389(uint *param_1,uint *param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_1 < *param_2) {\n uVar1 = 0xffffffff;\n }\n else if (*param_2 < *param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0018f389(...
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] MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RA...
int function_1(void *av,void *bv) { int iVar1; void *bv_local; void *av_local; type_1 *a; type_1 *b; /* WARNING: Load size is inaccurate */ /* WARNING: Load size is inaccurate */ if (*av < *bv) { iVar1 = -1; } else { /* WARNING: Load s...
(translation_unit "int share_halfchannel_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n share_halfchannel *a;\n share_halfchannel *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n ...
(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 /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_...
1408_putty_and_putty_strip.c
key_type_fp
FUN_00183d6d
key_type_fp
int key_type_fp(FILE *fp) { char *pcVar1; long lVar2; bool bVar3; uint uVar4; int iVar5; size_t sVar6; size_t sVar7; ssh_signkey *psVar8; long in_FS_OFFSET; FILE *fp_local; int i; char *p; char openssh_sig [12]; char putty2_sig [21]; char public_std_sig [27]; char openssh_new_sig [31];...
undefined8 FUN_00183d6d(FILE *param_1) { char *pcVar1; bool bVar2; uint uVar3; int iVar4; size_t sVar5; undefined8 uVar6; size_t sVar7; long lVar8; long in_FS_OFFSET; undefined8 local_4b4; undefined4 local_4ac; undefined8 local_4a8; undefined8 local_4a0; undefined4 local_498; undefined l...
(translation_unit "undefined8 FUN_00183d6d(FILE *param_1)\n\n{\n char *pcVar1;\n bool bVar2;\n uint uVar3;\n int iVar4;\n size_t sVar5;\n undefined8 uVar6;\n size_t sVar7;\n long lVar8;\n long in_FS_OFFSET;\n undefined8 local_4b4;\n undefined4 local_4ac;\n undefined8 local_4a8;\n undefined8 local_4a0;\n u...
PUSH RBP MOV RBP,RSP SUB RSP,0x4d0 MOV qword ptr [RBP + -0x4c8],RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,0x474542202d2d2d2d MOV RDX,0x2032485353204e49 MOV qword ptr [RBP + -0x480],RAX MOV qword ptr [RBP + -0x478],RDX MOV RCX,0x4b2043494c425550 MOV qword ptr [RBP + -0x470],RCX M...
int function_1(type_1 *fp) { char *var_13; long var_17; bool bVar3; type_2 var_5; int var_8; size_t var_11; size_t var_12; type_3 *var_16; long var_1; type_1 *fp_local; int i; char *p; char openssh_sig [12]; char putty2_sig [21]; char public_std_sig [27]; char openssh_new_sig [31]; c...
(translation_unit "int key_type_fp(FILE *fp)\n\n{\n char *pcVar1;\n long lVar2;\n bool bVar3;\n uint uVar4;\n int iVar5;\n size_t sVar6;\n size_t sVar7;\n ssh_signkey *psVar8;\n long in_FS_OFFSET;\n FILE *fp_local;\n int i;\n char *p;\n char openssh_sig [12];\n char putty2_sig [21];\n char public_std_sig...
(translation_unit "int function_1(type_1 *fp)\n\n{\n char *var_13;\n long var_17;\n bool bVar3;\n type_2 var_5;\n int var_8;\n size_t var_11;\n size_t var_12;\n type_3 *var_16;\n long var_1;\n type_1 *fp_local;\n int i;\n char *p;\n char openssh_sig [12];\n char putty2_sig [21];\n char public_std_sig [27...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de...
1754_putty_and_putty_strip.c
columns_focus
FUN_001b0f40
columns_focus
gint columns_focus(GtkWidget *super,GtkDirectionType dir) { GtkWidget *pGVar1; int iVar2; gint gVar3; GType GVar4; long lVar5; undefined8 uVar6; GtkDirectionType dir_local; GtkWidget *super_local; gboolean __r; gboolean __r_1; gboolean __r_2; GList *pos; GtkWidget *focuschild; GTypeInstanc...
undefined8 FUN_001b0f40(long *param_1,int param_2) { long *plVar1; int iVar2; long lVar3; undefined8 uVar4; int local_64; int local_60; int local_5c; long *local_58; long *local_50; if (param_1 == (long *)0x0) { g_return_if_fail_warning(0,"columns_focus","super != NULL"); } else { l...
(translation_unit "undefined8 FUN_001b0f40(long *param_1,int param_2)\n\n{\n long *plVar1;\n int iVar2;\n long lVar3;\n undefined8 uVar4;\n int local_64;\n int local_60;\n int local_5c;\n long *local_58;\n long *local_50;\n \n if (param_1 == (long *)0x0) {\n g_return_if_fail_warning(0,"columns_focus","sup...
PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x68],RDI MOV dword ptr [RBP + -0x6c],ESI CMP qword ptr [RBP + -0x68],0x0 JNZ 0x001b0f78 LEA RDX,[0x2133e3] LEA RSI,[0x213508] MOV EDI,0x0 CALL 0x00114230 MOV EAX,0x0 JMP 0x001b131d MOV RAX,qword ptr [RBP + -0x68] MOV qword ptr [RBP + -0x40],RAX CALL 0x001afc3e MO...
type_1 function_1(type_2 *var_1,type_3 var_13) { type_2 *var_23; int var_10; type_1 gVar3; type_4 var_4; long var_19; type_5 uVar6; type_3 dir_local; type_2 *super_local; type_6 var_6; type_6 var_27; type_6 var_24; type_7 *var_21; type_2 *var_22; type_8 *__inst; type_4 __t; type_9 *col...
(translation_unit "gint columns_focus(GtkWidget *super,GtkDirectionType dir)\n\n{\n GtkWidget *pGVar1;\n int iVar2;\n gint gVar3;\n GType GVar4;\n long lVar5;\n undefined8 uVar6;\n GtkDirectionType dir_local;\n GtkWidget *super_local;\n gboolean __r;\n gboolean __r_1;\n gboolean __r_2;\n GList *pos;\n GtkW...
(translation_unit "type_1 function_1(type_2 *var_1,type_3 var_13)\n\n{\n type_2 *var_23;\n int var_10;\n type_1 gVar3;\n type_4 var_4;\n long var_19;\n type_5 uVar6;\n type_3 dir_local;\n type_2 *super_local;\n type_6 var_6;\n type_6 var_27;\n type_6 var_24;\n type_7 *var_21;\n type_2 *var_22;\n type_8 *_...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (ident...
1028_putty_and_putty_strip.c
ssh2_msg_channel_close
FUN_00152fc9
ssh2_msg_channel_close
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_msg_channel_close(Ssh_conflict ssh,Packet *pktin) { int iVar1; outstanding_channel_request *ptr; ssh_channel *c_00; Packet *pktin_local; Ssh_conflict ssh_local; ssh_channel *c; outstanding_channel_request *ocr; c_00...
void FUN_00152fc9(long param_1,undefined8 param_2) { int iVar1; undefined8 *puVar2; long lVar3; lVar3 = FUN_0015236c(param_1,param_2); if (lVar3 != 0) { FUN_00152e31(lVar3); if ((*(uint *)(param_1 + 0x6c) & 0x800) == 0) { while (*(long *)(lVar3 + 0x58) != 0) { puVar2 = *(undefined8 ...
(translation_unit "void FUN_00152fc9(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined8 *puVar2;\n long lVar3;\n \n lVar3 = FUN_0015236c(param_1,param_2);\n if (lVar3 != 0) {\n FUN_00152e31(lVar3);\n if ((*(uint *)(param_1 + 0x6c) & 0x800) == 0) {\n while (*(long *)(lVar3 + 0x58) != 0) {\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 0x00153116 MOV RAX,qword ptr [RBP + -0x10] MOV RDI,...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { int var_5; type_3 *ptr; 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); ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_close(Ssh_conflict ssh,Packet *pktin)\n\n{\n int iVar1;\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_ch...
(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_5;\n type_3 *ptr;\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_...
(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...
1706_putty_and_putty_strip.c
term_data
FUN_001ac870
term_data
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ wchar_t term_data(Terminal *term,wchar_t is_stderr,char *data,wchar_t len) { char *data_local; wchar_t len_local; wchar_t is_stderr_local; Terminal *term_local; bufchain_add((bufchain *)&term->inbuf,data,len); if (term->in_term_o...
undefined8 FUN_001ac870(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4) { FUN_0012dc11(param_1 + 0xa0,param_3,param_4); if (*(int *)(param_1 + 0x1128) == 0) { *(undefined4 *)(param_1 + 0x1128) = 1; FUN_0019bf40(param_1); if (*(int *)(param_1 + 0xeb4) != 2) { FUN_001a08e9(p...
(translation_unit "undefined8 FUN_001ac870(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n FUN_0012dc11(param_1 + 0xa0,param_3,param_4);\n if (*(int *)(param_1 + 0x1128) == 0) {\n *(undefined4 *)(param_1 + 0x1128) = 1;\n FUN_0019bf40(param_1);\n if (*(int *)(param_1 + 0xeb4) != ...
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 dword ptr [RBP + -0x10],ECX MOV RAX,qword ptr [RBP + -0x8] LEA RCX,[RAX + 0xa0] MOV EDX,dword ptr [RBP + -0x10] MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RAX MOV RDI,RCX CALL 0x0012dc11 MOV ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 function_1(type_2 *term,type_1 is_stderr,char *data,type_1 len) { char *data_local; type_1 len_local; type_1 is_stderr_local; type_2 *term_local; var_1((type_3 *)&term->inbuf,data,len); if (term->in_term_out == L'\0') { ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t term_data(Terminal *term,wchar_t is_stderr,char *data,wchar_t len)\n\n{\n char *data_local;\n wchar_t len_local;\n wchar_t is_stderr_local;\n Terminal *term_local;\n \n bufchain_add((bufchain *)&term->inbuf,data...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *term,type_1 is_stderr,char *data,type_1 len)\n\n{\n char *data_local;\n type_1 len_local;\n type_1 is_stderr_local;\n type_2 *term_local;\n \n var_1((type_3 *)&term->inbuf,data,len);\n if (ter...
(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...
968_putty_and_putty_strip.c
sshfwd_write_eof
FUN_001490bb
sshfwd_write_eof
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void sshfwd_write_eof(ssh_channel *c) { ssh_channel *c_local; Ssh_conflict ssh; if ((c->ssh->state != AL) && ((c->closes & 1U) == 0)) { c->pending_eof = 1; ssh_channel_try_eof(c); } return; }
void FUN_001490bb(long *param_1) { if ((*(int *)(*param_1 + 0x1d0) != 4) && ((*(uint *)(param_1 + 3) & 1) == 0)) { *(undefined4 *)((long)param_1 + 0x1c) = 1; FUN_00148f6b(param_1); } return; }
(translation_unit "void FUN_001490bb(long *param_1)\n\n{\n if ((*(int *)(*param_1 + 0x1d0) != 4) && ((*(uint *)(param_1 + 3) & 1) == 0)) {\n *(undefined4 *)((long)param_1 + 0x1c) = 1;\n FUN_00148f6b(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_001490bb(long *param_1)\n\n{\n if ((*(int *)(*pa...
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 EAX,dword ptr [RAX + 0x1d0] CMP EAX,0x4 JZ 0x00149108 MOV RAX,qword ptr [RBP + -0x18] MOV EAX,dword ptr [RAX + 0x18] AND EAX,0x1 TES...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *c) { type_1 *c_local; type_2 ssh; if ((c->ssh->state != var_1) && ((c->closes & 1U) == 0)) { c->pending_eof = 1; var_2(c); } return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sshfwd_write_eof(ssh_channel *c)\n\n{\n ssh_channel *c_local;\n Ssh_conflict ssh;\n \n if ((c->ssh->state != AL) && ((c->closes & 1U) == 0)) {\n c->pending_eof = 1;\n ssh_channel_try_eof(c);\n }\n return;\n}\...
(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_1 *c_local;\n type_2 ssh;\n \n if ((c->ssh->state != var_1) && ((c->closes & 1U) == 0)) {\n c->pending_eof = 1;\n var_2(c);\n }\n return;\n}\n\n" comment (function_definition...
(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...
1531_putty_and_putty_strip.c
share_find_halfchannel
FUN_0018f8e5
share_find_halfchannel
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ share_halfchannel * share_find_halfchannel(ssh_sharing_connstate *cs,uint server_id) { long lVar1; share_halfchannel *psVar2; long in_FS_OFFSET; uint server_id_local; ssh_sharing_connstate *cs_local; share_halfchannel dummyhc; ...
void FUN_0018f8e5(long param_1,undefined4 param_2) { long in_FS_OFFSET; undefined4 local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_14 = param_2; FUN_001ae652(*(undefined8 *)(param_1 + 0x4048),&local_14,0); if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) { ...
(translation_unit "void FUN_0018f8e5(long param_1,undefined4 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_14 = param_2;\n FUN_001ae652(*(undefined8 *)(param_1 + 0x4048),&local_14,0);\n if (local_10 != *(long *)(in_FS_OFFSET + ...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV EAX,dword ptr [RBP + -0x1c] MOV dword ptr [RBP + -0xc],EAX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x4048] LEA RCX,[RBP + -0xc] MO...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 * function_1(type_2 *cs,type_3 server_id) { long var_3; type_1 *psVar2; long var_1; type_3 server_id_local; type_2 *cs_local; type_1 dummyhc; var_3 = *(long *)(var_1 + 0x28); dummyhc.server_id = server_id; psVar2 = (...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_halfchannel * share_find_halfchannel(ssh_sharing_connstate *cs,uint server_id)\n\n{\n long lVar1;\n share_halfchannel *psVar2;\n long in_FS_OFFSET;\n uint server_id_local;\n ssh_sharing_connstate *cs_local;\n shar...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,type_3 server_id)\n\n{\n long var_3;\n type_1 *psVar2;\n long var_1;\n type_3 server_id_local;\n type_2 *cs_local;\n type_1 dummyhc;\n \n var_3 = *(long *)(var_1 + 0x28);\n dummyhc.serv...
(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 ...
1868_putty_and_putty_strip.c
logevent_dlg
FUN_001bac2d
logevent_dlg
void logevent_dlg(void *estuff,char *string) { int iVar1; long lVar2; long lVar3; void *pvVar4; size_t sVar5; size_t sVar6; long in_FS_OFFSET; char *string_local; void *estuff_local; eventlog_stuff *es; tm tm; char timebuf [40]; lVar2 = *(long *)(in_FS_OFFSET + 0x28); if (*(int *)((long...
void FUN_001bac2d(long param_1,char *param_2) { int iVar1; long lVar2; undefined8 uVar3; size_t sVar4; size_t sVar5; long in_FS_OFFSET; tm local_e8; char *local_a8; long local_a0; long local_90; tm local_88; char local_48 [40]; long local_20; local_20 = *(long *)(in_FS_OFFSET + 0x28); ...
(translation_unit "void FUN_001bac2d(long param_1,char *param_2)\n\n{\n int iVar1;\n long lVar2;\n undefined8 uVar3;\n size_t sVar4;\n size_t sVar5;\n long in_FS_OFFSET;\n tm local_e8;\n char *local_a8;\n long local_a0;\n long local_90;\n tm local_88;\n char local_48 [40];\n long local_20;\n \n local_20 ...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0xd8 MOV qword ptr [RBP + -0x98],RDI MOV qword ptr [RBP + -0xa0],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x18],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x98] MOV qword ptr [RBP + -0x88],RAX MOV RAX,qword ptr [RBP + -0x88] MOV EDX,dword ptr [RAX + 0xc88] MOV RAX,qword...
void function_1(void *estuff,char *string) { int iVar1; long var_13; long var_9; void *pvVar4; size_t var_8; size_t var_7; long var_1; char *string_local; void *estuff_local; type_1 *es; type_2 type_2; char timebuf [40]; var_13 = *(long *)(var_1 + 0x28); if (*(int *)((long)estuff + 0xc8...
(translation_unit "void logevent_dlg(void *estuff,char *string)\n\n{\n int iVar1;\n long lVar2;\n long lVar3;\n void *pvVar4;\n size_t sVar5;\n size_t sVar6;\n long in_FS_OFFSET;\n char *string_local;\n void *estuff_local;\n eventlog_stuff *es;\n tm tm;\n char timebuf [40];\n \n lVar2 = *(long *)(in_FS_OF...
(translation_unit "void function_1(void *estuff,char *string)\n\n{\n int iVar1;\n long var_13;\n long var_9;\n void *pvVar4;\n size_t var_8;\n size_t var_7;\n long var_1;\n char *string_local;\n void *estuff_local;\n type_1 *es;\n type_2 type_2;\n char timebuf [40];\n \n var_13 = *(long *)(var_1 + 0x28);\...
(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_...
1833_putty_and_putty_strip.c
fontsel_ok
FUN_001b5069
fontsel_ok
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void fontsel_ok(GtkButton *button,gpointer data) { void *pvVar1; undefined8 uVar2; unifontsel *fontsel_00; char *ptr; gpointer data_local; GtkButton *button_local; unifontsel *fontsel; uctrl *uc; char *name; uVar2 = g_typ...
void FUN_001b5069(undefined8 param_1) { long lVar1; undefined8 uVar2; long *plVar3; long lVar4; uVar2 = g_type_check_instance_cast(param_1,0x50); plVar3 = (long *)g_object_get_data(uVar2,"user-data"); lVar1 = *plVar3; lVar4 = FUN_001c32d1(plVar3); if (lVar4 == 0) { /* WARNING:...
(translation_unit "void FUN_001b5069(undefined8 param_1)\n\n{\n long lVar1;\n undefined8 uVar2;\n long *plVar3;\n long lVar4;\n \n uVar2 = g_type_check_instance_cast(param_1,0x50);\n plVar3 = (long *)g_object_get_data(uVar2,"user-data");\n lVar1 = *plVar3;\n lVar4 = FUN_001c32d1(plVar3);\n if (lVar4 == 0) {\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr [RBP + -0x28] MOV ESI,0x50 MOV RDI,RAX CALL 0x00114570 LEA RSI,[0x21388c] MOV RDI,RAX CALL 0x00115f70 MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] MOV qword ptr ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *button,type_2 data) { void *pvVar1; type_3 uVar2; type_4 *fontsel_00; char *var_4; type_2 data_local; type_1 *button_local; type_4 *fontsel; type_5 *uc; char *name; uVar2 = var_1(button,0x50); fo...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid fontsel_ok(GtkButton *button,gpointer data)\n\n{\n void *pvVar1;\n undefined8 uVar2;\n unifontsel *fontsel_00;\n char *ptr;\n gpointer data_local;\n GtkButton *button_local;\n unifontsel *fontsel;\n uctrl *uc;\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *button,type_2 data)\n\n{\n void *pvVar1;\n type_3 uVar2;\n type_4 *fontsel_00;\n char *var_4;\n type_2 data_local;\n type_1 *button_local;\n type_4 *fontsel;\n type_5 *uc;\n char *name;\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...
1794_putty_and_putty_strip.c
dlg_checkbox_get
FUN_001b3032
dlg_checkbox_get
int dlg_checkbox_get(control *ctrl,void *dlg) { int iVar1; uctrl *puVar2; undefined8 uVar3; void *dlg_local; control *ctrl_local; dlgparam *dp; uctrl *uc; puVar2 = dlg_find_byctrl((dlgparam *)dlg,ctrl); if ((puVar2->ctrl->generic).type != 3) { /* WARNING: Subroutine does not r...
void FUN_001b3032(undefined8 param_1,undefined8 param_2) { undefined8 *puVar1; undefined8 uVar2; puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1); if (*(int *)*puVar1 != 3) { /* WARNING: Subroutine does not return */ __assert_fail("uc->ctrl->generic.type == CTRL_CHECKBOX","unix/...
(translation_unit "void FUN_001b3032(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1);\n if (*(int *)*puVar1 != 3) {\n /* WARNING: Subroutine does not return */\n __assert_fail("uc->ctrl->generic.ty...
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 MOV RDX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RBP + -0x10] MOV RSI,RDX MOV RDI,RAX CALL 0x001b2d0b MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP ...
int function_1(type_1 *ctrl,void *dlg) { int iVar1; type_2 *puVar2; type_3 uVar3; void *dlg_local; type_1 *ctrl_local; type_4 *dp; type_2 *uc; puVar2 = var_1((type_4 *)dlg,ctrl); if ((puVar2->ctrl->generic).type != 3) { /* WARNING: Subroutine does not return */ var_2("uc->...
(translation_unit "int dlg_checkbox_get(control *ctrl,void *dlg)\n\n{\n int iVar1;\n uctrl *puVar2;\n undefined8 uVar3;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n \n puVar2 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n if ((puVar2->ctrl->generic).type != 3) {\n /*...
(translation_unit "int function_1(type_1 *ctrl,void *dlg)\n\n{\n int iVar1;\n type_2 *puVar2;\n type_3 uVar3;\n void *dlg_local;\n type_1 *ctrl_local;\n type_4 *dp;\n type_2 *uc;\n \n puVar2 = var_1((type_4 *)dlg,ctrl);\n if ((puVar2->ctrl->generic).type != 3) {\n /* WARNING: Subroutine doe...
(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...
1172_putty_and_putty_strip.c
bigmul
FUN_0016b71e
bigmul
Bignum_conflict bigmul(Bignum_conflict a,Bignum_conflict b) { Bignum_conflict pBVar1; Bignum_conflict b_local; Bignum_conflict a_local; pBVar1 = bigmuladd(a,b,(Bignum_conflict)0x0); return pBVar1; }
void FUN_0016b71e(undefined8 param_1,undefined8 param_2) { FUN_0016b321(param_1,param_2,0); return; }
(translation_unit "void FUN_0016b71e(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016b321(param_1,param_2,0);\n return;\n}\n\n" (function_definition "void FUN_0016b71e(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016b321(param_1,param_2,0);\n return;\n}" primitive_type (function_declarator "FUN_0016b71e...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RCX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RBP + -0x8] MOV EDX,0x0 MOV RSI,RCX MOV RDI,RAX CALL 0x0016b321 LEAVE RET
type_1 function_1(type_1 a,type_1 b) { type_1 pBVar1; type_1 b_local; type_1 a_local; pBVar1 = var_1(a,b,(type_1)0x0); return pBVar1; }
(translation_unit "Bignum_conflict bigmul(Bignum_conflict a,Bignum_conflict b)\n\n{\n Bignum_conflict pBVar1;\n Bignum_conflict b_local;\n Bignum_conflict a_local;\n \n pBVar1 = bigmuladd(a,b,(Bignum_conflict)0x0);\n return pBVar1;\n}\n\n" (function_definition "Bignum_conflict bigmul(Bignum_conflict a,Bignum_conf...
(translation_unit "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 pBVar1;\n type_1 b_local;\n type_1 a_local;\n \n pBVar1 = var_1(a,b,(type_1)0x0);\n return pBVar1;\n}\n\n" (function_definition "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 pBVar1;\n type_1 b_local;\n type_1 a_local;\n \n pBVar1 = v...
(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...
1778_putty_and_putty_strip.c
idle_toplevel_callback_func
FUN_001b29aa
idle_toplevel_callback_func
gint idle_toplevel_callback_func(gpointer data) { uint uVar1; int iVar2; gpointer data_local; uVar1 = gtk_main_level(); if (uVar1 < 2) { run_toplevel_callbacks(); } else if (idle_fn_scheduled != 0) { g_source_remove(toplevel_callback_idle_id); idle_fn_scheduled = 0; } iVar2 = toplevel...
undefined8 FUN_001b29aa(void) { uint uVar1; int iVar2; uVar1 = gtk_main_level(); if (uVar1 < 2) { FUN_001167ba(); } else if (DAT_002362a8 != 0) { g_source_remove(DAT_002362a4); DAT_002362a8 = 0; } iVar2 = FUN_00116838(); if ((iVar2 == 0) && (DAT_002362a8 != 0)) { g_source_remove(D...
(translation_unit "undefined8 FUN_001b29aa(void)\n\n{\n uint uVar1;\n int iVar2;\n \n uVar1 = gtk_main_level();\n if (uVar1 < 2) {\n FUN_001167ba();\n }\n else if (DAT_002362a8 != 0) {\n g_source_remove(DAT_002362a4);\n DAT_002362a8 = 0;\n }\n iVar2 = FUN_00116838();\n if ((iVar2 == 0) && (DAT_002362...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI CALL 0x001154f0 CMP EAX,0x1 JBE 0x001b29e3 MOV EAX,dword ptr [0x002362a8] TEST EAX,EAX JZ 0x001b29e8 MOV EAX,dword ptr [0x002362a4] MOV EDI,EAX CALL 0x00116060 MOV dword ptr [0x002362a8],0x0 JMP 0x001b29e8 CALL 0x001167ba CALL 0x00116838 TEST EAX,EAX JNZ ...
type_1 function_1(type_2 data) { type_3 var_2; int var_7; type_2 data_local; var_2 = var_1(); if (var_2 < 2) { var_3(); } else if (var_4 != 0) { var_5(toplevel_callback_idle_id); var_4 = 0; } var_7 = var_6(); if ((var_7 == 0) && (var_4 != 0)) { var_5(toplevel_callback_idle_id); ...
(translation_unit "gint idle_toplevel_callback_func(gpointer data)\n\n{\n uint uVar1;\n int iVar2;\n gpointer data_local;\n \n uVar1 = gtk_main_level();\n if (uVar1 < 2) {\n run_toplevel_callbacks();\n }\n else if (idle_fn_scheduled != 0) {\n g_source_remove(toplevel_callback_idle_id);\n idle_fn_schedu...
(translation_unit "type_1 function_1(type_2 data)\n\n{\n type_3 var_2;\n int var_7;\n type_2 data_local;\n \n var_2 = var_1();\n if (var_2 < 2) {\n var_3();\n }\n else if (var_4 != 0) {\n var_5(toplevel_callback_idle_id);\n var_4 = 0;\n }\n var_7 = var_6();\n if ((var_7 == 0) && (var_4 != 0)) {\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...
1656_putty_and_putty_strip.c
power_on
FUN_0019c016
power_on
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void power_on(Terminal *term,wchar_t clear) { ulong uVar1; undefined4 uVar2; wchar_t wVar3; int iVar4; wchar_t clear_local; Terminal *term_local; wchar_t i; wchar_t i_1; term->alt_y = L'\0'; term->alt_x = term->alt_y; (...
void FUN_0019c016(long param_1,int param_2) { undefined2 uVar1; undefined4 uVar2; int iVar3; undefined4 local_10; undefined4 local_c; *(undefined4 *)(param_1 + 0x1e4) = 0; *(undefined4 *)(param_1 + 0x1e0) = *(undefined4 *)(param_1 + 0x1e4); *(undefined4 *)(param_1 + 0xc0) = 0; *(undefined4 *)(par...
(translation_unit "void FUN_0019c016(long param_1,int param_2)\n\n{\n undefined2 uVar1;\n undefined4 uVar2;\n int iVar3;\n undefined4 local_10;\n undefined4 local_c;\n \n *(undefined4 *)(param_1 + 0x1e4) = 0;\n *(undefined4 *)(param_1 + 0x1e0) = *(undefined4 *)(param_1 + 0x1e4);\n *(undefined4 *)(param_1 + 0xc...
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 dword ptr [RAX + 0x1e4],0x0 MOV RAX,qword ptr [RBP + -0x18] MOV EDX,dword ptr [RAX + 0x1e4] MOV RAX,qword ptr [RBP + -0x18] MOV dword ptr [RAX + 0x1e0],EDX MOV RAX,qword ptr [RBP + -0x18...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term,type_2 var_9) { type_3 uVar1; type_4 uVar2; type_2 var_11; int iVar4; type_2 clear_local; type_1 *term_local; type_2 var_1; type_2 var_5; term->alt_y = L'\0'; term->alt_x = term->alt_y; (ter...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid power_on(Terminal *term,wchar_t clear)\n\n{\n ulong uVar1;\n undefined4 uVar2;\n wchar_t wVar3;\n int iVar4;\n wchar_t clear_local;\n Terminal *term_local;\n wchar_t i;\n wchar_t i_1;\n \n term->alt_y = L'\0';\...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 var_9)\n\n{\n type_3 uVar1;\n type_4 uVar2;\n type_2 var_11;\n int iVar4;\n type_2 clear_local;\n type_1 *term_local;\n type_2 var_1;\n type_2 var_5;\n \n term->alt_y = L'\0';\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...
1211_putty_and_putty_strip.c
ccp_free_context
FUN_0016eace
ccp_free_context
void ccp_free_context(void *vctx) { void *vctx_local; ccp_context *ctx; smemclr(vctx,0x84); smemclr((void *)((long)vctx + 0x84),0x84); smemclr((void *)((long)vctx + 0x118),0x58); safefree(vctx); return; }
void FUN_0016eace(long param_1) { FUN_0012e30b(param_1,0x84); FUN_0012e30b(param_1 + 0x84,0x84); FUN_0012e30b(param_1 + 0x118,0x58); FUN_0012e243(param_1); return; }
(translation_unit "void FUN_0016eace(long param_1)\n\n{\n FUN_0012e30b(param_1,0x84);\n FUN_0012e30b(param_1 + 0x84,0x84);\n FUN_0012e30b(param_1 + 0x118,0x58);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_0016eace(long param_1)\n\n{\n FUN_0012e30b(param_1,0x84);\n FUN_0012e30b(param...
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,0x84 MOV RDI,RAX CALL 0x0012e30b MOV RAX,qword ptr [RBP + -0x8] ADD RAX,0x84 MOV ESI,0x84 MOV RDI,RAX CALL 0x0012e30b MOV RAX,qword ptr [RBP + -0x8] ADD...
void function_1(void *vctx) { void *vctx_local; type_1 *ctx; var_1(vctx,0x84); var_1((void *)((long)vctx + 0x84),0x84); var_1((void *)((long)vctx + 0x118),0x58); var_2(vctx); return; }
(translation_unit "void ccp_free_context(void *vctx)\n\n{\n void *vctx_local;\n ccp_context *ctx;\n \n smemclr(vctx,0x84);\n smemclr((void *)((long)vctx + 0x84),0x84);\n smemclr((void *)((long)vctx + 0x118),0x58);\n safefree(vctx);\n return;\n}\n\n" (function_definition "void ccp_free_context(void *vctx)\n\n{\n...
(translation_unit "void function_1(void *vctx)\n\n{\n void *vctx_local;\n type_1 *ctx;\n \n var_1(vctx,0x84);\n var_1((void *)((long)vctx + 0x84),0x84);\n var_1((void *)((long)vctx + 0x118),0x58);\n var_2(vctx);\n return;\n}\n\n" (function_definition "void function_1(void *vctx)\n\n{\n void *vctx_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))))) body: (compound_statement (declaration type: (primitive_type) dec...
1444_putty_and_putty_strip.c
rsa2_pubkey_bits
FUN_00187048
rsa2_pubkey_bits
int rsa2_pubkey_bits(ssh_signkey *self,void *blob,int len) { int iVar1; void *key; int len_local; void *blob_local; ssh_signkey *self_local; int ret; RSAKey *rsa; key = rsa2_newkey(self,(char *)blob,len); if (key == (void *)0x0) { iVar1 = -1; } else { iVar1 = bignum_bitcount(*(Bignum_...
undefined4 FUN_00187048(undefined8 param_1,undefined8 param_2,undefined4 param_3) { undefined4 uVar1; long lVar2; lVar2 = FUN_0018602c(param_1,param_2,param_3); if (lVar2 == 0) { uVar1 = 0xffffffff; } else { uVar1 = FUN_0016aba4(*(undefined8 *)(lVar2 + 8)); FUN_00186183(lVar2); } return...
(translation_unit "undefined4 FUN_00187048(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n long lVar2;\n \n lVar2 = FUN_0018602c(param_1,param_2,param_3);\n if (lVar2 == 0) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = FUN_0016aba4(*(undefined8 *)(lVar2 + 8));\n FUN...
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 EDX,dword ptr [RBP + -0x24] MOV RCX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x18] MOV RSI,RCX MOV RDI,RAX CALL 0x0018602c MOV qword ptr [RBP + -0x8],RAX CMP qword ptr [RBP + -0...
int function_1(type_1 *self,void *blob,int len) { int iVar1; void *var_2; int len_local; void *blob_local; type_1 *self_local; int ret; type_2 *rsa; var_2 = var_1(self,(char *)blob,len); if (var_2 == (void *)0x0) { iVar1 = -1; } else { iVar1 = var_3(*(type_3 *)((long)var_2 + 8)); ...
(translation_unit "int rsa2_pubkey_bits(ssh_signkey *self,void *blob,int len)\n\n{\n int iVar1;\n void *key;\n int len_local;\n void *blob_local;\n ssh_signkey *self_local;\n int ret;\n RSAKey *rsa;\n \n key = rsa2_newkey(self,(char *)blob,len);\n if (key == (void *)0x0) {\n iVar1 = -1;\n }\n else {\n ...
(translation_unit "int function_1(type_1 *self,void *blob,int len)\n\n{\n int iVar1;\n void *var_2;\n int len_local;\n void *blob_local;\n type_1 *self_local;\n int ret;\n type_2 *rsa;\n \n var_2 = var_1(self,(char *)blob,len);\n if (var_2 == (void *)0x0) {\n iVar1 = -1;\n }\n else {\n iVar1 = var_3(*...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer...
1066_putty_and_putty_strip.c
ssh_special
FUN_0015d044
ssh_special
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_special(void *handle,Telnet_Special code) { Packet *pPVar1; Telnet_Special code_local; void *handle_local; char *signame; Ssh_conflict ssh; Packet *pktout; if (code == TS_EOF) { if (*(int *)((long)handle + 0x1d0) =...
void FUN_0015d044(long param_1,uint param_2) { undefined8 uVar1; undefined *local_20; if (param_2 == 0xc) { if (*(int *)(param_1 + 0x1d0) == 3) { if (*(int *)(param_1 + 0x250) == 1) { FUN_00140386(param_1,0x13,0); } else if (*(long *)(param_1 + 0x1a8) != 0) { FUN_001490b...
(translation_unit "void FUN_0015d044(long param_1,uint param_2)\n\n{\n undefined8 uVar1;\n undefined *local_20;\n \n if (param_2 == 0xc) {\n if (*(int *)(param_1 + 0x1d0) == 3) {\n if (*(int *)(param_1 + 0x250) == 1) {\n FUN_00140386(param_1,0x13,0);\n }\n else if (*(long *)(param_1 + 0x1a8...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV dword ptr [RBP + -0x2c],ESI MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x10],RAX CMP dword ptr [RBP + -0x2c],0xc JNZ 0x0015d10d MOV RAX,qword ptr [RBP + -0x10] MOV EAX,dword ptr [RAX + 0x1d0] CMP EAX,0x3 JZ 0x0015d091 CMP dword ptr [RBP + ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(void *handle,type_1 var_1) { type_2 *pPVar1; type_1 code_local; void *handle_local; char *var_31; type_3 ssh; type_2 *pktout; if (var_1 == var_2) { if (*(int *)((long)handle + 0x1d0) == 3) { if (*(int ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_special(void *handle,Telnet_Special code)\n\n{\n Packet *pPVar1;\n Telnet_Special code_local;\n void *handle_local;\n char *signame;\n Ssh_conflict ssh;\n Packet *pktout;\n \n if (code == TS_EOF) {\n if (*...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,type_1 var_1)\n\n{\n type_2 *pPVar1;\n type_1 code_local;\n void *handle_local;\n char *var_31;\n type_3 ssh;\n type_2 *pktout;\n \n if (var_1 == var_2) {\n if (*(int *)((long)handle + ...
(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...
1263_putty_and_putty_strip.c
dh_init
FUN_00174035
dh_init
void dh_init(dh_ctx *ctx) { Bignum_conflict pBVar1; dh_ctx *ctx_local; pBVar1 = bignum_rshift((Bignum_conflict)ctx->p,1); ctx->q = pBVar1; pBVar1 = bignum_bitmask((Bignum_conflict)ctx->q); ctx->qmask = pBVar1; ctx->e = (Bignum)0x0; ctx->x = ctx->e; return; }
void FUN_00174035(undefined8 *param_1) { undefined8 uVar1; uVar1 = FUN_0016b04b(param_1[2],1); param_1[3] = uVar1; uVar1 = FUN_0016ba6e(param_1[3]); param_1[4] = uVar1; param_1[1] = 0; *param_1 = param_1[1]; return; }
(translation_unit "void FUN_00174035(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0016b04b(param_1[2],1);\n param_1[3] = uVar1;\n uVar1 = FUN_0016ba6e(param_1[3]);\n param_1[4] = uVar1;\n param_1[1] = 0;\n *param_1 = param_1[1];\n return;\n}\n\n" (function_definition "void FUN_00174035(undefi...
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 + 0x10] MOV ESI,0x1 MOV RDI,RAX CALL 0x0016b04b MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RAX + 0x18],RDX MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x18] MOV RDI,RAX CALL ...
void function_1(type_1 *ctx) { type_2 pBVar1; type_1 *ctx_local; pBVar1 = var_1((type_2)ctx->p,1); ctx->q = pBVar1; pBVar1 = var_2((type_2)ctx->q); ctx->qmask = pBVar1; ctx->e = (type_3)0x0; ctx->x = ctx->e; return; }
(translation_unit "void dh_init(dh_ctx *ctx)\n\n{\n Bignum_conflict pBVar1;\n dh_ctx *ctx_local;\n \n pBVar1 = bignum_rshift((Bignum_conflict)ctx->p,1);\n ctx->q = pBVar1;\n pBVar1 = bignum_bitmask((Bignum_conflict)ctx->q);\n ctx->qmask = pBVar1;\n ctx->e = (Bignum)0x0;\n ctx->x = ctx->e;\n return;\n}\n\n" (f...
(translation_unit "void function_1(type_1 *ctx)\n\n{\n type_2 pBVar1;\n type_1 *ctx_local;\n \n pBVar1 = var_1((type_2)ctx->p,1);\n ctx->q = pBVar1;\n pBVar1 = var_2((type_2)ctx->q);\n ctx->qmask = pBVar1;\n ctx->e = (type_3)0x0;\n ctx->x = ctx->e;\n return;\n}\n\n" (function_definition "void function_1(type_...
(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...
1422_putty_and_putty_strip.c
rsaencrypt
FUN_00184beb
rsaencrypt
int rsaencrypt(uchar *data,int length,RSAKey *key) { int iVar1; Bignum_conflict base_in; Bignum_conflict bn; RSAKey *key_local; int length_local; uchar *data_local; int i; uchar *p; Bignum b1; Bignum b2; if (length + 3 < key->bytes) { memmove(data + ((long)key->bytes - (long)length),data,...
undefined8 FUN_00184beb(undefined *param_1,int param_2,long param_3) { undefined uVar1; undefined8 uVar2; undefined8 uVar3; int local_24; undefined *local_20; if (param_2 + 3 < *(int *)(param_3 + 4)) { memmove(param_1 + ((long)*(int *)(param_3 + 4) - (long)param_2),param_1,(long)param_2); *para...
(translation_unit "undefined8 FUN_00184beb(undefined *param_1,int param_2,long param_3)\n\n{\n undefined uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n int local_24;\n undefined *local_20;\n \n if (param_2 + 3 < *(int *)(param_3 + 4)) {\n memmove(param_1 + ((long)*(int *)(param_3 + 4) - (long)param_2),param...
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 EAX,dword ptr [RBP + -0x2c] LEA EDX,[RAX + 0x3] MOV RAX,qword ptr [RBP + -0x38] MOV EAX,dword ptr [RAX + 0x4] CMP EDX,EAX JL 0x00184c19 MOV EAX,0x0 JMP 0x00184d5b MOV EAX,dword ptr [RBP ...
int function_1(type_1 *var_3,int var_1,type_2 *key) { int iVar1; type_3 base_in; type_3 bn; type_2 *key_local; int length_local; type_1 *data_local; int var_4; type_1 *var_9; type_4 b1; type_4 b2; if (var_1 + 3 < key->bytes) { var_2(var_3 + ((long)key->bytes - (long)var_1),var_3,(long)var...
(translation_unit "int rsaencrypt(uchar *data,int length,RSAKey *key)\n\n{\n int iVar1;\n Bignum_conflict base_in;\n Bignum_conflict bn;\n RSAKey *key_local;\n int length_local;\n uchar *data_local;\n int i;\n uchar *p;\n Bignum b1;\n Bignum b2;\n \n if (length + 3 < key->bytes) {\n memmove(data + ((long...
(translation_unit "int function_1(type_1 *var_3,int var_1,type_2 *key)\n\n{\n int iVar1;\n type_3 base_in;\n type_3 bn;\n type_2 *key_local;\n int length_local;\n type_1 *data_local;\n int var_4;\n type_1 *var_9;\n type_4 b1;\n type_4 b2;\n \n if (var_1 + 3 < key->bytes) {\n var_2(var_3 + ((long)key->byt...
(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...
1102_putty_and_putty_strip.c
aes256_encrypt_pubkey
FUN_00163dbb
aes256_encrypt_pubkey
void aes256_encrypt_pubkey(uchar *key,uchar *blk,int len) { long lVar1; long in_FS_OFFSET; int len_local; uchar *blk_local; uchar *key_local; AESContext ctx; lVar1 = *(long *)(in_FS_OFFSET + 0x28); aes_setup(&ctx,0x10,key,0x20); memset(ctx.iv,0,0x20); aes_encrypt_cbc(blk,len,&ctx); smemclr(&c...
void FUN_00163dbb(undefined8 param_1,undefined8 param_2,undefined4 param_3) { long in_FS_OFFSET; undefined local_408 [976]; undefined auStack_38 [40]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_00162f17(local_408,0x10,param_1,0x20); memset(auStack_38,0,0x20); FUN_0016350d(param_2...
(translation_unit "void FUN_00163dbb(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_408 [976];\n undefined auStack_38 [40];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00162f17(local_408,0x10,param_1,0x20);\n memset(auStack_38,0,0...
PUSH RBP MOV RBP,RSP SUB RSP,0x420 MOV qword ptr [RBP + -0x408],RDI MOV qword ptr [RBP + -0x410],RSI MOV dword ptr [RBP + -0x414],EDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RDX,qword ptr [RBP + -0x408] LEA RAX,[RBP + -0x400] MOV ECX,0x20 MOV ESI,0x10 MOV RDI,RAX CALL 0x00162f17 LEA R...
void function_1(type_1 *key,type_1 *blk,int len) { long var_6; long var_1; int len_local; type_1 *blk_local; type_1 *key_local; type_2 ctx; var_6 = *(long *)(var_1 + 0x28); var_2(&ctx,0x10,key,0x20); var_3(ctx.iv,0,0x20); var_4(blk,len,&ctx); var_5(&ctx,0x3f8); if (var_6 != *(long *)(var_1 ...
(translation_unit "void aes256_encrypt_pubkey(uchar *key,uchar *blk,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n uchar *blk_local;\n uchar *key_local;\n AESContext ctx;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n aes_setup(&ctx,0x10,key,0x20);\n memset(ctx.iv,0,0x20);\n aes_encrypt_...
(translation_unit "void function_1(type_1 *key,type_1 *blk,int len)\n\n{\n long var_6;\n long var_1;\n int len_local;\n type_1 *blk_local;\n type_1 *key_local;\n type_2 ctx;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(&ctx,0x10,key,0x20);\n var_3(ctx.iv,0,0x20);\n var_4(blk,len,&ctx);\n var_5(&ctx,0x3f8);...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1127_putty_and_putty_strip.c
blowfish256_key
FUN_001669c9
blowfish256_key
void blowfish256_key(void *handle,uchar *key) { uchar *key_local; void *handle_local; BlowfishContext *ctx; blowfish_setkey((BlowfishContext *)handle,key,0x20); return; }
void FUN_001669c9(undefined8 param_1,undefined8 param_2) { FUN_0016690d(param_1,param_2,0x20); return; }
(translation_unit "void FUN_001669c9(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016690d(param_1,param_2,0x20);\n return;\n}\n\n" (function_definition "void FUN_001669c9(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016690d(param_1,param_2,0x20);\n return;\n}" primitive_type (function_declarator "FUN_00...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV RCX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x8] MOV EDX,0x20 MOV RSI,RCX MOV RDI,RAX CALL 0x0016690d 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,key,0x20); return; }
(translation_unit "void blowfish256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n blowfish_setkey((BlowfishContext *)handle,key,0x20);\n return;\n}\n\n" (function_definition "void blowfish256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void ...
(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,key,0x20);\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;\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...
993_putty_and_putty_strip.c
ssh1_msg_debug
FUN_0014bebe
ssh1_msg_debug
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh1_msg_debug(Ssh_conflict ssh,Packet *pktin) { long in_FS_OFFSET; Packet *pktin_local; Ssh_conflict ssh_local; int msglen; char *msg; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); ssh_pkt_getstring(pktin,&m...
void FUN_0014bebe(undefined8 param_1,undefined8 param_2) { long in_FS_OFFSET; undefined4 local_1c; undefined *local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_00141d1a(param_2,&local_18,&local_1c); if (local_18 == (undefined *)0x0) { local_18 = &DAT_002078dc; } FUN_0013...
(translation_unit "void FUN_0014bebe(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_1c;\n undefined *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00141d1a(param_2,&local_18,&local_1c);\n if (local_18 == (undefined *)0x0) {\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 LEA RDX,[RBP + -0x14] LEA RCX,[RBP + -0x10] MOV RAX,qword ptr [RBP + -0x30] MOV RSI,RCX MOV RDI,RAX CALL 0x00141d1a MOV RAX,qword ptr [RBP + -0x10] TES...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { long var_1; type_2 *pktin_local; type_1 ssh_local; int msglen; char *var_3; long var_5; var_5 = *(long *)(var_1 + 0x28); var_2(pktin,&var_3,&msglen); if (var_3 == (char *)0x0) { ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_msg_debug(Ssh_conflict ssh,Packet *pktin)\n\n{\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int msglen;\n char *msg;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28)...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int msglen;\n char *var_3;\n long var_5;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_2(pktin,&var_3,&msglen);\...
(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...
1881_putty_and_putty_strip.c
x11font_width_8
FUN_001bc192
x11font_width_8
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ wchar_t x11font_width_8(unifont_drawctx *ctx,x11font_individual *xfi,void *vstring,wchar_t start, wchar_t length) { wchar_t wVar1; wchar_t length_local; wchar_t start_local; void *vstring_local; x11font_individu...
void FUN_001bc192(undefined8 param_1,undefined8 *param_2,long param_3,int param_4,undefined4 param_5 ) { XTextWidth(*param_2,param_4 + param_3,param_5); return; }
(translation_unit "void FUN_001bc192(undefined8 param_1,undefined8 *param_2,long param_3,int param_4,undefined4 param_5\n )\n\n{\n XTextWidth(*param_2,param_4 + param_3,param_5);\n return;\n}\n\n" (function_definition "void FUN_001bc192(undefined8 param_1,undefined8 *param_2,long param_3,int param_4,u...
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 dword ptr [RBP + -0x2c],ECX MOV dword ptr [RBP + -0x30],R8D MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x8],RAX MOV EAX,dword ptr [RBP + -0x2c] MOVSXD RDX,EAX MOV RAX,qword pt...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ type_1 function_1(type_2 *ctx,type_3 *xfi,void *vstring,type_1 start, type_1 length) { type_1 wVar1; type_1 length_local; type_1 start_local; void *vstring_local; type_3 *xfi_local; type_2 *ctx_local; char *...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nwchar_t x11font_width_8(unifont_drawctx *ctx,x11font_individual *xfi,void *vstring,wchar_t start,\n wchar_t length)\n\n{\n wchar_t wVar1;\n wchar_t length_local;\n wchar_t start_local;\n void *vstrin...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 *ctx,type_3 *xfi,void *vstring,type_1 start,\n type_1 length)\n\n{\n type_1 wVar1;\n type_1 length_local;\n type_1 start_local;\n void *vstring_local;\n type_3 *xfi_local;\n...
(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...
1797_putty_and_putty_strip.c
dlg_listbox_clear
FUN_001b32d5
dlg_listbox_clear
void dlg_listbox_clear(control *ctrl,void *dlg) { uctrl *puVar1; void *dlg_local; control *ctrl_local; dlgparam *dp; uctrl *uc; puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl); if (((puVar1->ctrl->generic).type != 1) && ((puVar1->ctrl->generic).type != 5)) { /* WARNING: Subroutine ...
void FUN_001b32d5(undefined8 param_1,undefined8 param_2) { undefined8 *puVar1; puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1); if ((*(int *)*puVar1 != 1) && (*(int *)*puVar1 != 5)) { /* WARNING: Subroutine does not return */ __assert_fail("uc->ctrl->generic.type == CTRL_EDITBOX ...
(translation_unit "void FUN_001b32d5(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1);\n if ((*(int *)*puVar1 != 1) && (*(int *)*puVar1 != 5)) {\n /* WARNING: Subroutine does not return */\n __assert_fail("uc->ctrl->gen...
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 MOV RDX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RBP + -0x10] MOV RSI,RDX MOV RDI,RAX CALL 0x001b2d0b MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP ...
void function_1(type_1 *ctrl,void *dlg) { type_2 *puVar1; void *dlg_local; type_1 *ctrl_local; type_3 *dp; type_2 *uc; puVar1 = var_1((type_3 *)dlg,ctrl); if (((puVar1->ctrl->generic).type != 1) && ((puVar1->ctrl->generic).type != 5)) { /* WARNING: Subroutine does not return */ ...
(translation_unit "void dlg_listbox_clear(control *ctrl,void *dlg)\n\n{\n uctrl *puVar1;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n \n puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n if (((puVar1->ctrl->generic).type != 1) && ((puVar1->ctrl->generic).type != 5)) {\n ...
(translation_unit "void function_1(type_1 *ctrl,void *dlg)\n\n{\n type_2 *puVar1;\n void *dlg_local;\n type_1 *ctrl_local;\n type_3 *dp;\n type_2 *uc;\n \n puVar1 = var_1((type_3 *)dlg,ctrl);\n if (((puVar1->ctrl->generic).type != 1) && ((puVar1->ctrl->generic).type != 5)) {\n /* WARNING: Sub...
(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...
1842_putty_and_putty_strip.c
get_listitemheight
FUN_001b79f9
get_listitemheight
int get_listitemheight(GtkWidget *w) { long lVar1; undefined8 uVar2; undefined8 uVar3; long in_FS_OFFSET; GtkWidget *w_local; int height; GtkCellRenderer *cr; GtkRequisition req; lVar1 = *(long *)(in_FS_OFFSET + 0x28); uVar2 = gtk_cell_renderer_text_new(); gtk_cell_renderer_get_preferred_size...
undefined4 FUN_001b79f9(undefined8 param_1) { undefined8 uVar1; undefined8 uVar2; long in_FS_OFFSET; undefined local_18 [4]; undefined4 local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); uVar1 = gtk_cell_renderer_text_new(); gtk_cell_renderer_get_preferred_size(uVar1,param_1,loca...
(translation_unit "undefined4 FUN_001b79f9(undefined8 param_1)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined local_18 [4];\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n uVar1 = gtk_cell_renderer_text_new();\n gtk_cell_renderer_get_pre...
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 CALL 0x00114d50 MOV qword ptr [RBP + -0x18],RAX LEA RDX,[RBP + -0x10] MOV RSI,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RBP + -0x18] MOV ECX,0x0 MOV RDI,RAX CALL 0x00114880 MOV EAX,d...
int function_1(type_1 *w) { long var_8; type_2 uVar2; type_2 uVar3; long var_1; type_1 *w_local; int height; type_3 *cr; type_4 req; var_8 = *(long *)(var_1 + 0x28); uVar2 = var_2(); var_3(uVar2,w,&req,0); uVar3 = var_4(uVar2,0x50); var_5(uVar3); uVar3 = var_4(uVar2,0x50); var_6(uVar3...
(translation_unit "int get_listitemheight(GtkWidget *w)\n\n{\n long lVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n GtkWidget *w_local;\n int height;\n GtkCellRenderer *cr;\n GtkRequisition req;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n uVar2 = gtk_cell_renderer_text_new();\n gtk_...
(translation_unit "int function_1(type_1 *w)\n\n{\n long var_8;\n type_2 uVar2;\n type_2 uVar3;\n long var_1;\n type_1 *w_local;\n int height;\n type_3 *cr;\n type_4 req;\n \n var_8 = *(long *)(var_1 + 0x28);\n uVar2 = var_2();\n var_3(uVar2,w,&req,0);\n uVar3 = var_4(uVar2,0x50);\n var_5(uVar3);\n uVar3...
(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: (sized_type_specifi...
1238_putty_and_putty_strip.c
des3_ssh1_make_context
FUN_00172b88
des3_ssh1_make_context
/* WARNING: Unknown calling convention */ void * des3_ssh1_make_context(void) { void *pvVar1; pvVar1 = safemalloc(6,0x88); return pvVar1; }
void FUN_00172b88(void) { FUN_0012e037(6,0x88); return; }
(translation_unit "void FUN_00172b88(void)\n\n{\n FUN_0012e037(6,0x88);\n return;\n}\n\n" (function_definition "void FUN_00172b88(void)\n\n{\n FUN_0012e037(6,0x88);\n return;\n}" primitive_type (function_declarator "FUN_00172b88(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_ty...
PUSH RBP MOV RBP,RSP MOV ESI,0x88 MOV EDI,0x6 CALL 0x0012e037 POP RBP RET
/* WARNING: Unknown calling convention */ void * function_1(void) { void *pvVar1; pvVar1 = var_1(6,0x88); return pvVar1; }
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * des3_ssh1_make_context(void)\n\n{\n void *pvVar1;\n \n pvVar1 = safemalloc(6,0x88);\n return pvVar1;\n}\n\n" comment (function_definition "void * des3_ssh1_make_context(void)\n\n{\n void *pvVar1;\n \n pvVar1 = safemalloc(6,0x88);\n return pv...
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n void *pvVar1;\n \n pvVar1 = var_1(6,0x88);\n return pvVar1;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{\n void *pvVar1;\n \n pvVar1 = var_1(6,0x88);\n return pvVar1;\n}" primitive_type (pointer_...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (point...
1031_putty_and_putty_strip.c
ssh2_msg_channel_open_failure
FUN_0015337f
ssh2_msg_channel_open_failure
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_msg_channel_open_failure(Ssh_conflict ssh,Packet *pktin) { ssh_channel *e; char *ptr; Packet *pktin_local; Ssh_conflict ssh_local; ssh_channel *c; char *errtext; e = ssh_channel_msg(ssh,pktin); if (e != (ssh_channel...
void FUN_0015337f(long param_1,undefined8 param_2) { long lVar1; undefined8 uVar2; lVar1 = FUN_0015236c(param_1,param_2); if (lVar1 != 0) { if (*(int *)(lVar1 + 0x14) == 0) { /* WARNING: Subroutine does not return */ __assert_fail("c->halfopen","ssh.c",0x2163,"ssh2_msg_channel...
(translation_unit "void FUN_0015337f(long param_1,undefined8 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 *)(lVar1 + 0x14) == 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("c->halfopen","ssh...
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 0x00153484 MOV RAX,qword ptr [RBP + -0x10] MOV EAX,...
/* 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 *ptr; type_2 *pktin_local; type_1 ssh_local; type_3 *c; char *errtext; var_2 = var_1(ssh,pktin); if (var_2 != (type_3 *)0x0) { if (var_2->halfopen == 0) { ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_open_failure(Ssh_conflict ssh,Packet *pktin)\n\n{\n ssh_channel *e;\n char *ptr;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n char *errtext;\n \n e = ssh_channel_msg(ssh,p...
(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 *ptr;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_3 *c;\n char *errtext;\n \n var_2 = var_1(ssh,pktin);\n if (var_2 != (type_3 *)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...
1516_putty_and_putty_strip.c
hmacsha1_96_verresult
FUN_0018ef9c
hmacsha1_96_verresult
int hmacsha1_96_verresult(void *handle,uchar *hmac) { long lVar1; int iVar2; long in_FS_OFFSET; uchar *hmac_local; void *handle_local; uchar correct [20]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); hmacsha1_genresult(handle,correct); iVar2 = smemeq(correct,hmac,0xc); if (lVar1 != *(long *)(in_FS_O...
void FUN_0018ef9c(undefined8 param_1,undefined8 param_2) { long in_FS_OFFSET; undefined local_28 [24]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_0018eb52(param_1,local_28); FUN_0012e6a8(local_28,param_2,0xc); if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) { /*...
(translation_unit "void FUN_0018ef9c(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0018eb52(param_1,local_28);\n FUN_0012e6a8(local_28,param_2,0xc);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x2...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RDX,[RBP + -0x20] MOV RAX,qword ptr [RBP + -0x28] MOV RSI,RDX MOV RDI,RAX CALL 0x0018eb52 MOV RCX,qword ptr [RBP + -0x30] LEA RAX,[RBP + -0x20] MOV...
int function_1(void *handle,type_1 *hmac) { long var_4; int iVar2; long var_1; type_1 *hmac_local; void *handle_local; type_1 correct [20]; var_4 = *(long *)(var_1 + 0x28); var_2(handle,correct); iVar2 = var_3(correct,hmac,0xc); if (var_4 != *(long *)(var_1 + 0x28)) { /* WAR...
(translation_unit "int hmacsha1_96_verresult(void *handle,uchar *hmac)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n uchar *hmac_local;\n void *handle_local;\n uchar correct [20];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n hmacsha1_genresult(handle,correct);\n iVar2 = smemeq(correct,hmac,0xc);\n ...
(translation_unit "int function_1(void *handle,type_1 *hmac)\n\n{\n long var_4;\n int iVar2;\n long var_1;\n type_1 *hmac_local;\n void *handle_local;\n type_1 correct [20];\n \n var_4 = *(long *)(var_1 + 0x28);\n var_2(handle,correct);\n iVar2 = var_3(correct,hmac,0xc);\n if (var_4 != *(long *)(var_1 + 0x28...
(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...
1394_putty_and_putty_strip.c
rfc4716_loadpub
FUN_00181b7e
rfc4716_loadpub
uchar * rfc4716_loadpub(FILE *fp,char **algorithm,int *pub_blob_len,char **commentptr, char **errorstr) { long lVar1; int iVar2; int iVar3; uint uVar4; char *pcVar5; size_t sVar6; long in_FS_OFFSET; char **errorstr_local; char **commentptr_local; int *pub_blob_len_local; c...
byte * FUN_00181b7e(undefined8 param_1,undefined8 *param_2,int *param_3,undefined8 *param_4, undefined8 *param_5) { int iVar1; int iVar2; undefined8 uVar3; char *pcVar4; size_t sVar5; long in_FS_OFFSET; int local_74; int local_70; int local_6c; char *local_60; char *local_58; ...
(translation_unit "byte * FUN_00181b7e(undefined8 param_1,undefined8 *param_2,int *param_3,undefined8 *param_4,\n undefined8 *param_5)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n char *pcVar4;\n size_t sVar5;\n long in_FS_OFFSET;\n int local_74;\n int local_70;\n int local_6c;\n cha...
PUSH RBP MOV RBP,RSP SUB RSP,0xa0 MOV qword ptr [RBP + -0x78],RDI MOV qword ptr [RBP + -0x80],RSI MOV qword ptr [RBP + -0x88],RDX MOV qword ptr [RBP + -0x90],RCX MOV qword ptr [RBP + -0x98],R8 MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV qword ptr [RBP + -0x48],0x0 MOV qword ptr [RBP + -0x...
type_1 * function_1(type_2 *fp,char **var_21,int *var_23,char **var_24, char **var_31) { long var_32; int var_6; int var_16; type_3 uVar4; char *var_9; size_t var_27; long var_1; char **errorstr_local; char **commentptr_local; int *pub_blob_len_local; char **algorithm_loca...
(translation_unit "uchar * rfc4716_loadpub(FILE *fp,char **algorithm,int *pub_blob_len,char **commentptr,\n char **errorstr)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n uint uVar4;\n char *pcVar5;\n size_t sVar6;\n long in_FS_OFFSET;\n char **errorstr_local;\n char **commentptr_local;\...
(translation_unit "type_1 * function_1(type_2 *fp,char **var_21,int *var_23,char **var_24,\n char **var_31)\n\n{\n long var_32;\n int var_6;\n int var_16;\n type_3 uVar4;\n char *var_9;\n size_t var_27;\n long var_1;\n char **errorstr_local;\n char **commentptr_local;\n int *pub_blob_len...
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri...
1262_putty_and_putty_strip.c
des_decrypt_blk
FUN_00173ffb
des_decrypt_blk
void des_decrypt_blk(void *handle,uchar *blk,int len) { int len_local; uchar *blk_local; void *handle_local; DESContext *keys; des_cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x88)); return; }
void FUN_00173ffb(long param_1,undefined8 param_2,undefined4 param_3) { FUN_00172208(param_2,param_3,param_1 + 0x88); return; }
(translation_unit "void FUN_00173ffb(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172208(param_2,param_3,param_1 + 0x88);\n return;\n}\n\n" (function_definition "void FUN_00173ffb(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172208(param_2,param_3,param_1 + 0x88);\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 RDX,[RAX + 0x88] MOV ECX,dword ptr [RBP + -0x24] MOV RAX,qword ptr [RBP + -0x20] MOV ESI,ECX...
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 *)((long)handle + 0x88)); return; }
(translation_unit "void des_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x88));\n return;\n}\n\n" (function_definition "void des_decrypt_blk(void *handle,uchar *blk,int ...
(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 *)((long)handle + 0x88));\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_loca...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1090_putty_and_putty_strip.c
aes_encrypt_cbc
FUN_0016350d
aes_encrypt_cbc
void aes_encrypt_cbc(uchar *blk,int len,AESContext *ctx) { long lVar1; long in_FS_OFFSET; AESContext *ctx_local; int len_local; uchar *blk_local; int i; word32 iv [4]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); if ((len & 0xfU) != 0) { /* WARNING: Subroutine does not return */ ...
void FUN_0016350d(long param_1,uint param_2,long param_3) { long in_FS_OFFSET; uint local_44; long local_40; int local_2c; undefined8 local_28; undefined8 local_20; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if ((param_2 & 0xf) != 0) { /* WARNING: Subroutine doe...
(translation_unit "void FUN_0016350d(long param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n uint local_44;\n long local_40;\n int local_2c;\n undefined8 local_28;\n undefined8 local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((param_2 & 0xf) != 0) {\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV qword ptr [RBP + -0x38],RDI MOV dword ptr [RBP + -0x3c],ESI MOV qword ptr [RBP + -0x48],RDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV EAX,dword ptr [RBP + -0x3c] AND EAX,0xf TEST EAX,EAX JZ 0x00163558 LEA RCX,[0x20c710] MOV EDX,0x409 LEA RSI,[0x20c5...
void function_1(type_1 *blk,int var_2,type_2 *ctx) { long var_8; long var_1; type_2 *ctx_local; int var_4; type_1 *var_7; int var_5; type_3 iv [4]; var_8 = *(long *)(var_1 + 0x28); if ((var_2 & 0xfU) != 0) { /* WARNING: Subroutine does not return */ var_3("(len & 15) == 0"...
(translation_unit "void aes_encrypt_cbc(uchar *blk,int len,AESContext *ctx)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n AESContext *ctx_local;\n int len_local;\n uchar *blk_local;\n int i;\n word32 iv [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & 0xfU) != 0) {\n /* WARNING: S...
(translation_unit "void function_1(type_1 *blk,int var_2,type_2 *ctx)\n\n{\n long var_8;\n long var_1;\n type_2 *ctx_local;\n int var_4;\n type_1 *var_7;\n int var_5;\n type_3 iv [4];\n \n var_8 = *(long *)(var_1 + 0x28);\n if ((var_2 & 0xfU) != 0) {\n /* WARNING: Subroutine does not return...
(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...
1582_putty_and_putty_strip.c
zlib_compress_cleanup
FUN_001958da
zlib_compress_cleanup
void zlib_compress_cleanup(void *handle) { void *handle_local; LZ77Context *ectx; safefree(*(void **)((long)handle + 8)); /* WARNING: Load size is inaccurate */ safefree(*handle); safefree(handle); return; }
void FUN_001958da(undefined8 *param_1) { FUN_0012e243(param_1[1]); FUN_0012e243(*param_1); FUN_0012e243(param_1); return; }
(translation_unit "void FUN_001958da(undefined8 *param_1)\n\n{\n FUN_0012e243(param_1[1]);\n FUN_0012e243(*param_1);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_001958da(undefined8 *param_1)\n\n{\n FUN_0012e243(param_1[1]);\n FUN_0012e243(*param_1);\n FUN_0012e243(param_1);\n retur...
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 RAX,qword ptr [RAX + 0x8] MOV RDI,RAX CALL 0x0012e243 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX] MOV RDI,RAX CALL 0x0012e243 MOV RAX,qword ptr [...
void function_1(void *handle) { void *handle_local; type_1 *ectx; var_1(*(void **)((long)handle + 8)); /* WARNING: Load size is inaccurate */ var_1(*handle); var_1(handle); return; }
(translation_unit "void zlib_compress_cleanup(void *handle)\n\n{\n void *handle_local;\n LZ77Context *ectx;\n \n safefree(*(void **)((long)handle + 8));\n /* WARNING: Load size is inaccurate */\n safefree(*handle);\n safefree(handle);\n return;\n}\n\n" (function_definition "void zlib_compress_...
(translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *ectx;\n \n var_1(*(void **)((long)handle + 8));\n /* WARNING: Load size is inaccurate */\n var_1(*handle);\n var_1(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *...
(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...
1479_putty_and_putty_strip.c
SHA512_Bytes
FUN_0018d25a
SHA512_Bytes
void SHA512_Bytes(SHA512_State *s,void *p,int len) { byte bVar1; byte bVar2; byte bVar3; byte bVar4; long lVar5; long in_FS_OFFSET; int len_local; void *p_local; SHA512_State *s_local; uint32 lenw; int i; uint32 h; uint32 l; uchar *q; uint64 wordblock [16]; lVar5 = *(long *)(in_FS_O...
void FUN_0018d25a(long param_1,void *param_2,uint param_3) { byte bVar1; byte bVar2; byte bVar3; byte bVar4; long in_FS_OFFSET; uint local_14c; uint local_130; int local_12c; void *local_120; ulong local_118 [33]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_130 = param...
(translation_unit "void FUN_0018d25a(long param_1,void *param_2,uint param_3)\n\n{\n byte bVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n long in_FS_OFFSET;\n uint local_14c;\n uint local_130;\n int local_12c;\n void *local_120;\n ulong local_118 [33];\n long local_10;\n \n local_10 = *(long *)(in_FS_OF...
PUSH RBP MOV RBP,RSP SUB RSP,0x150 MOV qword ptr [RBP + -0x138],RDI MOV qword ptr [RBP + -0x140],RSI MOV dword ptr [RBP + -0x144],EDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x140] MOV qword ptr [RBP + -0x118],RAX MOV EAX,dword ptr [RBP + -0x144] MOV dword ptr [R...
void function_1(type_1 *s,void *p,int var_4) { type_2 bVar1; type_2 bVar2; type_2 bVar3; type_2 bVar4; long var_9; long var_1; int var_5; void *p_local; type_1 *s_local; type_3 var_3; int var_2; type_3 h; type_3 l; type_4 *var_7; type_5 wordblock [16]; var_9 = *(long *)(var_1 + 0x28...
(translation_unit "void SHA512_Bytes(SHA512_State *s,void *p,int len)\n\n{\n byte bVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n long lVar5;\n long in_FS_OFFSET;\n int len_local;\n void *p_local;\n SHA512_State *s_local;\n uint32 lenw;\n int i;\n uint32 h;\n uint32 l;\n uchar *q;\n uint64 wordblock [...
(translation_unit "void function_1(type_1 *s,void *p,int var_4)\n\n{\n type_2 bVar1;\n type_2 bVar2;\n type_2 bVar3;\n type_2 bVar4;\n long var_9;\n long var_1;\n int var_5;\n void *p_local;\n type_1 *s_local;\n type_3 var_3;\n int var_2;\n type_3 h;\n type_3 l;\n type_4 *var_7;\n type_5 wordblock [16];\...
(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...
1796_putty_and_putty_strip.c
dlg_editbox_get
FUN_001b31c3
dlg_editbox_get
char * dlg_editbox_get(control *ctrl,void *dlg) { uctrl *puVar1; undefined8 uVar2; undefined8 uVar3; char *pcVar4; void *dlg_local; control *ctrl_local; dlgparam *dp; uctrl *uc; puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl); if ((puVar1->ctrl->generic).type != 1) { /* WARNI...
void FUN_001b31c3(undefined8 param_1,undefined8 param_2) { undefined8 *puVar1; undefined8 uVar2; undefined8 uVar3; puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1); if (*(int *)*puVar1 != 1) { /* WARNING: Subroutine does not return */ __assert_fail("uc->ctrl->generic.type == C...
(translation_unit "void FUN_001b31c3(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n \n puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1);\n if (*(int *)*puVar1 != 1) {\n /* WARNING: Subroutine does not return */\n __assert_fail(...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x28 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr [RBP + -0x30] MOV qword ptr [RBP + -0x20],RAX MOV RDX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RBP + -0x20] MOV RSI,RDX MOV RDI,RAX CALL 0x001b2d0b MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword...
char * function_1(type_1 *ctrl,void *dlg) { type_2 *puVar1; type_3 uVar2; type_3 uVar3; char *pcVar4; void *dlg_local; type_1 *ctrl_local; type_4 *dp; type_2 *uc; puVar1 = var_1((type_4 *)dlg,ctrl); if ((puVar1->ctrl->generic).type != 1) { /* WARNING: Subroutine does not ret...
(translation_unit "char * dlg_editbox_get(control *ctrl,void *dlg)\n\n{\n uctrl *puVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n char *pcVar4;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n \n puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n if ((puVar1->ctrl->generic).type != 1)...
(translation_unit "char * function_1(type_1 *ctrl,void *dlg)\n\n{\n type_2 *puVar1;\n type_3 uVar2;\n type_3 uVar3;\n char *pcVar4;\n void *dlg_local;\n type_1 *ctrl_local;\n type_4 *dp;\n type_2 *uc;\n \n puVar1 = var_1((type_4 *)dlg,ctrl);\n if ((puVar1->ctrl->generic).type != 1) {\n /* ...
(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...
951_putty_and_putty_strip.c
ssh_receive
FUN_0014436b
ssh_receive
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_receive(Plug plug,int urgent,char *data,int len) { char *data_local; int len_local; int urgent_local; Plug plug_local; Ssh_conflict ssh; ssh_gotdata((Ssh_conflict)plug,(uchar *)data,len); if (*(int *)(plug + 0x3a) == 4...
void FUN_0014436b(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4) { FUN_00143cff(param_1,param_3,param_4); if (*(int *)(param_1 + 0x1d0) == 4) { FUN_00143e9c(param_1,1); } return; }
(translation_unit "void FUN_0014436b(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n FUN_00143cff(param_1,param_3,param_4);\n if (*(int *)(param_1 + 0x1d0) == 4) {\n FUN_00143e9c(param_1,1);\n }\n return;\n}\n\n" (function_definition "void FUN_0014436b(long param_1,undefined8 param_...
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 dword ptr [RBP + -0x20],ECX MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV EDX,dword ptr [RBP + -0x20] MOV RCX,qword ptr [RBP + -0x28] MOV RAX,qword ptr [RBP + -0x8] ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 var_2,int urgent,char *data,int len) { char *data_local; int len_local; int urgent_local; type_1 plug_local; type_2 ssh; var_1((type_2)var_2,(type_3 *)data,len); if (*(int *)(var_2 + 0x3a) == 4) { var...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_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 Ssh_conflict ssh;\n \n ssh_gotdata((Ssh_conflict)plug,(uchar *)data,len);\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2,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 type_2 ssh;\n \n var_1((type_2)var_2,(type_3 *)data,len);\n if (*(int *)...
(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...
1220_putty_and_putty_strip.c
crc32_compute
FUN_0016ede4
crc32_compute
ulong crc32_compute(void *buf,size_t len) { ulong uVar1; size_t len_local; void *buf_local; uVar1 = crc32_update(0,buf,len); return uVar1; }
void FUN_0016ede4(undefined8 param_1,undefined8 param_2) { FUN_0016ed69(0,param_1,param_2); return; }
(translation_unit "void FUN_0016ede4(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016ed69(0,param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_0016ede4(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016ed69(0,param_1,param_2);\n return;\n}" primitive_type (function_declarator "FUN_0016ede4...
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 RSI,RAX MOV EDI,0x0 CALL 0x0016ed69 LEAVE RET
type_1 function_1(void *buf,size_t len) { type_1 uVar1; size_t len_local; void *buf_local; uVar1 = var_1(0,buf,len); return uVar1; }
(translation_unit "ulong crc32_compute(void *buf,size_t len)\n\n{\n ulong uVar1;\n size_t len_local;\n void *buf_local;\n \n uVar1 = crc32_update(0,buf,len);\n return uVar1;\n}\n\n" (function_definition "ulong crc32_compute(void *buf,size_t len)\n\n{\n ulong uVar1;\n size_t len_local;\n void *buf_local;\n \n ...
(translation_unit "type_1 function_1(void *buf,size_t len)\n\n{\n type_1 uVar1;\n size_t len_local;\n void *buf_local;\n \n uVar1 = var_1(0,buf,len);\n return uVar1;\n}\n\n" (function_definition "type_1 function_1(void *buf,size_t len)\n\n{\n type_1 uVar1;\n size_t len_local;\n void *buf_local;\n \n uVar1 = ...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif...
988_putty_and_putty_strip.c
ssh1_msg_channel_data
FUN_0014b18c
ssh1_msg_channel_data
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh1_msg_channel_data(Ssh_conflict ssh,Packet *pktin) { long in_FS_OFFSET; Packet *pktin_local; Ssh_conflict ssh_local; int len; int bufsize; char *p; ssh_channel *c; long local_10; local_10 = *(long *)(in_FS_OFFSET + ...
void FUN_0014b18c(undefined8 param_1,undefined8 param_2) { long in_FS_OFFSET; undefined4 local_28; int local_24; undefined8 local_20; long local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_18 = FUN_0015236c(param_1,param_2); FUN_00141d1a(param_2,&local_20,&local_28); if ...
(translation_unit "void FUN_0014b18c(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_28;\n int local_24;\n undefined8 local_20;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = FUN_0015236c(param_1,param_2);\n FUN_00141d1a(param...
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 RDX,qword ptr [RBP + -0x30] MOV RAX,qword ptr [RBP + -0x28] MOV RSI,RDX MOV RDI,RAX CALL 0x0015236c MOV qword ptr [RBP + -0x10],RAX LEA RDX,[RBP + ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { long var_1; type_2 *pktin_local; type_1 ssh_local; int len; int var_6; char *p; type_3 *var_4; long var_8; var_8 = *(long *)(var_1 + 0x28); var_4 = var_2(ssh,pktin); var_3(pkt...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_msg_channel_data(Ssh_conflict ssh,Packet *pktin)\n\n{\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int len;\n int bufsize;\n char *p;\n ssh_channel *c;\n long local_10;\n \n loca...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int len;\n int var_6;\n char *p;\n type_3 *var_4;\n long var_8;\n \n var_8 = *(long *)(var_1 + 0x28);\n var_...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator...
1204_putty_and_putty_strip.c
poly_bytes
FUN_0016e778
poly_bytes
void poly_bytes(void *handle,uchar *blk,int len) { int len_local; uchar *blk_local; void *handle_local; ccp_context *ctx; blk_local = blk; for (len_local = len; (*(int *)((long)handle + 0x108) < 4 && (len_local != 0)); len_local = len_local + -1) { *(uchar *)((long)handle + (long)(7 - *(int *...
void FUN_0016e778(long param_1,undefined *param_2,int param_3) { int local_2c; undefined *local_28; local_28 = param_2; for (local_2c = param_3; (*(int *)(param_1 + 0x108) < 4 && (local_2c != 0)); local_2c = local_2c + -1) { *(undefined *)(param_1 + 0x10c + (long)(7 - *(int *)(param_1 + 0x108))) ...
(translation_unit "void FUN_0016e778(long param_1,undefined *param_2,int param_3)\n\n{\n int local_2c;\n undefined *local_28;\n \n local_28 = param_2;\n for (local_2c = param_3; (*(int *)(param_1 + 0x108) < 4 && (local_2c != 0));\n local_2c = local_2c + -1) {\n *(undefined *)(param_1 + 0x10c + (long)(7 - *...
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 JMP 0x0016e7e0 MOV RAX,qword ptr [RBP + -0x20] LEA RDX,[RAX + 0x1] MOV qword ptr [RBP + -0x20],RDX MOV RDX,qword ptr [RBP + -0x...
void function_1(void *handle,type_1 *blk,int len) { int var_1; type_1 *var_2; void *handle_local; type_2 *ctx; var_2 = blk; for (var_1 = len; (*(int *)((long)handle + 0x108) < 4 && (var_1 != 0)); var_1 = var_1 + -1) { *(type_1 *)((long)handle + (long)(7 - *(int *)((long)handle + 0x108)) + 0x1...
(translation_unit "void poly_bytes(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n ccp_context *ctx;\n \n blk_local = blk;\n for (len_local = len; (*(int *)((long)handle + 0x108) < 4 && (len_local != 0));\n len_local = len_local + -1) {\n *(uchar *)((lon...
(translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int var_1;\n type_1 *var_2;\n void *handle_local;\n type_2 *ctx;\n \n var_2 = blk;\n for (var_1 = len; (*(int *)((long)handle + 0x108) < 4 && (var_1 != 0));\n var_1 = var_1 + -1) {\n *(type_1 *)((long)handle + (long)(7 - *(int *)...
(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...
1869_putty_and_putty_strip.c
askappend
FUN_001baebc
askappend
/* WARNING: Variable defined which should be unmapped: ctx_local */ /* WARNING: Variable defined which should be unmapped: callback_local */ /* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int askappend(void *frontend,Filename *filename,_func_void_void_ptr_int *callback,void *ctx) { int iV...
undefined4 FUN_001baebc(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4) { undefined4 uVar1; undefined8 uVar2; undefined8 uVar3; undefined8 uVar4; uVar2 = FUN_0012d477("The session log file \"%.*s\" already exists. You can overwrite it with a new session log, append your sess...
(translation_unit "undefined4\nFUN_001baebc(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4)\n\n{\n undefined4 uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n \n uVar2 = FUN_0012d477("The session log file \"%.*s\" already exists. You can overwrite it with a new se...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x48 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV qword ptr [RBP + -0x48],RDX MOV qword ptr [RBP + -0x50],RCX MOV RAX,qword ptr [RBP + -0x40] MOV RAX,qword ptr [RAX] MOV RDX,RAX MOV ESI,0x1000 LEA RDI,[0x214b20] MOV EAX,0x0 CALL 0x0012d477 MOV qword ptr [RBP ...
/* WARNING: Variable defined which should be unmapped: ctx_local */ /* WARNING: Variable defined which should be unmapped: callback_local */ /* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(void *frontend,type_1 *filename,type_2 *callback,void *ctx) { int iVar1; char *msg; ...
(translation_unit "/* WARNING: Variable defined which should be unmapped: ctx_local */\n/* WARNING: Variable defined which should be unmapped: callback_local */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint askappend(void *frontend,Filename *filename,_func_void_void_ptr_int *callback,...
(translation_unit "/* WARNING: Variable defined which should be unmapped: ctx_local */\n/* WARNING: Variable defined which should be unmapped: callback_local */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *frontend,type_1 *filename,type_2 *callback,void *ctx)\n\n{\n ...
(translation_unit (comment) (comment) (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_id...
1191_putty_and_putty_strip.c
bigval_export_le
FUN_0016d1e7
bigval_export_le
void bigval_export_le(bigval *r,void *vdata,int len) { int iVar1; int len_local; void *vdata_local; bigval *r_local; int i; uchar *data; for (i = 0; i < len; i = i + 1) { iVar1 = i; if (i < 0) { iVar1 = i + 7; } *(char *)((long)vdata + (long)i) = (char)(r->w[iVar1 >> 3] >> ((byt...
void FUN_0016d1e7(long param_1,long param_2,int param_3) { int iVar1; undefined4 local_14; for (local_14 = 0; local_14 < param_3; local_14 = local_14 + 1) { iVar1 = local_14; if (local_14 < 0) { iVar1 = local_14 + 7; } *(char *)(param_2 + local_14) = (char)(*(ulong *)(param_1 +...
(translation_unit "void FUN_0016d1e7(long param_1,long param_2,int param_3)\n\n{\n int iVar1;\n undefined4 local_14;\n \n for (local_14 = 0; local_14 < param_3; local_14 = local_14 + 1) {\n iVar1 = local_14;\n if (local_14 < 0) {\n iVar1 = local_14 + 7;\n }\n *(char *)(param_2 + local_14) =\n ...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV dword ptr [RBP + -0x24],EDX MOV RAX,qword ptr [RBP + -0x20] MOV qword ptr [RBP + -0x8],RAX MOV dword ptr [RBP + -0xc],0x0 JMP 0x0016d250 MOV EAX,dword ptr [RBP + -0xc] LEA EDX,[RAX + 0x7] TEST EAX,EAX CMOVS EAX,EDX SAR EAX,0x3 MOV ...
void function_1(type_1 *r,void *vdata,int var_2) { int var_3; int len_local; void *vdata_local; type_1 *r_local; int var_1; type_2 *data; for (var_1 = 0; var_1 < var_2; var_1 = var_1 + 1) { var_3 = var_1; if (var_1 < 0) { var_3 = var_1 + 7; } *(char *)((long)vdata + (long)var_1)...
(translation_unit "void bigval_export_le(bigval *r,void *vdata,int len)\n\n{\n int iVar1;\n int len_local;\n void *vdata_local;\n bigval *r_local;\n int i;\n uchar *data;\n \n for (i = 0; i < len; i = i + 1) {\n iVar1 = i;\n if (i < 0) {\n iVar1 = i + 7;\n }\n *(char *)((long)vdata + (long)i) =...
(translation_unit "void function_1(type_1 *r,void *vdata,int var_2)\n\n{\n int var_3;\n int len_local;\n void *vdata_local;\n type_1 *r_local;\n int var_1;\n type_2 *data;\n \n for (var_1 = 0; var_1 < var_2; var_1 = var_1 + 1) {\n var_3 = var_1;\n if (var_1 < 0) {\n var_3 = var_1 + 7;\n }\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: (primitive_type) declarator: (pointer...
1169_putty_and_putty_strip.c
bignum_rshift
FUN_0016b04b
bignum_rshift
Bignum_conflict bignum_rshift(Bignum_conflict a,int shift) { byte bVar1; int iVar2; int iVar3; Bignum_conflict pBVar4; BignumInt BVar5; int shift_local; Bignum_conflict a_local; int i; int bits; int shiftw; int shiftb; int shiftbb; BignumInt ai1; Bignum_conflict ret; BignumInt ai; i...
undefined8 * FUN_0016b04b(undefined8 *param_1,int param_2) { byte bVar1; int iVar2; int iVar3; undefined8 *puVar4; ulong uVar5; int local_34; ulong local_20; if (param_2 < 0) { /* WARNING: Subroutine does not return */ __assert_fail("shift >= 0","sshbn.c",0x67e,"bignum_rshif...
(translation_unit "undefined8 * FUN_0016b04b(undefined8 *param_1,int param_2)\n\n{\n byte bVar1;\n int iVar2;\n int iVar3;\n undefined8 *puVar4;\n ulong uVar5;\n int local_34;\n ulong local_20;\n \n if (param_2 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("shift >= 0...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x38],RDI MOV dword ptr [RBP + -0x3c],ESI CMP dword ptr [RBP + -0x3c],0x0 JNS 0x0016b07f LEA RCX,[0x20db38] MOV EDX,0x67e LEA RSI,[0x20d920] LEA RDI,[0x20da16] CALL 0x00114a00 MOV RAX,qword ptr [RBP + -0x38] MOV RDI,RAX CALL 0x0016aba4 SUB EAX,dword ptr [RBP + -0x...
type_1 function_1(type_1 a,int var_1) { type_2 var_10; int var_4; int var_5; type_1 var_7; type_3 var_9; int shift_local; type_1 a_local; int var_8; int bits; int shiftw; int shiftb; int shiftbb; type_3 var_11; type_1 ret; type_3 ai; if (var_1 < 0) { /* WARNING: ...
(translation_unit "Bignum_conflict bignum_rshift(Bignum_conflict a,int shift)\n\n{\n byte bVar1;\n int iVar2;\n int iVar3;\n Bignum_conflict pBVar4;\n BignumInt BVar5;\n int shift_local;\n Bignum_conflict a_local;\n int i;\n int bits;\n int shiftw;\n int shiftb;\n int shiftbb;\n BignumInt ai1;\n Bignum_co...
(translation_unit "type_1 function_1(type_1 a,int var_1)\n\n{\n type_2 var_10;\n int var_4;\n int var_5;\n type_1 var_7;\n type_3 var_9;\n int shift_local;\n type_1 a_local;\n int var_8;\n int bits;\n int shiftw;\n int shiftb;\n int shiftbb;\n type_3 var_11;\n type_1 ret;\n type_3 ai;\n \n if (var_1 < ...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statemen...
1819_putty_and_putty_strip.c
dlg_coloursel_start
FUN_001b47d1
dlg_coloursel_start
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ void dlg_coloursel_start(control *ctrl,void *dlg,int r,int g,int b) { long lVar1; uctrl *puVar2; undefined8 uVar3; undefined8 uVar4; long in_FS_OFFSET; int b_local; int g_local; int r_local; void *dlg_local; cont...
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ void FUN_001b47d1(undefined8 param_1,long param_2,int param_3,int param_4,int param_5) { undefined8 uVar1; undefined8 uVar2; undefined8 uVar3; long in_FS_OFFSET; double local_38; double local_30; double local_28; und...
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_001b47d1(undefined8 param_1,long param_2,int param_3,int param_4,int param_5)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n double local_38;\n double local_...
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 dword ptr [RBP + -0x68],ECX MOV dword ptr [RBP + -0x6c],R8D MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x60] MOV qword ptr [RBP + -0...
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */ void function_1(type_1 *ctrl,void *dlg,int r,int g,int b) { long var_14; type_2 *puVar2; type_3 uVar3; type_3 uVar4; long var_1; int b_local; int g_local; int r_local; void *dlg_local; type_1 *ctrl_local; type_...
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid dlg_coloursel_start(control *ctrl,void *dlg,int r,int g,int b)\n\n{\n long lVar1;\n uctrl *puVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n int b_local;\n int g_local;\n int r_lo...
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid function_1(type_1 *ctrl,void *dlg,int r,int g,int b)\n\n{\n long var_14;\n type_2 *puVar2;\n type_3 uVar3;\n type_3 uVar4;\n long var_1;\n int b_local;\n int g_local;\n int r_local;\n void *dlg_local...
(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...
1496_putty_and_putty_strip.c
SHA_Simple
FUN_0018e6b4
SHA_Simple
void SHA_Simple(void *p,int len,uchar *output) { long lVar1; long in_FS_OFFSET; uchar *output_local; int len_local; void *p_local; SHA_State s; lVar1 = *(long *)(in_FS_OFFSET + 0x28); SHA_Init((SHA_CTX *)&s); SHA_Bytes(&s,p,len); SHA_Final(&s,output); smemclr(&s,0x60); if (lVar1 != *(long *...
void FUN_0018e6b4(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); FUN_0018e280(local_78); FUN_0018e2bf(local_78,param_1,param_2); FUN_0018e4df(local_78,param_3); FUN_0012e30b(local_78,...
(translation_unit "void FUN_0018e6b4(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 FUN_0018e280(local_78);\n FUN_0018e2bf(local_78,param_1,param_2);\n FUN_0018e4df(local_78,param_...
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 0x0018e280 MOV EDX,dword ptr [RBP + -0x7c] MOV RCX,qword ptr [RBP + -0x78] LEA R...
void function_1(void *p,int len,type_1 *output) { long var_6; long var_1; type_1 *output_local; int len_local; void *p_local; type_2 s; var_6 = *(long *)(var_1 + 0x28); var_2((type_3 *)&s); var_3(&s,p,len); var_4(&s,output); var_5(&s,0x60); if (var_6 != *(long *)(var_1 + 0x28)) { ...
(translation_unit "void SHA_Simple(void *p,int len,uchar *output)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *output_local;\n int len_local;\n void *p_local;\n SHA_State s;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n SHA_Init((SHA_CTX *)&s);\n SHA_Bytes(&s,p,len);\n SHA_Final(&s,output);\n smemclr(&...
(translation_unit "void function_1(void *p,int len,type_1 *output)\n\n{\n long var_6;\n long var_1;\n type_1 *output_local;\n int len_local;\n void *p_local;\n type_2 s;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2((type_3 *)&s);\n var_3(&s,p,len);\n var_4(&s,output);\n var_5(&s,0x60);\n if (var_6 != *(lo...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi...
1331_putty_and_putty_strip.c
ecdsa_fmtkey
FUN_0017a3e9
ecdsa_fmtkey
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ char * ecdsa_fmtkey(void *key) { char cVar1; int iVar2; int iVar3; int iVar4; char *__s; size_t sVar5; void *key_local; int len; int i; int pos; int nibbles; ec_key *ec; char *p; if (((*(long *)((long)key + 0x10) ...
char * FUN_0017a3e9(long param_1) { char cVar1; int iVar2; int iVar3; int iVar4; char *__s; size_t sVar5; int local_28; int local_24; int local_20; int local_1c; if (((*(long *)(param_1 + 0x10) == 0) || (*(long *)(param_1 + 0x18) == 0)) || (*(long *)(param_1 + 8) == 0)) { __s = (char...
(translation_unit "char * FUN_0017a3e9(long param_1)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n char *__s;\n size_t sVar5;\n int local_28;\n int local_24;\n int local_20;\n int local_1c;\n \n if (((*(long *)(param_1 + 0x10) == 0) || (*(long *)(param_1 + 0x18) == 0)) ||\n (*(long *)(para...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX + 0x10] TEST RAX,RAX JZ 0x0017a424 MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX + 0x18] TEST RAX,RAX JZ 0x0017a424 MOV RAX,qw...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ char * function_1(void *key) { char var_14; int var_3; int var_7; int var_4; char *var_9; size_t sVar5; void *key_local; int var_6; int var_12; int var_10; int var_11; type_1 *ec; char *p; if (((*(long *)((long)ke...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * ecdsa_fmtkey(void *key)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n char *__s;\n size_t sVar5;\n void *key_local;\n int len;\n int i;\n int pos;\n int nibbles;\n ec_key *ec;\n char *p;\n \...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(void *key)\n\n{\n char var_14;\n int var_3;\n int var_7;\n int var_4;\n char *var_9;\n size_t sVar5;\n void *key_local;\n int var_6;\n int var_12;\n int var_10;\n int var_11;\n type_1 *ec;\n cha...
(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)))))) body: (compound_statem...
1732_putty_and_putty_strip.c
findpos234
FUN_001ae6bd
findpos234
void * findpos234(tree234 *t,void *e,cmpfn234 cmp,int *index) { void *pvVar1; int *index_local; cmpfn234 cmp_local; void *e_local; tree234 *t_local; pvVar1 = findrelpos234(t,e,cmp,0,index); return pvVar1; }
void FUN_001ae6bd(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4) { FUN_001ae420(param_1,param_2,param_3,0,param_4); return; }
(translation_unit "void FUN_001ae6bd(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n FUN_001ae420(param_1,param_2,param_3,0,param_4);\n return;\n}\n\n" (function_definition "void FUN_001ae6bd(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n FUN_0...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV qword ptr [RBP + -0x20],RCX MOV RCX,qword ptr [RBP + -0x20] MOV RDX,qword ptr [RBP + -0x18] MOV RSI,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RBP + -0x8] MOV R8,RCX MOV ECX,0x0 MOV RDI,R...
void * function_1(type_1 *t,void *e,type_2 cmp,int *index) { void *pvVar1; int *index_local; type_2 cmp_local; void *e_local; type_1 *t_local; pvVar1 = var_1(t,e,cmp,0,index); return pvVar1; }
(translation_unit "void * findpos234(tree234 *t,void *e,cmpfn234 cmp,int *index)\n\n{\n void *pvVar1;\n int *index_local;\n cmpfn234 cmp_local;\n void *e_local;\n tree234 *t_local;\n \n pvVar1 = findrelpos234(t,e,cmp,0,index);\n return pvVar1;\n}\n\n" (function_definition "void * findpos234(tree234 *t,void *e,c...
(translation_unit "void * function_1(type_1 *t,void *e,type_2 cmp,int *index)\n\n{\n void *pvVar1;\n int *index_local;\n type_2 cmp_local;\n void *e_local;\n type_1 *t_local;\n \n pvVar1 = var_1(t,e,cmp,0,index);\n return pvVar1;\n}\n\n" (function_definition "void * function_1(type_1 *t,void *e,type_2 cmp,int *...
(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...
1465_putty_and_putty_strip.c
sha256_key_internal
FUN_00188b98
sha256_key_internal
void sha256_key_internal(void *handle,uchar *key,int len) { long lVar1; long in_FS_OFFSET; int len_local; uchar *key_local; void *handle_local; int i; SHA256_State *keys; uchar foo [64]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); memset(foo,0x36,0x40); for (i = 0; (i < len && (i < 0x40)); i = i ...
void FUN_00188b98(long param_1,long param_2,int param_3) { long in_FS_OFFSET; int local_64; byte local_58 [72]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); memset(local_58,0x36,0x40); for (local_64 = 0; (local_64 < param_3 && (local_64 < 0x40)); local_64 = local_64 + 1) { local_58[l...
(translation_unit "void FUN_00188b98(long param_1,long param_2,int param_3)\n\n{\n long in_FS_OFFSET;\n int local_64;\n byte local_58 [72];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n memset(local_58,0x36,0x40);\n for (local_64 = 0; (local_64 < param_3 && (local_64 < 0x40)); local_64 = lo...
PUSH RBP MOV RBP,RSP ADD RSP,-0x80 MOV qword ptr [RBP + -0x68],RDI MOV qword ptr [RBP + -0x70],RSI MOV dword ptr [RBP + -0x74],EDX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x68] MOV qword ptr [RBP + -0x58],RAX LEA RAX,[RBP + -0x50] MOV EDX,0x40 MOV ESI,0x36 MOV RD...
void function_1(void *handle,type_1 *key,int var_4) { long var_8; long var_1; int len_local; type_1 *key_local; void *handle_local; int var_3; type_2 *keys; type_1 foo [64]; var_8 = *(long *)(var_1 + 0x28); var_2(foo,0x36,0x40); for (var_3 = 0; (var_3 < var_4 && (var_3 < 0x40)); var_3 = var_3...
(translation_unit "void sha256_key_internal(void *handle,uchar *key,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n uchar *key_local;\n void *handle_local;\n int i;\n SHA256_State *keys;\n uchar foo [64];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n memset(foo,0x36,0x40);\n for (i = 0;...
(translation_unit "void function_1(void *handle,type_1 *key,int var_4)\n\n{\n long var_8;\n long var_1;\n int len_local;\n type_1 *key_local;\n void *handle_local;\n int var_3;\n type_2 *keys;\n type_1 foo [64];\n \n var_8 = *(long *)(var_1 + 0x28);\n var_2(foo,0x36,0x40);\n for (var_3 = 0; (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...
1774_putty_and_putty_strip.c
uxsel_input_remove
FUN_001b2810
uxsel_input_remove
/* WARNING: Enum "GIOFlags": Some values do not have unique names */ void uxsel_input_remove(uxsel_id *id) { uxsel_id *id_local; g_source_remove(id->watch_id); g_io_channel_unref(id->chan); safefree(id); return; }
void FUN_001b2810(undefined8 *param_1) { g_source_remove(*(undefined4 *)(param_1 + 1)); g_io_channel_unref(*param_1); FUN_0012e243(param_1); return; }
(translation_unit "void FUN_001b2810(undefined8 *param_1)\n\n{\n g_source_remove(*(undefined4 *)(param_1 + 1));\n g_io_channel_unref(*param_1);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_001b2810(undefined8 *param_1)\n\n{\n g_source_remove(*(undefined4 *)(param_1 + 1));\n g_io_chann...
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 + 0x8] MOV EDI,EAX CALL 0x00116060 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX] MOV RDI,RAX CALL 0x001160b0 MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0012e243 NOP LEAVE RET
/* WARNING: Enum "GIOFlags": Some values do not have unique names */ void function_1(type_1 *id) { type_1 *id_local; var_1(id->watch_id); var_2(id->chan); var_3(id); return; }
(translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid uxsel_input_remove(uxsel_id *id)\n\n{\n uxsel_id *id_local;\n \n g_source_remove(id->watch_id);\n g_io_channel_unref(id->chan);\n safefree(id);\n return;\n}\n\n" comment (function_definition "void uxsel_input_remove(ux...
(translation_unit "/* WARNING: Enum "GIOFlags": Some values do not have unique names */\n\nvoid function_1(type_1 *id)\n\n{\n type_1 *id_local;\n \n var_1(id->watch_id);\n var_2(id->chan);\n var_3(id);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 *id)\n\n{\n type_1 *id_local;\n \n var...
(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...
1153_putty_and_putty_strip.c
modsub
FUN_0016a185
modsub
Bignum_conflict modsub(Bignum_conflict a,Bignum_conflict b,Bignum_conflict n) { int iVar1; Bignum_conflict a_00; Bignum_conflict n_local; Bignum_conflict b_local; Bignum_conflict a_local; Bignum_conflict a1; Bignum_conflict b1; Bignum_conflict ret; Bignum_conflict tmp; iVar1 = bignum_cmp(a,n); ...
undefined8 FUN_0016a185(long param_1,long param_2,undefined8 param_3) { int iVar1; long lVar2; long local_28; long local_20; undefined8 local_18; iVar1 = FUN_0016aebd(param_1,param_3); local_28 = param_1; if (-1 < iVar1) { local_28 = FUN_0016be83(param_1,param_3); } iVar1 = FUN_0016aebd(par...
(translation_unit "undefined8 FUN_0016a185(long param_1,long param_2,undefined8 param_3)\n\n{\n int iVar1;\n long lVar2;\n long local_28;\n long local_20;\n undefined8 local_18;\n \n iVar1 = FUN_0016aebd(param_1,param_3);\n local_28 = param_1;\n if (-1 < iVar1) {\n local_28 = FUN_0016be83(param_1,param_3);\...
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 RDX,qword ptr [RBP + -0x38] MOV RAX,qword ptr [RBP + -0x28] MOV RSI,RDX MOV RDI,RAX CALL 0x0016aebd TEST EAX,EAX JS 0x0016a1c9 MOV RDX,qword ptr [RBP + -0x38] MOV RAX,qword ptr [RBP + -0...
type_1 function_1(type_1 var_9,type_1 var_11,type_1 n) { int var_2; type_1 var_5; type_1 n_local; type_1 b_local; type_1 a_local; type_1 var_10; type_1 var_12; type_1 ret; type_1 tmp; var_2 = var_1(var_9,n); var_10 = var_9; if (-1 < var_2) { var_10 = var_3(var_9,n); } var_2 = var_1(...
(translation_unit "Bignum_conflict modsub(Bignum_conflict a,Bignum_conflict b,Bignum_conflict n)\n\n{\n int iVar1;\n Bignum_conflict a_00;\n Bignum_conflict n_local;\n Bignum_conflict b_local;\n Bignum_conflict a_local;\n Bignum_conflict a1;\n Bignum_conflict b1;\n Bignum_conflict ret;\n Bignum_conflict tmp;\n...
(translation_unit "type_1 function_1(type_1 var_9,type_1 var_11,type_1 n)\n\n{\n int var_2;\n type_1 var_5;\n type_1 n_local;\n type_1 b_local;\n type_1 a_local;\n type_1 var_10;\n type_1 var_12;\n type_1 ret;\n type_1 tmp;\n \n var_2 = var_1(var_9,n);\n var_10 = var_9;\n if (-1 < var_2) {\n var_10 = va...
(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)) (parameter_declaration ty...
1473_putty_and_putty_strip.c
sha256_verify
FUN_0018911c
sha256_verify
int sha256_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 [32]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); sha256_do_hmac(handle,blk,len,seq,correct); iVar2 = smemeq...
void FUN_0018911c(undefined8 param_1,long param_2,int param_3,undefined8 param_4) { long in_FS_OFFSET; undefined local_38 [40]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_00188fc4(param_1,param_2,param_3,param_4,local_38); FUN_0012e6a8(local_38,param_3 + param_2,0x20); if (local_10...
(translation_unit "void FUN_0018911c(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_38 [40];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00188fc4(param_1,param_2,param_3,param_4,local_38);\n FUN_0012e6a8(local_38,param_3 + pa...
PUSH RBP MOV RBP,RSP SUB RSP,0x50 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV dword ptr [RBP + -0x44],EDX MOV qword ptr [RBP + -0x50],RCX MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RDI,[RBP + -0x30] MOV RCX,qword ptr [RBP + -0x50] MOV EDX,dword ptr [RBP + -0x44] 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 [32]; var_6 = *(long *)(var_1 + 0x28); var_2(handle,var_4,var_5,seq,correct); iVar2 = var_3(correct,var_4...
(translation_unit "int sha256_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 [32];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n sha256_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 [32];\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...
915_putty_and_putty_strip.c
ssh2_mpint_fmt
FUN_00140b8a
ssh2_mpint_fmt
uchar * ssh2_mpint_fmt(Bignum b,int *len) { int iVar1; int iVar2; uchar *__dest; int *len_local; Bignum b_local; int i; int n; uchar *p; iVar1 = bignum_bitcount((Bignum_conflict)b); iVar2 = iVar1 + 7; if (iVar1 + 7 < 0) { iVar2 = iVar1 + 0xe; } iVar2 = iVar2 >> 3; __dest = (uchar *)...
undefined * FUN_00140b8a(undefined8 param_1,int *param_2) { undefined uVar1; int iVar2; int iVar3; undefined *__dest; int local_18; iVar2 = FUN_0016aba4(param_1); iVar3 = iVar2 + 7; if (iVar2 + 7 < 0) { iVar3 = iVar2 + 0xe; } iVar3 = iVar3 >> 3; __dest = (undefined *)FUN_0012e037((long)(i...
(translation_unit "undefined * FUN_00140b8a(undefined8 param_1,int *param_2)\n\n{\n undefined uVar1;\n int iVar2;\n int iVar3;\n undefined *__dest;\n int local_18;\n \n iVar2 = FUN_0016aba4(param_1);\n iVar3 = iVar2 + 7;\n if (iVar2 + 7 < 0) {\n iVar3 = iVar2 + 0xe;\n }\n iVar3 = iVar3 >> 3;\n __dest = (...
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 RDI,RAX CALL 0x0016aba4 ADD EAX,0x7 LEA EDX,[RAX + 0x7] TEST EAX,EAX CMOVS EAX,EDX SAR EAX,0x3 MOV dword ptr [RBP + -0xc],EAX MOV EAX,dword ptr [RBP + -0xc] ADD EAX,0x1 CDQE MOV ESI,0x1 ...
type_1 * function_1(type_2 b,int *len) { int var_2; int var_3; type_1 *var_8; int *len_local; type_2 b_local; int var_5; int n; type_1 *p; var_2 = var_1((type_3)b); var_3 = var_2 + 7; if (var_2 + 7 < 0) { var_3 = var_2 + 0xe; } var_3 = var_3 >> 3; var_8 = (type_1 *)var_4((long)(var_...
(translation_unit "uchar * ssh2_mpint_fmt(Bignum b,int *len)\n\n{\n int iVar1;\n int iVar2;\n uchar *__dest;\n int *len_local;\n Bignum b_local;\n int i;\n int n;\n uchar *p;\n \n iVar1 = bignum_bitcount((Bignum_conflict)b);\n iVar2 = iVar1 + 7;\n if (iVar1 + 7 < 0) {\n iVar2 = iVar1 + 0xe;\n }\n iVar2...
(translation_unit "type_1 * function_1(type_2 b,int *len)\n\n{\n int var_2;\n int var_3;\n type_1 *var_8;\n int *len_local;\n type_2 b_local;\n int var_5;\n int n;\n type_1 *p;\n \n var_2 = var_1((type_3)b);\n var_3 = var_2 + 7;\n if (var_2 + 7 < 0) {\n var_3 = var_2 + 0xe;\n }\n var_3 = var_3 >> 3;\n ...
(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)) (parameter_declaration type: (primitive_type) declarator: (pointer...
922_putty_and_putty_strip.c
ssh2_pkt_queue
FUN_001416c6
ssh2_pkt_queue
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh2_pkt_queue(Ssh_conflict ssh,Packet *pkt) { int iVar1; Packet **ppPVar2; Packet *pkt_local; Ssh_conflict ssh_local; if (ssh->queueing == 0) { /* WARNING: Subroutine does not return */ __assert_fail("...
void FUN_001416c6(long param_1,undefined8 param_2) { int iVar1; undefined8 uVar2; if (*(int *)(param_1 + 0x1f8) == 0) { /* WARNING: Subroutine does not return */ __assert_fail("ssh->queueing","ssh.c",0x9c1,"ssh2_pkt_queue"); } if (*(int *)(param_1 + 500) <= *(int *)(param_1 + 0x1f...
(translation_unit "void FUN_001416c6(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (*(int *)(param_1 + 0x1f8) == 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ssh->queueing","ssh.c",0x9c1,"ssh2_pkt_queue");\n }\n if (*(int *)(param_1 + 500...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x1f8] TEST EAX,EAX JNZ 0x00141703 LEA RCX,[0x209ea8] MOV EDX,0x9c1 LEA RSI,[0x2062e6] LEA RDI,[0x206552] CALL 0x00114a00 MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pkt) { int var_3; type_2 **ppPVar2; type_2 *pkt_local; type_1 ssh_local; if (ssh->queueing == 0) { /* WARNING: Subroutine does not return */ var_1("ssh->queueing","ssh.c",0...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_pkt_queue(Ssh_conflict ssh,Packet *pkt)\n\n{\n int iVar1;\n Packet **ppPVar2;\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n \n if (ssh->queueing == 0) {\n /* WARNING: Subroutine does not ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pkt)\n\n{\n int var_3;\n type_2 **ppPVar2;\n type_2 *pkt_local;\n type_1 ssh_local;\n \n if (ssh->queueing == 0) {\n /* WARNING: Subroutine does not return */\n 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: (type_identifier) declarator: (pointer_declarator declarator...
1512_putty_and_putty_strip.c
hmacsha1_verresult
FUN_0018ede2
hmacsha1_verresult
int hmacsha1_verresult(void *handle,uchar *hmac) { long lVar1; int iVar2; long in_FS_OFFSET; uchar *hmac_local; void *handle_local; uchar correct [20]; lVar1 = *(long *)(in_FS_OFFSET + 0x28); hmacsha1_genresult(handle,correct); iVar2 = smemeq(correct,hmac,0x14); if (lVar1 != *(long *)(in_FS_OFF...
void FUN_0018ede2(undefined8 param_1,undefined8 param_2) { long in_FS_OFFSET; undefined local_28 [24]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_0018eb52(param_1,local_28); FUN_0012e6a8(local_28,param_2,0x14); if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) { /...
(translation_unit "void FUN_0018ede2(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0018eb52(param_1,local_28);\n FUN_0012e6a8(local_28,param_2,0x14);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RDX,[RBP + -0x20] MOV RAX,qword ptr [RBP + -0x28] MOV RSI,RDX MOV RDI,RAX CALL 0x0018eb52 MOV RCX,qword ptr [RBP + -0x30] LEA RAX,[RBP + -0x20] MOV...
int function_1(void *handle,type_1 *hmac) { long var_4; int iVar2; long var_1; type_1 *hmac_local; void *handle_local; type_1 correct [20]; var_4 = *(long *)(var_1 + 0x28); var_2(handle,correct); iVar2 = var_3(correct,hmac,0x14); if (var_4 != *(long *)(var_1 + 0x28)) { /* WA...
(translation_unit "int hmacsha1_verresult(void *handle,uchar *hmac)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n uchar *hmac_local;\n void *handle_local;\n uchar correct [20];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n hmacsha1_genresult(handle,correct);\n iVar2 = smemeq(correct,hmac,0x14);\n i...
(translation_unit "int function_1(void *handle,type_1 *hmac)\n\n{\n long var_4;\n int iVar2;\n long var_1;\n type_1 *hmac_local;\n void *handle_local;\n type_1 correct [20];\n \n var_4 = *(long *)(var_1 + 0x28);\n var_2(handle,correct);\n iVar2 = var_3(correct,hmac,0x14);\n if (var_4 != *(long *)(var_1 + 0x2...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
902_putty_and_putty_strip.c
ssh_versioncmp
FUN_00140564
ssh_versioncmp
int ssh_versioncmp(char *a,char *b) { int iVar1; long in_FS_OFFSET; char *b_local; char *a_local; char *ae; char *be; ulong av; ulong bv; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); av = strtoul(a,&ae,10); bv = strtoul(b,&be,10); if (av == bv) { if (*ae == '.') { a...
undefined8 FUN_00140564(char *param_1,char *param_2) { undefined8 uVar1; long in_FS_OFFSET; char *local_30; char *local_28; ulong local_20; ulong local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); local_20 = strtoul(param_1,&local_30,10); local_18 = strtoul(param_2,&local_28,10...
(translation_unit "undefined8 FUN_00140564(char *param_1,char *param_2)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n char *local_30;\n char *local_28;\n ulong local_20;\n ulong local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_20 = strtoul(param_1,&local_30,10);\n local_18...
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 LEA RCX,[RBP + -0x28] MOV RAX,qword ptr [RBP + -0x38] MOV EDX,0xa MOV RSI,RCX MOV RDI,RAX CALL 0x001144c0 MOV qword ptr [RBP + -0x18],RAX LEA RCX,[RBP ...
int function_1(char *a,char *b) { int iVar1; long var_1; char *b_local; char *a_local; char *var_5; char *var_6; type_1 var_3; type_1 var_4; long var_7; var_7 = *(long *)(var_1 + 0x28); var_3 = var_2(a,&var_5,10); var_4 = var_2(b,&var_6,10); if (var_3 == var_4) { if (*var_5 == '.') { ...
(translation_unit "int ssh_versioncmp(char *a,char *b)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n char *b_local;\n char *a_local;\n char *ae;\n char *be;\n ulong av;\n ulong bv;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n av = strtoul(a,&ae,10);\n bv = strtoul(b,&be,10);\n if (av == b...
(translation_unit "int function_1(char *a,char *b)\n\n{\n int iVar1;\n long var_1;\n char *b_local;\n char *a_local;\n char *var_5;\n char *var_6;\n type_1 var_3;\n type_1 var_4;\n long var_7;\n \n var_7 = *(long *)(var_1 + 0x28);\n var_3 = var_2(a,&var_5,10);\n var_4 = var_2(b,&var_6,10);\n if (var_3 == ...
(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_...
1113_putty_and_putty_strip.c
blowfish_decrypt
FUN_00164caa
blowfish_decrypt
void blowfish_decrypt(word32 xL,word32 xR,word32 *output,BlowfishContext *ctx) { uint uVar1; uint uVar2; word32 wVar3; word32 wVar4; uint uVar5; word32 wVar6; uint uVar7; BlowfishContext *ctx_local; word32 *output_local; word32 xR_local; word32 xL_local; word32 t; word32 *S0; word32 *S1; ...
void FUN_00164caa(uint param_1,uint param_2,uint *param_3,long param_4) { uint uVar1; uint uVar2; int iVar3; int iVar4; uint uVar5; int iVar6; uint uVar7; long lVar8; long lVar9; long lVar10; lVar8 = param_4 + 0x400; lVar9 = param_4 + 0x800; lVar10 = param_4 + 0xc00; param_1 = param_1 ^...
(translation_unit "void FUN_00164caa(uint param_1,uint param_2,uint *param_3,long param_4)\n\n{\n uint uVar1;\n uint uVar2;\n int iVar3;\n int iVar4;\n uint uVar5;\n int iVar6;\n uint uVar7;\n long lVar8;\n long lVar9;\n long lVar10;\n \n lVar8 = param_4 + 0x400;\n lVar9 = param_4 + 0x800;\n lVar10 = para...
PUSH RBP MOV RBP,RSP MOV dword ptr [RBP + -0x34],EDI MOV dword ptr [RBP + -0x38],ESI MOV qword ptr [RBP + -0x40],RDX MOV qword ptr [RBP + -0x48],RCX MOV RAX,qword ptr [RBP + -0x48] MOV qword ptr [RBP + -0x28],RAX MOV RAX,qword ptr [RBP + -0x48] ADD RAX,0x400 MOV qword ptr [RBP + -0x20],RAX MOV RAX,qword ptr [RBP + -0x4...
void function_1(type_1 var_1,type_1 var_3,type_1 *output,type_2 *ctx) { type_3 var_2; type_3 var_4; type_1 var_6; type_1 var_7; type_3 var_8; type_1 var_5; type_3 var_9; type_2 *ctx_local; type_1 *output_local; type_1 xR_local; type_1 xL_local; type_1 t; type_1 *S0; type_1 *S1; type_1 *S...
(translation_unit "void blowfish_decrypt(word32 xL,word32 xR,word32 *output,BlowfishContext *ctx)\n\n{\n uint uVar1;\n uint uVar2;\n word32 wVar3;\n word32 wVar4;\n uint uVar5;\n word32 wVar6;\n uint uVar7;\n BlowfishContext *ctx_local;\n word32 *output_local;\n word32 xR_local;\n word32 xL_local;\n word32 ...
(translation_unit "void function_1(type_1 var_1,type_1 var_3,type_1 *output,type_2 *ctx)\n\n{\n type_3 var_2;\n type_3 var_4;\n type_1 var_6;\n type_1 var_7;\n type_3 var_8;\n type_1 var_5;\n type_3 var_9;\n type_2 *ctx_local;\n type_1 *output_local;\n type_1 xR_local;\n type_1 xL_local;\n type_1 t;\n type...
(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...
1715_putty_and_putty_strip.c
init_timers
FUN_001ad161
init_timers
/* WARNING: Unknown calling convention -- yet parameter storage is locked */ void init_timers(void) { if (timers == (tree234 *)0x0) { timers = newtree234(compare_timers); timer_contexts = newtree234(compare_timer_contexts); now = getticks(); } return; }
void FUN_001ad161(void) { if (DAT_00236270 == 0) { DAT_00236270 = FUN_001ad414(FUN_001ad036); DAT_00236278 = FUN_001ad414(FUN_001ad11c); DAT_00236280 = FUN_001d0057(); } return; }
(translation_unit "void FUN_001ad161(void)\n\n{\n if (DAT_00236270 == 0) {\n DAT_00236270 = FUN_001ad414(FUN_001ad036);\n DAT_00236278 = FUN_001ad414(FUN_001ad11c);\n DAT_00236280 = FUN_001d0057();\n }\n return;\n}\n\n" (function_definition "void FUN_001ad161(void)\n\n{\n if (DAT_00236270 == 0) {\n DAT_...
PUSH RBP MOV RBP,RSP MOV RAX,qword ptr [0x00236270] TEST RAX,RAX JNZ 0x001ad1a3 LEA RDI,[0x1ad036] CALL 0x001ad414 MOV qword ptr [0x00236270],RAX LEA RDI,[0x1ad11c] CALL 0x001ad414 MOV qword ptr [0x00236278],RAX CALL 0x001d0057 MOV qword ptr [0x00236280],RAX NOP POP RBP RET
/* WARNING: Unknown calling convention -- yet parameter storage is locked */ void function_1(void) { if (var_1 == (type_1 *)0x0) { var_1 = var_2(compare_timers); timer_contexts = var_2(compare_timer_contexts); now = var_3(); } return; }
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid init_timers(void)\n\n{\n if (timers == (tree234 *)0x0) {\n timers = newtree234(compare_timers);\n timer_contexts = newtree234(compare_timer_contexts);\n now = getticks();\n }\n return;\n}\n\n" comment (fu...
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n if (var_1 == (type_1 *)0x0) {\n var_1 = var_2(compare_timers);\n timer_contexts = var_2(compare_timer_contexts);\n now = var_3();\n }\n return;\n}\n\n" comment (function_definition...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier...
1188_putty_and_putty_strip.c
chacha20_decrypt
FUN_0016d0f3
chacha20_decrypt
void chacha20_decrypt(chacha20 *ctx,uchar *blk,int len) { int len_local; uchar *blk_local; chacha20 *ctx_local; chacha20_encrypt(ctx,blk,len); return; }
void FUN_0016d0f3(undefined8 param_1,undefined8 param_2,undefined4 param_3) { FUN_0016d06a(param_1,param_2,param_3); return; }
(translation_unit "void FUN_0016d0f3(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0016d06a(param_1,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_0016d0f3(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0016d06a(param_1,param_2,param_3);\n return;\n}"...
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 0x0016d06a NOP LEAVE RET
void function_1(type_1 *ctx,type_2 *blk,int len) { int len_local; type_2 *blk_local; type_1 *ctx_local; var_1(ctx,blk,len); return; }
(translation_unit "void chacha20_decrypt(chacha20 *ctx,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n chacha20 *ctx_local;\n \n chacha20_encrypt(ctx,blk,len);\n return;\n}\n\n" (function_definition "void chacha20_decrypt(chacha20 *ctx,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local...
(translation_unit "void function_1(type_1 *ctx,type_2 *blk,int len)\n\n{\n int len_local;\n type_2 *blk_local;\n type_1 *ctx_local;\n \n var_1(ctx,blk,len);\n return;\n}\n\n" (function_definition "void function_1(type_1 *ctx,type_2 *blk,int len)\n\n{\n int len_local;\n type_2 *blk_local;\n type_1 *ctx_local;\n...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
946_putty_and_putty_strip.c
ssh_gotdata
FUN_00143cff
ssh_gotdata
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_gotdata(Ssh_conflict ssh,uchar *data,int datalen) { int iVar1; int datalen_local; uchar *data_local; Ssh_conflict ssh_local; int ret; int *crLine; datalen_local = datalen; data_local = data; ssh_local = ssh; if (...
void FUN_00143cff(long param_1,undefined *param_2,int param_3) { int iVar1; int local_2c; undefined *local_28; long local_20; int local_14; undefined4 *local_10; local_2c = param_3; local_28 = param_2; local_20 = param_1; if (*(long *)(param_1 + 0x30) != 0) { FUN_00128b4b(*(undefined8 *)(pa...
(translation_unit "void FUN_00143cff(long param_1,undefined *param_2,int param_3)\n\n{\n int iVar1;\n int local_2c;\n undefined *local_28;\n long local_20;\n int local_14;\n undefined4 *local_10;\n \n local_2c = param_3;\n local_28 = param_2;\n local_20 = param_1;\n if (*(long *)(param_1 + 0x30) != 0) {\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 RAX,qword ptr [RAX + 0x30] TEST RAX,RAX JZ 0x00143d5d MOV ECX,dword ptr [RBP + -0x24] MOV RDX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x18] MOV ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *data,int datalen) { int var_2; int var_3; type_2 *var_4; type_1 ssh_local; int var_5; int *crLine; var_3 = datalen; var_4 = data; ssh_local = ssh; if (ssh->logctx != (void *)0x0) { v...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_gotdata(Ssh_conflict ssh,uchar *data,int datalen)\n\n{\n int iVar1;\n int datalen_local;\n uchar *data_local;\n Ssh_conflict ssh_local;\n int ret;\n int *crLine;\n \n datalen_local = datalen;\n data_local = ...
(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 int var_2;\n int var_3;\n type_2 *var_4;\n type_1 ssh_local;\n int var_5;\n int *crLine;\n \n var_3 = datalen;\n var_4 = data;\n ssh_local = ssh;\n if (ss...
(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...
1437_putty_and_putty_strip.c
rsa2_freekey
FUN_00186183
rsa2_freekey
void rsa2_freekey(void *key) { void *key_local; RSAKey *rsa; freersakey((RSAKey *)key); safefree(key); return; }
void FUN_00186183(undefined8 param_1) { FUN_00185dc9(param_1); FUN_0012e243(param_1); return; }
(translation_unit "void FUN_00186183(undefined8 param_1)\n\n{\n FUN_00185dc9(param_1);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_00186183(undefined8 param_1)\n\n{\n FUN_00185dc9(param_1);\n FUN_0012e243(param_1);\n return;\n}" primitive_type (function_declarator "FUN_00186183(undef...
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 RDI,RAX CALL 0x00185dc9 MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0012e243 NOP LEAVE RET
void function_1(void *key) { void *key_local; type_1 *rsa; var_1((type_1 *)key); var_2(key); return; }
(translation_unit "void rsa2_freekey(void *key)\n\n{\n void *key_local;\n RSAKey *rsa;\n \n freersakey((RSAKey *)key);\n safefree(key);\n return;\n}\n\n" (function_definition "void rsa2_freekey(void *key)\n\n{\n void *key_local;\n RSAKey *rsa;\n \n freersakey((RSAKey *)key);\n safefree(key);\n return;\n}" p...
(translation_unit "void function_1(void *key)\n\n{\n void *key_local;\n type_1 *rsa;\n \n var_1((type_1 *)key);\n var_2(key);\n return;\n}\n\n" (function_definition "void function_1(void *key)\n\n{\n void *key_local;\n type_1 *rsa;\n \n var_1((type_1 *)key);\n var_2(key);\n return;\n}" primitive_type (funct...
(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...
1101_putty_and_putty_strip.c
aes_ssh2_sdctr
FUN_00163d88
aes_ssh2_sdctr
void aes_ssh2_sdctr(void *handle,uchar *blk,int len) { int len_local; uchar *blk_local; void *handle_local; AESContext *ctx; aes_sdctr(blk,len,(AESContext *)handle); return; }
void FUN_00163d88(undefined8 param_1,undefined8 param_2,undefined4 param_3) { FUN_00163965(param_2,param_3,param_1); return; }
(translation_unit "void FUN_00163d88(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00163965(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_00163d88(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00163965(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 RDX,qword ptr [RBP + -0x8] MOV ECX,dword ptr [RBP + -0x24] 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 *ctx; var_1(blk,len,(type_2 *)handle); return; }
(translation_unit "void aes_ssh2_sdctr(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n AESContext *ctx;\n \n aes_sdctr(blk,len,(AESContext *)handle);\n return;\n}\n\n" (function_definition "void aes_ssh2_sdctr(void *handle,uchar *blk,int len)\n\n{\n int len_loc...
(translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1(blk,len,(type_2 *)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 *bl...
(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...
1499_putty_and_putty_strip.c
sha1_free
FUN_0018e802
sha1_free
void sha1_free(void *handle) { void *handle_local; SHA_State *s; smemclr(handle,0x60); safefree(handle); return; }
void FUN_0018e802(undefined8 param_1) { FUN_0012e30b(param_1,0x60); FUN_0012e243(param_1); return; }
(translation_unit "void FUN_0018e802(undefined8 param_1)\n\n{\n FUN_0012e30b(param_1,0x60);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_0018e802(undefined8 param_1)\n\n{\n FUN_0012e30b(param_1,0x60);\n FUN_0012e243(param_1);\n return;\n}" primitive_type (function_declarator "FUN_0018...
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,0x60 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,0x60); var_2(handle); return; }
(translation_unit "void sha1_free(void *handle)\n\n{\n void *handle_local;\n SHA_State *s;\n \n smemclr(handle,0x60);\n safefree(handle);\n return;\n}\n\n" (function_definition "void sha1_free(void *handle)\n\n{\n void *handle_local;\n SHA_State *s;\n \n smemclr(handle,0x60);\n safefree(handle);\n return;\n...
(translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *s;\n \n var_1(handle,0x60);\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,0x60);\n var_2(handle);\n return;\n}" primitive_t...
(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...
1587_putty_and_putty_strip.c
zlib_freetable
FUN_00196151
zlib_freetable
int zlib_freetable(zlib_table **ztab) { zlib_table *ptr; int iVar1; zlib_table **ztab_local; int code; zlib_table *tab; if (ztab == (zlib_table **)0x0) { iVar1 = -1; } else if (*ztab == (zlib_table *)0x0) { iVar1 = 0; } else { ptr = *ztab; for (code = 0; code <= ptr->mask; code ...
undefined8 FUN_00196151(long *param_1) { int *piVar1; undefined8 uVar2; int local_14; if (param_1 == (long *)0x0) { uVar2 = 0xffffffff; } else if (*param_1 == 0) { uVar2 = 0; } else { piVar1 = (int *)*param_1; for (local_14 = 0; local_14 <= *piVar1; local_14 = local_14 + 1) { ...
(translation_unit "undefined8 FUN_00196151(long *param_1)\n\n{\n int *piVar1;\n undefined8 uVar2;\n int local_14;\n \n if (param_1 == (long *)0x0) {\n uVar2 = 0xffffffff;\n }\n else if (*param_1 == 0) {\n uVar2 = 0;\n }\n else {\n piVar1 = (int *)*param_1;\n for (local_14 = 0; local_14 <= *piVar1; ...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI CMP qword ptr [RBP + -0x18],0x0 JNZ 0x0019616e MOV EAX,0xffffffff JMP 0x0019621e MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] TEST RAX,RAX JNZ 0x00196184 MOV EAX,0x0 JMP 0x0019621e MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] MOV qw...
int function_1(type_1 **var_1) { type_1 *ptr; int iVar1; type_1 **ztab_local; int var_2; type_1 *tab; if (var_1 == (type_1 **)0x0) { iVar1 = -1; } else if (*var_1 == (type_1 *)0x0) { iVar1 = 0; } else { ptr = *var_1; for (var_2 = 0; var_2 <= ptr->mask; var_2 = var_2 + 1) { ...
(translation_unit "int zlib_freetable(zlib_table **ztab)\n\n{\n zlib_table *ptr;\n int iVar1;\n zlib_table **ztab_local;\n int code;\n zlib_table *tab;\n \n if (ztab == (zlib_table **)0x0) {\n iVar1 = -1;\n }\n else if (*ztab == (zlib_table *)0x0) {\n iVar1 = 0;\n }\n else {\n ptr = *ztab;\n for ...
(translation_unit "int function_1(type_1 **var_1)\n\n{\n type_1 *ptr;\n int iVar1;\n type_1 **ztab_local;\n int var_2;\n type_1 *tab;\n \n if (var_1 == (type_1 **)0x0) {\n iVar1 = -1;\n }\n else if (*var_1 == (type_1 *)0x0) {\n iVar1 = 0;\n }\n else {\n ptr = *var_1;\n for (var_2 = 0; var_2 <= pt...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl...
1557_putty_and_putty_strip.c
share_setup_x11_channel
FUN_00191526
share_setup_x11_channel
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void share_setup_x11_channel (void *csv,void *chanv,uint upstream_id,uint server_id,uint server_currwin, uint server_maxpkt,uint client_adjusted_window,char *peer_addr,int peer_port, int endian,int pr...
void FUN_00191526(long param_1,long param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5 ,undefined4 param_6,int param_7,char *param_8,undefined4 param_9, undefined4 param_10,undefined4 param_11,undefined4 param_12,void *param_13, int param_14) { size_t...
(translation_unit "void FUN_00191526(long param_1,long param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n ,undefined4 param_6,int param_7,char *param_8,undefined4 param_9,\n undefined4 param_10,undefined4 param_11,undefined4 param_12,void *param_13,\n int ...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x78 MOV qword ptr [RBP + -0x58],RDI MOV qword ptr [RBP + -0x60],RSI MOV dword ptr [RBP + -0x64],EDX MOV dword ptr [RBP + -0x68],ECX MOV dword ptr [RBP + -0x6c],R8D MOV dword ptr [RBP + -0x70],R9D MOV RAX,qword ptr [RBP + 0x18] MOV qword ptr [RBP + -0x78],RAX MOV RAX,qword ptr [RBP...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1 (void *csv,void *chanv,type_1 upstream_id,type_1 var_13,type_1 var_14, type_1 var_15,type_1 var_9,char *peer_addr,int peer_port, int endian,int protomajor,int protominor,void *initial_...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_setup_x11_channel\n (void *csv,void *chanv,uint upstream_id,uint server_id,uint server_currwin,\n uint server_maxpkt,uint client_adjusted_window,char *peer_addr,int peer_port,\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (void *csv,void *chanv,type_1 upstream_id,type_1 var_13,type_1 var_14,\n type_1 var_15,type_1 var_9,char *peer_addr,int peer_port,\n int endian,int protomajor,int pr...
(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:...
1761_putty_and_putty_strip.c
columns_gtk3_get_minfh_width
FUN_001b1e32
columns_gtk3_get_minfh_width
gint columns_gtk3_get_minfh_width(ColumnsChild *child) { long in_FS_OFFSET; ColumnsChild *child_local; gint ret; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); gtk_widget_get_preferred_width_for_height(child->widget,child->h,&ret,0); if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) { ...
undefined4 FUN_001b1e32(undefined8 *param_1) { long in_FS_OFFSET; undefined4 local_14; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); gtk_widget_get_preferred_width_for_height (*param_1,*(undefined4 *)((long)param_1 + 0x3c),&local_14,0); if (local_10 != *(long *)(in_FS_OFFSET + 0...
(translation_unit "undefined4 FUN_001b1e32(undefined8 *param_1)\n\n{\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_width_for_height\n (*param_1,*(undefined4 *)((long)param_1 + 0x3c),&local_14,0);\n if (local_10 !...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0x18] MOV ESI,dword ptr [RAX + 0x3c] MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] LEA RDX,[RBP + -0xc] MOV ECX,0x0 MOV RDI,RAX CALL 0x00115f10 MOV...
type_1 function_1(type_2 *child) { long var_1; type_2 *child_local; type_1 ret; long var_3; var_3 = *(long *)(var_1 + 0x28); var_2(child->widget,child->h,&ret,0); if (var_3 != *(long *)(var_1 + 0x28)) { /* WARNING: Subroutine does not return */ var_4(); } return ret; }
(translation_unit "gint columns_gtk3_get_minfh_width(ColumnsChild *child)\n\n{\n long in_FS_OFFSET;\n ColumnsChild *child_local;\n gint ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_width_for_height(child->widget,child->h,&ret,0);\n if (local_10 != *(long *)(in...
(translation_unit "type_1 function_1(type_2 *child)\n\n{\n long var_1;\n type_2 *child_local;\n type_1 ret;\n long var_3;\n \n var_3 = *(long *)(var_1 + 0x28);\n var_2(child->widget,child->h,&ret,0);\n if (var_3 != *(long *)(var_1 + 0x28)) {\n /* WARNING: Subroutine does not return */\n va...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specif...
962_putty_and_putty_strip.c
ssh_agentf_callback
FUN_00144e79
ssh_agentf_callback
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_agentf_callback(void *cv,void *reply,int replylen) { int replylen_local; void *reply_local; void *cv_local; ssh_channel *c; ssh_agentf_got_response((ssh_channel *)cv,reply,replylen); safefree(reply); ssh_agentf_try_for...
void FUN_00144e79(undefined8 param_1,undefined8 param_2,undefined4 param_3) { FUN_00144bc9(param_1,param_2,param_3); FUN_0012e243(param_2); FUN_00144c4a(param_1); return; }
(translation_unit "void FUN_00144e79(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00144bc9(param_1,param_2,param_3);\n FUN_0012e243(param_2);\n FUN_00144c4a(param_1);\n return;\n}\n\n" (function_definition "void FUN_00144e79(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n F...
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 EDX,dword ptr [RBP + -0x24] MOV RCX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x8] MOV RSI,RCX MOV RDI,RAX CALL 0x0...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(void *cv,void *reply,int replylen) { int replylen_local; void *reply_local; void *cv_local; type_1 *c; var_1((type_1 *)cv,reply,replylen); var_2(reply); var_3((type_1 *)cv); return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_agentf_callback(void *cv,void *reply,int replylen)\n\n{\n int replylen_local;\n void *reply_local;\n void *cv_local;\n ssh_channel *c;\n \n ssh_agentf_got_response((ssh_channel *)cv,reply,replylen);\n safefree...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *cv,void *reply,int replylen)\n\n{\n int replylen_local;\n void *reply_local;\n void *cv_local;\n type_1 *c;\n \n var_1((type_1 *)cv,reply,replylen);\n var_2(reply);\n var_3((type_1 *)cv);\n retu...
(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:...
1438_putty_and_putty_strip.c
rsa2_fmtkey
FUN_001861b2
rsa2_fmtkey
char * rsa2_fmtkey(void *key) { int iVar1; char *str; void *key_local; int len; RSAKey *rsa; char *p; iVar1 = rsastr_len((RSAKey *)key); str = (char *)safemalloc((long)iVar1,1); rsastr_fmt(str,(RSAKey *)key); return str; }
undefined8 FUN_001861b2(undefined8 param_1) { int iVar1; undefined8 uVar2; iVar1 = FUN_0018546d(param_1); uVar2 = FUN_0012e037((long)iVar1,1); FUN_001854db(uVar2,param_1); return uVar2; }
(translation_unit "undefined8 FUN_001861b2(undefined8 param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n iVar1 = FUN_0018546d(param_1);\n uVar2 = FUN_0012e037((long)iVar1,1);\n FUN_001854db(uVar2,param_1);\n return uVar2;\n}\n\n" (function_definition "undefined8 FUN_001861b2(undefined8 param_1)\n\n{\n int iVar...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x10] MOV RDI,RAX CALL 0x0018546d MOV dword ptr [RBP + -0x14],EAX MOV EAX,dword ptr [RBP + -0x14] CDQE MOV ESI,0x1 MOV RDI,RAX CALL 0x0012e037 MOV qword ptr [RBP + ...
char * function_1(void *key) { int iVar1; char *str; void *key_local; int len; type_1 *rsa; char *p; iVar1 = var_1((type_1 *)key); str = (char *)var_2((long)iVar1,1); var_3(str,(type_1 *)key); return str; }
(translation_unit "char * rsa2_fmtkey(void *key)\n\n{\n int iVar1;\n char *str;\n void *key_local;\n int len;\n RSAKey *rsa;\n char *p;\n \n iVar1 = rsastr_len((RSAKey *)key);\n str = (char *)safemalloc((long)iVar1,1);\n rsastr_fmt(str,(RSAKey *)key);\n return str;\n}\n\n" (function_definition "char * rsa2_f...
(translation_unit "char * function_1(void *key)\n\n{\n int iVar1;\n char *str;\n void *key_local;\n int len;\n type_1 *rsa;\n char *p;\n \n iVar1 = var_1((type_1 *)key);\n str = (char *)var_2((long)iVar1,1);\n var_3(str,(type_1 *)key);\n return str;\n}\n\n" (function_definition "char * function_1(void *key)\...
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla...
999_putty_and_putty_strip.c
in_commasep_string
FUN_0014c1a1
in_commasep_string
int in_commasep_string(char *needle,char *haystack,int haylen) { int iVar1; void *pvVar2; int haylen_local; char *haystack_local; char *needle_local; char *p; if ((needle == (char *)0x0) || (haystack == (char *)0x0)) { iVar1 = 0; } else { iVar1 = first_in_commasep_string(needle,haystack,h...
undefined8 FUN_0014c1a1(long param_1,void *param_2,int param_3) { int iVar1; undefined8 uVar2; void *pvVar3; if ((param_1 == 0) || (param_2 == (void *)0x0)) { uVar2 = 0; } else { iVar1 = FUN_0014c11b(param_1,param_2,param_3); if (iVar1 == 0) { pvVar3 = memchr(param_2,0x2c,(long)param_...
(translation_unit "undefined8 FUN_0014c1a1(long param_1,void *param_2,int param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n void *pvVar3;\n \n if ((param_1 == 0) || (param_2 == (void *)0x0)) {\n uVar2 = 0;\n }\n else {\n iVar1 = FUN_0014c11b(param_1,param_2,param_3);\n if (iVar1 == 0) {\n pvVar3 = m...
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 CMP qword ptr [RBP + -0x18],0x0 JZ 0x0014c1c2 CMP qword ptr [RBP + -0x20],0x0 JNZ 0x0014c1c9 MOV EAX,0x0 JMP 0x0014c23d MOV EDX,dword ptr [RBP + -0x24] MOV RCX,qword ptr [RBP + -0x20] MOV RA...
int function_1(char *var_1,char *var_2,int var_7) { int var_4; void *var_6; int haylen_local; char *haystack_local; char *needle_local; char *p; if ((var_1 == (char *)0x0) || (var_2 == (char *)0x0)) { var_4 = 0; } else { var_4 = var_3(var_1,var_2,var_7); if (var_4 == 0) { var_6 ...
(translation_unit "int in_commasep_string(char *needle,char *haystack,int haylen)\n\n{\n int iVar1;\n void *pvVar2;\n int haylen_local;\n char *haystack_local;\n char *needle_local;\n char *p;\n \n if ((needle == (char *)0x0) || (haystack == (char *)0x0)) {\n iVar1 = 0;\n }\n else {\n iVar1 = first_in_c...
(translation_unit "int function_1(char *var_1,char *var_2,int var_7)\n\n{\n int var_4;\n void *var_6;\n int haylen_local;\n char *haystack_local;\n char *needle_local;\n char *p;\n \n if ((var_1 == (char *)0x0) || (var_2 == (char *)0x0)) {\n var_4 = 0;\n }\n else {\n var_4 = var_3(var_1,var_2,var_7);\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_...
1388_putty_and_putty_strip.c
read_body
FUN_001808c7
read_body
char * read_body(FILE *fp) { int iVar1; FILE *fp_local; int len; int size; int c; char *text; size = 0x80; text = (char *)safemalloc(0x80,1); len = 0; *text = '\0'; while( true ) { iVar1 = fgetc((FILE *)fp); if (((iVar1 == 0xd) || (iVar1 == 10)) || (iVar1 == -1)) break; if (size <...
undefined * FUN_001808c7(FILE *param_1) { int iVar1; int local_1c; int local_18; undefined *local_10; local_18 = 0x80; local_10 = (undefined *)FUN_0012e037(0x80,1); local_1c = 0; *local_10 = 0; while( true ) { iVar1 = fgetc(param_1); if (((iVar1 == 0xd) || (iVar1 == 10)) || (iVar1 == -1))...
(translation_unit "undefined * FUN_001808c7(FILE *param_1)\n\n{\n int iVar1;\n int local_1c;\n int local_18;\n undefined *local_10;\n \n local_18 = 0x80;\n local_10 = (undefined *)FUN_0012e037(0x80,1);\n local_1c = 0;\n *local_10 = 0;\n while( true ) {\n iVar1 = fgetc(param_1);\n if (((iVar1 == 0xd) || ...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV dword ptr [RBP + -0x10],0x80 MOV EAX,dword ptr [RBP + -0x10] CDQE MOV ESI,0x1 MOV RDI,RAX CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV dword ptr [RBP + -0x14],0x0 MOV EAX,dword ptr [RBP + -0x14] MOVSXD RDX,EAX MOV RAX,qword ptr [RBP + -0x8] ADD...
char * function_1(type_1 *fp) { int var_3; type_1 *fp_local; int var_5; int var_4; int c; char *text; var_4 = 0x80; text = (char *)var_1(0x80,1); var_5 = 0; *text = '\0'; while( true ) { var_3 = var_2((type_1 *)fp); if (((var_3 == 0xd) || (var_3 == 10)) || (var_3 == -1)) break; if...
(translation_unit "char * read_body(FILE *fp)\n\n{\n int iVar1;\n FILE *fp_local;\n int len;\n int size;\n int c;\n char *text;\n \n size = 0x80;\n text = (char *)safemalloc(0x80,1);\n len = 0;\n *text = '\0';\n while( true ) {\n iVar1 = fgetc((FILE *)fp);\n if (((iVar1 == 0xd) || (iVar1 == 10)) || (i...
(translation_unit "char * function_1(type_1 *fp)\n\n{\n int var_3;\n type_1 *fp_local;\n int var_5;\n int var_4;\n int c;\n char *text;\n \n var_4 = 0x80;\n text = (char *)var_1(0x80,1);\n var_5 = 0;\n *text = '\0';\n while( true ) {\n var_3 = var_2((type_1 *)fp);\n if (((var_3 == 0xd) || (var_3 == 10...
(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)))))) body: (compound_statement (decl...
1485_putty_and_putty_strip.c
sha512_copy
FUN_0018dc21
sha512_copy
void * sha512_copy(void *vold) { undefined8 *puVar1; long lVar2; undefined8 *puVar3; byte bVar4; void *vold_local; SHA512_State *old; SHA512_State *s; bVar4 = 0; puVar1 = (undefined8 *)safemalloc(1,0x118); puVar3 = puVar1; /* WARNING: Load size is inaccurate */ for (lVar2 ...
undefined8 * FUN_0018dc21(undefined8 *param_1) { undefined8 *puVar1; long lVar2; undefined8 *puVar3; byte bVar4; bVar4 = 0; puVar1 = (undefined8 *)FUN_0012e037(1,0x118); puVar3 = puVar1; for (lVar2 = 0x23; lVar2 != 0; lVar2 = lVar2 + -1) { *puVar3 = *param_1; param_1 = param_1 + (ulong)bVar...
(translation_unit "undefined8 * FUN_0018dc21(undefined8 *param_1)\n\n{\n undefined8 *puVar1;\n long lVar2;\n undefined8 *puVar3;\n byte bVar4;\n \n bVar4 = 0;\n puVar1 = (undefined8 *)FUN_0012e037(1,0x118);\n puVar3 = puVar1;\n for (lVar2 = 0x23; lVar2 != 0; lVar2 = lVar2 + -1) {\n *puVar3 = *param_1;\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x10],RAX MOV ESI,0x118 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV RDX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RBP + -0x10] MOV RSI,RAX MOV EAX,0x23 MOV RDI,RDX MOV RCX,RAX MOVSQ...
void * function_1(void *vold) { type_1 *puVar1; long var_2; type_1 *var_3; type_2 bVar4; void *vold_local; type_3 *old; type_3 *s; bVar4 = 0; puVar1 = (type_1 *)var_1(1,0x118); var_3 = puVar1; /* WARNING: Load size is inaccurate */ for (var_2 = 0x23; var_2 != 0; var_2 = va...
(translation_unit "void * sha512_copy(void *vold)\n\n{\n undefined8 *puVar1;\n long lVar2;\n undefined8 *puVar3;\n byte bVar4;\n void *vold_local;\n SHA512_State *old;\n SHA512_State *s;\n \n bVar4 = 0;\n puVar1 = (undefined8 *)safemalloc(1,0x118);\n puVar3 = puVar1;\n /* WARNING: Load siz...
(translation_unit "void * function_1(void *vold)\n\n{\n type_1 *puVar1;\n long var_2;\n type_1 *var_3;\n type_2 bVar4;\n void *vold_local;\n type_3 *old;\n type_3 *s;\n \n bVar4 = 0;\n puVar1 = (type_1 *)var_1(1,0x118);\n var_3 = puVar1;\n /* WARNING: Load size is inaccurate */\n for (var...
(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla...
1636_putty_and_putty_strip.c
makeliteral_chr
FUN_0019aa44
makeliteral_chr
void makeliteral_chr(buf *b,termchar *c,ulong *state) { ulong *state_local; termchar *c_local; buf *b_local; if ((c->chr & 0xffffffffffffff80) == *state) { add(b,(byte)c->chr & 0x7f); } else if (c->chr < 0x4000) { add(b,(byte)(c->chr >> 8) & 0x3f | 0x80); add(b,(uchar)c->chr); } else if...
void FUN_0019aa44(undefined8 param_1,ulong *param_2,ulong *param_3) { if ((*param_2 & 0xffffffffffffff80) == *param_3) { FUN_0019a51f(param_1,(uint)*param_2 & 0x7f); } else if (*param_2 < 0x4000) { FUN_0019a51f(param_1,(uint)(*param_2 >> 8) & 0x3f | 0x80); FUN_0019a51f(param_1,*param_2 & 0xff); } ...
(translation_unit "void FUN_0019aa44(undefined8 param_1,ulong *param_2,ulong *param_3)\n\n{\n if ((*param_2 & 0xffffffffffffff80) == *param_3) {\n FUN_0019a51f(param_1,(uint)*param_2 & 0x7f);\n }\n else if (*param_2 < 0x4000) {\n FUN_0019a51f(param_1,(uint)(*param_2 >> 8) & 0x3f | 0x80);\n FUN_0019a51f(para...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV qword ptr [RBP + -0x18],RDX MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX] AND RAX,-0x80 MOV RDX,RAX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX] CMP RDX,RAX JNZ 0x0019aa94 MOV RAX,qword ptr [RBP + -...
void function_1(type_1 *b,type_2 *c,type_3 *state) { type_3 *state_local; type_2 *c_local; type_1 *b_local; if ((c->chr & 0xffffffffffffff80) == *state) { var_1(b,(type_4)c->chr & 0x7f); } else if (c->chr < 0x4000) { var_1(b,(type_4)(c->chr >> 8) & 0x3f | 0x80); var_1(b,(type_5)c->chr); }...
(translation_unit "void makeliteral_chr(buf *b,termchar *c,ulong *state)\n\n{\n ulong *state_local;\n termchar *c_local;\n buf *b_local;\n \n if ((c->chr & 0xffffffffffffff80) == *state) {\n add(b,(byte)c->chr & 0x7f);\n }\n else if (c->chr < 0x4000) {\n add(b,(byte)(c->chr >> 8) & 0x3f | 0x80);\n add(b...
(translation_unit "void function_1(type_1 *b,type_2 *c,type_3 *state)\n\n{\n type_3 *state_local;\n type_2 *c_local;\n type_1 *b_local;\n \n if ((c->chr & 0xffffffffffffff80) == *state) {\n var_1(b,(type_4)c->chr & 0x7f);\n }\n else if (c->chr < 0x4000) {\n var_1(b,(type_4)(c->chr >> 8) & 0x3f | 0x80);\n ...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe...
1184_putty_and_putty_strip.c
chacha20_round
FUN_0016c6b8
chacha20_round
void chacha20_round(chacha20 *ctx) { long lVar1; uint uVar2; uint uVar3; uint uVar4; uint uVar5; uint uVar6; uint uVar7; uint uVar8; uint uVar9; uint uVar10; uint uVar11; uint uVar12; uint uVar13; uint uVar14; uint uVar15; uint uVar16; uint uVar17; uint uVar18; long in_FS_OFFSET;...
void FUN_0016c6b8(void *param_1) { uint uVar1; uint uVar2; uint uVar3; uint uVar4; uint uVar5; uint uVar6; uint uVar7; uint uVar8; uint uVar9; long in_FS_OFFSET; int local_5c; uint local_58 [18]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); memcpy(local_58,param_1,0x40); ...
(translation_unit "void FUN_0016c6b8(void *param_1)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n uint uVar5;\n uint uVar6;\n uint uVar7;\n uint uVar8;\n uint uVar9;\n long in_FS_OFFSET;\n int local_5c;\n uint local_58 [18];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28)...
PUSH RBP MOV RBP,RSP SUB RSP,0x70 MOV qword ptr [RBP + -0x68],RDI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RCX,qword ptr [RBP + -0x68] LEA RAX,[RBP + -0x50] MOV EDX,0x40 MOV RSI,RCX MOV RDI,RAX CALL 0x00114ca0 MOV dword ptr [RBP + -0x54],0x0 JMP 0x0016cadb MOV EDX,dword ptr [RBP + -0x5...
void function_1(type_1 *ctx) { long var_22; type_2 var_4; type_2 var_5; type_2 var_6; type_2 var_7; type_2 var_8; type_2 var_20; type_2 var_9; type_2 var_10; type_2 var_11; type_2 var_17; type_2 var_12; type_2 var_13; type_2 var_14; type_2 var_18; type_2 var_15; type_2 var_16; type...
(translation_unit "void chacha20_round(chacha20 *ctx)\n\n{\n long lVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n uint uVar5;\n uint uVar6;\n uint uVar7;\n uint uVar8;\n uint uVar9;\n uint uVar10;\n uint uVar11;\n uint uVar12;\n uint uVar13;\n uint uVar14;\n uint uVar15;\n uint uVar16;\n uint uVar17...
(translation_unit "void function_1(type_1 *ctx)\n\n{\n long var_22;\n type_2 var_4;\n type_2 var_5;\n type_2 var_6;\n type_2 var_7;\n type_2 var_8;\n type_2 var_20;\n type_2 var_9;\n type_2 var_10;\n type_2 var_11;\n type_2 var_17;\n type_2 var_12;\n type_2 var_13;\n type_2 var_14;\n type_2 var_18;\n ty...
(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: (sized_type_specifi...
1181_putty_and_putty_strip.c
biggcd
FUN_0016bf03
biggcd
Bignum_conflict biggcd(Bignum_conflict av,Bignum_conflict bv) { int iVar1; Bignum_conflict result; Bignum_conflict bv_local; Bignum_conflict av_local; Bignum_conflict a; Bignum_conflict b; Bignum_conflict t; a = copybn(av); b = copybn(bv); while( true ) { iVar1 = bignum_cmp(b,Zero); if ...
ulong * FUN_0016bf03(undefined8 param_1,undefined8 param_2) { int iVar1; ulong *puVar2; ulong *local_20; ulong *local_18; local_20 = (ulong *)FUN_00166d30(param_1); local_18 = (ulong *)FUN_00166d30(param_2); while( true ) { iVar1 = FUN_0016aebd(local_18,PTR_DAT_002348c0); if (iVar1 == 0) brea...
(translation_unit "ulong * FUN_0016bf03(undefined8 param_1,undefined8 param_2)\n\n{\n int iVar1;\n ulong *puVar2;\n ulong *local_20;\n ulong *local_18;\n \n local_20 = (ulong *)FUN_00166d30(param_1);\n local_18 = (ulong *)FUN_00166d30(param_2);\n while( true ) {\n iVar1 = FUN_0016aebd(local_18,PTR_DAT_002348...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr [RBP + -0x28] MOV RDI,RAX CALL 0x00166d30 MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x30] MOV RDI,RAX CALL 0x00166d30 MOV qword ptr [RBP + -0x10],RAX JMP 0x0016bfbe MOV RAX,qword ptr [RBP ...
type_1 function_1(type_1 av,type_1 bv) { int var_3; type_1 result; type_1 bv_local; type_1 av_local; type_1 a; type_1 b; type_1 t; a = var_1(av); b = var_1(bv); while( true ) { var_3 = var_2(b,Zero); if (var_3 == 0) break; result = var_4((int)*b); var_5(a,b,result,(type_1)0x0); ...
(translation_unit "Bignum_conflict biggcd(Bignum_conflict av,Bignum_conflict bv)\n\n{\n int iVar1;\n Bignum_conflict result;\n Bignum_conflict bv_local;\n Bignum_conflict av_local;\n Bignum_conflict a;\n Bignum_conflict b;\n Bignum_conflict t;\n \n a = copybn(av);\n b = copybn(bv);\n while( true ) {\n iVa...
(translation_unit "type_1 function_1(type_1 av,type_1 bv)\n\n{\n int var_3;\n type_1 result;\n type_1 bv_local;\n type_1 av_local;\n type_1 a;\n type_1 b;\n type_1 t;\n \n a = var_1(av);\n b = var_1(bv);\n while( true ) {\n var_3 = var_2(b,Zero);\n if (var_3 == 0) break;\n result = var_4((int)*b);\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...
1547_putty_and_putty_strip.c
share_begin_cleanup
FUN_00190bf4
share_begin_cleanup
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void share_begin_cleanup(ssh_sharing_connstate *cs) { ssh_sharing_connstate *cs_local; (*(*cs->sock)->close)(cs->sock); cs->sock = (Socket)0x0; share_try_cleanup(cs); return; }
void FUN_00190bf4(long param_1) { (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10)); *(undefined8 *)(param_1 + 0x10) = 0; FUN_001901c5(param_1); return; }
(translation_unit "void FUN_00190bf4(long param_1)\n\n{\n (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));\n *(undefined8 *)(param_1 + 0x10) = 0;\n FUN_001901c5(param_1);\n return;\n}\n\n" (function_definition "void FUN_00190bf4(long param_1)\n\n{\n (**(code **)(**(long **)(param_1 ...
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 + 0x10] MOV RAX,qword ptr [RAX] MOV RAX,qword ptr [RAX + 0x8] MOV RDX,qword ptr [RBP + -0x8] MOV RDX,qword ptr [RDX + 0x10] MOV RDI,RDX CALL RAX MOV RAX,qword ptr [RBP + -0x8] MOV qword ptr [RAX + 0x10...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *cs) { type_1 *cs_local; (*(*cs->sock)->close)(cs->sock); cs->sock = (type_2)0x0; var_1(cs); return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_begin_cleanup(ssh_sharing_connstate *cs)\n\n{\n ssh_sharing_connstate *cs_local;\n \n (*(*cs->sock)->close)(cs->sock);\n cs->sock = (Socket)0x0;\n share_try_cleanup(cs);\n return;\n}\n\n" comment (function_de...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs)\n\n{\n type_1 *cs_local;\n \n (*(*cs->sock)->close)(cs->sock);\n cs->sock = (type_2)0x0;\n var_1(cs);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 *cs)\n\n{\n type_...
(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...
931_putty_and_putty_strip.c
ssh_pkt_getstring
FUN_00141d1a
ssh_pkt_getstring
void ssh_pkt_getstring(Packet *pkt,char **p,int *length) { int iVar1; int *length_local; char **p_local; Packet *pkt_local; int len; *p = (char *)0x0; *length = 0; if ((3 < pkt->length - pkt->savedpos) && (iVar1 = toint((uint)pkt->body[pkt->savedpos + 3] | (uint)pkt->body[p...
void FUN_00141d1a(long *param_1,long *param_2,int *param_3) { int iVar1; *param_2 = 0; *param_3 = 0; if ((3 < *param_1 - param_1[6]) && (iVar1 = FUN_0012d293((uint)*(byte *)(param_1[6] + 3 + param_1[5]) | (uint)*(byte *)(param_1[6] + param_1[5]) << 0x18 | ...
(translation_unit "void FUN_00141d1a(long *param_1,long *param_2,int *param_3)\n\n{\n int iVar1;\n \n *param_2 = 0;\n *param_3 = 0;\n if ((3 < *param_1 - param_1[6]) &&\n (iVar1 = FUN_0012d293((uint)*(byte *)(param_1[6] + 3 + param_1[5]) |\n (uint)*(byte *)(param_1[6] + param_1[5]) <<...
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 + -0x20] MOV qword ptr [RAX],0x0 MOV RAX,qword ptr [RBP + -0x28] MOV dword ptr [RAX],0x0 MOV RAX,qword ptr [RBP + -0x18] MOV RDX,qword ptr [RAX] MOV RAX,qword ptr [RBP...
void function_1(type_1 *pkt,char **p,int *length) { int var_2; int *length_local; char **p_local; type_1 *pkt_local; int len; *p = (char *)0x0; *length = 0; if ((3 < pkt->length - pkt->savedpos) && (var_2 = var_1((type_2)pkt->body[pkt->savedpos + 3] | (type_2)pkt->body[pkt-...
(translation_unit "void ssh_pkt_getstring(Packet *pkt,char **p,int *length)\n\n{\n int iVar1;\n int *length_local;\n char **p_local;\n Packet *pkt_local;\n int len;\n \n *p = (char *)0x0;\n *length = 0;\n if ((3 < pkt->length - pkt->savedpos) &&\n (iVar1 = toint((uint)pkt->body[pkt->savedpos + 3] |\n ...
(translation_unit "void function_1(type_1 *pkt,char **p,int *length)\n\n{\n int var_2;\n int *length_local;\n char **p_local;\n type_1 *pkt_local;\n int len;\n \n *p = (char *)0x0;\n *length = 0;\n if ((3 < pkt->length - pkt->savedpos) &&\n (var_2 = var_1((type_2)pkt->body[pkt->savedpos + 3] |\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: (pointer...
1484_putty_and_putty_strip.c
sha512_init
FUN_0018dbf4
sha512_init
/* WARNING: Unknown calling convention */ void * sha512_init(void) { SHA512_CTX *c; SHA512_State *s; c = (SHA512_CTX *)safemalloc(1,0x118); SHA512_Init(c); return c; }
undefined8 FUN_0018dbf4(void) { undefined8 uVar1; uVar1 = FUN_0012e037(1,0x118); FUN_0018d1b6(uVar1); return uVar1; }
(translation_unit "undefined8 FUN_0018dbf4(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0012e037(1,0x118);\n FUN_0018d1b6(uVar1);\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0018dbf4(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0012e037(1,0x118);\n FUN_0018d1b6(uVar1);\n return uVar1;\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV ESI,0x118 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX CALL 0x0018d1b6 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,0x118); var_2(c); return c; }
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * sha512_init(void)\n\n{\n SHA512_CTX *c;\n SHA512_State *s;\n \n c = (SHA512_CTX *)safemalloc(1,0x118);\n SHA512_Init(c);\n return c;\n}\n\n" comment (function_definition "void * sha512_init(void)\n\n{\n SHA512_CTX *c;\n SHA512_State *s;\n \...
(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,0x118);\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,0x118);\n v...
(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...
1199_putty_and_putty_strip.c
poly1305_finalise
FUN_0016e643
poly1305_finalise
void poly1305_finalise(poly1305 *ctx,uchar *mac) { long lVar1; long in_FS_OFFSET; uchar *mac_local; poly1305 *ctx_local; bigval tmp; lVar1 = *(long *)(in_FS_OFFSET + 0x28); if (ctx->bufferIndex != 0) { poly1305_feed_chunk(ctx,ctx->buffer,ctx->bufferIndex); } bigval_import_le(&tmp,ctx,0x10); ...
void FUN_0016e643(long param_1,undefined8 param_2) { long in_FS_OFFSET; undefined local_28 [24]; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if (*(int *)(param_1 + 0x50) != 0) { FUN_0016e484(param_1,param_1 + 0x40,*(undefined4 *)(param_1 + 0x50)); } FUN_0016d14f(local_28,param_1,0x1...
(translation_unit "void FUN_0016e643(long param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(param_1 + 0x50) != 0) {\n FUN_0016e484(param_1,param_1 + 0x40,*(undefined4 *)(param_1 + 0x50));\n }\n FUN_...
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 EAX,dword ptr [RAX + 0x50] TEST EAX,EAX JZ 0x0016e68b MOV RAX,qword ptr [RBP + -0x28] MOV EDX,dword ptr [RAX + 0x50...
void function_1(type_1 *ctx,type_2 *mac) { long var_7; long var_1; type_2 *mac_local; type_1 *ctx_local; type_3 tmp; var_7 = *(long *)(var_1 + 0x28); if (ctx->bufferIndex != 0) { var_2(ctx,ctx->buffer,ctx->bufferIndex); } var_3(&tmp,ctx,0x10); var_4(&ctx->h); var_5(&tmp,&tmp,&ctx->h); v...
(translation_unit "void poly1305_finalise(poly1305 *ctx,uchar *mac)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *mac_local;\n poly1305 *ctx_local;\n bigval tmp;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (ctx->bufferIndex != 0) {\n poly1305_feed_chunk(ctx,ctx->buffer,ctx->bufferIndex);\n }\n big...
(translation_unit "void function_1(type_1 *ctx,type_2 *mac)\n\n{\n long var_7;\n long var_1;\n type_2 *mac_local;\n type_1 *ctx_local;\n type_3 tmp;\n \n var_7 = *(long *)(var_1 + 0x28);\n if (ctx->bufferIndex != 0) {\n var_2(ctx,ctx->buffer,ctx->bufferIndex);\n }\n var_3(&tmp,ctx,0x10);\n var_4(&ctx->h);...
(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...
1574_putty_and_putty_strip.c
lz77_hash
FUN_00194746
lz77_hash
int lz77_hash(uchar *data) { uchar *data_local; return ((uint)*data + (uint)*data * 0x100 + (uint)data[1] * 0x107 + (uint)data[2] * 0x10d) % 0x7f7 ; }
uint FUN_00194746(byte *param_1) { return ((uint)*param_1 + (uint)*param_1 * 0x100 + (uint)param_1[1] * 0x107 + (uint)param_1[2] * 0x10d) % 0x7f7; }
(translation_unit "uint FUN_00194746(byte *param_1)\n\n{\n return ((uint)*param_1 + (uint)*param_1 * 0x100 + (uint)param_1[1] * 0x107 +\n (uint)param_1[2] * 0x10d) % 0x7f7;\n}\n\n" (function_definition "uint FUN_00194746(byte *param_1)\n\n{\n return ((uint)*param_1 + (uint)*param_1 * 0x100 + (uint)param_1[1] ...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x8],RDI MOV RAX,qword ptr [RBP + -0x8] MOVZX EAX,byte ptr [RAX] MOVZX EDX,AL MOV EAX,EDX SHL EAX,0x8 ADD EDX,EAX MOV RAX,qword ptr [RBP + -0x8] ADD RAX,0x1 MOVZX EAX,byte ptr [RAX] MOVZX EAX,AL IMUL EAX,EAX,0x107 ADD EDX,EAX MOV RAX,qword ptr [RBP + -0x8] ADD RAX,0x2 MOVZX EA...
int function_1(type_1 *var_1) { type_1 *data_local; return ((type_2)*var_1 + (type_2)*var_1 * 0x100 + (type_2)var_1[1] * 0x107 + (type_2)var_1[2] * 0x10d) % 0x7f7 ; }
(translation_unit "int lz77_hash(uchar *data)\n\n{\n uchar *data_local;\n \n return ((uint)*data + (uint)*data * 0x100 + (uint)data[1] * 0x107 + (uint)data[2] * 0x10d) % 0x7f7\n ;\n}\n\n" (function_definition "int lz77_hash(uchar *data)\n\n{\n uchar *data_local;\n \n return ((uint)*data + (uint)*data * 0x100 + (...
(translation_unit "int function_1(type_1 *var_1)\n\n{\n type_1 *data_local;\n \n return ((type_2)*var_1 + (type_2)*var_1 * 0x100 + (type_2)var_1[1] * 0x107 + (type_2)var_1[2] * 0x10d) % 0x7f7\n ;\n}\n\n" (function_definition "int function_1(type_1 *var_1)\n\n{\n type_1 *data_local;\n \n return ((type_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...
958_putty_and_putty_strip.c
ssh_agent_callback
FUN_00144abf
ssh_agent_callback
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_agent_callback(void *sshv,void *reply,int replylen) { int replylen_local; void *reply_local; void *sshv_local; Ssh_conflict ssh; *(undefined8 *)((long)sshv + 0xc68) = 0; *(void **)((long)sshv + 0x398) = reply; *(int *)...
void FUN_00144abf(long param_1,undefined8 param_2,undefined4 param_3) { *(undefined8 *)(param_1 + 0xc68) = 0; *(undefined8 *)(param_1 + 0x398) = param_2; *(undefined4 *)(param_1 + 0x3a0) = param_3; if (*(int *)(param_1 + 0x250) == 1) { FUN_0014529e(param_1,0,0xffffffff,0); } else { FUN_00155197(pa...
(translation_unit "void FUN_00144abf(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n *(undefined8 *)(param_1 + 0xc68) = 0;\n *(undefined8 *)(param_1 + 0x398) = param_2;\n *(undefined4 *)(param_1 + 0x3a0) = param_3;\n if (*(int *)(param_1 + 0x250) == 1) {\n FUN_0014529e(param_1,0,0xffffffff,0);\n }\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] MOV qword ptr [RAX + 0xc68],0x0 MOV RAX,qword ptr [RBP + -0x8] MOV RDX,qword ptr [RBP + -0x20] M...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(void *sshv,void *reply,int replylen) { int replylen_local; void *reply_local; void *sshv_local; type_1 ssh; *(type_2 *)((long)sshv + 0xc68) = 0; *(void **)((long)sshv + 0x398) = reply; *(int *)((long)sshv + 0x3a...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_agent_callback(void *sshv,void *reply,int replylen)\n\n{\n int replylen_local;\n void *reply_local;\n void *sshv_local;\n Ssh_conflict ssh;\n \n *(undefined8 *)((long)sshv + 0xc68) = 0;\n *(void **)((long)sshv...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *sshv,void *reply,int replylen)\n\n{\n int replylen_local;\n void *reply_local;\n void *sshv_local;\n type_1 ssh;\n \n *(type_2 *)((long)sshv + 0xc68) = 0;\n *(void **)((long)sshv + 0x398) = reply;...
(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:...
1167_putty_and_putty_strip.c
ssh1_write_bignum
FUN_0016ae1e
ssh1_write_bignum
int ssh1_write_bignum(void *data,Bignum_conflict bn) { int iVar1; int iVar2; Bignum_conflict bn_local; void *data_local; int i; int len; int bitc; uchar *p; iVar1 = ssh1_bignum_length(bn); iVar2 = bignum_bitcount(bn); *(char *)data = (char)((uint)iVar2 >> 8); *(char *)((long)data + 1) = (ch...
int FUN_0016ae1e(undefined *param_1,undefined8 param_2) { undefined uVar1; undefined2 uVar2; int iVar3; int local_1c; undefined *local_10; iVar3 = FUN_0016ac11(param_2); uVar2 = FUN_0016aba4(param_2); *param_1 = (char)((ushort)uVar2 >> 8); param_1[1] = (char)uVar2; local_1c = iVar3 + -2; loca...
(translation_unit "int FUN_0016ae1e(undefined *param_1,undefined8 param_2)\n\n{\n undefined uVar1;\n undefined2 uVar2;\n int iVar3;\n int local_1c;\n undefined *local_10;\n \n iVar3 = FUN_0016ac11(param_2);\n uVar2 = FUN_0016aba4(param_2);\n *param_1 = (char)((ushort)uVar2 >> 8);\n param_1[1] = (char)uVar2;\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x30] MOV RDI,RAX CALL 0x0016ac11 MOV dword ptr [RBP + -0x10],EAX MOV RAX,qword ptr [RBP + -0x30] MOV RDI,RAX CALL 0x0016aba4 MOV dwo...
int function_1(void *data,type_1 bn) { int var_3; int iVar2; type_1 bn_local; void *data_local; int var_4; int len; int bitc; type_2 *var_6; var_3 = var_1(bn); iVar2 = var_2(bn); *(char *)data = (char)((type_3)iVar2 >> 8); *(char *)((long)data + 1) = (char)iVar2; var_4 = var_3 + -2; var...
(translation_unit "int ssh1_write_bignum(void *data,Bignum_conflict bn)\n\n{\n int iVar1;\n int iVar2;\n Bignum_conflict bn_local;\n void *data_local;\n int i;\n int len;\n int bitc;\n uchar *p;\n \n iVar1 = ssh1_bignum_length(bn);\n iVar2 = bignum_bitcount(bn);\n *(char *)data = (char)((uint)iVar2 >> 8);\n...
(translation_unit "int function_1(void *data,type_1 bn)\n\n{\n int var_3;\n int iVar2;\n type_1 bn_local;\n void *data_local;\n int var_4;\n int len;\n int bitc;\n type_2 *var_6;\n \n var_3 = var_1(bn);\n iVar2 = var_2(bn);\n *(char *)data = (char)((type_3)iVar2 >> 8);\n *(char *)((long)data + 1) = (char)i...
(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...
959_putty_and_putty_strip.c
ssh_dialog_callback
FUN_00144b4f
ssh_dialog_callback
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh_dialog_callback(void *sshv,int ret) { int ret_local; void *sshv_local; Ssh_conflict ssh; *(int *)((long)sshv + 0x3a4) = ret; if (*(int *)((long)sshv + 0x250) == 1) { do_ssh1_login((Ssh_conflict)sshv,(uchar *)0x0,-1,(Pa...
void FUN_00144b4f(long param_1,undefined4 param_2) { *(undefined4 *)(param_1 + 0x3a4) = param_2; if (*(int *)(param_1 + 0x250) == 1) { FUN_0014529e(param_1,0,0xffffffff,0); } else { FUN_0014c5b4(param_1,0,0xffffffff,0); } FUN_00143bd8(param_1); return; }
(translation_unit "void FUN_00144b4f(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x3a4) = param_2;\n if (*(int *)(param_1 + 0x250) == 1) {\n FUN_0014529e(param_1,0,0xffffffff,0);\n }\n else {\n FUN_0014c5b4(param_1,0,0xffffffff,0);\n }\n FUN_00143bd8(param_1);\n return;\n}\n\n" (funct...
PUSH RBP MOV RBP,RSP SUB RSP,0x20 MOV qword ptr [RBP + -0x18],RDI MOV dword ptr [RBP + -0x1c],ESI MOV RAX,qword ptr [RBP + -0x18] MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ptr [RBP + -0x1c] MOV dword ptr [RAX + 0x3a4],EDX MOV RAX,qword ptr [RBP + -0x8] MOV EAX,dword ptr [RAX + 0x250] C...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(void *sshv,int ret) { int ret_local; void *sshv_local; type_1 ssh; *(int *)((long)sshv + 0x3a4) = ret; if (*(int *)((long)sshv + 0x250) == 1) { var_1((type_1)sshv,(type_2 *)0x0,-1,(type_3 *)0x0); } else { ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_dialog_callback(void *sshv,int ret)\n\n{\n int ret_local;\n void *sshv_local;\n Ssh_conflict ssh;\n \n *(int *)((long)sshv + 0x3a4) = ret;\n if (*(int *)((long)sshv + 0x250) == 1) {\n do_ssh1_login((Ssh_conf...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *sshv,int ret)\n\n{\n int ret_local;\n void *sshv_local;\n type_1 ssh;\n \n *(int *)((long)sshv + 0x3a4) = ret;\n if (*(int *)((long)sshv + 0x250) == 1) {\n var_1((type_1)sshv,(type_2 *)0x0,-1,(t...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:...
1210_putty_and_putty_strip.c
ccp_make_context
FUN_0016ea94
ccp_make_context
/* WARNING: Unknown calling convention */ void * ccp_make_context(void) { void *pvVar1; ccp_context *ctx; pvVar1 = safemalloc(1,0x170); if (pvVar1 != (void *)0x0) { poly1305_init((poly1305 *)((long)pvVar1 + 0x118)); } return pvVar1; }
long FUN_0016ea94(void) { long lVar1; lVar1 = FUN_0012e037(1,0x170); if (lVar1 != 0) { FUN_0016e36e(lVar1 + 0x118); } return lVar1; }
(translation_unit "long FUN_0016ea94(void)\n\n{\n long lVar1;\n \n lVar1 = FUN_0012e037(1,0x170);\n if (lVar1 != 0) {\n FUN_0016e36e(lVar1 + 0x118);\n }\n return lVar1;\n}\n\n" (function_definition "long FUN_0016ea94(void)\n\n{\n long lVar1;\n \n lVar1 = FUN_0012e037(1,0x170);\n if (lVar1 != 0) {\n FUN_...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV ESI,0x170 MOV EDI,0x1 CALL 0x0012e037 MOV qword ptr [RBP + -0x8],RAX CMP qword ptr [RBP + -0x8],0x0 JZ 0x0016eac8 MOV RAX,qword ptr [RBP + -0x8] ADD RAX,0x118 MOV RDI,RAX CALL 0x0016e36e MOV RAX,qword ptr [RBP + -0x8] LEAVE RET
/* WARNING: Unknown calling convention */ void * function_1(void) { void *var_2; type_1 *ctx; var_2 = var_1(1,0x170); if (var_2 != (void *)0x0) { var_3((type_2 *)((long)var_2 + 0x118)); } return var_2; }
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * ccp_make_context(void)\n\n{\n void *pvVar1;\n ccp_context *ctx;\n \n pvVar1 = safemalloc(1,0x170);\n if (pvVar1 != (void *)0x0) {\n poly1305_init((poly1305 *)((long)pvVar1 + 0x118));\n }\n return pvVar1;\n}\n\n" comment (function_definitio...
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n void *var_2;\n type_1 *ctx;\n \n var_2 = var_1(1,0x170);\n if (var_2 != (void *)0x0) {\n var_3((type_2 *)((long)var_2 + 0x118));\n }\n return var_2;\n}\n\n" comment (function_definition "void * function_1(void)\n\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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (point...
1443_putty_and_putty_strip.c
rsa2_openssh_fmtkey
FUN_001869a2
rsa2_openssh_fmtkey
int rsa2_openssh_fmtkey(void *key,uchar *blob,int len) { int iVar1; int iVar2; int iVar3; int iVar4; int iVar5; int iVar6; int len_local; uchar *blob_local; void *key_local; int bloblen; int i; RSAKey *rsa; iVar1 = ssh2_bignum_length(*(Bignum_conflict *)((long)key + 8)); iVar2 = ssh2_bi...
int FUN_001869a2(long param_1,undefined *param_2,int param_3) { char cVar1; undefined uVar2; int iVar3; int iVar4; int iVar5; int iVar6; int iVar7; int local_28; int local_24; iVar3 = FUN_0016ac3c(*(undefined8 *)(param_1 + 8)); iVar4 = FUN_0016ac3c(*(undefined8 *)(param_1 + 0x10)); iVar5 = ...
(translation_unit "int FUN_001869a2(long param_1,undefined *param_2,int param_3)\n\n{\n char cVar1;\n undefined uVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n int iVar6;\n int iVar7;\n int local_28;\n int local_24;\n \n iVar3 = FUN_0016ac3c(*(undefined8 *)(param_1 + 8));\n iVar4 = FUN_0016ac3c(*(undefined8...
PUSH RBP MOV RBP,RSP PUSH RBX SUB RSP,0x38 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV dword ptr [RBP + -0x34],EDX MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x8] MOV RDI,RAX CALL 0x0016ac3c MOV EBX,EAX MOV RAX,qword p...
int function_1(void *key,type_1 *blob,int var_9) { int var_3; int var_4; int var_5; int var_6; int var_7; int var_2; int len_local; type_1 *blob_local; void *key_local; int var_8; int var_10; type_2 *rsa; var_3 = var_1(*(type_3 *)((long)key + 8)); var_4 = var_1(*(type_3 *)((long)key + 0...
(translation_unit "int rsa2_openssh_fmtkey(void *key,uchar *blob,int len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n int iVar6;\n int len_local;\n uchar *blob_local;\n void *key_local;\n int bloblen;\n int i;\n RSAKey *rsa;\n \n iVar1 = ssh2_bignum_length(*(Bignum_conflict *)(...
(translation_unit "int function_1(void *key,type_1 *blob,int var_9)\n\n{\n int var_3;\n int var_4;\n int var_5;\n int var_6;\n int var_7;\n int var_2;\n int len_local;\n type_1 *blob_local;\n void *key_local;\n int var_8;\n int var_10;\n type_2 *rsa;\n \n var_3 = var_1(*(type_3 *)((long)key + 8));\n var_...
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer...
1893_putty_and_putty_strip.c
x11font_size_increment
FUN_001bda4b
x11font_size_increment
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ char * x11font_size_increment(unifont *font,wchar_t increment) { int iVar1; undefined8 uVar2; char *pcVar3; int iVar4; long in_FS_OFFSET; wchar_t increment_local; unifont *font_local; wchar_t i; wchar_t max; ulong ret; cha...
undefined8 FUN_001bda4b(long *param_1,int param_2) { int iVar1; undefined8 uVar2; int iVar3; long in_FS_OFFSET; int local_d8; int local_d4; undefined8 local_d0; undefined8 local_c8; long local_c0; long local_b8; long *local_b0; undefined8 local_a8; undefined8 local_a0; undefined8 *local_98...
(translation_unit "undefined8 FUN_001bda4b(long *param_1,int param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n int iVar3;\n long in_FS_OFFSET;\n int local_d8;\n int local_d4;\n undefined8 local_d0;\n undefined8 local_c8;\n long local_c0;\n long local_b8;\n long *local_b0;\n undefined8 local_a8;\n undefined8...
PUSH RBP MOV RBP,RSP SUB RSP,0xe0 MOV qword ptr [RBP + -0xd8],RDI MOV dword ptr [RBP + -0xdc],ESI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP + -0xd8] MOV qword ptr [RBP + -0xa8],RAX CALL 0x00114df0 MOV RDI,RAX CALL 0x00115fa0 MOV qword ptr [RBP + -0xa0],RAX MOV RAX,qwo...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ char * function_1(type_1 *font,type_2 var_18) { int var_6; type_3 uVar2; char *pcVar3; int var_19; long var_1; type_2 increment_local; type_1 *font_local; type_2 var_16; type_2 var_13; type_4 ret; char *returned_name; ty...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * x11font_size_increment(unifont *font,wchar_t increment)\n\n{\n int iVar1;\n undefined8 uVar2;\n char *pcVar3;\n int iVar4;\n long in_FS_OFFSET;\n wchar_t increment_local;\n unifont *font_local;\n wchar_t i;\n ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 *font,type_2 var_18)\n\n{\n int var_6;\n type_3 uVar2;\n char *pcVar3;\n int var_19;\n long var_1;\n type_2 increment_local;\n type_1 *font_local;\n type_2 var_16;\n type_2 var_13;\n type_4 ...
(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...
1609_putty_and_putty_strip.c
telnet_free
FUN_001991e4
telnet_free
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void telnet_free(void *handle) { void *handle_local; Telnet telnet; safefree(*(void **)((long)handle + 0x78)); if (*(long *)((long)handle + 8) != 0) { (**(code **)(**(long **)((long)handle + 8) + 8))(*(undefined8 *)((long)handle ...
void FUN_001991e4(long param_1) { FUN_0012e243(*(undefined8 *)(param_1 + 0x78)); if (*(long *)(param_1 + 8) != 0) { (**(code **)(**(long **)(param_1 + 8) + 8))(*(undefined8 *)(param_1 + 8)); } if (*(long *)(param_1 + 0x98) != 0) { FUN_0012ed20(*(undefined8 *)(param_1 + 0x98)); } FUN_0011a2fb(*(und...
(translation_unit "void FUN_001991e4(long param_1)\n\n{\n FUN_0012e243(*(undefined8 *)(param_1 + 0x78));\n if (*(long *)(param_1 + 8) != 0) {\n (**(code **)(**(long **)(param_1 + 8) + 8))(*(undefined8 *)(param_1 + 8));\n }\n if (*(long *)(param_1 + 0x98) != 0) {\n FUN_0012ed20(*(undefined8 *)(param_1 + 0x98))...
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 RAX,qword ptr [RAX + 0x78] MOV RDI,RAX CALL 0x0012e243 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x8] TEST RAX,RAX JZ 0x00199231 MOV RAX,qword...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(void *handle) { void *handle_local; type_1 telnet; var_1(*(void **)((long)handle + 0x78)); if (*(long *)((long)handle + 8) != 0) { (**(type_2 **)(**(long **)((long)handle + 8) + 8))(*(type_3 *)((long)handle + 8));...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid telnet_free(void *handle)\n\n{\n void *handle_local;\n Telnet telnet;\n \n safefree(*(void **)((long)handle + 0x78));\n if (*(long *)((long)handle + 8) != 0) {\n (**(code **)(**(long **)((long)handle + 8) + 8))(*...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle)\n\n{\n void *handle_local;\n type_1 telnet;\n \n var_1(*(void **)((long)handle + 0x78));\n if (*(long *)((long)handle + 8) != 0) {\n (**(type_2 **)(**(long **)((long)handle + 8) + 8))(*(t...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive...
1648_putty_and_putty_strip.c
check_line_size
FUN_0019bc3a
check_line_size
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void check_line_size(Terminal *term,termline *line) { termline *line_local; Terminal *term_local; if (term->cols != line->cols) { resizeline(term,line,term->cols); } return; }
void FUN_0019bc3a(long param_1,long param_2) { if (*(int *)(param_1 + 0x18c) != *(int *)(param_2 + 4)) { FUN_0019b6f0(param_1,param_2,*(undefined4 *)(param_1 + 0x18c)); } return; }
(translation_unit "void FUN_0019bc3a(long param_1,long param_2)\n\n{\n if (*(int *)(param_1 + 0x18c) != *(int *)(param_2 + 4)) {\n FUN_0019b6f0(param_1,param_2,*(undefined4 *)(param_1 + 0x18c));\n }\n return;\n}\n\n" (function_definition "void FUN_0019bc3a(long param_1,long param_2)\n\n{\n if (*(int *)(param_1 +...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV qword ptr [RBP + -0x10],RSI MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ptr [RAX + 0x18c] MOV RAX,qword ptr [RBP + -0x10] MOV EAX,dword ptr [RAX + 0x4] CMP EDX,EAX JZ 0x0019bc7c MOV RAX,qword ptr [RBP + -0x8] MOV EDX,dword ptr [RAX + 0x18c] MOV RCX,q...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term,type_2 *line) { type_2 *line_local; type_1 *term_local; if (term->cols != line->cols) { var_1(term,line,term->cols); } return; }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid check_line_size(Terminal *term,termline *line)\n\n{\n termline *line_local;\n Terminal *term_local;\n \n if (term->cols != line->cols) {\n resizeline(term,line,term->cols);\n }\n return;\n}\n\n" comment (functio...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 *line)\n\n{\n type_2 *line_local;\n type_1 *term_local;\n \n if (term->cols != line->cols) {\n var_1(term,line,term->cols);\n }\n return;\n}\n\n" comment (function_definition "void...
(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...
1219_putty_and_putty_strip.c
crc32_update
FUN_0016ed69
crc32_update
ulong crc32_update(ulong crcword,void *buf,size_t len) { size_t len_local; void *buf_local; ulong crcword_local; uchar *p; ulong newbyte; len_local = len; crcword_local = crcword; p = (uchar *)buf; while (len_local != 0) { crcword_local = crc32_table[(ulong)*p ^ crcword_local & 0xff] ^ crcwor...
ulong FUN_0016ed69(ulong param_1,byte *param_2,long param_3) { long local_30; ulong local_20; byte *local_18; local_30 = param_3; local_20 = param_1; local_18 = param_2; while (local_30 != 0) { local_20 = *(ulong *)(&DAT_0020dbc0 + ((ulong)*local_18 ^ local_20 & 0xff) * 8) ^ local_20 >> 8; lo...
(translation_unit "ulong FUN_0016ed69(ulong param_1,byte *param_2,long param_3)\n\n{\n long local_30;\n ulong local_20;\n byte *local_18;\n \n local_30 = param_3;\n local_20 = param_1;\n local_18 = param_2;\n while (local_30 != 0) {\n local_20 = *(ulong *)(&DAT_0020dbc0 + ((ulong)*local_18 ^ local_20 & 0xff)...
PUSH RBP MOV RBP,RSP MOV qword ptr [RBP + -0x18],RDI MOV qword ptr [RBP + -0x20],RSI MOV qword ptr [RBP + -0x28],RDX MOV RAX,qword ptr [RBP + -0x20] MOV qword ptr [RBP + -0x10],RAX JMP 0x0016edcd MOV RAX,qword ptr [RBP + -0x10] LEA RDX,[RAX + 0x1] MOV qword ptr [RBP + -0x10],RDX MOVZX EAX,byte ptr [RAX] MOVZX EAX,AL MO...
type_1 function_1(type_1 crcword,void *buf,size_t len) { size_t var_1; void *buf_local; type_1 var_3; type_2 *var_2; type_1 newbyte; var_1 = len; var_3 = crcword; var_2 = (type_2 *)buf; while (var_1 != 0) { var_3 = crc32_table[(type_1)*var_2 ^ var_3 & 0xff] ^ var_3 >> 8; var_1 = var_1 - 1...
(translation_unit "ulong crc32_update(ulong crcword,void *buf,size_t len)\n\n{\n size_t len_local;\n void *buf_local;\n ulong crcword_local;\n uchar *p;\n ulong newbyte;\n \n len_local = len;\n crcword_local = crcword;\n p = (uchar *)buf;\n while (len_local != 0) {\n crcword_local = crc32_table[(ulong)*p ^...
(translation_unit "type_1 function_1(type_1 crcword,void *buf,size_t len)\n\n{\n size_t var_1;\n void *buf_local;\n type_1 var_3;\n type_2 *var_2;\n type_1 newbyte;\n \n var_1 = len;\n var_3 = crcword;\n var_2 = (type_2 *)buf;\n while (var_1 != 0) {\n var_3 = crc32_table[(type_1)*var_2 ^ var_3 & 0xff] ^ va...
(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: (primitive_type) declarator: (pointer_declarator declarator: (identif...
1274_putty_and_putty_strip.c
getmp
FUN_0017479a
getmp
Bignum getmp(char **data,int *datalen) { Bignum_conflict pBVar1; long in_FS_OFFSET; int *datalen_local; char **data_local; int length; char *p; Bignum b; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); getstring(data,datalen,&p,&length); if (p == (char *)0x0) { pBVar1 = (Bignum_...
undefined8 FUN_0017479a(undefined8 param_1,undefined8 param_2) { undefined8 uVar1; long in_FS_OFFSET; undefined4 local_24; char *local_20; undefined8 local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_00174687(param_1,param_2,&local_20,&local_24); if (local_20 == (char *)0x0)...
(translation_unit "undefined8 FUN_0017479a(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined4 local_24;\n char *local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00174687(param_1,param_2,&local_20,&local_24);\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x30 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RCX,[RBP + -0x1c] LEA RDX,[RBP + -0x18] MOV RSI,qword ptr [RBP + -0x30] MOV RAX,qword ptr [RBP + -0x28] MOV RDI,RAX CALL 0x00174687 MOV RAX,qword p...
type_1 function_1(char **data,int *datalen) { type_2 pBVar1; long var_1; int *datalen_local; char **data_local; int length; char *var_3; type_1 b; long var_5; var_5 = *(long *)(var_1 + 0x28); var_2(data,datalen,&var_3,&length); if (var_3 == (char *)0x0) { pBVar1 = (type_2)0x0; } else ...
(translation_unit "Bignum getmp(char **data,int *datalen)\n\n{\n Bignum_conflict pBVar1;\n long in_FS_OFFSET;\n int *datalen_local;\n char **data_local;\n int length;\n char *p;\n Bignum b;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n getstring(data,datalen,&p,&length);\n if (p == (cha...
(translation_unit "type_1 function_1(char **data,int *datalen)\n\n{\n type_2 pBVar1;\n long var_1;\n int *datalen_local;\n char **data_local;\n int length;\n char *var_3;\n type_1 b;\n long var_5;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_2(data,datalen,&var_3,&length);\n if (var_3 == (char *)0x0) {\n ...
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (pri...
1343_putty_and_putty_strip.c
ssh_ecdhkex_curve_textname
FUN_0017ce88
ssh_ecdhkex_curve_textname
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ char * ssh_ecdhkex_curve_textname(ssh_kex *kex) { long lVar1; ssh_kex *kex_local; eckex_extra *extra; ec_curve *curve; /* WARNING: Load size is inaccurate */ lVar1 = (**kex->extra)(); return *(char **)(lVar1 +...
undefined8 FUN_0017ce88(long param_1) { long lVar1; lVar1 = (*(code *)**(undefined8 **)(param_1 + 0x20))(); return *(undefined8 *)(lVar1 + 0x10); }
(translation_unit "undefined8 FUN_0017ce88(long param_1)\n\n{\n long lVar1;\n \n lVar1 = (*(code *)**(undefined8 **)(param_1 + 0x20))();\n return *(undefined8 *)(lVar1 + 0x10);\n}\n\n" (function_definition "undefined8 FUN_0017ce88(long param_1)\n\n{\n long lVar1;\n \n lVar1 = (*(code *)**(undefined8 **)(param_1 ...
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 + 0x20] MOV qword ptr [RBP + -0x10],RAX MOV RAX,qword ptr [RBP + -0x10] MOV RAX,qword ptr [RAX] CALL RAX MOV qword ptr [RBP + -0x8],RAX MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x10] L...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ char * function_1(type_1 *kex) { long var_1; type_1 *kex_local; type_2 *extra; type_3 *curve; /* WARNING: Load size is inaccurate */ var_1 = (**kex->extra)(); return *(char **)(var_1 + 0x10); }
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * ssh_ecdhkex_curve_textname(ssh_kex *kex)\n\n{\n long lVar1;\n ssh_kex *kex_local;\n eckex_extra *extra;\n ec_curve *curve;\n \n /* WARNING: Load size is inaccurate */\n lVar1 = (**kex->extra)()...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 *kex)\n\n{\n long var_1;\n type_1 *kex_local;\n type_2 *extra;\n type_3 *curve;\n \n /* WARNING: Load size is inaccurate */\n var_1 = (**kex->extra)();\n return *(char **)(va...
(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)))))) body: (compound_state...
1417_putty_and_putty_strip.c
random_unref
FUN_001848db
random_unref
/* WARNING: Unknown calling convention -- yet parameter storage is locked */ void random_unref(void) { if (random_active < 1) { /* WARNING: Subroutine does not return */ __assert_fail("random_active > 0","sshrand.c",0x140,"random_unref"); } if (random_active == 1) { random_save_seed...
void FUN_001848db(void) { if (DAT_00235d40 < 1) { /* WARNING: Subroutine does not return */ __assert_fail("random_active > 0","sshrand.c",0x140,"random_unref"); } if (DAT_00235d40 == 1) { FUN_001d4275(); FUN_001ad3ea(&DAT_00235d60); } DAT_00235d40 = DAT_00235d40 + -1; retur...
(translation_unit "void FUN_001848db(void)\n\n{\n if (DAT_00235d40 < 1) {\n /* WARNING: Subroutine does not return */\n __assert_fail("random_active > 0","sshrand.c",0x140,"random_unref");\n }\n if (DAT_00235d40 == 1) {\n FUN_001d4275();\n FUN_001ad3ea(&DAT_00235d60);\n }\n DAT_00235d40...
PUSH RBP MOV RBP,RSP MOV EAX,dword ptr [0x00235d40] TEST EAX,EAX JG 0x00184908 LEA RCX,[0x2103d8] MOV EDX,0x140 LEA RSI,[0x2103a8] LEA RDI,[0x2103b2] CALL 0x00114a00 MOV EAX,dword ptr [0x00235d40] CMP EAX,0x1 JNZ 0x00184924 CALL 0x001d4275 LEA RDI,[0x235d60] CALL 0x001ad3ea MOV EAX,dword ptr [0x00235d40] SUB EAX,0x1 MO...
/* WARNING: Unknown calling convention -- yet parameter storage is locked */ void function_1(void) { if (var_1 < 1) { /* WARNING: Subroutine does not return */ var_2("random_active > 0","sshrand.c",0x140,"random_unref"); } if (var_1 == 1) { var_3(); var_4(&pool); } var_1 = v...
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid random_unref(void)\n\n{\n if (random_active < 1) {\n /* WARNING: Subroutine does not return */\n __assert_fail("random_active > 0","sshrand.c",0x140,"random_unref");\n }\n if (random_active =...
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n if (var_1 < 1) {\n /* WARNING: Subroutine does not return */\n var_2("random_active > 0","sshrand.c",0x140,"random_unref");\n }\n if (var_1 == 1) {\n var_3();\n ...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier...
1110_putty_and_putty_strip.c
arcfour256_key
FUN_001642db
arcfour256_key
void arcfour256_key(void *handle,uchar *key) { uchar *key_local; void *handle_local; ArcfourContext *ctx; arcfour_setkey((ArcfourContext *)handle,key,0x20); arcfour_stir((ArcfourContext *)handle); return; }
void FUN_001642db(undefined8 param_1,undefined8 param_2) { FUN_00164035(param_1,param_2,0x20); FUN_0016422f(param_1); return; }
(translation_unit "void FUN_001642db(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00164035(param_1,param_2,0x20);\n FUN_0016422f(param_1);\n return;\n}\n\n" (function_definition "void FUN_001642db(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00164035(param_1,param_2,0x20);\n FUN_0016422f(param_1);\n ret...
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 RCX,qword ptr [RBP + -0x20] MOV RAX,qword ptr [RBP + -0x8] MOV EDX,0x20 MOV RSI,RCX MOV RDI,RAX CALL 0x00164035 MOV RAX,qword ptr [RBP + -0x8] MOV RDI,RAX ...
void function_1(void *handle,type_1 *key) { type_1 *key_local; void *handle_local; type_2 *ctx; var_1((type_2 *)handle,key,0x20); var_2((type_2 *)handle); return; }
(translation_unit "void arcfour256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n ArcfourContext *ctx;\n \n arcfour_setkey((ArcfourContext *)handle,key,0x20);\n arcfour_stir((ArcfourContext *)handle);\n return;\n}\n\n" (function_definition "void arcfour256_key(void *handle,uchar *k...
(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,key,0x20);\n var_2((type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handl...
(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...
1682_putty_and_putty_strip.c
term_print_finish
FUN_001a0799
term_print_finish
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_print_finish(Terminal *term) { long in_FS_OFFSET; Terminal *term_local; char c; wchar_t len; wchar_t size; void *data; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if ((term->printing != L'\0') || (te...
void FUN_001a0799(long param_1) { long in_FS_OFFSET; char local_21; undefined local_20 [4]; int local_1c; char *local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); if ((*(int *)(param_1 + 0x13c) != 0) || (*(int *)(param_1 + 0x140) != 0)) { FUN_001a06dd(param_1); while( true ...
(translation_unit "void FUN_001a0799(long param_1)\n\n{\n long in_FS_OFFSET;\n char local_21;\n undefined local_20 [4];\n int local_1c;\n char *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((*(int *)(param_1 + 0x13c) != 0) || (*(int *)(param_1 + 0x140) != 0)) {\n FUN_001a0...
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 MOV RAX,qword ptr [RBP + -0x28] MOV EAX,dword ptr [RAX + 0x13c] TEST EAX,EAX JNZ 0x001a07d4 MOV RAX,qword ptr [RBP + -0x28] MOV EAX,dword ptr [RAX + 0x140] TEST EAX,EAX JZ 0x001a08d2 ...
/* 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; char var_6; type_2 len; type_2 var_4; void *data; long var_10; var_10 = *(long *)(var_1 + 0x28); if ((term->printing != L'\0') || (term->only_printing != L'\0'...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_print_finish(Terminal *term)\n\n{\n long in_FS_OFFSET;\n Terminal *term_local;\n char c;\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 if (...
(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 char var_6;\n type_2 len;\n type_2 var_4;\n void *data;\n long var_10;\n \n var_10 = *(long *)(var_1 + 0x28);\n if ((term->printing != L'\0') ...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_ty...
1328_putty_and_putty_strip.c
getmppoint
FUN_0017a0bf
getmppoint
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int getmppoint(char **data,int *datalen,ec_point *point) { int iVar1; long in_FS_OFFSET; ec_point *point_local; int *datalen_local; char **data_local; int length; char *p; long local_10; local_10 = *(long *)(in_FS_OFFSET + ...
undefined8 FUN_0017a0bf(undefined8 param_1,undefined8 param_2,undefined8 param_3) { undefined8 uVar1; long in_FS_OFFSET; undefined4 local_1c; long local_18; long local_10; local_10 = *(long *)(in_FS_OFFSET + 0x28); FUN_00179ba9(param_1,param_2,&local_18,&local_1c); if (local_18 == 0) { uVar1 = ...
(translation_unit "undefined8 FUN_0017a0bf(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined4 local_1c;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00179ba9(param_1,param_2,&local_18,&local_1c);\n if (...
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 FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX LEA RCX,[RBP + -0x14] LEA RDX,[RBP + -0x10] MOV RSI,qword ptr [RBP + -0x30] MOV RAX,qword ptr [RBP + -0x28] MOV RDI,RAX...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(char **data,int *datalen,type_1 *point) { int iVar1; long var_1; type_1 *point_local; int *datalen_local; char **data_local; int length; char *var_3; long var_5; var_5 = *(long *)(var_1 + 0x28); var_2(data,...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint getmppoint(char **data,int *datalen,ec_point *point)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n ec_point *point_local;\n int *datalen_local;\n char **data_local;\n int length;\n char *p;\n long local_10;\n \n loca...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(char **data,int *datalen,type_1 *point)\n\n{\n int iVar1;\n long var_1;\n type_1 *point_local;\n int *datalen_local;\n char **data_local;\n int length;\n char *var_3;\n long var_5;\n \n var_5 = *(long...
(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: (pointer_declarator declarator: (identifier)))) (parameter_declaration t...
1659_putty_and_putty_strip.c
term_pwron
FUN_0019c822
term_pwron
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void term_pwron(Terminal *term,wchar_t clear) { wchar_t clear_local; Terminal *term_local; power_on(term,clear); if (term->ldisc != (void *)0x0) { ldisc_echoedit_update(term->ldisc); } term->disptop = L'\0'; deselect(term);...
void FUN_0019c822(long param_1,undefined4 param_2) { FUN_0019c016(param_1,param_2); if (*(long *)(param_1 + 0x1100) != 0) { FUN_0012714f(*(undefined8 *)(param_1 + 0x1100)); } *(undefined4 *)(param_1 + 0x20) = 0; FUN_001ac795(param_1); FUN_0019c6a6(param_1); return; }
(translation_unit "void FUN_0019c822(long param_1,undefined4 param_2)\n\n{\n FUN_0019c016(param_1,param_2);\n if (*(long *)(param_1 + 0x1100) != 0) {\n FUN_0012714f(*(undefined8 *)(param_1 + 0x1100));\n }\n *(undefined4 *)(param_1 + 0x20) = 0;\n FUN_001ac795(param_1);\n FUN_0019c6a6(param_1);\n return;\n}\n\n...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI MOV dword ptr [RBP + -0xc],ESI MOV EDX,dword ptr [RBP + -0xc] MOV RAX,qword ptr [RBP + -0x8] MOV ESI,EDX MOV RDI,RAX CALL 0x0019c016 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x1100] TEST RAX,RAX JZ 0x0019c865 MOV RAX,qword ptr [RBP + -0x8] ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 *term,type_2 clear) { type_2 clear_local; type_1 *term_local; var_1(term,clear); if (term->ldisc != (void *)0x0) { var_2(term->ldisc); } term->disptop = L'\0'; var_3(term); var_4(term); return; } ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid term_pwron(Terminal *term,wchar_t clear)\n\n{\n wchar_t clear_local;\n Terminal *term_local;\n \n power_on(term,clear);\n if (term->ldisc != (void *)0x0) {\n ldisc_echoedit_update(term->ldisc);\n }\n term->disp...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 clear)\n\n{\n type_2 clear_local;\n type_1 *term_local;\n \n var_1(term,clear);\n if (term->ldisc != (void *)0x0) {\n var_2(term->ldisc);\n }\n term->disptop = L'\0';\n var_3(ter...
(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...
980_putty_and_putty_strip.c
ssh1_smsg_x11_open
FUN_0014a94a
ssh1_smsg_x11_open
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void ssh1_smsg_x11_open(Ssh_conflict ssh,Packet *pktin) { ulong uVar1; ssh_channel *c_00; X11Connection *pXVar2; Packet *pktin_local; Ssh_conflict ssh_local; int remoteid; ssh_channel *c; uVar1 = ssh_pkt_getuint32(pktin); l...
void FUN_0014a94a(long param_1,undefined8 param_2) { undefined4 uVar1; long *plVar2; long lVar3; uVar1 = FUN_00141be2(param_2); FUN_001c593c(*(undefined8 *)(param_1 + 0x188),"Received X11 connect request"); if (*(int *)(param_1 + 0x68) == 0) { FUN_00140386(param_1,0x16,1,uVar1,0); FUN_001c593c(...
(translation_unit "void FUN_0014a94a(long param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n long *plVar2;\n long lVar3;\n \n uVar1 = FUN_00141be2(param_2);\n FUN_001c593c(*(undefined8 *)(param_1 + 0x188),"Received X11 connect request");\n if (*(int *)(param_1 + 0x68) == 0) {\n FUN_00140386(param_1,0x16,1...
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 0x00141be2 MOV dword ptr [RBP + -0xc],EAX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x188] LEA RSI,[0x207eaf] MOV RDI,RAX CALL 0x001c593c MOV RAX,qword ptr [R...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ void function_1(type_1 ssh,type_2 *pktin) { type_3 var_4; type_4 *c_00; type_5 *pXVar2; type_2 *pktin_local; type_1 ssh_local; int remoteid; type_4 *c; var_4 = var_1(pktin); var_2(ssh->frontend,"Received X11 connect request...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_smsg_x11_open(Ssh_conflict ssh,Packet *pktin)\n\n{\n ulong uVar1;\n ssh_channel *c_00;\n X11Connection *pXVar2;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int remoteid;\n ssh_channel *c;\n \n uVar1 ...
(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_4;\n type_4 *c_00;\n type_5 *pXVar2;\n type_2 *pktin_local;\n type_1 ssh_local;\n int remoteid;\n type_4 *c;\n \n var_4 = var_1(pktin);\n var_2(ssh->fronte...
(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...
955_putty_and_putty_strip.c
connect_to_host
FUN_001445a9
connect_to_host
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ char * connect_to_host(Ssh_conflict ssh,char *host,int port,char **realhost,int nodelay, int keepalive) { int iVar1; Socket ppsVar2; char *pcVar3; long in_FS_OFFSET; int keepalive_local; char **realhost_local; ...
long FUN_001445a9(undefined8 *param_1,undefined8 param_2,undefined4 param_3,undefined8 *param_4, undefined4 param_5,undefined4 param_6) { undefined4 uVar1; int iVar2; undefined8 uVar3; long lVar4; long in_FS_OFFSET; char *local_28; undefined8 local_20; long local_18; long local_10; ...
(translation_unit "long FUN_001445a9(undefined8 *param_1,undefined8 param_2,undefined4 param_3,undefined8 *param_4,\n undefined4 param_5,undefined4 param_6)\n\n{\n undefined4 uVar1;\n int iVar2;\n undefined8 uVar3;\n long lVar4;\n long in_FS_OFFSET;\n char *local_28;\n undefined8 local_20;\n lon...
PUSH RBP MOV RBP,RSP SUB RSP,0x60 MOV qword ptr [RBP + -0x38],RDI MOV qword ptr [RBP + -0x40],RSI MOV dword ptr [RBP + -0x44],EDX MOV qword ptr [RBP + -0x50],RCX MOV dword ptr [RBP + -0x48],R8D MOV dword ptr [RBP + -0x54],R9D MOV RAX,qword ptr FS:[0x28] MOV qword ptr [RBP + -0x8],RAX XOR EAX,EAX MOV RAX,qword ptr [RBP ...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ char * function_1(type_1 ssh,char *host,int port,char **realhost,int nodelay, int keepalive) { int var_12; type_2 ppsVar2; char *pcVar3; long var_1; int keepalive_local; char **realhost_local; int nodelay_loc...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * connect_to_host(Ssh_conflict ssh,char *host,int port,char **realhost,int nodelay,\n int keepalive)\n\n{\n int iVar1;\n Socket ppsVar2;\n char *pcVar3;\n long in_FS_OFFSET;\n int keepalive_loca...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 ssh,char *host,int port,char **realhost,int nodelay,\n int keepalive)\n\n{\n int var_12;\n type_2 ppsVar2;\n char *pcVar3;\n long var_1;\n int keepalive_local;\n char **real...
(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: (identifier)) (parameter_declaration type: (primitive_type) declarator:...
1721_putty_and_putty_strip.c
freenode234
FUN_001ad450
freenode234
void freenode234(node234_conflict *n) { node234_conflict *n_local; if (n != (node234_conflict *)0x0) { freenode234(n->kids[0]); freenode234(n->kids[1]); freenode234(n->kids[2]); freenode234(n->kids[3]); safefree(n); } return; }
void FUN_001ad450(long param_1) { if (param_1 != 0) { FUN_001ad450(*(undefined8 *)(param_1 + 8)); FUN_001ad450(*(undefined8 *)(param_1 + 0x10)); FUN_001ad450(*(undefined8 *)(param_1 + 0x18)); FUN_001ad450(*(undefined8 *)(param_1 + 0x20)); FUN_0012e243(param_1); } return; }
(translation_unit "void FUN_001ad450(long param_1)\n\n{\n if (param_1 != 0) {\n FUN_001ad450(*(undefined8 *)(param_1 + 8));\n FUN_001ad450(*(undefined8 *)(param_1 + 0x10));\n FUN_001ad450(*(undefined8 *)(param_1 + 0x18));\n FUN_001ad450(*(undefined8 *)(param_1 + 0x20));\n FUN_0012e243(param_1);\n }\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x10 MOV qword ptr [RBP + -0x8],RDI CMP qword ptr [RBP + -0x8],0x0 JZ 0x001ad4b1 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x8] MOV RDI,RAX CALL 0x001ad450 MOV RAX,qword ptr [RBP + -0x8] MOV RAX,qword ptr [RAX + 0x10] MOV RDI,RAX CALL 0x001ad450 MOV RAX,qword ptr [RBP + -0x8] ...
void function_1(type_1 *var_1) { type_1 *n_local; if (var_1 != (type_1 *)0x0) { function_1(var_1->kids[0]); function_1(var_1->kids[1]); function_1(var_1->kids[2]); function_1(var_1->kids[3]); var_2(var_1); } return; }
(translation_unit "void freenode234(node234_conflict *n)\n\n{\n node234_conflict *n_local;\n \n if (n != (node234_conflict *)0x0) {\n freenode234(n->kids[0]);\n freenode234(n->kids[1]);\n freenode234(n->kids[2]);\n freenode234(n->kids[3]);\n safefree(n);\n }\n return;\n}\n\n" (function_definition "v...
(translation_unit "void function_1(type_1 *var_1)\n\n{\n type_1 *n_local;\n \n if (var_1 != (type_1 *)0x0) {\n function_1(var_1->kids[0]);\n function_1(var_1->kids[1]);\n function_1(var_1->kids[2]);\n function_1(var_1->kids[3]);\n var_2(var_1);\n }\n return;\n}\n\n" (function_definition "void functi...
(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...
1611_putty_and_putty_strip.c
telnet_send
FUN_001992e3
telnet_send
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int telnet_send(void *handle,char *buf,int len) { undefined4 uVar1; int iVar2; uchar *puVar3; uchar *puVar4; int len_local; char *buf_local; void *handle_local; uchar *p; Telnet telnet; uchar *end; uchar *q; if (*(lon...
undefined4 FUN_001992e3(long param_1,char *param_2,int param_3) { char *pcVar1; undefined4 uVar2; char *pcVar3; undefined *puVar4; char *local_28; if (*(long *)(param_1 + 8) == 0) { uVar2 = 0; } else { pcVar3 = param_2 + param_3; local_28 = param_2; while (pcVar1 = local_28, local_2...
(translation_unit "undefined4 FUN_001992e3(long param_1,char *param_2,int param_3)\n\n{\n char *pcVar1;\n undefined4 uVar2;\n char *pcVar3;\n undefined *puVar4;\n char *local_28;\n \n if (*(long *)(param_1 + 8) == 0) {\n uVar2 = 0;\n }\n else {\n pcVar3 = param_2 + param_3;\n local_28 = param_2;\n ...
PUSH RBP MOV RBP,RSP SUB RSP,0x40 MOV qword ptr [RBP + -0x28],RDI MOV qword ptr [RBP + -0x30],RSI MOV dword ptr [RBP + -0x34],EDX MOV RAX,qword ptr [RBP + -0x28] MOV qword ptr [RBP + -0x18],RAX MOV RAX,qword ptr [RBP + -0x18] MOV RAX,qword ptr [RAX + 0x8] TEST RAX,RAX JNZ 0x00199315 MOV EAX,0x0 JMP 0x0019944c MOV RAX,q...
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */ int function_1(void *handle,char *var_1,int var_2) { type_1 uVar1; int iVar2; type_2 *var_4; type_2 *puVar4; int len_local; char *buf_local; void *handle_local; type_2 *var_3; type_3 telnet; type_2 *end; type_2 *q; if...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint telnet_send(void *handle,char *buf,int len)\n\n{\n undefined4 uVar1;\n int iVar2;\n uchar *puVar3;\n uchar *puVar4;\n int len_local;\n char *buf_local;\n void *handle_local;\n uchar *p;\n Telnet telnet;\n uchar ...
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle,char *var_1,int var_2)\n\n{\n type_1 uVar1;\n int iVar2;\n type_2 *var_4;\n type_2 *puVar4;\n int len_local;\n char *buf_local;\n void *handle_local;\n type_2 *var_3;\n type_3 telnet;\n t...
(translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:...
1243_putty_and_putty_strip.c
des3_iv
FUN_00172de9
des3_iv
void des3_iv(void *handle,uchar *key) { uchar *key_local; void *handle_local; DESContext *keys; *(uint *)((long)handle + 0x80) = (uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3]; *(uint *)((long)handle + 0x84) = (uint)key[4] << 0x18 | (uint)key[5] << 0x10 | (uint...
void FUN_00172de9(long param_1,byte *param_2) { *(uint *)(param_1 + 0x80) = (uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 | (uint)param_2[3]; *(uint *)(param_1 + 0x84) = (uint)param_2[4] << 0x18 | (uint)param_2[5] << 0x10 | (uint)param_2[6] << 8 | (uint)param_2[7];...
(translation_unit "void FUN_00172de9(long param_1,byte *param_2)\n\n{\n *(uint *)(param_1 + 0x80) =\n (uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 | (uint)param_2[3];\n *(uint *)(param_1 + 0x84) =\n (uint)param_2[4] << 0x18 | (uint)param_2[5] << 0x10 | (uint)param_2[6] << 8 |\...
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 *keys; *(type_3 *)((long)handle + 0x80) = (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 + 0x84) = (type_3)var_1[4] << 0x18 | (...
(translation_unit "void des3_iv(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n DESContext *keys;\n \n *(uint *)((long)handle + 0x80) =\n (uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3];\n *(uint *)((long)handle + 0x84) =\n (uint)key[4] << 0x18 | ...
(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 *keys;\n \n *(type_3 *)((long)handle + 0x80) =\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 + 0x84) =\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...
1831_putty_and_putty_strip.c
droplist_selchange
FUN_001b4f3a
droplist_selchange
void droplist_selchange(GtkComboBox *combo,gpointer data) { undefined8 uVar1; GtkWidget *w; uctrl *puVar2; gpointer data_local; GtkComboBox *combo_local; dlgparam *dp; uctrl *uc; uVar1 = gtk_widget_get_type(); w = (GtkWidget *)g_type_check_instance_cast(combo,uVar1); puVar2 = dlg_find_bywidget(...
void FUN_001b4f3a(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); if (plVar2 != (long *)0x0) { (**(code **)(*plVar2 + 0x18))(*plVar2,param_2,*(undefined...
(translation_unit "void FUN_001b4f3a(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 if (plVar2 != (long *)0x0) {\n (**(code **)(*plVar2 + 0x18))...
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 *combo,type_2 data) { type_3 uVar1; type_4 *w; type_5 *var_4; type_2 data_local; type_1 *combo_local; type_6 *dp; type_5 *uc; uVar1 = var_1(); w = (type_4 *)var_2(combo,uVar1); var_4 = var_3((type_6 *)data,w); if (var_4 != (type_5 *)0x0) { (*(var_4->ctrl->generic).h...
(translation_unit "void droplist_selchange(GtkComboBox *combo,gpointer data)\n\n{\n undefined8 uVar1;\n GtkWidget *w;\n uctrl *puVar2;\n gpointer data_local;\n GtkComboBox *combo_local;\n dlgparam *dp;\n uctrl *uc;\n \n uVar1 = gtk_widget_get_type();\n w = (GtkWidget *)g_type_check_instance_cast(combo,uVar1);...
(translation_unit "void function_1(type_1 *combo,type_2 data)\n\n{\n type_3 uVar1;\n type_4 *w;\n type_5 *var_4;\n type_2 data_local;\n type_1 *combo_local;\n type_6 *dp;\n type_5 *uc;\n \n uVar1 = var_1();\n w = (type_4 *)var_2(combo,uVar1);\n var_4 = var_3((type_6 *)data,w);\n if (var_4 != (type_5 *)0x0) ...
(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...
1148_putty_and_putty_strip.c
reciprocal_word
FUN_001680a9
reciprocal_word
BignumInt reciprocal_word(BignumInt d) { ulong uVar1; undefined auVar2 [16]; undefined auVar3 [16]; undefined auVar4 [16]; undefined auVar5 [16]; undefined auVar6 [16]; undefined auVar7 [16]; undefined auVar8 [16]; undefined auVar9 [16]; undefined auVar10 [16]; undefined auVar11 [16]; long lVa...
ulong FUN_001680a9(ulong param_1) { ulong uVar1; undefined auVar2 [16]; undefined auVar3 [16]; undefined auVar4 [16]; undefined auVar5 [16]; undefined auVar6 [16]; undefined auVar7 [16]; undefined auVar8 [16]; undefined auVar9 [16]; undefined auVar10 [16]; undefined auVar11 [16]; long lVar12; ...
(translation_unit "ulong FUN_001680a9(ulong param_1)\n\n{\n ulong uVar1;\n undefined auVar2 [16];\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [16];\n undefined auVar8 [16];\n undefined auVar9 [16];\n undefined auVar10 [16];\n undefine...
PUSH RBP MOV RBP,RSP PUSH R15 PUSH R14 PUSH R13 PUSH R12 PUSH RBX SUB RSP,0x108 MOV qword ptr [RBP + -0xe8],RDI MOV RAX,qword ptr [RBP + -0xe8] SHR RAX,0x3f CMP RAX,0x1 JZ 0x001680f4 LEA RCX,[0x20daa0] MOV EDX,0x22c LEA RSI,[0x20d920] LEA RDI,[0x20d97a] CALL 0x00114a00 MOV RAX,qword ptr [RBP + -0xe8] SHR RAX,0x20 ADD R...
type_1 function_1(type_1 var_1) { type_2 var_14; type_3 var_2 [16]; type_3 var_6 [16]; type_3 var_8 [16]; type_3 var_3 [16]; type_3 var_7 [16]; type_3 var_9 [16]; type_3 var_4 [16]; type_3 var_17 [16]; type_3 var_10 [16]; type_3 var_18 [16]; long var_16; type_1 d_local; int corrections; ...
(translation_unit "BignumInt reciprocal_word(BignumInt d)\n\n{\n ulong uVar1;\n undefined auVar2 [16];\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [16];\n undefined auVar8 [16];\n undefined auVar9 [16];\n undefined auVar10 [16];\n und...
(translation_unit "type_1 function_1(type_1 var_1)\n\n{\n type_2 var_14;\n type_3 var_2 [16];\n type_3 var_6 [16];\n type_3 var_8 [16];\n type_3 var_3 [16];\n type_3 var_7 [16];\n type_3 var_9 [16];\n type_3 var_4 [16];\n type_3 var_17 [16];\n type_3 var_10 [16];\n type_3 var_18 [16];\n long var_16;\n type...
(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...