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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
492_psftp_and_psftp_strip.c | bomb_out | FUN_00126dea | bomb_out |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void bomb_out(Ssh_conflict ssh,char *text)
{
char *text_local;
Ssh_conflict ssh_local;
ssh_do_close(ssh,0);
logevent(ssh->frontend,text);
connection_fatal(ssh->frontend,"%s",text);
safefree(text);
return;
}
|
void FUN_00126dea(long param_1,undefined8 param_2)
{
FUN_0012e3cf(param_1,0);
FUN_0018517a(*(undefined8 *)(param_1 + 0x188),param_2);
FUN_0011c4e0(*(undefined8 *)(param_1 + 0x188),&DAT_00198cc3,param_2);
FUN_00110fa6(param_2);
return;
}
| (translation_unit "void FUN_00126dea(long param_1,undefined8 param_2)\n\n{\n FUN_0012e3cf(param_1,0);\n FUN_0018517a(*(undefined8 *)(param_1 + 0x188),param_2);\n FUN_0011c4e0(*(undefined8 *)(param_1 + 0x188),&DAT_00198cc3,param_2);\n FUN_00110fa6(param_2);\n return;\n}\n\n" (function_definition "void FUN_00126dea(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0012e3cf
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x188]
MOV RDX,qword ptr [RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0018517a
MOV RAX,qword ptr... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,char *text)
{
char *text_local;
type_1 ssh_local;
var_1(ssh,0);
var_2(ssh->frontend,text);
var_3(ssh->frontend,"%s",text);
var_4(text);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid bomb_out(Ssh_conflict ssh,char *text)\n\n{\n char *text_local;\n Ssh_conflict ssh_local;\n \n ssh_do_close(ssh,0);\n logevent(ssh->frontend,text);\n connection_fatal(ssh->frontend,"%s",text);\n safefree(text);\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,char *text)\n\n{\n char *text_local;\n type_1 ssh_local;\n \n var_1(ssh,0);\n var_2(ssh->frontend,text);\n var_3(ssh->frontend,"%s",text);\n var_4(text);\n return;\n}\n\n" comment (function_... | (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:... |
501_psftp_and_psftp_strip.c | c_write_stderr | FUN_001273ed | c_write_stderr |
void c_write_stderr(int trusted,char *buf,int len)
{
char *buf_local;
int len_local;
int trusted_local;
int i;
for (i = 0; i < len; i = i + 1) {
if ((buf[i] != '\r') && (((trusted != 0 || (buf[i] == '\n')) || ((buf[i] & 0x60U) != 0)))) {
fputc((int)buf[i],stderr);
}
}
return;
}
|
void FUN_001273ed(int param_1,long param_2,int param_3)
{
undefined4 local_c;
for (local_c = 0; local_c < param_3; local_c = local_c + 1) {
if ((*(char *)(param_2 + local_c) != '\r') &&
(((param_1 != 0 || (*(char *)(param_2 + local_c) == '\n')) ||
((*(byte *)(param_2 + local_c) & 0x60) != 0)... | (translation_unit "void FUN_001273ed(int param_1,long param_2,int param_3)\n\n{\n undefined4 local_c;\n \n for (local_c = 0; local_c < param_3; local_c = local_c + 1) {\n if ((*(char *)(param_2 + local_c) != '\r') &&\n (((param_1 != 0 || (*(char *)(param_2 + local_c) == '\n')) ||\n ((*(byte *)(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x18],EDX
MOV dword ptr [RBP + -0x4],0x0
JMP 0x00127478
MOV EAX,dword ptr [RBP + -0x4]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x20]
ADD RAX,RDX
MOVZX EAX,byte ptr [RAX]
CMP AL,0xd
JZ 0x00127474
CMP ... |
void function_1(int var_3,char *buf,int var_2)
{
char *buf_local;
int len_local;
int trusted_local;
int var_1;
for (var_1 = 0; var_1 < var_2; var_1 = var_1 + 1) {
if ((buf[var_1] != '\r') && (((var_3 != 0 || (buf[var_1] == '\n')) || ((buf[var_1] & 0x60U) != 0)))) {
var_4((int)buf[var_1],stderr)... | (translation_unit "void c_write_stderr(int trusted,char *buf,int len)\n\n{\n char *buf_local;\n int len_local;\n int trusted_local;\n int i;\n \n for (i = 0; i < len; i = i + 1) {\n if ((buf[i] != '\r') && (((trusted != 0 || (buf[i] == '\n')) || ((buf[i] & 0x60U) != 0)))) {\n fputc((int)buf[i],stderr);\n ... | (translation_unit "void function_1(int var_3,char *buf,int var_2)\n\n{\n char *buf_local;\n int len_local;\n int trusted_local;\n int var_1;\n \n for (var_1 = 0; var_1 < var_2; var_1 = var_1 + 1) {\n if ((buf[var_1] != '\r') && (((var_3 != 0 || (buf[var_1] == '\n')) || ((buf[var_1] & 0x60U) != 0)))) {\n v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifie... |
411_psftp_and_psftp_strip.c | sftp_pkt_addstring_str | FUN_00123789 | sftp_pkt_addstring_str |
void sftp_pkt_addstring_str(sftp_packet *pkt,char *data)
{
size_t sVar1;
char *data_local;
sftp_packet *pkt_local;
sVar1 = strlen(data);
sftp_pkt_adddata(pkt,data,(int)sVar1);
pkt->data[(ulong)pkt->savedpos - 4] = (char)(pkt->length - pkt->savedpos >> 0x18);
pkt->data[(ulong)pkt->savedpos - 3] = (cha... |
void FUN_00123789(long *param_1,char *param_2)
{
size_t sVar1;
sVar1 = strlen(param_2);
FUN_00123526(param_1,param_2,sVar1 & 0xffffffff);
*(char *)(((ulong)*(uint *)(param_1 + 2) - 4) + *param_1) =
(char)((uint)(*(int *)(param_1 + 1) - *(int *)(param_1 + 2)) >> 0x18);
*(char *)(((ulong)*(uint *)(p... | (translation_unit "void FUN_00123789(long *param_1,char *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = strlen(param_2);\n FUN_00123526(param_1,param_2,sVar1 & 0xffffffff);\n *(char *)(((ulong)*(uint *)(param_1 + 2) - 4) + *param_1) =\n (char)((uint)(*(int *)(param_1 + 1) - *(int *)(param_1 + 2)) >> 0x18);\n *(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x00108250
MOV EDX,EAX
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00123526
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr... |
void function_1(type_1 *pkt,char *data)
{
size_t sVar1;
char *data_local;
type_1 *pkt_local;
sVar1 = var_1(data);
var_2(pkt,data,(int)sVar1);
pkt->data[(type_2)pkt->savedpos - 4] = (char)(pkt->length - pkt->savedpos >> 0x18);
pkt->data[(type_2)pkt->savedpos - 3] = (char)(pkt->length - pkt->savedpos >... | (translation_unit "void sftp_pkt_addstring_str(sftp_packet *pkt,char *data)\n\n{\n size_t sVar1;\n char *data_local;\n sftp_packet *pkt_local;\n \n sVar1 = strlen(data);\n sftp_pkt_adddata(pkt,data,(int)sVar1);\n pkt->data[(ulong)pkt->savedpos - 4] = (char)(pkt->length - pkt->savedpos >> 0x18);\n pkt->data[(ulo... | (translation_unit "void function_1(type_1 *pkt,char *data)\n\n{\n size_t sVar1;\n char *data_local;\n type_1 *pkt_local;\n \n sVar1 = var_1(data);\n var_2(pkt,data,(int)sVar1);\n pkt->data[(type_2)pkt->savedpos - 4] = (char)(pkt->length - pkt->savedpos >> 0x18);\n pkt->data[(type_2)pkt->savedpos - 3] = (char)(p... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
816_psftp_and_psftp_strip.c | poly1305_feed_chunk | FUN_001589b7 | poly1305_feed_chunk |
void poly1305_feed_chunk(poly1305 *ctx,uchar *chunk,int len)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
int len_local;
uchar *chunk_local;
poly1305 *ctx_local;
bigval c;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
bigval_import_le(&c,chunk,len);
iVar2 = len;
if (len < 0) {
iVar2 = len + 7;
... |
void FUN_001589b7(long param_1,undefined8 param_2,int param_3)
{
int iVar1;
long in_FS_OFFSET;
ulong local_28 [4];
local_28[3] = *(long *)(in_FS_OFFSET + 0x28);
FUN_00157682(local_28,param_2,param_3);
iVar1 = param_3;
if (param_3 < 0) {
iVar1 = param_3 + 7;
}
local_28[iVar1 >> 3] = local_28[i... | (translation_unit "void FUN_001589b7(long param_1,undefined8 param_2,int param_3)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n ulong local_28 [4];\n \n local_28[3] = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00157682(local_28,param_2,param_3);\n iVar1 = param_3;\n if (param_3 < 0) {\n iVar1 = param_3 + 7;\n }\n lo... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EDX,dword ptr [RBP + -0x34]
MOV RCX,qword ptr [RBP + -0x30]
LEA RAX,[RBP + -0x20]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00... |
void function_1(type_1 *ctx,type_2 *chunk,int var_3)
{
long var_7;
int var_4;
long var_1;
int len_local;
type_2 *chunk_local;
type_1 *ctx_local;
type_3 c;
var_7 = *(long *)(var_1 + 0x28);
var_2(&c,chunk,var_3);
var_4 = var_3;
if (var_3 < 0) {
var_4 = var_3 + 7;
}
c.w[var_4 >> 3] = c.w... | (translation_unit "void poly1305_feed_chunk(poly1305 *ctx,uchar *chunk,int len)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n int len_local;\n uchar *chunk_local;\n poly1305 *ctx_local;\n bigval c;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n bigval_import_le(&c,chunk,len);\n iVar2 = len;\n if (l... | (translation_unit "void function_1(type_1 *ctx,type_2 *chunk,int var_3)\n\n{\n long var_7;\n int var_4;\n long var_1;\n int len_local;\n type_2 *chunk_local;\n type_1 *ctx_local;\n type_3 c;\n \n var_7 = *(long *)(var_1 + 0x28);\n var_2(&c,chunk,var_3);\n var_4 = var_3;\n if (var_3 < 0) {\n var_4 = var_3... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1212_pterm_and_pterm_strip.c | no_nonblock | FUN_0016503f | no_nonblock |
int no_nonblock(int fd)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
uVar1 = fcntl64(fd,3);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)(uint)fd,pcVar4);
... |
uint FUN_0016503f(uint param_1)
{
uint uVar1;
int iVar2;
int *piVar3;
char *pcVar4;
uVar1 = fcntl64(param_1,3);
if ((int)uVar1 < 0) {
piVar3 = __errno_location();
pcVar4 = strerror(*piVar3);
fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)param_1,pcVar4);
/* WARNING: Su... | (translation_unit "uint FUN_0016503f(uint param_1)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n \n uVar1 = fcntl64(param_1,3);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)param_1,pcVar4);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV EAX,dword ptr [RBP + -0x14]
MOV ESI,0x3
MOV EDI,EAX
MOV EAX,0x0
CALL 0x001109a0
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNS 0x001650a0
CALL 0x0010f080
MOV EAX,dword ptr [RAX]
MOV EDI,EAX
CALL 0x0010f4a0
MOV RCX,RAX
MOV RAX,qword... |
int function_1(int fd)
{
type_1 var_6;
int var_7;
int *piVar3;
char *pcVar4;
int fd_local;
int fdflags;
var_6 = var_1(fd,3);
if ((int)var_6 < 0) {
piVar3 = var_2();
pcVar4 = var_3(*piVar3);
var_4(stderr,"%d: fcntl(F_GETFL): %s\n",(type_2)(type_1)fd,pcVar4);
/* WARNIN... | (translation_unit "int no_nonblock(int fd)\n\n{\n uint uVar1;\n int iVar2;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n uVar1 = fcntl64(fd,3);\n if ((int)uVar1 < 0) {\n piVar3 = __errno_location();\n pcVar4 = strerror(*piVar3);\n fprintf(stderr,"%d: fcntl(F_GETFL): %s\n",(ulong)(... | (translation_unit "int function_1(int fd)\n\n{\n type_1 var_6;\n int var_7;\n int *piVar3;\n char *pcVar4;\n int fd_local;\n int fdflags;\n \n var_6 = var_1(fd,3);\n if ((int)var_6 < 0) {\n piVar3 = var_2();\n pcVar4 = var_3(*piVar3);\n var_4(stderr,"%d: fcntl(F_GETFL): %s\n",(type_2)(type_1)fd,pcVar4... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declarat... |
774_psftp_and_psftp_strip.c | decbn | FUN_00154ab0 | decbn |
void decbn(Bignum_conflict bn)
{
Bignum_conflict bn_local;
int i;
i = 1;
while ((i < (int)*bn && (bn[i] == 0))) {
bn[i] = 0xffffffffffffffff;
i = i + 1;
}
if ((int)*bn <= i) {
/* WARNING: Subroutine does not return */
__assert_fail("i < (int)bn[0]","sshbn.c",0x57b,"decbn... |
void FUN_00154ab0(undefined8 *param_1)
{
int local_c;
local_c = 1;
while ((local_c < (int)*param_1 && (param_1[local_c] == 0))) {
param_1[local_c] = 0xffffffffffffffff;
local_c = local_c + 1;
}
if ((int)*param_1 <= local_c) {
/* WARNING: Subroutine does not return */
__ass... | (translation_unit "void FUN_00154ab0(undefined8 *param_1)\n\n{\n int local_c;\n \n local_c = 1;\n while ((local_c < (int)*param_1 && (param_1[local_c] == 0))) {\n param_1[local_c] = 0xffffffffffffffff;\n local_c = local_c + 1;\n }\n if ((int)*param_1 <= local_c) {\n /* WARNING: Subroutine... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x1
JMP 0x00154ae6
MOV EAX,dword ptr [RBP + -0x4]
LEA EDX,[RAX + 0x1]
MOV dword ptr [RBP + -0x4],EDX
CDQE
LEA RDX,[RAX*0x8]
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,RDX
MOV qword ptr [RAX],-0x1
MOV RAX,qword ptr [RBP + -0x18]
MO... |
void function_1(type_1 bn)
{
type_1 bn_local;
int var_1;
var_1 = 1;
while ((var_1 < (int)*bn && (bn[var_1] == 0))) {
bn[var_1] = 0xffffffffffffffff;
var_1 = var_1 + 1;
}
if ((int)*bn <= var_1) {
/* WARNING: Subroutine does not return */
var_2("i < (int)bn[0]","sshbn.c",0... | (translation_unit "void decbn(Bignum_conflict bn)\n\n{\n Bignum_conflict bn_local;\n int i;\n \n i = 1;\n while ((i < (int)*bn && (bn[i] == 0))) {\n bn[i] = 0xffffffffffffffff;\n i = i + 1;\n }\n if ((int)*bn <= i) {\n /* WARNING: Subroutine does not return */\n __assert_fail("i < (in... | (translation_unit "void function_1(type_1 bn)\n\n{\n type_1 bn_local;\n int var_1;\n \n var_1 = 1;\n while ((var_1 < (int)*bn && (bn[var_1] == 0))) {\n bn[var_1] = 0xffffffffffffffff;\n var_1 = var_1 + 1;\n }\n if ((int)*bn <= var_1) {\n /* WARNING: Subroutine does not return */\n var... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declara... |
385_psftp_and_psftp_strip.c | gpps | FUN_0011d9c4 | gpps |
void gpps(void *handle,char *name,char *def,Conf *conf,int primary)
{
char *value;
int primary_local;
Conf *conf_local;
char *def_local;
char *name_local;
void *handle_local;
char *val;
value = gpps_raw(handle,name,def);
conf_set_str(conf,primary,value);
safefree(value);
return;
}
|
void FUN_0011d9c4(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
undefined4 param_5)
{
undefined8 uVar1;
uVar1 = FUN_0011d957(param_1,param_2,param_3);
FUN_0010c560(param_4,param_5,uVar1);
FUN_00110fa6(uVar1);
return;
}
| (translation_unit "void FUN_0011d9c4(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined4 param_5)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0011d957(param_1,param_2,param_3);\n FUN_0010c560(param_4,param_5,uVar1);\n FUN_00110fa6(uVar1);\n return;\n}\n\n" (func... | 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 RDX,qword ptr [RBP + -0x28]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RCX
MOV RDI,RAX
CALL 0... |
void function_1(void *handle,char *name,char *def,type_1 *conf,int primary)
{
char *value;
int primary_local;
type_1 *conf_local;
char *def_local;
char *name_local;
void *handle_local;
char *val;
value = var_1(handle,name,def);
var_2(conf,primary,value);
var_3(value);
return;
}
| (translation_unit "void gpps(void *handle,char *name,char *def,Conf *conf,int primary)\n\n{\n char *value;\n int primary_local;\n Conf *conf_local;\n char *def_local;\n char *name_local;\n void *handle_local;\n char *val;\n \n value = gpps_raw(handle,name,def);\n conf_set_str(conf,primary,value);\n safefree(... | (translation_unit "void function_1(void *handle,char *name,char *def,type_1 *conf,int primary)\n\n{\n char *value;\n int primary_local;\n type_1 *conf_local;\n char *def_local;\n char *name_local;\n void *handle_local;\n char *val;\n \n value = var_1(handle,name,def);\n var_2(conf,primary,value);\n var_3(val... | (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_... |
680_psftp_and_psftp_strip.c | ssh_reconfig | FUN_00146983 | ssh_reconfig |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_reconfig(void *handle,Conf *conf)
{
undefined8 uVar1;
long lVar2;
int iVar3;
int iVar4;
ulong uVar5;
char *bs;
Conf *pCVar6;
bool bVar7;
Conf *conf_local;
void *handle_local;
int rekey_mandatory;
int i;
int re... |
void FUN_00146983(long param_1,undefined8 param_2)
{
int iVar1;
int iVar2;
long lVar3;
undefined8 uVar4;
bool bVar5;
int local_48;
char *local_40;
local_40 = (char *)0x0;
FUN_00111952(*(undefined8 *)(param_1 + 0xbe8),*(undefined8 *)(param_1 + 0x380),param_2);
if (*(long *)(param_1 + 0x1c8) != 0... | (translation_unit "void FUN_00146983(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n int iVar2;\n long lVar3;\n undefined8 uVar4;\n bool bVar5;\n int local_48;\n char *local_40;\n \n local_40 = (char *)0x0;\n FUN_00111952(*(undefined8 *)(param_1 + 0xbe8),*(undefined8 *)(param_1 + 0x380),param_2);\n if (... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x58
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV RAX,qword ptr [RBP + -0x58]
MOV qword ptr [RBP + -0x30],RAX
MOV qword ptr [RBP + -0x38],0x0
MOV dword ptr [RBP + -0x44],0x0
MOV RAX,qword ptr [RBP + -0x30]
MOV RCX,qword ptr [RAX + 0x380]
MOV RAX,qword ptr [RB... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,type_1 *conf)
{
type_2 uVar1;
long var_11;
int var_4;
int var_5;
type_3 var_7;
char *bs;
type_1 *pCVar6;
bool bVar7;
type_1 *conf_local;
void *handle_local;
int rekey_mandatory;
int var_12;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_reconfig(void *handle,Conf *conf)\n\n{\n undefined8 uVar1;\n long lVar2;\n int iVar3;\n int iVar4;\n ulong uVar5;\n char *bs;\n Conf *pCVar6;\n bool bVar7;\n Conf *conf_local;\n void *handle_local;\n int r... | (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_2 uVar1;\n long var_11;\n int var_4;\n int var_5;\n type_3 var_7;\n char *bs;\n type_1 *pCVar6;\n bool bVar7;\n type_1 *conf_local;\n void *handle_local;\n int... | (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... |
842_psftp_and_psftp_strip.c | crc_update | FUN_001593b9 | crc_update |
void crc_update(uint32 *a,void *b)
{
ulong uVar1;
void *b_local;
uint32 *a_local;
uVar1 = crc32_update((ulong)*a,b,4);
*a = (uint32)uVar1;
return;
}
|
void FUN_001593b9(undefined4 *param_1,undefined8 param_2)
{
undefined4 uVar1;
uVar1 = FUN_0015929c(*param_1,param_2,4);
*param_1 = uVar1;
return;
}
| (translation_unit "void FUN_001593b9(undefined4 *param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_0015929c(*param_1,param_2,4);\n *param_1 = uVar1;\n return;\n}\n\n" (function_definition "void FUN_001593b9(undefined4 *param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n \n uVar1 = FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
MOV ECX,EAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,0x4
MOV RSI,RAX
MOV RDI,RCX
CALL 0x0015929c
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX],EDX
NOP
L... |
void function_1(type_1 *var_2,void *b)
{
type_2 uVar1;
void *b_local;
type_1 *a_local;
uVar1 = var_1((type_2)*var_2,b,4);
*var_2 = (type_1)uVar1;
return;
}
| (translation_unit "void crc_update(uint32 *a,void *b)\n\n{\n ulong uVar1;\n void *b_local;\n uint32 *a_local;\n \n uVar1 = crc32_update((ulong)*a,b,4);\n *a = (uint32)uVar1;\n return;\n}\n\n" (function_definition "void crc_update(uint32 *a,void *b)\n\n{\n ulong uVar1;\n void *b_local;\n uint32 *a_local;\n \n... | (translation_unit "void function_1(type_1 *var_2,void *b)\n\n{\n type_2 uVar1;\n void *b_local;\n type_1 *a_local;\n \n uVar1 = var_1((type_2)*var_2,b,4);\n *var_2 = (type_1)uVar1;\n return;\n}\n\n" (function_definition "void function_1(type_1 *var_2,void *b)\n\n{\n type_2 uVar1;\n void *b_local;\n type_1 *a_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
673_psftp_and_psftp_strip.c | ssh2_bare_connection_protocol_setup | FUN_001458e2 | ssh2_bare_connection_protocol_setup |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_bare_connection_protocol_setup(Ssh_conflict ssh)
{
Ssh_conflict ssh_local;
int i;
for (i = 0; i < 0x100; i = i + 1) {
ssh->packet_dispatch[i] = ssh2_msg_something_unimplemented;
}
ssh->packet_dispatch[0x50] = ssh2_msg... |
void FUN_001458e2(long param_1)
{
int local_c;
for (local_c = 0; local_c < 0x100; local_c = local_c + 1) {
*(code **)(param_1 + 8 + ((long)local_c + 0x78) * 8) = FUN_0014561c;
}
*(code **)(param_1 + 0x648) = FUN_001455a1;
*(code **)(param_1 + 0x650) = FUN_001455a1;
*(code **)(param_1 + 0x658) = FUN... | (translation_unit "void FUN_001458e2(long param_1)\n\n{\n int local_c;\n \n for (local_c = 0; local_c < 0x100; local_c = local_c + 1) {\n *(code **)(param_1 + 8 + ((long)local_c + 0x78) * 8) = FUN_0014561c;\n }\n *(code **)(param_1 + 0x648) = FUN_001455a1;\n *(code **)(param_1 + 0x650) = FUN_001455a1;\n *(cod... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x00145911
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
ADD RDX,0x78
LEA RCX,[0x14561c]
MOV qword ptr [RAX + RDX*0x8 + 0x8],RCX
ADD dword ptr [RBP + -0x4],0x1
CMP dword ptr [RBP + -0x4],0xff
JLE 0x00... |
/* 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] = ssh2_msg_something_unimplemented;
}
ssh->packet_dispatch[0x50] = ssh2_msg_unexpected;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_bare_connection_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] = ssh2_msg_something_unimplemented;\n }\n ssh->pac... | (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] = ssh2_msg_something_unimplemented;\n }\n ssh->packet_dispatch[... | (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)... |
1130_pterm_and_pterm_strip.c | set_window_background | FUN_0015e475 | set_window_background |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void set_window_background(gui_data *inst)
{
undefined8 uVar1;
GtkWidget *pGVar2;
gui_data *inst_local;
if (inst->area != (GtkWidget *)0x0) {
uVar1 = gtk_widget_get_type();
pGVar2 = (GtkWidget *)g_type_check_instance_cast(ins... |
void FUN_0015e475(long *param_1)
{
undefined8 uVar1;
if (param_1[1] != 0) {
uVar1 = gtk_widget_get_type();
uVar1 = g_type_check_instance_cast(param_1[1],uVar1);
FUN_0015e3bb(uVar1,param_1 + 0x19c);
}
if (*param_1 != 0) {
uVar1 = gtk_widget_get_type();
uVar1 = g_type_check_instance_cast(... | (translation_unit "void FUN_0015e475(long *param_1)\n\n{\n undefined8 uVar1;\n \n if (param_1[1] != 0) {\n uVar1 = gtk_widget_get_type();\n uVar1 = g_type_check_instance_cast(param_1[1],uVar1);\n FUN_0015e3bb(uVar1,param_1 + 0x19c);\n }\n if (*param_1 != 0) {\n uVar1 = gtk_widget_get_type();\n uVar1... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x18
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x0015e4c0
MOV RAX,qword ptr [RBP + -0x18]
LEA RBX,[RAX + 0xce0]
CALL 0x0010f4c0
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
MOV RSI,RDX
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *inst)
{
type_2 uVar1;
type_3 *pGVar2;
type_1 *inst_local;
if (inst->area != (type_3 *)0x0) {
uVar1 = var_1();
pGVar2 = (type_3 *)var_2(inst->area,uVar1);
var_3(pGVar2,inst->cols + 0x102);
}
if ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_window_background(gui_data *inst)\n\n{\n undefined8 uVar1;\n GtkWidget *pGVar2;\n gui_data *inst_local;\n \n if (inst->area != (GtkWidget *)0x0) {\n uVar1 = gtk_widget_get_type();\n pGVar2 = (GtkWidget *)g... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *inst)\n\n{\n type_2 uVar1;\n type_3 *pGVar2;\n type_1 *inst_local;\n \n if (inst->area != (type_3 *)0x0) {\n uVar1 = var_1();\n pGVar2 = (type_3 *)var_2(inst->area,uVar1);\n var_3(pGVar2,... | (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... |
289_psftp_and_psftp_strip.c | pfd_send | FUN_00112c55 | pfd_send |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int pfd_send(PortForwarding *pf,char *data,int len)
{
int iVar1;
int len_local;
char *data_local;
PortForwarding *pf_local;
if (pf == (PortForwarding *)0x0) {
iVar1 = 0;
}
else {
iVar1 = (*(*pf->s)->write)(pf->s,data,le... |
undefined8 FUN_00112c55(long param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 uVar1;
if (param_1 == 0) {
uVar1 = 0;
}
else {
uVar1 = (**(code **)(**(long **)(param_1 + 0x18) + 0x10))
(*(undefined8 *)(param_1 + 0x18),param_2,param_3);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00112c55(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 uVar1;\n \n if (param_1 == 0) {\n uVar1 = 0;\n }\n else {\n uVar1 = (**(code **)(**(long **)(param_1 + 0x18) + 0x10))\n (*(undefined8 *)(param_1 + 0x18),param_2,param_3);\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
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x00112c76
MOV EAX,0x0
JMP 0x00112c99
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x10]
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *var_1,char *data,int len)
{
int iVar1;
int len_local;
char *data_local;
type_1 *pf_local;
if (var_1 == (type_1 *)0x0) {
iVar1 = 0;
}
else {
iVar1 = (*(*var_1->s)->write)(var_1->s,data,len);
}
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint pfd_send(PortForwarding *pf,char *data,int len)\n\n{\n int iVar1;\n int len_local;\n char *data_local;\n PortForwarding *pf_local;\n \n if (pf == (PortForwarding *)0x0) {\n iVar1 = 0;\n }\n else {\n iVar1 = ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *var_1,char *data,int len)\n\n{\n int iVar1;\n int len_local;\n char *data_local;\n type_1 *pf_local;\n \n if (var_1 == (type_1 *)0x0) {\n iVar1 = 0;\n }\n else {\n iVar1 = (*(*var_1->s)->w... | (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... |
1228_pterm_and_pterm_strip.c | cfgbox | FUN_0016564c | cfgbox |
int cfgbox(Conf *conf)
{
Conf *conf_local;
conf_set_int(conf,2,-1);
return 1;
}
|
undefined8 FUN_0016564c(undefined8 param_1)
{
FUN_00115786(param_1,2,0xffffffff);
return 1;
}
| (translation_unit "undefined8 FUN_0016564c(undefined8 param_1)\n\n{\n FUN_00115786(param_1,2,0xffffffff);\n return 1;\n}\n\n" (function_definition "undefined8 FUN_0016564c(undefined8 param_1)\n\n{\n FUN_00115786(param_1,2,0xffffffff);\n return 1;\n}" type_identifier (function_declarator "FUN_0016564c(undefined8 par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0xffffffff
MOV ESI,0x2
MOV RDI,RAX
CALL 0x00115786
MOV EAX,0x1
LEAVE
RET |
int function_1(type_1 *conf)
{
type_1 *conf_local;
var_1(conf,2,-1);
return 1;
}
| (translation_unit "int cfgbox(Conf *conf)\n\n{\n Conf *conf_local;\n \n conf_set_int(conf,2,-1);\n return 1;\n}\n\n" (function_definition "int cfgbox(Conf *conf)\n\n{\n Conf *conf_local;\n \n conf_set_int(conf,2,-1);\n return 1;\n}" primitive_type (function_declarator "cfgbox(Conf *conf)" identifier (parameter_... | (translation_unit "int function_1(type_1 *conf)\n\n{\n type_1 *conf_local;\n \n var_1(conf,2,-1);\n return 1;\n}\n\n" (function_definition "int function_1(type_1 *conf)\n\n{\n type_1 *conf_local;\n \n var_1(conf,2,-1);\n return 1;\n}" primitive_type (function_declarator "function_1(type_1 *conf)" identifier (pa... | (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... |
835_psftp_and_psftp_strip.c | ccp_length_op | FUN_00159134 | ccp_length_op |
void ccp_length_op(ccp_context *ctx,uchar *blk,int len,ulong seq)
{
long lVar1;
long in_FS_OFFSET;
ulong seq_local;
int len_local;
uchar *blk_local;
ccp_context *ctx_local;
uchar iv [8];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
iv[0] = '\0';
iv[1] = '\0';
iv[2] = '\0';
iv[3] = '\0';
iv[4] ... |
void FUN_00159134(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
{
long in_FS_OFFSET;
undefined local_18;
undefined local_17;
undefined local_16;
undefined local_15;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10... | (translation_unit "void FUN_00159134(long param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_18;\n undefined local_17;\n undefined local_16;\n undefined local_15;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV byte ptr [RBP + -0x10],0x0
MOV byte ptr [RBP + -0xf],0x0
MOV byte ptr [RBP + -0xe],... |
void function_1(type_1 *ctx,type_2 *blk,int len,type_3 var_2)
{
long var_5;
long var_1;
type_3 seq_local;
int len_local;
type_2 *blk_local;
type_1 *ctx_local;
type_2 iv [8];
var_5 = *(long *)(var_1 + 0x28);
iv[0] = '\0';
iv[1] = '\0';
iv[2] = '\0';
iv[3] = '\0';
iv[4] = (type_2)var_2;
i... | (translation_unit "void ccp_length_op(ccp_context *ctx,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n ccp_context *ctx_local;\n uchar iv [8];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n iv[0] = '\0';\n iv[1] = '\0';\n iv[2] ... | (translation_unit "void function_1(type_1 *ctx,type_2 *blk,int len,type_3 var_2)\n\n{\n long var_5;\n long var_1;\n type_3 seq_local;\n int len_local;\n type_2 *blk_local;\n type_1 *ctx_local;\n type_2 iv [8];\n \n var_5 = *(long *)(var_1 + 0x28);\n iv[0] = '\0';\n iv[1] = '\0';\n iv[2] = '\0';\n iv[3] = '... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
391_psftp_and_psftp_strip.c | wmap | FUN_0011dd4e | wmap |
void wmap(void *handle,char *outkey,Conf *conf,int primary,int include_values)
{
char *pcVar1;
int iVar2;
size_t sVar3;
size_t sVar4;
long in_FS_OFFSET;
int include_values_local;
int primary_local;
Conf *conf_local;
char *outkey_local;
void *handle_local;
int len;
char *key;
char *p;
char ... |
void FUN_0011dd4e(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4,int param_5)
{
char *pcVar1;
int iVar2;
size_t sVar3;
size_t sVar4;
long in_FS_OFFSET;
int local_5c;
char *local_58;
char *local_50;
char *local_48;
char *local_40;
char *local_38;
char *local_30;
char *lo... | (translation_unit "void FUN_0011dd4e(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4,int param_5)\n\n{\n char *pcVar1;\n int iVar2;\n size_t sVar3;\n size_t sVar4;\n long in_FS_OFFSET;\n int local_5c;\n char *local_58;\n char *local_50;\n char *local_48;\n char *local_40;\n char *local_3... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x78
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV qword ptr [RBP + -0x78],RDX
MOV dword ptr [RBP + -0x7c],ECX
MOV dword ptr [RBP + -0x80],R8D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x54],0x1
LEA RDX,[RBP ... |
void function_1(void *handle,char *outkey,type_1 *conf,int var_11,int var_20)
{
char *var_21;
int var_13;
size_t sVar3;
size_t sVar4;
long var_1;
int include_values_local;
int primary_local;
type_1 *conf_local;
char *outkey_local;
void *handle_local;
int var_5;
char *key;
char *var_17;
cha... | (translation_unit "void wmap(void *handle,char *outkey,Conf *conf,int primary,int include_values)\n\n{\n char *pcVar1;\n int iVar2;\n size_t sVar3;\n size_t sVar4;\n long in_FS_OFFSET;\n int include_values_local;\n int primary_local;\n Conf *conf_local;\n char *outkey_local;\n void *handle_local;\n int len;\... | (translation_unit "void function_1(void *handle,char *outkey,type_1 *conf,int var_11,int var_20)\n\n{\n char *var_21;\n int var_13;\n size_t sVar3;\n size_t sVar4;\n long var_1;\n int include_values_local;\n int primary_local;\n type_1 *conf_local;\n char *outkey_local;\n void *handle_local;\n int var_5;\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_... |
151_psftp_and_psftp_strip.c | cmdline_cleanup | FUN_001091ab | cmdline_cleanup |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void cmdline_cleanup(void)
{
size_t n;
int pri;
if (cmdline_password != (char *)0x0) {
n = strlen(cmdline_password);
smemclr(cmdline_password,n);
safefree(cmdline_password);
cmdline_password = (char *)0x0;
}
for... |
void FUN_001091ab(void)
{
size_t sVar1;
int local_c;
if (DAT_001b8ce0 != (char *)0x0) {
sVar1 = strlen(DAT_001b8ce0);
FUN_0011106e(DAT_001b8ce0,sVar1);
FUN_00110fa6(DAT_001b8ce0);
DAT_001b8ce0 = (char *)0x0;
}
for (local_c = 0; local_c < 2; local_c = local_c + 1) {
FUN_00110fa6(*(unde... | (translation_unit "void FUN_001091ab(void)\n\n{\n size_t sVar1;\n int local_c;\n \n if (DAT_001b8ce0 != (char *)0x0) {\n sVar1 = strlen(DAT_001b8ce0);\n FUN_0011106e(DAT_001b8ce0,sVar1);\n FUN_00110fa6(DAT_001b8ce0);\n DAT_001b8ce0 = (char *)0x0;\n }\n for (local_c = 0; local_c < 2; local_c = local_c ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV RAX,qword ptr [0x001b8ce0]
TEST RAX,RAX
JZ 0x001091fd
MOV RAX,qword ptr [0x001b8ce0]
MOV RDI,RAX
CALL 0x00108250
MOV RDX,RAX
MOV RAX,qword ptr [0x001b8ce0]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0011106e
MOV RAX,qword ptr [0x001b8ce0]
MOV RDI,RAX
CALL 0x00110fa6
MOV qword ptr [0x001b8ce0],... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
size_t n;
int var_5;
if (var_1 != (char *)0x0) {
n = var_2(var_1);
var_3(var_1,n);
var_4(var_1);
var_1 = (char *)0x0;
}
for (var_5 = 0; var_5 < 2; var_5 = var_5 + 1) {
var_4(saves[var... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid cmdline_cleanup(void)\n\n{\n size_t n;\n int pri;\n \n if (cmdline_password != (char *)0x0) {\n n = strlen(cmdline_password);\n smemclr(cmdline_password,n);\n safefree(cmdline_password);\n cmdline_pas... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n size_t n;\n int var_5;\n \n if (var_1 != (char *)0x0) {\n n = var_2(var_1);\n var_3(var_1,n);\n var_4(var_1);\n var_1 = (char *)0x0;\n }\n for (var_5 = 0; var_5 < 2; var_5 = ... | (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)) (declaration type: (primi... |
749_psftp_and_psftp_strip.c | blowfish_ssh1_encrypt_blk | FUN_0015108d | blowfish_ssh1_encrypt_blk |
void blowfish_ssh1_encrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
BlowfishContext *ctx;
blowfish_lsb_encrypt_cbc(blk,len,(BlowfishContext *)handle);
return;
}
|
void FUN_0015108d(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0014fb5e(param_2,param_3,param_1);
return;
}
| (translation_unit "void FUN_0015108d(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0014fb5e(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_0015108d(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0014fb5e(param_2,param_3,param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *ctx;
var_1(blk,len,(type_2 *)handle);
return;
}
| (translation_unit "void blowfish_ssh1_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n blowfish_lsb_encrypt_cbc(blk,len,(BlowfishContext *)handle);\n return;\n}\n\n" (function_definition "void blowfish_ssh1_encrypt_blk(void ... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *bl... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
282_psftp_and_psftp_strip.c | pfd_connect | FUN_00112622 | pfd_connect |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * pfd_connect(PortForwarding **pf_ret,char *hostname,int port,void *c,Conf *conf,
int addressfamily)
{
PortForwarding *pPVar1;
Socket ppsVar2;
char *pcVar3;
long in_FS_OFFSET;
Conf *conf_local;
void *c_local;
... |
undefined8
FUN_00112622(long *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined8 param_5,undefined4 param_6)
{
long lVar1;
undefined8 uVar2;
long in_FS_OFFSET;
undefined8 local_40;
undefined8 local_38;
long local_30;
undefined8 local_28;
undefined8 *local_20;
un... | (translation_unit "undefined8\nFUN_00112622(long *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined8 param_5,undefined4 param_6)\n\n{\n long lVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined8 local_40;\n undefined8 local_38;\n long local_30;\n undefined8 local_28;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV dword ptr [RBP + -0x54],EDX
MOV qword ptr [RBP + -0x60],RCX
MOV qword ptr [RBP + -0x68],R8
MOV dword ptr [RBP + -0x58],R9D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EDI,dword ptr [RBP +... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(type_1 **pf_ret,char *hostname,int port,void *c,type_2 *conf,
int addressfamily)
{
type_1 *pPVar1;
type_3 ppsVar2;
char *pcVar3;
long var_1;
type_2 *conf_local;
void *c_local;
int addressfamily_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * pfd_connect(PortForwarding **pf_ret,char *hostname,int port,void *c,Conf *conf,\n int addressfamily)\n\n{\n PortForwarding *pPVar1;\n Socket ppsVar2;\n char *pcVar3;\n long in_FS_OFFSET;\n Conf *c... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 **pf_ret,char *hostname,int port,void *c,type_2 *conf,\n int addressfamily)\n\n{\n type_1 *pPVar1;\n type_3 ppsVar2;\n char *pcVar3;\n long var_1;\n type_2 *conf_local;\n void *... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identi... |
570_psftp_and_psftp_strip.c | ssh_receive | FUN_0012e89e | ssh_receive |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_receive(Plug plug,int urgent,char *data,int len)
{
char *data_local;
int len_local;
int urgent_local;
Plug plug_local;
Ssh_conflict ssh;
ssh_gotdata((Ssh_conflict)plug,(uchar *)data,len);
if (*(int *)(plug + 0x3a) == 4... |
void FUN_0012e89e(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)
{
FUN_0012e232(param_1,param_3,param_4);
if (*(int *)(param_1 + 0x1d0) == 4) {
FUN_0012e3cf(param_1,1);
}
return;
}
| (translation_unit "void FUN_0012e89e(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n FUN_0012e232(param_1,param_3,param_4);\n if (*(int *)(param_1 + 0x1d0) == 4) {\n FUN_0012e3cf(param_1,1);\n }\n return;\n}\n\n" (function_definition "void FUN_0012e89e(long param_1,undefined8 param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x20],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV EDX,dword ptr [RBP + -0x20]
MOV RCX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RBP + -0x8]
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_2,int urgent,char *data,int len)
{
char *data_local;
int len_local;
int urgent_local;
type_1 plug_local;
type_2 ssh;
var_1((type_2)var_2,(type_3 *)data,len);
if (*(int *)(var_2 + 0x3a) == 4) {
var... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_receive(Plug plug,int urgent,char *data,int len)\n\n{\n char *data_local;\n int len_local;\n int urgent_local;\n Plug plug_local;\n Ssh_conflict ssh;\n \n ssh_gotdata((Ssh_conflict)plug,(uchar *)data,len);\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2,int urgent,char *data,int len)\n\n{\n char *data_local;\n int len_local;\n int urgent_local;\n type_1 plug_local;\n type_2 ssh;\n \n var_1((type_2)var_2,(type_3 *)data,len);\n if (*(int *)... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
1304_pterm_and_pterm_strip.c | is_dbcs_leadbyte | FUN_001693df | is_dbcs_leadbyte |
wchar_t is_dbcs_leadbyte(wchar_t codepage,char byte)
{
char byte_local;
wchar_t codepage_local;
return L'\0';
}
|
undefined8 FUN_001693df(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_001693df(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_001693df(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_001693df(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x4],EDI
MOV EAX,ESI
MOV byte ptr [RBP + -0x8],AL
MOV EAX,0x0
POP RBP
RET |
type_1 function_1(type_1 codepage,char byte)
{
char byte_local;
type_1 codepage_local;
return L'\0';
}
| (translation_unit "wchar_t is_dbcs_leadbyte(wchar_t codepage,char byte)\n\n{\n char byte_local;\n wchar_t codepage_local;\n \n return L'\0';\n}\n\n" (function_definition "wchar_t is_dbcs_leadbyte(wchar_t codepage,char byte)\n\n{\n char byte_local;\n wchar_t codepage_local;\n \n return L'\0';\n}" type_identifier... | (translation_unit "type_1 function_1(type_1 codepage,char byte)\n\n{\n char byte_local;\n type_1 codepage_local;\n \n return L'\0';\n}\n\n" (function_definition "type_1 function_1(type_1 codepage,char byte)\n\n{\n char byte_local;\n type_1 codepage_local;\n \n return L'\0';\n}" type_identifier (function_declara... | (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... |
1281_pterm_and_pterm_strip.c | write_setting_i | FUN_0016810d | write_setting_i |
void write_setting_i(void *handle,char *key,int value)
{
int value_local;
char *key_local;
void *handle_local;
FILE *fp;
fprintf((FILE *)handle,"%s=%d\n",key,(ulong)(uint)value);
return;
}
|
void FUN_0016810d(FILE *param_1,undefined8 param_2,uint param_3)
{
fprintf(param_1,"%s=%d\n",param_2,(ulong)param_3);
return;
}
| (translation_unit "void FUN_0016810d(FILE *param_1,undefined8 param_2,uint param_3)\n\n{\n fprintf(param_1,"%s=%d\n",param_2,(ulong)param_3);\n return;\n}\n\n" (function_definition "void FUN_0016810d(FILE *param_1,undefined8 param_2,uint param_3)\n\n{\n fprintf(param_1,"%s=%d\n",param_2,(ulong)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 ECX,dword ptr [RBP + -0x24]
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x196690]
MOV RDI,RAX
M... |
void function_1(void *handle,char *key,int value)
{
int value_local;
char *key_local;
void *handle_local;
type_1 *fp;
var_1((type_1 *)handle,"%s=%d\n",key,(type_2)(type_3)value);
return;
}
| (translation_unit "void write_setting_i(void *handle,char *key,int value)\n\n{\n int value_local;\n char *key_local;\n void *handle_local;\n FILE *fp;\n \n fprintf((FILE *)handle,"%s=%d\n",key,(ulong)(uint)value);\n return;\n}\n\n" (function_definition "void write_setting_i(void *handle,char *key,int value)\n\n{... | (translation_unit "void function_1(void *handle,char *key,int value)\n\n{\n int value_local;\n char *key_local;\n void *handle_local;\n type_1 *fp;\n \n var_1((type_1 *)handle,"%s=%d\n",key,(type_2)(type_3)value);\n return;\n}\n\n" (function_definition "void function_1(void *handle,char *key,int value)\n\n{\n i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
416_psftp_and_psftp_strip.c | sftp_pkt_getuint32 | FUN_00123ad7 | sftp_pkt_getuint32 |
int sftp_pkt_getuint32(sftp_packet *pkt,ulong *ret)
{
bool bVar1;
ulong *ret_local;
sftp_packet *pkt_local;
bVar1 = 3 < pkt->length - pkt->savedpos;
if (bVar1) {
*ret = (ulong)(byte)pkt->data[pkt->savedpos] << 0x18 |
(ulong)(byte)pkt->data[(ulong)pkt->savedpos + 1] << 0x10 |
(ul... |
bool FUN_00123ad7(long *param_1,ulong *param_2)
{
bool bVar1;
bVar1 = 3 < (uint)(*(int *)(param_1 + 1) - *(int *)(param_1 + 2));
if (bVar1) {
*param_2 = (ulong)*(byte *)((ulong)*(uint *)(param_1 + 2) + *param_1) << 0x18 |
(ulong)*(byte *)((ulong)*(uint *)(param_1 + 2) + 1 + *param_1) << 0x... | (translation_unit "bool FUN_00123ad7(long *param_1,ulong *param_2)\n\n{\n bool bVar1;\n \n bVar1 = 3 < (uint)(*(int *)(param_1 + 1) - *(int *)(param_1 + 2));\n if (bVar1) {\n *param_2 = (ulong)*(byte *)((ulong)*(uint *)(param_1 + 2) + *param_1) << 0x18 |\n (ulong)*(byte *)((ulong)*(uint *)(param_1 ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
SUB EDX,EAX
MOV EAX,EDX
CMP EAX,0x3
JA 0x00123b04
MOV EAX,0x0
JMP 0x00123bac
MOV RAX,qword ptr [RBP + -0x8]
MOV R... |
int function_1(type_1 *pkt,type_2 *ret)
{
bool bVar1;
type_2 *ret_local;
type_1 *pkt_local;
bVar1 = 3 < pkt->length - pkt->savedpos;
if (bVar1) {
*ret = (type_2)(type_3)pkt->data[pkt->savedpos] << 0x18 |
(type_2)(type_3)pkt->data[(type_2)pkt->savedpos + 1] << 0x10 |
(type_2)(typ... | (translation_unit "int sftp_pkt_getuint32(sftp_packet *pkt,ulong *ret)\n\n{\n bool bVar1;\n ulong *ret_local;\n sftp_packet *pkt_local;\n \n bVar1 = 3 < pkt->length - pkt->savedpos;\n if (bVar1) {\n *ret = (ulong)(byte)pkt->data[pkt->savedpos] << 0x18 |\n (ulong)(byte)pkt->data[(ulong)pkt->savedpos +... | (translation_unit "int function_1(type_1 *pkt,type_2 *ret)\n\n{\n bool bVar1;\n type_2 *ret_local;\n type_1 *pkt_local;\n \n bVar1 = 3 < pkt->length - pkt->savedpos;\n if (bVar1) {\n *ret = (type_2)(type_3)pkt->data[pkt->savedpos] << 0x18 |\n (type_2)(type_3)pkt->data[(type_2)pkt->savedpos + 1] << 0x... | (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... |
440_psftp_and_psftp_strip.c | fxp_close_send | FUN_00124b70 | fxp_close_send |
sftp_request * fxp_close_send(fxp_handle *handle)
{
sftp_request *psVar1;
sftp_packet *pkt;
fxp_handle *handle_local;
sftp_request *req;
sftp_packet *pktout;
psVar1 = sftp_alloc_request();
pkt = sftp_pkt_init(4);
sftp_pkt_adduint32(pkt,(ulong)psVar1->id);
sftp_pkt_addstring_start(pkt);
sftp_pkt... |
undefined4 * FUN_00124b70(undefined8 *param_1)
{
undefined4 *puVar1;
undefined8 uVar2;
puVar1 = (undefined4 *)FUN_001241c7();
uVar2 = FUN_0012363b(4);
FUN_001235c5(uVar2,*puVar1);
FUN_0012375b(uVar2);
FUN_00123882(uVar2,*param_1,*(undefined4 *)(param_1 + 1));
FUN_00123f4b(uVar2);
FUN_00110fa6(*pa... | (translation_unit "undefined4 * FUN_00124b70(undefined8 *param_1)\n\n{\n undefined4 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined4 *)FUN_001241c7();\n uVar2 = FUN_0012363b(4);\n FUN_001235c5(uVar2,*puVar1);\n FUN_0012375b(uVar2);\n FUN_00123882(uVar2,*param_1,*(undefined4 *)(param_1 + 1));\n FUN_00123f... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CALL 0x001241c7
MOV qword ptr [RBP + -0x10],RAX
MOV EDI,0x4
CALL 0x0012363b
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001235c5
MOV RAX,... |
type_1 * function_1(type_2 *handle)
{
type_1 *psVar1;
type_3 *pkt;
type_2 *handle_local;
type_1 *req;
type_3 *pktout;
psVar1 = var_1();
pkt = var_2(4);
var_3(pkt,(type_4)psVar1->id);
var_4(pkt);
var_5(pkt,handle->hstring,handle->hlen);
var_6(pkt);
var_7(handle->hstring);
var_7(handle);
... | (translation_unit "sftp_request * fxp_close_send(fxp_handle *handle)\n\n{\n sftp_request *psVar1;\n sftp_packet *pkt;\n fxp_handle *handle_local;\n sftp_request *req;\n sftp_packet *pktout;\n \n psVar1 = sftp_alloc_request();\n pkt = sftp_pkt_init(4);\n sftp_pkt_adduint32(pkt,(ulong)psVar1->id);\n sftp_pkt_ad... | (translation_unit "type_1 * function_1(type_2 *handle)\n\n{\n type_1 *psVar1;\n type_3 *pkt;\n type_2 *handle_local;\n type_1 *req;\n type_3 *pktout;\n \n psVar1 = var_1();\n pkt = var_2(4);\n var_3(pkt,(type_4)psVar1->id);\n var_4(pkt);\n var_5(pkt,handle->hstring,handle->hlen);\n var_6(pkt);\n var_7(hand... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (dec... |
302_psftp_and_psftp_strip.c | plug_proxy_closing | FUN_00113437 | plug_proxy_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void plug_proxy_closing(Plug p,char *error_msg,int error_code,int calling_back)
{
plug_function_table *ppVar1;
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug p_local;
Proxy_Plug pp;
Proxy_Socket ps;
... |
void FUN_00113437(long param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4)
{
long lVar1;
lVar1 = *(long *)(param_1 + 8);
if (*(int *)(lVar1 + 0x84) == 0) {
(**(code **)(**(long **)(lVar1 + 0x18) + 8))
(*(undefined8 *)(lVar1 + 0x18),param_2,param_3,param_4);
}
else {
*(... | (translation_unit "void FUN_00113437(long param_1,undefined8 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n long lVar1;\n \n lVar1 = *(long *)(param_1 + 8);\n if (*(int *)(lVar1 + 0x84) == 0) {\n (**(code **)(**(long **)(lVar1 + 0x18) + 8))\n (*(undefined8 *)(lVar1 + 0x18),param_2,param_3,par... | 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 + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x8],RAX
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 p,char *error_msg,int error_code,int calling_back)
{
type_2 *ppVar1;
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 p_local;
type_3 pp;
type_4 ps;
ppVar1 = p[1];
if (*(int... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid plug_proxy_closing(Plug p,char *error_msg,int error_code,int calling_back)\n\n{\n plug_function_table *ppVar1;\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n Plug p_local;\n Proxy_Plug... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 p,char *error_msg,int error_code,int calling_back)\n\n{\n type_2 *ppVar1;\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 p_local;\n type_3 pp;\n type_4 ps;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
724_psftp_and_psftp_strip.c | arcfour_setkey | FUN_0014e568 | arcfour_setkey |
void arcfour_setkey(ArcfourContext *ctx,uchar *key,uint keybytes)
{
uchar uVar1;
long lVar2;
long in_FS_OFFSET;
uint keybytes_local;
uchar *key_local;
ArcfourContext *ctx_local;
uchar tmp;
uint i;
uint j;
uchar *s;
uchar k [256];
lVar2 = *(long *)(in_FS_OFFSET + 0x28);
if (0x100 < keybyte... |
void FUN_0014e568(undefined *param_1,long param_2,uint param_3)
{
undefined uVar1;
long in_FS_OFFSET;
uint local_128;
uint local_124;
byte abStack_118 [264];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (0x100 < param_3) {
/* WARNING: Subroutine does not return *... | (translation_unit "void FUN_0014e568(undefined *param_1,long param_2,uint param_3)\n\n{\n undefined uVar1;\n long in_FS_OFFSET;\n uint local_128;\n uint local_124;\n byte abStack_118 [264];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (0x100 < param_3) {\n /* WARNING... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV qword ptr [RBP + -0x138],RDI
MOV qword ptr [RBP + -0x140],RSI
MOV dword ptr [RBP + -0x144],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x138]
ADD RAX,0x2
MOV qword ptr [RBP + -0x118],RAX
CMP dword ptr [RBP + -0x144],0x100
JB... |
void function_1(type_1 *ctx,type_2 *key,type_3 var_2)
{
type_2 uVar1;
long var_6;
long var_1;
type_3 keybytes_local;
type_2 *key_local;
type_1 *ctx_local;
type_2 tmp;
type_3 var_4;
type_3 var_5;
type_2 *s;
type_2 k [256];
var_6 = *(long *)(var_1 + 0x28);
if (0x100 < var_2) {
... | (translation_unit "void arcfour_setkey(ArcfourContext *ctx,uchar *key,uint keybytes)\n\n{\n uchar uVar1;\n long lVar2;\n long in_FS_OFFSET;\n uint keybytes_local;\n uchar *key_local;\n ArcfourContext *ctx_local;\n uchar tmp;\n uint i;\n uint j;\n uchar *s;\n uchar k [256];\n \n lVar2 = *(long *)(in_FS_OFFS... | (translation_unit "void function_1(type_1 *ctx,type_2 *key,type_3 var_2)\n\n{\n type_2 uVar1;\n long var_6;\n long var_1;\n type_3 keybytes_local;\n type_2 *key_local;\n type_1 *ctx_local;\n type_2 tmp;\n type_3 var_4;\n type_3 var_5;\n type_2 *s;\n type_2 k [256];\n \n var_6 = *(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... |
657_psftp_and_psftp_strip.c | sshfwd_x11_is_local | FUN_0013ec39 | sshfwd_x11_is_local |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sshfwd_x11_is_local(ssh_channel *c)
{
int iVar1;
ssh_channel *c_local;
(c->u).x11.initial = 0;
iVar1 = ssh_is_simple(c->ssh);
if (iVar1 == 0) {
iVar1 = 0x4000;
}
else {
iVar1 = 0x7fffffff;
}
ssh2_set_window(c,i... |
void FUN_0013ec39(undefined8 *param_1)
{
int iVar1;
undefined8 uVar2;
*(undefined4 *)(param_1 + 0xf) = 0;
iVar1 = FUN_0013c343(*param_1);
if (iVar1 == 0) {
uVar2 = 0x4000;
}
else {
uVar2 = 0x7fffffff;
}
FUN_0013c700(param_1,uVar2);
return;
}
| (translation_unit "void FUN_0013ec39(undefined8 *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n *(undefined4 *)(param_1 + 0xf) = 0;\n iVar1 = FUN_0013c343(*param_1);\n if (iVar1 == 0) {\n uVar2 = 0x4000;\n }\n else {\n uVar2 = 0x7fffffff;\n }\n FUN_0013c700(param_1,uVar2);\n return;\n}\n\n" (funct... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x78],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x0013c343
TEST EAX,EAX
JZ 0x0013ec6a
MOV EDX,0x7fffffff
JMP 0x0013ec6f
MOV EDX,0x4000
MOV RAX,qword ptr [RBP + -0x8]
MOV... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c)
{
int var_2;
type_1 *c_local;
(c->u).x11.initial = 0;
var_2 = var_1(c->ssh);
if (var_2 == 0) {
var_2 = 0x4000;
}
else {
var_2 = 0x7fffffff;
}
var_3(c,var_2);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sshfwd_x11_is_local(ssh_channel *c)\n\n{\n int iVar1;\n ssh_channel *c_local;\n \n (c->u).x11.initial = 0;\n iVar1 = ssh_is_simple(c->ssh);\n if (iVar1 == 0) {\n iVar1 = 0x4000;\n }\n else {\n iVar1 = 0x7ff... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c)\n\n{\n int var_2;\n type_1 *c_local;\n \n (c->u).x11.initial = 0;\n var_2 = var_1(c->ssh);\n if (var_2 == 0) {\n var_2 = 0x4000;\n }\n else {\n var_2 = 0x7fffffff;\n }\n var_3(c,var_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitiv... |
456_psftp_and_psftp_strip.c | fxp_fsetstat_send | FUN_001251e2 | fxp_fsetstat_send |
sftp_request * fxp_fsetstat_send(fxp_handle *handle,fxp_attrs attrs)
{
sftp_request *psVar1;
sftp_packet *pkt;
fxp_handle *handle_local;
sftp_request *req;
sftp_packet *pktout;
psVar1 = sftp_alloc_request();
pkt = sftp_pkt_init(10);
sftp_pkt_adduint32(pkt,(ulong)psVar1->id);
sftp_pkt_addstring_st... |
undefined4 * FUN_001251e2(undefined8 *param_1)
{
undefined4 *puVar1;
undefined8 uVar2;
puVar1 = (undefined4 *)FUN_001241c7();
uVar2 = FUN_0012363b(10);
FUN_001235c5(uVar2,*puVar1);
FUN_0012375b(uVar2);
FUN_00123882(uVar2,*param_1,*(undefined4 *)(param_1 + 1));
FUN_001239a5(uVar2);
FUN_00123f4b(uV... | (translation_unit "undefined4 * FUN_001251e2(undefined8 *param_1)\n\n{\n undefined4 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined4 *)FUN_001241c7();\n uVar2 = FUN_0012363b(10);\n FUN_001235c5(uVar2,*puVar1);\n FUN_0012375b(uVar2);\n FUN_00123882(uVar2,*param_1,*(undefined4 *)(param_1 + 1));\n FUN_00123... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CALL 0x001241c7
MOV qword ptr [RBP + -0x10],RAX
MOV EDI,0xa
CALL 0x0012363b
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001235c5
MOV RAX,... |
type_1 * function_1(type_2 *handle,type_3 attrs)
{
type_1 *psVar1;
type_4 *pkt;
type_2 *handle_local;
type_1 *req;
type_4 *pktout;
psVar1 = var_1();
pkt = var_2(10);
var_3(pkt,(type_5)psVar1->id);
var_4(pkt);
var_5(pkt,handle->hstring,handle->hlen);
var_6(pkt,attrs);
var_7(pkt);
return ps... | (translation_unit "sftp_request * fxp_fsetstat_send(fxp_handle *handle,fxp_attrs attrs)\n\n{\n sftp_request *psVar1;\n sftp_packet *pkt;\n fxp_handle *handle_local;\n sftp_request *req;\n sftp_packet *pktout;\n \n psVar1 = sftp_alloc_request();\n pkt = sftp_pkt_init(10);\n sftp_pkt_adduint32(pkt,(ulong)psVar1-... | (translation_unit "type_1 * function_1(type_2 *handle,type_3 attrs)\n\n{\n type_1 *psVar1;\n type_4 *pkt;\n type_2 *handle_local;\n type_1 *req;\n type_4 *pktout;\n \n psVar1 = var_1();\n pkt = var_2(10);\n var_3(pkt,(type_5)psVar1->id);\n var_4(pkt);\n var_5(pkt,handle->hstring,handle->hlen);\n var_6(pkt,a... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (typ... |
706_psftp_and_psftp_strip.c | aes_setup | FUN_0014d44a | aes_setup |
void aes_setup(AESContext *ctx,int blocklen,uchar *key,int keylen)
{
int iVar1;
int iVar2;
uint uVar3;
uchar *key_local;
int keylen_local;
int blocklen_local;
AESContext *ctx_local;
int i;
int j;
int rconst;
word32 temp;
word32 temp_1;
int Nk;
int a;
int b;
int c;
int d;
int a_1;
... |
void FUN_0014d44a(long param_1,int param_2,long param_3,int param_4)
{
int iVar1;
uint uVar2;
int local_50;
int local_4c;
uint local_48;
uint local_44;
uint local_40;
if (((param_2 != 0x10) && (param_2 != 0x18)) && (param_2 != 0x20)) {
/* WARNING: Subroutine does not return */
... | (translation_unit "void FUN_0014d44a(long param_1,int param_2,long param_3,int param_4)\n\n{\n int iVar1;\n uint uVar2;\n int local_50;\n int local_4c;\n uint local_48;\n uint local_44;\n uint local_40;\n \n if (((param_2 != 0x10) && (param_2 != 0x18)) && (param_2 != 0x20)) {\n /* WARNING: S... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV qword ptr [RBP + -0x68],RDX
MOV dword ptr [RBP + -0x60],ECX
CMP dword ptr [RBP + -0x5c],0x10
JZ 0x0014d491
CMP dword ptr [RBP + -0x5c],0x18
JZ 0x0014d491
CMP dword ptr [RBP + -0x5c],0x20
JZ 0x0014d491
LEA RCX,[0x19f0d8... |
void function_1(type_1 *ctx,int var_1,type_2 *key,int var_3)
{
int var_5;
int var_4;
type_3 var_9;
type_2 *key_local;
int keylen_local;
int blocklen_local;
type_1 *ctx_local;
int var_6;
int var_13;
int var_8;
type_4 var_7;
type_4 var_14;
int Nk;
int a;
int b;
int c;
int d;
int a_1;... | (translation_unit "void aes_setup(AESContext *ctx,int blocklen,uchar *key,int keylen)\n\n{\n int iVar1;\n int iVar2;\n uint uVar3;\n uchar *key_local;\n int keylen_local;\n int blocklen_local;\n AESContext *ctx_local;\n int i;\n int j;\n int rconst;\n word32 temp;\n word32 temp_1;\n int Nk;\n int a;\n in... | (translation_unit "void function_1(type_1 *ctx,int var_1,type_2 *key,int var_3)\n\n{\n int var_5;\n int var_4;\n type_3 var_9;\n type_2 *key_local;\n int keylen_local;\n int blocklen_local;\n type_1 *ctx_local;\n int var_6;\n int var_13;\n int var_8;\n type_4 var_7;\n type_4 var_14;\n int Nk;\n int a;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1309_pterm_and_pterm_strip.c | cp_enumerate | FUN_00169b15 | cp_enumerate |
char * cp_enumerate(wchar_t index)
{
int iVar1;
char *pcVar2;
wchar_t index_local;
wchar_t charset;
iVar1 = charset_localenc_nth(index);
if (iVar1 == 0) {
iVar1 = charset_localenc_nth(index + L'\xffffffff');
if (iVar1 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = "Use font... |
char * FUN_00169b15(int param_1)
{
int iVar1;
char *pcVar2;
iVar1 = FUN_001115d6(param_1);
if (iVar1 == 0) {
iVar1 = FUN_001115d6(param_1 + -1);
if (iVar1 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = "Use font encoding";
}
}
else {
pcVar2 = (char *)FUN_00111476(iV... | (translation_unit "char * FUN_00169b15(int param_1)\n\n{\n int iVar1;\n char *pcVar2;\n \n iVar1 = FUN_001115d6(param_1);\n if (iVar1 == 0) {\n iVar1 = FUN_001115d6(param_1 + -1);\n if (iVar1 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcVar2 = "Use font encoding";\n }\n }\n else {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV EAX,dword ptr [RBP + -0x14]
MOV EDI,EAX
CALL 0x001115d6
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JNZ 0x00169b54
MOV EAX,dword ptr [RBP + -0x14]
SUB EAX,0x1
MOV EDI,EAX
CALL 0x001115d6
TEST EAX,EAX
JZ 0x00169b4d
LEA RAX,[0x196880]... |
char * function_1(type_1 var_3)
{
int var_2;
char *pcVar2;
type_1 index_local;
type_1 charset;
var_2 = var_1(var_3);
if (var_2 == 0) {
var_2 = var_1(var_3 + L'\xffffffff');
if (var_2 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = "Use font encoding";
}
}
else {
... | (translation_unit "char * cp_enumerate(wchar_t index)\n\n{\n int iVar1;\n char *pcVar2;\n wchar_t index_local;\n wchar_t charset;\n \n iVar1 = charset_localenc_nth(index);\n if (iVar1 == 0) {\n iVar1 = charset_localenc_nth(index + L'\xffffffff');\n if (iVar1 == 0) {\n pcVar2 = (char *)0x0;\n }\n ... | (translation_unit "char * function_1(type_1 var_3)\n\n{\n int var_2;\n char *pcVar2;\n type_1 index_local;\n type_1 charset;\n \n var_2 = var_1(var_3);\n if (var_2 == 0) {\n var_2 = var_1(var_3 + L'\xffffffff');\n if (var_2 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcVar2 = "Use font e... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
852_psftp_and_psftp_strip.c | des_cbc3_encrypt | FUN_0015c999 | des_cbc3_encrypt |
void des_cbc3_encrypt(uchar *blk,uint len,DESContext *scheds)
{
long lVar1;
long in_FS_OFFSET;
DESContext *scheds_local;
uint len_local;
uchar *blk_local;
word32 iv0;
word32 iv1;
uint i;
word32 out [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if ((len & 7) != 0) {
/* WARNI... |
void FUN_0015c999(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_0015c999(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 0x0015c9e4
LEA RCX,[0x1a1920]
MOV EDX,0x29b
LEA RSI,[0x1a16... |
void function_1(type_1 *blk,type_2 var_2,type_3 *var_10)
{
long var_11;
long var_1;
type_3 *scheds_local;
type_2 len_local;
type_1 *var_7;
type_4 var_6;
type_4 var_8;
type_2 var_4;
type_4 out [2];
var_11 = *(long *)(var_1 + 0x28);
if ((var_2 & 7) != 0) {
/* WARNING: Subrou... | (translation_unit "void des_cbc3_encrypt(uchar *blk,uint len,DESContext *scheds)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n DESContext *scheds_local;\n uint len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n uint i;\n word32 out [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & 7) != 0... | (translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *var_10)\n\n{\n long var_11;\n long var_1;\n type_3 *scheds_local;\n type_2 len_local;\n type_1 *var_7;\n type_4 var_6;\n type_4 var_8;\n type_2 var_4;\n type_4 out [2];\n \n var_11 = *(long *)(var_1 + 0x28);\n if ((var_2 & 7) != 0) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
386_psftp_and_psftp_strip.c | gppfont | FUN_0011da1f | gppfont |
void gppfont(void *handle,char *name,Conf *conf,int primary)
{
int primary_local;
Conf *conf_local;
char *name_local;
void *handle_local;
FontSpec *result;
result = read_setting_fontspec(handle,name);
if (result == (FontSpec *)0x0) {
result = platform_default_fontspec(name);
}
conf_set_fontsp... |
void FUN_0011da1f(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)
{
undefined8 local_10;
local_10 = FUN_0018e765(param_1,param_2);
if (local_10 == 0) {
local_10 = FUN_0018b8c2(param_2);
}
FUN_0010c8f4(param_3,param_4,local_10);
FUN_0018637f(local_10);
return;
}
| (translation_unit "void FUN_0011da1f(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n undefined8 local_10;\n \n local_10 = FUN_0018e765(param_1,param_2);\n if (local_10 == 0) {\n local_10 = FUN_0018b8c2(param_2);\n }\n FUN_0010c8f4(param_3,param_4,local_10);\n FUN_0018637f(l... | 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 RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0018e765
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
void function_1(void *handle,char *name,type_1 *conf,int primary)
{
int primary_local;
type_1 *conf_local;
char *name_local;
void *handle_local;
type_2 *var_2;
var_2 = var_1(handle,name);
if (var_2 == (type_2 *)0x0) {
var_2 = var_3(name);
}
var_4(conf,primary,var_2);
var_5(var_2);
return;... | (translation_unit "void gppfont(void *handle,char *name,Conf *conf,int primary)\n\n{\n int primary_local;\n Conf *conf_local;\n char *name_local;\n void *handle_local;\n FontSpec *result;\n \n result = read_setting_fontspec(handle,name);\n if (result == (FontSpec *)0x0) {\n result = platform_default_fontspec... | (translation_unit "void function_1(void *handle,char *name,type_1 *conf,int primary)\n\n{\n int primary_local;\n type_1 *conf_local;\n char *name_local;\n void *handle_local;\n type_2 *var_2;\n \n var_2 = var_1(handle,name);\n if (var_2 == (type_2 *)0x0) {\n var_2 = var_3(name);\n }\n var_4(conf,primary,va... | (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_... |
1099_pterm_and_pterm_strip.c | set_zorder | FUN_0015b0e6 | set_zorder |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void set_zorder(void *frontend,wchar_t top)
{
undefined8 uVar1;
wchar_t top_local;
void *frontend_local;
gui_data *inst;
if (top == L'\0') {
/* WARNING: Load size is inaccurate */
uVar1 = gtk_widget_get_wind... |
void FUN_0015b0e6(undefined8 *param_1,int param_2)
{
undefined8 uVar1;
if (param_2 == 0) {
uVar1 = gtk_widget_get_window(*param_1);
gdk_window_lower(uVar1);
}
else {
uVar1 = gtk_widget_get_window(*param_1);
gdk_window_raise(uVar1);
}
return;
}
| (translation_unit "void FUN_0015b0e6(undefined8 *param_1,int param_2)\n\n{\n undefined8 uVar1;\n \n if (param_2 == 0) {\n uVar1 = gtk_widget_get_window(*param_1);\n gdk_window_lower(uVar1);\n }\n else {\n uVar1 = gtk_widget_get_window(*param_1);\n gdk_window_raise(uVar1);\n }\n return;\n}\n\n" (funct... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x1c],0x0
JZ 0x0015b11c
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x0010f5a0
MOV RDI,RAX
CALL 0x0010fae0
JM... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,type_1 var_1)
{
type_2 uVar1;
type_1 top_local;
void *frontend_local;
type_3 *inst;
if (var_1 == L'\0') {
/* WARNING: Load size is inaccurate */
uVar1 = var_2(*frontend);
v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid set_zorder(void *frontend,wchar_t top)\n\n{\n undefined8 uVar1;\n wchar_t top_local;\n void *frontend_local;\n gui_data *inst;\n \n if (top == L'\0') {\n /* WARNING: Load size is inaccurate */\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend,type_1 var_1)\n\n{\n type_2 uVar1;\n type_1 top_local;\n void *frontend_local;\n type_3 *inst;\n \n if (var_1 == L'\0') {\n /* WARNING: Load size is inaccurate */\n u... | (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... |
1164_pterm_and_pterm_strip.c | do_text | FUN_00160a1c | do_text |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void do_text(Context ctx,wchar_t x,wchar_t y,wchar_t *text,wchar_t len,ulong attr,wchar_t lattr)
{
long lVar1;
int iVar2;
ulong attr_local;
wchar_t len_local;
wchar_t *text_local;
wchar_t y_local;
wchar_t x_local;
Context ctx_lo... |
void FUN_00160a1c(long *param_1,int param_2,int param_3,undefined8 param_4,int param_5,ulong param_6
,uint param_7)
{
long lVar1;
int iVar2;
int local_44;
int local_34;
int local_1c;
lVar1 = *param_1;
FUN_00160269(param_1,param_2,param_3,param_4,param_5,param_6,param_7);
if ((param... | (translation_unit "void FUN_00160a1c(long *param_1,int param_2,int param_3,undefined8 param_4,int param_5,ulong param_6\n ,uint param_7)\n\n{\n long lVar1;\n int iVar2;\n int local_44;\n int local_34;\n int local_1c;\n \n lVar1 = *param_1;\n FUN_00160269(param_1,param_2,param_3,param_4,param_5,p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV dword ptr [RBP + -0x30],EDX
MOV qword ptr [RBP + -0x38],RCX
MOV dword ptr [RBP + -0x3c],R8D
MOV qword ptr [RBP + -0x48],R9
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ctx,type_2 var_4,type_2 var_13,type_2 *text,type_2 var_7,type_3 var_2,type_2 var_3)
{
long var_5;
int var_10;
type_3 attr_local;
type_2 var_11;
type_2 *text_local;
type_2 y_local;
type_2 var_6;
type_1 ctx_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid do_text(Context ctx,wchar_t x,wchar_t y,wchar_t *text,wchar_t len,ulong attr,wchar_t lattr)\n\n{\n long lVar1;\n int iVar2;\n ulong attr_local;\n wchar_t len_local;\n wchar_t *text_local;\n wchar_t y_local;\n wcha... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ctx,type_2 var_4,type_2 var_13,type_2 *text,type_2 var_7,type_3 var_2,type_2 var_3)\n\n{\n long var_5;\n int var_10;\n type_3 attr_local;\n type_2 var_11;\n type_2 *text_local;\n type_2 y_local;\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: (identifier)) (parameter_decla... |
1259_pterm_and_pterm_strip.c | pty_sendok | FUN_00167314 | pty_sendok |
int pty_sendok(void *handle)
{
void *handle_local;
return 1;
}
|
undefined8 FUN_00167314(void)
{
return 1;
}
| (translation_unit "undefined8 FUN_00167314(void)\n\n{\n return 1;\n}\n\n" (function_definition "undefined8 FUN_00167314(void)\n\n{\n return 1;\n}" type_identifier (function_declarator "FUN_00167314(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,0x1
POP RBP
RET |
int function_1(void *handle)
{
void *handle_local;
return 1;
}
| (translation_unit "int pty_sendok(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}\n\n" (function_definition "int pty_sendok(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}" primitive_type (function_declarator "pty_sendok(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter... | (translation_unit "int function_1(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}\n\n" (function_definition "int function_1(void *handle)\n\n{\n void *handle_local;\n \n return 1;\n}" primitive_type (function_declarator "function_1(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1069_pterm_and_pterm_strip.c | version | FUN_0015940e | version |
void version(FILE *fp)
{
int iVar1;
char *ptr;
FILE *fp_local;
char *buildinfo_text;
ptr = buildinfo("\n");
iVar1 = fprintf((FILE *)fp,"%s: %s\n%s\n",appname,"Release 0.70",ptr);
if (-1 < iVar1) {
iVar1 = fflush((FILE *)fp);
if (-1 < iVar1) {
safefree(ptr);
return;
}
}
per... |
void FUN_0015940e(FILE *param_1)
{
int iVar1;
undefined8 uVar2;
uVar2 = FUN_00128c45(&DAT_001952bc);
iVar1 = fprintf(param_1,"%s: %s\n%s\n",PTR_s_pterm_001a3cb8,"Release 0.70",uVar2);
if (-1 < iVar1) {
iVar1 = fflush(param_1);
if (-1 < iVar1) {
FUN_001284fc(uVar2);
return;
}
}
... | (translation_unit "void FUN_0015940e(FILE *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n uVar2 = FUN_00128c45(&DAT_001952bc);\n iVar1 = fprintf(param_1,"%s: %s\n%s\n",PTR_s_pterm_001a3cb8,"Release 0.70",uVar2);\n if (-1 < iVar1) {\n iVar1 = fflush(param_1);\n if (-1 < iVar1) {\n FUN_001284fc(uVar... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
LEA RDI,[0x1952bc]
CALL 0x00128c45
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [0x001a3cb8]
MOV RCX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x18]
MOV R8,RCX
LEA RCX,[0x198fc0]
LEA RSI,[0x1952be]
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00110660
TEST ... |
void function_1(type_1 *fp)
{
int var_3;
char *ptr;
type_1 *fp_local;
char *buildinfo_text;
ptr = var_1("\n");
var_3 = var_2((type_1 *)fp,"%s: %s\n%s\n",appname,"Release 0.70",ptr);
if (-1 < var_3) {
var_3 = var_4((type_1 *)fp);
if (-1 < var_3) {
var_5(ptr);
return;
}
}
va... | (translation_unit "void version(FILE *fp)\n\n{\n int iVar1;\n char *ptr;\n FILE *fp_local;\n char *buildinfo_text;\n \n ptr = buildinfo("\n");\n iVar1 = fprintf((FILE *)fp,"%s: %s\n%s\n",appname,"Release 0.70",ptr);\n if (-1 < iVar1) {\n iVar1 = fflush((FILE *)fp);\n if (-1 < iVar1) {\n safefree(ptr)... | (translation_unit "void function_1(type_1 *fp)\n\n{\n int var_3;\n char *ptr;\n type_1 *fp_local;\n char *buildinfo_text;\n \n ptr = var_1("\n");\n var_3 = var_2((type_1 *)fp,"%s: %s\n%s\n",appname,"Release 0.70",ptr);\n if (-1 < var_3) {\n var_3 = var_4((type_1 *)fp);\n if (-1 < var_3) {\n var_5(ptr... | (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... |
1116_pterm_and_pterm_strip.c | button_event | FUN_0015dcea | button_event |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
gboolean button_event(GtkWidget *widget,GdkEventButton *event,gpointer data)
{
gboolean gVar1;
gpointer data_local;
GdkEventButton *event_local;
GtkWidget *widget_... |
void FUN_0015dcea(undefined8 param_1,undefined8 param_2,undefined8 param_3)
{
FUN_0015d9e3(param_3,param_2);
return;
}
| (translation_unit "void FUN_0015dcea(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n FUN_0015d9e3(param_3,param_2);\n return;\n}\n\n" (function_definition "void FUN_0015dcea(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n FUN_0015d9e3(param_3,param_2);\n return;\n}" primitive_type ... | 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 + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0015d9e3
LEAVE
RET |
/* WARNING: Enum "GdkEventType": Some values do not have unique names */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 *widget,type_3 *event,type_4 data)
{
type_1 gVar1;
type_4 data_local;
type_3 *event_local;
type_2 *widget_local;
type_5 *inst;
gVar... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ngboolean button_event(GtkWidget *widget,GdkEventButton *event,gpointer data)\n\n{\n gboolean gVar1;\n gpointer data_local;\n GdkEventButton *event_l... | (translation_unit "/* WARNING: Enum "GdkEventType": Some values do not have unique names */\n/* WARNING: Enum "anon_enum_32": 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_1 gVar1;\n type_4 data_local;\n type_3 *event_local;\n type_2 *widget_local... | (translation_unit (comment) (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... |
1088_pterm_and_pterm_strip.c | get_ttymode | FUN_0015ae23 | get_ttymode |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * get_ttymode(void *frontend,char *mode)
{
char *pcVar1;
char *mode_local;
void *frontend_local;
gui_data *inst;
pcVar1 = term_get_ttymode(*(Terminal **)((long)frontend + 0xda0),mode);
return pcVar1;
}
|
void FUN_0015ae23(long param_1,undefined8 param_2)
{
FUN_00141fe8(*(undefined8 *)(param_1 + 0xda0),param_2);
return;
}
| (translation_unit "void FUN_0015ae23(long param_1,undefined8 param_2)\n\n{\n FUN_00141fe8(*(undefined8 *)(param_1 + 0xda0),param_2);\n return;\n}\n\n" (function_definition "void FUN_0015ae23(long param_1,undefined8 param_2)\n\n{\n FUN_00141fe8(*(undefined8 *)(param_1 + 0xda0),param_2);\n return;\n}" primitive_type ... | 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 RAX,qword ptr [RAX + 0xda0]
MOV RDX,qword ptr [RBP + -0x20]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00141fe8
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(void *frontend,char *mode)
{
char *pcVar1;
char *mode_local;
void *frontend_local;
type_1 *inst;
pcVar1 = var_1(*(type_2 **)((long)frontend + 0xda0),mode);
return pcVar1;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * get_ttymode(void *frontend,char *mode)\n\n{\n char *pcVar1;\n char *mode_local;\n void *frontend_local;\n gui_data *inst;\n \n pcVar1 = term_get_ttymode(*(Terminal **)((long)frontend + 0xda0),mode);\n return pcV... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(void *frontend,char *mode)\n\n{\n char *pcVar1;\n char *mode_local;\n void *frontend_local;\n type_1 *inst;\n \n pcVar1 = var_1(*(type_2 **)((long)frontend + 0xda0),mode);\n return pcVar1;\n}\n\n" com... | (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... |
1291_pterm_and_pterm_strip.c | write_setting_fontspec | FUN_00168837 | write_setting_fontspec |
void write_setting_fontspec(void *handle,char *name,FontSpec *fs)
{
char *key;
FontSpec *fs_local;
char *name_local;
void *handle_local;
char *suffname;
key = dupcat(name,&DAT_001966e9,0);
write_setting_s(handle,key,fs->name);
safefree(key);
return;
}
|
void FUN_00168837(undefined8 param_1,undefined8 param_2,undefined8 *param_3)
{
undefined8 uVar1;
uVar1 = FUN_001272b8(param_2,&DAT_001966e9,0);
FUN_001680ce(param_1,uVar1,*param_3);
FUN_001284fc(uVar1);
return;
}
| (translation_unit "void FUN_00168837(undefined8 param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_001272b8(param_2,&DAT_001966e9,0);\n FUN_001680ce(param_1,uVar1,*param_3);\n FUN_001284fc(uVar1);\n return;\n}\n\n" (function_definition "void FUN_00168837(undefined8 param_1,u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x20]
MOV EDX,0x0
LEA RSI,[0x1966e9]
MOV RDI,RAX
MOV EAX,0x0
CALL 0x001272b8
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RDX,qword ptr [RAX]
... |
void function_1(void *handle,char *name,type_1 *fs)
{
char *key;
type_1 *fs_local;
char *name_local;
void *handle_local;
char *suffname;
key = var_1(name,&DAT_001966e9,0);
var_2(handle,key,fs->name);
var_3(key);
return;
}
| (translation_unit "void write_setting_fontspec(void *handle,char *name,FontSpec *fs)\n\n{\n char *key;\n FontSpec *fs_local;\n char *name_local;\n void *handle_local;\n char *suffname;\n \n key = dupcat(name,&DAT_001966e9,0);\n write_setting_s(handle,key,fs->name);\n safefree(key);\n return;\n}\n\n" (function... | (translation_unit "void function_1(void *handle,char *name,type_1 *fs)\n\n{\n char *key;\n type_1 *fs_local;\n char *name_local;\n void *handle_local;\n char *suffname;\n \n key = var_1(name,&DAT_001966e9,0);\n var_2(handle,key,fs->name);\n var_3(key);\n return;\n}\n\n" (function_definition "void function_1(v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
578_psftp_and_psftp_strip.c | ssh_dialog_callback | FUN_0012f082 | ssh_dialog_callback |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_dialog_callback(void *sshv,int ret)
{
int ret_local;
void *sshv_local;
Ssh_conflict ssh;
*(int *)((long)sshv + 0x3a4) = ret;
if (*(int *)((long)sshv + 0x250) == 1) {
do_ssh1_login((Ssh_conflict)sshv,(uchar *)0x0,-1,(Pa... |
void FUN_0012f082(long param_1,undefined4 param_2)
{
*(undefined4 *)(param_1 + 0x3a4) = param_2;
if (*(int *)(param_1 + 0x250) == 1) {
FUN_0012f7d1(param_1,0,0xffffffff,0);
}
else {
FUN_00136ae7(param_1,0,0xffffffff,0);
}
FUN_0012e10b(param_1);
return;
}
| (translation_unit "void FUN_0012f082(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x3a4) = param_2;\n if (*(int *)(param_1 + 0x250) == 1) {\n FUN_0012f7d1(param_1,0,0xffffffff,0);\n }\n else {\n FUN_00136ae7(param_1,0,0xffffffff,0);\n }\n FUN_0012e10b(param_1);\n return;\n}\n\n" (funct... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0x1c]
MOV dword ptr [RAX + 0x3a4],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x250]
C... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *sshv,int ret)
{
int ret_local;
void *sshv_local;
type_1 ssh;
*(int *)((long)sshv + 0x3a4) = ret;
if (*(int *)((long)sshv + 0x250) == 1) {
var_1((type_1)sshv,(type_2 *)0x0,-1,(type_3 *)0x0);
}
else {
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_dialog_callback(void *sshv,int ret)\n\n{\n int ret_local;\n void *sshv_local;\n Ssh_conflict ssh;\n \n *(int *)((long)sshv + 0x3a4) = ret;\n if (*(int *)((long)sshv + 0x250) == 1) {\n do_ssh1_login((Ssh_conf... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *sshv,int ret)\n\n{\n int ret_local;\n void *sshv_local;\n type_1 ssh;\n \n *(int *)((long)sshv + 0x3a4) = ret;\n if (*(int *)((long)sshv + 0x250) == 1) {\n var_1((type_1)sshv,(type_2 *)0x0,-1,(t... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:... |
138_psftp_and_psftp_strip.c | deregister_tm_clones | FUN_001088c0 | deregister_tm_clones |
/* WARNING: Removing unreachable block (ram,0x001088d3) */
/* WARNING: Removing unreachable block (ram,0x001088df) */
void deregister_tm_clones(void)
{
return;
}
|
/* WARNING: Removing unreachable block (ram,0x001088d3) */
/* WARNING: Removing unreachable block (ram,0x001088df) */
void FUN_001088c0(void)
{
return;
}
| (translation_unit "/* WARNING: Removing unreachable block (ram,0x001088d3) */\n/* WARNING: Removing unreachable block (ram,0x001088df) */\n\nvoid FUN_001088c0(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void FUN_001088c0(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001088c0... | LEA RDI,[0x1b8c28]
LEA RAX,[0x1b8c28]
CMP RAX,RDI
JZ 0x001088e8
MOV RAX,qword ptr [0x001b7fd8]
TEST RAX,RAX
JZ 0x001088e8
JMP RAX
RET |
/* WARNING: Removing unreachable block (ram,0x001088d3) */
/* WARNING: Removing unreachable block (ram,0x001088df) */
void function_1(void)
{
return;
}
| (translation_unit "/* WARNING: Removing unreachable block (ram,0x001088d3) */\n/* WARNING: Removing unreachable block (ram,0x001088df) */\n\nvoid deregister_tm_clones(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void deregister_tm_clones(void)\n\n{\n return;\n}" primitive_type (function_declarat... | (translation_unit "/* WARNING: Removing unreachable block (ram,0x001088d3) */\n/* WARNING: Removing unreachable block (ram,0x001088df) */\n\nvoid function_1(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void function_1(void)\n\n{\n return;\n}" primitive_type (function_declarator "function_1(void)... | (translation_unit (comment) (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (return_statement)))) |
750_psftp_and_psftp_strip.c | blowfish_ssh1_decrypt_blk | FUN_001510c0 | blowfish_ssh1_decrypt_blk |
void blowfish_ssh1_decrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
BlowfishContext *ctx;
blowfish_lsb_decrypt_cbc(blk,len,(BlowfishContext *)((long)handle + 0x1050));
return;
}
|
void FUN_001510c0(long param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0014feef(param_2,param_3,param_1 + 0x1050);
return;
}
| (translation_unit "void FUN_001510c0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0014feef(param_2,param_3,param_1 + 0x1050);\n return;\n}\n\n" (function_definition "void FUN_001510c0(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0014feef(param_2,param_3,param_1 + 0x1050);\n retur... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x1050]
MOV ECX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,E... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *ctx;
var_1(blk,len,(type_2 *)((long)handle + 0x1050));
return;
}
| (translation_unit "void blowfish_ssh1_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n blowfish_lsb_decrypt_cbc(blk,len,(BlowfishContext *)((long)handle + 0x1050));\n return;\n}\n\n" (function_definition "void blowfish_ssh1_... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1(blk,len,(type_2 *)((long)handle + 0x1050));\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_loc... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
771_psftp_and_psftp_strip.c | modmul | FUN_001541ed | modmul |
Bignum_conflict modmul(Bignum_conflict p,Bignum_conflict q,Bignum_conflict mod)
{
int mlen_00;
int iVar1;
BignumInt *m_00;
ulong uVar2;
BignumInt *a_00;
BignumInt *b;
BignumInt *c;
BignumInt *scratch_00;
BignumInt recip_00;
Bignum_conflict pBVar3;
int iVar4;
Bignum_conflict mod_local;
Bignum... |
ulong * FUN_001541ed(ulong *param_1,ulong *param_2,ulong *param_3)
{
ulong uVar1;
int iVar2;
int iVar3;
ulong *puVar4;
ulong uVar5;
long lVar6;
long lVar7;
long lVar8;
undefined8 uVar9;
undefined8 uVar10;
ulong *puVar11;
int iVar12;
int local_64;
int local_60;
int local_5c;
ulong local... | (translation_unit "ulong * FUN_001541ed(ulong *param_1,ulong *param_2,ulong *param_3)\n\n{\n ulong uVar1;\n int iVar2;\n int iVar3;\n ulong *puVar4;\n ulong uVar5;\n long lVar6;\n long lVar7;\n long lVar8;\n undefined8 uVar9;\n undefined8 uVar10;\n ulong *puVar11;\n int iVar12;\n int local_64;\n int local... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV qword ptr [RBP + -0x78],RDX
MOV RAX,qword ptr [RBP + -0x78]
MOV RAX,qword ptr [RAX]
LEA RDX,[RAX*0x8]
MOV RAX,qword ptr [RBP + -0x78]
ADD RAX,RDX
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JNZ 0x0015423e
LEA RCX,[0x1a04a5]
... |
type_1 function_1(type_1 p,type_1 q,type_1 mod)
{
int var_3;
int var_8;
type_2 *m_00;
type_3 uVar2;
type_2 *a_00;
type_2 *b;
type_2 *c;
type_2 *scratch_00;
type_2 recip_00;
type_1 pBVar3;
int var_5;
type_1 mod_local;
type_1 q_local;
type_1 p_local;
int var_4;
int var_14;
int var_2;
... | (translation_unit "Bignum_conflict modmul(Bignum_conflict p,Bignum_conflict q,Bignum_conflict mod)\n\n{\n int mlen_00;\n int iVar1;\n BignumInt *m_00;\n ulong uVar2;\n BignumInt *a_00;\n BignumInt *b;\n BignumInt *c;\n BignumInt *scratch_00;\n BignumInt recip_00;\n Bignum_conflict pBVar3;\n int iVar4;\n Big... | (translation_unit "type_1 function_1(type_1 p,type_1 q,type_1 mod)\n\n{\n int var_3;\n int var_8;\n type_2 *m_00;\n type_3 uVar2;\n type_2 *a_00;\n type_2 *b;\n type_2 *c;\n type_2 *scratch_00;\n type_2 recip_00;\n type_1 pBVar3;\n int var_5;\n type_1 mod_local;\n type_1 q_local;\n type_1 p_local;\n int ... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration ty... |
667_psftp_and_psftp_strip.c | ssh2_msg_disconnect | FUN_0014533e | ssh2_msg_disconnect |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_disconnect(Ssh_conflict ssh,Packet *pktin)
{
ulong uVar1;
char *pcVar2;
long in_FS_OFFSET;
Packet *pktin_local;
Ssh_conflict ssh_local;
int msglen;
int reason;
char *msg;
char *buf;
long local_10;
local_10... |
void FUN_0014533e(long param_1,undefined8 param_2)
{
undefined *puVar1;
char *pcVar2;
undefined8 uVar3;
long in_FS_OFFSET;
undefined4 local_28;
uint local_24;
undefined *local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_24 = FUN_0012c115(param_2);
... | (translation_unit "void FUN_0014533e(long param_1,undefined8 param_2)\n\n{\n undefined *puVar1;\n char *pcVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n undefined4 local_28;\n uint local_24;\n undefined *local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n lo... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x30]
MOV RDI,RAX
CALL 0x0012c115
MOV dword ptr [RBP + -0x1c],EAX
LEA RDX,[RBP + -0x20]
LEA RCX,[RBP + -0x18]
MOV RAX,qword p... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_3 uVar1;
char *pcVar2;
long var_1;
type_2 *pktin_local;
type_1 ssh_local;
int msglen;
int var_4;
char *var_8;
char *buf;
long var_10;
var_10 = *(long *)(var_1 + 0x28);
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_disconnect(Ssh_conflict ssh,Packet *pktin)\n\n{\n ulong uVar1;\n char *pcVar2;\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int msglen;\n int reason;\n char *msg;\n char *buf;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_3 uVar1;\n char *pcVar2;\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int msglen;\n int var_4;\n char *var_8;\n char *buf;\n long var_10;\n \n va... | (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... |
1288_pterm_and_pterm_strip.c | read_setting_i | FUN_001685fa | read_setting_i |
int read_setting_i(void *handle,char *key,int defvalue)
{
long lVar1;
void *pvVar2;
long in_FS_OFFSET;
int defvalue_local;
char *key_local;
void *handle_local;
char *val;
tree234 *tree;
skeyval *kv;
skeyval tmp;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
tmp.key = key;
if ((handle == (void *... |
int FUN_001685fa(long param_1,undefined8 param_2,int param_3)
{
long lVar1;
long in_FS_OFFSET;
char *local_40;
undefined8 local_28 [3];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28[0] = param_2;
if ((param_1 == 0) || (lVar1 = FUN_00143c57(param_1,local_28,0), lVar1 == 0)) {
... | (translation_unit "int FUN_001685fa(long param_1,undefined8 param_2,int param_3)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n char *local_40;\n undefined8 local_28 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28[0] = param_2;\n if ((param_1 == 0) || (lVar1 = FUN_00143c57(param_1,l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV dword ptr [RBP + -0x54],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x50]
MOV qword ptr [RBP + -0... |
int function_1(void *var_2,char *key,int defvalue)
{
long var_9;
void *var_4;
long var_1;
int defvalue_local;
char *key_local;
void *handle_local;
char *var_6;
type_1 *tree;
type_2 *kv;
type_2 tmp;
var_9 = *(long *)(var_1 + 0x28);
tmp.key = key;
if ((var_2 == (void *)0x0) ||
(var_4 =... | (translation_unit "int read_setting_i(void *handle,char *key,int defvalue)\n\n{\n long lVar1;\n void *pvVar2;\n long in_FS_OFFSET;\n int defvalue_local;\n char *key_local;\n void *handle_local;\n char *val;\n tree234 *tree;\n skeyval *kv;\n skeyval tmp;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n tmp.ke... | (translation_unit "int function_1(void *var_2,char *key,int defvalue)\n\n{\n long var_9;\n void *var_4;\n long var_1;\n int defvalue_local;\n char *key_local;\n void *handle_local;\n char *var_6;\n type_1 *tree;\n type_2 *kv;\n type_2 tmp;\n \n var_9 = *(long *)(var_1 + 0x28);\n tmp.key = key;\n if ((var_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
679_psftp_and_psftp_strip.c | ssh_free | FUN_0014634b | ssh_free |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_free(void *handle)
{
int iVar1;
void *ptr;
outstanding_channel_request *poVar2;
ssh_channel *c_00;
ssh_rportfwd *pf_00;
X11FakeAuth *auth_00;
void *handle_local;
outstanding_channel_request *ocr;
Ssh_conflict ssh;
q... |
void FUN_0014634b(long param_1)
{
int iVar1;
undefined8 *puVar2;
long lVar3;
undefined8 *local_40;
if (*(long *)(param_1 + 0x78) != 0) {
(**(code **)(*(long *)(param_1 + 0x70) + 8))(*(undefined8 *)(param_1 + 0x78));
}
if (*(long *)(param_1 + 0x98) != 0) {
(**(code **)(*(long *)(param_1 + 0x88... | (translation_unit "void FUN_0014634b(long param_1)\n\n{\n int iVar1;\n undefined8 *puVar2;\n long lVar3;\n undefined8 *local_40;\n \n if (*(long *)(param_1 + 0x78) != 0) {\n (**(code **)(*(long *)(param_1 + 0x70) + 8))(*(undefined8 *)(param_1 + 0x78));\n }\n if (*(long *)(param_1 + 0x98) != 0) {\n (**(cod... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RAX + 0x78]
TEST RAX,RAX
JZ 0x00146385
MOV RAX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RAX + 0x70]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle)
{
int var_5;
void *ptr;
type_1 *poVar2;
type_2 *var_8;
type_3 *var_14;
type_4 *var_17;
void *handle_local;
type_1 *var_10;
type_5 ssh;
type_6 *qh;
type_2 *c;
type_1 *nocr;
type_3 *pf;
ty... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_free(void *handle)\n\n{\n int iVar1;\n void *ptr;\n outstanding_channel_request *poVar2;\n ssh_channel *c_00;\n ssh_rportfwd *pf_00;\n X11FakeAuth *auth_00;\n void *handle_local;\n outstanding_channel_request... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle)\n\n{\n int var_5;\n void *ptr;\n type_1 *poVar2;\n type_2 *var_8;\n type_3 *var_14;\n type_4 *var_17;\n void *handle_local;\n type_1 *var_10;\n type_5 ssh;\n type_6 *qh;\n type_2 *c;\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: (primitive... |
178_psftp_and_psftp_strip.c | conf_set_int | FUN_0010c3cc | conf_set_int |
void conf_set_int(Conf *conf,int primary,int value)
{
conf_entry *entry_00;
int value_local;
int primary_local;
Conf *conf_local;
conf_entry *entry;
entry_00 = (conf_entry *)safemalloc(1,0x18);
if (subkeytypes[primary] != 0) {
/* WARNING: Subroutine does not return */
__assert... |
void FUN_0010c3cc(undefined8 param_1,int param_2,int param_3)
{
int *piVar1;
piVar1 = (int *)FUN_00110d9a(1,0x18);
if (*(int *)(&DAT_001b8020 + (long)param_2 * 4) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("subkeytypes[primary] == TYPE_NONE","conf.c",0x187,"conf_s... | (translation_unit "void FUN_0010c3cc(undefined8 param_1,int param_2,int param_3)\n\n{\n int *piVar1;\n \n piVar1 = (int *)FUN_00110d9a(1,0x18);\n if (*(int *)(&DAT_001b8020 + (long)param_2 * 4) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("subkeytypes[primary] == TYPE_NO... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV ESI,0x18
MOV EDI,0x1
CALL 0x00110d9a
MOV qword ptr [RBP + -0x8],RAX
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b8020]
MOV EAX,dword ptr [RDX + RAX*0x1]
TEST EAX,E... |
void function_1(type_1 *conf,int primary,int value)
{
type_2 *entry_00;
int value_local;
int primary_local;
type_1 *conf_local;
type_2 *entry;
entry_00 = (type_2 *)var_1(1,0x18);
if (subkeytypes[primary] != 0) {
/* WARNING: Subroutine does not return */
var_2("subkeytypes[prim... | (translation_unit "void conf_set_int(Conf *conf,int primary,int value)\n\n{\n conf_entry *entry_00;\n int value_local;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n \n entry_00 = (conf_entry *)safemalloc(1,0x18);\n if (subkeytypes[primary] != 0) {\n /* WARNING: Subroutine do... | (translation_unit "void function_1(type_1 *conf,int primary,int value)\n\n{\n type_2 *entry_00;\n int value_local;\n int primary_local;\n type_1 *conf_local;\n type_2 *entry;\n \n entry_00 = (type_2 *)var_1(1,0x18);\n if (subkeytypes[primary] != 0) {\n /* WARNING: Subroutine does not return *... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
500_psftp_and_psftp_strip.c | alloc_channel_id | FUN_001272dd | alloc_channel_id |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int alloc_channel_id(Ssh_conflict ssh)
{
void *pvVar1;
long in_FS_OFFSET;
Ssh_conflict ssh_local;
uint i;
uint low;
uint high;
uint CHANNEL_NUMBER_OFFSET;
int tsize;
uint mid;
ssh_channel *c;
long local_10;
local_10 =... |
int FUN_001272dd(long param_1)
{
long lVar1;
long in_FS_OFFSET;
int local_30;
uint local_2c;
uint local_28;
int local_24;
uint local_20;
uint local_1c;
long local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_24 = 0x100;
local_28 = FUN_00181e8d(*(undefined8 *)(param_... | (translation_unit "int FUN_001272dd(long param_1)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int local_30;\n uint local_2c;\n uint local_28;\n int local_24;\n uint local_20;\n uint local_1c;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_24 = 0x100;\n local_28 = F... | 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 dword ptr [RBP + -0x1c],0x100
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX + 0x1a0]
MOV RDI,RAX
CALL 0x00181e8d
MOV dword ptr [RBP + -0x18],EAX
MOV dword ptr [RBP + -0x2... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 ssh)
{
void *var_9;
long var_1;
type_1 ssh_local;
type_2 i;
type_2 var_4;
type_2 var_3;
type_2 var_6;
int tsize;
type_2 var_7;
type_3 *c;
long var_11;
var_11 = *(long *)(var_1 + 0x28);
var_6 = ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint alloc_channel_id(Ssh_conflict ssh)\n\n{\n void *pvVar1;\n long in_FS_OFFSET;\n Ssh_conflict ssh_local;\n uint i;\n uint low;\n uint high;\n uint CHANNEL_NUMBER_OFFSET;\n int tsize;\n uint mid;\n ssh_channel *c;\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 ssh)\n\n{\n void *var_9;\n long var_1;\n type_1 ssh_local;\n type_2 i;\n type_2 var_4;\n type_2 var_3;\n type_2 var_6;\n int tsize;\n type_2 var_7;\n type_3 *c;\n long var_11;\n \n var_11 = ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_decl... |
1202_pterm_and_pterm_strip.c | filename_is_null | FUN_00164c24 | filename_is_null |
int filename_is_null(Filename *fn)
{
Filename *fn_local;
return (int)(*fn->path == '\0');
}
|
bool FUN_00164c24(undefined8 *param_1)
{
return *(char *)*param_1 == '\0';
}
| (translation_unit "bool FUN_00164c24(undefined8 *param_1)\n\n{\n return *(char *)*param_1 == '\0';\n}\n\n" (function_definition "bool FUN_00164c24(undefined8 *param_1)\n\n{\n return *(char *)*param_1 == '\0';\n}" primitive_type (function_declarator "FUN_00164c24(undefined8 *param_1)" identifier (parameter_list "(unde... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
SETZ AL
MOVZX EAX,AL
POP RBP
RET |
int function_1(type_1 *fn)
{
type_1 *fn_local;
return (int)(*fn->path == '\0');
}
| (translation_unit "int filename_is_null(Filename *fn)\n\n{\n Filename *fn_local;\n \n return (int)(*fn->path == '\0');\n}\n\n" (function_definition "int filename_is_null(Filename *fn)\n\n{\n Filename *fn_local;\n \n return (int)(*fn->path == '\0');\n}" primitive_type (function_declarator "filename_is_null(Filenam... | (translation_unit "int function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n return (int)(*fn->path == '\0');\n}\n\n" (function_definition "int function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n return (int)(*fn->path == '\0');\n}" primitive_type (function_declarator "function_1(type_1 *fn)" identifier (paramete... | (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... |
834_psftp_and_psftp_strip.c | ccp_decrypt | FUN_001590f9 | ccp_decrypt |
void ccp_decrypt(void *vctx,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *vctx_local;
ccp_context *ctx;
chacha20_decrypt((chacha20 *)((long)vctx + 0x84),blk,len);
return;
}
|
void FUN_001590f9(long param_1,undefined8 param_2,undefined4 param_3)
{
FUN_00157626(param_1 + 0x84,param_2,param_3);
return;
}
| (translation_unit "void FUN_001590f9(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00157626(param_1 + 0x84,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_001590f9(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00157626(param_1 + 0x84,param_2,param_3);\n return;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
LEA RCX,[RAX + 0x84]
MOV EDX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV RSI,RAX... |
void function_1(void *vctx,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *vctx_local;
type_2 *ctx;
var_1((type_3 *)((long)vctx + 0x84),blk,len);
return;
}
| (translation_unit "void ccp_decrypt(void *vctx,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *vctx_local;\n ccp_context *ctx;\n \n chacha20_decrypt((chacha20 *)((long)vctx + 0x84),blk,len);\n return;\n}\n\n" (function_definition "void ccp_decrypt(void *vctx,uchar *blk,int len)\n\n{\n int ... | (translation_unit "void function_1(void *vctx,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *vctx_local;\n type_2 *ctx;\n \n var_1((type_3 *)((long)vctx + 0x84),blk,len);\n return;\n}\n\n" (function_definition "void function_1(void *vctx,type_1 *blk,int len)\n\n{\n int len_local;\n typ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
286_psftp_and_psftp_strip.c | pfl_terminate | FUN_00112b4d | pfl_terminate |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pfl_terminate(PortListener *pl)
{
PortListener *pl_local;
if (pl != (PortListener *)0x0) {
(*(*pl->s)->close)(pl->s);
free_portlistener_state(pl);
}
return;
}
|
void FUN_00112b4d(long param_1)
{
if (param_1 != 0) {
(**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));
FUN_00111aae(param_1);
}
return;
}
| (translation_unit "void FUN_00112b4d(long param_1)\n\n{\n if (param_1 != 0) {\n (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));\n FUN_00111aae(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_00112b4d(long param_1)\n\n{\n if (param_1 != 0) {\n (**(code **)(**(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00112b8a
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RDX + 0x10]
MOV RDI,RDX
CALL RAX
MOV RAX,qwo... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *var_1)
{
type_1 *pl_local;
if (var_1 != (type_1 *)0x0) {
(*(*var_1->s)->close)(var_1->s);
var_2(var_1);
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pfl_terminate(PortListener *pl)\n\n{\n PortListener *pl_local;\n \n if (pl != (PortListener *)0x0) {\n (*(*pl->s)->close)(pl->s);\n free_portlistener_state(pl);\n }\n return;\n}\n\n" comment (function_definiti... | (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 *pl_local;\n \n if (var_1 != (type_1 *)0x0) {\n (*(*var_1->s)->close)(var_1->s);\n var_2(var_1);\n }\n return;\n}\n\n" comment (function_definition "void function_1(type... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
798_psftp_and_psftp_strip.c | bigdiv | FUN_00156333 | bigdiv |
Bignum_conflict bigdiv(Bignum_conflict a,Bignum_conflict b)
{
Bignum_conflict quotient;
Bignum_conflict b_local;
Bignum_conflict a_local;
Bignum_conflict q;
quotient = newbn((int)*a);
bigdivmod(a,b,(Bignum_conflict)0x0,quotient);
while ((1 < *quotient && (quotient[*quotient] == 0))) {
*quotient =... |
ulong * FUN_00156333(ulong *param_1,undefined8 param_2)
{
ulong *puVar1;
puVar1 = (ulong *)FUN_00151193(*param_1 & 0xffffffff);
FUN_001547fe(param_1,param_2,0,puVar1);
while ((1 < *puVar1 && (puVar1[*puVar1] == 0))) {
*puVar1 = *puVar1 - 1;
}
return puVar1;
}
| (translation_unit "ulong * FUN_00156333(ulong *param_1,undefined8 param_2)\n\n{\n ulong *puVar1;\n \n puVar1 = (ulong *)FUN_00151193(*param_1 & 0xffffffff);\n FUN_001547fe(param_1,param_2,0,puVar1);\n while ((1 < *puVar1 && (puVar1[*puVar1] == 0))) {\n *puVar1 = *puVar1 - 1;\n }\n return puVar1;\n}\n\n" (func... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV EDI,EAX
CALL 0x00151193
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV RSI,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RCX,RDX
... |
type_1 function_1(type_1 a,type_1 b)
{
type_1 quotient;
type_1 b_local;
type_1 a_local;
type_1 q;
quotient = var_1((int)*a);
var_2(a,b,(type_1)0x0,quotient);
while ((1 < *quotient && (quotient[*quotient] == 0))) {
*quotient = *quotient - 1;
}
return quotient;
}
| (translation_unit "Bignum_conflict bigdiv(Bignum_conflict a,Bignum_conflict b)\n\n{\n Bignum_conflict quotient;\n Bignum_conflict b_local;\n Bignum_conflict a_local;\n Bignum_conflict q;\n \n quotient = newbn((int)*a);\n bigdivmod(a,b,(Bignum_conflict)0x0,quotient);\n while ((1 < *quotient && (quotient[*quotien... | (translation_unit "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 quotient;\n type_1 b_local;\n type_1 a_local;\n type_1 q;\n \n quotient = var_1((int)*a);\n var_2(a,b,(type_1)0x0,quotient);\n while ((1 < *quotient && (quotient[*quotient] == 0))) {\n *quotient = *quotient - 1;\n }\n return quotient;\n}... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme... |
319_psftp_and_psftp_strip.c | sftp_name_compare | FUN_00117785 | sftp_name_compare |
int sftp_name_compare(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
fxp_name **a;
fxp_name **b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
iVar1 = strcmp((char *)**av,(char *)**bv);
return iVar1;
}
|
void FUN_00117785(undefined8 *param_1,undefined8 *param_2)
{
strcmp(*(char **)*param_1,*(char **)*param_2);
return;
}
| (translation_unit "void FUN_00117785(undefined8 *param_1,undefined8 *param_2)\n\n{\n strcmp(*(char **)*param_1,*(char **)*param_2);\n return;\n}\n\n" (function_definition "void FUN_00117785(undefined8 *param_1,undefined8 *param_2)\n\n{\n strcmp(*(char **)*param_1,*(char **)*param_2);\n return;\n}" primitive_type (f... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDX,qword ptr [RAX]
MOV RAX,qword pt... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 **a;
type_1 **b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
iVar1 = var_1((char *)**av,(char *)**bv);
return iVar1;
}
| (translation_unit "int sftp_name_compare(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n fxp_name **a;\n fxp_name **b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n iVar1 = strcmp((char *)**av,(char *)**bv);... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 **a;\n type_1 **b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n iVar1 = var_1((char *)**av,(char *)**bv);\n return i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
166_psftp_and_psftp_strip.c | conf_insert | FUN_0010b978 | conf_insert |
void conf_insert(Conf *conf,conf_entry *entry)
{
conf_entry *pcVar1;
conf_entry *entry_local;
Conf *conf_local;
conf_entry *oldentry;
pcVar1 = (conf_entry *)add234(conf->tree,entry);
if ((pcVar1 != (conf_entry *)0x0) && (pcVar1 != entry)) {
del234(conf->tree,pcVar1);
free_entry(pcVar1);
pcV... |
void FUN_0010b978(undefined8 *param_1,long param_2)
{
long lVar1;
lVar1 = FUN_00182b9c(*param_1,param_2);
if ((lVar1 != 0) && (lVar1 != param_2)) {
FUN_00183efc(*param_1,lVar1);
FUN_0010b87c(lVar1);
lVar1 = FUN_00182b9c(*param_1,param_2);
if (lVar1 != param_2) {
/* WARNING... | (translation_unit "void FUN_0010b978(undefined8 *param_1,long param_2)\n\n{\n long lVar1;\n \n lVar1 = FUN_00182b9c(*param_1,param_2);\n if ((lVar1 != 0) && (lVar1 != param_2)) {\n FUN_00183efc(*param_1,lVar1);\n FUN_0010b87c(lVar1);\n lVar1 = FUN_00182b9c(*param_1,param_2);\n if (lVar1 != param_2) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RDX,qword ptr [RBP + -0x20]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00182b9c
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0010ba18
MOV RAX,qword ptr ... |
void function_1(type_1 *conf,type_2 *var_3)
{
type_2 *var_2;
type_2 *entry_local;
type_1 *conf_local;
type_2 *oldentry;
var_2 = (type_2 *)var_1(conf->tree,var_3);
if ((var_2 != (type_2 *)0x0) && (var_2 != var_3)) {
var_4(conf->tree,var_2);
var_5(var_2);
var_2 = (type_2 *)var_1(conf->tree,va... | (translation_unit "void conf_insert(Conf *conf,conf_entry *entry)\n\n{\n conf_entry *pcVar1;\n conf_entry *entry_local;\n Conf *conf_local;\n conf_entry *oldentry;\n \n pcVar1 = (conf_entry *)add234(conf->tree,entry);\n if ((pcVar1 != (conf_entry *)0x0) && (pcVar1 != entry)) {\n del234(conf->tree,pcVar1);\n ... | (translation_unit "void function_1(type_1 *conf,type_2 *var_3)\n\n{\n type_2 *var_2;\n type_2 *entry_local;\n type_1 *conf_local;\n type_2 *oldentry;\n \n var_2 = (type_2 *)var_1(conf->tree,var_3);\n if ((var_2 != (type_2 *)0x0) && (var_2 != var_3)) {\n var_4(conf->tree,var_2);\n var_5(var_2);\n var_2 =... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
554_psftp_and_psftp_strip.c | ssh2_pkt_getmp | FUN_0012c559 | 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_0012c559(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_0012c24d(param_1,&local_20,&local_24);
if (local_20 == (char *)0x0) {
uVar1 = 0;
}
els... | (translation_unit "undefined8 FUN_0012c559(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_0012c24d(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 0x0012c24d
MOV RAX,qword ptr [RBP + -0x18]
TEST RAX,RAX
JNZ 0x0012c59b
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) ... |
1104_pterm_and_pterm_strip.c | get_window_pixels | FUN_0015b24a | get_window_pixels |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void get_window_pixels(void *frontend,wchar_t *x,wchar_t *y)
{
undefined8 uVar1;
wchar_t *y_local;
wchar_t *x_local;
void *frontend_local;
gui_data *inst;
uVar1 = gtk_window_get_type();
/* WARNING: Load size i... |
void FUN_0015b24a(undefined8 *param_1,undefined8 param_2,undefined8 param_3)
{
undefined8 uVar1;
uVar1 = gtk_window_get_type();
uVar1 = g_type_check_instance_cast(*param_1,uVar1);
gtk_window_get_size(uVar1,param_2,param_3);
return;
}
| (translation_unit "void FUN_0015b24a(undefined8 *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n undefined8 uVar1;\n \n uVar1 = gtk_window_get_type();\n uVar1 = g_type_check_instance_cast(*param_1,uVar1);\n gtk_window_get_size(uVar1,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_0015b24a... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CALL 0x00110e90
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0010f530
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *frontend,type_1 *x,type_1 *y)
{
type_2 uVar1;
type_1 *y_local;
type_1 *x_local;
void *frontend_local;
type_3 *inst;
uVar1 = var_1();
/* WARNING: Load size is inaccurate */
uVar1 = var_2... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid get_window_pixels(void *frontend,wchar_t *x,wchar_t *y)\n\n{\n undefined8 uVar1;\n wchar_t *y_local;\n wchar_t *x_local;\n void *frontend_local;\n gui_data *inst;\n \n uVar1 = gtk_window_get_type();\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *frontend,type_1 *x,type_1 *y)\n\n{\n type_2 uVar1;\n type_1 *y_local;\n type_1 *x_local;\n void *frontend_local;\n type_3 *inst;\n \n uVar1 = var_1();\n /* WARNING: Load size is... | (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... |
741_psftp_and_psftp_strip.c | blowfish_setkey | FUN_00150e40 | blowfish_setkey |
void blowfish_setkey(BlowfishContext *ctx,uchar *key,short keybytes)
{
short keybytes_local;
uchar *key_local;
BlowfishContext *ctx_local;
blowfish_initkey(ctx);
blowfish_expandkey(ctx,key,keybytes,(uchar *)0x0,0);
return;
}
|
void FUN_00150e40(undefined8 param_1,undefined8 param_2,short param_3)
{
FUN_001506cb(param_1);
FUN_001507d6(param_1,param_2,(int)param_3,0,0);
return;
}
| (translation_unit "void FUN_00150e40(undefined8 param_1,undefined8 param_2,short param_3)\n\n{\n FUN_001506cb(param_1);\n FUN_001507d6(param_1,param_2,(int)param_3,0,0);\n return;\n}\n\n" (function_definition "void FUN_00150e40(undefined8 param_1,undefined8 param_2,short param_3)\n\n{\n FUN_001506cb(param_1);\n FU... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV EAX,EDX
MOV word ptr [RBP + -0x14],AX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001506cb
MOVSX EDX,word ptr [RBP + -0x14]
MOV RSI,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV R8D,0x0
MOV ECX,0x0
MO... |
void function_1(type_1 *ctx,type_2 *key,short keybytes)
{
short keybytes_local;
type_2 *key_local;
type_1 *ctx_local;
var_1(ctx);
var_2(ctx,key,keybytes,(type_2 *)0x0,0);
return;
}
| (translation_unit "void blowfish_setkey(BlowfishContext *ctx,uchar *key,short keybytes)\n\n{\n short keybytes_local;\n uchar *key_local;\n BlowfishContext *ctx_local;\n \n blowfish_initkey(ctx);\n blowfish_expandkey(ctx,key,keybytes,(uchar *)0x0,0);\n return;\n}\n\n" (function_definition "void blowfish_setkey(Bl... | (translation_unit "void function_1(type_1 *ctx,type_2 *key,short keybytes)\n\n{\n short keybytes_local;\n type_2 *key_local;\n type_1 *ctx_local;\n \n var_1(ctx);\n var_2(ctx,key,keybytes,(type_2 *)0x0,0);\n return;\n}\n\n" (function_definition "void function_1(type_1 *ctx,type_2 *key,short keybytes)\n\n{\n sho... | (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... |
452_psftp_and_psftp_strip.c | fxp_fstat_send | FUN_00125007 | fxp_fstat_send |
sftp_request * fxp_fstat_send(fxp_handle *handle)
{
sftp_request *psVar1;
sftp_packet *pkt;
fxp_handle *handle_local;
sftp_request *req;
sftp_packet *pktout;
psVar1 = sftp_alloc_request();
pkt = sftp_pkt_init(8);
sftp_pkt_adduint32(pkt,(ulong)psVar1->id);
sftp_pkt_addstring_start(pkt);
sftp_pkt... |
undefined4 * FUN_00125007(undefined8 *param_1)
{
undefined4 *puVar1;
undefined8 uVar2;
puVar1 = (undefined4 *)FUN_001241c7();
uVar2 = FUN_0012363b(8);
FUN_001235c5(uVar2,*puVar1);
FUN_0012375b(uVar2);
FUN_00123882(uVar2,*param_1,*(undefined4 *)(param_1 + 1));
FUN_00123f4b(uVar2);
return puVar1;
}... | (translation_unit "undefined4 * FUN_00125007(undefined8 *param_1)\n\n{\n undefined4 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined4 *)FUN_001241c7();\n uVar2 = FUN_0012363b(8);\n FUN_001235c5(uVar2,*puVar1);\n FUN_0012375b(uVar2);\n FUN_00123882(uVar2,*param_1,*(undefined4 *)(param_1 + 1));\n FUN_00123f... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CALL 0x001241c7
MOV qword ptr [RBP + -0x10],RAX
MOV EDI,0x8
CALL 0x0012363b
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001235c5
MOV RAX,... |
type_1 * function_1(type_2 *handle)
{
type_1 *psVar1;
type_3 *pkt;
type_2 *handle_local;
type_1 *req;
type_3 *pktout;
psVar1 = var_1();
pkt = var_2(8);
var_3(pkt,(type_4)psVar1->id);
var_4(pkt);
var_5(pkt,handle->hstring,handle->hlen);
var_6(pkt);
return psVar1;
}
| (translation_unit "sftp_request * fxp_fstat_send(fxp_handle *handle)\n\n{\n sftp_request *psVar1;\n sftp_packet *pkt;\n fxp_handle *handle_local;\n sftp_request *req;\n sftp_packet *pktout;\n \n psVar1 = sftp_alloc_request();\n pkt = sftp_pkt_init(8);\n sftp_pkt_adduint32(pkt,(ulong)psVar1->id);\n sftp_pkt_ad... | (translation_unit "type_1 * function_1(type_2 *handle)\n\n{\n type_1 *psVar1;\n type_3 *pkt;\n type_2 *handle_local;\n type_1 *req;\n type_3 *pktout;\n \n psVar1 = var_1();\n pkt = var_2(8);\n var_3(pkt,(type_4)psVar1->id);\n var_4(pkt);\n var_5(pkt,handle->hstring,handle->hlen);\n var_6(pkt);\n return psV... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (dec... |
624_psftp_and_psftp_strip.c | ssh2_try_send | FUN_0013c152 | 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_0013c152(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_0013c152(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 0x0013c24d
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... |
506_psftp_and_psftp_strip.c | ssh_new_packet | FUN_00127590 | ssh_new_packet |
/* WARNING: Unknown calling convention */
Packet * ssh_new_packet(void)
{
Packet *pPVar1;
Packet *pkt;
pPVar1 = (Packet *)safemalloc(1,0x58);
pPVar1->data = (uchar *)0x0;
pPVar1->body = pPVar1->data;
pPVar1->maxlen = 0;
return pPVar1;
}
|
long FUN_00127590(void)
{
long lVar1;
lVar1 = FUN_00110d9a(1,0x58);
*(undefined8 *)(lVar1 + 0x20) = 0;
*(undefined8 *)(lVar1 + 0x28) = *(undefined8 *)(lVar1 + 0x20);
*(undefined8 *)(lVar1 + 0x38) = 0;
return lVar1;
}
| (translation_unit "long FUN_00127590(void)\n\n{\n long lVar1;\n \n lVar1 = FUN_00110d9a(1,0x58);\n *(undefined8 *)(lVar1 + 0x20) = 0;\n *(undefined8 *)(lVar1 + 0x28) = *(undefined8 *)(lVar1 + 0x20);\n *(undefined8 *)(lVar1 + 0x38) = 0;\n return lVar1;\n}\n\n" (function_definition "long FUN_00127590(void)\n\n{\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x58
MOV EDI,0x1
CALL 0x00110d9a
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x20],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX + 0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x28],RDX
MOV RAX,qword ptr [RBP + -0x... |
/* WARNING: Unknown calling convention */
type_1 * function_1(void)
{
type_1 *pPVar1;
type_1 *pkt;
pPVar1 = (type_1 *)var_1(1,0x58);
pPVar1->data = (type_2 *)0x0;
pPVar1->body = pPVar1->data;
pPVar1->maxlen = 0;
return pPVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nPacket * ssh_new_packet(void)\n\n{\n Packet *pPVar1;\n Packet *pkt;\n \n pPVar1 = (Packet *)safemalloc(1,0x58);\n pPVar1->data = (uchar *)0x0;\n pPVar1->body = pPVar1->data;\n pPVar1->maxlen = 0;\n return pPVar1;\n}\n\n" comment (function_definitio... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 * function_1(void)\n\n{\n type_1 *pPVar1;\n type_1 *pkt;\n \n pPVar1 = (type_1 *)var_1(1,0x58);\n pPVar1->data = (type_2 *)0x0;\n pPVar1->body = pPVar1->data;\n pPVar1->maxlen = 0;\n return pPVar1;\n}\n\n" comment (function_definition "type_... | (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: (type_identifier) declarator: (poi... |
507_psftp_and_psftp_strip.c | ssh1_log_incoming_packet | FUN_001275d9 | ssh1_log_incoming_packet |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh1_log_incoming_packet(Ssh_conflict ssh,Packet *pkt)
{
long lVar1;
long lVar2;
uchar *data;
char *texttype;
long in_FS_OFFSET;
Packet *pkt_local;
Ssh_conflict ssh_local;
int slen;
int nblanks;
char *str;
logblank_t ... |
void FUN_001275d9(long param_1,ulong *param_2)
{
ulong uVar1;
ulong uVar2;
undefined8 uVar3;
long in_FS_OFFSET;
int local_68;
int local_64;
long local_60;
int local_58 [14];
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
local_64 = 0;
param_2[6] = 0;
if ((*(int *)(param_1 + 0x3... | (translation_unit "void FUN_001275d9(long param_1,ulong *param_2)\n\n{\n ulong uVar1;\n ulong uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n int local_68;\n int local_64;\n long local_60;\n int local_58 [14];\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n local_64 = 0;\n param_2[6] =... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x60
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x5c],0x0
MOV RAX,qword ptr [RBP + -0x70]
MOV qword ptr [RAX + 0x30],0x0
MOV RAX,qword ptr [RBP + -0x68]
MOV E... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pkt)
{
long var_8;
long lVar2;
type_3 *data;
char *texttype;
long var_1;
type_2 *pkt_local;
type_1 ssh_local;
int slen;
int var_5;
char *var_4;
type_4 blanks [4];
var_8 = *(long *)(v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh1_log_incoming_packet(Ssh_conflict ssh,Packet *pkt)\n\n{\n long lVar1;\n long lVar2;\n uchar *data;\n char *texttype;\n long in_FS_OFFSET;\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n int slen;\n int nbla... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pkt)\n\n{\n long var_8;\n long lVar2;\n type_3 *data;\n char *texttype;\n long var_1;\n type_2 *pkt_local;\n type_1 ssh_local;\n int slen;\n int var_5;\n char *var_4;\n type_4 bla... | (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... |
722_psftp_and_psftp_strip.c | aes256_decrypt_pubkey | FUN_0014e3a4 | aes256_decrypt_pubkey |
void aes256_decrypt_pubkey(uchar *key,uchar *blk,int len)
{
long lVar1;
long in_FS_OFFSET;
int len_local;
uchar *blk_local;
uchar *key_local;
AESContext ctx;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
aes_setup(&ctx,0x10,key,0x20);
memset(ctx.iv,0,0x20);
aes_decrypt_cbc(blk,len,&ctx);
smemclr(&c... |
void FUN_0014e3a4(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
long in_FS_OFFSET;
undefined local_408 [976];
undefined auStack_38 [40];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_0014d44a(local_408,0x10,param_1,0x20);
memset(auStack_38,0,0x20);
FUN_0014dc49(param_2... | (translation_unit "void FUN_0014e3a4(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_408 [976];\n undefined auStack_38 [40];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0014d44a(local_408,0x10,param_1,0x20);\n memset(auStack_38,0,0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x420
MOV qword ptr [RBP + -0x408],RDI
MOV qword ptr [RBP + -0x410],RSI
MOV dword ptr [RBP + -0x414],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RDX,qword ptr [RBP + -0x408]
LEA RAX,[RBP + -0x400]
MOV ECX,0x20
MOV ESI,0x10
MOV RDI,RAX
CALL 0x0014d44a
LEA R... |
void function_1(type_1 *key,type_1 *blk,int len)
{
long var_6;
long var_1;
int len_local;
type_1 *blk_local;
type_1 *key_local;
type_2 ctx;
var_6 = *(long *)(var_1 + 0x28);
var_2(&ctx,0x10,key,0x20);
var_3(ctx.iv,0,0x20);
var_4(blk,len,&ctx);
var_5(&ctx,0x3f8);
if (var_6 != *(long *)(var_1 ... | (translation_unit "void aes256_decrypt_pubkey(uchar *key,uchar *blk,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n uchar *blk_local;\n uchar *key_local;\n AESContext ctx;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n aes_setup(&ctx,0x10,key,0x20);\n memset(ctx.iv,0,0x20);\n aes_decrypt_... | (translation_unit "void function_1(type_1 *key,type_1 *blk,int len)\n\n{\n long var_6;\n long var_1;\n int len_local;\n type_1 *blk_local;\n type_1 *key_local;\n type_2 ctx;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(&ctx,0x10,key,0x20);\n var_3(ctx.iv,0,0x20);\n var_4(blk,len,&ctx);\n var_5(&ctx,0x3f8);... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
525_psftp_and_psftp_strip.c | ssh_pkt_adddata | FUN_0012ad74 | ssh_pkt_adddata |
void ssh_pkt_adddata(Packet *pkt,void *data,int len)
{
int len_local;
void *data_local;
Packet *pkt_local;
pkt->length = pkt->length + (long)len;
ssh_pkt_ensure(pkt,(int)pkt->length);
memcpy(pkt->data + (pkt->length - (long)len),data,(long)len);
return;
}
|
void FUN_0012ad74(ulong *param_1,void *param_2,int param_3)
{
*param_1 = *param_1 + (long)param_3;
FUN_0012acbd(param_1,*param_1 & 0xffffffff);
memcpy((void *)(param_1[4] + (*param_1 - (long)param_3)),param_2,(long)param_3);
return;
}
| (translation_unit "void FUN_0012ad74(ulong *param_1,void *param_2,int param_3)\n\n{\n *param_1 = *param_1 + (long)param_3;\n FUN_0012acbd(param_1,*param_1 & 0xffffffff);\n memcpy((void *)(param_1[4] + (*param_1 - (long)param_3)),param_2,(long)param_3);\n return;\n}\n\n" (function_definition "void FUN_0012ad74(ulong... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX]
MOV EAX,dword ptr [RBP + -0x14]
CDQE
ADD RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [RBP + -0x8]
M... |
void function_1(type_1 *pkt,void *data,int len)
{
int len_local;
void *data_local;
type_1 *pkt_local;
pkt->length = pkt->length + (long)len;
var_1(pkt,(int)pkt->length);
var_2(pkt->data + (pkt->length - (long)len),data,(long)len);
return;
}
| (translation_unit "void ssh_pkt_adddata(Packet *pkt,void *data,int len)\n\n{\n int len_local;\n void *data_local;\n Packet *pkt_local;\n \n pkt->length = pkt->length + (long)len;\n ssh_pkt_ensure(pkt,(int)pkt->length);\n memcpy(pkt->data + (pkt->length - (long)len),data,(long)len);\n return;\n}\n\n" (function_d... | (translation_unit "void function_1(type_1 *pkt,void *data,int len)\n\n{\n int len_local;\n void *data_local;\n type_1 *pkt_local;\n \n pkt->length = pkt->length + (long)len;\n var_1(pkt,(int)pkt->length);\n var_2(pkt->data + (pkt->length - (long)len),data,(long)len);\n return;\n}\n\n" (function_definition "void... | (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... |
155_psftp_and_psftp_strip.c | cmdline_run_saved | FUN_0010b400 | cmdline_run_saved |
void cmdline_run_saved(Conf *conf)
{
Conf *conf_local;
int pri;
int i;
for (pri = 0; pri < 2; pri = pri + 1) {
for (i = 0; i < saves[pri].nsaved; i = i + 1) {
cmdline_process_param(saves[pri].params[i].p,saves[pri].params[i].value,0,conf);
safefree(saves[pri].params[i].p);
safefree(sa... |
void FUN_0010b400(undefined8 param_1)
{
int local_10;
int local_c;
for (local_10 = 0; local_10 < 2; local_10 = local_10 + 1) {
for (local_c = 0; local_c < *(int *)(&DAT_001b8cc8 + (long)local_10 * 0x10);
local_c = local_c + 1) {
FUN_0010938d(*(undefined8 *)
(*(long *)(&D... | (translation_unit "void FUN_0010b400(undefined8 param_1)\n\n{\n int local_10;\n int local_c;\n \n for (local_10 = 0; local_10 < 2; local_10 = local_10 + 1) {\n for (local_c = 0; local_c < *(int *)(&DAT_001b8cc8 + (long)local_10 * 0x10);\n local_c = local_c + 1) {\n FUN_0010938d(*(undefined8 *)\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x8],0x0
JMP 0x0010b527
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0010b4ea
MOV EAX,dword ptr [RBP + -0x8]
CDQE
SHL RAX,0x4
MOV RDX,RAX
LEA RAX,[0x1b8cc0]
MOV RAX,qword ptr [RDX + RAX*0x1]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
SHL... |
void function_1(type_1 *conf)
{
type_1 *conf_local;
int var_1;
int var_2;
for (var_1 = 0; var_1 < 2; var_1 = var_1 + 1) {
for (var_2 = 0; var_2 < saves[var_1].nsaved; var_2 = var_2 + 1) {
var_3(saves[var_1].params[var_2].p,saves[var_1].params[var_2].value,0,conf);
var_4(saves[var_1].params[... | (translation_unit "void cmdline_run_saved(Conf *conf)\n\n{\n Conf *conf_local;\n int pri;\n int i;\n \n for (pri = 0; pri < 2; pri = pri + 1) {\n for (i = 0; i < saves[pri].nsaved; i = i + 1) {\n cmdline_process_param(saves[pri].params[i].p,saves[pri].params[i].value,0,conf);\n safefree(saves[pri].par... | (translation_unit "void function_1(type_1 *conf)\n\n{\n type_1 *conf_local;\n int var_1;\n int var_2;\n \n for (var_1 = 0; var_1 < 2; var_1 = var_1 + 1) {\n for (var_2 = 0; var_2 < saves[var_1].nsaved; var_2 = var_2 + 1) {\n var_3(saves[var_1].params[var_2].p,saves[var_1].params[var_2].value,0,conf);\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
546_psftp_and_psftp_strip.c | ssh2_pkt_queuesend | FUN_0012c000 | ssh2_pkt_queuesend |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_pkt_queuesend(Ssh_conflict ssh)
{
Ssh_conflict ssh_local;
int i;
if (ssh->queueing != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("!ssh->queueing","ssh.c",0xa53,"ssh2_pkt_queuesend");
... |
void FUN_0012c000(long param_1)
{
int local_c;
if (*(int *)(param_1 + 0x1f8) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("!ssh->queueing","ssh.c",0xa53,"ssh2_pkt_queuesend");
}
for (local_c = 0; local_c < *(int *)(param_1 + 0x1f0); local_c = local_c + 1) {
FU... | (translation_unit "void FUN_0012c000(long param_1)\n\n{\n int local_c;\n \n if (*(int *)(param_1 + 0x1f8) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("!ssh->queueing","ssh.c",0xa53,"ssh2_pkt_queuesend");\n }\n for (local_c = 0; local_c < *(int *)(param_1 + 0x1f0); loca... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x1f8]
TEST EAX,EAX
JZ 0x0012c039
LEA RCX,[0x19c8a0]
MOV EDX,0xa53
LEA RSI,[0x198cc6]
LEA RDI,[0x198f40]
CALL 0x00108360
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0012c075
MOV RAX,qword ptr [RBP + -0x18... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh)
{
type_1 ssh_local;
int var_2;
if (ssh->queueing != 0) {
/* WARNING: Subroutine does not return */
var_1("!ssh->queueing","ssh.c",0xa53,"ssh2_pkt_queuesend");
}
for (var_2 = 0; va... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_pkt_queuesend(Ssh_conflict ssh)\n\n{\n Ssh_conflict ssh_local;\n int i;\n \n if (ssh->queueing != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("!ssh->queueing","ssh.c",0... | (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_2;\n \n if (ssh->queueing != 0) {\n /* WARNING: Subroutine does not return */\n var_1("!ssh->queueing","ssh.c",0xa53,"ssh2_pkt_queuesend... | (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)... |
171_psftp_and_psftp_strip.c | conf_get_str | FUN_0010bd08 | conf_get_str |
char * conf_get_str(Conf *conf,int primary)
{
long lVar1;
void *pvVar2;
long in_FS_OFFSET;
int primary_local;
Conf *conf_local;
conf_entry *entry;
key key;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (subkeytypes[primary] != 0) {
/* WARNING: Subroutine does not return */
__... |
undefined8 FUN_0010bd08(undefined8 *param_1,int param_2)
{
long lVar1;
long in_FS_OFFSET;
int local_28 [6];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(&DAT_001b8020 + (long)param_2 * 4) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("... | (translation_unit "undefined8 FUN_0010bd08(undefined8 *param_1,int param_2)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int local_28 [6];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(&DAT_001b8020 + (long)param_2 * 4) != 0) {\n /* WARNING: Subroutine does not r... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x3c]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b8020]
MOV EAX,dword ptr [RDX + RAX*0x1]
TEST EAX,EAX
JZ 0x0010bd60
LEA RCX,[0x19361... |
char * function_1(type_1 *conf,int primary)
{
long var_5;
void *var_4;
long var_1;
int primary_local;
type_1 *conf_local;
type_2 *entry;
type_3 type_3;
var_5 = *(long *)(var_1 + 0x28);
if (subkeytypes[primary] != 0) {
/* WARNING: Subroutine does not return */
var_2("subkey... | (translation_unit "char * conf_get_str(Conf *conf,int primary)\n\n{\n long lVar1;\n void *pvVar2;\n long in_FS_OFFSET;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n key key;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (subkeytypes[primary] != 0) {\n /* WARNING: Subro... | (translation_unit "char * function_1(type_1 *conf,int primary)\n\n{\n long var_5;\n void *var_4;\n long var_1;\n int primary_local;\n type_1 *conf_local;\n type_2 *entry;\n type_3 type_3;\n \n var_5 = *(long *)(var_1 + 0x28);\n if (subkeytypes[primary] != 0) {\n /* WARNING: Subroutine does ... | (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... |
167_psftp_and_psftp_strip.c | conf_copy_into | FUN_0010ba1b | conf_copy_into |
void conf_copy_into(Conf *newconf,Conf *oldconf)
{
key *to;
key *from;
Conf *oldconf_local;
Conf *newconf_local;
int i;
conf_entry *entry;
conf_entry *entry2;
conf_clear(newconf);
i = 0;
while( true ) {
from = (key *)index234(oldconf->tree,i);
if (from == (key *)0x0) break;
to = (ke... |
void FUN_0010ba1b(undefined8 *param_1,undefined8 *param_2)
{
long lVar1;
int *piVar2;
int local_1c;
FUN_0010b906(param_1);
local_1c = 0;
while( true ) {
piVar2 = (int *)FUN_00182c1f(*param_2,local_1c);
if (piVar2 == (int *)0x0) break;
lVar1 = FUN_00110d9a(1,0x18);
FUN_0010b720(lVar1,piV... | (translation_unit "void FUN_0010ba1b(undefined8 *param_1,undefined8 *param_2)\n\n{\n long lVar1;\n int *piVar2;\n int local_1c;\n \n FUN_0010b906(param_1);\n local_1c = 0;\n while( true ) {\n piVar2 = (int *)FUN_00182c1f(*param_2,local_1c);\n if (piVar2 == (int *)0x0) break;\n lVar1 = FUN_00110d9a(1,0x1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x0010b906
MOV dword ptr [RBP + -0x14],0x0
JMP 0x0010bab4
MOV ESI,0x18
MOV EDI,0x1
CALL 0x00110d9a
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qwo... |
void function_1(type_1 *newconf,type_1 *oldconf)
{
type_2 *var_7;
type_2 *var_3;
type_1 *oldconf_local;
type_1 *newconf_local;
int var_9;
type_3 *entry;
type_3 *entry2;
var_1(newconf);
var_9 = 0;
while( true ) {
var_3 = (type_2 *)var_2(oldconf->tree,var_9);
if (var_3 == (type_2 *)0x0) b... | (translation_unit "void conf_copy_into(Conf *newconf,Conf *oldconf)\n\n{\n key *to;\n key *from;\n Conf *oldconf_local;\n Conf *newconf_local;\n int i;\n conf_entry *entry;\n conf_entry *entry2;\n \n conf_clear(newconf);\n i = 0;\n while( true ) {\n from = (key *)index234(oldconf->tree,i);\n if (from =... | (translation_unit "void function_1(type_1 *newconf,type_1 *oldconf)\n\n{\n type_2 *var_7;\n type_2 *var_3;\n type_1 *oldconf_local;\n type_1 *newconf_local;\n int var_9;\n type_3 *entry;\n type_3 *entry2;\n \n var_1(newconf);\n var_9 = 0;\n while( true ) {\n var_3 = (type_2 *)var_2(oldconf->tree,var_9);\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... |
218_psftp_and_psftp_strip.c | host_strchr_internal | FUN_0010f76b | host_strchr_internal |
char * host_strchr_internal(char *s,char *set,int first)
{
char *pcVar1;
int first_local;
char *set_local;
char *s_local;
int brackets;
char *ret;
brackets = 0;
ret = (char *)0x0;
s_local = s;
do {
if (*s_local == '\0') {
return ret;
}
if (*s_local == '[') {
brackets = b... |
char * FUN_0010f76b(char *param_1,char *param_2,int param_3)
{
char *pcVar1;
char *local_20;
int local_14;
char *local_10;
local_14 = 0;
local_10 = (char *)0x0;
local_20 = param_1;
do {
if (*local_20 == '\0') {
return local_10;
}
if (*local_20 == '[') {
local_14 = local_14 +... | (translation_unit "char * FUN_0010f76b(char *param_1,char *param_2,int param_3)\n\n{\n char *pcVar1;\n char *local_20;\n int local_14;\n char *local_10;\n \n local_14 = 0;\n local_10 = (char *)0x0;\n local_20 = param_1;\n do {\n if (*local_20 == '\0') {\n return local_10;\n }\n if (*local_20 == '... | 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 + -0xc],0x0
MOV qword ptr [RBP + -0x8],0x0
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
JNZ 0x0010f79e
MOV RAX,qword ptr [RBP + -0x8]
JMP 0x0010f812... |
char * function_1(char *s,char *set,int var_4)
{
char *var_3;
int first_local;
char *set_local;
char *var_5;
int var_1;
char *ret;
var_1 = 0;
ret = (char *)0x0;
var_5 = s;
do {
if (*var_5 == '\0') {
return ret;
}
if (*var_5 == '[') {
var_1 = var_1 + 1;
}
else if ... | (translation_unit "char * host_strchr_internal(char *s,char *set,int first)\n\n{\n char *pcVar1;\n int first_local;\n char *set_local;\n char *s_local;\n int brackets;\n char *ret;\n \n brackets = 0;\n ret = (char *)0x0;\n s_local = s;\n do {\n if (*s_local == '\0') {\n return ret;\n }\n if (*s... | (translation_unit "char * function_1(char *s,char *set,int var_4)\n\n{\n char *var_3;\n int first_local;\n char *set_local;\n char *var_5;\n int var_1;\n char *ret;\n \n var_1 = 0;\n ret = (char *)0x0;\n var_5 = s;\n do {\n if (*var_5 == '\0') {\n return ret;\n }\n if (*var_5 == '[') {\n v... | (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))) (parameter_declaration type: (primi... |
336_psftp_and_psftp_strip.c | sftp_general_get | FUN_00119e64 | sftp_general_get |
int sftp_general_get(sftp_command *cmd,int restart,int multiple)
{
int iVar1;
size_t sVar2;
char *output;
char *pcVar3;
int multiple_local;
int restart_local;
sftp_command *cmd_local;
int i;
int ret;
int recurse;
char *origwfname;
char *outfname;
SftpWildcardMatcher *swcm;
char *origfname;... |
int FUN_00119e64(long *param_1,undefined4 param_2,int param_3)
{
char *__s;
int iVar1;
size_t sVar2;
undefined8 uVar3;
long lVar4;
undefined8 uVar5;
int local_44;
int local_40;
undefined4 local_3c;
char *local_38;
undefined8 local_30;
long local_28;
local_3c = 0;
if (DAT_001b8cf8 == 0) ... | (translation_unit "int FUN_00119e64(long *param_1,undefined4 param_2,int param_3)\n\n{\n char *__s;\n int iVar1;\n size_t sVar2;\n undefined8 uVar3;\n long lVar4;\n undefined8 uVar5;\n int local_44;\n int local_40;\n undefined4 local_3c;\n char *local_38;\n undefined8 local_30;\n long local_28;\n \n local... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV dword ptr [RBP + -0x50],EDX
MOV dword ptr [RBP + -0x34],0x0
MOV RAX,qword ptr [0x001b8cf8]
TEST RAX,RAX
JNZ 0x00119e98
CALL 0x00117801
MOV EAX,0x0
JMP 0x0011a1ef
MOV dword ptr [RBP + -0x3c],0x1
JMP 0x00119f4d
MOV RAX,q... |
int function_1(type_1 *cmd,int restart,int var_10)
{
int var_5;
size_t var_9;
char *output;
char *var_14;
int multiple_local;
int restart_local;
type_1 *cmd_local;
int var_3;
int var_22;
int recurse;
char *var_12;
char *outfname;
type_2 *var_20;
char *origfname;
char *unwcfname;
char *... | (translation_unit "int sftp_general_get(sftp_command *cmd,int restart,int multiple)\n\n{\n int iVar1;\n size_t sVar2;\n char *output;\n char *pcVar3;\n int multiple_local;\n int restart_local;\n sftp_command *cmd_local;\n int i;\n int ret;\n int recurse;\n char *origwfname;\n char *outfname;\n SftpWildcard... | (translation_unit "int function_1(type_1 *cmd,int restart,int var_10)\n\n{\n int var_5;\n size_t var_9;\n char *output;\n char *var_14;\n int multiple_local;\n int restart_local;\n type_1 *cmd_local;\n int var_3;\n int var_22;\n int recurse;\n char *var_12;\n char *outfname;\n type_2 *var_20;\n char *orig... | (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... |
1154_pterm_and_pterm_strip.c | draw_update | FUN_0015fc9e | draw_update |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void draw_update(draw_ctx *dctx,wchar_t x,wchar_t y,wchar_t w,wchar_t h)
{
wchar_t h_local;
wchar_t w_local;
wchar_t y_local;
wchar_t x_local;
draw_ctx *dctx_local;
gtk_widget_queue_draw_area(dctx->inst->area,x,y,w,h);
return;
... |
void FUN_0015fc9e(long *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
undefined4 param_5)
{
gtk_widget_queue_draw_area(*(undefined8 *)(*param_1 + 8),param_2,param_3,param_4,param_5);
return;
}
| (translation_unit "void FUN_0015fc9e(long *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n undefined4 param_5)\n\n{\n gtk_widget_queue_draw_area(*(undefined8 *)(*param_1 + 8),param_2,param_3,param_4,param_5);\n return;\n}\n\n" (function_definition "void FUN_0015fc9e(long *param_1,u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV dword ptr [RBP + -0x10],EDX
MOV dword ptr [RBP + -0x14],ECX
MOV dword ptr [RBP + -0x18],R8D
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x8]
MOV EDI,dword ptr [RBP + -0x18]
MOV ECX,dwo... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *dctx,type_2 x,type_2 y,type_2 w,type_2 h)
{
type_2 h_local;
type_2 w_local;
type_2 y_local;
type_2 x_local;
type_1 *dctx_local;
var_1(dctx->inst->area,x,y,w,h);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid draw_update(draw_ctx *dctx,wchar_t x,wchar_t y,wchar_t w,wchar_t h)\n\n{\n wchar_t h_local;\n wchar_t w_local;\n wchar_t y_local;\n wchar_t x_local;\n draw_ctx *dctx_local;\n \n gtk_widget_queue_draw_area(dctx->in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *dctx,type_2 x,type_2 y,type_2 w,type_2 h)\n\n{\n type_2 h_local;\n type_2 w_local;\n type_2 y_local;\n type_2 x_local;\n type_1 *dctx_local;\n \n var_1(dctx->inst->area,x,y,w,h);\n return;\n}\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
846_psftp_and_psftp_strip.c | des_key_setup | FUN_0015996a | des_key_setup |
void des_key_setup(word32 key_msw,word32 key_lsw,DESContext *sched)
{
long lVar1;
word32 wVar2;
long in_FS_OFFSET;
DESContext *sched_local;
word32 key_lsw_local;
word32 key_msw_local;
word32 C;
word32 D;
int i;
word32 buf [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
buf[0] = key_lsw;
buf[... |
void FUN_0015996a(uint param_1,uint param_2,long param_3)
{
undefined4 uVar1;
long in_FS_OFFSET;
uint local_24;
uint local_20;
int local_1c;
uint local_18;
uint local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = param_2;
local_14 = param_1;
local_24 = FUN_001598e... | (translation_unit "void FUN_0015996a(uint param_1,uint param_2,long param_3)\n\n{\n undefined4 uVar1;\n long in_FS_OFFSET;\n uint local_24;\n uint local_20;\n int local_1c;\n uint local_18;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = param_2;\n local_14 = p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x24],EDI
MOV dword ptr [RBP + -0x28],ESI
MOV qword ptr [RBP + -0x30],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x28]
MOV dword ptr [RBP + -0x10],EAX
MOV EAX,dword ptr [RBP + -0x24]
MOV dword ptr [RBP + -0... |
void function_1(type_1 key_msw,type_1 key_lsw,type_2 *sched)
{
long var_6;
type_1 wVar2;
long var_1;
type_2 *sched_local;
type_1 key_lsw_local;
type_1 key_msw_local;
type_1 var_4;
type_1 var_5;
int var_3;
type_1 buf [2];
var_6 = *(long *)(var_1 + 0x28);
buf[0] = key_lsw;
buf[1] = key_msw;... | (translation_unit "void des_key_setup(word32 key_msw,word32 key_lsw,DESContext *sched)\n\n{\n long lVar1;\n word32 wVar2;\n long in_FS_OFFSET;\n DESContext *sched_local;\n word32 key_lsw_local;\n word32 key_msw_local;\n word32 C;\n word32 D;\n int i;\n word32 buf [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0... | (translation_unit "void function_1(type_1 key_msw,type_1 key_lsw,type_2 *sched)\n\n{\n long var_6;\n type_1 wVar2;\n long var_1;\n type_2 *sched_local;\n type_1 key_lsw_local;\n type_1 key_msw_local;\n type_1 var_4;\n type_1 var_5;\n int var_3;\n type_1 buf [2];\n \n var_6 = *(long *)(var_1 + 0x28);\n buf[... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration typ... |
343_psftp_and_psftp_strip.c | sftp_cmd_reput | FUN_0011a5d7 | sftp_cmd_reput |
int sftp_cmd_reput(sftp_command *cmd)
{
int iVar1;
sftp_command *cmd_local;
iVar1 = sftp_general_put(cmd,1,0);
return iVar1;
}
|
void FUN_0011a5d7(undefined8 param_1)
{
FUN_0011a25d(param_1,1,0);
return;
}
| (translation_unit "void FUN_0011a5d7(undefined8 param_1)\n\n{\n FUN_0011a25d(param_1,1,0);\n return;\n}\n\n" (function_definition "void FUN_0011a5d7(undefined8 param_1)\n\n{\n FUN_0011a25d(param_1,1,0);\n return;\n}" primitive_type (function_declarator "FUN_0011a5d7(undefined8 param_1)" identifier (parameter_list "... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x0
MOV ESI,0x1
MOV RDI,RAX
CALL 0x0011a25d
LEAVE
RET |
int function_1(type_1 *cmd)
{
int iVar1;
type_1 *cmd_local;
iVar1 = var_1(cmd,1,0);
return iVar1;
}
| (translation_unit "int sftp_cmd_reput(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_command *cmd_local;\n \n iVar1 = sftp_general_put(cmd,1,0);\n return iVar1;\n}\n\n" (function_definition "int sftp_cmd_reput(sftp_command *cmd)\n\n{\n int iVar1;\n sftp_command *cmd_local;\n \n iVar1 = sftp_general_put(cmd,1,0);\... | (translation_unit "int function_1(type_1 *cmd)\n\n{\n int iVar1;\n type_1 *cmd_local;\n \n iVar1 = var_1(cmd,1,0);\n return iVar1;\n}\n\n" (function_definition "int function_1(type_1 *cmd)\n\n{\n int iVar1;\n type_1 *cmd_local;\n \n iVar1 = var_1(cmd,1,0);\n return iVar1;\n}" primitive_type (function_declarat... | (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... |
220_psftp_and_psftp_strip.c | host_strchr | FUN_0010f85f | host_strchr |
char * host_strchr(char *s,int c)
{
long lVar1;
char *pcVar2;
long in_FS_OFFSET;
int c_local;
char *s_local;
char set [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
set[0] = (char)c;
set[1] = '\0';
pcVar2 = host_strchr_internal(s,set,1);
if (lVar1 != *(long *)(in_FS_OFFSET + 0x28)) {
... |
void FUN_0010f85f(undefined8 param_1,undefined param_2)
{
long in_FS_OFFSET;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_11 = 0;
local_12 = param_2;
FUN_0010f76b(param_1,&local_12,1);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
... | (translation_unit "void FUN_0010f85f(undefined8 param_1,undefined param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_11 = 0;\n local_12 = param_2;\n FUN_0010f76b(param_1,&local_12,1);\n if (local_10 != *(long ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x1c]
MOV byte ptr [RBP + -0xa],AL
MOV byte ptr [RBP + -0x9],0x0
LEA RCX,[RBP + -0xa]
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX... |
char * function_1(char *s,int c)
{
long var_3;
char *pcVar2;
long var_1;
int c_local;
char *s_local;
char set [2];
var_3 = *(long *)(var_1 + 0x28);
set[0] = (char)c;
set[1] = '\0';
pcVar2 = var_2(s,set,1);
if (var_3 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine does... | (translation_unit "char * host_strchr(char *s,int c)\n\n{\n long lVar1;\n char *pcVar2;\n long in_FS_OFFSET;\n int c_local;\n char *s_local;\n char set [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n set[0] = (char)c;\n set[1] = '\0';\n pcVar2 = host_strchr_internal(s,set,1);\n if (lVar1 != *(long *)(in... | (translation_unit "char * function_1(char *s,int c)\n\n{\n long var_3;\n char *pcVar2;\n long var_1;\n int c_local;\n char *s_local;\n char set [2];\n \n var_3 = *(long *)(var_1 + 0x28);\n set[0] = (char)c;\n set[1] = '\0';\n pcVar2 = var_2(s,set,1);\n if (var_3 != *(long *)(var_1 + 0x28)) {\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))) (parameter_declaration type: (primi... |
1298_pterm_and_pterm_strip.c | verify_host_key | FUN_00168c37 | verify_host_key |
int verify_host_key(char *hostname,int port,char *keytype,char *key)
{
char *pcVar1;
long lVar2;
int iVar3;
char *pcVar4;
FILE *__stream;
size_t sVar5;
long in_FS_OFFSET;
char *key_local;
char *keytype_local;
int port_local;
char *hostname_local;
int ret;
int i;
char *filename;
FILE *fp;... |
int FUN_00168c37(char *param_1,uint param_2,char *param_3,char *param_4)
{
char *pcVar1;
int iVar2;
char *pcVar3;
FILE *__stream;
size_t sVar4;
long in_FS_OFFSET;
int local_50;
char local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
pcVar3 = (char *)FUN_00167a40(1,0);
... | (translation_unit "int FUN_00168c37(char *param_1,uint param_2,char *param_3,char *param_4)\n\n{\n char *pcVar1;\n int iVar2;\n char *pcVar3;\n FILE *__stream;\n size_t sVar4;\n long in_FS_OFFSET;\n int local_50;\n char local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n pcVar3... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV qword ptr [RBP + -0x68],RDX
MOV qword ptr [RBP + -0x70],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV ESI,0x0
MOV EDI,0x1
CALL 0x00167a40
MOV qword ptr [RBP + -0x40],RAX
MOV RAX,qword p... |
int function_1(char *hostname,int port,char *keytype,char *key)
{
char *var_12;
long var_17;
int var_11;
char *var_7;
type_1 *var_5;
size_t sVar5;
long var_1;
char *key_local;
char *keytype_local;
int port_local;
char *hostname_local;
int var_15;
int i;
char *filename;
type_1 *fp;
char... | (translation_unit "int verify_host_key(char *hostname,int port,char *keytype,char *key)\n\n{\n char *pcVar1;\n long lVar2;\n int iVar3;\n char *pcVar4;\n FILE *__stream;\n size_t sVar5;\n long in_FS_OFFSET;\n char *key_local;\n char *keytype_local;\n int port_local;\n char *hostname_local;\n int ret;\n int... | (translation_unit "int function_1(char *hostname,int port,char *keytype,char *key)\n\n{\n char *var_12;\n long var_17;\n int var_11;\n char *var_7;\n type_1 *var_5;\n size_t sVar5;\n long var_1;\n char *key_local;\n char *keytype_local;\n int port_local;\n char *hostname_local;\n int var_15;\n int i;\n ch... | (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... |
1303_pterm_and_pterm_strip.c | cleanup_all | FUN_001693d8 | cleanup_all |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void cleanup_all(void)
{
return;
}
|
void FUN_001693d8(void)
{
return;
}
| (translation_unit "void FUN_001693d8(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001693d8(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001693d8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
return;
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid cleanup_all(void)\n\n{\n return;\n}\n\n" comment (function_definition "void cleanup_all(void)\n\n{\n return;\n}" primitive_type (function_declarator "cleanup_all(void)" identifier (parameter_list "(void)" ( (parame... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n return;\n}\n\n" comment (function_definition "void function_1(void)\n\n{\n return;\n}" primitive_type (function_declarator "function_1(void)" identifier (parameter_list "(void)" ( (parameter... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (return_statement)))) |
659_psftp_and_psftp_strip.c | ssh2_send_ttymode | FUN_0013ed37 | ssh2_send_ttymode |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_send_ttymode(void *data,ssh_ttymode *mode,char *val)
{
char *val_local;
ssh_ttymode *mode_local;
void *data_local;
uint arg;
Packet *pktout;
arg = 0;
if (mode->type == ADDRTYPE_UNSPEC) {
arg = ssh_tty_parse_specch... |
void FUN_0013ed37(undefined8 param_1,long param_2,undefined8 param_3)
{
undefined4 local_14;
local_14 = 0;
if (*(int *)(param_2 + 0xc) == 0) {
local_14 = FUN_001263eb(param_3);
}
else if (*(int *)(param_2 + 0xc) == 1) {
local_14 = FUN_0012646a(param_3);
}
FUN_0012adec(param_1,*(uint *)(param_... | (translation_unit "void FUN_0013ed37(undefined8 param_1,long param_2,undefined8 param_3)\n\n{\n undefined4 local_14;\n \n local_14 = 0;\n if (*(int *)(param_2 + 0xc) == 0) {\n local_14 = FUN_001263eb(param_3);\n }\n else if (*(int *)(param_2 + 0xc) == 1) {\n local_14 = FUN_0012646a(param_3);\n }\n FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0xc],0x0
MOV RAX,qword ptr [RBP + -0x20]
MOV EAX,dword ptr [RAX + 0xc]
TEST EAX,EAX
JZ 0x0013ed6c
CMP EAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *data,type_1 *mode,char *val)
{
char *val_local;
type_1 *mode_local;
void *data_local;
type_2 arg;
type_3 *pktout;
arg = 0;
if (mode->type == var_1) {
arg = var_2(val);
}
else if (mode->type == var_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_send_ttymode(void *data,ssh_ttymode *mode,char *val)\n\n{\n char *val_local;\n ssh_ttymode *mode_local;\n void *data_local;\n uint arg;\n Packet *pktout;\n \n arg = 0;\n if (mode->type == ADDRTYPE_UNSPEC) {\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *data,type_1 *mode,char *val)\n\n{\n char *val_local;\n type_1 *mode_local;\n void *data_local;\n type_2 arg;\n type_3 *pktout;\n \n arg = 0;\n if (mode->type == var_1) {\n arg = var_2(val);\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
534_psftp_and_psftp_strip.c | ssh2_mpint_fmt | FUN_0012b0bd | ssh2_mpint_fmt |
uchar * ssh2_mpint_fmt(Bignum b,int *len)
{
int iVar1;
int iVar2;
uchar *__dest;
int *len_local;
Bignum b_local;
int i;
int n;
uchar *p;
iVar1 = bignum_bitcount((Bignum_conflict)b);
iVar2 = iVar1 + 7;
if (iVar1 + 7 < 0) {
iVar2 = iVar1 + 0xe;
}
iVar2 = iVar2 >> 3;
__dest = (uchar *)... |
undefined * FUN_0012b0bd(undefined8 param_1,int *param_2)
{
undefined uVar1;
int iVar2;
int iVar3;
undefined *__dest;
int local_18;
iVar2 = FUN_001550d7(param_1);
iVar3 = iVar2 + 7;
if (iVar2 + 7 < 0) {
iVar3 = iVar2 + 0xe;
}
iVar3 = iVar3 >> 3;
__dest = (undefined *)FUN_00110d9a((long)(i... | (translation_unit "undefined * FUN_0012b0bd(undefined8 param_1,int *param_2)\n\n{\n undefined uVar1;\n int iVar2;\n int iVar3;\n undefined *__dest;\n int local_18;\n \n iVar2 = FUN_001550d7(param_1);\n iVar3 = iVar2 + 7;\n if (iVar2 + 7 < 0) {\n iVar3 = iVar2 + 0xe;\n }\n iVar3 = iVar3 >> 3;\n __dest = (... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x001550d7
ADD EAX,0x7
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x3
MOV dword ptr [RBP + -0xc],EAX
MOV EAX,dword ptr [RBP + -0xc]
ADD EAX,0x1
CDQE
MOV ESI,0x1
... |
type_1 * function_1(type_2 b,int *len)
{
int var_2;
int var_3;
type_1 *var_8;
int *len_local;
type_2 b_local;
int var_5;
int n;
type_1 *p;
var_2 = var_1((type_3)b);
var_3 = var_2 + 7;
if (var_2 + 7 < 0) {
var_3 = var_2 + 0xe;
}
var_3 = var_3 >> 3;
var_8 = (type_1 *)var_4((long)(var_... | (translation_unit "uchar * ssh2_mpint_fmt(Bignum b,int *len)\n\n{\n int iVar1;\n int iVar2;\n uchar *__dest;\n int *len_local;\n Bignum b_local;\n int i;\n int n;\n uchar *p;\n \n iVar1 = bignum_bitcount((Bignum_conflict)b);\n iVar2 = iVar1 + 7;\n if (iVar1 + 7 < 0) {\n iVar2 = iVar1 + 0xe;\n }\n iVar2... | (translation_unit "type_1 * function_1(type_2 b,int *len)\n\n{\n int var_2;\n int var_3;\n type_1 *var_8;\n int *len_local;\n type_2 b_local;\n int var_5;\n int n;\n type_1 *p;\n \n var_2 = var_1((type_3)b);\n var_3 = var_2 + 7;\n if (var_2 + 7 < 0) {\n var_3 = var_2 + 0xe;\n }\n var_3 = var_3 >> 3;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer... |
351_psftp_and_psftp_strip.c | sftp_cmd_mv | FUN_0011ac00 | sftp_cmd_mv |
int sftp_cmd_mv(sftp_command *cmd)
{
long lVar1;
int iVar2;
uint uVar3;
char *pcVar4;
long in_FS_OFFSET;
sftp_command *cmd_local;
int i;
int ret;
sftp_context_mv *ctx;
sftp_context_mv actx;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (back == (Backend *)0x0) {
not_connected();
ret = ... |
uint FUN_0011ac00(long *param_1)
{
int iVar1;
uint uVar2;
undefined8 uVar3;
long in_FS_OFFSET;
int local_38;
uint local_34;
long local_28;
int local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (DAT_001b8cf8 == 0) {
FUN_00117801();
local_34 = 0;
goto LAB_0011ad... | (translation_unit "uint FUN_0011ac00(long *param_1)\n\n{\n int iVar1;\n uint uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n int local_38;\n uint local_34;\n long local_28;\n int local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (DAT_001b8cf8 == 0) {\n FUN_00117801();\n ... | 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
LEA RAX,[RBP + -0x20]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [0x001b8cf8]
TEST RAX,RAX
JNZ 0x0011ac3e
CALL 0x00117801
MOV EAX,0x0
JMP 0x0011ad96
MOV RAX,qword ptr [RBP + -0... |
int function_1(type_1 *cmd)
{
long var_16;
int var_10;
type_2 var_15;
char *pcVar4;
long var_1;
type_1 *cmd_local;
int var_12;
int var_14;
type_3 *ctx;
type_3 actx;
var_16 = *(long *)(var_1 + 0x28);
if (var_2 == (type_4 *)0x0) {
var_3();
var_14 = 0;
goto LAB_0011ad96;
}
if (... | (translation_unit "int sftp_cmd_mv(sftp_command *cmd)\n\n{\n long lVar1;\n int iVar2;\n uint uVar3;\n char *pcVar4;\n long in_FS_OFFSET;\n sftp_command *cmd_local;\n int i;\n int ret;\n sftp_context_mv *ctx;\n sftp_context_mv actx;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (back == (Backend *)0x0) ... | (translation_unit "int function_1(type_1 *cmd)\n\n{\n long var_16;\n int var_10;\n type_2 var_15;\n char *pcVar4;\n long var_1;\n type_1 *cmd_local;\n int var_12;\n int var_14;\n type_3 *ctx;\n type_3 actx;\n \n var_16 = *(long *)(var_1 + 0x28);\n if (var_2 == (type_4 *)0x0) {\n var_3();\n var_14 = 0... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifi... |
527_psftp_and_psftp_strip.c | ssh2_pkt_addbool | FUN_0012ae18 | ssh2_pkt_addbool |
void ssh2_pkt_addbool(Packet *pkt,uchar value)
{
uchar value_local;
Packet *pkt_local;
value_local = value;
pkt_local = pkt;
ssh_pkt_adddata(pkt,&value_local,1);
return;
}
|
void FUN_0012ae18(undefined8 param_1,undefined param_2)
{
undefined local_14 [4];
undefined8 local_10;
local_14[0] = param_2;
local_10 = param_1;
FUN_0012ad74(param_1,local_14,1);
return;
}
| (translation_unit "void FUN_0012ae18(undefined8 param_1,undefined param_2)\n\n{\n undefined local_14 [4];\n undefined8 local_10;\n \n local_14[0] = param_2;\n local_10 = param_1;\n FUN_0012ad74(param_1,local_14,1);\n return;\n}\n\n" (function_definition "void FUN_0012ae18(undefined8 param_1,undefined param_2)\n\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,ESI
MOV byte ptr [RBP + -0xc],AL
LEA RCX,[RBP + -0xc]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x1
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0012ad74
NOP
LEAVE
RET |
void function_1(type_1 *pkt,type_2 value)
{
type_2 value_local;
type_1 *pkt_local;
value_local = value;
pkt_local = pkt;
var_1(pkt,&value_local,1);
return;
}
| (translation_unit "void ssh2_pkt_addbool(Packet *pkt,uchar value)\n\n{\n uchar value_local;\n Packet *pkt_local;\n \n value_local = value;\n pkt_local = pkt;\n ssh_pkt_adddata(pkt,&value_local,1);\n return;\n}\n\n" (function_definition "void ssh2_pkt_addbool(Packet *pkt,uchar value)\n\n{\n uchar value_local;\n ... | (translation_unit "void function_1(type_1 *pkt,type_2 value)\n\n{\n type_2 value_local;\n type_1 *pkt_local;\n \n value_local = value;\n pkt_local = pkt;\n var_1(pkt,&value_local,1);\n return;\n}\n\n" (function_definition "void function_1(type_1 *pkt,type_2 value)\n\n{\n type_2 value_local;\n type_1 *pkt_local... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
234_psftp_and_psftp_strip.c | dupprintf | FUN_001101da | dupprintf |
char * dupprintf(char *fmt,...)
{
long lVar1;
char in_AL;
char *pcVar2;
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_... |
undefined8
FUN_001101da(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_13,undef... | (translation_unit "undefined8\nFUN_001101da(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 und... | 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 0x00110233
MOVAPS xmmword ptr [RBP + -0x80],XMM0
MOVAPS xmmword ptr [RBP + -0x70],... |
char * function_1(char *fmt,...)
{
long var_4;
char var_1;
char *pcVar2;
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... | (translation_unit "char * dupprintf(char *fmt,...)\n\n{\n long lVar1;\n char in_AL;\n char *pcVar2;\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 undefi... | (translation_unit "char * function_1(char *fmt,...)\n\n{\n long var_4;\n char var_1;\n char *pcVar2;\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 ... | (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))) (variadic_parameter)))) body: (comp... |
383_psftp_and_psftp_strip.c | get_remote_username | FUN_0011d8fa | get_remote_username |
char * get_remote_username(Conf *conf)
{
int iVar1;
char *pcVar2;
Conf *conf_local;
char *username;
pcVar2 = conf_get_str(conf,0x34);
if (*pcVar2 == '\0') {
iVar1 = conf_get_int(conf,0x35);
if (iVar1 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = get_username();
}
}
... |
undefined8 FUN_0011d8fa(undefined8 param_1)
{
int iVar1;
char *pcVar2;
undefined8 uVar3;
pcVar2 = (char *)FUN_0010bd08(param_1,0x34);
if (*pcVar2 == '\0') {
iVar1 = FUN_0010bb08(param_1,0x35);
if (iVar1 == 0) {
uVar3 = 0;
}
else {
uVar3 = FUN_00185ec4();
}
}
else {
... | (translation_unit "undefined8 FUN_0011d8fa(undefined8 param_1)\n\n{\n int iVar1;\n char *pcVar2;\n undefined8 uVar3;\n \n pcVar2 = (char *)FUN_0010bd08(param_1,0x34);\n if (*pcVar2 == '\0') {\n iVar1 = FUN_0010bb08(param_1,0x35);\n if (iVar1 == 0) {\n uVar3 = 0;\n }\n else {\n uVar3 = FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x34
MOV RDI,RAX
CALL 0x0010bd08
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
JZ 0x0011d934
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010fd06
JMP 0x0011... |
char * function_1(type_1 *conf)
{
int var_3;
char *pcVar2;
type_1 *conf_local;
char *username;
pcVar2 = var_1(conf,0x34);
if (*pcVar2 == '\0') {
var_3 = var_2(conf,0x35);
if (var_3 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = var_4();
}
}
else {
pcVar2 = var_5... | (translation_unit "char * get_remote_username(Conf *conf)\n\n{\n int iVar1;\n char *pcVar2;\n Conf *conf_local;\n char *username;\n \n pcVar2 = conf_get_str(conf,0x34);\n if (*pcVar2 == '\0') {\n iVar1 = conf_get_int(conf,0x35);\n if (iVar1 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcV... | (translation_unit "char * function_1(type_1 *conf)\n\n{\n int var_3;\n char *pcVar2;\n type_1 *conf_local;\n char *username;\n \n pcVar2 = var_1(conf,0x34);\n if (*pcVar2 == '\0') {\n var_3 = var_2(conf,0x35);\n if (var_3 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcVar2 = var_4();\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
702_psftp_and_psftp_strip.c | aes_encrypt_nb_8 | FUN_001496ba | aes_encrypt_nb_8 |
void aes_encrypt_nb_8(AESContext *ctx,word32 *block)
{
uint *puVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
byte bVar11;
byte bVar12;
byte bVar13;
byte bVar14;
byte bVar15;
byte bVar16;
byte bVar17;
byte bVar18;
... |
void FUN_001496ba(uint *param_1,uint *param_2)
{
uint *puVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
byte bVar11;
byte bVar12;
byte bVar13;
byte bVar14;
byte bVar15;
byte bVar16;
byte bVar17;
byte bVar18;
byte... | (translation_unit "void FUN_001496ba(uint *param_1,uint *param_2)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n byte bVar14;\n byte bVar15;\n byte bVar16;\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x38],RAX
MOV dword ptr [RBP + -0x3c],0x0
JMP 0x00149fc0
MOV RAX,qword ptr [RBP + -0x38]
LEA RDX,... |
void function_1(type_1 *ctx,type_2 *block)
{
type_3 *puVar1;
type_4 bVar2;
type_4 bVar3;
type_4 bVar4;
type_4 bVar5;
type_4 bVar6;
type_4 bVar7;
type_4 bVar8;
type_4 bVar9;
type_4 bVar10;
type_4 bVar11;
type_4 bVar12;
type_4 bVar13;
type_4 bVar14;
type_4 bVar15;
type_4 bVar16;
type_4... | (translation_unit "void aes_encrypt_nb_8(AESContext *ctx,word32 *block)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n byte bVar14;\n byte bVar15;\n byte bV... | (translation_unit "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_3 *puVar1;\n type_4 bVar2;\n type_4 bVar3;\n type_4 bVar4;\n type_4 bVar5;\n type_4 bVar6;\n type_4 bVar7;\n type_4 bVar8;\n type_4 bVar9;\n type_4 bVar10;\n type_4 bVar11;\n type_4 bVar12;\n type_4 bVar13;\n type_4 bVar14;\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... |
1181_pterm_and_pterm_strip.c | about_menuitem | FUN_00161ce0 | about_menuitem |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void about_menuitem(GtkMenuItem *item,gpointer data)
{
gpointer data_local;
GtkMenuItem *item_local;
gui_data *inst;
/* WARNING: Load size is inaccurate */
about_box(*data);
return;
}
|
void FUN_00161ce0(undefined8 param_1,undefined8 *param_2)
{
FUN_0014f34a(*param_2);
return;
}
| (translation_unit "void FUN_00161ce0(undefined8 param_1,undefined8 *param_2)\n\n{\n FUN_0014f34a(*param_2);\n return;\n}\n\n" (function_definition "void FUN_00161ce0(undefined8 param_1,undefined8 *param_2)\n\n{\n FUN_0014f34a(*param_2);\n return;\n}" primitive_type (function_declarator "FUN_00161ce0(undefined8 para... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x0014f34a
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *item,type_2 data)
{
type_2 data_local;
type_1 *item_local;
type_3 *inst;
/* WARNING: Load size is inaccurate */
var_1(*data);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid about_menuitem(GtkMenuItem *item,gpointer data)\n\n{\n gpointer data_local;\n GtkMenuItem *item_local;\n gui_data *inst;\n \n /* WARNING: Load size is inaccurate */\n about_box(*data);\n return;\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *item,type_2 data)\n\n{\n type_2 data_local;\n type_1 *item_local;\n type_3 *inst;\n \n /* WARNING: Load size is inaccurate */\n var_1(*data);\n return;\n}\n\n" comment (functio... | (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... |
212_psftp_and_psftp_strip.c | log_init | FUN_0010f00c | log_init |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * log_init(void *frontend,Conf *conf)
{
int iVar1;
undefined8 *puVar2;
Conf *pCVar3;
Conf *conf_local;
void *frontend_local;
LogContext *ctx;
puVar2 = (undefined8 *)safemalloc(1,0x48);
*puVar2 = 0;
*(undefined4 *)(puVa... |
undefined8 * FUN_0010f00c(undefined8 param_1,undefined8 param_2)
{
undefined4 uVar1;
undefined8 *puVar2;
undefined8 uVar3;
puVar2 = (undefined8 *)FUN_00110d9a(1,0x48);
*puVar2 = 0;
*(undefined4 *)(puVar2 + 1) = 0;
puVar2[6] = param_1;
uVar3 = FUN_0010bada(param_2);
puVar2[7] = uVar3;
uVar1 = FU... | (translation_unit "undefined8 * FUN_0010f00c(undefined8 param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n undefined8 *puVar2;\n undefined8 uVar3;\n \n puVar2 = (undefined8 *)FUN_00110d9a(1,0x48);\n *puVar2 = 0;\n *(undefined4 *)(puVar2 + 1) = 0;\n puVar2[6] = param_1;\n uVar3 = FUN_0010bada(param_2);\n p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV ESI,0x48
MOV EDI,0x1
CALL 0x00110d9a
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],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * function_1(void *frontend,type_1 *conf)
{
int iVar1;
type_2 *var_2;
type_1 *pCVar3;
type_1 *conf_local;
void *frontend_local;
type_3 *ctx;
var_2 = (type_2 *)var_1(1,0x48);
*var_2 = 0;
*(type_4 *)(var_2 + 1) = 0;
va... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * log_init(void *frontend,Conf *conf)\n\n{\n int iVar1;\n undefined8 *puVar2;\n Conf *pCVar3;\n Conf *conf_local;\n void *frontend_local;\n LogContext *ctx;\n \n puVar2 = (undefined8 *)safemalloc(1,0x48);\n *puV... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(void *frontend,type_1 *conf)\n\n{\n int iVar1;\n type_2 *var_2;\n type_1 *pCVar3;\n type_1 *conf_local;\n void *frontend_local;\n type_3 *ctx;\n \n var_2 = (type_2 *)var_1(1,0x48);\n *var_2 = 0;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ty... |
222_psftp_and_psftp_strip.c | host_strduptrim | FUN_0010f90d | host_strduptrim |
char * host_strduptrim(char *s)
{
ushort **ppuVar1;
char *pcVar2;
char *s_local;
int colons;
char *p;
if (*s == '[') {
p = s + 1;
colons = 0;
do {
if ((*p == '\0') || (*p == ']')) goto LAB_0010f991;
ppuVar1 = __ctype_b_loc();
if (((*ppuVar1)[(byte)*p] & 0x1000) == 0) {
... |
void FUN_0010f90d(char *param_1)
{
ushort **ppuVar1;
int local_14;
byte *local_10;
if (*param_1 == '[') {
local_10 = (byte *)(param_1 + 1);
local_14 = 0;
do {
if ((*local_10 == 0) || (*local_10 == 0x5d)) goto LAB_0010f991;
ppuVar1 = __ctype_b_loc();
if (((*ppuVar1)[*local_10] ... | (translation_unit "void FUN_0010f90d(char *param_1)\n\n{\n ushort **ppuVar1;\n int local_14;\n byte *local_10;\n \n if (*param_1 == '[') {\n local_10 = (byte *)(param_1 + 1);\n local_14 = 0;\n do {\n if ((*local_10 == 0) || (*local_10 == 0x5d)) goto LAB_0010f991;\n ppuVar1 = __ctype_b_loc();\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,byte ptr [RAX]
CMP AL,0x5b
JNZ 0x0010f9e2
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,0x1
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0xc],0x0
JMP 0x0010f978
CALL 0x00108850
MOV RDX,qword ptr [RAX]
MOV RAX,q... |
char * function_1(char *var_1)
{
type_1 **ppuVar1;
char *pcVar2;
char *s_local;
int var_4;
char *var_3;
if (*var_1 == '[') {
var_3 = var_1 + 1;
var_4 = 0;
do {
if ((*var_3 == '\0') || (*var_3 == ']')) goto LAB_0010f991;
ppuVar1 = var_2();
if (((*ppuVar1)[(byte)*var_3] & 0x... | (translation_unit "char * host_strduptrim(char *s)\n\n{\n ushort **ppuVar1;\n char *pcVar2;\n char *s_local;\n int colons;\n char *p;\n \n if (*s == '[') {\n p = s + 1;\n colons = 0;\n do {\n if ((*p == '\0') || (*p == ']')) goto LAB_0010f991;\n ppuVar1 = __ctype_b_loc();\n if (((*ppuVar1... | (translation_unit "char * function_1(char *var_1)\n\n{\n type_1 **ppuVar1;\n char *pcVar2;\n char *s_local;\n int var_4;\n char *var_3;\n \n if (*var_1 == '[') {\n var_3 = var_1 + 1;\n var_4 = 0;\n do {\n if ((*var_3 == '\0') || (*var_3 == ']')) goto LAB_0010f991;\n ppuVar1 = var_2();\n i... | (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... |
799_psftp_and_psftp_strip.c | bigmod | FUN_001563b6 | bigmod |
Bignum_conflict bigmod(Bignum_conflict a,Bignum_conflict b)
{
Bignum_conflict result;
Bignum_conflict b_local;
Bignum_conflict a_local;
Bignum_conflict r;
result = newbn((int)*b);
bigdivmod(a,b,result,(Bignum_conflict)0x0);
while ((1 < *result && (result[*result] == 0))) {
*result = *result - 1;
... |
ulong * FUN_001563b6(undefined8 param_1,ulong *param_2)
{
ulong *puVar1;
puVar1 = (ulong *)FUN_00151193(*param_2 & 0xffffffff);
FUN_001547fe(param_1,param_2,puVar1,0);
while ((1 < *puVar1 && (puVar1[*puVar1] == 0))) {
*puVar1 = *puVar1 - 1;
}
return puVar1;
}
| (translation_unit "ulong * FUN_001563b6(undefined8 param_1,ulong *param_2)\n\n{\n ulong *puVar1;\n \n puVar1 = (ulong *)FUN_00151193(*param_2 & 0xffffffff);\n FUN_001547fe(param_1,param_2,puVar1,0);\n while ((1 < *puVar1 && (puVar1[*puVar1] == 0))) {\n *puVar1 = *puVar1 - 1;\n }\n return puVar1;\n}\n\n" (func... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RAX]
MOV EDI,EAX
CALL 0x00151193
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV RSI,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV ECX,0x0
... |
type_1 function_1(type_1 a,type_1 b)
{
type_1 result;
type_1 b_local;
type_1 a_local;
type_1 r;
result = var_1((int)*b);
var_2(a,b,result,(type_1)0x0);
while ((1 < *result && (result[*result] == 0))) {
*result = *result - 1;
}
return result;
}
| (translation_unit "Bignum_conflict bigmod(Bignum_conflict a,Bignum_conflict b)\n\n{\n Bignum_conflict result;\n Bignum_conflict b_local;\n Bignum_conflict a_local;\n Bignum_conflict r;\n \n result = newbn((int)*b);\n bigdivmod(a,b,result,(Bignum_conflict)0x0);\n while ((1 < *result && (result[*result] == 0))) {... | (translation_unit "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 result;\n type_1 b_local;\n type_1 a_local;\n type_1 r;\n \n result = var_1((int)*b);\n var_2(a,b,result,(type_1)0x0);\n while ((1 < *result && (result[*result] == 0))) {\n *result = *result - 1;\n }\n return result;\n}\n\n" (function_de... | (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... |
606_psftp_and_psftp_strip.c | ssh_channel_data | FUN_0013560d | ssh_channel_data |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ssh_channel_data(ssh_channel *c,int is_stderr,char *data,int length)
{
int iVar1;
char *data_local;
int length_local;
int is_stderr_local;
ssh_channel *c_local;
iVar1 = c->type;
if (iVar1 == 1) {
iVar1 = x11_send((c->u)... |
undefined8 FUN_0013560d(long *param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4)
{
int iVar1;
undefined8 uVar2;
iVar1 = *(int *)(param_1 + 2);
if (iVar1 == 1) {
uVar2 = FUN_001915c0(param_1[0xe],param_3,param_4);
return uVar2;
}
if (iVar1 < 2) {
if (iVar1 == 0) {
uVar2 ... | (translation_unit "undefined8 FUN_0013560d(long *param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n iVar1 = *(int *)(param_1 + 2);\n if (iVar1 == 1) {\n uVar2 = FUN_001915c0(param_1[0xe],param_3,param_4);\n return uVar2;\n }\n if (iVar1 < 2) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x10],ECX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1
JZ 0x00135668
CMP EAX,0x1
JG 0x0013563a
TEST EAX,EAX
JZ 0x00135646
JMP 0x001356b8
CMP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *c,int is_stderr,char *data,int length)
{
int var_1;
char *data_local;
int length_local;
int is_stderr_local;
type_1 *c_local;
var_1 = c->type;
if (var_1 == 1) {
var_1 = var_2((c->u).x11.xconn,data,len... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_channel_data(ssh_channel *c,int is_stderr,char *data,int length)\n\n{\n int iVar1;\n char *data_local;\n int length_local;\n int is_stderr_local;\n ssh_channel *c_local;\n \n iVar1 = c->type;\n if (iVar1 == 1)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *c,int is_stderr,char *data,int length)\n\n{\n int var_1;\n char *data_local;\n int length_local;\n int is_stderr_local;\n type_1 *c_local;\n \n var_1 = c->type;\n if (var_1 == 1) {\n var_1 = ... | (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... |
805_psftp_and_psftp_strip.c | chacha20_iv | FUN_001574ce | chacha20_iv |
void chacha20_iv(chacha20 *ctx,uchar *iv)
{
uchar *iv_local;
chacha20 *ctx_local;
ctx->state[0xc] = 0;
ctx->state[0xd] = 0;
ctx->state[0xe] = (uint)*iv << 0x18 | (uint)iv[1] << 0x10 | (uint)iv[2] << 8 | (uint)iv[3];
ctx->state[0xf] = (uint)iv[4] << 0x18 | (uint)iv[5] << 0x10 | (uint)iv[6] << 8 | (uint)... |
void FUN_001574ce(long param_1,byte *param_2)
{
*(undefined4 *)(param_1 + 0x30) = 0;
*(undefined4 *)(param_1 + 0x34) = 0;
*(uint *)(param_1 + 0x38) =
(uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 | (uint)param_2[3];
*(uint *)(param_1 + 0x3c) =
(uint)param_2[4] << 0x18... | (translation_unit "void FUN_001574ce(long param_1,byte *param_2)\n\n{\n *(undefined4 *)(param_1 + 0x30) = 0;\n *(undefined4 *)(param_1 + 0x34) = 0;\n *(uint *)(param_1 + 0x38) =\n (uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 | (uint)param_2[3];\n *(uint *)(param_1 + 0x3c) =\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x30],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x34],0x0
MOV RAX,qword ptr [RBP + -0x10]
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
SHL EAX,0x18
MOV EDX,EAX
MOV RAX,qword ptr... |
void function_1(type_1 *ctx,type_2 *var_1)
{
type_2 *iv_local;
type_1 *ctx_local;
ctx->state[0xc] = 0;
ctx->state[0xd] = 0;
ctx->state[0xe] = (type_3)*var_1 << 0x18 | (type_3)var_1[1] << 0x10 | (type_3)var_1[2] << 8 | (type_3)var_1[3];
ctx->state[0xf] = (type_3)var_1[4] << 0x18 | (type_3)var_1[5] << 0x... | (translation_unit "void chacha20_iv(chacha20 *ctx,uchar *iv)\n\n{\n uchar *iv_local;\n chacha20 *ctx_local;\n \n ctx->state[0xc] = 0;\n ctx->state[0xd] = 0;\n ctx->state[0xe] = (uint)*iv << 0x18 | (uint)iv[1] << 0x10 | (uint)iv[2] << 8 | (uint)iv[3];\n ctx->state[0xf] = (uint)iv[4] << 0x18 | (uint)iv[5] << 0x10 ... | (translation_unit "void function_1(type_1 *ctx,type_2 *var_1)\n\n{\n type_2 *iv_local;\n type_1 *ctx_local;\n \n ctx->state[0xc] = 0;\n ctx->state[0xd] = 0;\n ctx->state[0xe] = (type_3)*var_1 << 0x18 | (type_3)var_1[1] << 0x10 | (type_3)var_1[2] << 8 | (type_3)var_1[3];\n ctx->state[0xf] = (type_3)var_1[4] << 0x... | (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... |
686_psftp_and_psftp_strip.c | new_sock_channel | FUN_00147a4b | new_sock_channel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * new_sock_channel(void *handle,PortForwarding *pf)
{
ssh_channel *c_00;
PortForwarding *pf_local;
void *handle_local;
Ssh_conflict ssh;
ssh_channel *c;
c_00 = (ssh_channel *)safemalloc(1,0x90);
c_00->ssh = (Ssh_conflict)h... |
undefined8 * FUN_00147a4b(undefined8 param_1,undefined8 param_2)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)FUN_00110d9a(1,0x90);
*puVar1 = param_1;
FUN_0013c397(puVar1);
*(undefined4 *)((long)puVar1 + 0x14) = 1;
*(undefined4 *)(puVar1 + 2) = 3;
puVar1[0xe] = param_2;
return puVar1;
}
| (translation_unit "undefined8 * FUN_00147a4b(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_00110d9a(1,0x90);\n *puVar1 = param_1;\n FUN_0013c397(puVar1);\n *(undefined4 *)((long)puVar1 + 0x14) = 1;\n *(undefined4 *)(puVar1 + 2) = 3;\n puVar1[0xe] = param_2;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV ESI,0x90
MOV EDI,0x1
CALL 0x00110d9a
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x10]
MOV qword ptr [RAX],RDX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * function_1(void *handle,type_1 *pf)
{
type_2 *c_00;
type_1 *pf_local;
void *handle_local;
type_3 ssh;
type_2 *c;
c_00 = (type_2 *)var_1(1,0x90);
c_00->ssh = (type_3)handle;
var_2(c_00);
c_00->halfopen = 1;
c_00->ty... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * new_sock_channel(void *handle,PortForwarding *pf)\n\n{\n ssh_channel *c_00;\n PortForwarding *pf_local;\n void *handle_local;\n Ssh_conflict ssh;\n ssh_channel *c;\n \n c_00 = (ssh_channel *)safemalloc(1,0x90);\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(void *handle,type_1 *pf)\n\n{\n type_2 *c_00;\n type_1 *pf_local;\n void *handle_local;\n type_3 ssh;\n type_2 *c;\n \n c_00 = (type_2 *)var_1(1,0x90);\n c_00->ssh = (type_3)handle;\n var_2(c_00);\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ty... |
513_psftp_and_psftp_strip.c | ssh2_bare_connection_rdpkt | FUN_00129d50 | ssh2_bare_connection_rdpkt |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Packet * ssh2_bare_connection_rdpkt(Ssh_conflict ssh,uchar **data,int *datalen)
{
ulong uVar1;
int iVar2;
int *piVar3;
char *text;
Packet *pPVar4;
uchar *puVar5;
int *datalen_local;
uchar **data_local;
Ssh_conflict ssh_local;
... |
undefined8 FUN_00129d50(long param_1,long *param_2,int *param_3)
{
byte *pbVar1;
long lVar2;
undefined *puVar3;
int iVar4;
undefined4 *puVar5;
undefined8 uVar6;
puVar5 = (undefined4 *)(param_1 + 0x278);
iVar4 = *(int *)(param_1 + 0x278);
if (iVar4 == 0x78e) goto LAB_00129dc7;
if (iVar4 == 0x7a5... | (translation_unit "undefined8 FUN_00129d50(long param_1,long *param_2,int *param_3)\n\n{\n byte *pbVar1;\n long lVar2;\n undefined *puVar3;\n int iVar4;\n undefined4 *puVar5;\n undefined8 uVar6;\n \n puVar5 = (undefined4 *)(param_1 + 0x278);\n iVar4 = *(int *)(param_1 + 0x278);\n if (iVar4 == 0x78e) goto LAB_... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x38
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr [RBP + -0x28]
ADD RAX,0x338
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x28]
ADD RAX,0x278
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 ssh,type_3 **data,int *datalen)
{
type_4 var_8;
int var_1;
int *piVar3;
char *text;
type_1 *pPVar4;
type_3 *var_2;
int *datalen_local;
type_3 **data_local;
type_2 ssh_local;
type_5 *st;
int *crLi... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPacket * ssh2_bare_connection_rdpkt(Ssh_conflict ssh,uchar **data,int *datalen)\n\n{\n ulong uVar1;\n int iVar2;\n int *piVar3;\n char *text;\n Packet *pPVar4;\n uchar *puVar5;\n int *datalen_local;\n uchar **data_loc... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 ssh,type_3 **data,int *datalen)\n\n{\n type_4 var_8;\n int var_1;\n int *piVar3;\n char *text;\n type_1 *pPVar4;\n type_3 *var_2;\n int *datalen_local;\n type_3 **data_local;\n type_2 ssh_l... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarato... |
1243_pterm_and_pterm_strip.c | new_pty_struct | FUN_00165c0d | new_pty_struct |
/* WARNING: Unknown calling convention */
Pty new_pty_struct(void)
{
Pty ppVar1;
Pty pty;
ppVar1 = (Pty)safemalloc(1,0x1048);
ppVar1->conf = (Conf *)0x0;
bufchain_init(&ppVar1->output_data);
return ppVar1;
}
|
undefined8 * FUN_00165c0d(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)FUN_001282f0(1,0x1048);
*puVar1 = 0;
FUN_00127e2c(puVar1 + 0x206);
return puVar1;
}
| (translation_unit "undefined8 * FUN_00165c0d(void)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_001282f0(1,0x1048);\n *puVar1 = 0;\n FUN_00127e2c(puVar1 + 0x206);\n return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_00165c0d(void)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x1048
MOV EDI,0x1
CALL 0x001282f0
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,0x1030
MOV RDI,RAX
CALL 0x00127e2c
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
/* WARNING: Unknown calling convention */
type_1 function_1(void)
{
type_1 ppVar1;
type_1 pty;
ppVar1 = (type_1)var_1(1,0x1048);
ppVar1->conf = (type_2 *)0x0;
var_2(&ppVar1->output_data);
return ppVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nPty new_pty_struct(void)\n\n{\n Pty ppVar1;\n Pty pty;\n \n ppVar1 = (Pty)safemalloc(1,0x1048);\n ppVar1->conf = (Conf *)0x0;\n bufchain_init(&ppVar1->output_data);\n return ppVar1;\n}\n\n" comment (function_definition "Pty new_pty_struct(void)\n\n{... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 function_1(void)\n\n{\n type_1 ppVar1;\n type_1 pty;\n \n ppVar1 = (type_1)var_1(1,0x1048);\n ppVar1->conf = (type_2 *)0x0;\n var_2(&ppVar1->output_data);\n return ppVar1;\n}\n\n" comment (function_definition "type_1 function_1(void)\n\n{\n ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (typ... |
1257_pterm_and_pterm_strip.c | pty_get_specials | FUN_001672f6 | pty_get_specials |
telnet_special * pty_get_specials(void *handle)
{
void *handle_local;
return (telnet_special *)0x0;
}
|
undefined8 FUN_001672f6(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_001672f6(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_001672f6(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_001672f6(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,0x0
POP RBP
RET |
type_1 * function_1(void *handle)
{
void *handle_local;
return (type_1 *)0x0;
}
| (translation_unit "telnet_special * pty_get_specials(void *handle)\n\n{\n void *handle_local;\n \n return (telnet_special *)0x0;\n}\n\n" (function_definition "telnet_special * pty_get_specials(void *handle)\n\n{\n void *handle_local;\n \n return (telnet_special *)0x0;\n}" type_identifier (pointer_declarator "* pt... | (translation_unit "type_1 * function_1(void *handle)\n\n{\n void *handle_local;\n \n return (type_1 *)0x0;\n}\n\n" (function_definition "type_1 * function_1(void *handle)\n\n{\n void *handle_local;\n \n return (type_1 *)0x0;\n}" type_identifier (pointer_declarator "* function_1(void *handle)" * (function_declarat... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
265_psftp_and_psftp_strip.c | buildinfo | FUN_001116ef | buildinfo |
char * buildinfo(char *newline)
{
strbuf *buf_00;
char *pcVar1;
char *newline_local;
strbuf *buf;
char *gtk_buildinfo;
buf_00 = strbuf_new();
if (buildinfo_gtk_relevant == 0) {
pcVar1 = "Unix";
}
else {
pcVar1 = "Unix (GTK + X11)";
}
strbuf_catf(buf_00,"Build platform: %d-bit %s",0x40... |
void FUN_001116ef(undefined8 param_1)
{
undefined8 uVar1;
char *pcVar2;
long lVar3;
uVar1 = FUN_001102b2();
if (DAT_001a5c60 == 0) {
pcVar2 = "Unix";
}
else {
pcVar2 = "Unix (GTK + X11)";
}
FUN_001103fc(uVar1,"Build platform: %d-bit %s",0x40,pcVar2);
FUN_001103fc(uVar1,"%sCompiler: gcc ... | (translation_unit "void FUN_001116ef(undefined8 param_1)\n\n{\n undefined8 uVar1;\n char *pcVar2;\n long lVar3;\n \n uVar1 = FUN_001102b2();\n if (DAT_001a5c60 == 0) {\n pcVar2 = "Unix";\n }\n else {\n pcVar2 = "Unix (GTK + X11)";\n }\n FUN_001103fc(uVar1,"Build platform: %d-bit %s",0x40,pcVar2);\n FUN... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CALL 0x001102b2
MOV qword ptr [RBP + -0x10],RAX
MOV EAX,dword ptr [0x001a5c60]
TEST EAX,EAX
JZ 0x00111717
LEA RAX,[0x193d32]
JMP 0x0011171e
LEA RAX,[0x193d43]
MOV RDI,qword ptr [RBP + -0x10]
MOV RCX,RAX
MOV EDX,0x40
LEA RSI,[0x193d48]
MOV EAX,0x0
CALL 0x... |
char * function_1(char *newline)
{
type_1 *buf_00;
char *var_5;
char *newline_local;
type_1 *buf;
char *gtk_buildinfo;
buf_00 = var_1();
if (var_2 == 0) {
var_5 = "Unix";
}
else {
var_5 = "Unix (GTK + X11)";
}
var_3(buf_00,"Build platform: %d-bit %s",0x40,var_5);
var_3(buf_00,"%sCom... | (translation_unit "char * buildinfo(char *newline)\n\n{\n strbuf *buf_00;\n char *pcVar1;\n char *newline_local;\n strbuf *buf;\n char *gtk_buildinfo;\n \n buf_00 = strbuf_new();\n if (buildinfo_gtk_relevant == 0) {\n pcVar1 = "Unix";\n }\n else {\n pcVar1 = "Unix (GTK + X11)";\n }\n strbuf_catf(buf_0... | (translation_unit "char * function_1(char *newline)\n\n{\n type_1 *buf_00;\n char *var_5;\n char *newline_local;\n type_1 *buf;\n char *gtk_buildinfo;\n \n buf_00 = var_1();\n if (var_2 == 0) {\n var_5 = "Unix";\n }\n else {\n var_5 = "Unix (GTK + X11)";\n }\n var_3(buf_00,"Build platform: %d-bit %s",... | (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... |
189_psftp_and_psftp_strip.c | proxy_socks5_offerencryptedauth | FUN_0010d2ee | proxy_socks5_offerencryptedauth |
void proxy_socks5_offerencryptedauth(char *command,int *len)
{
int *len_local;
char *command_local;
command[*len] = '\x03';
*len = *len + 1;
return;
}
|
void FUN_0010d2ee(long param_1,int *param_2)
{
*(undefined *)(param_1 + *param_2) = 3;
*param_2 = *param_2 + 1;
return;
}
| (translation_unit "void FUN_0010d2ee(long param_1,int *param_2)\n\n{\n *(undefined *)(param_1 + *param_2) = 3;\n *param_2 = *param_2 + 1;\n return;\n}\n\n" (function_definition "void FUN_0010d2ee(long param_1,int *param_2)\n\n{\n *(undefined *)(param_1 + *param_2) = 3;\n *param_2 = *param_2 + 1;\n return;\n}" pri... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,RDX
MOV byte ptr [RAX],0x3
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
LEA EDX,[RAX + 0x1]
MOV RAX,qword ptr [RBP ... |
void function_1(char *command,int *len)
{
int *len_local;
char *command_local;
command[*len] = '\x03';
*len = *len + 1;
return;
}
| (translation_unit "void proxy_socks5_offerencryptedauth(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n command[*len] = '\x03';\n *len = *len + 1;\n return;\n}\n\n" (function_definition "void proxy_socks5_offerencryptedauth(char *command,int *len)\n\n{\n int *len_local;\n char *comman... | (translation_unit "void function_1(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n command[*len] = '\x03';\n *len = *len + 1;\n return;\n}\n\n" (function_definition "void function_1(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n command[*len] = '\x03';\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_... |
1252_pterm_and_pterm_strip.c | pty_send | FUN_00167133 | pty_send |
int pty_send(void *handle,char *buf,int len)
{
int iVar1;
int len_local;
char *buf_local;
void *handle_local;
Pty pty;
if (*(int *)((long)handle + 8) < 0) {
iVar1 = 0;
}
else {
bufchain_add((bufchain_conflict *)((long)handle + 0x1030),buf,len);
pty_try_write((Pty)handle);
iVar1 = bu... |
undefined8 FUN_00167133(long param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 uVar1;
if (*(int *)(param_1 + 8) < 0) {
uVar1 = 0;
}
else {
FUN_00127eca(param_1 + 0x1030,param_2,param_3);
FUN_00167028(param_1);
uVar1 = FUN_00127eb9(param_1 + 0x1030);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00167133(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(param_1 + 8) < 0) {\n uVar1 = 0;\n }\n else {\n FUN_00127eca(param_1 + 0x1030,param_2,param_3);\n FUN_00167028(param_1);\n uVar1 = FUN_00127eb9(param_1 + 0x1030);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNS 0x00167160
MOV EAX,0x0
JMP 0x0016719b
MOV RAX,qwo... |
int function_1(void *handle,char *buf,int len)
{
int iVar1;
int len_local;
char *buf_local;
void *handle_local;
type_1 pty;
if (*(int *)((long)handle + 8) < 0) {
iVar1 = 0;
}
else {
var_1((type_2 *)((long)handle + 0x1030),buf,len);
var_2((type_1)handle);
iVar1 = var_3((type_2 *)((lo... | (translation_unit "int pty_send(void *handle,char *buf,int len)\n\n{\n int iVar1;\n int len_local;\n char *buf_local;\n void *handle_local;\n Pty pty;\n \n if (*(int *)((long)handle + 8) < 0) {\n iVar1 = 0;\n }\n else {\n bufchain_add((bufchain_conflict *)((long)handle + 0x1030),buf,len);\n pty_try_wr... | (translation_unit "int function_1(void *handle,char *buf,int len)\n\n{\n int iVar1;\n int len_local;\n char *buf_local;\n void *handle_local;\n type_1 pty;\n \n if (*(int *)((long)handle + 8) < 0) {\n iVar1 = 0;\n }\n else {\n var_1((type_2 *)((long)handle + 0x1030),buf,len);\n var_2((type_1)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: (primitive_type) declarator: (pointer_... |
470_psftp_and_psftp_strip.c | xfer_done | FUN_00125b6a | xfer_done |
int xfer_done(fxp_xfer *xfer)
{
int iVar1;
fxp_xfer *xfer_local;
if (((xfer->eof == 0) && (xfer->err == 0)) || (xfer->head != (req *)0x0)) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
|
undefined8 FUN_00125b6a(long param_1)
{
undefined8 uVar1;
if (((*(int *)(param_1 + 0x38) == 0) && (*(int *)(param_1 + 0x3c) == 0)) ||
(*(long *)(param_1 + 0x48) != 0)) {
uVar1 = 0;
}
else {
uVar1 = 1;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00125b6a(long param_1)\n\n{\n undefined8 uVar1;\n \n if (((*(int *)(param_1 + 0x38) == 0) && (*(int *)(param_1 + 0x3c) == 0)) ||\n (*(long *)(param_1 + 0x48) != 0)) {\n uVar1 = 0;\n }\n else {\n uVar1 = 1;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FU... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x38]
TEST EAX,EAX
JNZ 0x00125b88
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x3c]
TEST EAX,EAX
JZ 0x00125b9c
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x48]
TEST RAX,RAX
JNZ 0x00125b9c... |
int function_1(type_1 *xfer)
{
int iVar1;
type_1 *xfer_local;
if (((xfer->eof == 0) && (xfer->err == 0)) || (xfer->head != (type_2 *)0x0)) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
| (translation_unit "int xfer_done(fxp_xfer *xfer)\n\n{\n int iVar1;\n fxp_xfer *xfer_local;\n \n if (((xfer->eof == 0) && (xfer->err == 0)) || (xfer->head != (req *)0x0)) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" (function_definition "int xfer_done(fxp_xfer *xfer)\n\n{\n int iVa... | (translation_unit "int function_1(type_1 *xfer)\n\n{\n int iVar1;\n type_1 *xfer_local;\n \n if (((xfer->eof == 0) && (xfer->err == 0)) || (xfer->head != (type_2 *)0x0)) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" (function_definition "int function_1(type_1 *xfer)\n\n{\n int iVar... | (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... |
1122_pterm_and_pterm_strip.c | destroy | FUN_0015e0c2 | destroy |
void destroy(GtkWidget *widget,gpointer data)
{
gpointer data_local;
GtkWidget *widget_local;
gtk_main_quit();
return;
}
|
void FUN_0015e0c2(void)
{
gtk_main_quit();
return;
}
| (translation_unit "void FUN_0015e0c2(void)\n\n{\n gtk_main_quit();\n return;\n}\n\n" (function_definition "void FUN_0015e0c2(void)\n\n{\n gtk_main_quit();\n return;\n}" primitive_type (function_declarator "FUN_0015e0c2(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (c... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
CALL 0x00110a00
NOP
LEAVE
RET |
void function_1(type_1 *widget,type_2 data)
{
type_2 data_local;
type_1 *widget_local;
var_1();
return;
}
| (translation_unit "void destroy(GtkWidget *widget,gpointer data)\n\n{\n gpointer data_local;\n GtkWidget *widget_local;\n \n gtk_main_quit();\n return;\n}\n\n" (function_definition "void destroy(GtkWidget *widget,gpointer data)\n\n{\n gpointer data_local;\n GtkWidget *widget_local;\n \n gtk_main_quit();\n ret... | (translation_unit "void function_1(type_1 *widget,type_2 data)\n\n{\n type_2 data_local;\n type_1 *widget_local;\n \n var_1();\n return;\n}\n\n" (function_definition "void function_1(type_1 *widget,type_2 data)\n\n{\n type_2 data_local;\n type_1 *widget_local;\n \n var_1();\n return;\n}" primitive_type (funct... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
1073_pterm_and_pterm_strip.c | get_label_text_dimensions | FUN_0015a784 | get_label_text_dimensions |
void get_label_text_dimensions(char *text,int *width,int *height)
{
long lVar1;
undefined8 uVar2;
undefined8 uVar3;
long in_FS_OFFSET;
int *height_local;
int *width_local;
char *text_local;
GtkWidget *label;
PangoLayout *layout;
PangoRectangle_conflict logrect;
lVar1 = *(long *)(in_FS_OFFSET ... |
void FUN_0015a784(undefined8 param_1,int *param_2,int *param_3)
{
undefined8 uVar1;
undefined8 uVar2;
long in_FS_OFFSET;
undefined local_28 [8];
int local_20;
int local_1c;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
uVar1 = gtk_label_new(param_1);
uVar2 = gtk_label_get_type();
... | (translation_unit "void FUN_0015a784(undefined8 param_1,int *param_2,int *param_3)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined local_28 [8];\n int local_20;\n int local_1c;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n uVar1 = gtk_label_new(param_1);\n u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RDI,RAX
CALL 0x0010fc10
MOV qword ptr [RBP + -0x30],RAX
CALL 0x0010f430
MOV RDX,RAX... |
void function_1(char *text,int *var_7,int *var_8)
{
long var_11;
type_1 uVar2;
type_1 uVar3;
long var_1;
int *height_local;
int *width_local;
char *text_local;
type_2 *label;
type_3 *layout;
type_4 logrect;
var_11 = *(long *)(var_1 + 0x28);
uVar2 = var_2(text);
uVar3 = var_3();
uVar3 = ... | (translation_unit "void get_label_text_dimensions(char *text,int *width,int *height)\n\n{\n long lVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n long in_FS_OFFSET;\n int *height_local;\n int *width_local;\n char *text_local;\n GtkWidget *label;\n PangoLayout *layout;\n PangoRectangle_conflict logrect;\n \n ... | (translation_unit "void function_1(char *text,int *var_7,int *var_8)\n\n{\n long var_11;\n type_1 uVar2;\n type_1 uVar3;\n long var_1;\n int *height_local;\n int *width_local;\n char *text_local;\n type_2 *label;\n type_3 *layout;\n type_4 logrect;\n \n var_11 = *(long *)(var_1 + 0x28);\n uVar2 = var_2(tex... | (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_... |
392_psftp_and_psftp_strip.c | key2val | FUN_0011e018 | key2val |
int key2val(keyvalwhere *mapping,int nmaps,char *key)
{
int iVar1;
char *key_local;
int nmaps_local;
keyvalwhere *mapping_local;
int i;
i = 0;
while( true ) {
if (nmaps <= i) {
return -1;
}
iVar1 = strcmp(mapping[i].s,key);
if (iVar1 == 0) break;
i = i + 1;
}
return mapp... |
undefined4 FUN_0011e018(long param_1,int param_2,char *param_3)
{
int iVar1;
int local_c;
local_c = 0;
while( true ) {
if (param_2 <= local_c) {
return 0xffffffff;
}
iVar1 = strcmp(*(char **)(param_1 + (long)local_c * 0x18),param_3);
if (iVar1 == 0) break;
local_c = local_c + 1;
... | (translation_unit "undefined4 FUN_0011e018(long param_1,int param_2,char *param_3)\n\n{\n int iVar1;\n int local_c;\n \n local_c = 0;\n while( true ) {\n if (param_2 <= local_c) {\n return 0xffffffff;\n }\n iVar1 = strcmp(*(char **)(param_1 + (long)local_c * 0x18),param_3);\n if (iVar1 == 0) break... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0011e08d
MOV EAX,dword ptr [RBP + -0x4]
MOVSXD RDX,EAX
MOV RAX,RDX
ADD RAX,RAX
ADD RAX,RDX
SHL RAX,0x3
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x18]
ADD RA... |
int function_1(type_1 *mapping,int var_1,char *key)
{
int var_4;
char *key_local;
int nmaps_local;
type_1 *mapping_local;
int var_2;
var_2 = 0;
while( true ) {
if (var_1 <= var_2) {
return -1;
}
var_4 = var_3(mapping[var_2].s,key);
if (var_4 == 0) break;
var_2 = var_2 + 1;
... | (translation_unit "int key2val(keyvalwhere *mapping,int nmaps,char *key)\n\n{\n int iVar1;\n char *key_local;\n int nmaps_local;\n keyvalwhere *mapping_local;\n int i;\n \n i = 0;\n while( true ) {\n if (nmaps <= i) {\n return -1;\n }\n iVar1 = strcmp(mapping[i].s,key);\n if (iVar1 == 0) break;... | (translation_unit "int function_1(type_1 *mapping,int var_1,char *key)\n\n{\n int var_4;\n char *key_local;\n int nmaps_local;\n type_1 *mapping_local;\n int var_2;\n \n var_2 = 0;\n while( true ) {\n if (var_1 <= var_2) {\n return -1;\n }\n var_4 = var_3(mapping[var_2].s,key);\n if (var_4 == 0... | (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... |
552_psftp_and_psftp_strip.c | ssh1_pkt_getrsakey | FUN_0012c408 | ssh1_pkt_getrsakey |
int ssh1_pkt_getrsakey(Packet *pkt,RSAKey *key,uchar **keystr)
{
int iVar1;
uchar **keystr_local;
RSAKey *key_local;
Packet *pkt_local;
int j;
iVar1 = makekey(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,key,keystr,0);
if (iVar1 < 0) {
iVar1 = 0;
}
else {
pkt->savedpos ... |
undefined8 FUN_0012c408(long *param_1,undefined8 param_2,undefined8 param_3)
{
int iVar1;
undefined8 uVar2;
iVar1 = FUN_0016ef35(param_1[5] + param_1[6],(int)*param_1 - (int)param_1[6],param_2,param_3,0);
if (iVar1 < 0) {
uVar2 = 0;
}
else {
param_1[6] = param_1[6] + (long)iVar1;
if (*param... | (translation_unit "undefined8 FUN_0012c408(long *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n iVar1 = FUN_0016ef35(param_1[5] + param_1[6],(int)*param_1 - (int)param_1[6],param_2,param_3,0);\n if (iVar1 < 0) {\n uVar2 = 0;\n }\n else {\n param_1[6] = param_1[6] ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x30]
SUB EDX,EAX
MOV EAX,EDX
MOV ESI,EAX
MOV RAX,qword ptr [RBP ... |
int function_1(type_1 *pkt,type_2 *key,type_3 **keystr)
{
int var_2;
type_3 **keystr_local;
type_2 *key_local;
type_1 *pkt_local;
int j;
var_2 = var_1(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,key,keystr,0);
if (var_2 < 0) {
var_2 = 0;
}
else {
pkt->savedpos = pkt->s... | (translation_unit "int ssh1_pkt_getrsakey(Packet *pkt,RSAKey *key,uchar **keystr)\n\n{\n int iVar1;\n uchar **keystr_local;\n RSAKey *key_local;\n Packet *pkt_local;\n int j;\n \n iVar1 = makekey(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,key,keystr,0);\n if (iVar1 < 0) {\n iVar1 = 0;\n ... | (translation_unit "int function_1(type_1 *pkt,type_2 *key,type_3 **keystr)\n\n{\n int var_2;\n type_3 **keystr_local;\n type_2 *key_local;\n type_1 *pkt_local;\n int j;\n \n var_2 = var_1(pkt->body + pkt->savedpos,(int)pkt->length - (int)pkt->savedpos,key,keystr,0);\n if (var_2 < 0) {\n var_2 = 0;\n }\n el... | (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... |
414_psftp_and_psftp_strip.c | sftp_pkt_addattrs | FUN_001239a5 | sftp_pkt_addattrs |
void sftp_pkt_addattrs(sftp_packet *pkt,fxp_attrs attrs)
{
sftp_packet *pkt_local;
sftp_pkt_adduint32(pkt,attrs.flags);
if (((undefined [64])attrs & (undefined [64])0x1) != (undefined [64])0x0) {
sftp_pkt_adduint32(pkt,attrs.size.hi);
sftp_pkt_adduint32(pkt,attrs.size.lo);
}
if (((undefined [... |
void FUN_001239a5(undefined8 param_1)
{
ulong param_7;
undefined8 param_8;
undefined8 param_9;
undefined8 param_10;
undefined8 param_11;
undefined8 param_12;
undefined8 param_13;
undefined8 param_14;
FUN_001235c5(param_1,param_7);
if ((param_7 & 1) != 0) {
FUN_001235c5(param_1,param_8);
... | (translation_unit "void FUN_001239a5(undefined8 param_1)\n\n{\n ulong param_7;\n undefined8 param_8;\n undefined8 param_9;\n undefined8 param_10;\n undefined8 param_11;\n undefined8 param_12;\n undefined8 param_13;\n undefined8 param_14;\n \n FUN_001235c5(param_1,param_7);\n if ((param_7 & 1) != 0) {\n FU... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RDX,qword ptr [RBP + 0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001235c5
MOV RAX,qword ptr [RBP + 0x10]
AND EAX,0x1
TEST RAX,RAX
JZ 0x001239f6
MOV RDX,qword ptr [RBP + 0x18]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,R... |
void function_1(type_1 *pkt,type_2 attrs)
{
type_1 *pkt_local;
var_1(pkt,attrs.flags);
if (((type_3 [64])attrs & (type_3 [64])0x1) != (type_3 [64])0x0) {
var_1(pkt,attrs.size.hi);
var_1(pkt,attrs.size.lo);
}
if (((type_3 [64])attrs & (type_3 [64])0x2) != (type_3 [64])0x0) {
var_1(pkt,at... | (translation_unit "void sftp_pkt_addattrs(sftp_packet *pkt,fxp_attrs attrs)\n\n{\n sftp_packet *pkt_local;\n \n sftp_pkt_adduint32(pkt,attrs.flags);\n if (((undefined [64])attrs & (undefined [64])0x1) != (undefined [64])0x0) {\n sftp_pkt_adduint32(pkt,attrs.size.hi);\n sftp_pkt_adduint32(pkt,attrs.size.lo)... | (translation_unit "void function_1(type_1 *pkt,type_2 attrs)\n\n{\n type_1 *pkt_local;\n \n var_1(pkt,attrs.flags);\n if (((type_3 [64])attrs & (type_3 [64])0x1) != (type_3 [64])0x0) {\n var_1(pkt,attrs.size.hi);\n var_1(pkt,attrs.size.lo);\n }\n if (((type_3 [64])attrs & (type_3 [64])0x2) != (type_3 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.