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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1513_putty_and_putty_strip.c | sha1_verify | FUN_0018ee42 | sha1_verify |
int sha1_verify(void *handle,uchar *blk,int len,ulong seq)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
uchar correct [20];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
sha1_do_hmac(handle,blk,len,seq,correct);
iVar2 = smemeq(cor... |
void FUN_0018ee42(undefined8 param_1,long param_2,int param_3,undefined8 param_4)
{
long in_FS_OFFSET;
undefined local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_0018ecea(param_1,param_2,param_3,param_4,local_28);
FUN_0012e6a8(local_28,param_3 + param_2,0x14);
if (local_10... | (translation_unit "void FUN_0018ee42(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0018ecea(param_1,param_2,param_3,param_4,local_28);\n FUN_0012e6a8(local_28,param_3 + pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV qword ptr [RBP + -0x40],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDI,[RBP + -0x20]
MOV RCX,qword ptr [RBP + -0x40]
MOV EDX,dword ptr [RBP + -0x34]
M... |
int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)
{
long var_6;
int iVar2;
long var_1;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
type_1 correct [20];
var_6 = *(long *)(var_1 + 0x28);
var_2(handle,var_4,var_5,seq,correct);
iVar2 = var_3(correct,var_4... | (translation_unit "int sha1_verify(void *handle,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar correct [20];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n sha1_do_hmac(handle,blk,len,seq... | (translation_unit "int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)\n\n{\n long var_6;\n int iVar2;\n long var_1;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 correct [20];\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(handle,var_4,var_5,seq,correct)... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1589_putty_and_putty_strip.c | zlib_decompress_cleanup | FUN_001963bc | zlib_decompress_cleanup |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void zlib_decompress_cleanup(void *handle)
{
void *handle_local;
zlib_decompress_ctx *dctx;
/* WARNING: Load size is inaccurate */
if ((*(long *)((long)handle + 0x10) != 0) && (*(long *)((long)handle + 0x10) != *han... |
void FUN_001963bc(long *param_1)
{
if ((param_1[2] != 0) && (param_1[2] != *param_1)) {
FUN_00196151(param_1 + 2);
}
if ((param_1[3] != 0) && (param_1[3] != param_1[1])) {
FUN_00196151(param_1 + 3);
}
if (param_1[4] != 0) {
FUN_00196151(param_1 + 4);
}
FUN_00196151(param_1);
FUN_00196151(p... | (translation_unit "void FUN_001963bc(long *param_1)\n\n{\n if ((param_1[2] != 0) && (param_1[2] != *param_1)) {\n FUN_00196151(param_1 + 2);\n }\n if ((param_1[3] != 0) && (param_1[3] != param_1[1])) {\n FUN_00196151(param_1 + 3);\n }\n if (param_1[4] != 0) {\n FUN_00196151(param_1 + 4);\n }\n FUN_00196... | 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 + 0x10]
TEST RAX,RAX
JZ 0x00196401
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,q... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle)
{
void *handle_local;
type_1 *dctx;
/* WARNING: Load size is inaccurate */
if ((*(long *)((long)handle + 0x10) != 0) && (*(long *)((long)handle + 0x10) != *handle)) {
var_1((type_2 ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid zlib_decompress_cleanup(void *handle)\n\n{\n void *handle_local;\n zlib_decompress_ctx *dctx;\n \n /* WARNING: Load size is inaccurate */\n if ((*(long *)((long)handle + 0x10) != 0) && (*(long *)((... | (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 *dctx;\n \n /* WARNING: Load size is inaccurate */\n if ((*(long *)((long)handle + 0x10) != 0) && (*(long *)((long)handle + 0x10) != *ha... | (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... |
1821_putty_and_putty_strip.c | widget_focus | FUN_001b4a03 | widget_focus |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
gboolean widget_focus(GtkWidget *widget,GdkEventFocus *event,gpointer data)
{
uctrl *puVar1;
gpointer data_local;
GdkEventFocus *event_local;
GtkWidget *widget_local;
control *focus;
dlgparam *dp;
uctrl *uc;
puVar1 = dlg_find... |
undefined8 FUN_001b4a03(undefined8 param_1,undefined8 param_2,long param_3)
{
long *plVar1;
undefined8 local_20;
plVar1 = (long *)FUN_001b2d4d(param_3,param_1);
if ((plVar1 == (long *)0x0) || (*plVar1 == 0)) {
local_20 = 0;
}
else {
local_20 = *plVar1;
}
if (local_20 != *(long *)(param_3 + ... | (translation_unit "undefined8 FUN_001b4a03(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n long *plVar1;\n undefined8 local_20;\n \n plVar1 = (long *)FUN_001b2d4d(param_3,param_1);\n if ((plVar1 == (long *)0x0) || (*plVar1 == 0)) {\n local_20 = 0;\n }\n else {\n local_20 = *plVar1;\n }\n if (l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
MOV RDX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001b2d4d
MOV qword ptr [RBP + -... |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *event,type_4 data)
{
type_5 *var_2;
type_4 data_local;
type_3 *event_local;
type_2 *widget_local;
type_6 *var_3;
type_7 *dp;
type_5 *uc;
var_2 = var_1((type_7 *)data,widget);
if ((va... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ngboolean widget_focus(GtkWidget *widget,GdkEventFocus *event,gpointer data)\n\n{\n uctrl *puVar1;\n gpointer data_local;\n GdkEventFocus *event_local;\n GtkWidget *widget_local;\n control *focus;\n dlgparam *dp;\n uctr... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ntype_1 function_1(type_2 *widget,type_3 *event,type_4 data)\n\n{\n type_5 *var_2;\n type_4 data_local;\n type_3 *event_local;\n type_2 *widget_local;\n type_6 *var_3;\n type_7 *dp;\n type_5 *uc;\n \n var_2 = var_1((t... | (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... |
1230_putty_and_putty_strip.c | des_cbc_encrypt | FUN_00172019 | des_cbc_encrypt |
void des_cbc_encrypt(uchar *blk,uint len,DESContext *sched)
{
long lVar1;
long in_FS_OFFSET;
DESContext *sched_local;
uint len_local;
uchar *blk_local;
word32 iv0;
word32 iv1;
uint i;
word32 out [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if ((len & 7) != 0) {
/* WARNING:... |
void FUN_00172019(byte *param_1,uint param_2,long param_3)
{
long in_FS_OFFSET;
byte *local_30;
uint local_24;
uint local_20;
uint local_1c;
uint local_18;
uint local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if ((param_2 & 7) != 0) {
/* WARNING: Subrouti... | (translation_unit "void FUN_00172019(byte *param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n byte *local_30;\n uint local_24;\n uint local_20;\n uint local_1c;\n uint local_18;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((param_2 & 7) != 0) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x2c]
AND EAX,0x7
TEST EAX,EAX
JZ 0x00172064
LEA RCX,[0x20ef20]
MOV EDX,0x261
LEA RSI,[0x20ec... |
void function_1(type_1 *blk,type_2 var_2,type_3 *sched)
{
long var_9;
long var_1;
type_3 *sched_local;
type_2 len_local;
type_1 *var_7;
type_4 var_6;
type_4 var_8;
type_2 var_4;
type_4 out [2];
var_9 = *(long *)(var_1 + 0x28);
if ((var_2 & 7) != 0) {
/* WARNING: Subroutine... | (translation_unit "void des_cbc_encrypt(uchar *blk,uint len,DESContext *sched)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n DESContext *sched_local;\n uint len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n uint i;\n word32 out [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & 7) != 0) {... | (translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *sched)\n\n{\n long var_9;\n long var_1;\n type_3 *sched_local;\n type_2 len_local;\n type_1 *var_7;\n type_4 var_6;\n type_4 var_8;\n type_2 var_4;\n type_4 out [2];\n \n var_9 = *(long *)(var_1 + 0x28);\n if ((var_2 & 7) != 0) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
943_putty_and_putty_strip.c | ssh_queue_incoming_data | FUN_00143b7b | ssh_queue_incoming_data |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_queue_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)
{
int *datalen_local;
uchar **data_local;
Ssh_conflict ssh_local;
bufchain_add(&ssh->queued_incoming_data,*data,*datalen);
*data = *data + *datalen;
*datale... |
void FUN_00143b7b(long param_1,long *param_2,int *param_3)
{
FUN_0012dc11(param_1 + 0x3b0,*param_2,*param_3);
*param_2 = *param_2 + (long)*param_3;
*param_3 = 0;
return;
}
| (translation_unit "void FUN_00143b7b(long param_1,long *param_2,int *param_3)\n\n{\n FUN_0012dc11(param_1 + 0x3b0,*param_2,*param_3);\n *param_2 = *param_2 + (long)*param_3;\n *param_3 = 0;\n return;\n}\n\n" (function_definition "void FUN_00143b7b(long param_1,long *param_2,int *param_3)\n\n{\n FUN_0012dc11(param_... | 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 + -0x18]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RCX,qword ptr [RBP + -0x8]
ADD RCX,0x3b0
MOV RSI,RAX
MOV RDI,RCX
CALL 0x001... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 **data,int *datalen)
{
int *datalen_local;
type_2 **data_local;
type_1 ssh_local;
var_1(&ssh->queued_incoming_data,*data,*datalen);
*data = *data + *datalen;
*datalen = 0;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_queue_incoming_data(Ssh_conflict ssh,uchar **data,int *datalen)\n\n{\n int *datalen_local;\n uchar **data_local;\n Ssh_conflict ssh_local;\n \n bufchain_add(&ssh->queued_incoming_data,*data,*datalen);\n *data =... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 **data,int *datalen)\n\n{\n int *datalen_local;\n type_2 **data_local;\n type_1 ssh_local;\n \n var_1(&ssh->queued_incoming_data,*data,*datalen);\n *data = *data + *datalen;\n *datalen... | (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... |
1402_putty_and_putty_strip.c | ssh1_write_pubkey | FUN_00183673 | ssh1_write_pubkey |
void ssh1_write_pubkey(FILE *fp,RSAKey *key)
{
char *ptr;
RSAKey *key_local;
FILE *fp_local;
char *buffer;
ptr = ssh1_pubkey_str(key);
fprintf((FILE *)fp,"%s\n",ptr);
safefree(ptr);
return;
}
|
void FUN_00183673(FILE *param_1,undefined8 param_2)
{
undefined8 uVar1;
uVar1 = FUN_001835a1(param_2);
fprintf(param_1,"%s\n",uVar1);
FUN_0012e243(uVar1);
return;
}
| (translation_unit "void FUN_00183673(FILE *param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_001835a1(param_2);\n fprintf(param_1,"%s\n",uVar1);\n FUN_0012e243(uVar1);\n return;\n}\n\n" (function_definition "void FUN_00183673(FILE *param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n \n u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV RDI,RAX
CALL 0x001835a1
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x18]
LEA RSI,[0x21008d]
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00115770
MOV RAX,q... |
void function_1(type_1 *fp,type_2 *key)
{
char *ptr;
type_2 *key_local;
type_1 *fp_local;
char *buffer;
ptr = var_1(key);
var_2((type_1 *)fp,"%s\n",ptr);
var_3(ptr);
return;
}
| (translation_unit "void ssh1_write_pubkey(FILE *fp,RSAKey *key)\n\n{\n char *ptr;\n RSAKey *key_local;\n FILE *fp_local;\n char *buffer;\n \n ptr = ssh1_pubkey_str(key);\n fprintf((FILE *)fp,"%s\n",ptr);\n safefree(ptr);\n return;\n}\n\n" (function_definition "void ssh1_write_pubkey(FILE *fp,RSAKey *key)\n\n{\... | (translation_unit "void function_1(type_1 *fp,type_2 *key)\n\n{\n char *ptr;\n type_2 *key_local;\n type_1 *fp_local;\n char *buffer;\n \n ptr = var_1(key);\n var_2((type_1 *)fp,"%s\n",ptr);\n var_3(ptr);\n return;\n}\n\n" (function_definition "void function_1(type_1 *fp,type_2 *key)\n\n{\n char *ptr;\n 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))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1411_putty_and_putty_strip.c | random_stir | FUN_001842f0 | random_stir |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void random_stir(void)
{
long lVar1;
long in_FS_OFFSET;
int i;
int j;
int k;
word32 digest [5];
word32 block [16];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (pool.stir_pending == 0) {
pool.stir_pending = 1;
noi... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void FUN_001842f0(void)
{
long in_FS_OFFSET;
int local_84;
int local_80;
uint local_7c;
undefined8 local_78;
undefined8 local_70;
undefined4 local_68;
undefined8 local_58;
undefined8 local_50;
undefined8 local_48... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_001842f0(void)\n\n{\n long in_FS_OFFSET;\n int local_84;\n int local_80;\n uint local_7c;\n undefined8 local_78;\n undefined8 local_70;\n undefined4 local_68;\n undefined8 local_58;\n undefined8 ... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [0x0023626c]
TEST EAX,EAX
JNZ 0x001844d1
MOV dword ptr [0x0023626c],0x1
LEA RDI,[0x1844e8]
CALL 0x001d42dd
LEA RSI,[0x236228]
LEA RDI,[0x236214]
CALL 0x0018ddce
MOV dword ptr [0x00236268],0x0
MOV ... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
long var_7;
long var_1;
int var_4;
int var_5;
int var_6;
type_1 digest [5];
type_1 block [16];
var_7 = *(long *)(var_1 + 0x28);
if (pool.stir_pending == 0) {
pool.stir_pending = 1;
var_2(... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid random_stir(void)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int i;\n int j;\n int k;\n word32 digest [5];\n word32 block [16];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (pool.stir_pending == 0) {\n ... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n long var_7;\n long var_1;\n int var_4;\n int var_5;\n int var_6;\n type_1 digest [5];\n type_1 block [16];\n \n var_7 = *(long *)(var_1 + 0x28);\n if (pool.stir_pending == 0) {\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 (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: ... |
1815_putty_and_putty_strip.c | set_transient_window_pos | FUN_001b4613 | set_transient_window_pos |
void set_transient_window_pos(GtkWidget *parent,GtkWidget *child)
{
GtkWidget *child_local;
GtkWidget *parent_local;
return;
}
|
void FUN_001b4613(void)
{
return;
}
| (translation_unit "void FUN_001b4613(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001b4613(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001b4613(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
NOP
POP RBP
RET |
void function_1(type_1 *parent,type_1 *child)
{
type_1 *child_local;
type_1 *parent_local;
return;
}
| (translation_unit "void set_transient_window_pos(GtkWidget *parent,GtkWidget *child)\n\n{\n GtkWidget *child_local;\n GtkWidget *parent_local;\n \n return;\n}\n\n" (function_definition "void set_transient_window_pos(GtkWidget *parent,GtkWidget *child)\n\n{\n GtkWidget *child_local;\n GtkWidget *parent_local;\n \... | (translation_unit "void function_1(type_1 *parent,type_1 *child)\n\n{\n type_1 *child_local;\n type_1 *parent_local;\n \n return;\n}\n\n" (function_definition "void function_1(type_1 *parent,type_1 *child)\n\n{\n type_1 *child_local;\n type_1 *parent_local;\n \n return;\n}" primitive_type (function_declarator "... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1676_putty_and_putty_strip.c | erase_lots | FUN_0019f5ef | erase_lots |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void erase_lots(Terminal *term,wchar_t line_only,wchar_t from_begin,wchar_t to_end)
{
bool bVar1;
wchar_t wVar2;
bool bVar3;
wchar_t to_end_local;
wchar_t from_begin_local;
wchar_t line_only_local;
Terminal *term_local;
wchar_t ... |
void FUN_0019f5ef(long param_1,int param_2,int param_3,int param_4)
{
bool bVar1;
uint uVar2;
bool bVar3;
int local_24;
ushort *local_20;
undefined8 local_18;
undefined8 local_10;
bVar1 = false;
bVar3 = param_2 == 0;
if (bVar3) {
local_18 = 0;
uVar2 = *(uint *)(param_1 + 0x188);
}
e... | (translation_unit "void FUN_0019f5ef(long param_1,int param_2,int param_3,int param_4)\n\n{\n bool bVar1;\n uint uVar2;\n bool bVar3;\n int local_24;\n ushort *local_20;\n undefined8 local_18;\n undefined8 local_10;\n \n bVar1 = false;\n bVar3 = param_2 == 0;\n if (bVar3) {\n local_18 = 0;\n uVar2 = *(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV dword ptr [RBP + -0x40],EDX
MOV dword ptr [RBP + -0x44],ECX
MOV dword ptr [RBP + -0x20],0x0
CMP dword ptr [RBP + -0x3c],0x0
JZ 0x0019f645
MOV RAX,qword ptr [RBP + -0x38]
MOV EAX,dword ptr [RAX + 0xb8]
MOV dword ptr [RB... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term,type_2 var_1,type_2 var_2,type_2 var_3)
{
bool bVar1;
type_2 var_11;
bool bVar3;
type_2 to_end_local;
type_2 from_begin_local;
type_2 line_only_local;
type_1 *term_local;
type_2 erase_lattr;
type_2... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid erase_lots(Terminal *term,wchar_t line_only,wchar_t from_begin,wchar_t to_end)\n\n{\n bool bVar1;\n wchar_t wVar2;\n bool bVar3;\n wchar_t to_end_local;\n wchar_t from_begin_local;\n wchar_t line_only_local;\n Ter... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term,type_2 var_1,type_2 var_2,type_2 var_3)\n\n{\n bool bVar1;\n type_2 var_11;\n bool bVar3;\n type_2 to_end_local;\n type_2 from_begin_local;\n type_2 line_only_local;\n type_1 *term_local;\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... |
1156_putty_and_putty_strip.c | bignum_from_bytes | FUN_0016a627 | bignum_from_bytes |
Bignum_conflict bignum_from_bytes(uchar *data,int nbytes)
{
int iVar1;
int iVar2;
Bignum_conflict b;
int nbytes_local;
uchar *data_local;
uchar byte;
int i;
int w;
Bignum_conflict result;
if ((-1 < nbytes) && (nbytes < 0xfffffff)) {
iVar2 = nbytes + 7;
if (nbytes + 7 < 0) {
iVar2 ... |
long FUN_0016a627(byte *param_1,int param_2)
{
int iVar1;
int iVar2;
long lVar3;
byte *local_30;
int local_18;
if ((-1 < param_2) && (param_2 < 0xfffffff)) {
iVar2 = param_2 + 7;
if (param_2 + 7 < 0) {
iVar2 = param_2 + 0xe;
}
lVar3 = FUN_00166c60(iVar2 >> 3);
for (local_18 = ... | (translation_unit "long FUN_0016a627(byte *param_1,int param_2)\n\n{\n int iVar1;\n int iVar2;\n long lVar3;\n byte *local_30;\n int local_18;\n \n if ((-1 < param_2) && (param_2 < 0xfffffff)) {\n iVar2 = param_2 + 7;\n if (param_2 + 7 < 0) {\n iVar2 = param_2 + 0xe;\n }\n lVar3 = FUN_00166c60(i... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
CMP dword ptr [RBP + -0x2c],0x0
JS 0x0016a645
CMP dword ptr [RBP + -0x2c],0xffffffe
JLE 0x0016a664
LEA RCX,[0x20daf0]
MOV EDX,0x584
LEA RSI,[0x20d920]
LEA RDI,[0x20d9c0]
CALL 0x00114a00
MOV EAX,dword ptr [RBP + -0x2c]
ADD ... |
type_1 function_1(type_2 *data,int var_1)
{
int var_5;
int var_3;
type_1 b;
int nbytes_local;
type_2 *var_6;
type_2 byte;
int var_4;
int w;
type_1 result;
if ((-1 < var_1) && (var_1 < 0xfffffff)) {
var_3 = var_1 + 7;
if (var_1 + 7 < 0) {
var_3 = var_1 + 0xe;
}
b = var_2(va... | (translation_unit "Bignum_conflict bignum_from_bytes(uchar *data,int nbytes)\n\n{\n int iVar1;\n int iVar2;\n Bignum_conflict b;\n int nbytes_local;\n uchar *data_local;\n uchar byte;\n int i;\n int w;\n Bignum_conflict result;\n \n if ((-1 < nbytes) && (nbytes < 0xfffffff)) {\n iVar2 = nbytes + 7;\n i... | (translation_unit "type_1 function_1(type_2 *data,int var_1)\n\n{\n int var_5;\n int var_3;\n type_1 b;\n int nbytes_local;\n type_2 *var_6;\n type_2 byte;\n int var_4;\n int w;\n type_1 result;\n \n if ((-1 < var_1) && (var_1 < 0xfffffff)) {\n var_3 = var_1 + 7;\n if (var_1 + 7 < 0) {\n var_3 = v... | (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: (primitive_type) declarator: (identi... |
1712_putty_and_putty_strip.c | ltime | FUN_001acf7d | ltime |
/* WARNING: Unknown calling convention */
tm * ltime(void)
{
long lVar1;
int iVar2;
int iVar3;
int iVar4;
undefined4 uVar5;
tm *ptVar6;
tm *in_RDI;
long in_FS_OFFSET;
time_t t;
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
time(&t);
if (t == -1) {
/* WARNI... |
undefined8 * FUN_001acf7d(undefined8 *param_1)
{
undefined8 uVar1;
long lVar2;
tm *ptVar3;
long in_FS_OFFSET;
long local_28;
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
time(&local_28);
if (local_28 == -1) {
/* WARNING: Subroutine does not return */
__assert_... | (translation_unit "undefined8 * FUN_001acf7d(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n long lVar2;\n tm *ptVar3;\n long in_FS_OFFSET;\n long local_28;\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n time(&local_28);\n if (local_28 == -1) {\n /* WARNING: Subroutine d... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x20]
MOV RDI,RAX
CALL 0x00114f40
MOV RAX,qword ptr [RBP + -0x20]
CMP RAX,-0x1
JNZ 0x001acfce
LEA RCX,[0x212f45]
MOV EDX,0xe
LEA RSI,[0x212f2c]
LEA RDI,[0x21... |
/* WARNING: Unknown calling convention */
type_1 * function_1(void)
{
long lVar1;
int iVar2;
int iVar3;
int iVar4;
type_2 uVar5;
type_1 *ptVar6;
type_1 *in_RDI;
long var_1;
type_3 var_3;
long var_6;
var_6 = *(long *)(var_1 + 0x28);
var_2(&var_3);
if (var_3 == -1) {
/*... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntm * ltime(void)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n undefined4 uVar5;\n tm *ptVar6;\n tm *in_RDI;\n long in_FS_OFFSET;\n time_t t;\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n time(&t);\n if (t =... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 * function_1(void)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n type_2 uVar5;\n type_1 *ptVar6;\n type_1 *in_RDI;\n long var_1;\n type_3 var_3;\n long var_6;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(&var_3);\n if (v... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator:... |
1605_putty_and_putty_strip.c | telnet_closing | FUN_00198cbd | telnet_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void telnet_closing(Plug plug,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug plug_local;
Telnet telnet;
if (plug[1] != (plug_function_table *)0x0) {
... |
void FUN_00198cbd(long param_1,long param_2)
{
if (*(long *)(param_1 + 8) != 0) {
(**(code **)(**(long **)(param_1 + 8) + 8))(*(undefined8 *)(param_1 + 8));
*(undefined8 *)(param_1 + 8) = 0;
if (param_2 != 0) {
*(undefined4 *)(param_1 + 0x10) = 1;
}
FUN_001c8a93(*(undefined8 *)(param_1 + 0... | (translation_unit "void FUN_00198cbd(long param_1,long param_2)\n\n{\n if (*(long *)(param_1 + 8) != 0) {\n (**(code **)(**(long **)(param_1 + 8) + 8))(*(undefined8 *)(param_1 + 8));\n *(undefined8 *)(param_1 + 8) = 0;\n if (param_2 != 0) {\n *(undefined4 *)(param_1 + 0x10) = 1;\n }\n FUN_001c8a93(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x28],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x00198d32
MOV RAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_2,char *var_1,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 plug_local;
type_2 telnet;
if (var_2[1] != (type_3 *)0x0) {
(**(type_4 **... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid telnet_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n Plug plug_local;\n Telnet telnet;\n \n if (plug[1] != (pl... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2,char *var_1,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 plug_local;\n type_2 telnet;\n \n if (var_2[1] != (type... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
1577_putty_and_putty_strip.c | lz77_compress | FUN_00194b1d | lz77_compress |
void lz77_compress(LZ77Context *ctx,uchar *data,int len,int compress)
{
uchar uVar1;
short sVar2;
long lVar3;
LZ77InternalContext *st_00;
uchar uVar4;
int iVar5;
long in_FS_OFFSET;
int compress_local;
int len_local;
uchar *data_local;
LZ77Context *ctx_local;
int i;
int off;
int nmatch;
i... |
void FUN_00194b1d(long *param_1,undefined *param_2,int param_3,int param_4)
{
char cVar1;
char cVar2;
short sVar3;
long lVar4;
undefined uVar5;
int iVar6;
undefined4 uVar7;
long in_FS_OFFSET;
int local_16c;
undefined *local_168;
int local_150;
int local_14c;
int local_148;
int local_144;
... | (translation_unit "void FUN_00194b1d(long *param_1,undefined *param_2,int param_3,int param_4)\n\n{\n char cVar1;\n char cVar2;\n short sVar3;\n long lVar4;\n undefined uVar5;\n int iVar6;\n undefined4 uVar7;\n long in_FS_OFFSET;\n int local_16c;\n undefined *local_168;\n int local_150;\n int local_14c;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x170
MOV qword ptr [RBP + -0x158],RDI
MOV qword ptr [RBP + -0x160],RSI
MOV dword ptr [RBP + -0x164],EDX
MOV dword ptr [RBP + -0x168],ECX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x158]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x1... |
void function_1(type_1 *ctx,type_2 *data,int var_4,int var_11)
{
type_2 var_15;
short sVar2;
long var_9;
type_3 *st_00;
type_2 var_14;
int var_13;
long var_1;
int compress_local;
int var_8;
type_2 *var_20;
type_1 *ctx_local;
int var_3;
int var_12;
int var_16;
int var_17;
int var_19;
... | (translation_unit "void lz77_compress(LZ77Context *ctx,uchar *data,int len,int compress)\n\n{\n uchar uVar1;\n short sVar2;\n long lVar3;\n LZ77InternalContext *st_00;\n uchar uVar4;\n int iVar5;\n long in_FS_OFFSET;\n int compress_local;\n int len_local;\n uchar *data_local;\n LZ77Context *ctx_local;\n int... | (translation_unit "void function_1(type_1 *ctx,type_2 *data,int var_4,int var_11)\n\n{\n type_2 var_15;\n short sVar2;\n long var_9;\n type_3 *st_00;\n type_2 var_14;\n int var_13;\n long var_1;\n int compress_local;\n int var_8;\n type_2 *var_20;\n type_1 *ctx_local;\n int var_3;\n int var_12;\n int var_... | (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... |
1727_putty_and_putty_strip.c | addpos234 | FUN_001ae2a4 | addpos234 |
void * addpos234(tree234 *t,void *e,int index)
{
void *pvVar1;
int index_local;
void *e_local;
tree234 *t_local;
if ((index < 0) || (t->cmp != (cmpfn234)0x0)) {
pvVar1 = (void *)0x0;
}
else {
pvVar1 = add234_internal(t,e,index);
}
return pvVar1;
}
|
undefined8 FUN_001ae2a4(long param_1,undefined8 param_2,int param_3)
{
undefined8 uVar1;
if ((param_3 < 0) || (*(long *)(param_1 + 8) != 0)) {
uVar1 = 0;
}
else {
uVar1 = FUN_001ad587(param_1,param_2,param_3);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001ae2a4(long param_1,undefined8 param_2,int param_3)\n\n{\n undefined8 uVar1;\n \n if ((param_3 < 0) || (*(long *)(param_1 + 8) != 0)) {\n uVar1 = 0;\n }\n else {\n uVar1 = FUN_001ad587(param_1,param_2,param_3);\n }\n return uVar1;\n}\n\n" (function_definition "undefined8... | 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
CMP dword ptr [RBP + -0x14],0x0
JS 0x001ae2ca
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x001ae2d1
MOV EAX,0x0
JMP 0x001ae2e7
MOV EDX,dword ptr [RBP + -0x14... |
void * function_1(type_1 *t,void *e,int var_1)
{
void *pvVar1;
int index_local;
void *e_local;
type_1 *t_local;
if ((var_1 < 0) || (t->cmp != (type_2)0x0)) {
pvVar1 = (void *)0x0;
}
else {
pvVar1 = var_2(t,e,var_1);
}
return pvVar1;
}
| (translation_unit "void * addpos234(tree234 *t,void *e,int index)\n\n{\n void *pvVar1;\n int index_local;\n void *e_local;\n tree234 *t_local;\n \n if ((index < 0) || (t->cmp != (cmpfn234)0x0)) {\n pvVar1 = (void *)0x0;\n }\n else {\n pvVar1 = add234_internal(t,e,index);\n }\n return pvVar1;\n}\n\n" (fu... | (translation_unit "void * function_1(type_1 *t,void *e,int var_1)\n\n{\n void *pvVar1;\n int index_local;\n void *e_local;\n type_1 *t_local;\n \n if ((var_1 < 0) || (t->cmp != (type_2)0x0)) {\n pvVar1 = (void *)0x0;\n }\n else {\n pvVar1 = var_2(t,e,var_1);\n }\n return pvVar1;\n}\n\n" (function_defini... | (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... |
1413_putty_and_putty_strip.c | random_add_heavynoise | FUN_0018465f | random_add_heavynoise |
void random_add_heavynoise(void *noise,int length)
{
int length_local;
void *noise_local;
int i;
uchar *p;
p = (uchar *)noise;
for (length_local = length; 0x4af < length_local; length_local = length_local + -0x4b0) {
for (i = 0; i < 0x4b0; i = i + 1) {
pool.pool[i] = *p ^ pool.pool[i];
... |
void FUN_0018465f(byte *param_1,int param_2)
{
int local_24;
int local_14;
byte *local_10;
local_10 = param_1;
for (local_24 = param_2; 0x4af < local_24; local_24 = local_24 + -0x4b0) {
for (local_14 = 0; local_14 < 0x4b0; local_14 = local_14 + 1) {
(&DAT_00235d60)[local_14] = *local_10 ^ (&DAT... | (translation_unit "void FUN_0018465f(byte *param_1,int param_2)\n\n{\n int local_24;\n int local_14;\n byte *local_10;\n \n local_10 = param_1;\n for (local_24 = param_2; 0x4af < local_24; local_24 = local_24 + -0x4b0) {\n for (local_14 = 0; local_14 < 0x4b0; local_14 = local_14 + 1) {\n (&DAT_00235d60)[l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
JMP 0x001846ca
MOV dword ptr [RBP + -0xc],0x0
JMP 0x001846b5
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x1]
MOV qword ptr [RBP + -0x8],RDX
MOVZX ECX,byte p... |
void function_1(void *noise,int length)
{
int var_1;
void *noise_local;
int var_2;
type_1 *var_3;
var_3 = (type_1 *)noise;
for (var_1 = length; 0x4af < var_1; var_1 = var_1 + -0x4b0) {
for (var_2 = 0; var_2 < 0x4b0; var_2 = var_2 + 1) {
pool.pool[var_2] = *var_3 ^ pool.pool[var_2];
var_... | (translation_unit "void random_add_heavynoise(void *noise,int length)\n\n{\n int length_local;\n void *noise_local;\n int i;\n uchar *p;\n \n p = (uchar *)noise;\n for (length_local = length; 0x4af < length_local; length_local = length_local + -0x4b0) {\n for (i = 0; i < 0x4b0; i = i + 1) {\n pool.pool[i... | (translation_unit "void function_1(void *noise,int length)\n\n{\n int var_1;\n void *noise_local;\n int var_2;\n type_1 *var_3;\n \n var_3 = (type_1 *)noise;\n for (var_1 = length; 0x4af < var_1; var_1 = var_1 + -0x4b0) {\n for (var_2 = 0; var_2 < 0x4b0; var_2 = var_2 + 1) {\n pool.pool[var_2] = *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: (identifi... |
1339_putty_and_putty_strip.c | ecdsa_pubkey_bits | FUN_0017b915 | ecdsa_pubkey_bits |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ecdsa_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;
ec_key *ec;
key = ecdsa_newkey(self,(char *)blob,len);
if (key == (void ... |
undefined4 FUN_0017b915(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined4 uVar1;
long lVar2;
lVar2 = FUN_0017a1d9(param_1,param_2,param_3);
if (lVar2 == 0) {
uVar1 = 0xffffffff;
}
else {
uVar1 = *(undefined4 *)(*(long *)(lVar2 + 8) + 0x18);
FUN_0017a135(lVar2);
}
re... | (translation_unit "undefined4 FUN_0017b915(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n long lVar2;\n \n lVar2 = FUN_0017a1d9(param_1,param_2,param_3);\n if (lVar2 == 0) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = *(undefined4 *)(*(long *)(lVar2 + 8) + 0x18);\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 EDX,dword ptr [RBP + -0x24]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0017a1d9
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
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 *ec;
var_2 = var_1(self,(char *)blob,len);
if (var_2 == (void *)0x0) {
iVar1... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ecdsa_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 ec_key *ec;\n \n key = ecdsa_newkey(self,(char *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint 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 *ec;\n \n var_2 = var_1(self,(char *)blob,len);\n if (v... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
910_putty_and_putty_strip.c | ssh_pkt_addstring_start | FUN_00140987 | ssh_pkt_addstring_start |
void ssh_pkt_addstring_start(Packet *pkt)
{
Packet *pkt_local;
ssh_pkt_adduint32(pkt,0);
pkt->savedpos = pkt->length;
return;
}
|
void FUN_00140987(undefined8 *param_1)
{
FUN_00140911(param_1,0);
param_1[6] = *param_1;
return;
}
| (translation_unit "void FUN_00140987(undefined8 *param_1)\n\n{\n FUN_00140911(param_1,0);\n param_1[6] = *param_1;\n return;\n}\n\n" (function_definition "void FUN_00140987(undefined8 *param_1)\n\n{\n FUN_00140911(param_1,0);\n param_1[6] = *param_1;\n return;\n}" primitive_type (function_declarator "FUN_00140987... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00140911
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x30],RDX
NOP
LEAVE
RET |
void function_1(type_1 *pkt)
{
type_1 *pkt_local;
var_1(pkt,0);
pkt->savedpos = pkt->length;
return;
}
| (translation_unit "void ssh_pkt_addstring_start(Packet *pkt)\n\n{\n Packet *pkt_local;\n \n ssh_pkt_adduint32(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}\n\n" (function_definition "void ssh_pkt_addstring_start(Packet *pkt)\n\n{\n Packet *pkt_local;\n \n ssh_pkt_adduint32(pkt,0);\n pkt->savedpos = pkt->... | (translation_unit "void function_1(type_1 *pkt)\n\n{\n type_1 *pkt_local;\n \n var_1(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}\n\n" (function_definition "void function_1(type_1 *pkt)\n\n{\n type_1 *pkt_local;\n \n var_1(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}" primitive_type (function_de... | (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... |
1610_putty_and_putty_strip.c | telnet_reconfig | FUN_00199276 | telnet_reconfig |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void telnet_reconfig(void *handle,Conf *conf)
{
Conf *pCVar1;
Conf *conf_local;
void *handle_local;
Telnet telnet;
pinger_reconfig(*(Pinger *)((long)handle + 0x98),*(Conf **)((long)handle + 0x90),conf);
conf_free(*(Conf **)((long... |
void FUN_00199276(long param_1,undefined8 param_2)
{
undefined8 uVar1;
FUN_0012ecca(*(undefined8 *)(param_1 + 0x98),*(undefined8 *)(param_1 + 0x90),param_2);
FUN_0011a2fb(*(undefined8 *)(param_1 + 0x90));
uVar1 = FUN_0011a493(param_2);
*(undefined8 *)(param_1 + 0x90) = uVar1;
return;
}
| (translation_unit "void FUN_00199276(long param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n \n FUN_0012ecca(*(undefined8 *)(param_1 + 0x98),*(undefined8 *)(param_1 + 0x90),param_2);\n FUN_0011a2fb(*(undefined8 *)(param_1 + 0x90));\n uVar1 = FUN_0011a493(param_2);\n *(undefined8 *)(param_1 + 0x90) = uVar1;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RCX,qword ptr [RAX + 0x90]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x98]
MOV RDX,qword ptr [RBP + -0x20]
MOV... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,type_1 *conf)
{
type_1 *pCVar1;
type_1 *conf_local;
void *handle_local;
type_2 telnet;
var_1(*(type_3 *)((long)handle + 0x98),*(type_1 **)((long)handle + 0x90),conf);
var_2(*(type_1 **)((long)handle +... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid telnet_reconfig(void *handle,Conf *conf)\n\n{\n Conf *pCVar1;\n Conf *conf_local;\n void *handle_local;\n Telnet telnet;\n \n pinger_reconfig(*(Pinger *)((long)handle + 0x98),*(Conf **)((long)handle + 0x90),conf);\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,type_1 *conf)\n\n{\n type_1 *pCVar1;\n type_1 *conf_local;\n void *handle_local;\n type_2 telnet;\n \n var_1(*(type_3 *)((long)handle + 0x98),*(type_1 **)((long)handle + 0x90),conf);\n var_... | (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... |
1378_putty_and_putty_strip.c | hmacmd5_do_hmac | FUN_0017f364 | hmacmd5_do_hmac |
void hmacmd5_do_hmac(void *handle,uchar *blk,int len,uchar *hmac)
{
uchar *hmac_local;
int len_local;
uchar *blk_local;
void *handle_local;
hmacmd5_do_hmac_internal(handle,blk,len,(uchar *)0x0,0,hmac);
return;
}
|
void FUN_0017f364(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)
{
FUN_0017f2f0(param_1,param_2,param_3,0,0,param_4);
return;
}
| (translation_unit "void FUN_0017f364(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n FUN_0017f2f0(param_1,param_2,param_3,0,0,param_4);\n return;\n}\n\n" (function_definition "void FUN_0017f364(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n FUN... | 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 qword ptr [RBP + -0x20],RCX
MOV RCX,qword ptr [RBP + -0x20]
MOV EDX,dword ptr [RBP + -0x14]
MOV RSI,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV R9,RCX
MOV R8D,0x0
MOV ECX,0... |
void function_1(void *handle,type_1 *blk,int len,type_1 *hmac)
{
type_1 *hmac_local;
int len_local;
type_1 *blk_local;
void *handle_local;
var_1(handle,blk,len,(type_1 *)0x0,0,hmac);
return;
}
| (translation_unit "void hmacmd5_do_hmac(void *handle,uchar *blk,int len,uchar *hmac)\n\n{\n uchar *hmac_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n \n hmacmd5_do_hmac_internal(handle,blk,len,(uchar *)0x0,0,hmac);\n return;\n}\n\n" (function_definition "void hmacmd5_do_hmac(void *handle,uc... | (translation_unit "void function_1(void *handle,type_1 *blk,int len,type_1 *hmac)\n\n{\n type_1 *hmac_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n \n var_1(handle,blk,len,(type_1 *)0x0,0,hmac);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len,type_1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1463_putty_and_putty_strip.c | sha256_make_context | FUN_00188b4f | sha256_make_context |
void * sha256_make_context(void *cipher_ctx)
{
void *pvVar1;
void *cipher_ctx_local;
pvVar1 = safemalloc(3,0x6c);
return pvVar1;
}
|
void FUN_00188b4f(void)
{
FUN_0012e037(3,0x6c);
return;
}
| (translation_unit "void FUN_00188b4f(void)\n\n{\n FUN_0012e037(3,0x6c);\n return;\n}\n\n" (function_definition "void FUN_00188b4f(void)\n\n{\n FUN_0012e037(3,0x6c);\n return;\n}" primitive_type (function_declarator "FUN_00188b4f(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_ty... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV ESI,0x6c
MOV EDI,0x3
CALL 0x0012e037
LEAVE
RET |
void * function_1(void *cipher_ctx)
{
void *pvVar1;
void *cipher_ctx_local;
pvVar1 = var_1(3,0x6c);
return pvVar1;
}
| (translation_unit "void * sha256_make_context(void *cipher_ctx)\n\n{\n void *pvVar1;\n void *cipher_ctx_local;\n \n pvVar1 = safemalloc(3,0x6c);\n return pvVar1;\n}\n\n" (function_definition "void * sha256_make_context(void *cipher_ctx)\n\n{\n void *pvVar1;\n void *cipher_ctx_local;\n \n pvVar1 = safemalloc(3,... | (translation_unit "void * function_1(void *cipher_ctx)\n\n{\n void *pvVar1;\n void *cipher_ctx_local;\n \n pvVar1 = var_1(3,0x6c);\n return pvVar1;\n}\n\n" (function_definition "void * function_1(void *cipher_ctx)\n\n{\n void *pvVar1;\n void *cipher_ctx_local;\n \n pvVar1 = var_1(3,0x6c);\n return pvVar1;\n}"... | (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... |
1325_putty_and_putty_strip.c | getmp_le | FUN_00179d3c | getmp_le |
Bignum getmp_le(char **data,int *datalen)
{
Bignum_conflict pBVar1;
long in_FS_OFFSET;
int *datalen_local;
char **data_local;
int length;
char *p;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
getstring(data,datalen,&p,&length);
if (p == (char *)0x0) {
pBVar1 = (Bignum_conflict)... |
undefined8 FUN_00179d3c(undefined8 param_1,undefined8 param_2)
{
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 = 0;
}
else {
... | (translation_unit "undefined8 FUN_00179d3c(undefined8 param_1,undefined8 param_2)\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 (local_18 == 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 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
CALL 0x00179ba9
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;
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 {
pBVar1... | (translation_unit "Bignum getmp_le(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 long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n getstring(data,datalen,&p,&length);\n if (p == (char *)0x0) {... | (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 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 pBVar1 = (typ... | (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... |
1259_putty_and_putty_strip.c | des_decrypt_xdmauth | FUN_00173f04 | des_decrypt_xdmauth |
void des_decrypt_xdmauth(uchar *keydata,uchar *blk,int len)
{
long lVar1;
long in_FS_OFFSET;
int len_local;
uchar *blk_local;
uchar *keydata_local;
DESContext dc;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
des_keysetup_xdmauth(keydata,&dc);
des_cbc_decrypt(blk,len,&dc);
if (lVar1 != *(long *)(in_F... |
void FUN_00173f04(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
long in_FS_OFFSET;
undefined local_98 [136];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_00173d5b(param_1,local_98);
FUN_00172208(param_2,param_3,local_98);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) ... | (translation_unit "void FUN_00173f04(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_98 [136];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00173d5b(param_1,local_98);\n FUN_00172208(param_2,param_3,local_98);\n if (local_10 != *(lo... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xb0
MOV qword ptr [RBP + -0x98],RDI
MOV qword ptr [RBP + -0xa0],RSI
MOV dword ptr [RBP + -0xa4],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0x90]
MOV RAX,qword ptr [RBP + -0x98]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00173d5b
MOV ECX,dword ptr [RBP + ... |
void function_1(type_1 *keydata,type_1 *blk,int len)
{
long var_4;
long var_1;
int len_local;
type_1 *blk_local;
type_1 *keydata_local;
type_2 dc;
var_4 = *(long *)(var_1 + 0x28);
var_2(keydata,&dc);
var_3(blk,len,&dc);
if (var_4 != *(long *)(var_1 + 0x28)) {
/* WARNING: Sub... | (translation_unit "void des_decrypt_xdmauth(uchar *keydata,uchar *blk,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n uchar *blk_local;\n uchar *keydata_local;\n DESContext dc;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n des_keysetup_xdmauth(keydata,&dc);\n des_cbc_decrypt(blk,len,&dc);... | (translation_unit "void function_1(type_1 *keydata,type_1 *blk,int len)\n\n{\n long var_4;\n long var_1;\n int len_local;\n type_1 *blk_local;\n type_1 *keydata_local;\n type_2 dc;\n \n var_4 = *(long *)(var_1 + 0x28);\n var_2(keydata,&dc);\n var_3(blk,len,&dc);\n if (var_4 != *(long *)(var_1 + 0x28)) {\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... |
975_putty_and_putty_strip.c | ssh_alloc_sharing_rportfwd | FUN_001496ec | ssh_alloc_sharing_rportfwd |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ssh_alloc_sharing_rportfwd(Ssh_conflict ssh,char *shost,int sport,void *share_ctx)
{
int *e;
char *pcVar1;
tree234 *ptVar2;
int *piVar3;
void *share_ctx_local;
int sport_local;
char *shost_local;
Ssh_conflict ssh_local;
ss... |
bool FUN_001496ec(long param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)
{
undefined4 *puVar1;
undefined8 uVar2;
undefined4 *puVar3;
puVar1 = (undefined4 *)FUN_0012e037(1,0x30);
*(undefined8 *)(puVar1 + 4) = 0;
puVar1[1] = 0;
*(undefined8 *)(puVar1 + 8) = param_4;
uVar2 = FUN_0012cf... | (translation_unit "bool FUN_001496ec(long param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n undefined4 *puVar1;\n undefined8 uVar2;\n undefined4 *puVar3;\n \n puVar1 = (undefined4 *)FUN_0012e037(1,0x30);\n *(undefined8 *)(puVar1 + 4) = 0;\n puVar1[1] = 0;\n *(undefined8 *)(puVar1 + 8) = p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV qword ptr [RBP + -0x30],RCX
MOV ESI,0x30
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x10],0x0
MOV RAX,qword ptr [RBP +... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 ssh,char *shost,int sport,void *share_ctx)
{
int *var_2;
char *pcVar1;
type_2 *ptVar2;
int *var_7;
void *share_ctx_local;
int sport_local;
char *shost_local;
type_1 ssh_local;
type_3 *pf;
var_2 = (in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_alloc_sharing_rportfwd(Ssh_conflict ssh,char *shost,int sport,void *share_ctx)\n\n{\n int *e;\n char *pcVar1;\n tree234 *ptVar2;\n int *piVar3;\n void *share_ctx_local;\n int sport_local;\n char *shost_local;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 ssh,char *shost,int sport,void *share_ctx)\n\n{\n int *var_2;\n char *pcVar1;\n type_2 *ptVar2;\n int *var_7;\n void *share_ctx_local;\n int sport_local;\n char *shost_local;\n type_1 ssh_local;\... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
953_putty_and_putty_strip.c | ssh_hostport_setup | FUN_001443f9 | ssh_hostport_setup |
void ssh_hostport_setup(char *host,int port,Conf *conf,char **savedhost,int *savedport,
char **loghost_ret)
{
int iVar1;
char *pcVar2;
char *pcVar3;
char *pcVar4;
char **loghost_ret_local;
int *savedport_local;
char **savedhost_local;
Conf *conf_local;
int port_local;
char *... |
void FUN_001443f9(undefined8 param_1,int param_2,undefined8 param_3,undefined8 *param_4,int *param_5
,undefined8 *param_6)
{
int iVar1;
char *pcVar2;
undefined8 uVar3;
undefined *puVar4;
undefined *puVar5;
undefined8 uVar6;
int local_34;
pcVar2 = (char *)FUN_0011a6c1(param_3,9);
... | (translation_unit "void FUN_001443f9(undefined8 param_1,int param_2,undefined8 param_3,undefined8 *param_4,int *param_5\n ,undefined8 *param_6)\n\n{\n int iVar1;\n char *pcVar2;\n undefined8 uVar3;\n undefined *puVar4;\n undefined *puVar5;\n undefined8 uVar6;\n int local_34;\n \n pcVar2 = (char... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV qword ptr [RBP + -0x40],RCX
MOV qword ptr [RBP + -0x48],R8
MOV qword ptr [RBP + -0x50],R9
MOV RAX,qword ptr [RBP + -0x38]
MOV ESI,0x9
MOV RDI,RAX
CALL 0x0011a6c1
MOV qword ptr [RBP + -0x... |
void function_1(char *host,int var_4,type_1 *conf,char **savedhost,int *savedport,
char **var_2)
{
int iVar1;
char *pcVar2;
char *var_7;
char *var_9;
char **loghost_ret_local;
int *savedport_local;
char **savedhost_local;
type_1 *conf_local;
int port_local;
char *host_local;... | (translation_unit "void ssh_hostport_setup(char *host,int port,Conf *conf,char **savedhost,int *savedport,\n char **loghost_ret)\n\n{\n int iVar1;\n char *pcVar2;\n char *pcVar3;\n char *pcVar4;\n char **loghost_ret_local;\n int *savedport_local;\n char **savedhost_local;\n Conf *conf_loca... | (translation_unit "void function_1(char *host,int var_4,type_1 *conf,char **savedhost,int *savedport,\n char **var_2)\n\n{\n int iVar1;\n char *pcVar2;\n char *var_7;\n char *var_9;\n char **loghost_ret_local;\n int *savedport_local;\n char **savedhost_local;\n type_1 *conf_local;\n int p... | (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... |
1533_putty_and_putty_strip.c | share_add_channel | FUN_0018f977 | share_add_channel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_channel *
share_add_channel(ssh_sharing_connstate *cs,uint downstream_id,uint upstream_id,uint server_id,
int state,int maxpkt)
{
share_channel *e;
share_channel *psVar1;
int maxpkt_local;
int state_local;
uint ... |
undefined4 *
FUN_0018f977(long param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
undefined4 param_5,undefined4 param_6)
{
undefined4 *puVar1;
undefined4 *puVar2;
puVar1 = (undefined4 *)FUN_0012e037(1,0x38);
*puVar1 = param_2;
puVar1[1] = param_3;
puVar1[2] = param_4;
puVar... | (translation_unit "undefined4 *\nFUN_0018f977(long param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n undefined4 param_5,undefined4 param_6)\n\n{\n undefined4 *puVar1;\n undefined4 *puVar2;\n \n puVar1 = (undefined4 *)FUN_0012e037(1,0x38);\n *puVar1 = param_2;\n puVar1[1] = param_3;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV dword ptr [RBP + -0x24],ECX
MOV dword ptr [RBP + -0x28],R8D
MOV dword ptr [RBP + -0x2c],R9D
MOV ESI,0x38
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 *
function_1(type_2 *cs,type_3 downstream_id,type_3 upstream_id,type_3 server_id,
int state,int maxpkt)
{
type_1 *var_3;
type_1 *var_4;
int maxpkt_local;
int state_local;
type_3 server_id_local;
type_3 upstre... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_channel *\nshare_add_channel(ssh_sharing_connstate *cs,uint downstream_id,uint upstream_id,uint server_id,\n int state,int maxpkt)\n\n{\n share_channel *e;\n share_channel *psVar1;\n int maxpkt_local;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 *\nfunction_1(type_2 *cs,type_3 downstream_id,type_3 upstream_id,type_3 server_id,\n int state,int maxpkt)\n\n{\n type_1 *var_3;\n type_1 *var_4;\n int maxpkt_local;\n int state_local;\n type_3 ser... | (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 ... |
1164_putty_and_putty_strip.c | bignum_byte | FUN_0016ac67 | bignum_byte |
int bignum_byte(Bignum_conflict bn,int i)
{
int iVar1;
uint uVar2;
int i_local;
Bignum_conflict bn_local;
if ((i < 0) || (SBORROW4(i,(int)*bn * 8) == i + (int)*bn * -8 < 0)) {
uVar2 = 0;
}
else {
iVar1 = i;
if (i < 0) {
iVar1 = i + 7;
}
uVar2 = (uint)(bn[(long)(iVar1 >> 3) +... |
ulong FUN_0016ac67(undefined8 *param_1,int param_2)
{
int iVar1;
ulong uVar2;
if ((param_2 < 0) || (SBORROW4(param_2,(int)*param_1 * 8) == param_2 + (int)*param_1 * -8 < 0)) {
uVar2 = 0;
}
else {
iVar1 = param_2;
if (param_2 < 0) {
iVar1 = param_2 + 7;
}
uVar2 = (ulong)param_1[(... | (translation_unit "ulong FUN_0016ac67(undefined8 *param_1,int param_2)\n\n{\n int iVar1;\n ulong uVar2;\n \n if ((param_2 < 0) || (SBORROW4(param_2,(int)*param_1 * 8) == param_2 + (int)*param_1 * -8 < 0)) {\n uVar2 = 0;\n }\n else {\n iVar1 = param_2;\n if (param_2 < 0) {\n iVar1 = param_2 + 7;\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
CMP dword ptr [RBP + -0xc],0x0
JS 0x0016ac87
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
SHL EAX,0x3
CMP dword ptr [RBP + -0xc],EAX
JL 0x0016ac8e
MOV EAX,0x0
JMP 0x0016acd0
MOV EAX,dword ptr [RBP + -0xc]
LEA EDX,[RAX + 0x7]
TE... |
int function_1(type_1 bn,int var_1)
{
int var_3;
type_2 uVar2;
int i_local;
type_1 bn_local;
if ((var_1 < 0) || (var_2(var_1,(int)*bn * 8) == var_1 + (int)*bn * -8 < 0)) {
uVar2 = 0;
}
else {
var_3 = var_1;
if (var_1 < 0) {
var_3 = var_1 + 7;
}
uVar2 = (type_2)(bn[(long)(var... | (translation_unit "int bignum_byte(Bignum_conflict bn,int i)\n\n{\n int iVar1;\n uint uVar2;\n int i_local;\n Bignum_conflict bn_local;\n \n if ((i < 0) || (SBORROW4(i,(int)*bn * 8) == i + (int)*bn * -8 < 0)) {\n uVar2 = 0;\n }\n else {\n iVar1 = i;\n if (i < 0) {\n iVar1 = i + 7;\n }\n uVar... | (translation_unit "int function_1(type_1 bn,int var_1)\n\n{\n int var_3;\n type_2 uVar2;\n int i_local;\n type_1 bn_local;\n \n if ((var_1 < 0) || (var_2(var_1,(int)*bn * 8) == var_1 + (int)*bn * -8 < 0)) {\n uVar2 = 0;\n }\n else {\n var_3 = var_1;\n if (var_1 < 0) {\n var_3 = var_1 + 7;\n }\n... | (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: (primitive_type) declarator: (identifier)))) body: (compound_statement... |
1177_putty_and_putty_strip.c | bignum_add_long | FUN_0016bbec | bignum_add_long |
Bignum_conflict bignum_add_long(Bignum_conflict number,ulong n)
{
BignumInt BVar1;
Bignum_conflict pBVar2;
ulong uVar3;
ulong uVar4;
ulong n_local;
Bignum_conflict number_local;
int words;
int i;
int maxwords;
BignumCarry carry;
Bignum_conflict ret;
BignumInt nword;
BignumInt numword;
Bign... |
long * FUN_0016bbec(ulong *param_1,ulong param_2)
{
long lVar1;
long *plVar2;
ulong uVar3;
ulong uVar4;
int local_64;
int local_60;
ulong local_58;
local_64 = (int)*param_1;
if (local_64 < 1) {
local_64 = 1;
}
plVar2 = (long *)FUN_00166c60(local_64 + 1);
local_58 = 0;
*plVar2 = 0;
f... | (translation_unit "long * FUN_0016bbec(ulong *param_1,ulong param_2)\n\n{\n long lVar1;\n long *plVar2;\n ulong uVar3;\n ulong uVar4;\n int local_64;\n int local_60;\n ulong local_58;\n \n local_64 = (int)*param_1;\n if (local_64 < 1) {\n local_64 = 1;\n }\n plVar2 = (long *)FUN_00166c60(local_64 + 1);\n... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
SUB RSP,0x50
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV dword ptr [RBP + -0x54],0x1
MOV RAX,qword ptr [RBP + -0x68]
MOV RAX,qword ptr [RAX]
MOV dword ptr [RBP + -0x5c],EAX
MOV EAX,dword ptr [RBP + -0x5c]
CMP EAX,dword ptr [RBP + -0x54]
JG... |
type_1 function_1(type_1 number,type_2 n)
{
type_3 BVar1;
type_1 pBVar2;
type_2 var_5;
type_2 var_4;
type_2 n_local;
type_1 number_local;
int var_1;
int var_3;
int maxwords;
type_4 var_6;
type_1 ret;
type_3 nword;
type_3 numword;
type_5 ADC_temp;
var_1 = (int)*number;
if (var_1 < 1)... | (translation_unit "Bignum_conflict bignum_add_long(Bignum_conflict number,ulong n)\n\n{\n BignumInt BVar1;\n Bignum_conflict pBVar2;\n ulong uVar3;\n ulong uVar4;\n ulong n_local;\n Bignum_conflict number_local;\n int words;\n int i;\n int maxwords;\n BignumCarry carry;\n Bignum_conflict ret;\n BignumInt nw... | (translation_unit "type_1 function_1(type_1 number,type_2 n)\n\n{\n type_3 BVar1;\n type_1 pBVar2;\n type_2 var_5;\n type_2 var_4;\n type_2 n_local;\n type_1 number_local;\n int var_1;\n int var_3;\n int maxwords;\n type_4 var_6;\n type_1 ret;\n type_3 nword;\n type_3 numword;\n type_5 ADC_temp;\n \n 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)))) body: (compound_stateme... |
1252_putty_and_putty_strip.c | des_ssh2_decrypt_blk | FUN_001730de | des_ssh2_decrypt_blk |
void des_ssh2_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 *)handle);
return;
}
|
void FUN_001730de(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_00172208(param_2,param_3,param_1);
return;
}
| (translation_unit "void FUN_001730de(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172208(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_001730de(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172208(param_2,param_3,param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV ECX,dword ptr [RBP + -0x24]
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1(blk,len,(type_2 *)handle);
return;
}
| (translation_unit "void des_ssh2_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 *)handle);\n return;\n}\n\n" (function_definition "void des_ssh2_decrypt_blk(void *handle,uchar *blk,int len)\... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *b... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1246_putty_and_putty_strip.c | des3_encrypt_blk | FUN_00172fa5 | des3_encrypt_blk |
void des3_encrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
DESContext *keys;
des_3cbc_encrypt(blk,len,(DESContext *)handle);
return;
}
|
void FUN_00172fa5(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_00172403(param_2,param_3,param_1);
return;
}
| (translation_unit "void FUN_00172fa5(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172403(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_00172fa5(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00172403(param_2,param_3,param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV ECX,dword ptr [RBP + -0x24]
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1(blk,len,(type_2 *)handle);
return;
}
| (translation_unit "void des3_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_3cbc_encrypt(blk,len,(DESContext *)handle);\n return;\n}\n\n" (function_definition "void des3_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n ... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *b... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1348_putty_and_putty_strip.c | ec_alg_by_oid | FUN_0017d3f9 | ec_alg_by_oid |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ssh_signkey * ec_alg_by_oid(int len,void *oid,ec_curve **curve)
{
ssh_signkey *psVar1;
undefined8 *puVar2;
int iVar3;
ec_curve *peVar4;
ec_curve **curve_local;
void *oid_local;
int len_local;
int i;
ssh_signkey *alg;
ecsign_... |
undefined * FUN_0017d3f9(int param_1,void *param_2,undefined8 *param_3)
{
undefined *puVar1;
undefined8 *puVar2;
int iVar3;
undefined8 uVar4;
uint local_1c;
local_1c = 0;
while( true ) {
if (2 < local_1c) {
return (undefined *)0x0;
}
puVar1 = (&PTR_PTR_FUN_002348e0)[(int)local_1c];
... | (translation_unit "undefined * FUN_0017d3f9(int param_1,void *param_2,undefined8 *param_3)\n\n{\n undefined *puVar1;\n undefined8 *puVar2;\n int iVar3;\n undefined8 uVar4;\n uint local_1c;\n \n local_1c = 0;\n while( true ) {\n if (2 < local_1c) {\n return (undefined *)0x0;\n }\n puVar1 = (&PTR_PT... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV dword ptr [RBP + -0x24],EDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV dword ptr [RBP + -0x14],0x0
JMP 0x0017d487
MOV EAX,dword ptr [RBP + -0x14]
CDQE
LEA RDX,[RAX*0x8]
LEA RAX,[0x2348e0]
MOV RAX,qword ptr [RDX + RAX*0x1]
MOV qword ptr [RBP + -0x10],RAX
MOV... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(int var_1,void *oid,type_2 **curve)
{
type_1 *psVar1;
type_3 *var_2;
int var_4;
type_2 *peVar4;
type_2 **curve_local;
void *oid_local;
int len_local;
int var_5;
type_1 *alg;
type_4 *extra;
var_5 = 0;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nssh_signkey * ec_alg_by_oid(int len,void *oid,ec_curve **curve)\n\n{\n ssh_signkey *psVar1;\n undefined8 *puVar2;\n int iVar3;\n ec_curve *peVar4;\n ec_curve **curve_local;\n void *oid_local;\n int len_local;\n int i;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(int var_1,void *oid,type_2 **curve)\n\n{\n type_1 *psVar1;\n type_3 *var_2;\n int var_4;\n type_2 *peVar4;\n type_2 **curve_local;\n void *oid_local;\n int len_local;\n int var_5;\n type_1 *alg;\n... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator:... |
1170_putty_and_putty_strip.c | bignum_lshift | FUN_0016b1a2 | bignum_lshift |
Bignum_conflict bignum_lshift(Bignum_conflict a,int shift)
{
ulong uVar1;
int iVar2;
int iVar3;
Bignum_conflict pBVar4;
byte bVar5;
int shift_local;
Bignum_conflict a_local;
int i;
int bits;
int shiftWords;
int shiftBits;
BignumInt carry;
Bignum_conflict ret;
BignumInt from;
if (shift... |
long FUN_0016b1a2(long *param_1,int param_2)
{
ulong uVar1;
int iVar2;
int iVar3;
long lVar4;
byte bVar5;
int local_30;
ulong local_20;
if (param_2 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("shift >= 0","sshbn.c",0x69b,"bignum_lshift");
}
iVar2 = FUN... | (translation_unit "long FUN_0016b1a2(long *param_1,int param_2)\n\n{\n ulong uVar1;\n int iVar2;\n int iVar3;\n long lVar4;\n byte bVar5;\n int local_30;\n ulong local_20;\n \n if (param_2 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("shift >= 0","sshbn.c",0x69b,"big... | 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 0x0016b1d6
LEA RCX,[0x20db48]
MOV EDX,0x69b
LEA RSI,[0x20d920]
LEA RDI,[0x20da16]
CALL 0x00114a00
MOV RAX,qword ptr [RBP + -0x38]
MOV RDI,RAX
CALL 0x0016aba4
MOV EDX,EAX
MOV EAX,dword pt... |
type_1 function_1(type_1 var_9,int var_1)
{
type_2 var_11;
int var_4;
int var_5;
type_1 var_8;
type_3 var_12;
int shift_local;
type_1 a_local;
int var_10;
int bits;
int shiftWords;
int shiftBits;
type_4 var_13;
type_1 ret;
type_4 from;
if (var_1 < 0) {
/* WARNING: ... | (translation_unit "Bignum_conflict bignum_lshift(Bignum_conflict a,int shift)\n\n{\n ulong uVar1;\n int iVar2;\n int iVar3;\n Bignum_conflict pBVar4;\n byte bVar5;\n int shift_local;\n Bignum_conflict a_local;\n int i;\n int bits;\n int shiftWords;\n int shiftBits;\n BignumInt carry;\n Bignum_conflict ret;... | (translation_unit "type_1 function_1(type_1 var_9,int var_1)\n\n{\n type_2 var_11;\n int var_4;\n int var_5;\n type_1 var_8;\n type_3 var_12;\n int shift_local;\n type_1 a_local;\n int var_10;\n int bits;\n int shiftWords;\n int shiftBits;\n type_4 var_13;\n type_1 ret;\n type_4 from;\n \n if (var_1 < 0... | (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... |
904_putty_and_putty_strip.c | hash_uint32 | FUN_00140716 | hash_uint32 |
void hash_uint32(ssh_hash *h,void *s,uint i)
{
long lVar1;
long in_FS_OFFSET;
uint i_local;
void *s_local;
ssh_hash *h_local;
uchar intblk [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
intblk[0] = (uchar)(i >> 0x18);
intblk[1] = (uchar)(i >> 0x10);
intblk[2] = (uchar)(i >> 8);
intblk[3] = (uch... |
void FUN_00140716(long param_1,undefined8 param_2,undefined4 param_3)
{
long in_FS_OFFSET;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_14 = (undefined)((uint)param_3 >> 0x18);
local_13 = (undefined... | (translation_unit "void FUN_00140716(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_14 = (undefined)((uint)param_3 >> 0... | 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 FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x24]
SHR EAX,0x18
MOV byte ptr [RBP + -0xc],AL
MOV EAX,dword ptr [RBP + -0x24]
SHR EAX,0x10
... |
void function_1(type_1 *h,void *s,type_2 var_2)
{
long var_3;
long var_1;
type_2 i_local;
void *s_local;
type_1 *h_local;
type_3 intblk [4];
var_3 = *(long *)(var_1 + 0x28);
intblk[0] = (type_3)(var_2 >> 0x18);
intblk[1] = (type_3)(var_2 >> 0x10);
intblk[2] = (type_3)(var_2 >> 8);
intblk[3] =... | (translation_unit "void hash_uint32(ssh_hash *h,void *s,uint i)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uint i_local;\n void *s_local;\n ssh_hash *h_local;\n uchar intblk [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n intblk[0] = (uchar)(i >> 0x18);\n intblk[1] = (uchar)(i >> 0x10);\n intblk[2] = (uch... | (translation_unit "void function_1(type_1 *h,void *s,type_2 var_2)\n\n{\n long var_3;\n long var_1;\n type_2 i_local;\n void *s_local;\n type_1 *h_local;\n type_3 intblk [4];\n \n var_3 = *(long *)(var_1 + 0x28);\n intblk[0] = (type_3)(var_2 >> 0x18);\n intblk[1] = (type_3)(var_2 >> 0x10);\n intblk[2] = (typ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1074_putty_and_putty_strip.c | ssh_sendok | FUN_0015d886 | ssh_sendok |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ssh_sendok(void *handle)
{
void *handle_local;
Ssh_conflict ssh;
return *(int *)((long)handle + 0x174);
}
|
undefined4 FUN_0015d886(long param_1)
{
return *(undefined4 *)(param_1 + 0x174);
}
| (translation_unit "undefined4 FUN_0015d886(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 0x174);\n}\n\n" (function_definition "undefined4 FUN_0015d886(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 0x174);\n}" type_identifier (function_declarator "FUN_0015d886(long param_1)" identifier (parameter_list ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x174]
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *handle)
{
void *handle_local;
type_1 ssh;
return *(int *)((long)handle + 0x174);
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_sendok(void *handle)\n\n{\n void *handle_local;\n Ssh_conflict ssh;\n \n return *(int *)((long)handle + 0x174);\n}\n\n" comment (function_definition "int ssh_sendok(void *handle)\n\n{\n void *handle_local;\n Ssh... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle)\n\n{\n void *handle_local;\n type_1 ssh;\n \n return *(int *)((long)handle + 0x174);\n}\n\n" comment (function_definition "int function_1(void *handle)\n\n{\n void *handle_local;\n type_1 ss... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive... |
1260_putty_and_putty_strip.c | des_sesskey | FUN_00173f80 | des_sesskey |
void des_sesskey(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
DESContext *keys;
des_key(handle,key);
des_key((void *)((long)handle + 0x88),key);
return;
}
|
void FUN_00173f80(long param_1,undefined8 param_2)
{
FUN_00172ea2(param_1,param_2);
FUN_00172ea2(param_1 + 0x88,param_2);
return;
}
| (translation_unit "void FUN_00173f80(long param_1,undefined8 param_2)\n\n{\n FUN_00172ea2(param_1,param_2);\n FUN_00172ea2(param_1 + 0x88,param_2);\n return;\n}\n\n" (function_definition "void FUN_00173f80(long param_1,undefined8 param_2)\n\n{\n FUN_00172ea2(param_1,param_2);\n FUN_00172ea2(param_1 + 0x88,param_2)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00172ea2
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x88]
MOV ... |
void function_1(void *handle,type_1 *key)
{
type_1 *key_local;
void *handle_local;
type_2 *keys;
var_1(handle,key);
var_1((void *)((long)handle + 0x88),key);
return;
}
| (translation_unit "void des_sesskey(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n DESContext *keys;\n \n des_key(handle,key);\n des_key((void *)((long)handle + 0x88),key);\n return;\n}\n\n" (function_definition "void des_sesskey(void *handle,uchar *key)\n\n{\n uchar *key_local;\n vo... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(handle,key);\n var_1((void *)((long)handle + 0x88),key);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *ha... | (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... |
1776_putty_and_putty_strip.c | timer_change_notify | FUN_001b2926 | timer_change_notify |
void timer_change_notify(ulong next)
{
ulong uVar1;
ulong next_local;
long ticks;
if (timer_id != 0) {
g_source_remove(timer_id);
}
uVar1 = getticks();
ticks = next - uVar1;
if (ticks < 1) {
ticks = 1;
}
timer_id = g_timeout_add(ticks & 0xffffffff,timer_trigger,next);
return;
}
|
void FUN_001b2926(long param_1)
{
long lVar1;
ulong local_10;
if (DAT_002362a0 != 0) {
g_source_remove(DAT_002362a0);
}
lVar1 = FUN_001d0057();
local_10 = param_1 - lVar1;
if ((long)local_10 < 1) {
local_10 = 1;
}
DAT_002362a0 = g_timeout_add(local_10 & 0xffffffff,FUN_001b2848,param_1);
... | (translation_unit "void FUN_001b2926(long param_1)\n\n{\n long lVar1;\n ulong local_10;\n \n if (DAT_002362a0 != 0) {\n g_source_remove(DAT_002362a0);\n }\n lVar1 = FUN_001d0057();\n local_10 = param_1 - lVar1;\n if ((long)local_10 < 1) {\n local_10 = 1;\n }\n DAT_002362a0 = g_timeout_add(local_10 & 0xf... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV EAX,dword ptr [0x002362a0]
TEST EAX,EAX
JZ 0x001b2949
MOV EAX,dword ptr [0x002362a0]
MOV EDI,EAX
CALL 0x00116060
CALL 0x001d0057
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x18]
SUB RAX,RDX
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JG ... |
void function_1(type_1 var_4)
{
type_1 var_5;
type_1 next_local;
long var_6;
if (var_1 != 0) {
var_2(var_1);
}
var_5 = var_3();
var_6 = var_4 - var_5;
if (var_6 < 1) {
var_6 = 1;
}
var_1 = var_7(var_6 & 0xffffffff,timer_trigger,var_4);
return;
}
| (translation_unit "void timer_change_notify(ulong next)\n\n{\n ulong uVar1;\n ulong next_local;\n long ticks;\n \n if (timer_id != 0) {\n g_source_remove(timer_id);\n }\n uVar1 = getticks();\n ticks = next - uVar1;\n if (ticks < 1) {\n ticks = 1;\n }\n timer_id = g_timeout_add(ticks & 0xffffffff,timer_... | (translation_unit "void function_1(type_1 var_4)\n\n{\n type_1 var_5;\n type_1 next_local;\n long var_6;\n \n if (var_1 != 0) {\n var_2(var_1);\n }\n var_5 = var_3();\n var_6 = var_4 - var_5;\n if (var_6 < 1) {\n var_6 = 1;\n }\n var_1 = var_7(var_6 & 0xffffffff,timer_trigger,var_4);\n return;\n}\n\n"... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declara... |
1510_putty_and_putty_strip.c | sha1_do_hmac | FUN_0018ecea | sha1_do_hmac |
void sha1_do_hmac(void *handle,uchar *blk,int len,ulong seq,uchar *hmac)
{
long lVar1;
long in_FS_OFFSET;
uchar *hmac_local;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
uchar seqbuf [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
seqbuf[0] = (uchar)(seq >> 0x18);
seqbuf... |
void FUN_0018ecea(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined8 param_5)
{
long in_FS_OFFSET;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_14... | (translation_unit "void FUN_0018ecea(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined8 param_5)\n\n{\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV qword ptr [RBP + -0x30],RCX
MOV qword ptr [RBP + -0x38],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x30]
SHR RAX,0x18
MOV byte pt... |
void function_1(void *handle,type_1 *blk,int len,type_2 var_2,type_1 *hmac)
{
long var_6;
long var_1;
type_1 *hmac_local;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
type_1 seqbuf [4];
var_6 = *(long *)(var_1 + 0x28);
seqbuf[0] = (type_1)(var_2 >> 0x18);
seqbuf[1] ... | (translation_unit "void sha1_do_hmac(void *handle,uchar *blk,int len,ulong seq,uchar *hmac)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *hmac_local;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar seqbuf [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n seqbuf[0] =... | (translation_unit "void function_1(void *handle,type_1 *blk,int len,type_2 var_2,type_1 *hmac)\n\n{\n long var_6;\n long var_1;\n type_1 *hmac_local;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 seqbuf [4];\n \n var_6 = *(long *)(var_1 + 0x28);\n seqbuf[0] = (type_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1115_putty_and_putty_strip.c | blowfish_lsb_encrypt_ecb | FUN_0016581a | blowfish_lsb_encrypt_ecb |
void blowfish_lsb_encrypt_ecb(uchar *blk,int len,BlowfishContext *ctx)
{
long lVar1;
long in_FS_OFFSET;
BlowfishContext *ctx_local;
int len_local;
uchar *blk_local;
word32 xL;
word32 xR;
word32 out [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
len_local = len;
blk_local = blk;
if ((len & 7U)... |
void FUN_0016581a(undefined4 *param_1,uint param_2,undefined8 param_3)
{
long in_FS_OFFSET;
uint local_34;
undefined4 *local_30;
undefined local_18 [8];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_34 = param_2;
local_30 = param_1;
if ((param_2 & 7) != 0) {
... | (translation_unit "void FUN_0016581a(undefined4 *param_1,uint param_2,undefined8 param_3)\n\n{\n long in_FS_OFFSET;\n uint local_34;\n undefined4 *local_30;\n undefined local_18 [8];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_34 = param_2;\n local_30 = param_1;\n if ((param_2 & 7... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x2c]
AND EAX,0x7
TEST EAX,EAX
JZ 0x0016599b
LEA RCX,[0x20d880]
MOV EDX,0x14f
LEA RSI,[0x20d8... |
void function_1(type_1 *blk,int var_2,type_2 *ctx)
{
long var_7;
long var_1;
type_2 *ctx_local;
int var_4;
type_1 *var_6;
type_3 xL;
type_3 xR;
type_3 out [2];
var_7 = *(long *)(var_1 + 0x28);
var_4 = var_2;
var_6 = blk;
if ((var_2 & 7U) != 0) {
/* WARNING: Subroutine do... | (translation_unit "void blowfish_lsb_encrypt_ecb(uchar *blk,int len,BlowfishContext *ctx)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n BlowfishContext *ctx_local;\n int len_local;\n uchar *blk_local;\n word32 xL;\n word32 xR;\n word32 out [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n len_local = len;\n b... | (translation_unit "void function_1(type_1 *blk,int var_2,type_2 *ctx)\n\n{\n long var_7;\n long var_1;\n type_2 *ctx_local;\n int var_4;\n type_1 *var_6;\n type_3 xL;\n type_3 xR;\n type_3 out [2];\n \n var_7 = *(long *)(var_1 + 0x28);\n var_4 = var_2;\n var_6 = blk;\n if ((var_2 & 7U) != 0) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1467_putty_and_putty_strip.c | hmacsha256_start | FUN_00188d15 | hmacsha256_start |
void hmacsha256_start(void *handle)
{
void *handle_local;
SHA256_State *keys;
/* WARNING: Load size is inaccurate */
*(undefined8 *)((long)handle + 0xd8) = *handle;
*(undefined8 *)((long)handle + 0xe0) = *(undefined8 *)((long)handle + 8);
*(undefined8 *)((long)handle + 0xe8) = *(undef... |
void FUN_00188d15(undefined8 *param_1)
{
param_1[0x1b] = *param_1;
param_1[0x1c] = param_1[1];
param_1[0x1d] = param_1[2];
param_1[0x1e] = param_1[3];
param_1[0x1f] = param_1[4];
param_1[0x20] = param_1[5];
param_1[0x21] = param_1[6];
param_1[0x22] = param_1[7];
param_1[0x23] = param_1[8];
param_1... | (translation_unit "void FUN_00188d15(undefined8 *param_1)\n\n{\n param_1[0x1b] = *param_1;\n param_1[0x1c] = param_1[1];\n param_1[0x1d] = param_1[2];\n param_1[0x1e] = param_1[3];\n param_1[0x1f] = param_1[4];\n param_1[0x20] = param_1[5];\n param_1[0x21] = param_1[6];\n param_1[0x22] = param_1[7];\n param_1[... | PUSH RBP
MOV RBP,RSP
PUSH RBX
MOV qword ptr [RBP + -0x20],RDI
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
LEA RDX,[RAX + 0xd8]
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RAX]
MOV RBX,qword ptr [RAX + 0x8]
MOV qword ptr [RDX],RCX
MOV qword ptr [RDX + 0x8],RBX
M... |
void function_1(void *handle)
{
void *handle_local;
type_1 *keys;
/* WARNING: Load size is inaccurate */
*(type_2 *)((long)handle + 0xd8) = *handle;
*(type_2 *)((long)handle + 0xe0) = *(type_2 *)((long)handle + 8);
*(type_2 *)((long)handle + 0xe8) = *(type_2 *)((long)handle + 0x10);
... | (translation_unit "void hmacsha256_start(void *handle)\n\n{\n void *handle_local;\n SHA256_State *keys;\n \n /* WARNING: Load size is inaccurate */\n *(undefined8 *)((long)handle + 0xd8) = *handle;\n *(undefined8 *)((long)handle + 0xe0) = *(undefined8 *)((long)handle + 8);\n *(undefined8 *)((lo... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *keys;\n \n /* WARNING: Load size is inaccurate */\n *(type_2 *)((long)handle + 0xd8) = *handle;\n *(type_2 *)((long)handle + 0xe0) = *(type_2 *)((long)handle + 8);\n *(type_2 *)((long)handle + 0xe8) = *(type_2... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1865_putty_and_putty_strip.c | eventlog_selection_clear | FUN_001ba53c | eventlog_selection_clear |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
gint eventlog_selection_clear(GtkWidget *widget,GdkEventSelection *seldata,gpointer data)
{
uctrl *puVar1;
undefined8 uVar2;
gpointer data_local;
GdkEventSelection *seldata_local;
GtkWidget *widget_local;
eventlog_stuff *es;
uctrl... |
undefined8 FUN_001ba53c(undefined8 param_1,undefined8 param_2,long param_3)
{
long lVar1;
undefined8 uVar2;
lVar1 = FUN_001b2d0b(param_3 + 0xc18,*(undefined8 *)(param_3 + 0xc78));
*(undefined4 *)(param_3 + 0xc9c) = 1;
if (*(long *)(lVar1 + 0x38) == 0) {
/* WARNING: Subroutine does not... | (translation_unit "undefined8 FUN_001ba53c(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n long lVar1;\n undefined8 uVar2;\n \n lVar1 = FUN_001b2d0b(param_3 + 0xc18,*(undefined8 *)(param_3 + 0xc78));\n *(undefined4 *)(param_3 + 0xc9c) = 1;\n if (*(long *)(lVar1 + 0x38) == 0) {\n /* W... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0xc78]
MOV RDX,qword ptr [RBP + -0x10]
ADD RDX,0xc18
MOV RSI,RAX
MOV ... |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *seldata,type_4 data)
{
type_5 *puVar1;
type_6 uVar2;
type_4 data_local;
type_3 *seldata_local;
type_2 *widget_local;
type_7 *es;
type_5 *uc;
puVar1 = var_1((type_8 *)((long)data + 0xc1... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ngint eventlog_selection_clear(GtkWidget *widget,GdkEventSelection *seldata,gpointer data)\n\n{\n uctrl *puVar1;\n undefined8 uVar2;\n gpointer data_local;\n GdkEventSelection *seldata_local;\n GtkWidget *widget_local;\n ... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n\ntype_1 function_1(type_2 *widget,type_3 *seldata,type_4 data)\n\n{\n type_5 *puVar1;\n type_6 uVar2;\n type_4 data_local;\n type_3 *seldata_local;\n type_2 *widget_local;\n type_7 *es;\n type_5 *uc;\n \n puVar1 = var... | (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... |
1548_putty_and_putty_strip.c | share_disconnect | FUN_00190c37 | share_disconnect |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_disconnect(ssh_sharing_connstate *cs,char *message)
{
int iVar1;
int iVar2;
size_t sVar3;
undefined *pkt;
char *message_local;
ssh_sharing_connstate *cs_local;
int msglen;
int pos;
char *packet;
sVar3 = strlen(... |
void FUN_00190c37(undefined8 param_1,char *param_2)
{
int iVar1;
int iVar2;
size_t sVar3;
undefined *puVar4;
sVar3 = strlen(param_2);
iVar2 = (int)sVar3;
puVar4 = (undefined *)FUN_0012e037((long)(iVar2 + 0x100),1);
*puVar4 = 0;
puVar4[1] = 0;
puVar4[2] = 0;
puVar4[3] = 2;
puVar4[4] = (char)... | (translation_unit "void FUN_00190c37(undefined8 param_1,char *param_2)\n\n{\n int iVar1;\n int iVar2;\n size_t sVar3;\n undefined *puVar4;\n \n sVar3 = strlen(param_2);\n iVar2 = (int)sVar3;\n puVar4 = (undefined *)FUN_0012e037((long)(iVar2 + 0x100),1);\n *puVar4 = 0;\n puVar4[1] = 0;\n puVar4[2] = 0;\n puV... | 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 0x00114630
MOV dword ptr [RBP + -0x10],EAX
MOV EAX,dword ptr [RBP + -0x10]
ADD EAX,0x100
CDQE
MOV ESI,0x1
MOV RDI,RAX
CALL 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
MOV dwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *cs,char *message)
{
int iVar1;
int var_3;
size_t var_4;
type_2 *var_6;
char *message_local;
type_1 *cs_local;
int msglen;
int pos;
char *packet;
var_4 = var_1(message);
var_3 = (int)var_4;
var_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_disconnect(ssh_sharing_connstate *cs,char *message)\n\n{\n int iVar1;\n int iVar2;\n size_t sVar3;\n undefined *pkt;\n char *message_local;\n ssh_sharing_connstate *cs_local;\n int msglen;\n int pos;\n cha... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs,char *message)\n\n{\n int iVar1;\n int var_3;\n size_t var_4;\n type_2 *var_6;\n char *message_local;\n type_1 *cs_local;\n int msglen;\n int pos;\n char *packet;\n \n var_4 = var_1(messa... | (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... |
1440_putty_and_putty_strip.c | rsa2_private_blob | FUN_00186415 | rsa2_private_blob |
uchar * rsa2_private_blob(void *key,int *len)
{
int iVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
int iVar6;
int iVar7;
int iVar8;
uchar *puVar9;
int *len_local;
void *key_local;
int i;
int dlen;
int plen;
int qlen;
int ulen;
int bloblen;
uchar *p;
RSAKey *rsa;
uchar *blob... |
char * FUN_00186415(long param_1,int *param_2)
{
char cVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
int iVar6;
int iVar7;
int iVar8;
int iVar9;
char *pcVar10;
int local_38;
char *local_20;
iVar2 = FUN_0016aba4(*(undefined8 *)(param_1 + 0x18));
iVar3 = iVar2 + 8;
if (iVar2 + 8 < 0... | (translation_unit "char * FUN_00186415(long param_1,int *param_2)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n int iVar9;\n char *pcVar10;\n int local_38;\n char *local_20;\n \n iVar2 = FUN_0016aba4(*(undefined8 *)(param_1 + 0x18));\n iVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x18]
MOV RDI,RAX
CALL 0x0016aba4
ADD EAX,0x8
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,... |
type_1 * function_1(void *key,int *len)
{
int var_2;
int var_4;
int var_8;
int var_5;
int var_9;
int var_6;
int var_14;
int var_3;
type_1 *var_11;
int *len_local;
void *key_local;
int var_7;
int dlen;
int plen;
int qlen;
int ulen;
int bloblen;
type_1 *var_13;
type_2 *rsa;
type_... | (translation_unit "uchar * rsa2_private_blob(void *key,int *len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n uchar *puVar9;\n int *len_local;\n void *key_local;\n int i;\n int dlen;\n int plen;\n int qlen;\n int ulen;\n int bloblen;\n ... | (translation_unit "type_1 * function_1(void *key,int *len)\n\n{\n int var_2;\n int var_4;\n int var_8;\n int var_5;\n int var_9;\n int var_6;\n int var_14;\n int var_3;\n type_1 *var_11;\n int *len_local;\n void *key_local;\n int var_7;\n int dlen;\n int plen;\n int qlen;\n int ulen;\n int bloblen;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
1477_putty_and_putty_strip.c | SHA512_Init | FUN_0018d1b6 | SHA512_Init |
int SHA512_Init(SHA512_CTX *c)
{
SHA512_State *s_local;
int i;
SHA512_Core_Init((SHA512_State *)c);
*(undefined4 *)(c[1].h + 5) = 0;
for (i = 0; i < 4; i = i + 1) {
*(undefined4 *)((long)c[1].h + (long)i * 4 + 0x2c) = 0;
}
return (int)c;
}
|
void FUN_0018d1b6(long param_1)
{
undefined4 local_c;
FUN_00189198(param_1);
*(undefined4 *)(param_1 + 0x100) = 0;
for (local_c = 0; local_c < 4; local_c = local_c + 1) {
*(undefined4 *)(param_1 + 4 + ((long)local_c + 0x40) * 4) = 0;
}
return;
}
| (translation_unit "void FUN_0018d1b6(long param_1)\n\n{\n undefined4 local_c;\n \n FUN_00189198(param_1);\n *(undefined4 *)(param_1 + 0x100) = 0;\n for (local_c = 0; local_c < 4; local_c = local_c + 1) {\n *(undefined4 *)(param_1 + 4 + ((long)local_c + 0x40) * 4) = 0;\n }\n return;\n}\n\n" (function_definitio... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x18
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x00189198
MOV RAX,qword ptr [RBP + -0x18]
MOV dword ptr [RAX + 0x100],0x0
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0018d1ff
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
ADD RD... |
int function_1(type_1 *c)
{
type_2 *s_local;
int var_2;
var_1((type_2 *)c);
*(type_3 *)(c[1].h + 5) = 0;
for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {
*(type_3 *)((long)c[1].h + (long)var_2 * 4 + 0x2c) = 0;
}
return (int)c;
}
| (translation_unit "int SHA512_Init(SHA512_CTX *c)\n\n{\n SHA512_State *s_local;\n int i;\n \n SHA512_Core_Init((SHA512_State *)c);\n *(undefined4 *)(c[1].h + 5) = 0;\n for (i = 0; i < 4; i = i + 1) {\n *(undefined4 *)((long)c[1].h + (long)i * 4 + 0x2c) = 0;\n }\n return (int)c;\n}\n\n" (function_definition "... | (translation_unit "int function_1(type_1 *c)\n\n{\n type_2 *s_local;\n int var_2;\n \n var_1((type_2 *)c);\n *(type_3 *)(c[1].h + 5) = 0;\n for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {\n *(type_3 *)((long)c[1].h + (long)var_2 * 4 + 0x2c) = 0;\n }\n return (int)c;\n}\n\n" (function_definition "int function... | (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... |
1528_putty_and_putty_strip.c | share_connstate_free | FUN_0018f5fb | share_connstate_free |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_connstate_free(ssh_sharing_connstate *cs)
{
share_globreq *ptr;
void *pvVar1;
share_xchannel *xc_00;
ssh_sharing_connstate *cs_local;
share_halfchannel *hc;
share_channel *chan;
share_xchannel *xc;
share_forwarding *f... |
void FUN_0018f5fb(long param_1)
{
undefined8 uVar1;
long lVar2;
while( true ) {
lVar2 = FUN_001af583(*(undefined8 *)(param_1 + 0x4048),0);
if (lVar2 == 0) break;
FUN_0012e243(lVar2);
}
FUN_001ad4b4(*(undefined8 *)(param_1 + 0x4048));
FUN_001ad4b4(*(undefined8 *)(param_1 + 0x4058));
while(... | (translation_unit "void FUN_0018f5fb(long param_1)\n\n{\n undefined8 uVar1;\n long lVar2;\n \n while( true ) {\n lVar2 = FUN_001af583(*(undefined8 *)(param_1 + 0x4048),0);\n if (lVar2 == 0) break;\n FUN_0012e243(lVar2);\n }\n FUN_001ad4b4(*(undefined8 *)(param_1 + 0x4048));\n FUN_001ad4b4(*(undefined8 *... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
JMP 0x0018f615
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x0012e243
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX + 0x4048]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x001af583
MOV qword ptr [RBP + -0x28],RAX
CMP qword ptr [RBP + -0x28],0x0
JNZ 0x0018... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *cs)
{
type_2 *ptr;
void *var_2;
type_3 *var_5;
type_1 *cs_local;
type_4 *hc;
type_5 *chan;
type_3 *xc;
type_6 *fwd;
type_2 *globreq;
while( true ) {
var_2 = var_1(cs->halfchannels,0);
if (v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_connstate_free(ssh_sharing_connstate *cs)\n\n{\n share_globreq *ptr;\n void *pvVar1;\n share_xchannel *xc_00;\n ssh_sharing_connstate *cs_local;\n share_halfchannel *hc;\n share_channel *chan;\n share_xchann... | (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_2 *ptr;\n void *var_2;\n type_3 *var_5;\n type_1 *cs_local;\n type_4 *hc;\n type_5 *chan;\n type_3 *xc;\n type_6 *fwd;\n type_2 *globreq;\n \n while( true ) {\n var_2 = va... | (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... |
1068_putty_and_putty_strip.c | ssh_alloc_sharing_channel | FUN_0015d582 | ssh_alloc_sharing_channel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
uint ssh_alloc_sharing_channel(Ssh_conflict ssh,void *sharing_ctx)
{
ssh_channel *c_00;
void *sharing_ctx_local;
Ssh_conflict ssh_local;
ssh_channel *c;
c_00 = (ssh_channel *)safemalloc(1,0x90);
c_00->ssh = ssh;
ssh_channel_ini... |
undefined4 FUN_0015d582(undefined8 param_1,undefined8 param_2)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)FUN_0012e037(1,0x90);
*puVar1 = param_1;
FUN_00151e64(puVar1);
*(undefined4 *)(puVar1 + 2) = 4;
puVar1[0xe] = param_2;
return *(undefined4 *)((long)puVar1 + 0xc);
}
| (translation_unit "undefined4 FUN_0015d582(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_0012e037(1,0x90);\n *puVar1 = param_1;\n FUN_00151e64(puVar1);\n *(undefined4 *)(puVar1 + 2) = 4;\n puVar1[0xe] = param_2;\n return *(undefined4 *)((long)puVar1 + 0xc);\n}... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV ESI,0x90
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00151e64
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 ssh,void *sharing_ctx)
{
type_3 *c_00;
void *sharing_ctx_local;
type_2 ssh_local;
type_3 *c;
c_00 = (type_3 *)var_1(1,0x90);
c_00->ssh = ssh;
var_2(c_00);
c_00->type = 4;
(c_00->u).a.inbuffer.head =... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nuint ssh_alloc_sharing_channel(Ssh_conflict ssh,void *sharing_ctx)\n\n{\n ssh_channel *c_00;\n void *sharing_ctx_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n \n c_00 = (ssh_channel *)safemalloc(1,0x90);\n c_00-... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 ssh,void *sharing_ctx)\n\n{\n type_3 *c_00;\n void *sharing_ctx_local;\n type_2 ssh_local;\n type_3 *c;\n \n c_00 = (type_3 *)var_1(1,0x90);\n c_00->ssh = ssh;\n var_2(c_00);\n c_00->type = 4... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator... |
1560_putty_and_putty_strip.c | share_receive | FUN_00193969 | share_receive |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_receive(Plug plug,int urgent,char *data,int len)
{
char cVar1;
int iVar2;
Plug pppVar3;
char *pcVar4;
char *data_local;
int len_local;
int urgent_local;
Plug plug_local;
uchar c;
ssh_sharing_connstate *cs;
int *... |
void FUN_00193969(long param_1,undefined8 param_2,char *param_3,int param_4)
{
char cVar1;
int iVar2;
undefined4 uVar3;
undefined4 *puVar4;
undefined8 uVar5;
char *local_50;
int local_48;
puVar4 = (undefined4 *)(param_1 + 0x20);
iVar2 = *(int *)(param_1 + 0x20);
local_50 = param_3;
local_48 =... | (translation_unit "void FUN_00193969(long param_1,undefined8 param_2,char *param_3,int param_4)\n\n{\n char cVar1;\n int iVar2;\n undefined4 uVar3;\n undefined4 *puVar4;\n undefined8 uVar5;\n char *local_50;\n int local_48;\n \n puVar4 = (undefined4 *)(param_1 + 0x20);\n iVar2 = *(int *)(param_1 + 0x20);\n l... | 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 dword ptr [RBP + -0x40],ECX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x28]
ADD RAX,0x20
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_1,int urgent,char *data,int len)
{
char var_4;
int var_2;
type_1 pppVar3;
char *pcVar4;
char *var_10;
int var_3;
int urgent_local;
type_1 plug_local;
type_2 c;
type_3 *cs;
int *crLine;
char *bu... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_receive(Plug plug,int urgent,char *data,int len)\n\n{\n char cVar1;\n int iVar2;\n Plug pppVar3;\n char *pcVar4;\n char *data_local;\n int len_local;\n int urgent_local;\n Plug plug_local;\n uchar c;\n ss... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_1,int urgent,char *data,int len)\n\n{\n char var_4;\n int var_2;\n type_1 pppVar3;\n char *pcVar4;\n char *var_10;\n int var_3;\n int urgent_local;\n type_1 plug_local;\n type_2 c;\n type_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
1568_putty_and_putty_strip.c | nullplug_socket_log | FUN_001942e3 | nullplug_socket_log |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void nullplug_socket_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
SockAddr addr_local;
int port_local;
int type_local;
Plug plug_local;
return;
}
|
void FUN_001942e3(void)
{
return;
}
| (translation_unit "void FUN_001942e3(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001942e3(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001942e3(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x10],ECX
MOV qword ptr [RBP + -0x20],R8
MOV dword ptr [RBP + -0x24],R9D
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,int type,type_2 addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
type_2 addr_local;
int port_local;
int type_local;
type_1 plug_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid nullplug_socket_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n SockAddr addr_local;\n int port_local;\n int type_local;\n Plug ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int type,type_2 addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n type_2 addr_local;\n int port_local;\n int type_local;\n type_1 plug_loca... | (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... |
1480_putty_and_putty_strip.c | SHA512_Final | FUN_0018d665 | SHA512_Final |
int SHA512_Final(SHA512_State *s,uchar *digest)
{
int iVar1;
long lVar2;
ulong uVar3;
ulong uVar4;
uint uVar5;
long in_FS_OFFSET;
uchar *digest_local;
SHA512_State *s_local;
int i;
int pad;
uint32 lenhi;
uint32 lenlo;
uint32 h;
uint32 l;
uint32 len [4];
uchar c [128];
lVar2 = *(lo... |
void FUN_0018d665(long param_1,long param_2)
{
int iVar1;
undefined8 uVar2;
undefined8 uVar3;
uint uVar4;
long in_FS_OFFSET;
int local_c0;
int local_bc;
uint auStack_a8 [4];
undefined local_98 [136];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(param_1 + 0x100) < 0... | (translation_unit "void FUN_0018d665(long param_1,long param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n uint uVar4;\n long in_FS_OFFSET;\n int local_c0;\n int local_bc;\n uint auStack_a8 [4];\n undefined local_98 [136];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xd0
MOV qword ptr [RBP + -0xc8],RDI
MOV qword ptr [RBP + -0xd0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0xc8]
MOV EAX,dword ptr [RAX + 0x100]
CMP EAX,0x6f
JLE 0x0018d6bd
MOV RAX,qword ptr [RBP + -0xc8]
MOV EAX,dword ptr [RAX + 0x... |
int function_1(type_1 *s,type_2 *digest)
{
int var_3;
long var_9;
type_3 var_7;
type_3 var_8;
type_4 var_4;
long var_1;
type_2 *digest_local;
type_1 *s_local;
int var_2;
int pad;
type_5 lenhi;
type_5 lenlo;
type_5 h;
type_5 l;
type_5 len [4];
type_2 c [128];
var_9 = *(long *)(var_... | (translation_unit "int SHA512_Final(SHA512_State *s,uchar *digest)\n\n{\n int iVar1;\n long lVar2;\n ulong uVar3;\n ulong uVar4;\n uint uVar5;\n long in_FS_OFFSET;\n uchar *digest_local;\n SHA512_State *s_local;\n int i;\n int pad;\n uint32 lenhi;\n uint32 lenlo;\n uint32 h;\n uint32 l;\n uint32 len [4];... | (translation_unit "int function_1(type_1 *s,type_2 *digest)\n\n{\n int var_3;\n long var_9;\n type_3 var_7;\n type_3 var_8;\n type_4 var_4;\n long var_1;\n type_2 *digest_local;\n type_1 *s_local;\n int var_2;\n int pad;\n type_5 lenhi;\n type_5 lenlo;\n type_5 h;\n type_5 l;\n type_5 len [4];\n type_2 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1768_putty_and_putty_strip.c | columns_get_preferred_height | FUN_001b2135 | columns_get_preferred_height |
void columns_get_preferred_height(GtkWidget *widget,gint *min,gint *nat)
{
gint gVar1;
GType GVar2;
Columns *cols_00;
gint *nat_local;
gint *min_local;
GtkWidget *widget_local;
gboolean __r;
GTypeInstance *__inst;
GType __t;
Columns *cols;
if (widget == (GtkWidget *)0x0) {
g_return_if_fai... |
void FUN_001b2135(long *param_1,undefined4 *param_2,undefined4 *param_3)
{
undefined4 uVar1;
long lVar2;
undefined8 uVar3;
int local_24;
if (param_1 == (long *)0x0) {
g_return_if_fail_warning(0,"columns_get_preferred_height","widget != NULL");
}
else {
lVar2 = FUN_001afc3e();
if (param_1 ... | (translation_unit "void FUN_001b2135(long *param_1,undefined4 *param_2,undefined4 *param_3)\n\n{\n undefined4 uVar1;\n long lVar2;\n undefined8 uVar3;\n int local_24;\n \n if (param_1 == (long *)0x0) {\n g_return_if_fail_warning(0,"columns_get_preferred_height","widget != NULL");\n }\n else {\n lVar2 = FU... | 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
CMP qword ptr [RBP + -0x28],0x0
JNZ 0x001b216d
LEA RDX,[0x2132a8]
LEA RSI,[0x213540]
MOV EDI,0x0
CALL 0x00114230
JMP 0x001b2249
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x18],RA... |
void function_1(type_1 *var_1,type_2 *var_8,type_2 *var_10)
{
type_2 gVar1;
type_3 var_4;
type_4 *cols_00;
type_2 *nat_local;
type_2 *min_local;
type_1 *widget_local;
type_5 var_6;
type_6 *__inst;
type_3 __t;
type_4 *cols;
if (var_1 == (type_1 *)0x0) {
var_2(0,"columns_get_preferred_heigh... | (translation_unit "void columns_get_preferred_height(GtkWidget *widget,gint *min,gint *nat)\n\n{\n gint gVar1;\n GType GVar2;\n Columns *cols_00;\n gint *nat_local;\n gint *min_local;\n GtkWidget *widget_local;\n gboolean __r;\n GTypeInstance *__inst;\n GType __t;\n Columns *cols;\n \n if (widget == (GtkWid... | (translation_unit "void function_1(type_1 *var_1,type_2 *var_8,type_2 *var_10)\n\n{\n type_2 gVar1;\n type_3 var_4;\n type_4 *cols_00;\n type_2 *nat_local;\n type_2 *min_local;\n type_1 *widget_local;\n type_5 var_6;\n type_6 *__inst;\n type_3 __t;\n type_4 *cols;\n \n if (var_1 == (type_1 *)0x0) {\n var... | (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... |
1285_putty_and_putty_strip.c | dss_pubkey_bits | FUN_0017604e | dss_pubkey_bits |
int dss_pubkey_bits(ssh_signkey *self,void *blob,int len)
{
int iVar1;
undefined8 *key;
int len_local;
void *blob_local;
ssh_signkey *self_local;
int ret;
dss_key *dss;
key = (undefined8 *)dss_newkey(self,(char *)blob,len);
if (key == (undefined8 *)0x0) {
iVar1 = -1;
}
else {
iVar1 = ... |
undefined4 FUN_0017604e(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined4 uVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)FUN_00174883(param_1,param_2,param_3);
if (puVar2 == (undefined8 *)0x0) {
uVar1 = 0xffffffff;
}
else {
uVar1 = FUN_0016aba4(*puVar2);
FUN_00174a31... | (translation_unit "undefined4 FUN_0017604e(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n undefined8 *puVar2;\n \n puVar2 = (undefined8 *)FUN_00174883(param_1,param_2,param_3);\n if (puVar2 == (undefined8 *)0x0) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = FUN_0016ab... | 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 0x00174883
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
int function_1(type_1 *self,void *blob,int len)
{
int iVar1;
type_2 *var_2;
int len_local;
void *blob_local;
type_1 *self_local;
int ret;
type_3 *dss;
var_2 = (type_2 *)var_1(self,(char *)blob,len);
if (var_2 == (type_2 *)0x0) {
iVar1 = -1;
}
else {
iVar1 = var_3((Bignum_conflict)*var... | (translation_unit "int dss_pubkey_bits(ssh_signkey *self,void *blob,int len)\n\n{\n int iVar1;\n undefined8 *key;\n int len_local;\n void *blob_local;\n ssh_signkey *self_local;\n int ret;\n dss_key *dss;\n \n key = (undefined8 *)dss_newkey(self,(char *)blob,len);\n if (key == (undefined8 *)0x0) {\n iVar1 ... | (translation_unit "int function_1(type_1 *self,void *blob,int len)\n\n{\n int iVar1;\n type_2 *var_2;\n int len_local;\n void *blob_local;\n type_1 *self_local;\n int ret;\n type_3 *dss;\n \n var_2 = (type_2 *)var_1(self,(char *)blob,len);\n if (var_2 == (type_2 *)0x0) {\n iVar1 = -1;\n }\n else {\n i... | (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... |
1055_putty_and_putty_strip.c | ssh2_timer | FUN_0015b52e | ssh2_timer |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_timer(void *ctx,ulong now)
{
int iVar1;
ulong now_local;
void *ctx_local;
Ssh_conflict ssh;
if (((*(int *)((long)ctx + 0x1d0) != 4) && (*(int *)((long)ctx + 0xc10) == 0)) &&
(*(int *)((long)ctx + 0x158) == 0)) {
... |
void FUN_0015b52e(long param_1,long param_2)
{
int iVar1;
if (((*(int *)(param_1 + 0x1d0) != 4) && (*(int *)(param_1 + 0xc10) == 0)) &&
(*(int *)(param_1 + 0x158) == 0)) {
iVar1 = FUN_0011a4c1(*(undefined8 *)(param_1 + 0x380),0x1a);
if ((iVar1 != 0) && (param_2 == *(long *)(param_1 + 0xc18))) {
... | (translation_unit "void FUN_0015b52e(long param_1,long param_2)\n\n{\n int iVar1;\n \n if (((*(int *)(param_1 + 0x1d0) != 4) && (*(int *)(param_1 + 0xc10) == 0)) &&\n (*(int *)(param_1 + 0x158) == 0)) {\n iVar1 = FUN_0011a4c1(*(undefined8 *)(param_1 + 0x380),0x1a);\n if ((iVar1 != 0) && (param_2 == *(long ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x1d0]
CMP EAX,0x4
JZ 0x0015b5bd
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0xc10]
TEST EA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *ctx,type_1 var_3)
{
int var_2;
type_1 now_local;
void *ctx_local;
type_2 ssh;
if (((*(int *)((long)ctx + 0x1d0) != 4) && (*(int *)((long)ctx + 0xc10) == 0)) &&
(*(int *)((long)ctx + 0x158) == 0)) {
va... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_timer(void *ctx,ulong now)\n\n{\n int iVar1;\n ulong now_local;\n void *ctx_local;\n Ssh_conflict ssh;\n \n if (((*(int *)((long)ctx + 0x1d0) != 4) && (*(int *)((long)ctx + 0xc10) == 0)) &&\n (*(int *)((lo... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *ctx,type_1 var_3)\n\n{\n int var_2;\n type_1 now_local;\n void *ctx_local;\n type_2 ssh;\n \n if (((*(int *)((long)ctx + 0x1d0) != 4) && (*(int *)((long)ctx + 0xc10) == 0)) &&\n (*(int *)((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: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
1140_putty_and_putty_strip.c | internal_add | FUN_00166e35 | internal_add |
BignumCarry internal_add(BignumInt *a,BignumInt *b,BignumInt *c,int len)
{
ulong uVar1;
BignumInt BVar2;
int len_local;
BignumInt *c_local;
BignumInt *b_local;
BignumInt *a_local;
int i;
BignumCarry carry;
BignumDblInt ADC_temp;
carry = 0;
for (i = len + -1; -1 < i; i = i + -1) {
uVar1 = ... |
undefined [16] FUN_00166e35(long param_1,long param_2,long param_3,int param_4)
{
ulong uVar1;
ulong uVar2;
ulong uVar3;
long lVar4;
undefined auVar5 [16];
undefined4 local_24;
undefined8 local_20;
local_20 = 0;
lVar4 = param_3;
for (local_24 = param_4 + -1; -1 < local_24; local_24 = local_24 ... | (translation_unit "undefined [16] FUN_00166e35(long param_1,long param_2,long param_3,int param_4)\n\n{\n ulong uVar1;\n ulong uVar2;\n ulong uVar3;\n long lVar4;\n undefined auVar5 [16];\n undefined4 local_24;\n undefined8 local_20;\n \n local_20 = 0;\n lVar4 = param_3;\n for (local_24 = param_4 + -1; -1 <... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV dword ptr [RBP + -0x3c],ECX
MOV qword ptr [RBP + -0x18],0x0
MOV EAX,dword ptr [RBP + -0x3c]
SUB EAX,0x1
MOV dword ptr [RBP + -0x1c],EAX
JMP 0x00166ef4
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
LEA RDX,[RA... |
type_1 function_1(type_2 *a,type_2 *b,type_2 *c,int var_1)
{
type_3 var_3;
type_2 BVar2;
int len_local;
type_2 *c_local;
type_2 *b_local;
type_2 *a_local;
int var_2;
type_1 var_4;
type_4 ADC_temp;
var_4 = 0;
for (var_2 = var_1 + -1; -1 < var_2; var_2 = var_2 + -1) {
var_3 = a[var_2] + b[v... | (translation_unit "BignumCarry internal_add(BignumInt *a,BignumInt *b,BignumInt *c,int len)\n\n{\n ulong uVar1;\n BignumInt BVar2;\n int len_local;\n BignumInt *c_local;\n BignumInt *b_local;\n BignumInt *a_local;\n int i;\n BignumCarry carry;\n BignumDblInt ADC_temp;\n \n carry = 0;\n for (i = len + -1; -1... | (translation_unit "type_1 function_1(type_2 *a,type_2 *b,type_2 *c,int var_1)\n\n{\n type_3 var_3;\n type_2 BVar2;\n int len_local;\n type_2 *c_local;\n type_2 *b_local;\n type_2 *a_local;\n int var_2;\n type_1 var_4;\n type_4 ADC_temp;\n \n var_4 = 0;\n for (var_2 = var_1 + -1; -1 < var_2; var_2 = var_2 + ... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (point... |
1529_putty_and_putty_strip.c | sharestate_free | FUN_0018f7bb | sharestate_free |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sharestate_free(void *v)
{
ssh_sharing_connstate *cs_00;
void *v_local;
ssh_sharing_state *sharestate;
ssh_sharing_connstate *cs;
platform_ssh_share_cleanup(*(char **)((long)v + 8));
while( true ) {
cs_00 = (ssh_sharing_... |
void FUN_0018f7bb(long param_1)
{
long lVar1;
FUN_001d7c6c(*(undefined8 *)(param_1 + 8));
while( true ) {
lVar1 = FUN_001af583(*(undefined8 *)(param_1 + 0x18),0);
if (lVar1 == 0) break;
FUN_0018f5fb(lVar1);
}
FUN_001ad4b4(*(undefined8 *)(param_1 + 0x18));
if (*(long *)(param_1 + 0x10) != 0)... | (translation_unit "void FUN_0018f7bb(long param_1)\n\n{\n long lVar1;\n \n FUN_001d7c6c(*(undefined8 *)(param_1 + 8));\n while( true ) {\n lVar1 = FUN_001af583(*(undefined8 *)(param_1 + 0x18),0);\n if (lVar1 == 0) break;\n FUN_0018f5fb(lVar1);\n }\n FUN_001ad4b4(*(undefined8 *)(param_1 + 0x18));\n if (*... | 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 RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDI,RAX
CALL 0x001d7c6c
JMP 0x0018f7ed
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0018f5fb
MOV RAX,qword ptr [RBP + -... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *v)
{
type_1 *var_3;
void *v_local;
type_2 *sharestate;
type_1 *cs;
var_1(*(char **)((long)v + 8));
while( true ) {
var_3 = (type_1 *)var_2(*(type_3 **)((long)v + 0x18),0);
if (var_3 == (type_1 *)0x0)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sharestate_free(void *v)\n\n{\n ssh_sharing_connstate *cs_00;\n void *v_local;\n ssh_sharing_state *sharestate;\n ssh_sharing_connstate *cs;\n \n platform_ssh_share_cleanup(*(char **)((long)v + 8));\n while( true ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *v)\n\n{\n type_1 *var_3;\n void *v_local;\n type_2 *sharestate;\n type_1 *cs;\n \n var_1(*(char **)((long)v + 8));\n while( true ) {\n var_3 = (type_1 *)var_2(*(type_3 **)((long)v + 0x18),0);\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_iden... |
1780_putty_and_putty_strip.c | gtkcomm_setup | FUN_001b2a53 | gtkcomm_setup |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void gtkcomm_setup(void)
{
uxsel_init();
request_callback_notifications(notify_toplevel_callback,(void *)0x0);
return;
}
|
void FUN_001b2a53(void)
{
FUN_001d5ee3();
FUN_00116644(FUN_001b2a19,0);
return;
}
| (translation_unit "void FUN_001b2a53(void)\n\n{\n FUN_001d5ee3();\n FUN_00116644(FUN_001b2a19,0);\n return;\n}\n\n" (function_definition "void FUN_001b2a53(void)\n\n{\n FUN_001d5ee3();\n FUN_00116644(FUN_001b2a19,0);\n return;\n}" primitive_type (function_declarator "FUN_001b2a53(void)" identifier (parameter_list... | PUSH RBP
MOV RBP,RSP
CALL 0x001d5ee3
MOV ESI,0x0
LEA RDI,[0x1b2a19]
CALL 0x00116644
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
var_1();
var_2(notify_toplevel_callback,(void *)0x0);
return;
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid gtkcomm_setup(void)\n\n{\n uxsel_init();\n request_callback_notifications(notify_toplevel_callback,(void *)0x0);\n return;\n}\n\n" comment (function_definition "void gtkcomm_setup(void)\n\n{\n uxsel_init();\n re... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n var_1();\n var_2(notify_toplevel_callback,(void *)0x0);\n return;\n}\n\n" comment (function_definition "void function_1(void)\n\n{\n var_1();\n var_2(notify_toplevel_callback,(void *)0x0)... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list... |
1564_putty_and_putty_strip.c | share_ndownstreams | FUN_00193e50 | share_ndownstreams |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int share_ndownstreams(void *state)
{
int iVar1;
void *state_local;
ssh_sharing_state *sharestate;
iVar1 = count234(*(tree234 **)((long)state + 0x18));
return iVar1;
}
|
void FUN_00193e50(long param_1)
{
FUN_001ad557(*(undefined8 *)(param_1 + 0x18));
return;
}
| (translation_unit "void FUN_00193e50(long param_1)\n\n{\n FUN_001ad557(*(undefined8 *)(param_1 + 0x18));\n return;\n}\n\n" (function_definition "void FUN_00193e50(long param_1)\n\n{\n FUN_001ad557(*(undefined8 *)(param_1 + 0x18));\n return;\n}" primitive_type (function_declarator "FUN_00193e50(long param_1)" identi... | 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 + 0x18]
MOV RDI,RAX
CALL 0x001ad557
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *state)
{
int iVar1;
void *state_local;
type_1 *sharestate;
iVar1 = var_1(*(type_2 **)((long)state + 0x18));
return iVar1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint share_ndownstreams(void *state)\n\n{\n int iVar1;\n void *state_local;\n ssh_sharing_state *sharestate;\n \n iVar1 = count234(*(tree234 **)((long)state + 0x18));\n return iVar1;\n}\n\n" comment (function_definition ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *state)\n\n{\n int iVar1;\n void *state_local;\n type_1 *sharestate;\n \n iVar1 = var_1(*(type_2 **)((long)state + 0x18));\n return iVar1;\n}\n\n" comment (function_definition "int function_1(void *s... | (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... |
1267_putty_and_putty_strip.c | dh_cleanup | FUN_001741a7 | dh_cleanup |
void dh_cleanup(void *handle)
{
void *handle_local;
dh_ctx *ctx;
/* WARNING: Load size is inaccurate */
freebn(*handle);
freebn(*(Bignum_conflict *)((long)handle + 8));
freebn(*(Bignum_conflict *)((long)handle + 0x10));
freebn(*(Bignum_conflict *)((long)handle + 0x28));
freebn(*(B... |
void FUN_001741a7(undefined8 *param_1)
{
FUN_00166d90(*param_1);
FUN_00166d90(param_1[1]);
FUN_00166d90(param_1[2]);
FUN_00166d90(param_1[5]);
FUN_00166d90(param_1[3]);
FUN_00166d90(param_1[4]);
FUN_0012e243(param_1);
return;
}
| (translation_unit "void FUN_001741a7(undefined8 *param_1)\n\n{\n FUN_00166d90(*param_1);\n FUN_00166d90(param_1[1]);\n FUN_00166d90(param_1[2]);\n FUN_00166d90(param_1[5]);\n FUN_00166d90(param_1[3]);\n FUN_00166d90(param_1[4]);\n FUN_0012e243(param_1);\n return;\n}\n\n" (function_definition "void FUN_001741a7(... | 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]
MOV RDI,RAX
CALL 0x00166d90
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDI,RAX
CALL 0x00166d90
MOV RAX,qword ptr [... |
void function_1(void *handle)
{
void *handle_local;
type_1 *ctx;
/* WARNING: Load size is inaccurate */
var_1(*handle);
var_1(*(type_2 *)((long)handle + 8));
var_1(*(type_2 *)((long)handle + 0x10));
var_1(*(type_2 *)((long)handle + 0x28));
var_1(*(type_2 *)((long)handle + 0x18));
... | (translation_unit "void dh_cleanup(void *handle)\n\n{\n void *handle_local;\n dh_ctx *ctx;\n \n /* WARNING: Load size is inaccurate */\n freebn(*handle);\n freebn(*(Bignum_conflict *)((long)handle + 8));\n freebn(*(Bignum_conflict *)((long)handle + 0x10));\n freebn(*(Bignum_conflict *)((long)h... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *ctx;\n \n /* WARNING: Load size is inaccurate */\n var_1(*handle);\n var_1(*(type_2 *)((long)handle + 8));\n var_1(*(type_2 *)((long)handle + 0x10));\n var_1(*(type_2 *)((long)handle + 0x28));\n var_1(*(type... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1304_putty_and_putty_strip.c | ec_point_verify | FUN_00176f39 | ec_point_verify |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ec_point_verify(ec_point *a)
{
int iVar1;
uint uVar2;
Bignum_conflict pBVar3;
Bignum_conflict pBVar4;
Bignum_conflict pBVar5;
Bignum_conflict pBVar6;
ec_point *a_local;
int ret;
int ret_1;
Bignum y2;
Bignum x2;
Bignu... |
bool FUN_00176f39(long *param_1)
{
int iVar1;
undefined8 uVar2;
undefined8 uVar3;
undefined8 uVar4;
undefined8 uVar5;
bool bVar6;
if (*(char *)(param_1 + 4) == '\0') {
if (*(int *)*param_1 == 2) {
uVar2 = FUN_00176be8(param_1[2],*param_1);
uVar3 = FUN_00176be8(param_1[1],*param_1);
... | (translation_unit "bool FUN_00176f39(long *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n bool bVar6;\n \n if (*(char *)(param_1 + 4) == '\0') {\n if (*(int *)*param_1 == 2) {\n uVar2 = FUN_00176be8(param_1[2],*param_1);\n uVar3 = FUN_00... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x78],RDI
MOV RAX,qword ptr [RBP + -0x78]
MOVZX EAX,byte ptr [RAX + 0x20]
TEST AL,AL
JZ 0x00176f5b
MOV EAX,0x1
JMP 0x0017729d
MOV RAX,qword ptr [RBP + -0x78]
MOV RAX,qword ptr [RAX]
MOV EAX,dword ptr [RAX]
CMP EAX,0x2
JNZ 0x001770a9
MOV RAX,qword ptr [RBP + -0x78... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *a)
{
int var_7;
type_2 uVar2;
type_3 pBVar3;
type_3 pBVar4;
type_3 pBVar5;
type_3 pBVar6;
type_1 *a_local;
int ret;
int ret_1;
type_4 y2;
type_4 x2;
type_4 tmp;
type_4 tmp2;
type_4 tmp3;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ec_point_verify(ec_point *a)\n\n{\n int iVar1;\n uint uVar2;\n Bignum_conflict pBVar3;\n Bignum_conflict pBVar4;\n Bignum_conflict pBVar5;\n Bignum_conflict pBVar6;\n ec_point *a_local;\n int ret;\n int ret_1;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *a)\n\n{\n int var_7;\n type_2 uVar2;\n type_3 pBVar3;\n type_3 pBVar4;\n type_3 pBVar5;\n type_3 pBVar6;\n type_1 *a_local;\n int ret;\n int ret_1;\n type_4 y2;\n type_4 x2;\n type_4 tmp;\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))))) body: (compound_statement (declaration type: (primitiv... |
966_putty_and_putty_strip.c | ssh_channel_try_eof | FUN_00148f6b | ssh_channel_try_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_channel_try_eof(ssh_channel *c)
{
Ssh_conflict ssh_00;
int iVar1;
Packet *pkt;
ssh_channel *c_local;
Ssh_conflict ssh;
Packet *pktout;
ssh_00 = c->ssh;
if (c->pending_eof != 0) {
if ((c->halfopen == 0) &&
... |
void FUN_00148f6b(long *param_1)
{
long lVar1;
int iVar2;
undefined8 uVar3;
lVar1 = *param_1;
if (*(int *)((long)param_1 + 0x1c) != 0) {
if ((*(int *)((long)param_1 + 0x14) == 0) &&
((*(int *)(lVar1 + 0x250) != 2 || (iVar2 = FUN_0012dc00(param_1 + 5), iVar2 < 1)))) {
*(undefined4 *)((lon... | (translation_unit "void FUN_00148f6b(long *param_1)\n\n{\n long lVar1;\n int iVar2;\n undefined8 uVar3;\n \n lVar1 = *param_1;\n if (*(int *)((long)param_1 + 0x1c) != 0) {\n if ((*(int *)((long)param_1 + 0x14) == 0) &&\n ((*(int *)(lVar1 + 0x250) != 2 || (iVar2 = FUN_0012dc00(param_1 + 5), iVar2 < 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]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x1c]
TEST EAX,EAX
JNZ 0x00148fac
LEA RCX,[0x20a010]
MOV EDX,0x13db
LEA RSI,[0x2062e6]
LEA RDI,[0x207b6b]
CAL... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c)
{
type_2 ssh_00;
int var_2;
type_3 *pkt;
type_1 *c_local;
type_2 ssh;
type_3 *pktout;
ssh_00 = c->ssh;
if (c->pending_eof != 0) {
if ((c->halfopen == 0) &&
((ssh_00->version != 2 || (var_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_channel_try_eof(ssh_channel *c)\n\n{\n Ssh_conflict ssh_00;\n int iVar1;\n Packet *pkt;\n ssh_channel *c_local;\n Ssh_conflict ssh;\n Packet *pktout;\n \n ssh_00 = c->ssh;\n if (c->pending_eof != 0) {\n i... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c)\n\n{\n type_2 ssh_00;\n int var_2;\n type_3 *pkt;\n type_1 *c_local;\n type_2 ssh;\n type_3 *pktout;\n \n ssh_00 = c->ssh;\n if (c->pending_eof != 0) {\n if ((c->halfopen == 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))))) body: (compound_statement (declaration type: (type_ide... |
1005_putty_and_putty_strip.c | ssh2_try_send | FUN_00151c1f | ssh2_try_send |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ssh2_try_send(ssh_channel *c)
{
int iVar1;
long in_FS_OFFSET;
ssh_channel *c_local;
int len;
int ret;
void *data;
Ssh_conflict ssh;
Packet *pktout;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
ssh = c->... |
int FUN_00151c1f(undefined8 *param_1)
{
int iVar1;
long in_FS_OFFSET;
uint local_30;
int local_2c;
undefined8 local_28;
undefined8 local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_20 = *param_1;
while (*(int *)(param_1 + 8) != 0) {
iVar1 = FUN... | (translation_unit "int FUN_00151c1f(undefined8 *param_1)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n uint local_30;\n int local_2c;\n undefined8 local_28;\n undefined8 local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_20 = *param_1;\n while (*(int *)(para... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x18],RAX
JMP 0x00151d1a
MOV RAX,qword ptr [RBP + -0x38]
LEA RCX,[RAX + 0x28]
LEA RDX,[RBP + -0x28]
LEA R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *c)
{
int var_3;
long var_1;
type_1 *c_local;
int var_11;
int var_12;
void *data;
type_2 ssh;
type_3 *pktout;
long var_14;
var_14 = *(long *)(var_1 + 0x28);
ssh = c->ssh;
while ((c->v).v2.remwind... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh2_try_send(ssh_channel *c)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n ssh_channel *c_local;\n int len;\n int ret;\n void *data;\n Ssh_conflict ssh;\n Packet *pktout;\n long local_10;\n \n local_10 = *(long *)(... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *c)\n\n{\n int var_3;\n long var_1;\n type_1 *c_local;\n int var_11;\n int var_12;\n void *data;\n type_2 ssh;\n type_3 *pktout;\n long var_14;\n \n var_14 = *(long *)(var_1 + 0x28);\n ssh = ... | (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: (primitiv... |
1493_putty_and_putty_strip.c | SHA_Init | FUN_0018e280 | SHA_Init |
int SHA_Init(SHA_CTX *c)
{
SHA_State *s_local;
SHA_Core_Init(&c->h0);
c->data[0xe] = 0;
c->num = 0;
c->data[0xf] = c->num;
return (int)c;
}
|
void FUN_0018e280(long param_1)
{
FUN_0018dd81(param_1);
*(undefined4 *)(param_1 + 0x54) = 0;
*(undefined4 *)(param_1 + 0x5c) = 0;
*(undefined4 *)(param_1 + 0x58) = *(undefined4 *)(param_1 + 0x5c);
return;
}
| (translation_unit "void FUN_0018e280(long param_1)\n\n{\n FUN_0018dd81(param_1);\n *(undefined4 *)(param_1 + 0x54) = 0;\n *(undefined4 *)(param_1 + 0x5c) = 0;\n *(undefined4 *)(param_1 + 0x58) = *(undefined4 *)(param_1 + 0x5c);\n return;\n}\n\n" (function_definition "void FUN_0018e280(long param_1)\n\n{\n FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x8
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0018dd81
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x54],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x5c],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RAX + 0x5c]
MOV RAX,qwo... |
int function_1(type_1 *c)
{
type_2 *s_local;
var_1(&c->h0);
c->data[0xe] = 0;
c->num = 0;
c->data[0xf] = c->num;
return (int)c;
}
| (translation_unit "int SHA_Init(SHA_CTX *c)\n\n{\n SHA_State *s_local;\n \n SHA_Core_Init(&c->h0);\n c->data[0xe] = 0;\n c->num = 0;\n c->data[0xf] = c->num;\n return (int)c;\n}\n\n" (function_definition "int SHA_Init(SHA_CTX *c)\n\n{\n SHA_State *s_local;\n \n SHA_Core_Init(&c->h0);\n c->data[0xe] = 0;\n c... | (translation_unit "int function_1(type_1 *c)\n\n{\n type_2 *s_local;\n \n var_1(&c->h0);\n c->data[0xe] = 0;\n c->num = 0;\n c->data[0xf] = c->num;\n return (int)c;\n}\n\n" (function_definition "int function_1(type_1 *c)\n\n{\n type_2 *s_local;\n \n var_1(&c->h0);\n c->data[0xe] = 0;\n c->num = 0;\n c->dat... | (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... |
1856_putty_and_putty_strip.c | nonfatal | FUN_001b9b22 | nonfatal |
void nonfatal(char *p,...)
{
long lVar1;
char in_AL;
char *msg_00;
undefined8 in_RCX;
undefined8 in_RDX;
undefined8 in_RSI;
undefined8 in_R8;
undefined8 in_R9;
long in_FS_OFFSET;
undefined8 in_XMM0_Qa;
undefined8 in_XMM1_Qa;
undefined8 in_XMM2_Qa;
undefined8 in_XMM3_Qa;
undefined8 in_XMM4_... |
void FUN_001b9b22(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,
undefined8 param_9,undefined8 param_10,undefined8 param_11,undefined8 param_12,
undefined8 param... | (translation_unit "void FUN_001b9b22(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,\n undefined8 param_9,undefined8 param_10,undefined8 param_11,undefined8 param_12,\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xf0
MOV qword ptr [RBP + -0xe8],RDI
MOV qword ptr [RBP + -0xa8],RSI
MOV qword ptr [RBP + -0xa0],RDX
MOV qword ptr [RBP + -0x98],RCX
MOV qword ptr [RBP + -0x90],R8
MOV qword ptr [RBP + -0x88],R9
TEST AL,AL
JZ 0x001b9b7b
MOVAPS xmmword ptr [RBP + -0x80],XMM0
MOVAPS xmmword ptr [RBP + -0x70],... |
void function_1(char *p,...)
{
long var_6;
char var_1;
char *msg_00;
type_1 in_RCX;
type_1 in_RDX;
type_1 in_RSI;
type_1 in_R8;
type_1 in_R9;
long var_2;
type_1 in_XMM0_Qa;
type_1 in_XMM1_Qa;
type_1 in_XMM2_Qa;
type_1 in_XMM3_Qa;
type_1 in_XMM4_Qa;
type_1 in_XMM5_Qa;
type_1 in_XMM6_Qa;... | (translation_unit "void nonfatal(char *p,...)\n\n{\n long lVar1;\n char in_AL;\n char *msg_00;\n undefined8 in_RCX;\n undefined8 in_RDX;\n undefined8 in_RSI;\n undefined8 in_R8;\n undefined8 in_R9;\n long in_FS_OFFSET;\n undefined8 in_XMM0_Qa;\n undefined8 in_XMM1_Qa;\n undefined8 in_XMM2_Qa;\n undefined8 ... | (translation_unit "void function_1(char *p,...)\n\n{\n long var_6;\n char var_1;\n char *msg_00;\n type_1 in_RCX;\n type_1 in_RDX;\n type_1 in_RSI;\n type_1 in_R8;\n type_1 in_R9;\n long var_2;\n type_1 in_XMM0_Qa;\n type_1 in_XMM1_Qa;\n type_1 in_XMM2_Qa;\n type_1 in_XMM3_Qa;\n type_1 in_XMM4_Qa;\n type... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (variadic_parameter))) body: (compound_statement (declaration type:... |
1282_putty_and_putty_strip.c | dss_createkey | FUN_0017570f | dss_createkey |
void * dss_createkey(ssh_signkey *self,uchar *pub_blob,int pub_len,uchar *priv_blob,int priv_len)
{
long lVar1;
int iVar2;
Bignum pvVar3;
dss_key *pdVar4;
long in_FS_OFFSET;
uchar *priv_blob_local;
int priv_len_local;
int pub_len_local;
uchar *pub_blob_local;
ssh_signkey *self_local;
int hashlen... |
undefined8 *
FUN_0017570f(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined4 param_5)
{
int iVar1;
undefined8 uVar2;
undefined8 *puVar3;
long in_FS_OFFSET;
undefined4 local_d0;
undefined4 local_cc;
undefined8 local_c8;
undefined8 local_c0;
int local_a... | (translation_unit "undefined8 *\nFUN_0017570f(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined4 param_5)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 *puVar3;\n long in_FS_OFFSET;\n undefined4 local_d0;\n undefined4 local_cc;\n undefined8 local_c8;\n unde... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xd0
MOV qword ptr [RBP + -0xb8],RDI
MOV qword ptr [RBP + -0xc0],RSI
MOV dword ptr [RBP + -0xc4],EDX
MOV qword ptr [RBP + -0xd0],RCX
MOV dword ptr [RBP + -0xc8],R8D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0xd0]
MOV qword ptr [RBP + -0... |
void * function_1(type_1 *self,type_2 *pub_blob,int pub_len,type_2 *priv_blob,int priv_len)
{
long var_16;
int var_12;
type_3 pvVar3;
type_4 *pdVar4;
long var_1;
type_2 *priv_blob_local;
int priv_len_local;
int pub_len_local;
type_2 *pub_blob_local;
type_1 *self_local;
int var_7;
char *pb;
c... | (translation_unit "void * dss_createkey(ssh_signkey *self,uchar *pub_blob,int pub_len,uchar *priv_blob,int priv_len)\n\n{\n long lVar1;\n int iVar2;\n Bignum pvVar3;\n dss_key *pdVar4;\n long in_FS_OFFSET;\n uchar *priv_blob_local;\n int priv_len_local;\n int pub_len_local;\n uchar *pub_blob_local;\n ssh_sign... | (translation_unit "void * function_1(type_1 *self,type_2 *pub_blob,int pub_len,type_2 *priv_blob,int priv_len)\n\n{\n long var_16;\n int var_12;\n type_3 pvVar3;\n type_4 *pdVar4;\n long var_1;\n type_2 *priv_blob_local;\n int priv_len_local;\n int pub_len_local;\n type_2 *pub_blob_local;\n type_1 *self_local... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type... |
996_putty_and_putty_strip.c | ssh1_protocol_setup | FUN_0014bfd9 | ssh1_protocol_setup |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_protocol_setup(Ssh_conflict ssh)
{
Ssh_conflict ssh_local;
int i;
for (i = 0; i < 0x100; i = i + 1) {
ssh->packet_dispatch[i] = (handler_fn_t)0x0;
}
ssh->packet_dispatch[1] = ssh1_msg_disconnect;
ssh->packet_dispatc... |
void FUN_0014bfd9(long param_1)
{
int local_c;
for (local_c = 0; local_c < 0x100; local_c = local_c + 1) {
*(undefined8 *)(param_1 + 8 + ((long)local_c + 0x78) * 8) = 0;
}
*(code **)(param_1 + 0x3d0) = FUN_0014bf3c;
*(code **)(param_1 + 0x4c8) = FUN_0014bfca;
*(code **)(param_1 + 0x4e8) = FUN_0014b... | (translation_unit "void FUN_0014bfd9(long param_1)\n\n{\n int local_c;\n \n for (local_c = 0; local_c < 0x100; local_c = local_c + 1) {\n *(undefined8 *)(param_1 + 8 + ((long)local_c + 0x78) * 8) = 0;\n }\n *(code **)(param_1 + 0x3d0) = FUN_0014bf3c;\n *(code **)(param_1 + 0x4c8) = FUN_0014bfca;\n *(code **)(... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0014c005
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
ADD RDX,0x78
MOV qword ptr [RAX + RDX*0x8 + 0x8],0x0
ADD dword ptr [RBP + -0x4],0x1
CMP dword ptr [RBP + -0x4],0xff
JLE 0x0014bfea
MOV RAX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh)
{
type_1 ssh_local;
int var_1;
for (var_1 = 0; var_1 < 0x100; var_1 = var_1 + 1) {
ssh->packet_dispatch[var_1] = (type_2)0x0;
}
ssh->packet_dispatch[1] = ssh1_msg_disconnect;
ssh->packet_dispatch[0... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_protocol_setup(Ssh_conflict ssh)\n\n{\n Ssh_conflict ssh_local;\n int i;\n \n for (i = 0; i < 0x100; i = i + 1) {\n ssh->packet_dispatch[i] = (handler_fn_t)0x0;\n }\n ssh->packet_dispatch[1] = ssh1_msg_disc... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh)\n\n{\n type_1 ssh_local;\n int var_1;\n \n for (var_1 = 0; var_1 < 0x100; var_1 = var_1 + 1) {\n ssh->packet_dispatch[var_1] = (type_2)0x0;\n }\n ssh->packet_dispatch[1] = ssh1_msg_disconn... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
1006_putty_and_putty_strip.c | ssh2_try_send_and_unthrottle | FUN_00151d86 | ssh2_try_send_and_unthrottle |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_try_send_and_unthrottle(Ssh_conflict ssh,ssh_channel *c)
{
int iVar1;
ssh_channel *c_local;
Ssh_conflict ssh_local;
int bufsize;
if (((c->closes & 1U) == 0) && (iVar1 = ssh2_try_send(c), iVar1 == 0)) {
iVar1 = c->type... |
void FUN_00151d86(undefined8 param_1,long param_2)
{
int iVar1;
if (((*(uint *)(param_2 + 0x18) & 1) == 0) && (iVar1 = FUN_00151c1f(param_2), iVar1 == 0)) {
iVar1 = *(int *)(param_2 + 0x10);
if (iVar1 == 1) {
FUN_001dc682(*(undefined8 *)(param_2 + 0x70));
}
else if (1 < iVar1) {
if ... | (translation_unit "void FUN_00151d86(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n \n if (((*(uint *)(param_2 + 0x18) & 1) == 0) && (iVar1 = FUN_00151c1f(param_2), iVar1 == 0)) {\n iVar1 = *(int *)(param_2 + 0x10);\n if (iVar1 == 1) {\n FUN_001dc682(*(undefined8 *)(param_2 + 0x70));\n }\n els... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV EAX,dword ptr [RAX + 0x18]
AND EAX,0x1
TEST EAX,EAX
JNZ 0x00151e0d
MOV RAX,qword ptr [RBP + -0x20]
MOV RDI,RAX
CALL 0x00151c1f
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *c)
{
int var_2;
type_2 *c_local;
type_1 ssh_local;
int bufsize;
if (((c->closes & 1U) == 0) && (var_2 = var_1(c), var_2 == 0)) {
var_2 = c->type;
if (var_2 == 1) {
var_3((c->u).x11.x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_try_send_and_unthrottle(Ssh_conflict ssh,ssh_channel *c)\n\n{\n int iVar1;\n ssh_channel *c_local;\n Ssh_conflict ssh_local;\n int bufsize;\n \n if (((c->closes & 1U) == 0) && (iVar1 = ssh2_try_send(c), iVar1 ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *c)\n\n{\n int var_2;\n type_2 *c_local;\n type_1 ssh_local;\n int bufsize;\n \n if (((c->closes & 1U) == 0) && (var_2 = var_1(c), var_2 == 0)) {\n var_2 = c->type;\n if (var_2 ==... | (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... |
1309_putty_and_putty_strip.c | ecp_addw | FUN_00177f60 | ecp_addw |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_addw(ec_point *a,ec_point *b,int aminus3)
{
int iVar1;
Bignum_conflict pBVar2;
Bignum_conflict pBVar3;
ec_point *peVar4;
Bignum_conflict pBVar5;
Bignum_conflict pBVar6;
Bignum_conflict pBVar7;
Bignum_conflict a_00... |
void FUN_00177f60(long *param_1,long *param_2,undefined4 param_3)
{
int iVar1;
undefined8 uVar2;
undefined8 uVar3;
undefined8 uVar4;
undefined8 uVar5;
undefined8 uVar6;
undefined8 uVar7;
undefined8 local_c0;
undefined8 local_b8;
undefined8 local_b0;
undefined8 local_a8;
undefined8 local_a0;
... | (translation_unit "void FUN_00177f60(long *param_1,long *param_2,undefined4 param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n undefined8 uVar7;\n undefined8 local_c0;\n undefined8 local_b8;\n undefined8 local_b0;\n undefined8 loca... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xe0
MOV qword ptr [RBP + -0xc8],RDI
MOV qword ptr [RBP + -0xd0],RSI
MOV dword ptr [RBP + -0xd4],EDX
MOV RAX,qword ptr [RBP + -0xd0]
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JZ 0x00178070
MOV RAX,qword ptr [RBP + -0xc8]
MOV RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0xd0]
MOV RAX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,type_1 *b,int aminus3)
{
int var_6;
type_2 pBVar2;
type_2 pBVar3;
type_1 *peVar4;
type_2 pBVar5;
type_2 pBVar6;
type_2 pBVar7;
type_2 a_00;
int aminus3_local;
type_1 *b_local;
type_1 *a_local;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_addw(ec_point *a,ec_point *b,int aminus3)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n Bignum_conflict pBVar3;\n ec_point *peVar4;\n Bignum_conflict pBVar5;\n Bignum_conflict pBVar6;\n Bignum_conflict p... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *a,type_1 *b,int aminus3)\n\n{\n int var_6;\n type_2 pBVar2;\n type_2 pBVar3;\n type_1 *peVar4;\n type_2 pBVar5;\n type_2 pBVar6;\n type_2 pBVar7;\n type_2 a_00;\n int aminus3_local;\n typ... | (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 ... |
1420_putty_and_putty_strip.c | makekey | FUN_00184a02 | makekey |
int makekey(uchar *data,int len,RSAKey *result,uchar **keystr,int order)
{
int iVar1;
int iVar2;
Bignum *ppvVar3;
uchar **keystr_local;
RSAKey *result_local;
int order_local;
int len_local;
uchar *data_local;
int i;
int n;
uchar *p;
if (len < 4) {
iVar1 = -1;
}
else {
if (result... |
long FUN_00184a02(byte *param_1,int param_2,int *param_3,long *param_4,int param_5)
{
int iVar1;
int iVar2;
long lVar3;
int *piVar4;
int local_24;
int local_18;
byte *local_10;
if (param_2 < 4) {
lVar3 = 0xffffffff;
}
else {
if (param_3 == (int *)0x0) {
local_10 = param_1 + 4;
... | (translation_unit "long FUN_00184a02(byte *param_1,int param_2,int *param_3,long *param_4,int param_5)\n\n{\n int iVar1;\n int iVar2;\n long lVar3;\n int *piVar4;\n int local_24;\n int local_18;\n byte *local_10;\n \n if (param_2 < 4) {\n lVar3 = 0xffffffff;\n }\n else {\n if (param_3 == (int *)0x0) {\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV dword ptr [RBP + -0x20],R8D
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x1c],0x3
JG 0x00184a35
MOV EAX,0xfffffff... |
int function_1(type_1 *var_3,int var_1,type_2 *var_2,type_1 **var_12,int var_6)
{
int var_8;
int var_11;
type_3 *ppvVar3;
type_1 **keystr_local;
type_2 *result_local;
int order_local;
int var_9;
type_1 *data_local;
int var_4;
int n;
type_1 *var_5;
if (var_1 < 4) {
var_8 = -1;
}
else... | (translation_unit "int makekey(uchar *data,int len,RSAKey *result,uchar **keystr,int order)\n\n{\n int iVar1;\n int iVar2;\n Bignum *ppvVar3;\n uchar **keystr_local;\n RSAKey *result_local;\n int order_local;\n int len_local;\n uchar *data_local;\n int i;\n int n;\n uchar *p;\n \n if (len < 4) {\n iVar1... | (translation_unit "int function_1(type_1 *var_3,int var_1,type_2 *var_2,type_1 **var_12,int var_6)\n\n{\n int var_8;\n int var_11;\n type_3 *ppvVar3;\n type_1 **keystr_local;\n type_2 *result_local;\n int order_local;\n int var_9;\n type_1 *data_local;\n int var_4;\n int n;\n type_1 *var_5;\n \n if (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))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1349_putty_and_putty_strip.c | ec_alg_oid | FUN_0017d496 | ec_alg_oid |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
uchar * ec_alg_oid(ssh_signkey *alg,int *oidlen)
{
void *pvVar1;
int *oidlen_local;
ssh_signkey *alg_local;
ecsign_extra *extra;
pvVar1 = alg->extra;
*oidlen = *(int *)((long)pvVar1 + 0x18);
return *(uchar **)((long)pvVar1 + 0x... |
undefined8 FUN_0017d496(long param_1,undefined4 *param_2)
{
long lVar1;
lVar1 = *(long *)(param_1 + 0x70);
*param_2 = *(undefined4 *)(lVar1 + 0x18);
return *(undefined8 *)(lVar1 + 0x10);
}
| (translation_unit "undefined8 FUN_0017d496(long param_1,undefined4 *param_2)\n\n{\n long lVar1;\n \n lVar1 = *(long *)(param_1 + 0x70);\n *param_2 = *(undefined4 *)(lVar1 + 0x18);\n return *(undefined8 *)(lVar1 + 0x10);\n}\n\n" (function_definition "undefined8 FUN_0017d496(long param_1,undefined4 *param_2)\n\n{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x70]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RAX + 0x18]
MOV RAX,qword ptr [RBP + -0x20]
MOV dword ptr [RAX],EDX
MOV RAX,qword ptr [RBP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *alg,int *oidlen)
{
void *pvVar1;
int *oidlen_local;
type_2 *alg_local;
type_3 *extra;
pvVar1 = alg->extra;
*oidlen = *(int *)((long)pvVar1 + 0x18);
return *(type_1 **)((long)pvVar1 + 0x10);
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nuchar * ec_alg_oid(ssh_signkey *alg,int *oidlen)\n\n{\n void *pvVar1;\n int *oidlen_local;\n ssh_signkey *alg_local;\n ecsign_extra *extra;\n \n pvVar1 = alg->extra;\n *oidlen = *(int *)((long)pvVar1 + 0x18);\n return... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *alg,int *oidlen)\n\n{\n void *pvVar1;\n int *oidlen_local;\n type_2 *alg_local;\n type_3 *extra;\n \n pvVar1 = alg->extra;\n *oidlen = *(int *)((long)pvVar1 + 0x18);\n return *(type_1 **)((... | (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 ... |
1301_putty_and_putty_strip.c | ec_point_free | FUN_00176d6e | ec_point_free |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ec_point_free(ec_point *point)
{
ec_point *point_local;
if (point != (ec_point *)0x0) {
point->curve = (ec_curve *)0x0;
if (point->x != (Bignum)0x0) {
freebn((Bignum_conflict)point->x);
}
if (point->y != (Bignu... |
void FUN_00176d6e(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0;
if (param_1[1] != 0) {
FUN_00166d90(param_1[1]);
}
if (param_1[2] != 0) {
FUN_00166d90(param_1[2]);
}
if (param_1[3] != 0) {
FUN_00166d90(param_1[3]);
}
*(undefined *)(param_1... | (translation_unit "void FUN_00176d6e(undefined8 *param_1)\n\n{\n if (param_1 != (undefined8 *)0x0) {\n *param_1 = 0;\n if (param_1[1] != 0) {\n FUN_00166d90(param_1[1]);\n }\n if (param_1[2] != 0) {\n FUN_00166d90(param_1[2]);\n }\n if (param_1[3] != 0) {\n FUN_00166d90(param_1[3]);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00176df9
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x00176da9
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RD... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *var_1)
{
type_1 *point_local;
if (var_1 != (type_1 *)0x0) {
var_1->curve = (type_2 *)0x0;
if (var_1->x != (type_3)0x0) {
var_2((type_4)var_1->x);
}
if (var_1->y != (type_3)0x0) {
var_2(... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ec_point_free(ec_point *point)\n\n{\n ec_point *point_local;\n \n if (point != (ec_point *)0x0) {\n point->curve = (ec_curve *)0x0;\n if (point->x != (Bignum)0x0) {\n freebn((Bignum_conflict)point->x);\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *var_1)\n\n{\n type_1 *point_local;\n \n if (var_1 != (type_1 *)0x0) {\n var_1->curve = (type_2 *)0x0;\n if (var_1->x != (type_3)0x0) {\n var_2((type_4)var_1->x);\n }\n if (var_1->y ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
984_putty_and_putty_strip.c | ssh1_msg_channel_open_failure | FUN_0014aec0 | ssh1_msg_channel_open_failure |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_msg_channel_open_failure(Ssh_conflict ssh,Packet *pktin)
{
ssh_channel *e;
Packet *pktin_local;
Ssh_conflict ssh_local;
ssh_channel *c;
e = ssh_channel_msg(ssh,pktin);
if ((e != (ssh_channel *)0x0) && (e->type == 3)) {
... |
void FUN_0014aec0(long param_1,undefined8 param_2)
{
long lVar1;
lVar1 = FUN_0015236c(param_1,param_2);
if ((lVar1 != 0) && (*(int *)(lVar1 + 0x10) == 3)) {
FUN_001c593c(*(undefined8 *)(param_1 + 0x188),"Forwarded connection refused by server");
FUN_0012fe85(*(undefined8 *)(lVar1 + 0x70));
FUN_00... | (translation_unit "void FUN_0014aec0(long param_1,undefined8 param_2)\n\n{\n long lVar1;\n \n lVar1 = FUN_0015236c(param_1,param_2);\n if ((lVar1 != 0) && (*(int *)(lVar1 + 0x10) == 3)) {\n FUN_001c593c(*(undefined8 *)(param_1 + 0x188),"Forwarded connection refused by server");\n FUN_0012fe85(*(undefined8 *)(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0015236c
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0014af4a
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dwo... |
/* 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;
type_2 *pktin_local;
type_1 ssh_local;
type_3 *c;
var_2 = var_1(ssh,pktin);
if ((var_2 != (type_3 *)0x0) && (var_2->type == 3)) {
var_3(ssh->frontend,"Forwarded conne... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_msg_channel_open_failure(Ssh_conflict ssh,Packet *pktin)\n\n{\n ssh_channel *e;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n \n e = ssh_channel_msg(ssh,pktin);\n if ((e != (ssh_channel... | (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 type_2 *pktin_local;\n type_1 ssh_local;\n type_3 *c;\n \n var_2 = var_1(ssh,pktin);\n if ((var_2 != (type_3 *)0x0) && (var_2->type == 3)) {\n var_3(... | (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... |
1825_putty_and_putty_strip.c | editbox_changed | FUN_001b4c24 | editbox_changed |
void editbox_changed(GtkEditable *ed,gpointer data)
{
undefined8 uVar1;
GtkWidget *w;
uctrl *puVar2;
gpointer data_local;
GtkEditable *ed_local;
dlgparam *dp;
uctrl *uc;
if ((*(uint *)((long)data + 0x1c) & 1) == 0) {
uVar1 = gtk_widget_get_type();
w = (GtkWidget *)g_type_check_instance_cast... |
void FUN_001b4c24(undefined8 param_1,long param_2)
{
undefined8 uVar1;
long *plVar2;
if ((*(uint *)(param_2 + 0x1c) & 1) == 0) {
uVar1 = gtk_widget_get_type();
uVar1 = g_type_check_instance_cast(param_1,uVar1);
plVar2 = (long *)FUN_001b2d4d(param_2,uVar1);
(**(code **)(*plVar2 + 0x18))(*plVar... | (translation_unit "void FUN_001b4c24(undefined8 param_1,long param_2)\n\n{\n undefined8 uVar1;\n long *plVar2;\n \n if ((*(uint *)(param_2 + 0x1c) & 1) == 0) {\n uVar1 = gtk_widget_get_type();\n uVar1 = g_type_check_instance_cast(param_1,uVar1);\n plVar2 = (long *)FUN_001b2d4d(param_2,uVar1);\n (**(code... | 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 RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX + 0x1c]
AND EAX,0x1
TEST EAX,EAX
JNZ 0x001b4c9c
CALL 0x00114510
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0... |
void function_1(type_1 *ed,type_2 data)
{
type_3 uVar1;
type_4 *w;
type_5 *puVar2;
type_2 data_local;
type_1 *ed_local;
type_6 *dp;
type_5 *uc;
if ((*(type_7 *)((long)data + 0x1c) & 1) == 0) {
uVar1 = var_1();
w = (type_4 *)var_2(ed,uVar1);
puVar2 = var_3((type_6 *)data,w);
(*(puVar... | (translation_unit "void editbox_changed(GtkEditable *ed,gpointer data)\n\n{\n undefined8 uVar1;\n GtkWidget *w;\n uctrl *puVar2;\n gpointer data_local;\n GtkEditable *ed_local;\n dlgparam *dp;\n uctrl *uc;\n \n if ((*(uint *)((long)data + 0x1c) & 1) == 0) {\n uVar1 = gtk_widget_get_type();\n w = (GtkWidg... | (translation_unit "void function_1(type_1 *ed,type_2 data)\n\n{\n type_3 uVar1;\n type_4 *w;\n type_5 *puVar2;\n type_2 data_local;\n type_1 *ed_local;\n type_6 *dp;\n type_5 *uc;\n \n if ((*(type_7 *)((long)data + 0x1c) & 1) == 0) {\n uVar1 = var_1();\n w = (type_4 *)var_2(ed,uVar1);\n puVar2 = var_3... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
981_putty_and_putty_strip.c | ssh1_smsg_agent_open | FUN_0014aaa4 | ssh1_smsg_agent_open |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_smsg_agent_open(Ssh_conflict ssh,Packet *pktin)
{
ulong uVar1;
ssh_channel *c_00;
Packet *pktin_local;
Ssh_conflict ssh_local;
int remoteid;
ssh_channel *c;
uVar1 = ssh_pkt_getuint32(pktin);
if (ssh->agentfwd_enable... |
void FUN_0014aaa4(long param_1,undefined8 param_2)
{
undefined4 uVar1;
long *plVar2;
uVar1 = FUN_00141be2(param_2);
if (*(int *)(param_1 + 100) == 0) {
FUN_00140386(param_1,0x16,1,uVar1,0);
}
else {
plVar2 = (long *)FUN_0012e037(1,0x90);
*plVar2 = param_1;
FUN_00151e64(plVar2);
*(un... | (translation_unit "void FUN_0014aaa4(long param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n long *plVar2;\n \n uVar1 = FUN_00141be2(param_2);\n if (*(int *)(param_1 + 100) == 0) {\n FUN_00140386(param_1,0x16,1,uVar1,0);\n }\n else {\n plVar2 = (long *)FUN_0012e037(1,0x90);\n *plVar2 = param_1;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV RDI,RAX
CALL 0x00141be2
MOV dword ptr [RBP + -0xc],EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x64]
TEST EAX,EAX
JNZ 0x0014aaf9
MOV EDX,dword ptr [RBP + -0xc]
MOV RAX,q... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_3 var_3;
type_4 *c_00;
type_2 *pktin_local;
type_1 ssh_local;
int remoteid;
type_4 *c;
var_3 = var_1(pktin);
if (ssh->agentfwd_enabled == 0) {
var_2(ssh,0x16,1,var_3 & 0xff... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_smsg_agent_open(Ssh_conflict ssh,Packet *pktin)\n\n{\n ulong uVar1;\n ssh_channel *c_00;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int remoteid;\n ssh_channel *c;\n \n uVar1 = ssh_pkt_getuint32(pkti... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_3 var_3;\n type_4 *c_00;\n type_2 *pktin_local;\n type_1 ssh_local;\n int remoteid;\n type_4 *c;\n \n var_3 = var_1(pktin);\n if (ssh->agentfwd_enabled == 0) {\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... |
1228_putty_and_putty_strip.c | des_encipher | FUN_0016f5f1 | des_encipher |
void des_encipher(word32 *output,word32 L,word32 R,DESContext *sched)
{
uint uVar1;
uint uVar2;
uint uVar3;
uint uVar4;
uint uVar5;
DESContext *sched_local;
word32 R_local;
word32 L_local;
word32 *output_local;
word32 swap;
word32 s0246;
word32 s1357;
uVar2 = (L >> 4 ^ R) & 0xf0f0f0f;
u... |
void FUN_0016f5f1(uint *param_1,uint param_2,uint param_3,uint *param_4)
{
uint uVar1;
uint uVar2;
uint uVar3;
uint uVar4;
uVar1 = (param_2 >> 4 ^ param_3) & 0xf0f0f0f;
param_2 = param_2 ^ uVar1 << 4;
param_3 = param_3 ^ uVar1;
uVar1 = (param_2 >> 0x10 ^ param_3) & 0xffff;
param_2 = param_2 ^ uVa... | (translation_unit "void FUN_0016f5f1(uint *param_1,uint param_2,uint param_3,uint *param_4)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n \n uVar1 = (param_2 >> 4 ^ param_3) & 0xf0f0f0f;\n param_2 = param_2 ^ uVar1 << 4;\n param_3 = param_3 ^ uVar1;\n uVar1 = (param_2 >> 0x10 ^ param_3) & 0xff... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV EAX,dword ptr [RBP + -0x1c]
SHR EAX,0x4
XOR EAX,dword ptr [RBP + -0x20]
AND EAX,0xf0f0f0f
MOV dword ptr [RBP + -0xc],EAX
MOV EAX,dword ptr [RBP + -0xc]
SHL EAX,0x4
XOR... |
void function_1(type_1 *output,type_1 var_1,type_1 var_2,type_2 *sched)
{
type_3 var_4;
type_3 var_3;
type_3 var_5;
type_3 var_6;
type_3 var_7;
type_2 *sched_local;
type_1 R_local;
type_1 L_local;
type_1 *output_local;
type_1 swap;
type_1 s0246;
type_1 s1357;
var_3 = (var_1 >> 4 ^ var_2) ... | (translation_unit "void des_encipher(word32 *output,word32 L,word32 R,DESContext *sched)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n uint uVar5;\n DESContext *sched_local;\n word32 R_local;\n word32 L_local;\n word32 *output_local;\n word32 swap;\n word32 s0246;\n word32 s1357;\n \n uVa... | (translation_unit "void function_1(type_1 *output,type_1 var_1,type_1 var_2,type_2 *sched)\n\n{\n type_3 var_4;\n type_3 var_3;\n type_3 var_5;\n type_3 var_6;\n type_3 var_7;\n type_2 *sched_local;\n type_1 R_local;\n type_1 L_local;\n type_1 *output_local;\n type_1 swap;\n type_1 s0246;\n type_1 s1357;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
1883_putty_and_putty_strip.c | x11font_cairo_cache_glyph | FUN_001bc476 | x11font_cairo_cache_glyph |
void x11font_cairo_cache_glyph(x11font_individual *xfi,wchar_t glyphindex)
{
wchar_t wVar1;
int iVar2;
undefined8 uVar3;
XCharStruct *pXVar4;
uchar *__s;
long lVar5;
long lVar6;
cairo_cached_glyph *pcVar7;
cairo_surface_t *pcVar8;
wchar_t glyphindex_local;
x11font_individual *xfi_local;
wchar_... |
void FUN_001bc476(undefined8 *param_1,uint param_2)
{
int iVar1;
undefined8 uVar2;
short *psVar3;
void *__s;
long lVar4;
long lVar5;
int local_54;
int local_50;
int local_4c;
uVar2 = gdk_display_get_default();
uVar2 = gdk_x11_display_get_xdisplay(uVar2);
psVar3 = (short *)FUN_001bb722(*para... | (translation_unit "void FUN_001bc476(undefined8 *param_1,uint param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n short *psVar3;\n void *__s;\n long lVar4;\n long lVar5;\n int local_54;\n int local_50;\n int local_4c;\n \n uVar2 = gdk_display_get_default();\n uVar2 = gdk_x11_display_get_xdisplay(uVar2);\n psV... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x58
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
CALL 0x00114df0
MOV RDI,RAX
CALL 0x00115fa0
MOV qword ptr [RBP + -0x38],RAX
MOV EAX,dword ptr [RBP + -0x5c]
MOVZX EDX,AL
MOV EAX,dword ptr [RBP + -0x5c]
SAR EAX,0x8
MOVZX ECX,AL
MOV RAX,qword ptr [RBP + -0x58]
MOV... |
void function_1(type_1 *xfi,type_2 var_12)
{
type_2 var_11;
int iVar2;
type_3 uVar3;
type_4 *pXVar4;
type_5 *__s;
long var_9;
long var_10;
type_6 *pcVar7;
type_7 *pcVar8;
type_2 glyphindex_local;
type_1 *xfi_local;
type_2 var_8;
type_2 var_7;
type_2 var_14;
type_2 byteindex;
type_2 bit... | (translation_unit "void x11font_cairo_cache_glyph(x11font_individual *xfi,wchar_t glyphindex)\n\n{\n wchar_t wVar1;\n int iVar2;\n undefined8 uVar3;\n XCharStruct *pXVar4;\n uchar *__s;\n long lVar5;\n long lVar6;\n cairo_cached_glyph *pcVar7;\n cairo_surface_t *pcVar8;\n wchar_t glyphindex_local;\n x11font_... | (translation_unit "void function_1(type_1 *xfi,type_2 var_12)\n\n{\n type_2 var_11;\n int iVar2;\n type_3 uVar3;\n type_4 *pXVar4;\n type_5 *__s;\n long var_9;\n long var_10;\n type_6 *pcVar7;\n type_7 *pcVar8;\n type_2 glyphindex_local;\n type_1 *xfi_local;\n type_2 var_8;\n type_2 var_7;\n type_2 var_14... | (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... |
1816_putty_and_putty_strip.c | dlg_error_msg | FUN_001b4622 | dlg_error_msg |
void dlg_error_msg(void *dlg,char *msg)
{
undefined8 uVar1;
undefined8 uVar2;
char *msg_local;
void *dlg_local;
dlgparam *dp;
GtkWidget *window;
uVar1 = gtk_window_get_type();
uVar1 = g_type_check_instance_cast(*(undefined8 *)((long)dlg + 0x28),uVar1);
uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&... |
void FUN_001b4622(long param_1,undefined8 param_2)
{
undefined8 uVar1;
undefined8 uVar2;
uVar1 = gtk_window_get_type();
uVar1 = g_type_check_instance_cast(*(undefined8 *)(param_1 + 0x28),uVar1);
uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_00213868,param_2);
uVar2 = gtk_dialog_get_type();
uVar2 = ... | (translation_unit "void FUN_001b4622(long param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n \n uVar1 = gtk_window_get_type();\n uVar1 = g_type_check_instance_cast(*(undefined8 *)(param_1 + 0x28),uVar1);\n uVar1 = gtk_message_dialog_new(uVar1,3,3,2,&DAT_00213868,param_2);\n uVar2 = gtk_di... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
CALL 0x00116010
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00114570
MOV RDI,RAX
MOV RAX,qword p... |
void function_1(void *dlg,char *msg)
{
type_1 uVar1;
type_1 uVar2;
char *msg_local;
void *dlg_local;
type_2 *dp;
type_3 *window;
uVar1 = var_1();
uVar1 = var_2(*(type_1 *)((long)dlg + 0x28),uVar1);
uVar1 = var_3(uVar1,3,3,2,&DAT_00213868,msg);
uVar2 = var_4();
uVar2 = var_2(uVar1,uVar2);
va... | (translation_unit "void dlg_error_msg(void *dlg,char *msg)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n char *msg_local;\n void *dlg_local;\n dlgparam *dp;\n GtkWidget *window;\n \n uVar1 = gtk_window_get_type();\n uVar1 = g_type_check_instance_cast(*(undefined8 *)((long)dlg + 0x28),uVar1);\n uVar1 = gtk_me... | (translation_unit "void function_1(void *dlg,char *msg)\n\n{\n type_1 uVar1;\n type_1 uVar2;\n char *msg_local;\n void *dlg_local;\n type_2 *dp;\n type_3 *window;\n \n uVar1 = var_1();\n uVar1 = var_2(*(type_1 *)((long)dlg + 0x28),uVar1);\n uVar1 = var_3(uVar1,3,3,2,&DAT_00213868,msg);\n uVar2 = var_4();\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_... |
1828_putty_and_putty_strip.c | listbox_selchange | FUN_001b4d90 | listbox_selchange |
void listbox_selchange(GtkTreeSelection *treeselection,gpointer data)
{
undefined8 uVar1;
undefined8 uVar2;
GtkWidget *w;
uctrl *puVar3;
gpointer data_local;
GtkTreeSelection *treeselection_local;
dlgparam *dp;
GtkTreeView *tree;
uctrl *uc;
uVar1 = gtk_tree_selection_get_tree_view(treeselection... |
void FUN_001b4d90(undefined8 param_1,long param_2)
{
undefined8 uVar1;
undefined8 uVar2;
long *plVar3;
uVar1 = gtk_tree_selection_get_tree_view(param_1);
uVar2 = gtk_widget_get_type();
uVar1 = g_type_check_instance_cast(uVar1,uVar2);
plVar3 = (long *)FUN_001b2d4d(param_2,uVar1);
if (plVar3 != (long... | (translation_unit "void FUN_001b4d90(undefined8 param_1,long param_2)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n long *plVar3;\n \n uVar1 = gtk_tree_selection_get_tree_view(param_1);\n uVar2 = gtk_widget_get_type();\n uVar1 = g_type_check_instance_cast(uVar1,uVar2);\n plVar3 = (long *)FUN_001b2d4d(param_2,u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x30]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x001151e0
MOV qword ptr [RBP + -0x10],RAX
CALL 0x00114510
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RS... |
void function_1(type_1 *treeselection,type_2 data)
{
type_3 uVar1;
type_3 uVar2;
type_4 *w;
type_5 *var_5;
type_2 data_local;
type_1 *treeselection_local;
type_6 *dp;
type_7 *tree;
type_5 *uc;
uVar1 = var_1(treeselection);
uVar2 = var_2();
w = (type_4 *)var_3(uVar1,uVar2);
var_5 = var_4((... | (translation_unit "void listbox_selchange(GtkTreeSelection *treeselection,gpointer data)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n GtkWidget *w;\n uctrl *puVar3;\n gpointer data_local;\n GtkTreeSelection *treeselection_local;\n dlgparam *dp;\n GtkTreeView *tree;\n uctrl *uc;\n \n uVar1 = gtk_tree_select... | (translation_unit "void function_1(type_1 *treeselection,type_2 data)\n\n{\n type_3 uVar1;\n type_3 uVar2;\n type_4 *w;\n type_5 *var_5;\n type_2 data_local;\n type_1 *treeselection_local;\n type_6 *dp;\n type_7 *tree;\n type_5 *uc;\n \n uVar1 = var_1(treeselection);\n uVar2 = var_2();\n w = (type_4 *)var_... | (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... |
1500_putty_and_putty_strip.c | sha1_bytes | FUN_0018e836 | sha1_bytes |
void sha1_bytes(void *handle,void *p,int len)
{
int len_local;
void *p_local;
void *handle_local;
SHA_State *s;
SHA_Bytes((SHA_State *)handle,p,len);
return;
}
|
void FUN_0018e836(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0018e2bf(param_1,param_2,param_3);
return;
}
| (translation_unit "void FUN_0018e836(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0018e2bf(param_1,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_0018e836(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0018e2bf(param_1,param_2,param_3);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV 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... |
void function_1(void *handle,void *p,int len)
{
int len_local;
void *p_local;
void *handle_local;
type_1 *s;
var_1((type_1 *)handle,p,len);
return;
}
| (translation_unit "void sha1_bytes(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *handle_local;\n SHA_State *s;\n \n SHA_Bytes((SHA_State *)handle,p,len);\n return;\n}\n\n" (function_definition "void sha1_bytes(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n... | (translation_unit "void function_1(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *handle_local;\n type_1 *s;\n \n var_1((type_1 *)handle,p,len);\n return;\n}\n\n" (function_definition "void function_1(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *ha... | (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_... |
1488_putty_and_putty_strip.c | sha512_final | FUN_0018dccf | sha512_final |
void sha512_final(void *handle,uchar *output)
{
uchar *output_local;
void *handle_local;
SHA512_State *s;
SHA512_Final((SHA512_State *)handle,output);
sha512_free(handle);
return;
}
|
void FUN_0018dccf(undefined8 param_1,undefined8 param_2)
{
FUN_0018d665(param_1,param_2);
FUN_0018dc67(param_1);
return;
}
| (translation_unit "void FUN_0018dccf(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0018d665(param_1,param_2);\n FUN_0018dc67(param_1);\n return;\n}\n\n" (function_definition "void FUN_0018dccf(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0018d665(param_1,param_2);\n FUN_0018dc67(param_1);\n return;\n}" p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0018d665
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0018dc... |
void function_1(void *handle,type_1 *output)
{
type_1 *output_local;
void *handle_local;
type_2 *s;
var_1((type_2 *)handle,output);
var_2(handle);
return;
}
| (translation_unit "void sha512_final(void *handle,uchar *output)\n\n{\n uchar *output_local;\n void *handle_local;\n SHA512_State *s;\n \n SHA512_Final((SHA512_State *)handle,output);\n sha512_free(handle);\n return;\n}\n\n" (function_definition "void sha512_final(void *handle,uchar *output)\n\n{\n uchar *outpu... | (translation_unit "void function_1(void *handle,type_1 *output)\n\n{\n type_1 *output_local;\n void *handle_local;\n type_2 *s;\n \n var_1((type_2 *)handle,output);\n var_2(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *output)\n\n{\n type_1 *output_local;\n void *handle_... | (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... |
1506_putty_and_putty_strip.c | sha1_key_buggy | FUN_0018ea6a | sha1_key_buggy |
void sha1_key_buggy(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
sha1_key_internal(handle,key,0x10);
return;
}
|
void FUN_0018ea6a(undefined8 param_1,undefined8 param_2)
{
FUN_0018e8ed(param_1,param_2,0x10);
return;
}
| (translation_unit "void FUN_0018ea6a(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0018e8ed(param_1,param_2,0x10);\n return;\n}\n\n" (function_definition "void FUN_0018ea6a(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0018e8ed(param_1,param_2,0x10);\n return;\n}" primitive_type (function_declarator "FUN_00... | 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,0x10
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0018e8ed
NOP
LEAVE
RET |
void function_1(void *handle,type_1 *key)
{
type_1 *key_local;
void *handle_local;
var_1(handle,key,0x10);
return;
}
| (translation_unit "void sha1_key_buggy(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n \n sha1_key_internal(handle,key,0x10);\n return;\n}\n\n" (function_definition "void sha1_key_buggy(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n \n sha1_key_internal(hand... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n \n var_1(handle,key,0x10);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n \n var_1(handle,key,0x10);\n return;\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... |
986_putty_and_putty_strip.c | ssh_agent_channel_data | FUN_0014b078 | ssh_agent_channel_data |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ssh_agent_channel_data(ssh_channel *c,char *data,int length)
{
int iVar1;
int length_local;
char *data_local;
ssh_channel *c_local;
bufchain_add(&(c->u).a.inbuffer,data,length);
ssh_agentf_try_forward(c);
if ((c->u).a.pendi... |
undefined8 FUN_0014b078(long param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 uVar1;
FUN_0012dc11(param_1 + 0x70,param_2,param_3);
FUN_00144c4a(param_1);
if (*(long *)(param_1 + 0x88) == 0) {
uVar1 = 0;
}
else {
uVar1 = FUN_0012dc00(param_1 + 0x70);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0014b078(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 uVar1;\n \n FUN_0012dc11(param_1 + 0x70,param_2,param_3);\n FUN_00144c4a(param_1);\n if (*(long *)(param_1 + 0x88) == 0) {\n uVar1 = 0;\n }\n else {\n uVar1 = FUN_0012dc00(param_1 + 0x70);\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 RAX,qword ptr [RBP + -0x8]
LEA RCX,[RAX + 0x70]
MOV EDX,dword ptr [RBP + -0x14]
MOV RAX,qword ptr [RBP + -0x10]
MOV RSI,RAX
MOV RDI,RCX
CALL 0x0012dc11
MOV RAX,qword ptr [RBP + -0x8]
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *c,char *data,int length)
{
int iVar1;
int length_local;
char *data_local;
type_1 *c_local;
var_1(&(c->u).a.inbuffer,data,length);
var_2(c);
if ((c->u).a.pending == (type_2 *)0x0) {
iVar1 = 0;
}
el... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_agent_channel_data(ssh_channel *c,char *data,int length)\n\n{\n int iVar1;\n int length_local;\n char *data_local;\n ssh_channel *c_local;\n \n bufchain_add(&(c->u).a.inbuffer,data,length);\n ssh_agentf_try_for... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *c,char *data,int length)\n\n{\n int iVar1;\n int length_local;\n char *data_local;\n type_1 *c_local;\n \n var_1(&(c->u).a.inbuffer,data,length);\n var_2(c);\n if ((c->u).a.pending == (type_2 *)... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
903_putty_and_putty_strip.c | hash_string | FUN_00140686 | hash_string |
void hash_string(ssh_hash *h,void *s,void *str,int len)
{
long lVar1;
long in_FS_OFFSET;
int len_local;
void *str_local;
void *s_local;
ssh_hash *h_local;
uchar lenblk [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
lenblk[0] = (uchar)((uint)len >> 0x18);
lenblk[1] = (uchar)((uint)len >> 0x10);
... |
void FUN_00140686(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)
{
long in_FS_OFFSET;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_14 = (undefined)((uint)param_4 >> 0x18);
lo... | (translation_unit "void FUN_00140686(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_14 = (undefined)... | 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 RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x2c]
SAR EAX,0x18
MOV byte ptr [RBP + -0xc],AL
MOV EAX,dword... |
void function_1(type_1 *h,void *s,void *str,int len)
{
long var_2;
long var_1;
int len_local;
void *str_local;
void *s_local;
type_1 *h_local;
type_2 lenblk [4];
var_2 = *(long *)(var_1 + 0x28);
lenblk[0] = (type_2)((type_3)len >> 0x18);
lenblk[1] = (type_2)((type_3)len >> 0x10);
lenblk[2] = ... | (translation_unit "void hash_string(ssh_hash *h,void *s,void *str,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n void *str_local;\n void *s_local;\n ssh_hash *h_local;\n uchar lenblk [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n lenblk[0] = (uchar)((uint)len >> 0x18);\n lenblk[1] =... | (translation_unit "void function_1(type_1 *h,void *s,void *str,int len)\n\n{\n long var_2;\n long var_1;\n int len_local;\n void *str_local;\n void *s_local;\n type_1 *h_local;\n type_2 lenblk [4];\n \n var_2 = *(long *)(var_1 + 0x28);\n lenblk[0] = (type_2)((type_3)len >> 0x18);\n lenblk[1] = (type_2)((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))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1288_putty_and_putty_strip.c | initialise_wcurve | FUN_0017659a | initialise_wcurve |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void initialise_wcurve(ec_curve *curve,int bits,uchar *p,uchar *a,uchar *b,uchar *n,uchar *Gx,
uchar *Gy)
{
int iVar1;
Bignum_conflict pBVar2;
uchar *n_local;
uchar *b_local;
uchar *a_local;
uchar *p_local;
i... |
void FUN_0017659a(undefined4 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8)
{
uint uVar1;
undefined8 uVar2;
int local_c;
uVar1 = param_2;
if ((int)param_2 < 0) {
uVar1 = param_2 + 7;
}
loca... | (translation_unit "void FUN_0017659a(undefined4 *param_1,uint param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8)\n\n{\n uint uVar1;\n undefined8 uVar2;\n int local_c;\n \n uVar1 = param_2;\n if ((int)param_2 < 0) {\n uVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV qword ptr [RBP + -0x38],R8
MOV qword ptr [RBP + -0x40],R9
MOV EAX,dword ptr [RBP + -0x1c]
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x3
MOV d... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *curve,int var_1,type_2 *p,type_2 *a,type_2 *b,type_2 *n,type_2 *Gx,
type_2 *Gy)
{
int var_2;
type_3 pBVar2;
type_2 *n_local;
type_2 *b_local;
type_2 *a_local;
type_2 *p_local;
int bits... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid initialise_wcurve(ec_curve *curve,int bits,uchar *p,uchar *a,uchar *b,uchar *n,uchar *Gx,\n uchar *Gy)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n uchar *n_local;\n uchar *b_local;\n uchar *a_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *curve,int var_1,type_2 *p,type_2 *a,type_2 *b,type_2 *n,type_2 *Gx,\n type_2 *Gy)\n\n{\n int var_2;\n type_3 pBVar2;\n type_2 *n_local;\n type_2 *b_local;\n type_2 *a_local;\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
1428_putty_and_putty_strip.c | rsastr_fmt | FUN_001854db | rsastr_fmt |
void rsastr_fmt(char *str,RSAKey *key)
{
Bignum_conflict bn;
Bignum_conflict bn_00;
char cVar1;
int iVar2;
int iVar3;
int iVar4;
RSAKey *key_local;
char *str_local;
int len;
int i;
int nibbles;
Bignum md;
Bignum ex;
bn = (Bignum_conflict)key->modulus;
bn_00 = (Bignum_conflict)key->exp... |
void FUN_001854db(char *param_1,long param_2)
{
undefined8 uVar1;
undefined8 uVar2;
char cVar3;
int iVar4;
int iVar5;
int local_24;
int local_20;
int local_1c;
uVar1 = *(undefined8 *)(param_2 + 8);
uVar2 = *(undefined8 *)(param_2 + 0x10);
local_24 = sprintf(param_1,"0x");
iVar4 = FUN_0016ab... | (translation_unit "void FUN_001854db(char *param_1,long param_2)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n char cVar3;\n int iVar4;\n int iVar5;\n int local_24;\n int local_20;\n int local_1c;\n \n uVar1 = *(undefined8 *)(param_2 + 8);\n uVar2 = *(undefined8 *)(param_2 + 0x10);\n local_24 = sprintf(par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x1c],0x0
MOV RAX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RAX + 0x10]
MOV qword ptr [RBP + -0x8],RAX
MO... |
void function_1(char *var_10,type_1 *key)
{
type_2 bn;
type_2 bn_00;
char var_8;
int var_3;
int var_4;
int var_11;
type_1 *key_local;
char *str_local;
int var_9;
int var_6;
int var_5;
type_3 md;
type_3 ex;
bn = (type_2)key->modulus;
bn_00 = (type_2)key->exponent;
var_9 = var_1(var_1... | (translation_unit "void rsastr_fmt(char *str,RSAKey *key)\n\n{\n Bignum_conflict bn;\n Bignum_conflict bn_00;\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n RSAKey *key_local;\n char *str_local;\n int len;\n int i;\n int nibbles;\n Bignum md;\n Bignum ex;\n \n bn = (Bignum_conflict)key->modulus;\... | (translation_unit "void function_1(char *var_10,type_1 *key)\n\n{\n type_2 bn;\n type_2 bn_00;\n char var_8;\n int var_3;\n int var_4;\n int var_11;\n type_1 *key_local;\n char *str_local;\n int var_9;\n int var_6;\n int var_5;\n type_3 md;\n type_3 ex;\n \n bn = (type_2)key->modulus;\n bn_00 = (type_2)... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
935_putty_and_putty_strip.c | ssh2_pkt_getmp | FUN_00142026 | ssh2_pkt_getmp |
Bignum ssh2_pkt_getmp(Packet *pkt)
{
Bignum_conflict pBVar1;
long in_FS_OFFSET;
Packet *pkt_local;
int length;
char *p;
Bignum b;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
ssh_pkt_getstring(pkt,&p,&length);
if (p == (char *)0x0) {
pBVar1 = (Bignum_conflict)0x0;
}
else if... |
undefined8 FUN_00142026(undefined8 param_1)
{
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_00141d1a(param_1,&local_20,&local_24);
if (local_20 == (char *)0x0) {
uVar1 = 0;
}
els... | (translation_unit "undefined8 FUN_00142026(undefined8 param_1)\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_00141d1a(param_1,&local_20,&local_24);\n if (local_20 == (char *)0... | 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
LEA RDX,[RBP + -0x1c]
LEA RCX,[RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00141d1a
MOV RAX,qword ptr [RBP + -0x18]
TEST RAX,RAX
JNZ 0x00142068
MOV EAX... |
type_1 function_1(type_2 *pkt)
{
type_3 pBVar1;
long var_1;
type_2 *pkt_local;
int length;
char *var_3;
type_1 b;
long var_5;
var_5 = *(long *)(var_1 + 0x28);
var_2(pkt,&var_3,&length);
if (var_3 == (char *)0x0) {
pBVar1 = (type_3)0x0;
}
else if (*var_3 < '\0') {
pBVar1 = (type_3)0x... | (translation_unit "Bignum ssh2_pkt_getmp(Packet *pkt)\n\n{\n Bignum_conflict pBVar1;\n long in_FS_OFFSET;\n Packet *pkt_local;\n int length;\n char *p;\n Bignum b;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n ssh_pkt_getstring(pkt,&p,&length);\n if (p == (char *)0x0) {\n pBVar1 = (Bi... | (translation_unit "type_1 function_1(type_2 *pkt)\n\n{\n type_3 pBVar1;\n long var_1;\n type_2 *pkt_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(pkt,&var_3,&length);\n if (var_3 == (char *)0x0) {\n pBVar1 = (type_3)0x0;\n }\n else if (*var_3... | (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: (type_identifier) ... |
934_putty_and_putty_strip.c | ssh1_pkt_getmp | FUN_00141f8f | ssh1_pkt_getmp |
Bignum ssh1_pkt_getmp(Packet *pkt)
{
int iVar1;
long in_FS_OFFSET;
Packet *pkt_local;
int j;
Bignum b;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = ssh1_read_bignum(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,
(Bignum_conflict *)&b... |
undefined8 FUN_00141f8f(undefined8 *param_1)
{
int iVar1;
long in_FS_OFFSET;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_0016aadd(param_1[5] + param_1[6],(int)*param_1 - (int)param_1[6],&local_18);
if (iVar1 < 0) {
local_18 = 0;
}
else {
para... | (translation_unit "undefined8 FUN_00141f8f(undefined8 *param_1)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_0016aadd(param_1[5] + param_1[6],(int)*param_1 - (int)param_1[6],&local_18);\n if (iVar1 < 0) {\n local_... | 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 RAX,qword ptr [RAX]
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x30]
SUB EDX,EAX
MOV EAX,EDX
MOV ESI,EAX
MOV RAX,qword pt... |
type_1 function_1(type_2 *pkt)
{
int var_3;
long var_1;
type_2 *pkt_local;
int j;
type_1 b;
long var_4;
var_4 = *(long *)(var_1 + 0x28);
var_3 = var_2(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,
(type_3 *)&b);
if (var_3 < 0) {
b = (type_1)0x0;
... | (translation_unit "Bignum ssh1_pkt_getmp(Packet *pkt)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n Packet *pkt_local;\n int j;\n Bignum b;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = ssh1_read_bignum(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,\n ... | (translation_unit "type_1 function_1(type_2 *pkt)\n\n{\n int var_3;\n long var_1;\n type_2 *pkt_local;\n int j;\n type_1 b;\n long var_4;\n \n var_4 = *(long *)(var_1 + 0x28);\n var_3 = var_2(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,\n (type_3 *)&b);\n if (var_... | (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: (primitive_type) d... |
1221_putty_and_putty_strip.c | crcda_make_context | FUN_0016ee0b | crcda_make_context |
/* WARNING: Unknown calling convention */
void * crcda_make_context(void)
{
undefined8 *puVar1;
crcda_ctx *ret;
puVar1 = (undefined8 *)safemalloc(1,0x10);
*puVar1 = 0;
*(undefined4 *)(puVar1 + 1) = 0x1000;
return puVar1;
}
|
undefined8 * FUN_0016ee0b(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)FUN_0012e037(1,0x10);
*puVar1 = 0;
*(undefined4 *)(puVar1 + 1) = 0x1000;
return puVar1;
}
| (translation_unit "undefined8 * FUN_0016ee0b(void)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_0012e037(1,0x10);\n *puVar1 = 0;\n *(undefined4 *)(puVar1 + 1) = 0x1000;\n return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_0016ee0b(void)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefin... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x10
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x8],0x1000
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
/* WARNING: Unknown calling convention */
void * function_1(void)
{
type_1 *var_2;
type_2 *ret;
var_2 = (type_1 *)var_1(1,0x10);
*var_2 = 0;
*(type_3 *)(var_2 + 1) = 0x1000;
return var_2;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * crcda_make_context(void)\n\n{\n undefined8 *puVar1;\n crcda_ctx *ret;\n \n puVar1 = (undefined8 *)safemalloc(1,0x10);\n *puVar1 = 0;\n *(undefined4 *)(puVar1 + 1) = 0x1000;\n return puVar1;\n}\n\n" comment (function_definition "void * crcda_m... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n type_1 *var_2;\n type_2 *ret;\n \n var_2 = (type_1 *)var_1(1,0x10);\n *var_2 = 0;\n *(type_3 *)(var_2 + 1) = 0x1000;\n return var_2;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{\n type_1 *var_2;\... | (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... |
1059_putty_and_putty_strip.c | ssh_init | FUN_0015b790 | ssh_init |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * ssh_init(void *frontend_handle,void **backend_handle,Conf *conf,char *host,int port,
char **realhost,int nodelay,int keepalive)
{
int iVar1;
Ssh_conflict ssh_00;
Conf *pCVar2;
tree234 *ptVar3;
char *pcVar4;
ulo... |
long FUN_0015b790(undefined8 param_1,long *param_2,undefined8 param_3,undefined8 param_4,
undefined4 param_5,undefined8 param_6,undefined4 param_7,undefined4 param_8)
{
undefined4 uVar1;
long lVar2;
undefined8 uVar3;
lVar2 = FUN_0012e037(1,0xc70);
uVar3 = FUN_0011a493(param_3);
*(undef... | (translation_unit "long FUN_0015b790(undefined8 param_1,long *param_2,undefined8 param_3,undefined8 param_4,\n undefined4 param_5,undefined8 param_6,undefined4 param_7,undefined4 param_8)\n\n{\n undefined4 uVar1;\n long lVar2;\n undefined8 uVar3;\n \n lVar2 = FUN_0012e037(1,0xc70);\n uVar3 = FUN_0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV dword ptr [RBP + -0x34],R8D
MOV qword ptr [RBP + -0x40],R9
MOV ESI,0xc70
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RB... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(void *frontend_handle,void **backend_handle,type_1 *conf,char *host,int port,
char **realhost,int nodelay,int keepalive)
{
int iVar1;
type_2 ssh_00;
type_1 *pCVar2;
type_3 *ptVar3;
char *var_11;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * ssh_init(void *frontend_handle,void **backend_handle,Conf *conf,char *host,int port,\n char **realhost,int nodelay,int keepalive)\n\n{\n int iVar1;\n Ssh_conflict ssh_00;\n Conf *pCVar2;\n tree234 *pt... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(void *frontend_handle,void **backend_handle,type_1 *conf,char *host,int port,\n char **realhost,int nodelay,int keepalive)\n\n{\n int iVar1;\n type_2 ssh_00;\n type_1 *pCVar2;\n type_3 *ptV... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ty... |
1392_putty_and_putty_strip.c | userkey_parse_line_counter | FUN_00180c4e | userkey_parse_line_counter |
int userkey_parse_line_counter(char *text)
{
int iVar1;
long in_FS_OFFSET;
char *text_local;
char *endptr;
ulong ul;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
ul = strtoul(text,&endptr,10);
if (((*text == '\0') || (*endptr != '\0')) || (0x1554 < ul)) {
iVar1 = -1;
}
else {... |
ulong FUN_00180c4e(char *param_1)
{
ulong uVar1;
long in_FS_OFFSET;
char *local_20;
ulong local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = strtoul(param_1,&local_20,10);
if (((*param_1 == '\0') || (*local_20 != '\0')) || (uVar1 = local_18, 0x1554 < local_18)) {
uVa... | (translation_unit "ulong FUN_00180c4e(char *param_1)\n\n{\n ulong uVar1;\n long in_FS_OFFSET;\n char *local_20;\n ulong local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = strtoul(param_1,&local_20,10);\n if (((*param_1 == '\0') || (*local_20 != '\0')) || (uVar1 = local_18, ... | 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
LEA RCX,[RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x28]
MOV EDX,0xa
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001144c0
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOVZX EAX,byt... |
int function_1(char *text)
{
int iVar1;
long var_1;
char *text_local;
char *endptr;
type_1 var_3;
long var_4;
var_4 = *(long *)(var_1 + 0x28);
var_3 = var_2(text,&endptr,10);
if (((*text == '\0') || (*endptr != '\0')) || (0x1554 < var_3)) {
iVar1 = -1;
}
else {
iVar1 = (int)var_3;
}... | (translation_unit "int userkey_parse_line_counter(char *text)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n char *text_local;\n char *endptr;\n ulong ul;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n ul = strtoul(text,&endptr,10);\n if (((*text == '\0') || (*endptr != '\0')) || (0x1554 < ul)) ... | (translation_unit "int function_1(char *text)\n\n{\n int iVar1;\n long var_1;\n char *text_local;\n char *endptr;\n type_1 var_3;\n long var_4;\n \n var_4 = *(long *)(var_1 + 0x28);\n var_3 = var_2(text,&endptr,10);\n if (((*text == '\0') || (*endptr != '\0')) || (0x1554 < var_3)) {\n iVar1 = -1;\n }\n e... | (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... |
1771_putty_and_putty_strip.c | columns_size_allocate | FUN_001b24ad | columns_size_allocate |
void columns_size_allocate(GtkWidget *widget,GtkAllocation *alloc)
{
long lVar1;
long *plVar2;
int iVar3;
int iVar4;
GType GVar5;
Columns *cols_00;
undefined8 uVar6;
long in_FS_OFFSET;
GtkAllocation *alloc_local;
GtkWidget *widget_local;
gboolean __r;
gint border;
GList *children;
GTypeIns... |
void FUN_001b24ad(long *param_1,int *param_2)
{
long *plVar1;
int iVar2;
int iVar3;
long lVar4;
undefined8 uVar5;
long in_FS_OFFSET;
int local_58;
undefined8 *local_50;
int local_28;
int local_24;
undefined4 local_20;
undefined4 local_1c;
long local_10;
local_10 = *(long *)(in_FS_OFFSET... | (translation_unit "void FUN_001b24ad(long *param_1,int *param_2)\n\n{\n long *plVar1;\n int iVar2;\n int iVar3;\n long lVar4;\n undefined8 uVar5;\n long in_FS_OFFSET;\n int local_58;\n undefined8 *local_50;\n int local_28;\n int local_24;\n undefined4 local_20;\n undefined4 local_1c;\n long local_10;\n \n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
CMP qword ptr [RBP + -0x58],0x0
JNZ 0x001b24f0
LEA RDX,[0x2132a8]
LEA RSI,[0x2135d0]
MOV EDI,0x0
CALL 0x00114230
JMP 0x001b26ce
MOV RAX,qword ptr [RBP ... |
void function_1(type_1 *var_2,type_2 *var_8)
{
long var_21;
long *var_16;
int var_19;
int var_18;
type_3 var_5;
type_4 *cols_00;
type_5 uVar6;
long var_1;
type_2 *alloc_local;
type_1 *widget_local;
type_6 var_7;
type_7 border;
type_8 *var_15;
type_9 *__inst;
type_3 __t;
type_4 *cols;
... | (translation_unit "void columns_size_allocate(GtkWidget *widget,GtkAllocation *alloc)\n\n{\n long lVar1;\n long *plVar2;\n int iVar3;\n int iVar4;\n GType GVar5;\n Columns *cols_00;\n undefined8 uVar6;\n long in_FS_OFFSET;\n GtkAllocation *alloc_local;\n GtkWidget *widget_local;\n gboolean __r;\n gint borde... | (translation_unit "void function_1(type_1 *var_2,type_2 *var_8)\n\n{\n long var_21;\n long *var_16;\n int var_19;\n int var_18;\n type_3 var_5;\n type_4 *cols_00;\n type_5 uVar6;\n long var_1;\n type_2 *alloc_local;\n type_1 *widget_local;\n type_6 var_7;\n type_7 border;\n type_8 *var_15;\n type_9 *__ins... | (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... |
1492_putty_and_putty_strip.c | SHATransform | FUN_0018ddce | SHATransform |
void SHATransform(word32 *digest,word32 *block)
{
long lVar1;
uint uVar2;
long lVar3;
int iVar4;
long in_FS_OFFSET;
word32 *block_local;
word32 *digest_local;
word32 a;
word32 b;
word32 c;
word32 d;
word32 e;
int t;
word32 tmp;
word32 tmp_1;
word32 tmp_2;
word32 tmp_3;
word32 tmp_4... |
void FUN_0018ddce(uint *param_1,long param_2)
{
uint uVar1;
long lVar2;
int iVar3;
long in_FS_OFFSET;
uint local_184;
uint local_180;
uint local_17c;
uint local_178;
uint local_174;
int local_170;
uint auStack_158 [82];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
for (loca... | (translation_unit "void FUN_0018ddce(uint *param_1,long param_2)\n\n{\n uint uVar1;\n long lVar2;\n int iVar3;\n long in_FS_OFFSET;\n uint local_184;\n uint local_180;\n uint local_17c;\n uint local_178;\n uint local_174;\n int local_170;\n uint auStack_158 [82];\n long local_10;\n \n local_10 = *(long *)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x190
MOV qword ptr [RBP + -0x188],RDI
MOV qword ptr [RBP + -0x190],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x168],0x0
JMP 0x0018de34
MOV EAX,dword ptr [RBP + -0x168]
CDQE
LEA RDX,[RAX*0x4]
MOV RAX,qword ptr [RBP + -0x190]
ADD RAX,RDX... |
void function_1(type_1 *digest,type_1 *block)
{
long var_10;
type_2 var_3;
long lVar3;
int var_9;
long var_1;
type_1 *block_local;
type_1 *digest_local;
type_1 var_4;
type_1 var_6;
type_1 var_7;
type_1 var_5;
type_1 var_8;
int var_2;
type_1 tmp;
type_1 tmp_1;
type_1 tmp_2;
type_1 tmp... | (translation_unit "void SHATransform(word32 *digest,word32 *block)\n\n{\n long lVar1;\n uint uVar2;\n long lVar3;\n int iVar4;\n long in_FS_OFFSET;\n word32 *block_local;\n word32 *digest_local;\n word32 a;\n word32 b;\n word32 c;\n word32 d;\n word32 e;\n int t;\n word32 tmp;\n word32 tmp_1;\n word32 t... | (translation_unit "void function_1(type_1 *digest,type_1 *block)\n\n{\n long var_10;\n type_2 var_3;\n long lVar3;\n int var_9;\n long var_1;\n type_1 *block_local;\n type_1 *digest_local;\n type_1 var_4;\n type_1 var_6;\n type_1 var_7;\n type_1 var_5;\n type_1 var_8;\n int var_2;\n type_1 tmp;\n type_1 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1651_putty_and_putty_strip.c | seen_disp_event | FUN_0019be0f | seen_disp_event |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void seen_disp_event(Terminal *term)
{
Terminal *term_local;
term->seen_disp_event = L'\x01';
term_schedule_update(term);
return;
}
|
void FUN_0019be0f(long param_1)
{
*(undefined4 *)(param_1 + 0x1bc) = 1;
FUN_0019bdbe(param_1);
return;
}
| (translation_unit "void FUN_0019be0f(long param_1)\n\n{\n *(undefined4 *)(param_1 + 0x1bc) = 1;\n FUN_0019bdbe(param_1);\n return;\n}\n\n" (function_definition "void FUN_0019be0f(long param_1)\n\n{\n *(undefined4 *)(param_1 + 0x1bc) = 1;\n FUN_0019bdbe(param_1);\n return;\n}" primitive_type (function_declarator "... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x1bc],0x1
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0019bdbe
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *term)
{
type_1 *term_local;
term->function_1 = L'\x01';
var_1(term);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid seen_disp_event(Terminal *term)\n\n{\n Terminal *term_local;\n \n term->seen_disp_event = L'\x01';\n term_schedule_update(term);\n return;\n}\n\n" comment (function_definition "void seen_disp_event(Terminal *term)\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *term)\n\n{\n type_1 *term_local;\n \n term->function_1 = L'\x01';\n var_1(term);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 *term)\n\n{\n type_1 *term_local;\n \n te... | (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... |
992_putty_and_putty_strip.c | do_ssh1_connection | FUN_0014b38f | do_ssh1_connection |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void do_ssh1_connection(Ssh_conflict ssh,uchar *in,int inlen,Packet *pktin)
{
Conf *conf;
int iVar1;
uint uVar2;
int *piVar3;
char *pcVar4;
X11Display *pXVar5;
X11FakeAuth *pXVar6;
Packet *pkt_00;
void *pvVar7;
tree234 *ptVa... |
void FUN_0014b38f(long param_1,long param_2,int param_3,long param_4)
{
int iVar1;
undefined4 uVar2;
undefined4 *puVar3;
undefined8 uVar4;
undefined8 uVar5;
long lVar6;
int local_4c;
long local_48;
char *local_30;
puVar3 = (undefined4 *)(param_1 + 0x280);
iVar1 = *(int *)(param_1 + 0x280);
... | (translation_unit "void FUN_0014b38f(long param_1,long param_2,int param_3,long param_4)\n\n{\n int iVar1;\n undefined4 uVar2;\n undefined4 *puVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n long lVar6;\n int local_4c;\n long local_48;\n char *local_30;\n \n puVar3 = (undefined4 *)(param_1 + 0x280);\n iVar1... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x40
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 [RBP + -0x38]
ADD RAX,0x280
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x38]
MOV EAX,dword ptr [RAX + 0x280... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *in,int inlen,type_3 *var_2)
{
type_4 *conf;
int var_1;
type_5 var_21;
int *piVar3;
char *var_27;
type_6 *pXVar5;
type_7 *pXVar6;
type_3 *pkt_00;
void *pvVar7;
type_8 *ptVar8;
type_3 *pkti... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid do_ssh1_connection(Ssh_conflict ssh,uchar *in,int inlen,Packet *pktin)\n\n{\n Conf *conf;\n int iVar1;\n uint uVar2;\n int *piVar3;\n char *pcVar4;\n X11Display *pXVar5;\n X11FakeAuth *pXVar6;\n Packet *pkt_00;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *in,int inlen,type_3 *var_2)\n\n{\n type_4 *conf;\n int var_1;\n type_5 var_21;\n int *piVar3;\n char *var_27;\n type_6 *pXVar5;\n type_7 *pXVar6;\n type_3 *pkt_00;\n void *pvVar7;\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... |
1318_putty_and_putty_strip.c | ecp_summul | FUN_0017908c | ecp_summul |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_summul(Bignum a,Bignum b,ec_point *point)
{
int iVar1;
ec_point *a_00;
ec_point *a_01;
ec_point *b_00;
ec_point *point_local;
Bignum b_local;
Bignum a_local;
int aminus3;
ec_point *aG;
ec_point *bP;
ec_point... |
undefined8 FUN_0017908c(undefined8 param_1,undefined8 param_2,long *param_3)
{
undefined4 uVar1;
int iVar2;
undefined8 uVar3;
long lVar4;
long lVar5;
if (*(int *)*param_3 == 0) {
uVar1 = FUN_00176ad9(*param_3);
lVar4 = FUN_00178c90(*param_3 + 0x40,param_1,uVar1);
if (lVar4 == 0) {
uVa... | (translation_unit "undefined8 FUN_0017908c(undefined8 param_1,undefined8 param_2,long *param_3)\n\n{\n undefined4 uVar1;\n int iVar2;\n undefined8 uVar3;\n long lVar4;\n long lVar5;\n \n if (*(int *)*param_3 == 0) {\n uVar1 = FUN_00176ad9(*param_3);\n lVar4 = FUN_00178c90(*param_3 + 0x40,param_1,uVar1);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX]
MOV EAX,dword ptr [RAX]
TEST EAX,EAX
JZ 0x001790b7
MOV EAX,0x0
JMP 0x00179188
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX]
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 a,type_2 b,type_1 *point)
{
int var_9;
type_1 *a_00;
type_1 *var_4;
type_1 *var_5;
type_1 *point_local;
type_2 b_local;
type_2 a_local;
int aminus3;
type_1 *aG;
type_1 *bP;
type_1 *ret;
if (... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_summul(Bignum a,Bignum b,ec_point *point)\n\n{\n int iVar1;\n ec_point *a_00;\n ec_point *a_01;\n ec_point *b_00;\n ec_point *point_local;\n Bignum b_local;\n Bignum a_local;\n int aminus3;\n ec_point ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 a,type_2 b,type_1 *point)\n\n{\n int var_9;\n type_1 *a_00;\n type_1 *var_4;\n type_1 *var_5;\n type_1 *point_local;\n type_2 b_local;\n type_2 a_local;\n int aminus3;\n type_1 *aG;\n type... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarato... |
1070_putty_and_putty_strip.c | ssh_send_packet_from_downstream | FUN_0015d626 | ssh_send_packet_from_downstream |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_send_packet_from_downstream
(Ssh_conflict ssh,uint id,int type,void *data,int datalen,char *additional_log_text)
{
Packet *pkt_00;
char *additional_log_text_local;
int datalen_local;
void *data_local;
int type_... |
void FUN_0015d626(undefined8 param_1,undefined4 param_2,undefined4 param_3,undefined8 param_4,
undefined4 param_5,undefined8 param_6)
{
long lVar1;
lVar1 = FUN_00140d83(param_3);
*(undefined4 *)(lVar1 + 0x48) = param_2;
*(undefined8 *)(lVar1 + 0x50) = param_6;
FUN_00140841(lVar1,param_4,... | (translation_unit "void FUN_0015d626(undefined8 param_1,undefined4 param_2,undefined4 param_3,undefined8 param_4,\n undefined4 param_5,undefined8 param_6)\n\n{\n long lVar1;\n \n lVar1 = FUN_00140d83(param_3);\n *(undefined4 *)(lVar1 + 0x48) = param_2;\n *(undefined8 *)(lVar1 + 0x50) = param_6;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV dword ptr [RBP + -0x2c],R8D
MOV qword ptr [RBP + -0x38],R9
MOV EAX,dword ptr [RBP + -0x20]
MOV EDI,EAX
CALL 0x00140d83
MOV qword ptr [RBP + -0x8],RAX
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1
(type_1 ssh,type_2 id,int type,void *data,int datalen,char *additional_log_text)
{
type_3 *pkt_00;
char *additional_log_text_local;
int datalen_local;
void *data_local;
int type_local;
type_2 id_local;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_send_packet_from_downstream\n (Ssh_conflict ssh,uint id,int type,void *data,int datalen,char *additional_log_text)\n\n{\n Packet *pkt_00;\n char *additional_log_text_local;\n int datalen_local;\n vo... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 ssh,type_2 id,int type,void *data,int datalen,char *additional_log_text)\n\n{\n type_3 *pkt_00;\n char *additional_log_text_local;\n int datalen_local;\n void *data_local;\n int ty... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_decla... |
1336_putty_and_putty_strip.c | ed25519_openssh_fmtkey | FUN_0017b0aa | ed25519_openssh_fmtkey |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ed25519_openssh_fmtkey(void *key,uchar *blob,int len)
{
int iVar1;
int iVar2;
int iVar3;
int iVar4;
int len_local;
uchar *blob_local;
void *key_local;
int i;
int pointlen;
int keylen;
int bloblen;
ec_key *ec;
if... |
int FUN_0017b0aa(long param_1,char *param_2,int param_3)
{
byte bVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
byte *local_38;
int local_20;
if (**(int **)(param_1 + 8) == 2) {
iVar2 = FUN_0016aba4(*(undefined8 *)(param_1 + 0x18));
iVar5 = iVar2 + 7;
if (iVar2 + 7 < 0) {
iVar5... | (translation_unit "int FUN_0017b0aa(long param_1,char *param_2,int param_3)\n\n{\n byte bVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n byte *local_38;\n int local_20;\n \n if (**(int **)(param_1 + 8) == 2) {\n iVar2 = FUN_0016aba4(*(undefined8 *)(param_1 + 0x18));\n iVar5 = iVar2 + 7;\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 + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV EAX,dword ptr [RAX]
CMP EAX,0x2
JZ 0x0017b0de
MOV EAX,0x0
JMP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *key,type_1 *var_7,int var_6)
{
int var_2;
int var_5;
int var_4;
int var_3;
int len_local;
type_1 *var_10;
void *key_local;
int var_8;
int pointlen;
int keylen;
int bloblen;
type_2 *ec;
if (**(in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ed25519_openssh_fmtkey(void *key,uchar *blob,int len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int len_local;\n uchar *blob_local;\n void *key_local;\n int i;\n int pointlen;\n int keylen;\n i... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *key,type_1 *var_7,int var_6)\n\n{\n int var_2;\n int var_5;\n int var_4;\n int var_3;\n int len_local;\n type_1 *var_10;\n void *key_local;\n int var_8;\n int pointlen;\n int keylen;\n int blob... | (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... |
1308_putty_and_putty_strip.c | ecp_double | FUN_00177ecb | ecp_double |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_double(ec_point *a,int aminus3)
{
ec_point *peVar1;
int aminus3_local;
ec_point *a_local;
if (a->infinity == '\0') {
if (a->curve->type == ADDRTYPE_IPV6) {
peVar1 = ecp_add(a,a,aminus3);
}
else if (a-... |
void FUN_00177ecb(undefined8 *param_1,undefined4 param_2)
{
if (*(char *)(param_1 + 4) == '\0') {
if (*(int *)*param_1 == 2) {
FUN_00178bdd(param_1,param_1,param_2);
}
else if (*(int *)*param_1 == 0) {
FUN_001775b2(param_1,param_2);
}
else {
FUN_00177c06(param_1);
}
}
e... | (translation_unit "void FUN_00177ecb(undefined8 *param_1,undefined4 param_2)\n\n{\n if (*(char *)(param_1 + 4) == '\0') {\n if (*(int *)*param_1 == 2) {\n FUN_00178bdd(param_1,param_1,param_2);\n }\n else if (*(int *)*param_1 == 0) {\n FUN_001775b2(param_1,param_2);\n }\n else {\n FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX + 0x20]
TEST AL,AL
JZ 0x00177f0c
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV R8D,0x1
MOV ECX,0x0
MOV EDX,0x0
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00176dfc
JMP 0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,int aminus3)
{
type_1 *peVar1;
int aminus3_local;
type_1 *a_local;
if (a->infinity == '\0') {
if (a->curve->type == var_1) {
peVar1 = var_2(a,a,aminus3);
}
else if (a->curve->type == va... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_double(ec_point *a,int aminus3)\n\n{\n ec_point *peVar1;\n int aminus3_local;\n ec_point *a_local;\n \n if (a->infinity == '\0') {\n if (a->curve->type == ADDRTYPE_IPV6) {\n peVar1 = ecp_add(a,a,am... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *a,int aminus3)\n\n{\n type_1 *peVar1;\n int aminus3_local;\n type_1 *a_local;\n \n if (a->infinity == '\0') {\n if (a->curve->type == var_1) {\n peVar1 = var_2(a,a,aminus3);\n }\n ... | (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 ... |
1765_putty_and_putty_strip.c | columns_gtk3_get_minfw_height | FUN_001b1f76 | columns_gtk3_get_minfw_height |
gint columns_gtk3_get_minfw_height(ColumnsChild *child)
{
long in_FS_OFFSET;
ColumnsChild *child_local;
gint ret;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
gtk_widget_get_preferred_height_for_width(child->widget,child->w,&ret,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
... |
undefined4 FUN_001b1f76(undefined8 *param_1)
{
long in_FS_OFFSET;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
gtk_widget_get_preferred_height_for_width(*param_1,*(undefined4 *)(param_1 + 7),&local_14,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
... | (translation_unit "undefined4 FUN_001b1f76(undefined8 *param_1)\n\n{\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_height_for_width(*param_1,*(undefined4 *)(param_1 + 7),&local_14,0);\n if (local_10 != *(long *)(in_FS_OFFSE... | 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 + 0x38]
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
LEA RDX,[RBP + -0xc]
MOV ECX,0x0
MOV RDI,RAX
CALL 0x00115b60
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->w,&ret,0);
if (var_3 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine does not return */
var_4();
}
return ret;
}
| (translation_unit "gint columns_gtk3_get_minfw_height(ColumnsChild *child)\n\n{\n long in_FS_OFFSET;\n ColumnsChild *child_local;\n gint ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n gtk_widget_get_preferred_height_for_width(child->widget,child->w,&ret,0);\n if (local_10 != *(long *)(i... | (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->w,&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... |
1777_putty_and_putty_strip.c | post_main | FUN_001b298f | post_main |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void post_main(void)
{
int iVar1;
iVar1 = gtk_main_level();
if (iVar1 == 1) {
notify_toplevel_callback((void *)0x0);
}
return;
}
|
void FUN_001b298f(void)
{
int iVar1;
iVar1 = gtk_main_level();
if (iVar1 == 1) {
FUN_001b2a19(0);
}
return;
}
| (translation_unit "void FUN_001b298f(void)\n\n{\n int iVar1;\n \n iVar1 = gtk_main_level();\n if (iVar1 == 1) {\n FUN_001b2a19(0);\n }\n return;\n}\n\n" (function_definition "void FUN_001b298f(void)\n\n{\n int iVar1;\n \n iVar1 = gtk_main_level();\n if (iVar1 == 1) {\n FUN_001b2a19(0);\n }\n return;\n... | PUSH RBP
MOV RBP,RSP
CALL 0x001154f0
CMP EAX,0x1
JNZ 0x001b29a7
MOV EDI,0x0
CALL 0x001b2a19
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
int var_2;
var_2 = var_1();
if (var_2 == 1) {
var_3((void *)0x0);
}
return;
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid post_main(void)\n\n{\n int iVar1;\n \n iVar1 = gtk_main_level();\n if (iVar1 == 1) {\n notify_toplevel_callback((void *)0x0);\n }\n return;\n}\n\n" comment (function_definition "void post_main(void)\n\n{\n ... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n int var_2;\n \n var_2 = var_1();\n if (var_2 == 1) {\n var_3((void *)0x0);\n }\n return;\n}\n\n" comment (function_definition "void function_1(void)\n\n{\n int var_2;\n \n var_2 = ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (as... |
1575_putty_and_putty_strip.c | lz77_init | FUN_001947ad | lz77_init |
int lz77_init(LZ77Context *ctx)
{
int iVar1;
LZ77InternalContext *pLVar2;
LZ77Context *ctx_local;
int i;
LZ77InternalContext *st;
pLVar2 = (LZ77InternalContext *)safemalloc(1,0x38ffc);
if (pLVar2 == (LZ77InternalContext *)0x0) {
iVar1 = 0;
}
else {
ctx->ictx = pLVar2;
for (i = 0; i < ... |
undefined8 FUN_001947ad(long *param_1)
{
long lVar1;
undefined8 uVar2;
undefined4 local_14;
lVar1 = FUN_0012e037(1,0x38ffc);
if (lVar1 == 0) {
uVar2 = 0;
}
else {
*param_1 = lVar1;
for (local_14 = 0; local_14 < 0x8000; local_14 = local_14 + 1) {
*(undefined2 *)((long)local_14 * 6 + ... | (translation_unit "undefined8 FUN_001947ad(long *param_1)\n\n{\n long lVar1;\n undefined8 uVar2;\n undefined4 local_14;\n \n lVar1 = FUN_0012e037(1,0x38ffc);\n if (lVar1 == 0) {\n uVar2 = 0;\n }\n else {\n *param_1 = lVar1;\n for (local_14 = 0; local_14 < 0x8000; local_14 = local_14 + 1) {\n *(und... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV ESI,0x38ffc
MOV EDI,0x1
CALL 0x0012e037
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x001947dd
MOV EAX,0x0
JMP 0x001948f2
MOV RAX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
MOV dword ptr [RBP ... |
int function_1(type_1 *ctx)
{
int iVar1;
type_2 *var_2;
type_1 *ctx_local;
int var_3;
type_2 *st;
var_2 = (type_2 *)var_1(1,0x38ffc);
if (var_2 == (type_2 *)0x0) {
iVar1 = 0;
}
else {
ctx->ictx = var_2;
for (var_3 = 0; var_3 < 0x8000; var_3 = var_3 + 1) {
var_2->win[var_3].hashv... | (translation_unit "int lz77_init(LZ77Context *ctx)\n\n{\n int iVar1;\n LZ77InternalContext *pLVar2;\n LZ77Context *ctx_local;\n int i;\n LZ77InternalContext *st;\n \n pLVar2 = (LZ77InternalContext *)safemalloc(1,0x38ffc);\n if (pLVar2 == (LZ77InternalContext *)0x0) {\n iVar1 = 0;\n }\n else {\n ctx->ict... | (translation_unit "int function_1(type_1 *ctx)\n\n{\n int iVar1;\n type_2 *var_2;\n type_1 *ctx_local;\n int var_3;\n type_2 *st;\n \n var_2 = (type_2 *)var_1(1,0x38ffc);\n if (var_2 == (type_2 *)0x0) {\n iVar1 = 0;\n }\n else {\n ctx->ictx = var_2;\n for (var_3 = 0; var_3 < 0x8000; var_3 = var_3 + 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: (primitive_type) de... |
1069_putty_and_putty_strip.c | ssh_delete_sharing_channel | FUN_0015d5dc | ssh_delete_sharing_channel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_delete_sharing_channel(Ssh_conflict ssh,uint localid)
{
uint localid_local;
Ssh_conflict ssh_local;
ssh_channel *c;
localid_local = localid;
ssh_local = ssh;
c = (ssh_channel *)find234(ssh->channels,&localid_local,ssh_ch... |
void FUN_0015d5dc(long param_1,undefined4 param_2)
{
undefined4 local_24;
long local_20;
long local_10;
local_24 = param_2;
local_20 = param_1;
local_10 = FUN_001ae652(*(undefined8 *)(param_1 + 0x1a0),&local_24,FUN_0013ca63);
if (local_10 != 0) {
FUN_00152c65(local_10);
}
return;
}
| (translation_unit "void FUN_0015d5dc(long param_1,undefined4 param_2)\n\n{\n undefined4 local_24;\n long local_20;\n long local_10;\n \n local_24 = param_2;\n local_20 = param_1;\n local_10 = FUN_001ae652(*(undefined8 *)(param_1 + 0x1a0),&local_24,FUN_0013ca63);\n if (local_10 != 0) {\n FUN_00152c65(local_10... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x1a0]
LEA RCX,[RBP + -0x1c]
LEA RDX,[0x13ca63]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001ae652
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0015d623
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 localid)
{
type_2 localid_local;
type_1 ssh_local;
type_3 *var_2;
localid_local = localid;
ssh_local = ssh;
var_2 = (type_3 *)var_1(ssh->channels,&localid_local,ssh_channelfind);
if (var_2 != (... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_delete_sharing_channel(Ssh_conflict ssh,uint localid)\n\n{\n uint localid_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n \n localid_local = localid;\n ssh_local = ssh;\n c = (ssh_channel *)find234(ssh->c... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 localid)\n\n{\n type_2 localid_local;\n type_1 ssh_local;\n type_3 *var_2;\n \n localid_local = localid;\n ssh_local = ssh;\n var_2 = (type_3 *)var_1(ssh->channels,&localid_local,ssh_c... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compoun... |
1287_putty_and_putty_strip.c | dss_sign | FUN_001762d7 | dss_sign |
uchar * dss_sign(void *key,char *data,int datalen,int *siglen)
{
long lVar1;
int iVar2;
Bignum *number;
Bignum_conflict p;
Bignum_conflict pBVar3;
Bignum_conflict b;
Bignum_conflict q;
Bignum_conflict bn;
uchar *puVar4;
long in_FS_OFFSET;
int *siglen_local;
int datalen_local;
char *data_loca... |
undefined *
FUN_001762d7(undefined8 *param_1,undefined8 param_2,undefined4 param_3,undefined4 *param_4)
{
undefined uVar1;
undefined8 uVar2;
long lVar3;
undefined8 uVar4;
undefined8 uVar5;
undefined8 uVar6;
undefined8 uVar7;
undefined *puVar8;
long in_FS_OFFSET;
int local_78;
undefined local_28 ... | (translation_unit "undefined *\nFUN_001762d7(undefined8 *param_1,undefined8 param_2,undefined4 param_3,undefined4 *param_4)\n\n{\n undefined uVar1;\n undefined8 uVar2;\n long lVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n undefined8 uVar7;\n undefined *puVar8;\n long in_FS_OFFSET;\n int ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x90
MOV qword ptr [RBP + -0x78],RDI
MOV qword ptr [RBP + -0x80],RSI
MOV dword ptr [RBP + -0x84],EDX
MOV qword ptr [RBP + -0x90],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x78]
MOV qword ptr [RBP + -0x68],RAX
LEA RDX,[RBP + -0x20]
M... |
type_1 * function_1(void *key,char *data,int datalen,int *siglen)
{
long var_18;
int iVar2;
type_2 *number;
type_3 var_5;
type_3 pBVar3;
type_3 b;
type_3 q;
type_3 bn;
type_1 *var_15;
long var_1;
int *siglen_local;
int datalen_local;
char *data_local;
void *key_local;
int var_16;
int n... | (translation_unit "uchar * dss_sign(void *key,char *data,int datalen,int *siglen)\n\n{\n long lVar1;\n int iVar2;\n Bignum *number;\n Bignum_conflict p;\n Bignum_conflict pBVar3;\n Bignum_conflict b;\n Bignum_conflict q;\n Bignum_conflict bn;\n uchar *puVar4;\n long in_FS_OFFSET;\n int *siglen_local;\n int ... | (translation_unit "type_1 * function_1(void *key,char *data,int datalen,int *siglen)\n\n{\n long var_18;\n int iVar2;\n type_2 *number;\n type_3 var_5;\n type_3 pBVar3;\n type_3 b;\n type_3 q;\n type_3 bn;\n type_1 *var_15;\n long var_1;\n int *siglen_local;\n int datalen_local;\n char *data_local;\n void... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
1806_putty_and_putty_strip.c | dlg_label_change | FUN_001b3e7d | dlg_label_change |
void dlg_label_change(control *ctrl,void *dlg,char *text)
{
uctrl *puVar1;
undefined8 uVar2;
char *text_local;
void *dlg_local;
control *ctrl_local;
dlgparam *dp;
uctrl *uc;
puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);
switch((puVar1->ctrl->generic).type) {
default:
/* WA... |
void FUN_001b3e7d(long param_1,undefined8 param_2,undefined8 param_3)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1);
switch(*(undefined4 *)*puVar1) {
default:
/* WARNING: Subroutine does not return */
__assert_fail("!\"This shouldn\'t... | (translation_unit "void FUN_001b3e7d(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_001b2d0b(param_2,param_1);\n switch(*(undefined4 *)*puVar1) {\n default:\n /* WARNING: Subroutine does not return */\n __ass... | 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 [RBP + -0x10],RAX
MOV RDX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001b2d0b
MOV qword ptr [RBP + -... |
void function_1(type_1 *ctrl,void *dlg,char *text)
{
type_2 *puVar1;
type_3 uVar2;
char *text_local;
void *dlg_local;
type_1 *ctrl_local;
type_4 *dp;
type_2 *uc;
puVar1 = var_1((type_4 *)dlg,ctrl);
switch((puVar1->ctrl->generic).type) {
default:
/* WARNING: Subroutine does n... | (translation_unit "void dlg_label_change(control *ctrl,void *dlg,char *text)\n\n{\n uctrl *puVar1;\n undefined8 uVar2;\n char *text_local;\n void *dlg_local;\n control *ctrl_local;\n dlgparam *dp;\n uctrl *uc;\n \n puVar1 = dlg_find_byctrl((dlgparam *)dlg,ctrl);\n switch((puVar1->ctrl->generic).type) {\n def... | (translation_unit "void function_1(type_1 *ctrl,void *dlg,char *text)\n\n{\n type_2 *puVar1;\n type_3 uVar2;\n char *text_local;\n void *dlg_local;\n type_1 *ctrl_local;\n type_4 *dp;\n type_2 *uc;\n \n puVar1 = var_1((type_4 *)dlg,ctrl);\n switch((puVar1->ctrl->generic).type) {\n default:\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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.