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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
902_pscp_and_pscp_strip.c | ec_p521 | FUN_0015fd79 | ec_p521 |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_curve * ec_p521(void)
{
if (ec_p521::initialised == '\0') {
initialise_wcurve(&ec_p521::curve,0x209,ec_p521::lexical_block_2::p,ec_p521::lexical_block_2::a,
"",ec_p521::le... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined * FUN_0015fd79(void)
{
if (DAT_001b5aa8 == '\0') {
FUN_0015f990(&DAT_001b5ac0,0x209,&DAT_0019f900,&DAT_0019f960,&DAT_0019f9c0,&DAT_0019fa20,
&DAT_0019fa80,&DAT_0019fae0);
DAT_001b5ac8 = "nistp521... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined * FUN_0015fd79(void)\n\n{\n if (DAT_001b5aa8 == '\0') {\n FUN_0015f990(&DAT_001b5ac0,0x209,&DAT_0019f900,&DAT_0019f960,&DAT_0019f9c0,&DAT_0019fa20,\n &DAT_0019fa80,&DAT_0019fae0);\n ... | PUSH RBP
MOV RBP,RSP
MOVZX EAX,byte ptr [0x001b5aa8]
TEST AL,AL
JNZ 0x0015fdec
LEA RAX,[0x19fae0]
PUSH RAX
LEA RAX,[0x19fa80]
PUSH RAX
LEA R9,[0x19fa20]
LEA R8,[0x19f9c0]
LEA RCX,[0x19f960]
LEA RDX,[0x19f900]
MOV ESI,0x209
LEA RDI,[0x1b5ac0]
CALL 0x0015f990
ADD RSP,0x10
LEA RAX,[0x19f4f2]
MOV qword ptr [0x001b5ac8],RAX... |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(void)
{
if (function_1::var_1 == '\0') {
var_2(&function_1::curve,0x209,function_1::lexical_block_2::p,function_1::lexical_block_2::a,
"",function_1::lexi... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_curve * ec_p521(void)\n\n{\n if (ec_p521::initialised == '\0') {\n initialise_wcurve(&ec_p521::curve,0x209,ec_p521::lexical_block_2::p,ec_p521::lexical_block_2::a,\n ... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void)\n\n{\n if (function_1::var_1 == '\0') {\n var_2(&function_1::curve,0x209,function_1::lexical_block_2::p,function_1::lexical_block_2::a,\n ... | (translation_unit (comment) (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (if_statement condition: (parenthesized_exp... |
504_pscp_and_pscp_strip.c | s_wrpkt_prepare | FUN_00128f21 | s_wrpkt_prepare |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int s_wrpkt_prepare(Ssh_conflict ssh,Packet *pkt,int *offset_p)
{
int iVar1;
long in_FS_OFFSET;
int *offset_p_local;
Packet *pkt_local;
Ssh_conflict ssh_local;
int complen;
int i;
int len;
int pad;
int pktoffs;
int biglen;... |
int FUN_00128f21(long param_1,long *param_2,int *param_3)
{
undefined uVar1;
long in_FS_OFFSET;
int local_38;
int local_34;
int local_30;
int local_2c;
int local_28;
int local_24;
void *local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(long *)(... | (translation_unit "int FUN_00128f21(long param_1,long *param_2,int *param_3)\n\n{\n undefined uVar1;\n long in_FS_OFFSET;\n int local_38;\n int local_34;\n int local_30;\n int local_2c;\n int local_28;\n int local_24;\n void *local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX + 0x30]
TEST RAX,RAX
JZ 0x00128f64
MOV RDX,qword ptr [RBP + -0x4... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 ssh,type_2 *pkt,int *var_15)
{
int iVar1;
long var_1;
int *offset_p_local;
type_2 *pkt_local;
type_1 ssh_local;
int var_5;
int var_10;
int var_8;
int var_9;
int pktoffs;
int var_13;
type_3 *compblk;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint s_wrpkt_prepare(Ssh_conflict ssh,Packet *pkt,int *offset_p)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int *offset_p_local;\n Packet *pkt_local;\n Ssh_conflict ssh_local;\n int complen;\n int i;\n int len;\n int pa... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 ssh,type_2 *pkt,int *var_15)\n\n{\n int iVar1;\n long var_1;\n int *offset_p_local;\n type_2 *pkt_local;\n type_1 ssh_local;\n int var_5;\n int var_10;\n int var_8;\n int var_9;\n int pktoffs;\... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator... |
163_pscp_and_pscp_strip.c | free_entry | FUN_0010a88c | free_entry |
void free_entry(conf_entry *entry)
{
conf_entry *entry_local;
free_key(&entry->key);
free_value(&entry->value,valuetypes[(entry->key).primary]);
safefree(entry);
return;
}
|
void FUN_0010a88c(int *param_1)
{
FUN_0010a6f2(param_1);
FUN_0010a7a1(param_1 + 4,*(undefined4 *)(&DAT_001b5300 + (long)*param_1 * 4));
FUN_0010ffb6(param_1);
return;
}
| (translation_unit "void FUN_0010a88c(int *param_1)\n\n{\n FUN_0010a6f2(param_1);\n FUN_0010a7a1(param_1 + 4,*(undefined4 *)(&DAT_001b5300 + (long)*param_1 * 4));\n FUN_0010ffb6(param_1);\n return;\n}\n\n" (function_definition "void FUN_0010a88c(int *param_1)\n\n{\n FUN_0010a6f2(param_1);\n FUN_0010a7a1(param_1 + ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010a6f2
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b5300]
MOV EAX,dword ptr [RDX + RAX*0x1]
MOV RDX,qword ptr [RBP + -0x8]
ADD RDX,0x10
MOV ESI,EAX
MOV RDI,R... |
void function_1(type_1 *entry)
{
type_1 *entry_local;
var_1(&entry->key);
var_2(&entry->value,valuetypes[(entry->key).primary]);
var_3(entry);
return;
}
| (translation_unit "void free_entry(conf_entry *entry)\n\n{\n conf_entry *entry_local;\n \n free_key(&entry->key);\n free_value(&entry->value,valuetypes[(entry->key).primary]);\n safefree(entry);\n return;\n}\n\n" (function_definition "void free_entry(conf_entry *entry)\n\n{\n conf_entry *entry_local;\n \n free... | (translation_unit "void function_1(type_1 *entry)\n\n{\n type_1 *entry_local;\n \n var_1(&entry->key);\n var_2(&entry->value,valuetypes[(entry->key).primary]);\n var_3(entry);\n return;\n}\n\n" (function_definition "void function_1(type_1 *entry)\n\n{\n type_1 *entry_local;\n \n var_1(&entry->key);\n var_2(&e... | (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... |
162_pscp_and_pscp_strip.c | copy_value | FUN_0010a7f6 | copy_value |
void copy_value(value *to,value *from,int type)
{
char *pcVar1;
Filename *pFVar2;
FontSpec *pFVar3;
int type_local;
value *from_local;
value *to_local;
if (type == 2) {
pcVar1 = dupstr((from->u).stringval);
(to->u).stringval = pcVar1;
}
else if (type < 3) {
if (type == 1) {
(to-... |
void FUN_0010a7f6(undefined8 *param_1,undefined8 *param_2,int param_3)
{
undefined8 uVar1;
if (param_3 == 2) {
uVar1 = FUN_0010ed16(*param_2);
*param_1 = uVar1;
}
else if (param_3 < 3) {
if (param_3 == 1) {
*(undefined4 *)param_1 = *(undefined4 *)param_2;
}
}
else if (param_3 == 3... | (translation_unit "void FUN_0010a7f6(undefined8 *param_1,undefined8 *param_2,int param_3)\n\n{\n undefined8 uVar1;\n \n if (param_3 == 2) {\n uVar1 = FUN_0010ed16(*param_2);\n *param_1 = uVar1;\n }\n else if (param_3 < 3) {\n if (param_3 == 1) {\n *(undefined4 *)param_1 = *(undefined4 *)param_2;\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 dword ptr [RBP + -0x14],0x2
JZ 0x0010a839
CMP dword ptr [RBP + -0x14],0x2
JG 0x0010a81d
CMP dword ptr [RBP + -0x14],0x1
JZ 0x0010a82b
JMP 0x0010a889
CMP dword ptr [RBP + -0x14],0x3
JZ 0x0... |
void function_1(type_1 *to,type_1 *from,int var_1)
{
char *pcVar1;
type_2 *pFVar2;
type_3 *pFVar3;
int type_local;
type_1 *from_local;
type_1 *to_local;
if (var_1 == 2) {
pcVar1 = var_2((from->u).stringval);
(to->u).stringval = pcVar1;
}
else if (var_1 < 3) {
if (var_1 == 1) {
(... | (translation_unit "void copy_value(value *to,value *from,int type)\n\n{\n char *pcVar1;\n Filename *pFVar2;\n FontSpec *pFVar3;\n int type_local;\n value *from_local;\n value *to_local;\n \n if (type == 2) {\n pcVar1 = dupstr((from->u).stringval);\n (to->u).stringval = pcVar1;\n }\n else if (type < 3) {... | (translation_unit "void function_1(type_1 *to,type_1 *from,int var_1)\n\n{\n char *pcVar1;\n type_2 *pFVar2;\n type_3 *pFVar3;\n int type_local;\n type_1 *from_local;\n type_1 *to_local;\n \n if (var_1 == 2) {\n pcVar1 = var_2((from->u).stringval);\n (to->u).stringval = pcVar1;\n }\n else if (var_1 < 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... |
736_pscp_and_pscp_strip.c | blowfish256_key | FUN_0014fdbf | blowfish256_key |
void blowfish256_key(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
BlowfishContext *ctx;
blowfish_setkey((BlowfishContext *)handle,key,0x20);
return;
}
|
void FUN_0014fdbf(undefined8 param_1,undefined8 param_2)
{
FUN_0014fd03(param_1,param_2,0x20);
return;
}
| (translation_unit "void FUN_0014fdbf(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0014fd03(param_1,param_2,0x20);\n return;\n}\n\n" (function_definition "void FUN_0014fdbf(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0014fd03(param_1,param_2,0x20);\n return;\n}" primitive_type (function_declarator "FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x20
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0014fd03
NOP
LEAVE
RET |
void function_1(void *handle,type_1 *key)
{
type_1 *key_local;
void *handle_local;
type_2 *ctx;
var_1((type_2 *)handle,key,0x20);
return;
}
| (translation_unit "void blowfish256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n BlowfishContext *ctx;\n \n blowfish_setkey((BlowfishContext *)handle,key,0x20);\n return;\n}\n\n" (function_definition "void blowfish256_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void ... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1((type_2 *)handle,key,0x20);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *ctx;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
947_pscp_and_pscp_strip.c | ecdsa_openssh_fmtkey | FUN_001649d4 | ecdsa_openssh_fmtkey |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ecdsa_openssh_fmtkey(void *key,uchar *blob,int len)
{
int iVar1;
int iVar2;
int iVar3;
size_t sVar4;
bool bVar5;
int len_local;
uchar *blob_local;
void *key_local;
int bloblen;
int i;
int pointlen;
int namelen;
ec_... |
int FUN_001649d4(long param_1,undefined *param_2,int param_3)
{
int iVar1;
undefined uVar2;
int iVar3;
int iVar4;
size_t sVar5;
bool bVar6;
int local_30;
int local_2c;
if (**(int **)(param_1 + 8) == 0) {
iVar3 = FUN_00153f9a(*(undefined8 *)(*(long *)(param_1 + 8) + 0x20));
iVar4 = iVar3 +... | (translation_unit "int FUN_001649d4(long param_1,undefined *param_2,int param_3)\n\n{\n int iVar1;\n undefined uVar2;\n int iVar3;\n int iVar4;\n size_t sVar5;\n bool bVar6;\n int local_30;\n int local_2c;\n \n if (**(int **)(param_1 + 8) == 0) {\n iVar3 = FUN_00153f9a(*(undefined8 *)(*(long *)(param_1 + 8... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x48
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV dword ptr [RBP + -0x44],EDX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
MOV EAX,dword ptr [RAX]
TEST EAX,EAX
JZ 0x00164a08
MOV ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *key,type_1 *var_11,int var_8)
{
int var_2;
int var_3;
int var_6;
size_t var_9;
bool bVar5;
int len_local;
type_1 *blob_local;
void *key_local;
int var_7;
int var_12;
int pointlen;
int namelen;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ecdsa_openssh_fmtkey(void *key,uchar *blob,int len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n size_t sVar4;\n bool bVar5;\n int len_local;\n uchar *blob_local;\n void *key_local;\n int bloblen;\n int i;\n i... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *key,type_1 *var_11,int var_8)\n\n{\n int var_2;\n int var_3;\n int var_6;\n size_t var_9;\n bool bVar5;\n int len_local;\n type_1 *blob_local;\n void *key_local;\n int var_7;\n int var_12;\n in... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
755_pscp_and_pscp_strip.c | internal_add_shifted | FUN_001511ab | internal_add_shifted |
void internal_add_shifted(BignumInt *number,BignumInt n,int shift)
{
ulong uVar1;
ulong uVar2;
int iVar3;
int iVar4;
byte bVar5;
ulong uVar6;
ulong uVar7;
int shift_local;
BignumInt n_local;
BignumInt *number_local;
int word;
int bshift;
BignumCarry carry;
BignumInt addendl;
BignumInt ad... |
void FUN_001511ab(ulong *param_1,ulong param_2,int param_3)
{
ulong uVar1;
ulong uVar2;
int iVar3;
byte bVar4;
ulong uVar5;
int local_78;
ulong local_70;
local_78 = param_3;
if (param_3 < 0) {
local_78 = param_3 + 0x3f;
}
local_78 = local_78 >> 6;
iVar3 = local_78 + 1;
bVar4 = (byte)(... | (translation_unit "void FUN_001511ab(ulong *param_1,ulong param_2,int param_3)\n\n{\n ulong uVar1;\n ulong uVar2;\n int iVar3;\n byte bVar4;\n ulong uVar5;\n int local_78;\n ulong local_70;\n \n local_78 = param_3;\n if (param_3 < 0) {\n local_78 = param_3 + 0x3f;\n }\n local_78 = local_78 >> 6;\n iVar3... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
SUB RSP,0x70
MOV qword ptr [RBP + -0x78],RDI
MOV qword ptr [RBP + -0x80],RSI
MOV dword ptr [RBP + -0x84],EDX
MOV EAX,dword ptr [RBP + -0x84]
LEA EDX,[RAX + 0x3f]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x6
ADD EAX,0x1
MOV dword ptr [RBP + -0x70],EAX
MOV EAX,dword ptr ... |
void function_1(type_1 *number,type_1 var_3,int var_1)
{
type_2 var_10;
type_2 var_8;
int var_2;
int iVar4;
type_3 var_4;
type_2 var_6;
type_2 var_7;
int shift_local;
type_1 n_local;
type_1 *number_local;
int var_12;
int bshift;
type_4 var_11;
type_1 addendl;
type_1 addendh;
type_5 ADC... | (translation_unit "void internal_add_shifted(BignumInt *number,BignumInt n,int shift)\n\n{\n ulong uVar1;\n ulong uVar2;\n int iVar3;\n int iVar4;\n byte bVar5;\n ulong uVar6;\n ulong uVar7;\n int shift_local;\n BignumInt n_local;\n BignumInt *number_local;\n int word;\n int bshift;\n BignumCarry carry;\n ... | (translation_unit "void function_1(type_1 *number,type_1 var_3,int var_1)\n\n{\n type_2 var_10;\n type_2 var_8;\n int var_2;\n int iVar4;\n type_3 var_4;\n type_2 var_6;\n type_2 var_7;\n int shift_local;\n type_1 n_local;\n type_1 *number_local;\n int var_12;\n int bshift;\n type_4 var_11;\n type_1 adden... | (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... |
675_pscp_and_pscp_strip.c | ssh_special | FUN_0014643a | ssh_special |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_special(void *handle,Telnet_Special code)
{
Packet *pPVar1;
Telnet_Special code_local;
void *handle_local;
char *signame;
Ssh_conflict ssh;
Packet *pktout;
if (code == TS_EOF) {
if (*(int *)((long)handle + 0x1d0) =... |
void FUN_0014643a(long param_1,uint param_2)
{
undefined8 uVar1;
undefined *local_20;
if (param_2 == 0xc) {
if (*(int *)(param_1 + 0x1d0) == 3) {
if (*(int *)(param_1 + 0x250) == 1) {
FUN_0012977c(param_1,0x13,0);
}
else if (*(long *)(param_1 + 0x1a8) != 0) {
FUN_001324b... | (translation_unit "void FUN_0014643a(long param_1,uint param_2)\n\n{\n undefined8 uVar1;\n undefined *local_20;\n \n if (param_2 == 0xc) {\n if (*(int *)(param_1 + 0x1d0) == 3) {\n if (*(int *)(param_1 + 0x250) == 1) {\n FUN_0012977c(param_1,0x13,0);\n }\n else if (*(long *)(param_1 + 0x1a8... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
CMP dword ptr [RBP + -0x2c],0xc
JNZ 0x00146503
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX + 0x1d0]
CMP EAX,0x3
JZ 0x00146487
CMP dword ptr [RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,type_1 var_1)
{
type_2 *pPVar1;
type_1 code_local;
void *handle_local;
char *var_31;
type_3 ssh;
type_2 *pktout;
if (var_1 == var_2) {
if (*(int *)((long)handle + 0x1d0) == 3) {
if (*(int ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_special(void *handle,Telnet_Special code)\n\n{\n Packet *pPVar1;\n Telnet_Special code_local;\n void *handle_local;\n char *signame;\n Ssh_conflict ssh;\n Packet *pktout;\n \n if (code == TS_EOF) {\n if (*... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,type_1 var_1)\n\n{\n type_2 *pPVar1;\n type_1 code_local;\n void *handle_local;\n char *var_31;\n type_3 ssh;\n type_2 *pktout;\n \n if (var_1 == var_2) {\n if (*(int *)((long)handle + ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
364_pscp_and_pscp_strip.c | toremote | FUN_0011b666 | toremote |
void toremote(int argc,char **argv)
{
int iVar1;
char *pcVar2;
char *pcVar3;
undefined *puVar4;
WildcardMatcher *dir;
undefined *puVar5;
undefined *puVar6;
undefined *puVar7;
char **argv_local;
int argc_local;
int i;
int wc_type;
char *host;
char *user;
char *targ;
char *wtarg;
char ... |
void FUN_0011b666(int param_1,undefined8 *param_2)
{
char *__s;
int iVar1;
undefined *puVar2;
char *pcVar3;
long lVar4;
undefined *puVar5;
undefined8 uVar6;
long lVar7;
undefined *puVar8;
undefined *puVar9;
int local_50;
char *local_48;
char *local_40;
char *local_38;
DAT_001b58c0 = 1... | (translation_unit "void FUN_0011b666(int param_1,undefined8 *param_2)\n\n{\n char *__s;\n int iVar1;\n undefined *puVar2;\n char *pcVar3;\n long lVar4;\n undefined *puVar5;\n undefined8 uVar6;\n long lVar7;\n undefined *puVar8;\n undefined *puVar9;\n int local_50;\n char *local_48;\n char *local_40;\n cha... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV dword ptr [RBP + -0x54],EDI
MOV qword ptr [RBP + -0x60],RSI
MOV dword ptr [0x001b58c0],0x1
MOV EAX,dword ptr [RBP + -0x54]
CDQE
SHL RAX,0x3
LEA RDX,[RAX + -0x8]
MOV RAX,qword ptr [RBP + -0x60]
ADD RAX,RDX
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RB... |
void function_1(int var_5,char **argv)
{
int var_8;
char *var_2;
char *var_6;
type_1 *puVar4;
type_2 *var_21;
type_1 *puVar5;
type_1 *puVar6;
type_1 *puVar7;
char **argv_local;
int argc_local;
int var_17;
int wc_type;
char *host;
char *user;
char *targ;
char *wtarg;
char *cmd;
char... | (translation_unit "void toremote(int argc,char **argv)\n\n{\n int iVar1;\n char *pcVar2;\n char *pcVar3;\n undefined *puVar4;\n WildcardMatcher *dir;\n undefined *puVar5;\n undefined *puVar6;\n undefined *puVar7;\n char **argv_local;\n int argc_local;\n int i;\n int wc_type;\n char *host;\n char *user;\n ... | (translation_unit "void function_1(int var_5,char **argv)\n\n{\n int var_8;\n char *var_2;\n char *var_6;\n type_1 *puVar4;\n type_2 *var_21;\n type_1 *puVar5;\n type_1 *puVar6;\n type_1 *puVar7;\n char **argv_local;\n int argc_local;\n int var_17;\n int wc_type;\n char *host;\n char *user;\n char *targ;... | (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: (pointer_d... |
479_pscp_and_pscp_strip.c | free_rportfwd | FUN_00125b0e | free_rportfwd |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void free_rportfwd(ssh_rportfwd *pf)
{
ssh_rportfwd *pf_local;
if (pf != (ssh_rportfwd *)0x0) {
safefree(pf->sportdesc);
safefree(pf->shost);
safefree(pf->dhost);
safefree(pf);
}
return;
}
|
void FUN_00125b0e(long param_1)
{
if (param_1 != 0) {
FUN_0010ffb6(*(undefined8 *)(param_1 + 0x18));
FUN_0010ffb6(*(undefined8 *)(param_1 + 8));
FUN_0010ffb6(*(undefined8 *)(param_1 + 0x10));
FUN_0010ffb6(param_1);
}
return;
}
| (translation_unit "void FUN_00125b0e(long param_1)\n\n{\n if (param_1 != 0) {\n FUN_0010ffb6(*(undefined8 *)(param_1 + 0x18));\n FUN_0010ffb6(*(undefined8 *)(param_1 + 8));\n FUN_0010ffb6(*(undefined8 *)(param_1 + 0x10));\n FUN_0010ffb6(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_00125... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00125b5d
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RDI,RAX
CALL 0x0010ffb6
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDI,RAX
CALL 0x0010ffb6
MOV RAX,qword ptr [RBP + -0x8]
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *var_1)
{
type_1 *pf_local;
if (var_1 != (type_1 *)0x0) {
var_2(var_1->sportdesc);
var_2(var_1->shost);
var_2(var_1->dhost);
var_2(var_1);
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid free_rportfwd(ssh_rportfwd *pf)\n\n{\n ssh_rportfwd *pf_local;\n \n if (pf != (ssh_rportfwd *)0x0) {\n safefree(pf->sportdesc);\n safefree(pf->shost);\n safefree(pf->dhost);\n safefree(pf);\n }\n return;... | (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 *pf_local;\n \n if (var_1 != (type_1 *)0x0) {\n var_2(var_1->sportdesc);\n var_2(var_1->shost);\n var_2(var_1->dhost);\n var_2(var_1);\n }\n return;\n}\n\n" commen... | (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... |
341_pscp_and_pscp_strip.c | sftp_sendbuffer | FUN_00117f09 | sftp_sendbuffer |
/* WARNING: Unknown calling convention */
int sftp_sendbuffer(void)
{
int iVar1;
iVar1 = (*back->sendbuffer)(backhandle);
return iVar1;
}
|
void FUN_00117f09(void)
{
(**(code **)(DAT_001b58c8 + 0x20))(DAT_001b58d0);
return;
}
| (translation_unit "void FUN_00117f09(void)\n\n{\n (**(code **)(DAT_001b58c8 + 0x20))(DAT_001b58d0);\n return;\n}\n\n" (function_definition "void FUN_00117f09(void)\n\n{\n (**(code **)(DAT_001b58c8 + 0x20))(DAT_001b58d0);\n return;\n}" primitive_type (function_declarator "FUN_00117f09(void)" identifier (parameter_li... | PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [0x001b58c8]
MOV RAX,qword ptr [RAX + 0x20]
MOV RDX,qword ptr [0x001b58d0]
MOV RDI,RDX
CALL RAX
POP RBP
RET |
/* WARNING: Unknown calling convention */
int function_1(void)
{
int iVar1;
iVar1 = (*back->sendbuffer)(backhandle);
return iVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nint sftp_sendbuffer(void)\n\n{\n int iVar1;\n \n iVar1 = (*back->sendbuffer)(backhandle);\n return iVar1;\n}\n\n" comment (function_definition "int sftp_sendbuffer(void)\n\n{\n int iVar1;\n \n iVar1 = (*back->sendbuffer)(backhandle);\n return iVar1... | (translation_unit "/* WARNING: Unknown calling convention */\n\nint function_1(void)\n\n{\n int iVar1;\n \n iVar1 = (*back->sendbuffer)(backhandle);\n return iVar1;\n}\n\n" comment (function_definition "int function_1(void)\n\n{\n int iVar1;\n \n iVar1 = (*back->sendbuffer)(backhandle);\n return iVar1;\n}" prim... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (as... |
202_pscp_and_pscp_strip.c | uint64_shift_left | FUN_0010ce7b | uint64_shift_left |
uint64 uint64_shift_left(uint64 x,int shift)
{
uint64 uVar1;
byte bVar2;
ulong uVar3;
int shift_local;
uint64 x_local;
uVar3 = x.lo;
bVar2 = (byte)shift;
if (shift < 0x20) {
x_local.hi = uVar3 >> (0x20 - bVar2 & 0x3f) | x.hi << (bVar2 & 0x3f) & 0xffffffff;
x_local.lo = uVar3 << (bVar2 & 0x3... |
undefined [16] FUN_0010ce7b(long param_1,ulong param_2,int param_3)
{
undefined auVar1 [16];
byte bVar2;
undefined8 local_28;
undefined8 local_20;
bVar2 = (byte)param_3;
if (param_3 < 0x20) {
local_28 = param_2 >> (0x20 - bVar2 & 0x3f) | param_1 << (bVar2 & 0x3f) & 0xffffffffU;
local_20 = para... | (translation_unit "undefined [16] FUN_0010ce7b(long param_1,ulong param_2,int param_3)\n\n{\n undefined auVar1 [16];\n byte bVar2;\n undefined8 local_28;\n undefined8 local_20;\n \n bVar2 = (byte)param_3;\n if (param_3 < 0x20) {\n local_28 = param_2 >> (0x20 - bVar2 & 0x3f) | param_1 << (bVar2 & 0x3f) & 0xff... | PUSH RBP
MOV RBP,RSP
PUSH RBX
MOV RCX,RDI
MOV RAX,RSI
MOV RBX,RAX
MOV qword ptr [RBP + -0x20],RCX
MOV qword ptr [RBP + -0x18],RBX
MOV dword ptr [RBP + -0x24],EDX
CMP dword ptr [RBP + -0x24],0x1f
JG 0x0010cee5
MOV RDX,qword ptr [RBP + -0x20]
MOV EAX,dword ptr [RBP + -0x24]
MOV ECX,EAX
SHL RDX,CL
MOV RAX,RDX
MOV EAX,EAX
... |
type_1 function_1(type_1 x,int var_1)
{
type_1 uVar1;
type_2 var_3;
type_3 var_2;
int shift_local;
type_1 x_local;
var_2 = x.lo;
var_3 = (type_2)var_1;
if (var_1 < 0x20) {
x_local.hi = var_2 >> (0x20 - var_3 & 0x3f) | x.hi << (var_3 & 0x3f) & 0xffffffff;
x_local.lo = var_2 << (var_3 & 0x3f)... | (translation_unit "uint64 uint64_shift_left(uint64 x,int shift)\n\n{\n uint64 uVar1;\n byte bVar2;\n ulong uVar3;\n int shift_local;\n uint64 x_local;\n \n uVar3 = x.lo;\n bVar2 = (byte)shift;\n if (shift < 0x20) {\n x_local.hi = uVar3 >> (0x20 - bVar2 & 0x3f) | x.hi << (bVar2 & 0x3f) & 0xffffffff;\n x_l... | (translation_unit "type_1 function_1(type_1 x,int var_1)\n\n{\n type_1 uVar1;\n type_2 var_3;\n type_3 var_2;\n int shift_local;\n type_1 x_local;\n \n var_2 = x.lo;\n var_3 = (type_2)var_1;\n if (var_1 < 0x20) {\n x_local.hi = var_2 >> (0x20 - var_3 & 0x3f) | x.hi << (var_3 & 0x3f) & 0xffffffff;\n x_loc... | (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... |
139_pscp_and_pscp_strip.c | deregister_tm_clones | FUN_001078d0 | deregister_tm_clones |
/* WARNING: Removing unreachable block (ram,0x001078e3) */
/* WARNING: Removing unreachable block (ram,0x001078ef) */
void deregister_tm_clones(void)
{
return;
}
|
/* WARNING: Removing unreachable block (ram,0x001078e3) */
/* WARNING: Removing unreachable block (ram,0x001078ef) */
void FUN_001078d0(void)
{
return;
}
| (translation_unit "/* WARNING: Removing unreachable block (ram,0x001078e3) */\n/* WARNING: Removing unreachable block (ram,0x001078ef) */\n\nvoid FUN_001078d0(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void FUN_001078d0(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001078d0... | LEA RDI,[0x1b57c8]
LEA RAX,[0x1b57c8]
CMP RAX,RDI
JZ 0x001078f8
MOV RAX,qword ptr [0x001b4fc0]
TEST RAX,RAX
JZ 0x001078f8
JMP RAX
RET |
/* WARNING: Removing unreachable block (ram,0x001078e3) */
/* WARNING: Removing unreachable block (ram,0x001078ef) */
void function_1(void)
{
return;
}
| (translation_unit "/* WARNING: Removing unreachable block (ram,0x001078e3) */\n/* WARNING: Removing unreachable block (ram,0x001078ef) */\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,0x001078e3) */\n/* WARNING: Removing unreachable block (ram,0x001078ef) */\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)))) |
869_pscp_and_pscp_strip.c | des_sesskey | FUN_0015d376 | des_sesskey |
void des_sesskey(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
DESContext *keys;
des_key(handle,key);
des_key((void *)((long)handle + 0x88),key);
return;
}
|
void FUN_0015d376(long param_1,undefined8 param_2)
{
FUN_0015c298(param_1,param_2);
FUN_0015c298(param_1 + 0x88,param_2);
return;
}
| (translation_unit "void FUN_0015d376(long param_1,undefined8 param_2)\n\n{\n FUN_0015c298(param_1,param_2);\n FUN_0015c298(param_1 + 0x88,param_2);\n return;\n}\n\n" (function_definition "void FUN_0015d376(long param_1,undefined8 param_2)\n\n{\n FUN_0015c298(param_1,param_2);\n FUN_0015c298(param_1 + 0x88,param_2)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0015c298
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x88]
MOV ... |
void function_1(void *handle,type_1 *key)
{
type_1 *key_local;
void *handle_local;
type_2 *keys;
var_1(handle,key);
var_1((void *)((long)handle + 0x88),key);
return;
}
| (translation_unit "void des_sesskey(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n DESContext *keys;\n \n des_key(handle,key);\n des_key((void *)((long)handle + 0x88),key);\n return;\n}\n\n" (function_definition "void des_sesskey(void *handle,uchar *key)\n\n{\n uchar *key_local;\n vo... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(handle,key);\n var_1((void *)((long)handle + 0x88),key);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *ha... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
624_pscp_and_pscp_strip.c | ssh2_handle_winadj_response | FUN_0013b92f | ssh2_handle_winadj_response |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_handle_winadj_response(ssh_channel *c,Packet *pktin,void *ctx)
{
void *ctx_local;
Packet *pktin_local;
ssh_channel *c_local;
uint *sizep;
/* WARNING: Load size is inaccurate */
(c->v).v2.remlocwin = *c... |
void FUN_0013b92f(long param_1,undefined8 param_2,int *param_3)
{
*(int *)(param_1 + 0x50) = *param_3 + *(int *)(param_1 + 0x50);
FUN_0010ffb6(param_3);
if (*(int *)(param_1 + 0x68) == 1) {
*(undefined4 *)(param_1 + 0x68) = 2;
}
return;
}
| (translation_unit "void FUN_0013b92f(long param_1,undefined8 param_2,int *param_3)\n\n{\n *(int *)(param_1 + 0x50) = *param_3 + *(int *)(param_1 + 0x50);\n FUN_0010ffb6(param_3);\n if (*(int *)(param_1 + 0x68) == 1) {\n *(undefined4 *)(param_1 + 0x68) = 2;\n }\n return;\n}\n\n" (function_definition "void FUN_00... | 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 RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x50]
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c,type_2 *pktin,void *ctx)
{
void *ctx_local;
type_2 *pktin_local;
type_1 *c_local;
type_3 *sizep;
/* WARNING: Load size is inaccurate */
(c->v).v2.remlocwin = *ctx + (c->v).v2.remlocwin;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_handle_winadj_response(ssh_channel *c,Packet *pktin,void *ctx)\n\n{\n void *ctx_local;\n Packet *pktin_local;\n ssh_channel *c_local;\n uint *sizep;\n \n /* WARNING: Load size is inaccurate *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,type_2 *pktin,void *ctx)\n\n{\n void *ctx_local;\n type_2 *pktin_local;\n type_1 *c_local;\n type_3 *sizep;\n \n /* WARNING: Load size is inaccurate */\n (c->v).v2.remlocwin ... | (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... |
159_pscp_and_pscp_strip.c | free_key | FUN_0010a6f2 | free_key |
void free_key(key *key)
{
key *key_local;
if (subkeytypes[key->primary] == 2) {
safefree((key->secondary).s);
}
return;
}
|
void FUN_0010a6f2(int *param_1)
{
if (*(int *)(&DAT_001b5020 + (long)*param_1 * 4) == 2) {
FUN_0010ffb6(*(undefined8 *)(param_1 + 2));
}
return;
}
| (translation_unit "void FUN_0010a6f2(int *param_1)\n\n{\n if (*(int *)(&DAT_001b5020 + (long)*param_1 * 4) == 2) {\n FUN_0010ffb6(*(undefined8 *)(param_1 + 2));\n }\n return;\n}\n\n" (function_definition "void FUN_0010a6f2(int *param_1)\n\n{\n if (*(int *)(&DAT_001b5020 + (long)*param_1 * 4) == 2) {\n FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x1b5020]
MOV EAX,dword ptr [RDX + RAX*0x1]
CMP EAX,0x2
JNZ 0x0010a72d
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDI,RAX
CALL 0x0010ffb6
NOP
LEAV... |
void function_1(type_1 *type_1)
{
type_1 *key_local;
if (subkeytypes[type_1->primary] == 2) {
var_1((type_1->secondary).s);
}
return;
}
| (translation_unit "void free_key(key *key)\n\n{\n key *key_local;\n \n if (subkeytypes[key->primary] == 2) {\n safefree((key->secondary).s);\n }\n return;\n}\n\n" (function_definition "void free_key(key *key)\n\n{\n key *key_local;\n \n if (subkeytypes[key->primary] == 2) {\n safefree((key->secondary).s);... | (translation_unit "void function_1(type_1 *type_1)\n\n{\n type_1 *key_local;\n \n if (subkeytypes[type_1->primary] == 2) {\n var_1((type_1->secondary).s);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *type_1)\n\n{\n type_1 *key_local;\n \n if (subkeytypes[type_1->primary] == 2) {\n v... | (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... |
974_pscp_and_pscp_strip.c | MD5Init | FUN_00167db3 | MD5Init |
void MD5Init(MD5Context *s)
{
MD5Context *s_local;
MD5_Core_Init(&s->core);
s->blkused = 0;
s->lenlo = 0;
s->lenhi = s->lenlo;
return;
}
|
void FUN_00167db3(long param_1)
{
FUN_0016708d(param_1);
*(undefined4 *)(param_1 + 0x50) = 0;
*(undefined4 *)(param_1 + 0x58) = 0;
*(undefined4 *)(param_1 + 0x54) = *(undefined4 *)(param_1 + 0x58);
return;
}
| (translation_unit "void FUN_00167db3(long param_1)\n\n{\n FUN_0016708d(param_1);\n *(undefined4 *)(param_1 + 0x50) = 0;\n *(undefined4 *)(param_1 + 0x58) = 0;\n *(undefined4 *)(param_1 + 0x54) = *(undefined4 *)(param_1 + 0x58);\n return;\n}\n\n" (function_definition "void FUN_00167db3(long param_1)\n\n{\n FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x8
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0016708d
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x50],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x58],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RAX + 0x58]
MOV RAX,qwo... |
void function_1(type_1 *s)
{
type_1 *s_local;
var_1(&s->core);
s->blkused = 0;
s->lenlo = 0;
s->lenhi = s->lenlo;
return;
}
| (translation_unit "void MD5Init(MD5Context *s)\n\n{\n MD5Context *s_local;\n \n MD5_Core_Init(&s->core);\n s->blkused = 0;\n s->lenlo = 0;\n s->lenhi = s->lenlo;\n return;\n}\n\n" (function_definition "void MD5Init(MD5Context *s)\n\n{\n MD5Context *s_local;\n \n MD5_Core_Init(&s->core);\n s->blkused = 0;\n ... | (translation_unit "void function_1(type_1 *s)\n\n{\n type_1 *s_local;\n \n var_1(&s->core);\n s->blkused = 0;\n s->lenlo = 0;\n s->lenhi = s->lenlo;\n return;\n}\n\n" (function_definition "void function_1(type_1 *s)\n\n{\n type_1 *s_local;\n \n var_1(&s->core);\n s->blkused = 0;\n s->lenlo = 0;\n s->lenhi ... | (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... |
213_pscp_and_pscp_strip.c | log_init | FUN_0010e01c | 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_0010e01c(undefined8 param_1,undefined8 param_2)
{
undefined4 uVar1;
undefined8 *puVar2;
undefined8 uVar3;
puVar2 = (undefined8 *)FUN_0010fdaa(1,0x48);
*puVar2 = 0;
*(undefined4 *)(puVar2 + 1) = 0;
puVar2[6] = param_1;
uVar3 = FUN_0010aaea(param_2);
puVar2[7] = uVar3;
uVar1 = FU... | (translation_unit "undefined8 * FUN_0010e01c(undefined8 param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n undefined8 *puVar2;\n undefined8 uVar3;\n \n puVar2 = (undefined8 *)FUN_0010fdaa(1,0x48);\n *puVar2 = 0;\n *(undefined4 *)(puVar2 + 1) = 0;\n puVar2[6] = param_1;\n uVar3 = FUN_0010aaea(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 0x0010fdaa
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... |
625_pscp_and_pscp_strip.c | ssh2_msg_channel_response | FUN_0013b98b | ssh2_msg_channel_response |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_channel_response(Ssh_conflict ssh,Packet *pktin)
{
outstanding_channel_request *ptr;
ssh_channel *c_00;
Packet *pktin_local;
Ssh_conflict ssh_local;
ssh_channel *c;
outstanding_channel_request *ocr;
c_00 = ssh_cha... |
void FUN_0013b98b(undefined8 param_1,undefined8 param_2)
{
undefined8 *puVar1;
long lVar2;
lVar2 = FUN_0013b762(param_1,param_2);
if (lVar2 != 0) {
puVar1 = *(undefined8 **)(lVar2 + 0x58);
if (puVar1 == (undefined8 *)0x0) {
FUN_00144464(param_1,param_2);
}
else {
(*(code *)*puVa... | (translation_unit "void FUN_0013b98b(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n long lVar2;\n \n lVar2 = FUN_0013b762(param_1,param_2);\n if (lVar2 != 0) {\n puVar1 = *(undefined8 **)(lVar2 + 0x58);\n if (puVar1 == (undefined8 *)0x0) {\n FUN_00144464(param_1,param_2);\n }\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0013b762
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
JZ 0x0013ba27
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_3 *var_3;
type_4 *var_2;
type_2 *pktin_local;
type_1 ssh_local;
type_4 *c;
type_3 *ocr;
var_2 = var_1(ssh,pktin);
if (var_2 != (type_4 *)0x0) {
var_3 = (var_2->v).v2.chanre... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_response(Ssh_conflict ssh,Packet *pktin)\n\n{\n outstanding_channel_request *ptr;\n ssh_channel *c_00;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n outstanding_channel_reque... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_3 *var_3;\n type_4 *var_2;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_4 *c;\n type_3 *ocr;\n \n var_2 = var_1(ssh,pktin);\n if (var_2 != (type_4 *)0x0) {\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator... |
295_pscp_and_pscp_strip.c | sk_proxy_close | FUN_00111fe5 | sk_proxy_close |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_proxy_close(Socket s)
{
Socket s_local;
Proxy_Socket ps;
(**(code **)(s[2]->plug + 8))(s[2]);
sk_addr_free((SockAddr)s[4]);
safefree(s);
return;
}
|
void FUN_00111fe5(long param_1)
{
(**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));
FUN_00185e2a(*(undefined8 *)(param_1 + 0x20));
FUN_0010ffb6(param_1);
return;
}
| (translation_unit "void FUN_00111fe5(long param_1)\n\n{\n (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));\n FUN_00185e2a(*(undefined8 *)(param_1 + 0x20));\n FUN_0010ffb6(param_1);\n return;\n}\n\n" (function_definition "void FUN_00111fe5(long param_1)\n\n{\n (**(code **)(**(long **... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
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
C... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 s)
{
type_1 s_local;
type_2 ps;
(**(type_3 **)(s[2]->plug + 8))(s[2]);
var_1((type_4)s[4]);
var_2(s);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_proxy_close(Socket s)\n\n{\n Socket s_local;\n Proxy_Socket ps;\n \n (**(code **)(s[2]->plug + 8))(s[2]);\n sk_addr_free((SockAddr)s[4]);\n safefree(s);\n return;\n}\n\n" comment (function_definition "void sk_p... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 s)\n\n{\n type_1 s_local;\n type_2 ps;\n \n (**(type_3 **)(s[2]->plug + 8))(s[2]);\n var_1((type_4)s[4]);\n var_2(s);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 s)\n\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
309_pscp_and_pscp_strip.c | name_lookup | FUN_00112b67 | name_lookup |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
SockAddr name_lookup(char *host,int port,char **canonicalname,Conf *conf,int addressfamily,
void *frontend,char *reason)
{
int iVar1;
char *pcVar2;
SockAddr pSVar3;
void *frontend_local;
Conf *conf_local;
char **... |
void FUN_00112b67(undefined8 param_1,undefined4 param_2,undefined8 *param_3,undefined8 param_4,
undefined4 param_5,long param_6,undefined8 param_7)
{
int iVar1;
undefined8 uVar2;
iVar1 = FUN_0010ab18(param_4,0xd);
if ((iVar1 != 0) &&
(((iVar1 = FUN_0010ab18(param_4,0xb), iVar1 == 0 ||... | (translation_unit "void FUN_00112b67(undefined8 param_1,undefined4 param_2,undefined8 *param_3,undefined8 param_4,\n undefined4 param_5,long param_6,undefined8 param_7)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n iVar1 = FUN_0010ab18(param_4,0xd);\n if ((iVar1 != 0) &&\n (((iVar1 = FUN_0010ab18(... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV dword ptr [RBP + -0x20],R8D
MOV qword ptr [RBP + -0x38],R9
MOV RAX,qword ptr [RBP + -0x30]
MOV ESI,0xd
MOV RDI,RAX
CALL 0x0010ab18
TEST EAX,EAX
JZ 0x00112... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(char *host,int port,char **canonicalname,type_2 *conf,int addressfamily,
void *var_4,char *reason)
{
int var_2;
char *pcVar2;
type_1 pSVar3;
void *frontend_local;
type_2 *conf_local;
char **cano... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSockAddr name_lookup(char *host,int port,char **canonicalname,Conf *conf,int addressfamily,\n void *frontend,char *reason)\n\n{\n int iVar1;\n char *pcVar2;\n SockAddr pSVar3;\n void *frontend_local;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(char *host,int port,char **canonicalname,type_2 *conf,int addressfamily,\n void *var_4,char *reason)\n\n{\n int var_2;\n char *pcVar2;\n type_1 pSVar3;\n void *frontend_local;\n type_... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
416_pscp_and_pscp_strip.c | sftp_register | FUN_00123214 | sftp_register |
void sftp_register(sftp_request *req)
{
sftp_request *req_local;
req->registered = 1;
return;
}
|
void FUN_00123214(long param_1)
{
*(undefined4 *)(param_1 + 4) = 1;
return;
}
| (translation_unit "void FUN_00123214(long param_1)\n\n{\n *(undefined4 *)(param_1 + 4) = 1;\n return;\n}\n\n" (function_definition "void FUN_00123214(long param_1)\n\n{\n *(undefined4 *)(param_1 + 4) = 1;\n return;\n}" primitive_type (function_declarator "FUN_00123214(long param_1)" identifier (parameter_list "(lon... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x4],0x1
NOP
POP RBP
RET |
void function_1(type_1 *req)
{
type_1 *req_local;
req->registered = 1;
return;
}
| (translation_unit "void sftp_register(sftp_request *req)\n\n{\n sftp_request *req_local;\n \n req->registered = 1;\n return;\n}\n\n" (function_definition "void sftp_register(sftp_request *req)\n\n{\n sftp_request *req_local;\n \n req->registered = 1;\n return;\n}" primitive_type (function_declarator "sftp_regis... | (translation_unit "void function_1(type_1 *req)\n\n{\n type_1 *req_local;\n \n req->registered = 1;\n return;\n}\n\n" (function_definition "void function_1(type_1 *req)\n\n{\n type_1 *req_local;\n \n req->registered = 1;\n return;\n}" primitive_type (function_declarator "function_1(type_1 *req)" identifier (par... | (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... |
138_pscp_and_pscp_strip.c | _start | entry | _start |
void processEntry _start(undefined8 param_1,undefined8 param_2)
{
undefined auStack_8 [8];
(*(code *)PTR___libc_start_main_001b4fc8)
(main,param_2,&stack0x00000008,__libc_csu_init,__libc_csu_fini,param_1,auStack_8);
do {
/* WARNING: Do nothing block with infinite loop */
} w... |
void processEntry entry(undefined8 param_1,undefined8 param_2)
{
undefined auStack_8 [8];
(*(code *)PTR___libc_start_main_001b4fc8)
(FUN_0018b88a,param_2,&stack0x00000008,FUN_00191300,FUN_00191360,param_1,auStack_8);
do {
/* WARNING: Do nothing block with infinite loop */
} ... | (translation_unit "void processEntry entry(undefined8 param_1,undefined8 param_2)\n\n{\n undefined auStack_8 [8];\n \n (*(code *)PTR___libc_start_main_001b4fc8)\n (FUN_0018b88a,param_2,&stack0x00000008,FUN_00191300,FUN_00191360,param_1,auStack_8);\n do {\n /* WARNING: Do nothing block ... | XOR EBP,EBP
MOV R9,RDX
POP RSI
MOV RDX,RSP
AND RSP,-0x10
PUSH RAX
PUSH RSP
LEA R8,[0x191360]
LEA RCX,[0x191300]
LEA RDI,[0x18b88a]
CALL qword ptr [0x001b4fc8]
HLT |
void processEntry function_1(type_1 param_1,type_1 param_2)
{
type_2 auStack_8 [8];
(*(type_3 *)PTR___libc_start_main_001b4fc8)
(main,param_2,&stack0x00000008,__libc_csu_init,__libc_csu_fini,param_1,auStack_8);
do {
/* WARNING: Do nothing block with infinite loop */
} while(... | (translation_unit "void processEntry _start(undefined8 param_1,undefined8 param_2)\n\n{\n undefined auStack_8 [8];\n \n (*(code *)PTR___libc_start_main_001b4fc8)\n (main,param_2,&stack0x00000008,__libc_csu_init,__libc_csu_fini,param_1,auStack_8);\n do {\n /* WARNING: Do nothing block w... | (translation_unit "void processEntry function_1(type_1 param_1,type_1 param_2)\n\n{\n type_2 auStack_8 [8];\n \n (*(type_3 *)PTR___libc_start_main_001b4fc8)\n (main,param_2,&stack0x00000008,__libc_csu_init,__libc_csu_fini,param_1,auStack_8);\n do {\n /* WARNING: Do nothing block with i... | (translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) bod... |
199_pscp_and_pscp_strip.c | uint64_subtract | FUN_0010ccfd | uint64_subtract |
uint64 uint64_subtract(uint64 x,uint64 y)
{
uint64 uVar1;
ulong uVar2;
uint64 y_local;
uint64 x_local;
uVar2 = x.lo - y.lo & 0xffffffff;
uVar1.lo = uVar2;
uVar1.hi = (x.hi - y.hi) - (ulong)((y.lo ^ 0xffffffff) < uVar2) & 0xffffffff;
return uVar1;
}
|
int FUN_0010ccfd(int param_1,long param_2,int param_3,ulong param_4)
{
return (param_1 - param_3) - (uint)((param_4 ^ 0xffffffff) < (param_2 - param_4 & 0xffffffff));
}
| (translation_unit "int FUN_0010ccfd(int param_1,long param_2,int param_3,ulong param_4)\n\n{\n return (param_1 - param_3) - (uint)((param_4 ^ 0xffffffff) < (param_2 - param_4 & 0xffffffff));\n}\n\n" (function_definition "int FUN_0010ccfd(int param_1,long param_2,int param_3,ulong param_4)\n\n{\n return (param_1 - par... | PUSH RBP
MOV RBP,RSP
MOV R8,RDI
MOV RAX,RSI
MOV RSI,R8
MOV RDI,R9
MOV RDI,RAX
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x20],RDX
MOV qword ptr [RBP + -0x18],RCX
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x18]
SUB RDX,RAX
MOV RAX,RDX
MOV EAX,EAX
MOV qword ptr [R... |
type_1 function_1(type_1 x,type_1 y)
{
type_1 uVar1;
type_2 var_1;
type_1 y_local;
type_1 x_local;
var_1 = x.lo - y.lo & 0xffffffff;
uVar1.lo = var_1;
uVar1.hi = (x.hi - y.hi) - (type_2)((y.lo ^ 0xffffffff) < var_1) & 0xffffffff;
return uVar1;
}
| (translation_unit "uint64 uint64_subtract(uint64 x,uint64 y)\n\n{\n uint64 uVar1;\n ulong uVar2;\n uint64 y_local;\n uint64 x_local;\n \n uVar2 = x.lo - y.lo & 0xffffffff;\n uVar1.lo = uVar2;\n uVar1.hi = (x.hi - y.hi) - (ulong)((y.lo ^ 0xffffffff) < uVar2) & 0xffffffff;\n return uVar1;\n}\n\n" (function_defin... | (translation_unit "type_1 function_1(type_1 x,type_1 y)\n\n{\n type_1 uVar1;\n type_2 var_1;\n type_1 y_local;\n type_1 x_local;\n \n var_1 = x.lo - y.lo & 0xffffffff;\n uVar1.lo = var_1;\n uVar1.hi = (x.hi - y.hi) - (type_2)((y.lo ^ 0xffffffff) < var_1) & 0xffffffff;\n return uVar1;\n}\n\n" (function_definiti... | (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... |
218_pscp_and_pscp_strip.c | ctrlparse | FUN_0010e619 | ctrlparse |
char ctrlparse(char *s,char **next)
{
byte *pbVar1;
long lVar2;
char **next_local;
char *s_local;
char c;
c = '\0';
if (*s == '^') {
pbVar1 = (byte *)(s + 1);
if (*pbVar1 == 0) {
*next = (char *)0x0;
}
else if (*pbVar1 == 0x3c) {
lVar2 = strtol(s + 2,next,0);
c = (ch... |
byte FUN_0010e619(char *param_1,char **param_2)
{
byte *pbVar1;
long lVar2;
byte local_9;
local_9 = 0;
if (*param_1 == '^') {
pbVar1 = (byte *)(param_1 + 1);
if (*pbVar1 == 0) {
*param_2 = (char *)0x0;
}
else if (*pbVar1 == 0x3c) {
lVar2 = strtol(param_1 + 2,param_2,0);
... | (translation_unit "byte FUN_0010e619(char *param_1,char **param_2)\n\n{\n byte *pbVar1;\n long lVar2;\n byte local_9;\n \n local_9 = 0;\n if (*param_1 == '^') {\n pbVar1 = (byte *)(param_1 + 1);\n if (*pbVar1 == 0) {\n *param_2 = (char *)0x0;\n }\n else if (*pbVar1 == 0x3c) {\n lVar2 = strto... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV byte ptr [RBP + -0x1],0x0
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,byte ptr [RAX]
CMP AL,0x5e
JZ 0x0010e648
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RAX],0x0
JMP 0x0010e775
ADD qword ptr [RBP + -0x18],0x1
MOV RA... |
char function_1(char *var_1,char **next)
{
type_1 *pbVar1;
long lVar2;
char **next_local;
char *s_local;
char c;
c = '\0';
if (*var_1 == '^') {
pbVar1 = (type_1 *)(var_1 + 1);
if (*pbVar1 == 0) {
*next = (char *)0x0;
}
else if (*pbVar1 == 0x3c) {
lVar2 = var_2(var_1 + 2,ne... | (translation_unit "char ctrlparse(char *s,char **next)\n\n{\n byte *pbVar1;\n long lVar2;\n char **next_local;\n char *s_local;\n char c;\n \n c = '\0';\n if (*s == '^') {\n pbVar1 = (byte *)(s + 1);\n if (*pbVar1 == 0) {\n *next = (char *)0x0;\n }\n else if (*pbVar1 == 0x3c) {\n lVar2 = s... | (translation_unit "char function_1(char *var_1,char **next)\n\n{\n type_1 *pbVar1;\n long lVar2;\n char **next_local;\n char *s_local;\n char c;\n \n c = '\0';\n if (*var_1 == '^') {\n pbVar1 = (type_1 *)(var_1 + 1);\n if (*pbVar1 == 0) {\n *next = (char *)0x0;\n }\n else if (*pbVar1 == 0x3c) {... | (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_... |
454_pscp_and_pscp_strip.c | fxp_free_names | FUN_001247b5 | fxp_free_names |
void fxp_free_names(fxp_names *names)
{
fxp_names *names_local;
int i;
for (i = 0; i < names->nnames; i = i + 1) {
safefree(names->names[i].filename);
safefree(names->names[i].longname);
}
safefree(names->names);
safefree(names);
return;
}
|
void FUN_001247b5(int *param_1)
{
int local_c;
for (local_c = 0; local_c < *param_1; local_c = local_c + 1) {
FUN_0010ffb6(*(undefined8 *)((long)local_c * 0x50 + *(long *)(param_1 + 2)));
FUN_0010ffb6(*(undefined8 *)((long)local_c * 0x50 + *(long *)(param_1 + 2) + 8));
}
FUN_0010ffb6(*(undefined8 *... | (translation_unit "void FUN_001247b5(int *param_1)\n\n{\n int local_c;\n \n for (local_c = 0; local_c < *param_1; local_c = local_c + 1) {\n FUN_0010ffb6(*(undefined8 *)((long)local_c * 0x50 + *(long *)(param_1 + 2)));\n FUN_0010ffb6(*(undefined8 *)((long)local_c * 0x50 + *(long *)(param_1 + 2) + 8));\n }\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x00124823
MOV RAX,qword ptr [RBP + -0x18]
MOV RCX,qword ptr [RAX + 0x8]
MOV EAX,dword ptr [RBP + -0x4]
MOVSXD RDX,EAX
MOV RAX,RDX
SHL RAX,0x2
ADD RAX,RDX
SHL RAX,0x4
ADD RAX,RCX
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL... |
void function_1(type_1 *names)
{
type_1 *names_local;
int var_1;
for (var_1 = 0; var_1 < names->nnames; var_1 = var_1 + 1) {
var_2(names->names[var_1].filename);
var_2(names->names[var_1].longname);
}
var_2(names->names);
var_2(names);
return;
}
| (translation_unit "void fxp_free_names(fxp_names *names)\n\n{\n fxp_names *names_local;\n int i;\n \n for (i = 0; i < names->nnames; i = i + 1) {\n safefree(names->names[i].filename);\n safefree(names->names[i].longname);\n }\n safefree(names->names);\n safefree(names);\n return;\n}\n\n" (function_definit... | (translation_unit "void function_1(type_1 *names)\n\n{\n type_1 *names_local;\n int var_1;\n \n for (var_1 = 0; var_1 < names->nnames; var_1 = var_1 + 1) {\n var_2(names->names[var_1].filename);\n var_2(names->names[var_1].longname);\n }\n var_2(names->names);\n var_2(names);\n return;\n}\n\n" (function_d... | (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... |
262_pscp_and_pscp_strip.c | get_ssh_string | FUN_001104dd | get_ssh_string |
void * get_ssh_string(int *datalen,void **data,int *stringlen)
{
uint uVar1;
void *pvVar2;
int *stringlen_local;
void **data_local;
int *datalen_local;
uint len;
void *ret;
if (*datalen < 4) {
pvVar2 = (void *)0x0;
}
else {
/* WARNING: Load size is inaccurate */
uVar... |
long FUN_001104dd(int *param_1,long *param_2,uint *param_3)
{
uint uVar1;
long lVar2;
if (*param_1 < 4) {
lVar2 = 0;
}
else {
uVar1 = (uint)*(byte *)(*param_2 + 3) |
(uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |
(uint)*(byte *)(*param_2 + 2) << ... | (translation_unit "long FUN_001104dd(int *param_1,long *param_2,uint *param_3)\n\n{\n uint uVar1;\n long lVar2;\n \n if (*param_1 < 4) {\n lVar2 = 0;\n }\n else {\n uVar1 = (uint)*(byte *)(*param_2 + 3) |\n (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |\n (ui... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
CMP EAX,0x3
JG 0x00110502
MOV EAX,0x0
JMP 0x001105b3
MOV RAX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RAX]
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
... |
void * function_1(int *datalen,void **data,int *stringlen)
{
type_1 var_1;
void *pvVar2;
int *stringlen_local;
void **data_local;
int *datalen_local;
type_1 len;
void *ret;
if (*datalen < 4) {
pvVar2 = (void *)0x0;
}
else {
/* WARNING: Load size is inaccurate */
var_... | (translation_unit "void * get_ssh_string(int *datalen,void **data,int *stringlen)\n\n{\n uint uVar1;\n void *pvVar2;\n int *stringlen_local;\n void **data_local;\n int *datalen_local;\n uint len;\n void *ret;\n \n if (*datalen < 4) {\n pvVar2 = (void *)0x0;\n }\n else {\n /* WARNING: Lo... | (translation_unit "void * function_1(int *datalen,void **data,int *stringlen)\n\n{\n type_1 var_1;\n void *pvVar2;\n int *stringlen_local;\n void **data_local;\n int *datalen_local;\n type_1 len;\n void *ret;\n \n if (*datalen < 4) {\n pvVar2 = (void *)0x0;\n }\n else {\n /* WARNING: Lo... | (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... |
431_pscp_and_pscp_strip.c | fxp_close_recv | FUN_00123ac3 | fxp_close_recv |
int fxp_close_recv(sftp_packet *pktin,sftp_request *req)
{
sftp_request *req_local;
sftp_packet *pktin_local;
safefree(req);
fxp_got_status(pktin);
sftp_pkt_free(pktin);
return (int)(fxp_errtype == 0);
}
|
bool FUN_00123ac3(undefined8 param_1,undefined8 param_2)
{
FUN_0010ffb6(param_2);
FUN_00123360(param_1);
FUN_00122dd8(param_1);
return DAT_001b5978 == 0;
}
| (translation_unit "bool FUN_00123ac3(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0010ffb6(param_2);\n FUN_00123360(param_1);\n FUN_00122dd8(param_1);\n return DAT_001b5978 == 0;\n}\n\n" (function_definition "bool FUN_00123ac3(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0010ffb6(param_2);\n FUN_0012336... | 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 0x0010ffb6
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00123360
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00122dd8
MOV EAX,dword ptr [0x001b5978]
TEST EAX,EAX
S... |
int function_1(type_1 *pktin,type_2 *req)
{
type_2 *req_local;
type_1 *pktin_local;
var_1(req);
var_2(pktin);
var_3(pktin);
return (int)(var_4 == 0);
}
| (translation_unit "int fxp_close_recv(sftp_packet *pktin,sftp_request *req)\n\n{\n sftp_request *req_local;\n sftp_packet *pktin_local;\n \n safefree(req);\n fxp_got_status(pktin);\n sftp_pkt_free(pktin);\n return (int)(fxp_errtype == 0);\n}\n\n" (function_definition "int fxp_close_recv(sftp_packet *pktin,sftp_r... | (translation_unit "int function_1(type_1 *pktin,type_2 *req)\n\n{\n type_2 *req_local;\n type_1 *pktin_local;\n \n var_1(req);\n var_2(pktin);\n var_3(pktin);\n return (int)(var_4 == 0);\n}\n\n" (function_definition "int function_1(type_1 *pktin,type_2 *req)\n\n{\n type_2 *req_local;\n type_1 *pktin_local;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
948_pscp_and_pscp_strip.c | ecdsa_pubkey_bits | FUN_00164d0b | ecdsa_pubkey_bits |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ecdsa_pubkey_bits(ssh_signkey *self,void *blob,int len)
{
int iVar1;
void *key;
int len_local;
void *blob_local;
ssh_signkey *self_local;
int ret;
ec_key *ec;
key = ecdsa_newkey(self,(char *)blob,len);
if (key == (void ... |
undefined4 FUN_00164d0b(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined4 uVar1;
long lVar2;
lVar2 = FUN_001635cf(param_1,param_2,param_3);
if (lVar2 == 0) {
uVar1 = 0xffffffff;
}
else {
uVar1 = *(undefined4 *)(*(long *)(lVar2 + 8) + 0x18);
FUN_0016352b(lVar2);
}
re... | (translation_unit "undefined4 FUN_00164d0b(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n long lVar2;\n \n lVar2 = FUN_001635cf(param_1,param_2,param_3);\n if (lVar2 == 0) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = *(undefined4 *)(*(long *)(lVar2 + 8) + 0x18);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV EDX,dword ptr [RBP + -0x24]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001635cf
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *self,void *blob,int len)
{
int iVar1;
void *var_2;
int len_local;
void *blob_local;
type_1 *self_local;
int ret;
type_2 *ec;
var_2 = var_1(self,(char *)blob,len);
if (var_2 == (void *)0x0) {
iVar1... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ecdsa_pubkey_bits(ssh_signkey *self,void *blob,int len)\n\n{\n int iVar1;\n void *key;\n int len_local;\n void *blob_local;\n ssh_signkey *self_local;\n int ret;\n ec_key *ec;\n \n key = ecdsa_newkey(self,(char *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *self,void *blob,int len)\n\n{\n int iVar1;\n void *var_2;\n int len_local;\n void *blob_local;\n type_1 *self_local;\n int ret;\n type_2 *ec;\n \n var_2 = var_1(self,(char *)blob,len);\n if (v... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
781_pscp_and_pscp_strip.c | bigmul | FUN_00154b14 | bigmul |
Bignum_conflict bigmul(Bignum_conflict a,Bignum_conflict b)
{
Bignum_conflict pBVar1;
Bignum_conflict b_local;
Bignum_conflict a_local;
pBVar1 = bigmuladd(a,b,(Bignum_conflict)0x0);
return pBVar1;
}
|
void FUN_00154b14(undefined8 param_1,undefined8 param_2)
{
FUN_00154717(param_1,param_2,0);
return;
}
| (translation_unit "void FUN_00154b14(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00154717(param_1,param_2,0);\n return;\n}\n\n" (function_definition "void FUN_00154b14(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00154717(param_1,param_2,0);\n return;\n}" primitive_type (function_declarator "FUN_00154b14... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x0
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00154717
LEAVE
RET |
type_1 function_1(type_1 a,type_1 b)
{
type_1 pBVar1;
type_1 b_local;
type_1 a_local;
pBVar1 = var_1(a,b,(type_1)0x0);
return pBVar1;
}
| (translation_unit "Bignum_conflict bigmul(Bignum_conflict a,Bignum_conflict b)\n\n{\n Bignum_conflict pBVar1;\n Bignum_conflict b_local;\n Bignum_conflict a_local;\n \n pBVar1 = bigmuladd(a,b,(Bignum_conflict)0x0);\n return pBVar1;\n}\n\n" (function_definition "Bignum_conflict bigmul(Bignum_conflict a,Bignum_conf... | (translation_unit "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 pBVar1;\n type_1 b_local;\n type_1 a_local;\n \n pBVar1 = var_1(a,b,(type_1)0x0);\n return pBVar1;\n}\n\n" (function_definition "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 pBVar1;\n type_1 b_local;\n type_1 a_local;\n \n pBVar1 = v... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme... |
922_pscp_and_pscp_strip.c | ecp_mul_ | FUN_00162086 | ecp_mul_ |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_mul_(ec_point *a,Bignum b,int aminus3)
{
int iVar1;
int iVar2;
ec_point *peVar3;
int aminus3_local;
Bignum b_local;
ec_point *a_local;
int i;
int bits;
ec_point *A;
ec_point *ret;
ec_point *tmp;
ec_point *... |
undefined8 FUN_00162086(undefined8 *param_1,undefined8 param_2,undefined4 param_3)
{
int iVar1;
int iVar2;
undefined8 uVar3;
undefined4 local_30;
undefined8 local_28;
undefined8 local_20;
local_28 = FUN_00160268(param_1);
local_20 = FUN_001601f2(*param_1,0,0,0,1);
iVar1 = FUN_00153f9a(param_2);
... | (translation_unit "undefined8 FUN_00162086(undefined8 *param_1,undefined8 param_2,undefined4 param_3)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n undefined4 local_30;\n undefined8 local_28;\n undefined8 local_20;\n \n local_28 = FUN_00160268(param_1);\n local_20 = FUN_001601f2(*param_1,0,0,0,1);\n iV... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV dword ptr [RBP + -0x44],EDX
MOV RAX,qword ptr [RBP + -0x38]
MOV RDI,RAX
CALL 0x00160268
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX]
MOV R8D,0x1
MOV ECX,0x0
MOV EDX,0x0
MOV ES... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,type_2 b,int aminus3)
{
int var_5;
int var_7;
type_1 *peVar3;
int aminus3_local;
type_2 b_local;
type_1 *a_local;
int var_4;
int bits;
type_1 *A;
type_1 *ret;
type_1 *tmp;
type_1 *tmp_1;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_mul_(ec_point *a,Bignum b,int aminus3)\n\n{\n int iVar1;\n int iVar2;\n ec_point *peVar3;\n int aminus3_local;\n Bignum b_local;\n ec_point *a_local;\n int i;\n int bits;\n ec_point *A;\n ec_point *re... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *a,type_2 b,int aminus3)\n\n{\n int var_5;\n int var_7;\n type_1 *peVar3;\n int aminus3_local;\n type_2 b_local;\n type_1 *a_local;\n int var_4;\n int bits;\n type_1 *A;\n type_1 *ret;\n ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
851_pscp_and_pscp_strip.c | des3_key | FUN_0015bfd8 | des3_key |
void des3_key(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
DESContext *keys;
des_key_setup((uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3],
(uint)key[4] << 0x18 | (uint)key[5] << 0x10 | (uint)key[6] << 8 | (uint)key[7],
(DESCo... |
void FUN_0015bfd8(long param_1,byte *param_2)
{
FUN_0015882d((uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 |
(uint)param_2[3],
(uint)param_2[4] << 0x18 | (uint)param_2[5] << 0x10 | (uint)param_2[6] << 8 |
(uint)param_2[7],param_1);
FUN_00158... | (translation_unit "void FUN_0015bfd8(long param_1,byte *param_2)\n\n{\n FUN_0015882d((uint)*param_2 << 0x18 | (uint)param_2[1] << 0x10 | (uint)param_2[2] << 8 |\n (uint)param_2[3],\n (uint)param_2[4] << 0x18 | (uint)param_2[5] << 0x10 | (uint)param_2[6] << 8 |\n (uint)param_2[... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x20]
ADD RAX,0x4
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
SHL EAX,0x18
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x20]
ADD RAX,0x5
MOVZX EA... |
void function_1(void *handle,type_1 *var_2)
{
type_1 *key_local;
void *handle_local;
type_2 *keys;
var_1((type_3)*var_2 << 0x18 | (type_3)var_2[1] << 0x10 | (type_3)var_2[2] << 8 | (type_3)var_2[3],
(type_3)var_2[4] << 0x18 | (type_3)var_2[5] << 0x10 | (type_3)var_2[6] << 8 | (type_3)var_2[... | (translation_unit "void des3_key(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n DESContext *keys;\n \n des_key_setup((uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3],\n (uint)key[4] << 0x18 | (uint)key[5] << 0x10 | (uint)key[6] << 8 | (uint)key[... | (translation_unit "void function_1(void *handle,type_1 *var_2)\n\n{\n type_1 *key_local;\n void *handle_local;\n type_2 *keys;\n \n var_1((type_3)*var_2 << 0x18 | (type_3)var_2[1] << 0x10 | (type_3)var_2[2] << 8 | (type_3)var_2[3],\n (type_3)var_2[4] << 0x18 | (type_3)var_2[5] << 0x10 | (type_3)var_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
903_pscp_and_pscp_strip.c | ec_curve25519 | FUN_0015fdf5 | ec_curve25519 |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_curve * ec_curve25519(void)
{
if (ec_curve25519::initialised == '\0') {
initialise_mcurve(&ec_curve25519::curve,0x100,ec_curve25519::lexical_block_2::p,"","","");
ec_curve25519::curve.name ... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined * FUN_0015fdf5(void)
{
if (DAT_001b5b28 == '\0') {
FUN_0015fa9e(&DAT_001b5b40,0x100,&DAT_0019fb40,&DAT_0019fb60,&DAT_0019fb80,&DAT_0019fba0);
_DAT_001b5b48 = 0;
_DAT_001b5b50 = "Curve25519";
DAT_001b5b28 ... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined * FUN_0015fdf5(void)\n\n{\n if (DAT_001b5b28 == '\0') {\n FUN_0015fa9e(&DAT_001b5b40,0x100,&DAT_0019fb40,&DAT_0019fb60,&DAT_0019fb80,&DAT_0019fba0);\n _DAT_001b5b48 = 0;\n _DAT_001b5b50 = "Curv... | PUSH RBP
MOV RBP,RSP
MOVZX EAX,byte ptr [0x001b5b28]
TEST AL,AL
JNZ 0x0015fe51
LEA R9,[0x19fba0]
LEA R8,[0x19fb80]
LEA RCX,[0x19fb60]
LEA RDX,[0x19fb40]
MOV ESI,0x100
LEA RDI,[0x1b5b40]
CALL 0x0015fa9e
MOV qword ptr [0x001b5b48],0x0
LEA RAX,[0x19f4fb]
MOV qword ptr [0x001b5b50],RAX
MOV byte ptr [0x001b5b28],0x1
LEA RAX... |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(void)
{
if (function_1::initialised == '\0') {
var_1(&function_1::curve,0x100,function_1::lexical_block_2::p,"","","");
ec_curve25519::curve.name = (char *)0x0;
ec_curv... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_curve * ec_curve25519(void)\n\n{\n if (ec_curve25519::initialised == '\0') {\n initialise_mcurve(&ec_curve25519::curve,0x100,ec_curve25519::lexical_block_2::p,"","","");\n ... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void)\n\n{\n if (function_1::initialised == '\0') {\n var_1(&function_1::curve,0x100,function_1::lexical_block_2::p,"","","");\n ec_curve25519::curve.name ... | (translation_unit (comment) (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (if_statement condition: (parenthesized_exp... |
145_pscp_and_pscp_strip.c | log_proxy_stderr | FUN_00107c5d | log_proxy_stderr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void log_proxy_stderr(Plug plug,bufchain *buf,void *vdata,int len)
{
int len_00;
void *data_00;
char *ptr;
void *pvVar1;
int len_local;
void *vdata_local;
bufchain *buf_local;
Plug plug_local;
int pos;
int msglen;
char *da... |
void FUN_00107c5d(undefined8 *param_1,undefined8 param_2,long param_3,int param_4)
{
int iVar1;
long lVar2;
undefined8 uVar3;
void *pvVar4;
int local_30;
local_30 = 0;
while (local_30 < param_4) {
pvVar4 = memchr((void *)(local_30 + param_3),10,(long)(param_4 - local_30));
if (pvVar4 == (void... | (translation_unit "void FUN_00107c5d(undefined8 *param_1,undefined8 param_2,long param_3,int param_4)\n\n{\n int iVar1;\n long lVar2;\n undefined8 uVar3;\n void *pvVar4;\n int local_30;\n \n local_30 = 0;\n while (local_30 < param_4) {\n pvVar4 = memchr((void *)(local_30 + param_3),10,(long)(param_4 - local_... | 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 dword ptr [RBP + -0x4c],ECX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x20],RAX
MOV dword ptr [RBP + -0x28],0x0
JMP 0x00107da1
MOV EAX,dword ptr [RBP + -0x28]
MOVSXD RDX,EAX
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,type_2 *buf,void *vdata,int var_2)
{
int var_8;
void *data_00;
char *ptr;
void *var_4;
int len_local;
void *vdata_local;
type_2 *buf_local;
type_1 plug_local;
int var_1;
int msglen;
char *data;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid log_proxy_stderr(Plug plug,bufchain *buf,void *vdata,int len)\n\n{\n int len_00;\n void *data_00;\n char *ptr;\n void *pvVar1;\n int len_local;\n void *vdata_local;\n bufchain *buf_local;\n Plug plug_local;\n in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,type_2 *buf,void *vdata,int var_2)\n\n{\n int var_8;\n void *data_00;\n char *ptr;\n void *var_4;\n int len_local;\n void *vdata_local;\n type_2 *buf_local;\n type_1 plug_local;\n int var_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator... |
653_pscp_and_pscp_strip.c | ssh2_setup_env | FUN_0013e24b | ssh2_setup_env |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_setup_env(ssh_channel *c,Packet *pktin,void *ctx)
{
long in_FS_OFFSET;
void *ctx_local;
Packet *pktin_local;
ssh_channel *c_local;
char *key;
char *val;
Ssh_conflict ssh;
ssh2_setup_env_state *s;
int *crLine;
Packe... |
void FUN_0013e24b(long *param_1,long param_2,int *param_3)
{
long in_FS_OFFSET;
int *local_60;
undefined8 local_40;
long local_38;
long local_30;
int *local_28;
int *local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_30 = *param_1;
local_60 = para... | (translation_unit "void FUN_0013e24b(long *param_1,long param_2,int *param_3)\n\n{\n long in_FS_OFFSET;\n int *local_60;\n undefined8 local_40;\n long local_38;\n long local_30;\n int *local_28;\n int *local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV qword ptr [RBP + -0x58],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x28],RAX
CMP qword ptr [RBP + -0x58],0x0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c,type_2 *var_10,void *var_2)
{
long var_1;
void *ctx_local;
type_2 *pktin_local;
type_1 *c_local;
char *key;
char *var_5;
type_3 ssh;
type_4 *s;
int *crLine;
type_2 *pktout;
long var_14;
var_1... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_setup_env(ssh_channel *c,Packet *pktin,void *ctx)\n\n{\n long in_FS_OFFSET;\n void *ctx_local;\n Packet *pktin_local;\n ssh_channel *c_local;\n char *key;\n char *val;\n Ssh_conflict ssh;\n ssh2_setup_env_st... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,type_2 *var_10,void *var_2)\n\n{\n long var_1;\n void *ctx_local;\n type_2 *pktin_local;\n type_1 *c_local;\n char *key;\n char *var_5;\n type_3 ssh;\n type_4 *s;\n int *crLine;\n type_2 *p... | (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... |
418_pscp_and_pscp_strip.c | mkstr | FUN_00123309 | mkstr |
char * mkstr(char *s,int len)
{
char *__dest;
int len_local;
char *s_local;
char *p;
__dest = (char *)safemalloc((long)(len + 1),1);
memcpy(__dest,s,(long)len);
__dest[len] = '\0';
return __dest;
}
|
void * FUN_00123309(void *param_1,int param_2)
{
void *__dest;
__dest = (void *)FUN_0010fdaa((long)(param_2 + 1),1);
memcpy(__dest,param_1,(long)param_2);
*(undefined *)((long)__dest + (long)param_2) = 0;
return __dest;
}
| (translation_unit "void * FUN_00123309(void *param_1,int param_2)\n\n{\n void *__dest;\n \n __dest = (void *)FUN_0010fdaa((long)(param_2 + 1),1);\n memcpy(__dest,param_1,(long)param_2);\n *(undefined *)((long)__dest + (long)param_2) = 0;\n return __dest;\n}\n\n" (function_definition "void * FUN_00123309(void *par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV EAX,dword ptr [RBP + -0x1c]
ADD EAX,0x1
CDQE
MOV ESI,0x1
MOV RDI,RAX
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV EAX,dword ptr [RBP + -0x1c]
MOVSXD RDX,EAX
MOV RCX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RBP ... |
char * function_1(char *s,int var_2)
{
char *__dest;
int len_local;
char *s_local;
char *p;
__dest = (char *)var_1((long)(var_2 + 1),1);
var_3(__dest,s,(long)var_2);
__dest[var_2] = '\0';
return __dest;
}
| (translation_unit "char * mkstr(char *s,int len)\n\n{\n char *__dest;\n int len_local;\n char *s_local;\n char *p;\n \n __dest = (char *)safemalloc((long)(len + 1),1);\n memcpy(__dest,s,(long)len);\n __dest[len] = '\0';\n return __dest;\n}\n\n" (function_definition "char * mkstr(char *s,int len)\n\n{\n char *... | (translation_unit "char * function_1(char *s,int var_2)\n\n{\n char *__dest;\n int len_local;\n char *s_local;\n char *p;\n \n __dest = (char *)var_1((long)(var_2 + 1),1);\n var_3(__dest,s,(long)var_2);\n __dest[var_2] = '\0';\n return __dest;\n}\n\n" (function_definition "char * function_1(char *s,int var_2)\... | (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... |
800_pscp_and_pscp_strip.c | bigval_export_le | FUN_001565dd | bigval_export_le |
void bigval_export_le(bigval *r,void *vdata,int len)
{
int iVar1;
int len_local;
void *vdata_local;
bigval *r_local;
int i;
uchar *data;
for (i = 0; i < len; i = i + 1) {
iVar1 = i;
if (i < 0) {
iVar1 = i + 7;
}
*(char *)((long)vdata + (long)i) = (char)(r->w[iVar1 >> 3] >> ((byt... |
void FUN_001565dd(long param_1,long param_2,int param_3)
{
int iVar1;
undefined4 local_14;
for (local_14 = 0; local_14 < param_3; local_14 = local_14 + 1) {
iVar1 = local_14;
if (local_14 < 0) {
iVar1 = local_14 + 7;
}
*(char *)(param_2 + local_14) =
(char)(*(ulong *)(param_1 +... | (translation_unit "void FUN_001565dd(long param_1,long param_2,int param_3)\n\n{\n int iVar1;\n undefined4 local_14;\n \n for (local_14 = 0; local_14 < param_3; local_14 = local_14 + 1) {\n iVar1 = local_14;\n if (local_14 < 0) {\n iVar1 = local_14 + 7;\n }\n *(char *)(param_2 + local_14) =\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0xc],0x0
JMP 0x00156646
MOV EAX,dword ptr [RBP + -0xc]
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x3
MOV ... |
void function_1(type_1 *r,void *vdata,int var_2)
{
int var_3;
int len_local;
void *vdata_local;
type_1 *r_local;
int var_1;
type_2 *data;
for (var_1 = 0; var_1 < var_2; var_1 = var_1 + 1) {
var_3 = var_1;
if (var_1 < 0) {
var_3 = var_1 + 7;
}
*(char *)((long)vdata + (long)var_1)... | (translation_unit "void bigval_export_le(bigval *r,void *vdata,int len)\n\n{\n int iVar1;\n int len_local;\n void *vdata_local;\n bigval *r_local;\n int i;\n uchar *data;\n \n for (i = 0; i < len; i = i + 1) {\n iVar1 = i;\n if (i < 0) {\n iVar1 = i + 7;\n }\n *(char *)((long)vdata + (long)i) =... | (translation_unit "void function_1(type_1 *r,void *vdata,int var_2)\n\n{\n int var_3;\n int len_local;\n void *vdata_local;\n type_1 *r_local;\n int var_1;\n type_2 *data;\n \n for (var_1 = 0; var_1 < var_2; var_1 = var_1 + 1) {\n var_3 = var_1;\n if (var_1 < 0) {\n var_3 = var_1 + 7;\n }\n *(c... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
786_pscp_and_pscp_strip.c | bignum_add_long | FUN_00154fe2 | bignum_add_long |
Bignum_conflict bignum_add_long(Bignum_conflict number,ulong n)
{
BignumInt BVar1;
Bignum_conflict pBVar2;
ulong uVar3;
ulong uVar4;
ulong n_local;
Bignum_conflict number_local;
int words;
int i;
int maxwords;
BignumCarry carry;
Bignum_conflict ret;
BignumInt nword;
BignumInt numword;
Bign... |
long * FUN_00154fe2(ulong *param_1,ulong param_2)
{
long lVar1;
long *plVar2;
ulong uVar3;
ulong uVar4;
int local_64;
int local_60;
ulong local_58;
local_64 = (int)*param_1;
if (local_64 < 1) {
local_64 = 1;
}
plVar2 = (long *)FUN_00150056(local_64 + 1);
local_58 = 0;
*plVar2 = 0;
f... | (translation_unit "long * FUN_00154fe2(ulong *param_1,ulong param_2)\n\n{\n long lVar1;\n long *plVar2;\n ulong uVar3;\n ulong uVar4;\n int local_64;\n int local_60;\n ulong local_58;\n \n local_64 = (int)*param_1;\n if (local_64 < 1) {\n local_64 = 1;\n }\n plVar2 = (long *)FUN_00150056(local_64 + 1);\n... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
SUB RSP,0x50
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV dword ptr [RBP + -0x54],0x1
MOV RAX,qword ptr [RBP + -0x68]
MOV RAX,qword ptr [RAX]
MOV dword ptr [RBP + -0x5c],EAX
MOV EAX,dword ptr [RBP + -0x5c]
CMP EAX,dword ptr [RBP + -0x54]
JG... |
type_1 function_1(type_1 number,type_2 n)
{
type_3 BVar1;
type_1 pBVar2;
type_2 var_5;
type_2 var_4;
type_2 n_local;
type_1 number_local;
int var_1;
int var_3;
int maxwords;
type_4 var_6;
type_1 ret;
type_3 nword;
type_3 numword;
type_5 ADC_temp;
var_1 = (int)*number;
if (var_1 < 1)... | (translation_unit "Bignum_conflict bignum_add_long(Bignum_conflict number,ulong n)\n\n{\n BignumInt BVar1;\n Bignum_conflict pBVar2;\n ulong uVar3;\n ulong uVar4;\n ulong n_local;\n Bignum_conflict number_local;\n int words;\n int i;\n int maxwords;\n BignumCarry carry;\n Bignum_conflict ret;\n BignumInt nw... | (translation_unit "type_1 function_1(type_1 number,type_2 n)\n\n{\n type_3 BVar1;\n type_1 pBVar2;\n type_2 var_5;\n type_2 var_4;\n type_2 n_local;\n type_1 number_local;\n int var_1;\n int var_3;\n int maxwords;\n type_4 var_6;\n type_1 ret;\n type_3 nword;\n type_3 numword;\n type_5 ADC_temp;\n \n va... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme... |
751_pscp_and_pscp_strip.c | mul_compute_scratch | FUN_001503c9 | mul_compute_scratch |
int mul_compute_scratch(int len)
{
int len_local;
int ret;
int toplen;
int botlen;
int midlen;
ret = 0;
len_local = len;
while (0x32 < len_local) {
len_local = (len_local - len_local / 2) + 1;
ret = ret + len_local * 4;
}
return ret;
}
|
int FUN_001503c9(int param_1)
{
undefined4 local_1c;
undefined4 local_18;
local_18 = 0;
local_1c = param_1;
while (0x32 < local_1c) {
local_1c = (local_1c - local_1c / 2) + 1;
local_18 = local_18 + local_1c * 4;
}
return local_18;
}
| (translation_unit "int FUN_001503c9(int param_1)\n\n{\n undefined4 local_1c;\n undefined4 local_18;\n \n local_18 = 0;\n local_1c = param_1;\n while (0x32 < local_1c) {\n local_1c = (local_1c - local_1c / 2) + 1;\n local_18 = local_18 + local_1c * 4;\n }\n return local_18;\n}\n\n" (function_definition "in... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x14],EDI
MOV dword ptr [RBP + -0x10],0x0
JMP 0x00150409
MOV EAX,dword ptr [RBP + -0x14]
MOV EDX,EAX
SHR EDX,0x1f
ADD EAX,EDX
SAR EAX,0x1
MOV dword ptr [RBP + -0xc],EAX
MOV EAX,dword ptr [RBP + -0x14]
SUB EAX,dword ptr [RBP + -0xc]
MOV dword ptr [RBP + -0x8],EAX
MOV EAX,dword ... |
int function_1(int len)
{
int var_1;
int var_2;
int toplen;
int botlen;
int midlen;
var_2 = 0;
var_1 = len;
while (0x32 < var_1) {
var_1 = (var_1 - var_1 / 2) + 1;
var_2 = var_2 + var_1 * 4;
}
return var_2;
}
| (translation_unit "int mul_compute_scratch(int len)\n\n{\n int len_local;\n int ret;\n int toplen;\n int botlen;\n int midlen;\n \n ret = 0;\n len_local = len;\n while (0x32 < len_local) {\n len_local = (len_local - len_local / 2) + 1;\n ret = ret + len_local * 4;\n }\n return ret;\n}\n\n" (function_de... | (translation_unit "int function_1(int len)\n\n{\n int var_1;\n int var_2;\n int toplen;\n int botlen;\n int midlen;\n \n var_2 = 0;\n var_1 = len;\n while (0x32 < var_1) {\n var_1 = (var_1 - var_1 / 2) + 1;\n var_2 = var_2 + var_1 * 4;\n }\n return var_2;\n}\n\n" (function_definition "int function_1(in... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declarati... |
929_pscp_and_pscp_strip.c | ec_public | FUN_001628a5 | ec_public |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ec_public(Bignum privateKey,ec_curve *curve)
{
long lVar1;
int iVar2;
ec_point *peVar3;
long in_FS_OFFSET;
ec_curve *curve_local;
Bignum privateKey_local;
uchar b;
int i;
int keylen;
Bignum a;
ec_point *ret;
S... |
undefined8 FUN_001628a5(undefined8 param_1,int *param_2)
{
undefined8 uVar1;
long in_FS_OFFSET;
undefined local_191;
int local_190;
uint local_18c;
undefined8 local_188;
undefined8 local_180;
undefined local_178 [288];
byte local_58 [31];
byte local_39;
long local_10;
local_10 = *(long *)(i... | (translation_unit "undefined8 FUN_001628a5(undefined8 param_1,int *param_2)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined local_191;\n int local_190;\n uint local_18c;\n undefined8 local_188;\n undefined8 local_180;\n undefined local_178 [288];\n byte local_58 [31];\n byte local_39;\n long local_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x1a0
MOV qword ptr [RBP + -0x198],RDI
MOV qword ptr [RBP + -0x1a0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x1a0]
MOV EAX,dword ptr [RAX]
TEST EAX,EAX
JNZ 0x001628fc
MOV RAX,qword ptr [RBP + -0x1a0]
LEA RDX,[RAX + 0x40]
MOV RAX,q... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 privateKey,type_3 *curve)
{
long var_13;
int iVar2;
type_1 *peVar3;
long var_1;
type_3 *curve_local;
type_2 privateKey_local;
type_4 b;
int var_6;
int var_7;
type_2 a;
type_1 *ret;
type_5 s;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ec_public(Bignum privateKey,ec_curve *curve)\n\n{\n long lVar1;\n int iVar2;\n ec_point *peVar3;\n long in_FS_OFFSET;\n ec_curve *curve_local;\n Bignum privateKey_local;\n uchar b;\n int i;\n int keylen;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 privateKey,type_3 *curve)\n\n{\n long var_13;\n int iVar2;\n type_1 *peVar3;\n long var_1;\n type_3 *curve_local;\n type_2 privateKey_local;\n type_4 b;\n int var_6;\n int var_7;\n type_2 ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarato... |
235_pscp_and_pscp_strip.c | dupprintf | FUN_0010f1ea | 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_0010f1ea(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_0010f1ea(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 0x0010f243
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... |
657_pscp_and_pscp_strip.c | ssh2_msg_disconnect | FUN_00144201 | 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_00144201(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_0012afd8(param_2);
... | (translation_unit "void FUN_00144201(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 0x0012afd8
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... |
931_pscp_and_pscp_strip.c | _ecdsa_sign | FUN_00162cc5 | _ecdsa_sign |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void _ecdsa_sign(Bignum privateKey,ec_curve *curve,uchar *data,int dataLen,Bignum *r,Bignum *s)
{
long lVar1;
int iVar2;
int iVar3;
Bignum_conflict pBVar4;
Bignum *number;
ec_point *point;
Bignum_conflict pBVar5;
Bignum_conflict... |
void FUN_00162cc5(undefined8 param_1,int *param_2,undefined8 param_3,undefined4 param_4,
undefined8 *param_5,undefined8 *param_6)
{
int iVar1;
int iVar2;
undefined8 uVar3;
long lVar4;
undefined8 uVar5;
undefined8 uVar6;
undefined8 uVar7;
long in_FS_OFFSET;
undefined8 local_70;
und... | (translation_unit "void FUN_00162cc5(undefined8 param_1,int *param_2,undefined8 param_3,undefined4 param_4,\n undefined8 *param_5,undefined8 *param_6)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n long lVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n undefined8 uVar7;\n long in_FS_OFFSET;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xa0
MOV qword ptr [RBP + -0x78],RDI
MOV qword ptr [RBP + -0x80],RSI
MOV qword ptr [RBP + -0x88],RDX
MOV dword ptr [RBP + -0x8c],ECX
MOV qword ptr [RBP + -0x98],R8
MOV qword ptr [RBP + -0xa0],R9
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 privateKey,type_2 *curve,type_3 *data,int dataLen,type_1 *var_16,type_1 *s)
{
long var_20;
int var_5;
int var_6;
type_4 pBVar4;
type_1 *number;
type_5 *var_12;
type_4 var_19;
type_4 pBVar6;
long var_1;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid _ecdsa_sign(Bignum privateKey,ec_curve *curve,uchar *data,int dataLen,Bignum *r,Bignum *s)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n Bignum_conflict pBVar4;\n Bignum *number;\n ec_point *point;\n Bignum_confl... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 privateKey,type_2 *curve,type_3 *data,int dataLen,type_1 *var_16,type_1 *s)\n\n{\n long var_20;\n int var_5;\n int var_6;\n type_4 pBVar4;\n type_1 *number;\n type_5 *var_12;\n type_4 var_19;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator... |
768_pscp_and_pscp_strip.c | bignum_random_in_range | FUN_00153d72 | bignum_random_in_range |
Bignum_conflict bignum_random_in_range(Bignum_conflict lower,Bignum_conflict upper)
{
int iVar1;
int iVar2;
uchar *data;
Bignum_conflict upper_local;
Bignum_conflict lower_local;
int upper_bytes;
int i;
int upper_len;
int upper_bits;
Bignum_conflict ret;
uchar *bytes;
ret = (Bignum_conflict... |
long FUN_00153d72(undefined8 param_1,undefined8 param_2)
{
undefined uVar1;
int iVar2;
int iVar3;
long lVar4;
undefined4 local_28;
undefined4 local_24;
undefined8 local_18;
local_18 = 0;
iVar2 = FUN_00153f9a(param_2);
local_28 = iVar2;
if (iVar2 < 0) {
local_28 = iVar2 + 7;
}
local_28... | (translation_unit "long FUN_00153d72(undefined8 param_1,undefined8 param_2)\n\n{\n undefined uVar1;\n int iVar2;\n int iVar3;\n long lVar4;\n undefined4 local_28;\n undefined4 local_24;\n undefined8 local_18;\n \n local_18 = 0;\n iVar2 = FUN_00153f9a(param_2);\n local_28 = iVar2;\n if (iVar2 < 0) {\n loc... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x10],0x0
MOV RAX,qword ptr [RBP + -0x30]
MOV RDI,RAX
CALL 0x00153f9a
MOV dword ptr [RBP + -0x18],EAX
MOV EAX,dword ptr [RBP + -0x18]
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x3
MOV dwo... |
type_1 function_1(type_1 lower,type_1 upper)
{
int var_2;
int var_3;
type_2 *data;
type_1 upper_local;
type_1 lower_local;
int var_4;
int var_8;
int upper_len;
int upper_bits;
type_1 var_6;
type_2 *bytes;
var_6 = (type_1)0x0;
var_2 = var_1(upper);
var_3 = var_2;
if (var_2 < 0) {
v... | (translation_unit "Bignum_conflict bignum_random_in_range(Bignum_conflict lower,Bignum_conflict upper)\n\n{\n int iVar1;\n int iVar2;\n uchar *data;\n Bignum_conflict upper_local;\n Bignum_conflict lower_local;\n int upper_bytes;\n int i;\n int upper_len;\n int upper_bits;\n Bignum_conflict ret;\n uchar *byt... | (translation_unit "type_1 function_1(type_1 lower,type_1 upper)\n\n{\n int var_2;\n int var_3;\n type_2 *data;\n type_1 upper_local;\n type_1 lower_local;\n int var_4;\n int var_8;\n int upper_len;\n int upper_bits;\n type_1 var_6;\n type_2 *bytes;\n \n var_6 = (type_1)0x0;\n var_2 = var_1(upper);\n var_... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme... |
822_pscp_and_pscp_strip.c | ccp_key | FUN_00157f35 | ccp_key |
void ccp_key(void *vctx,uchar *key)
{
uchar *key_local;
void *vctx_local;
ccp_context *ctx;
chacha20_key((chacha20 *)vctx,key + 0x20);
chacha20_key((chacha20 *)((long)vctx + 0x84),key);
return;
}
|
void FUN_00157f35(long param_1,long param_2)
{
FUN_00156011(param_1,param_2 + 0x20);
FUN_00156011(param_1 + 0x84,param_2);
return;
}
| (translation_unit "void FUN_00157f35(long param_1,long param_2)\n\n{\n FUN_00156011(param_1,param_2 + 0x20);\n FUN_00156011(param_1 + 0x84,param_2);\n return;\n}\n\n" (function_definition "void FUN_00157f35(long param_1,long param_2)\n\n{\n FUN_00156011(param_1,param_2 + 0x20);\n FUN_00156011(param_1 + 0x84,param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x20]
LEA RDX,[RAX + 0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00156011
MOV RAX,qword ptr [RBP + -0x8]
LEA ... |
void function_1(void *vctx,type_1 *var_2)
{
type_1 *key_local;
void *vctx_local;
type_2 *ctx;
var_1((type_3 *)vctx,var_2 + 0x20);
var_1((type_3 *)((long)vctx + 0x84),var_2);
return;
}
| (translation_unit "void ccp_key(void *vctx,uchar *key)\n\n{\n uchar *key_local;\n void *vctx_local;\n ccp_context *ctx;\n \n chacha20_key((chacha20 *)vctx,key + 0x20);\n chacha20_key((chacha20 *)((long)vctx + 0x84),key);\n return;\n}\n\n" (function_definition "void ccp_key(void *vctx,uchar *key)\n\n{\n uchar *k... | (translation_unit "void function_1(void *vctx,type_1 *var_2)\n\n{\n type_1 *key_local;\n void *vctx_local;\n type_2 *ctx;\n \n var_1((type_3 *)vctx,var_2 + 0x20);\n var_1((type_3 *)((long)vctx + 0x84),var_2);\n return;\n}\n\n" (function_definition "void function_1(void *vctx,type_1 *var_2)\n\n{\n type_1 *key_lo... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
935_pscp_and_pscp_strip.c | decodepoint_ed | FUN_001631a0 | decodepoint_ed |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int decodepoint_ed(char *p,int length,ec_point *point)
{
uint uVar1;
int iVar2;
Bignum_conflict pBVar3;
Bignum *ppvVar4;
ec_point *point_local;
int length_local;
char *p_local;
int negative;
Bignum tmp;
pBVar3 = bignum_fr... |
undefined8 FUN_001631a0(undefined8 param_1,undefined4 param_2,long *param_3)
{
uint uVar1;
int iVar2;
long lVar3;
undefined8 uVar4;
lVar3 = FUN_00153b52(param_1,param_2);
param_3[2] = lVar3;
uVar1 = FUN_00153f9a(param_3[2]);
if (*(uint *)(*param_3 + 0x18) < uVar1) {
FUN_00150186(param_3[2]);
... | (translation_unit "undefined8 FUN_001631a0(undefined8 param_1,undefined4 param_2,long *param_3)\n\n{\n uint uVar1;\n int iVar2;\n long lVar3;\n undefined8 uVar4;\n \n lVar3 = FUN_00153b52(param_1,param_2);\n param_3[2] = lVar3;\n uVar1 = FUN_00153f9a(param_3[2]);\n if (*(uint *)(*param_3 + 0x18) < uVar1) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV EDX,dword ptr [RBP + -0x1c]
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,EDX
MOV RDI,RAX
CALL 0x00153b52
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RAX + 0x10],RDX
MOV RAX,qwo... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(char *p,int length,type_1 *point)
{
type_2 var_3;
int var_9;
type_3 pBVar3;
type_4 *ppvVar4;
type_1 *point_local;
int length_local;
char *p_local;
int negative;
type_4 tmp;
pBVar3 = var_1((type_5 *)p,length... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint decodepoint_ed(char *p,int length,ec_point *point)\n\n{\n uint uVar1;\n int iVar2;\n Bignum_conflict pBVar3;\n Bignum *ppvVar4;\n ec_point *point_local;\n int length_local;\n char *p_local;\n int negative;\n Bign... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(char *p,int length,type_1 *point)\n\n{\n type_2 var_3;\n int var_9;\n type_3 pBVar3;\n type_4 *ppvVar4;\n type_1 *point_local;\n int length_local;\n char *p_local;\n int negative;\n type_4 tmp;\n \n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:... |
640_pscp_and_pscp_strip.c | ssh2_msg_channel_open_failure | FUN_0013c775 | ssh2_msg_channel_open_failure |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_channel_open_failure(Ssh_conflict ssh,Packet *pktin)
{
ssh_channel *e;
char *ptr;
Packet *pktin_local;
Ssh_conflict ssh_local;
ssh_channel *c;
char *errtext;
e = ssh_channel_msg(ssh,pktin);
if (e != (ssh_channel... |
void FUN_0013c775(long param_1,undefined8 param_2)
{
long lVar1;
undefined8 uVar2;
lVar1 = FUN_0013b762(param_1,param_2);
if (lVar1 != 0) {
if (*(int *)(lVar1 + 0x14) == 0) {
/* WARNING: Subroutine does not return */
__assert_fail("c->halfopen","ssh.c",0x2163,"ssh2_msg_channel... | (translation_unit "void FUN_0013c775(long param_1,undefined8 param_2)\n\n{\n long lVar1;\n undefined8 uVar2;\n \n lVar1 = FUN_0013b762(param_1,param_2);\n if (lVar1 != 0) {\n if (*(int *)(lVar1 + 0x14) == 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("c->halfopen","ssh... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0013b762
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
JZ 0x0013c87a
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_3 *var_2;
char *ptr;
type_2 *pktin_local;
type_1 ssh_local;
type_3 *c;
char *errtext;
var_2 = var_1(ssh,pktin);
if (var_2 != (type_3 *)0x0) {
if (var_2->halfopen == 0) {
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_channel_open_failure(Ssh_conflict ssh,Packet *pktin)\n\n{\n ssh_channel *e;\n char *ptr;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n ssh_channel *c;\n char *errtext;\n \n e = ssh_channel_msg(ssh,p... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_3 *var_2;\n char *ptr;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_3 *c;\n char *errtext;\n \n var_2 = var_1(ssh,pktin);\n if (var_2 != (type_3 *)0x0) {\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator... |
890_pscp_and_pscp_strip.c | dss_private_blob | FUN_0015e9e4 | dss_private_blob |
uchar * dss_private_blob(void *key,int *len)
{
int iVar1;
int iVar2;
uchar *puVar3;
int *len_local;
void *key_local;
int i;
int xlen;
int bloblen;
uchar *p;
dss_key *dss;
uchar *blob;
iVar1 = bignum_bitcount(*(Bignum_conflict *)((long)key + 0x20));
iVar2 = iVar1 + 8;
if (iVar1 + 8 < 0) ... |
char * FUN_0015e9e4(long param_1,int *param_2)
{
char cVar1;
int iVar2;
int iVar3;
char *pcVar4;
int local_2c;
char *local_20;
iVar2 = FUN_00153f9a(*(undefined8 *)(param_1 + 0x20));
iVar3 = iVar2 + 8;
if (iVar2 + 8 < 0) {
iVar3 = iVar2 + 0xf;
}
local_2c = iVar3 >> 3;
iVar2 = local_2c + ... | (translation_unit "char * FUN_0015e9e4(long param_1,int *param_2)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n char *pcVar4;\n int local_2c;\n char *local_20;\n \n iVar2 = FUN_00153f9a(*(undefined8 *)(param_1 + 0x20));\n iVar3 = iVar2 + 8;\n if (iVar2 + 8 < 0) {\n iVar3 = iVar2 + 0xf;\n }\n local_2c = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x20]
MOV RDI,RAX
CALL 0x00153f9a
ADD EAX,0x8
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,... |
type_1 * function_1(void *key,int *len)
{
int var_2;
int var_3;
type_1 *var_6;
int *len_local;
void *key_local;
int var_4;
int xlen;
int bloblen;
type_1 *var_8;
type_2 *dss;
type_1 *blob;
var_2 = var_1(*(type_3 *)((long)key + 0x20));
var_3 = var_2 + 8;
if (var_2 + 8 < 0) {
var_3 = v... | (translation_unit "uchar * dss_private_blob(void *key,int *len)\n\n{\n int iVar1;\n int iVar2;\n uchar *puVar3;\n int *len_local;\n void *key_local;\n int i;\n int xlen;\n int bloblen;\n uchar *p;\n dss_key *dss;\n uchar *blob;\n \n iVar1 = bignum_bitcount(*(Bignum_conflict *)((long)key + 0x20));\n iVar2 ... | (translation_unit "type_1 * function_1(void *key,int *len)\n\n{\n int var_2;\n int var_3;\n type_1 *var_6;\n int *len_local;\n void *key_local;\n int var_4;\n int xlen;\n int bloblen;\n type_1 *var_8;\n type_2 *dss;\n type_1 *blob;\n \n var_2 = var_1(*(type_3 *)((long)key + 0x20));\n var_3 = var_2 + 8;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
776_pscp_and_pscp_strip.c | ssh1_write_bignum | FUN_00154214 | ssh1_write_bignum |
int ssh1_write_bignum(void *data,Bignum_conflict bn)
{
int iVar1;
int iVar2;
Bignum_conflict bn_local;
void *data_local;
int i;
int len;
int bitc;
uchar *p;
iVar1 = ssh1_bignum_length(bn);
iVar2 = bignum_bitcount(bn);
*(char *)data = (char)((uint)iVar2 >> 8);
*(char *)((long)data + 1) = (ch... |
int FUN_00154214(undefined *param_1,undefined8 param_2)
{
undefined uVar1;
undefined2 uVar2;
int iVar3;
int local_1c;
undefined *local_10;
iVar3 = FUN_00154007(param_2);
uVar2 = FUN_00153f9a(param_2);
*param_1 = (char)((ushort)uVar2 >> 8);
param_1[1] = (char)uVar2;
local_1c = iVar3 + -2;
loca... | (translation_unit "int FUN_00154214(undefined *param_1,undefined8 param_2)\n\n{\n undefined uVar1;\n undefined2 uVar2;\n int iVar3;\n int local_1c;\n undefined *local_10;\n \n iVar3 = FUN_00154007(param_2);\n uVar2 = FUN_00153f9a(param_2);\n *param_1 = (char)((ushort)uVar2 >> 8);\n param_1[1] = (char)uVar2;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x30]
MOV RDI,RAX
CALL 0x00154007
MOV dword ptr [RBP + -0x10],EAX
MOV RAX,qword ptr [RBP + -0x30]
MOV RDI,RAX
CALL 0x00153f9a
MOV dwo... |
int function_1(void *data,type_1 bn)
{
int var_3;
int iVar2;
type_1 bn_local;
void *data_local;
int var_4;
int len;
int bitc;
type_2 *var_6;
var_3 = var_1(bn);
iVar2 = var_2(bn);
*(char *)data = (char)((type_3)iVar2 >> 8);
*(char *)((long)data + 1) = (char)iVar2;
var_4 = var_3 + -2;
var... | (translation_unit "int ssh1_write_bignum(void *data,Bignum_conflict bn)\n\n{\n int iVar1;\n int iVar2;\n Bignum_conflict bn_local;\n void *data_local;\n int i;\n int len;\n int bitc;\n uchar *p;\n \n iVar1 = ssh1_bignum_length(bn);\n iVar2 = bignum_bitcount(bn);\n *(char *)data = (char)((uint)iVar2 >> 8);\n... | (translation_unit "int function_1(void *data,type_1 bn)\n\n{\n int var_3;\n int iVar2;\n type_1 bn_local;\n void *data_local;\n int var_4;\n int len;\n int bitc;\n type_2 *var_6;\n \n var_3 = var_1(bn);\n iVar2 = var_2(bn);\n *(char *)data = (char)((type_3)iVar2 >> 8);\n *(char *)((long)data + 1) = (char)i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identif... |
402_pscp_and_pscp_strip.c | sftp_pkt_addstring_data | FUN_00122745 | sftp_pkt_addstring_data |
void sftp_pkt_addstring_data(sftp_packet *pkt,char *data,int len)
{
int len_local;
char *data_local;
sftp_packet *pkt_local;
sftp_pkt_adddata(pkt,data,len);
pkt->data[(ulong)pkt->savedpos - 4] = (char)(pkt->length - pkt->savedpos >> 0x18);
pkt->data[(ulong)pkt->savedpos - 3] = (char)(pkt->length - pkt-... |
void FUN_00122745(long *param_1,undefined8 param_2,undefined4 param_3)
{
FUN_001223e9(param_1,param_2,param_3);
*(char *)(((ulong)*(uint *)(param_1 + 2) - 4) + *param_1) =
(char)((uint)(*(int *)(param_1 + 1) - *(int *)(param_1 + 2)) >> 0x18);
*(char *)(((ulong)*(uint *)(param_1 + 2) - 3) + *param_1) =
... | (translation_unit "void FUN_00122745(long *param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001223e9(param_1,param_2,param_3);\n *(char *)(((ulong)*(uint *)(param_1 + 2) - 4) + *param_1) =\n (char)((uint)(*(int *)(param_1 + 1) - *(int *)(param_1 + 2)) >> 0x18);\n *(char *)(((ulong)*(uint *)(param_1 + ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV EDX,dword ptr [RBP + -0x14]
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001223e9
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RAX + ... |
void function_1(type_1 *pkt,char *data,int len)
{
int len_local;
char *data_local;
type_1 *pkt_local;
var_1(pkt,data,len);
pkt->data[(type_2)pkt->savedpos - 4] = (char)(pkt->length - pkt->savedpos >> 0x18);
pkt->data[(type_2)pkt->savedpos - 3] = (char)(pkt->length - pkt->savedpos >> 0x10);
pkt->data[... | (translation_unit "void sftp_pkt_addstring_data(sftp_packet *pkt,char *data,int len)\n\n{\n int len_local;\n char *data_local;\n sftp_packet *pkt_local;\n \n sftp_pkt_adddata(pkt,data,len);\n pkt->data[(ulong)pkt->savedpos - 4] = (char)(pkt->length - pkt->savedpos >> 0x18);\n pkt->data[(ulong)pkt->savedpos - 3] ... | (translation_unit "void function_1(type_1 *pkt,char *data,int len)\n\n{\n int len_local;\n char *data_local;\n type_1 *pkt_local;\n \n var_1(pkt,data,len);\n pkt->data[(type_2)pkt->savedpos - 4] = (char)(pkt->length - pkt->savedpos >> 0x18);\n pkt->data[(type_2)pkt->savedpos - 3] = (char)(pkt->length - pkt->save... | (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... |
988_pscp_and_pscp_strip.c | hmacmd5_do_hmac_ssh | FUN_00168799 | hmacmd5_do_hmac_ssh |
void hmacmd5_do_hmac_ssh(void *handle,uchar *blk,int len,ulong seq,uchar *hmac)
{
long lVar1;
long in_FS_OFFSET;
uchar *hmac_local;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
uchar seqbuf [16];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
seqbuf[0] = (uchar)(seq >> 0x18);
... |
void FUN_00168799(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined8 param_5)
{
long in_FS_OFFSET;
undefined local_28;
undefined local_27;
undefined local_26;
undefined local_25;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28... | (translation_unit "void FUN_00168799(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined8 param_5)\n\n{\n long in_FS_OFFSET;\n undefined local_28;\n undefined local_27;\n undefined local_26;\n undefined local_25;\n long local_10;\n \n local_10 = *(long *)(in_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV qword ptr [RBP + -0x40],RCX
MOV qword ptr [RBP + -0x48],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x40]
SHR RAX,0x18
MOV byte pt... |
void function_1(void *handle,type_1 *blk,int len,type_2 var_2,type_1 *hmac)
{
long var_4;
long var_1;
type_1 *hmac_local;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
type_1 seqbuf [16];
var_4 = *(long *)(var_1 + 0x28);
seqbuf[0] = (type_1)(var_2 >> 0x18);
seqbuf[1]... | (translation_unit "void hmacmd5_do_hmac_ssh(void *handle,uchar *blk,int len,ulong seq,uchar *hmac)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *hmac_local;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar seqbuf [16];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n seq... | (translation_unit "void function_1(void *handle,type_1 *blk,int len,type_2 var_2,type_1 *hmac)\n\n{\n long var_4;\n long var_1;\n type_1 *hmac_local;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 seqbuf [16];\n \n var_4 = *(long *)(var_1 + 0x28);\n seqbuf[0] = (type... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
525_pscp_and_pscp_strip.c | ssh2_pkt_addmp | FUN_0012a08a | ssh2_pkt_addmp |
void ssh2_pkt_addmp(Packet *pkt,Bignum b)
{
long in_FS_OFFSET;
Bignum b_local;
Packet *pkt_local;
int len;
uchar *p;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
p = ssh2_mpint_fmt(b,&len);
ssh_pkt_addstring_start(pkt);
ssh_pkt_addstring_data(pkt,(char *)p,len);
safefree(p);
if... |
void FUN_0012a08a(undefined8 param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined4 local_1c;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = FUN_00129f80(param_2,&local_1c);
FUN_00129d7d(param_1);
FUN_00129dac(param_1,local_18,local_1c);
FUN_0010ffb... | (translation_unit "void FUN_0012a08a(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_1c;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = FUN_00129f80(param_2,&local_1c);\n FUN_00129d7d(param_1);\n FUN_00129dac(param_1,loca... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0x14]
MOV RAX,qword ptr [RBP + -0x30]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00129f80
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + ... |
void function_1(type_1 *pkt,type_2 b)
{
long var_1;
type_2 b_local;
type_1 *pkt_local;
int len;
type_3 *p;
long var_6;
var_6 = *(long *)(var_1 + 0x28);
p = var_2(b,&len);
var_3(pkt);
var_4(pkt,(char *)p,len);
var_5(p);
if (var_6 != *(long *)(var_1 + 0x28)) {
/* WARNING: ... | (translation_unit "void ssh2_pkt_addmp(Packet *pkt,Bignum b)\n\n{\n long in_FS_OFFSET;\n Bignum b_local;\n Packet *pkt_local;\n int len;\n uchar *p;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n p = ssh2_mpint_fmt(b,&len);\n ssh_pkt_addstring_start(pkt);\n ssh_pkt_addstring_data(pkt,(cha... | (translation_unit "void function_1(type_1 *pkt,type_2 b)\n\n{\n long var_1;\n type_2 b_local;\n type_1 *pkt_local;\n int len;\n type_3 *p;\n long var_6;\n \n var_6 = *(long *)(var_1 + 0x28);\n p = var_2(b,&len);\n var_3(pkt);\n var_4(pkt,(char *)p,len);\n var_5(p);\n if (var_6 != *(long *)(var_1 + 0x28)) {... | (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... |
283_pscp_and_pscp_strip.c | pfd_connect | FUN_00111632 | 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_00111632(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_00111632(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... |
835_pscp_and_pscp_strip.c | bitsel | FUN_001587ae | bitsel |
word32 bitsel(word32 *input,int *bitnums,int size)
{
int *piVar1;
int iVar2;
byte bVar3;
int iVar4;
int size_local;
int *bitnums_local;
word32 *input_local;
word32 ret;
int bitpos;
ret = 0;
size_local = size;
bitnums_local = bitnums;
while (iVar4 = size_local + -1, size_local != 0) {
... |
uint FUN_001587ae(long param_1,int *param_2,int param_3)
{
int *piVar1;
int iVar2;
byte bVar3;
int iVar4;
int local_2c;
int *local_28;
uint local_10;
local_10 = 0;
local_2c = param_3;
local_28 = param_2;
while (iVar4 = local_2c + -1, local_2c != 0) {
piVar1 = local_28 + 1;
iVar2 = *lo... | (translation_unit "uint FUN_001587ae(long param_1,int *param_2,int param_3)\n\n{\n int *piVar1;\n int iVar2;\n byte bVar3;\n int iVar4;\n int local_2c;\n int *local_28;\n uint local_10;\n \n local_10 = 0;\n local_2c = param_3;\n local_28 = param_2;\n while (iVar4 = local_2c + -1, local_2c != 0) {\n piVar... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x8],0x0
JMP 0x0015881b
MOV RAX,qword ptr [RBP + -0x20]
LEA RDX,[RAX + 0x4]
MOV qword ptr [RBP + -0x20],RDX
MOV EAX,dword ptr [RAX]
MOV dword ptr [RBP + -0x4],EAX
SHL dword ptr [RBP... |
type_1 function_1(type_1 *input,int *bitnums,int size)
{
int *piVar1;
int var_4;
type_2 var_6;
int var_5;
int var_1;
int *var_2;
type_1 *input_local;
type_1 var_3;
int bitpos;
var_3 = 0;
var_1 = size;
var_2 = bitnums;
while (var_5 = var_1 + -1, var_1 != 0) {
piVar1 = var_2 + 1;
va... | (translation_unit "word32 bitsel(word32 *input,int *bitnums,int size)\n\n{\n int *piVar1;\n int iVar2;\n byte bVar3;\n int iVar4;\n int size_local;\n int *bitnums_local;\n word32 *input_local;\n word32 ret;\n int bitpos;\n \n ret = 0;\n size_local = size;\n bitnums_local = bitnums;\n while (iVar4 = size_l... | (translation_unit "type_1 function_1(type_1 *input,int *bitnums,int size)\n\n{\n int *piVar1;\n int var_4;\n type_2 var_6;\n int var_5;\n int var_1;\n int *var_2;\n type_1 *input_local;\n type_1 var_3;\n int bitpos;\n \n var_3 = 0;\n var_1 = size;\n var_2 = bitnums;\n while (var_5 = var_1 + -1, var_1 != 0... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointe... |
457_pscp_and_pscp_strip.c | fxp_get_userdata | FUN_0012492e | fxp_get_userdata |
void * fxp_get_userdata(sftp_request *req)
{
sftp_request *req_local;
return req->userdata;
}
|
undefined8 FUN_0012492e(long param_1)
{
return *(undefined8 *)(param_1 + 8);
}
| (translation_unit "undefined8 FUN_0012492e(long param_1)\n\n{\n return *(undefined8 *)(param_1 + 8);\n}\n\n" (function_definition "undefined8 FUN_0012492e(long param_1)\n\n{\n return *(undefined8 *)(param_1 + 8);\n}" type_identifier (function_declarator "FUN_0012492e(long param_1)" identifier (parameter_list "(long p... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
POP RBP
RET |
void * function_1(type_1 *req)
{
type_1 *req_local;
return req->userdata;
}
| (translation_unit "void * fxp_get_userdata(sftp_request *req)\n\n{\n sftp_request *req_local;\n \n return req->userdata;\n}\n\n" (function_definition "void * fxp_get_userdata(sftp_request *req)\n\n{\n sftp_request *req_local;\n \n return req->userdata;\n}" primitive_type (pointer_declarator "* fxp_get_userdata(sf... | (translation_unit "void * function_1(type_1 *req)\n\n{\n type_1 *req_local;\n \n return req->userdata;\n}\n\n" (function_definition "void * function_1(type_1 *req)\n\n{\n type_1 *req_local;\n \n return req->userdata;\n}" primitive_type (pointer_declarator "* function_1(type_1 *req)" * (function_declarator "functi... | (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... |
512_pscp_and_pscp_strip.c | hash_string | FUN_00129a7c | hash_string |
void hash_string(ssh_hash *h,void *s,void *str,int len)
{
long lVar1;
long in_FS_OFFSET;
int len_local;
void *str_local;
void *s_local;
ssh_hash *h_local;
uchar lenblk [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
lenblk[0] = (uchar)((uint)len >> 0x18);
lenblk[1] = (uchar)((uint)len >> 0x10);
... |
void FUN_00129a7c(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)
{
long in_FS_OFFSET;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_14 = (undefined)((uint)param_4 >> 0x18);
lo... | (translation_unit "void FUN_00129a7c(long param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_14 = (undefined)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x2c],ECX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x2c]
SAR EAX,0x18
MOV byte ptr [RBP + -0xc],AL
MOV EAX,dword... |
void function_1(type_1 *h,void *s,void *str,int len)
{
long var_2;
long var_1;
int len_local;
void *str_local;
void *s_local;
type_1 *h_local;
type_2 lenblk [4];
var_2 = *(long *)(var_1 + 0x28);
lenblk[0] = (type_2)((type_3)len >> 0x18);
lenblk[1] = (type_2)((type_3)len >> 0x10);
lenblk[2] = ... | (translation_unit "void hash_string(ssh_hash *h,void *s,void *str,int len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int len_local;\n void *str_local;\n void *s_local;\n ssh_hash *h_local;\n uchar lenblk [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n lenblk[0] = (uchar)((uint)len >> 0x18);\n lenblk[1] =... | (translation_unit "void function_1(type_1 *h,void *s,void *str,int len)\n\n{\n long var_2;\n long var_1;\n int len_local;\n void *str_local;\n void *s_local;\n type_1 *h_local;\n type_2 lenblk [4];\n \n var_2 = *(long *)(var_1 + 0x28);\n lenblk[0] = (type_2)((type_3)len >> 0x18);\n lenblk[1] = (type_2)((type... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
704_puttygen_and_puttygen_strip.c | have_ssh_host_key | FUN_001481c2 | have_ssh_host_key |
int have_ssh_host_key(char *hostname,int port,char *keytype)
{
int iVar1;
char *keytype_local;
int port_local;
char *hostname_local;
iVar1 = verify_host_key(hostname,port,keytype,"");
return (int)(iVar1 != 1);
}
|
bool FUN_001481c2(undefined8 param_1,undefined4 param_2,undefined8 param_3)
{
int iVar1;
iVar1 = FUN_00147f9d(param_1,param_2,param_3,&DAT_001559c8);
return iVar1 != 1;
}
| (translation_unit "bool FUN_001481c2(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n int iVar1;\n \n iVar1 = FUN_00147f9d(param_1,param_2,param_3,&DAT_001559c8);\n return iVar1 != 1;\n}\n\n" (function_definition "bool FUN_001481c2(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n in... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV RDX,qword ptr [RBP + -0x18]
MOV ESI,dword ptr [RBP + -0xc]
MOV RAX,qword ptr [RBP + -0x8]
LEA RCX,[0x1559c8]
MOV RDI,RAX
CALL 0x00147f9d
CMP EAX,0x1
SETNZ AL
MOVZX EAX,AL
LEAVE
RET |
int function_1(char *hostname,int port,char *keytype)
{
int var_2;
char *keytype_local;
int port_local;
char *hostname_local;
var_2 = var_1(hostname,port,keytype,"");
return (int)(var_2 != 1);
}
| (translation_unit "int have_ssh_host_key(char *hostname,int port,char *keytype)\n\n{\n int iVar1;\n char *keytype_local;\n int port_local;\n char *hostname_local;\n \n iVar1 = verify_host_key(hostname,port,keytype,"");\n return (int)(iVar1 != 1);\n}\n\n" (function_definition "int have_ssh_host_key(char *hostname... | (translation_unit "int function_1(char *hostname,int port,char *keytype)\n\n{\n int var_2;\n char *keytype_local;\n int port_local;\n char *hostname_local;\n \n var_2 = var_1(hostname,port,keytype,"");\n return (int)(var_2 != 1);\n}\n\n" (function_definition "int function_1(char *hostname,int port,char *keytype)... | (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... |
707_pscp_and_pscp_strip.c | aes_iv | FUN_0014d05f | aes_iv |
void aes_iv(void *handle,uchar *iv)
{
uchar *iv_local;
void *handle_local;
int i;
AESContext *ctx;
for (i = 0; i < 4; i = i + 1) {
*(uint *)((long)handle + ((long)i + 0xf4) * 4) =
(uint)iv[i << 2] << 0x18 | (uint)iv[(long)(i << 2) + 1] << 0x10 |
(uint)iv[(long)(i << 2) + 2] << 8 | (... |
void FUN_0014d05f(long param_1,long param_2)
{
undefined4 local_14;
for (local_14 = 0; local_14 < 4; local_14 = local_14 + 1) {
*(uint *)(param_1 + ((long)local_14 + 0xf4) * 4) =
(uint)*(byte *)(param_2 + (local_14 << 2)) << 0x18 |
(uint)*(byte *)(param_2 + (long)(local_14 << 2) + 1) << 0... | (translation_unit "void FUN_0014d05f(long param_1,long param_2)\n\n{\n undefined4 local_14;\n \n for (local_14 = 0; local_14 < 4; local_14 = local_14 + 1) {\n *(uint *)(param_1 + ((long)local_14 + 0xf4) * 4) =\n (uint)*(byte *)(param_2 + (local_14 << 2)) << 0x18 |\n (uint)*(byte *)(param_2 + (long... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0xc],0x0
JMP 0x0014d10b
MOV EAX,dword ptr [RBP + -0xc]
SHL EAX,0x2
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x20]
ADD RAX,RDX
MOVZX EAX,byte ptr [RAX]... |
void function_1(void *handle,type_1 *iv)
{
type_1 *iv_local;
void *handle_local;
int var_1;
type_2 *ctx;
for (var_1 = 0; var_1 < 4; var_1 = var_1 + 1) {
*(type_3 *)((long)handle + ((long)var_1 + 0xf4) * 4) =
(type_3)iv[var_1 << 2] << 0x18 | (type_3)iv[(long)(var_1 << 2) + 1] << 0x10 |
... | (translation_unit "void aes_iv(void *handle,uchar *iv)\n\n{\n uchar *iv_local;\n void *handle_local;\n int i;\n AESContext *ctx;\n \n for (i = 0; i < 4; i = i + 1) {\n *(uint *)((long)handle + ((long)i + 0xf4) * 4) =\n (uint)iv[i << 2] << 0x18 | (uint)iv[(long)(i << 2) + 1] << 0x10 |\n (uint)iv... | (translation_unit "void function_1(void *handle,type_1 *iv)\n\n{\n type_1 *iv_local;\n void *handle_local;\n int var_1;\n type_2 *ctx;\n \n for (var_1 = 0; var_1 < 4; var_1 = var_1 + 1) {\n *(type_3 *)((long)handle + ((long)var_1 + 0xf4) * 4) =\n (type_3)iv[var_1 << 2] << 0x18 | (type_3)iv[(long)(var_1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
248_pscp_and_pscp_strip.c | bufchain_size | FUN_0010f973 | bufchain_size |
int bufchain_size(bufchain *ch)
{
bufchain *ch_local;
return ch->buffersize;
}
|
undefined4 FUN_0010f973(long param_1)
{
return *(undefined4 *)(param_1 + 0x10);
}
| (translation_unit "undefined4 FUN_0010f973(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 0x10);\n}\n\n" (function_definition "undefined4 FUN_0010f973(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 0x10);\n}" type_identifier (function_declarator "FUN_0010f973(long param_1)" identifier (parameter_list "(... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
POP RBP
RET |
int function_1(type_1 *ch)
{
type_1 *ch_local;
return ch->buffersize;
}
| (translation_unit "int bufchain_size(bufchain *ch)\n\n{\n bufchain *ch_local;\n \n return ch->buffersize;\n}\n\n" (function_definition "int bufchain_size(bufchain *ch)\n\n{\n bufchain *ch_local;\n \n return ch->buffersize;\n}" primitive_type (function_declarator "bufchain_size(bufchain *ch)" identifier (parameter... | (translation_unit "int function_1(type_1 *ch)\n\n{\n type_1 *ch_local;\n \n return ch->buffersize;\n}\n\n" (function_definition "int function_1(type_1 *ch)\n\n{\n type_1 *ch_local;\n \n return ch->buffersize;\n}" primitive_type (function_declarator "function_1(type_1 *ch)" identifier (parameter_list "(type_1 *ch)... | (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... |
885_pscp_and_pscp_strip.c | dss_newkey | FUN_0015dc79 | dss_newkey |
void * dss_newkey(ssh_signkey *self,char *data,int len)
{
int iVar1;
Bignum pvVar2;
dss_key *pdVar3;
long in_FS_OFFSET;
int len_local;
char *data_local;
ssh_signkey *self_local;
int slen;
char *p;
dss_key *dss;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
len_local = len;
d... |
long * FUN_0015dc79(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
int iVar1;
long lVar2;
long *plVar3;
long in_FS_OFFSET;
undefined4 local_3c;
undefined8 local_38;
undefined8 local_30;
int local_24;
void *local_20;
long *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFS... | (translation_unit "long * FUN_0015dc79(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n int iVar1;\n long lVar2;\n long *plVar3;\n long in_FS_OFFSET;\n undefined4 local_3c;\n undefined8 local_38;\n undefined8 local_30;\n int local_24;\n void *local_20;\n long *local_18;\n long local_10;\n \n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV ESI,0x28
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x10],RAX
LEA RCX,[RBP + -0x1c]
LEA RDX,[RBP + -0x18]
LE... |
void * function_1(type_1 *self,char *data,int len)
{
int var_7;
type_2 pvVar2;
type_3 *pdVar3;
long var_1;
int len_local;
char *data_local;
type_1 *self_local;
int var_5;
char *var_4;
type_3 *dss;
long var_12;
var_12 = *(long *)(var_1 + 0x28);
len_local = len;
data_local = data;
self_... | (translation_unit "void * dss_newkey(ssh_signkey *self,char *data,int len)\n\n{\n int iVar1;\n Bignum pvVar2;\n dss_key *pdVar3;\n long in_FS_OFFSET;\n int len_local;\n char *data_local;\n ssh_signkey *self_local;\n int slen;\n char *p;\n dss_key *dss;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSE... | (translation_unit "void * function_1(type_1 *self,char *data,int len)\n\n{\n int var_7;\n type_2 pvVar2;\n type_3 *pdVar3;\n long var_1;\n int len_local;\n char *data_local;\n type_1 *self_local;\n int var_5;\n char *var_4;\n type_3 *dss;\n long var_12;\n \n var_12 = *(long *)(var_1 + 0x28);\n len_local =... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
623_pscp_and_pscp_strip.c | ssh_channel_msg | FUN_0013b762 | ssh_channel_msg |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ssh_channel * ssh_channel_msg(Ssh_conflict ssh,Packet *pktin)
{
uint uVar1;
ulong uVar2;
ssh_channel *psVar3;
char *pcVar4;
char *pcVar5;
long in_FS_OFFSET;
Packet *pktin_local;
Ssh_conflict ssh_local;
uint localid;
int half... |
long FUN_0013b762(long param_1,ulong *param_2)
{
undefined4 uVar1;
long lVar2;
undefined8 uVar3;
char *pcVar4;
long in_FS_OFFSET;
undefined4 local_38;
int local_34;
long local_30;
undefined8 local_28;
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
local_38 = FUN_0012afd8(param_2)... | (translation_unit "long FUN_0013b762(long param_1,ulong *param_2)\n\n{\n undefined4 uVar1;\n long lVar2;\n undefined8 uVar3;\n char *pcVar4;\n long in_FS_OFFSET;\n undefined4 local_38;\n int local_34;\n long local_30;\n undefined8 local_28;\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n ... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x30
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x40]
MOV RDI,RAX
CALL 0x0012afd8
MOV dword ptr [RBP + -0x30],EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV EAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 ssh,type_3 *pktin)
{
type_4 uVar1;
type_5 uVar2;
type_1 *var_4;
char *pcVar4;
char *pcVar5;
long var_1;
type_3 *pktin_local;
type_2 ssh_local;
type_4 localid;
int var_5;
type_1 *c;
char *buf;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nssh_channel * ssh_channel_msg(Ssh_conflict ssh,Packet *pktin)\n\n{\n uint uVar1;\n ulong uVar2;\n ssh_channel *psVar3;\n char *pcVar4;\n char *pcVar5;\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_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 *pktin)\n\n{\n type_4 uVar1;\n type_5 uVar2;\n type_1 *var_4;\n char *pcVar4;\n char *pcVar5;\n long var_1;\n type_3 *pktin_local;\n type_2 ssh_local;\n type_4 localid;\n int va... | (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... |
687_pscp_and_pscp_strip.c | ssh_return_exitcode | FUN_00146d1c | ssh_return_exitcode |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ssh_return_exitcode(void *handle)
{
int iVar1;
void *handle_local;
Ssh_conflict ssh;
if (*(long *)((long)handle + 0x20) == 0) {
if (*(int *)((long)handle + 0x1b4) < 0) {
iVar1 = 0x7fffffff;
}
else {
iVar1 ... |
undefined4 FUN_00146d1c(long param_1)
{
undefined4 uVar1;
if (*(long *)(param_1 + 0x20) == 0) {
if (*(int *)(param_1 + 0x1b4) < 0) {
uVar1 = 0x7fffffff;
}
else {
uVar1 = *(undefined4 *)(param_1 + 0x1b4);
}
}
else {
uVar1 = 0xffffffff;
}
return uVar1;
}
| (translation_unit "undefined4 FUN_00146d1c(long param_1)\n\n{\n undefined4 uVar1;\n \n if (*(long *)(param_1 + 0x20) == 0) {\n if (*(int *)(param_1 + 0x1b4) < 0) {\n uVar1 = 0x7fffffff;\n }\n else {\n uVar1 = *(undefined4 *)(param_1 + 0x1b4);\n }\n }\n else {\n uVar1 = 0xffffffff;\n }\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x20]
TEST RAX,RAX
JZ 0x00146d40
MOV EAX,0xffffffff
JMP 0x00146d5f
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x1b4]
TEST EAX,EAX
JS 0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *handle)
{
int iVar1;
void *handle_local;
type_1 ssh;
if (*(long *)((long)handle + 0x20) == 0) {
if (*(int *)((long)handle + 0x1b4) < 0) {
iVar1 = 0x7fffffff;
}
else {
iVar1 = *(int *)((lon... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ssh_return_exitcode(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n Ssh_conflict ssh;\n \n if (*(long *)((long)handle + 0x20) == 0) {\n if (*(int *)((long)handle + 0x1b4) < 0) {\n iVar1 = 0x7fffffff;\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle)\n\n{\n int iVar1;\n void *handle_local;\n type_1 ssh;\n \n if (*(long *)((long)handle + 0x20) == 0) {\n if (*(int *)((long)handle + 0x1b4) < 0) {\n iVar1 = 0x7fffffff;\n }\n els... | (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... |
389_pscp_and_pscp_strip.c | load_settings | FUN_0011f7e2 | load_settings |
void load_settings(char *section,Conf *conf)
{
void *sesskey_00;
Conf *conf_local;
char *section_local;
void *sesskey;
sesskey_00 = open_settings_r(section);
load_open_settings(sesskey_00,conf);
close_settings_r(sesskey_00);
conf_launchable(conf);
return;
}
|
void FUN_0011f7e2(undefined8 param_1,undefined8 param_2)
{
undefined8 uVar1;
uVar1 = FUN_0018d339(param_1);
FUN_0011f830(uVar1,param_2);
FUN_0018d825(uVar1);
FUN_0010ffd8(param_2);
return;
}
| (translation_unit "void FUN_0011f7e2(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0018d339(param_1);\n FUN_0011f830(uVar1,param_2);\n FUN_0018d825(uVar1);\n FUN_0010ffd8(param_2);\n return;\n}\n\n" (function_definition "void FUN_0011f7e2(undefined8 param_1,undefined8 param_2)\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x0018d339
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 0x0011f830
MOV RAX,qword ptr [RBP + -0x... |
void function_1(char *section,type_1 *conf)
{
void *sesskey_00;
type_1 *conf_local;
char *section_local;
void *sesskey;
sesskey_00 = var_1(section);
var_2(sesskey_00,conf);
var_3(sesskey_00);
var_4(conf);
return;
}
| (translation_unit "void load_settings(char *section,Conf *conf)\n\n{\n void *sesskey_00;\n Conf *conf_local;\n char *section_local;\n void *sesskey;\n \n sesskey_00 = open_settings_r(section);\n load_open_settings(sesskey_00,conf);\n close_settings_r(sesskey_00);\n conf_launchable(conf);\n return;\n}\n\n" (fu... | (translation_unit "void function_1(char *section,type_1 *conf)\n\n{\n void *sesskey_00;\n type_1 *conf_local;\n char *section_local;\n void *sesskey;\n \n sesskey_00 = var_1(section);\n var_2(sesskey_00,conf);\n var_3(sesskey_00);\n var_4(conf);\n return;\n}\n\n" (function_definition "void function_1(char *se... | (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... |
997_pscp_and_pscp_strip.c | read_body | FUN_00169cbd | read_body |
char * read_body(FILE *fp)
{
int iVar1;
FILE *fp_local;
int len;
int size;
int c;
char *text;
size = 0x80;
text = (char *)safemalloc(0x80,1);
len = 0;
*text = '\0';
while( true ) {
iVar1 = fgetc((FILE *)fp);
if (((iVar1 == 0xd) || (iVar1 == 10)) || (iVar1 == -1)) break;
if (size <... |
undefined * FUN_00169cbd(FILE *param_1)
{
int iVar1;
int local_1c;
int local_18;
undefined *local_10;
local_18 = 0x80;
local_10 = (undefined *)FUN_0010fdaa(0x80,1);
local_1c = 0;
*local_10 = 0;
while( true ) {
iVar1 = fgetc(param_1);
if (((iVar1 == 0xd) || (iVar1 == 10)) || (iVar1 == -1))... | (translation_unit "undefined * FUN_00169cbd(FILE *param_1)\n\n{\n int iVar1;\n int local_1c;\n int local_18;\n undefined *local_10;\n \n local_18 = 0x80;\n local_10 = (undefined *)FUN_0010fdaa(0x80,1);\n local_1c = 0;\n *local_10 = 0;\n while( true ) {\n iVar1 = fgetc(param_1);\n if (((iVar1 == 0xd) || ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x10],0x80
MOV EAX,dword ptr [RBP + -0x10]
CDQE
MOV ESI,0x1
MOV RDI,RAX
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0x14],0x0
MOV EAX,dword ptr [RBP + -0x14]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
ADD... |
char * function_1(type_1 *fp)
{
int var_3;
type_1 *fp_local;
int var_5;
int var_4;
int c;
char *text;
var_4 = 0x80;
text = (char *)var_1(0x80,1);
var_5 = 0;
*text = '\0';
while( true ) {
var_3 = var_2((type_1 *)fp);
if (((var_3 == 0xd) || (var_3 == 10)) || (var_3 == -1)) break;
if... | (translation_unit "char * read_body(FILE *fp)\n\n{\n int iVar1;\n FILE *fp_local;\n int len;\n int size;\n int c;\n char *text;\n \n size = 0x80;\n text = (char *)safemalloc(0x80,1);\n len = 0;\n *text = '\0';\n while( true ) {\n iVar1 = fgetc((FILE *)fp);\n if (((iVar1 == 0xd) || (iVar1 == 10)) || (i... | (translation_unit "char * function_1(type_1 *fp)\n\n{\n int var_3;\n type_1 *fp_local;\n int var_5;\n int var_4;\n int c;\n char *text;\n \n var_4 = 0x80;\n text = (char *)var_1(0x80,1);\n var_5 = 0;\n *text = '\0';\n while( true ) {\n var_3 = var_2((type_1 *)fp);\n if (((var_3 == 0xd) || (var_3 == 10... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
858_pscp_and_pscp_strip.c | des3_ssh2_decrypt_blk | FUN_0015c43b | des3_ssh2_decrypt_blk |
void des3_ssh2_decrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
DESContext *keys;
des_cbc3_decrypt(blk,len,(DESContext *)handle);
return;
}
|
void FUN_0015c43b(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0015bae8(param_2,param_3,param_1);
return;
}
| (translation_unit "void FUN_0015c43b(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0015bae8(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_0015c43b(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0015bae8(param_2,param_3,param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV ECX,dword ptr [RBP + -0x24]
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1(blk,len,(type_2 *)handle);
return;
}
| (translation_unit "void des3_ssh2_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_cbc3_decrypt(blk,len,(DESContext *)handle);\n return;\n}\n\n" (function_definition "void des3_ssh2_decrypt_blk(void *handle,uchar *blk,int le... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *b... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
249_pscp_and_pscp_strip.c | bufchain_add | FUN_0010f984 | bufchain_add |
void bufchain_add(bufchain *ch,void *data,int len)
{
int iVar1;
ulong uVar2;
bufchain_granule *pbVar3;
long lVar4;
int len_local;
void *data_local;
bufchain *ch_local;
int copylen;
int grainlen;
char *buf;
bufchain_granule *newbuf;
if (len != 0) {
ch->buffersize = ch->buffersize + len;
... |
void FUN_0010f984(undefined8 *param_1,void *param_2,int param_3)
{
int iVar1;
ulong uVar2;
undefined8 *puVar3;
long lVar4;
int local_3c;
void *local_18;
if (param_3 != 0) {
*(int *)(param_1 + 2) = *(int *)(param_1 + 2) + param_3;
local_3c = param_3;
local_18 = param_2;
while (0 < loca... | (translation_unit "void FUN_0010f984(undefined8 *param_1,void *param_2,int param_3)\n\n{\n int iVar1;\n ulong uVar2;\n undefined8 *puVar3;\n long lVar4;\n int local_3c;\n void *local_18;\n \n if (param_3 != 0) {\n *(int *)(param_1 + 2) = *(int *)(param_1 + 2) + param_3;\n local_3c = param_3;\n local_18... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV RAX,qword ptr [RBP + -0x30]
MOV qword ptr [RBP + -0x10],RAX
CMP dword ptr [RBP + -0x34],0x0
JZ 0x0010fb26
MOV RAX,qword ptr [RBP + -0x28]
MOV EDX,dword ptr [RAX + 0x10]
MOV EAX,dword ptr... |
void function_1(type_1 *ch,void *data,int var_1)
{
int var_6;
type_2 var_7;
type_3 *var_9;
long var_3;
int var_2;
void *data_local;
type_1 *ch_local;
int copylen;
int grainlen;
char *var_5;
type_3 *newbuf;
if (var_1 != 0) {
ch->buffersize = ch->buffersize + var_1;
var_2 = var_1;
... | (translation_unit "void bufchain_add(bufchain *ch,void *data,int len)\n\n{\n int iVar1;\n ulong uVar2;\n bufchain_granule *pbVar3;\n long lVar4;\n int len_local;\n void *data_local;\n bufchain *ch_local;\n int copylen;\n int grainlen;\n char *buf;\n bufchain_granule *newbuf;\n \n if (len != 0) {\n ch->b... | (translation_unit "void function_1(type_1 *ch,void *data,int var_1)\n\n{\n int var_6;\n type_2 var_7;\n type_3 *var_9;\n long var_3;\n int var_2;\n void *data_local;\n type_1 *ch_local;\n int copylen;\n int grainlen;\n char *var_5;\n type_3 *newbuf;\n \n if (var_1 != 0) {\n ch->buffersize = ch->buffersi... | (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... |
801_pscp_and_pscp_strip.c | bigval_add | FUN_00156651 | bigval_add |
void bigval_add(bigval *r,bigval *a,bigval *b)
{
ulong uVar1;
ulong uVar2;
BignumInt BVar3;
ulong uVar4;
BignumInt BVar5;
ulong uVar6;
bigval *b_local;
bigval *a_local;
bigval *r_local;
BignumInt v0;
BignumInt v1;
BignumInt v2;
BignumInt v3;
BignumInt v4;
BignumInt v5;
BignumInt v6;
... |
void FUN_00156651(long *param_1,ulong *param_2,ulong *param_3)
{
ulong uVar1;
ulong uVar2;
ulong uVar3;
ulong uVar4;
ulong uVar5;
ulong uVar6;
uVar2 = param_2[1];
uVar3 = param_2[2];
uVar4 = param_3[1];
uVar5 = param_3[2];
uVar6 = (ulong)CARRY8(*param_2,*param_3);
uVar1 = uVar2 + uVar4;
*... | (translation_unit "void FUN_00156651(long *param_1,ulong *param_2,ulong *param_3)\n\n{\n ulong uVar1;\n ulong uVar2;\n ulong uVar3;\n ulong uVar4;\n ulong uVar5;\n ulong uVar6;\n \n uVar2 = param_2[1];\n uVar3 = param_2[2];\n uVar4 = param_3[1];\n uVar5 = param_3[2];\n uVar6 = (ulong)CARRY8(*param_2,*param_... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x20
MOV qword ptr [RBP + -0x88],RDI
MOV qword ptr [RBP + -0x90],RSI
MOV qword ptr [RBP + -0x98],RDX
MOV RAX,qword ptr [RBP + -0x90]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x80],RAX
MOV RAX,qword ptr [RBP + -0x90]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x78],RAX... |
void function_1(type_1 *r,type_1 *a,type_1 *b)
{
type_2 var_4;
type_2 var_2;
type_3 var_6;
type_2 var_3;
type_3 var_7;
type_2 var_5;
type_1 *b_local;
type_1 *a_local;
type_1 *r_local;
type_3 v0;
type_3 v1;
type_3 v2;
type_3 v3;
type_3 v4;
type_3 v5;
type_3 v6;
type_4 carry;
type_3 ... | (translation_unit "void bigval_add(bigval *r,bigval *a,bigval *b)\n\n{\n ulong uVar1;\n ulong uVar2;\n BignumInt BVar3;\n ulong uVar4;\n BignumInt BVar5;\n ulong uVar6;\n bigval *b_local;\n bigval *a_local;\n bigval *r_local;\n BignumInt v0;\n BignumInt v1;\n BignumInt v2;\n BignumInt v3;\n BignumInt v4;\... | (translation_unit "void function_1(type_1 *r,type_1 *a,type_1 *b)\n\n{\n type_2 var_4;\n type_2 var_2;\n type_3 var_6;\n type_2 var_3;\n type_3 var_7;\n type_2 var_5;\n type_1 *b_local;\n type_1 *a_local;\n type_1 *r_local;\n type_3 v0;\n type_3 v1;\n type_3 v2;\n type_3 v3;\n type_3 v4;\n type_3 v5;\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... |
692_pscp_and_pscp_strip.c | aes_encrypt_nb_8 | FUN_0014857d | 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_0014857d(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_0014857d(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 0x00148e83
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... |
333_pscp_and_pscp_strip.c | sftp_wait_for_reply | FUN_0011713d | sftp_wait_for_reply |
sftp_packet * sftp_wait_for_reply(sftp_request *req)
{
sftp_packet *pktin_00;
sftp_request *psVar1;
char *pcVar2;
sftp_request *req_local;
sftp_packet *pktin;
sftp_request *rreq;
sftp_register(req);
pktin_00 = sftp_recv();
if (pktin_00 == (sftp_packet *)0x0) {
connection_fatal((void *)0x0,"di... |
long FUN_0011713d(long param_1)
{
long lVar1;
long lVar2;
undefined8 uVar3;
FUN_00123214(param_1);
lVar1 = FUN_00122eaf();
if (lVar1 == 0) {
FUN_00116a0d(0,"did not receive SFTP response packet from server");
}
lVar2 = FUN_0012322a(lVar1);
if (lVar2 != param_1) {
uVar3 = FUN_00123484();
... | (translation_unit "long FUN_0011713d(long param_1)\n\n{\n long lVar1;\n long lVar2;\n undefined8 uVar3;\n \n FUN_00123214(param_1);\n lVar1 = FUN_00122eaf();\n if (lVar1 == 0) {\n FUN_00116a0d(0,"did not receive SFTP response packet from server");\n }\n lVar2 = FUN_0012322a(lVar1);\n if (lVar2 != param_1) ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x00123214
CALL 0x00122eaf
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
JNZ 0x0011717b
LEA RSI,[0x193610]
MOV EDI,0x0
MOV EAX,0x0
CALL 0x00116a0d
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,... |
type_1 * function_1(type_2 *var_7)
{
type_1 *var_3;
type_2 *var_6;
char *pcVar2;
type_2 *req_local;
type_1 *pktin;
type_2 *rreq;
var_1(var_7);
var_3 = var_2();
if (var_3 == (type_1 *)0x0) {
var_4((void *)0x0,"did not receive SFTP response packet from server");
}
var_6 = var_5(var_3);
if... | (translation_unit "sftp_packet * sftp_wait_for_reply(sftp_request *req)\n\n{\n sftp_packet *pktin_00;\n sftp_request *psVar1;\n char *pcVar2;\n sftp_request *req_local;\n sftp_packet *pktin;\n sftp_request *rreq;\n \n sftp_register(req);\n pktin_00 = sftp_recv();\n if (pktin_00 == (sftp_packet *)0x0) {\n c... | (translation_unit "type_1 * function_1(type_2 *var_7)\n\n{\n type_1 *var_3;\n type_2 *var_6;\n char *pcVar2;\n type_2 *req_local;\n type_1 *pktin;\n type_2 *rreq;\n \n var_1(var_7);\n var_3 = var_2();\n if (var_3 == (type_1 *)0x0) {\n var_4((void *)0x0,"did not receive SFTP response packet from server");\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: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (dec... |
664_pscp_and_pscp_strip.c | ssh2_timer | FUN_00144924 | ssh2_timer |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_timer(void *ctx,ulong now)
{
int iVar1;
ulong now_local;
void *ctx_local;
Ssh_conflict ssh;
if (((*(int *)((long)ctx + 0x1d0) != 4) && (*(int *)((long)ctx + 0xc10) == 0)) &&
(*(int *)((long)ctx + 0x158) == 0)) {
... |
void FUN_00144924(long param_1,long param_2)
{
int iVar1;
if (((*(int *)(param_1 + 0x1d0) != 4) && (*(int *)(param_1 + 0xc10) == 0)) &&
(*(int *)(param_1 + 0x158) == 0)) {
iVar1 = FUN_0010ab18(*(undefined8 *)(param_1 + 0x380),0x1a);
if ((iVar1 != 0) && (param_2 == *(long *)(param_1 + 0xc18))) {
... | (translation_unit "void FUN_00144924(long param_1,long param_2)\n\n{\n int iVar1;\n \n if (((*(int *)(param_1 + 0x1d0) != 4) && (*(int *)(param_1 + 0xc10) == 0)) &&\n (*(int *)(param_1 + 0x158) == 0)) {\n iVar1 = FUN_0010ab18(*(undefined8 *)(param_1 + 0x380),0x1a);\n if ((iVar1 != 0) && (param_2 == *(long ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x1d0]
CMP EAX,0x4
JZ 0x001449b3
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0xc10]
TEST EA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *ctx,type_1 var_3)
{
int var_2;
type_1 now_local;
void *ctx_local;
type_2 ssh;
if (((*(int *)((long)ctx + 0x1d0) != 4) && (*(int *)((long)ctx + 0xc10) == 0)) &&
(*(int *)((long)ctx + 0x158) == 0)) {
va... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_timer(void *ctx,ulong now)\n\n{\n int iVar1;\n ulong now_local;\n void *ctx_local;\n Ssh_conflict ssh;\n \n if (((*(int *)((long)ctx + 0x1d0) != 4) && (*(int *)((long)ctx + 0xc10) == 0)) &&\n (*(int *)((lo... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *ctx,type_1 var_3)\n\n{\n int var_2;\n type_1 now_local;\n void *ctx_local;\n type_2 ssh;\n \n if (((*(int *)((long)ctx + 0x1d0) != 4) && (*(int *)((long)ctx + 0xc10) == 0)) &&\n (*(int *)((long... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
426_pscp_and_pscp_strip.c | fxp_open_send | FUN_00123730 | fxp_open_send |
sftp_request * fxp_open_send(char *path,int type,fxp_attrs *attrs)
{
sftp_request *psVar1;
sftp_packet *pkt;
fxp_attrs *attrs_local;
int type_local;
char *path_local;
sftp_request *req;
sftp_packet *pktout;
psVar1 = sftp_alloc_request();
pkt = sftp_pkt_init(3);
sftp_pkt_adduint32(pkt,(ulong)psV... |
undefined4 * FUN_00123730(undefined8 param_1,int param_2,long param_3)
{
undefined4 *puVar1;
undefined8 uVar2;
puVar1 = (undefined4 *)FUN_0012308a();
uVar2 = FUN_001224fe(3);
FUN_00122488(uVar2,*puVar1);
FUN_00122836(uVar2,param_1);
FUN_00122488(uVar2,(long)param_2);
if (param_3 == 0) {
FUN_001... | (translation_unit "undefined4 * FUN_00123730(undefined8 param_1,int param_2,long param_3)\n\n{\n undefined4 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined4 *)FUN_0012308a();\n uVar2 = FUN_001224fe(3);\n FUN_00122488(uVar2,*puVar1);\n FUN_00122836(uVar2,param_1);\n FUN_00122488(uVar2,(long)param_2);\n if... | 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
CALL 0x0012308a
MOV qword ptr [RBP + -0x10],RAX
MOV EDI,0x3
CALL 0x001224fe
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
MOV EDX,EAX
MOV RAX,qword p... |
type_1 * function_1(char *path,int type,type_2 *var_5)
{
type_1 *psVar1;
type_3 *pkt;
type_2 *attrs_local;
int type_local;
char *path_local;
type_1 *req;
type_3 *pktout;
psVar1 = var_1();
pkt = var_2(3);
var_3(pkt,(type_4)psVar1->id);
var_4(pkt,path);
var_3(pkt,(long)type);
if (var_5 == (... | (translation_unit "sftp_request * fxp_open_send(char *path,int type,fxp_attrs *attrs)\n\n{\n sftp_request *psVar1;\n sftp_packet *pkt;\n fxp_attrs *attrs_local;\n int type_local;\n char *path_local;\n sftp_request *req;\n sftp_packet *pktout;\n \n psVar1 = sftp_alloc_request();\n pkt = sftp_pkt_init(3);\n sf... | (translation_unit "type_1 * function_1(char *path,int type,type_2 *var_5)\n\n{\n type_1 *psVar1;\n type_3 *pkt;\n type_2 *attrs_local;\n int type_local;\n char *path_local;\n type_1 *req;\n type_3 *pktout;\n \n psVar1 = var_1();\n pkt = var_2(3);\n var_3(pkt,(type_4)psVar1->id);\n var_4(pkt,path);\n var_3(... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
914_pscp_and_pscp_strip.c | ecp_normalise | FUN_00160695 | ecp_normalise |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ecp_normalise(ec_point *a)
{
int iVar1;
Bignum_conflict pBVar2;
Bignum_conflict pBVar3;
Bignum_conflict b;
ec_point *a_local;
Bignum Z2;
Bignum Z2inv;
Bignum tx;
Bignum Z3;
Bignum Z3inv;
Bignum ty;
Bignum tmp;
Bign... |
undefined8 FUN_00160695(long *param_1)
{
undefined8 uVar1;
long lVar2;
long lVar3;
undefined8 uVar4;
long lVar5;
if (param_1 == (long *)0x0) {
uVar1 = 0;
}
else if (*(char *)(param_1 + 4) == '\0') {
if (*(int *)*param_1 == 0) {
if ((param_1[1] == 0) || (param_1[2] == 0)) {
uVa... | (translation_unit "undefined8 FUN_00160695(long *param_1)\n\n{\n undefined8 uVar1;\n long lVar2;\n long lVar3;\n undefined8 uVar4;\n long lVar5;\n \n if (param_1 == (long *)0x0) {\n uVar1 = 0;\n }\n else if (*(char *)(param_1 + 4) == '\0') {\n if (*(int *)*param_1 == 0) {\n if ((param_1[1] == 0) || ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
CMP qword ptr [RBP + -0x48],0x0
JNZ 0x001606b2
MOV EAX,0x0
JMP 0x001609a6
MOV RAX,qword ptr [RBP + -0x48]
MOVZX EAX,byte ptr [RAX + 0x20]
TEST AL,AL
JZ 0x001606c8
MOV EAX,0x1
JMP 0x001609a6
MOV RAX,qword ptr [RBP + -0x48]
MOV RAX,qword ptr [RAX]
MOV EAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *var_1)
{
int iVar1;
type_2 var_8;
type_2 var_5;
type_2 b;
type_1 *a_local;
type_3 Z2;
type_3 Z2inv;
type_3 tx;
type_3 Z3;
type_3 Z3inv;
type_3 ty;
type_3 tmp;
type_3 tmp2;
if (var_1 == (type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ecp_normalise(ec_point *a)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n Bignum_conflict pBVar3;\n Bignum_conflict b;\n ec_point *a_local;\n Bignum Z2;\n Bignum Z2inv;\n Bignum tx;\n Bignum Z3;\n Bignum Z3inv;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *var_1)\n\n{\n int iVar1;\n type_2 var_8;\n type_2 var_5;\n type_2 b;\n type_1 *a_local;\n type_3 Z2;\n type_3 Z2inv;\n type_3 tx;\n type_3 Z3;\n type_3 Z3inv;\n type_3 ty;\n type_3 tmp;\n t... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitiv... |
725_pscp_and_pscp_strip.c | blowfish_lsb_decrypt_cbc | FUN_0014edb2 | blowfish_lsb_decrypt_cbc |
void blowfish_lsb_decrypt_cbc(uchar *blk,int len,BlowfishContext *ctx)
{
uint uVar1;
uint uVar2;
long lVar3;
word32 xL_00;
word32 xR_00;
long in_FS_OFFSET;
BlowfishContext *ctx_local;
int len_local;
uchar *blk_local;
word32 iv0;
word32 iv1;
word32 xL;
word32 xR;
word32 out [2];
lVar3 ... |
void FUN_0014edb2(uint *param_1,uint param_2,long param_3)
{
uint uVar1;
uint uVar2;
long in_FS_OFFSET;
uint local_34;
uint *local_30;
uint local_28;
uint local_24;
uint local_18;
uint local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if ((param_2 & 7) != 0) {
... | (translation_unit "void FUN_0014edb2(uint *param_1,uint param_2,long param_3)\n\n{\n uint uVar1;\n uint uVar2;\n long in_FS_OFFSET;\n uint local_34;\n uint *local_30;\n uint local_28;\n uint local_24;\n uint local_18;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((... | 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 0x0014edfd
LEA RCX,[0x19daa0]
MOV EDX,0x161
LEA RSI,[0x19da... |
void function_1(type_1 *blk,int var_2,type_2 *ctx)
{
type_3 var_9;
type_3 var_10;
long var_11;
type_4 xL_00;
type_4 xR_00;
long var_1;
type_2 *ctx_local;
int var_4;
type_1 *var_5;
type_4 var_7;
type_4 var_8;
type_4 xL;
type_4 xR;
type_4 out [2];
var_11 = *(long *)(var_1 + 0x28);
if ... | (translation_unit "void blowfish_lsb_decrypt_cbc(uchar *blk,int len,BlowfishContext *ctx)\n\n{\n uint uVar1;\n uint uVar2;\n long lVar3;\n word32 xL_00;\n word32 xR_00;\n long in_FS_OFFSET;\n BlowfishContext *ctx_local;\n int len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n word32 xL;\n word32 ... | (translation_unit "void function_1(type_1 *blk,int var_2,type_2 *ctx)\n\n{\n type_3 var_9;\n type_3 var_10;\n long var_11;\n type_4 xL_00;\n type_4 xR_00;\n long var_1;\n type_2 *ctx_local;\n int var_4;\n type_1 *var_5;\n type_4 var_7;\n type_4 var_8;\n type_4 xL;\n type_4 xR;\n type_4 out [2];\n \n var... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
374_pscp_and_pscp_strip.c | gpps_raw | FUN_0011c81a | gpps_raw |
char * gpps_raw(void *handle,char *name,char *def)
{
char *def_local;
char *name_local;
void *handle_local;
char *ret;
ret = read_setting_s(handle,name);
if (ret == (char *)0x0) {
ret = platform_default_s(name);
}
if (ret == (char *)0x0) {
if (def == (char *)0x0) {
ret = (char *)0x0;
... |
long FUN_0011c81a(undefined8 param_1,undefined8 param_2,long param_3)
{
undefined8 local_10;
local_10 = FUN_0018d48b(param_1,param_2);
if (local_10 == 0) {
local_10 = FUN_0018a766(param_2);
}
if (local_10 == 0) {
if (param_3 == 0) {
local_10 = 0;
}
else {
local_10 = FUN_0010ed... | (translation_unit "long FUN_0011c81a(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n undefined8 local_10;\n \n local_10 = FUN_0018d48b(param_1,param_2);\n if (local_10 == 0) {\n local_10 = FUN_0018a766(param_2);\n }\n if (local_10 == 0) {\n if (param_3 == 0) {\n local_10 = 0;\n }\n els... | 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 RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0018d48b
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x0011c85c
MOV RAX,q... |
char * function_1(void *handle,char *name,char *var_4)
{
char *def_local;
char *name_local;
void *handle_local;
char *var_2;
var_2 = var_1(handle,name);
if (var_2 == (char *)0x0) {
var_2 = var_3(name);
}
if (var_2 == (char *)0x0) {
if (var_4 == (char *)0x0) {
var_2 = (char *)0x0;
... | (translation_unit "char * gpps_raw(void *handle,char *name,char *def)\n\n{\n char *def_local;\n char *name_local;\n void *handle_local;\n char *ret;\n \n ret = read_setting_s(handle,name);\n if (ret == (char *)0x0) {\n ret = platform_default_s(name);\n }\n if (ret == (char *)0x0) {\n if (def == (char *)0... | (translation_unit "char * function_1(void *handle,char *name,char *var_4)\n\n{\n char *def_local;\n char *name_local;\n void *handle_local;\n char *var_2;\n \n var_2 = var_1(handle,name);\n if (var_2 == (char *)0x0) {\n var_2 = var_3(name);\n }\n if (var_2 == (char *)0x0) {\n if (var_4 == (char *)0x0) {\... | (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... |
274_pscp_and_pscp_strip.c | new_portlistener_state | FUN_00110a91 | new_portlistener_state |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
PortListener * new_portlistener_state(void)
{
PortListener *pPVar1;
PortListener *pl;
pPVar1 = (PortListener *)safemalloc(1,0x30);
pPVar1->hostname = (char *)0x0;
return pPVar1;
}
|
long FUN_00110a91(void)
{
long lVar1;
lVar1 = FUN_0010fdaa(1,0x30);
*(undefined8 *)(lVar1 + 0x20) = 0;
return lVar1;
}
| (translation_unit "long FUN_00110a91(void)\n\n{\n long lVar1;\n \n lVar1 = FUN_0010fdaa(1,0x30);\n *(undefined8 *)(lVar1 + 0x20) = 0;\n return lVar1;\n}\n\n" (function_definition "long FUN_00110a91(void)\n\n{\n long lVar1;\n \n lVar1 = FUN_0010fdaa(1,0x30);\n *(undefined8 *)(lVar1 + 0x20) = 0;\n return lVar1;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x30
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x20],0x0
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(void)
{
type_1 *pPVar1;
type_1 *pl;
pPVar1 = (type_1 *)var_1(1,0x30);
pPVar1->hostname = (char *)0x0;
return pPVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nPortListener * new_portlistener_state(void)\n\n{\n PortListener *pPVar1;\n PortListener *pl;\n \n pPVar1 = (PortListener *)safemalloc(1,0x30);\n pPVar1->hostname = (char *)0x0;\... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void)\n\n{\n type_1 *pPVar1;\n type_1 *pl;\n \n pPVar1 = (type_1 *)var_1(1,0x30);\n pPVar1->hostname = (char *)0x0;\n return pPVar1;\n}\n\n" comment comment... | (translation_unit (comment) (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declar... |
760_pscp_and_pscp_strip.c | modpow | FUN_001528bc | modpow |
Bignum_conflict modpow(Bignum_conflict base_in,Bignum_conflict exp,Bignum_conflict mod)
{
BignumInt *pBVar1;
int len_00;
int iVar2;
Bignum_conflict pBVar3;
Bignum_conflict modulus;
Bignum_conflict b_00;
Bignum_conflict b_01;
BignumInt *n_00;
BignumInt *b_02;
BignumInt *a_00;
BignumInt BVar4;
B... |
ulong * FUN_001528bc(undefined8 param_1,long *param_2,ulong *param_3)
{
ulong uVar1;
long lVar2;
int iVar3;
int iVar4;
ulong *puVar5;
undefined8 uVar6;
undefined8 uVar7;
undefined8 *puVar8;
undefined8 *puVar9;
undefined8 *puVar10;
long lVar11;
long lVar12;
long lVar13;
int local_90;
int ... | (translation_unit "ulong * FUN_001528bc(undefined8 param_1,long *param_2,ulong *param_3)\n\n{\n ulong uVar1;\n long lVar2;\n int iVar3;\n int iVar4;\n ulong *puVar5;\n undefined8 uVar6;\n undefined8 uVar7;\n undefined8 *puVar8;\n undefined8 *puVar9;\n undefined8 *puVar10;\n long lVar11;\n long lVar12;\n lo... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0xa8
MOV qword ptr [RBP + -0x98],RDI
MOV qword ptr [RBP + -0xa0],RSI
MOV qword ptr [RBP + -0xa8],RDX
MOV RAX,qword ptr [RBP + -0xa8]
MOV RAX,qword ptr [RAX]
LEA RDX,[RAX*0x8]
MOV RAX,qword ptr [RBP + -0xa8]
ADD RAX,RDX
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JNZ 0x00152920
LEA RCX,[0x... |
type_1 function_1(type_1 base_in,type_1 exp,type_1 mod)
{
type_2 *pBVar1;
int var_5;
int var_14;
type_1 pBVar3;
type_1 modulus;
type_1 var_7;
type_1 b_01;
type_2 *n_00;
type_2 *b_02;
type_2 *a_00;
type_2 BVar4;
type_2 *scratch_00;
type_1 mod_local;
type_1 exp_local;
type_1 base_in_local;... | (translation_unit "Bignum_conflict modpow(Bignum_conflict base_in,Bignum_conflict exp,Bignum_conflict mod)\n\n{\n BignumInt *pBVar1;\n int len_00;\n int iVar2;\n Bignum_conflict pBVar3;\n Bignum_conflict modulus;\n Bignum_conflict b_00;\n Bignum_conflict b_01;\n BignumInt *n_00;\n BignumInt *b_02;\n BignumInt... | (translation_unit "type_1 function_1(type_1 base_in,type_1 exp,type_1 mod)\n\n{\n type_2 *pBVar1;\n int var_5;\n int var_14;\n type_1 pBVar3;\n type_1 modulus;\n type_1 var_7;\n type_1 b_01;\n type_2 *n_00;\n type_2 *b_02;\n type_2 *a_00;\n type_2 BVar4;\n type_2 *scratch_00;\n type_1 mod_local;\n type_1 ... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration ty... |
643_pscp_and_pscp_strip.c | ssh_sharing_add_x11_display | FUN_0013d2e7 | ssh_sharing_add_x11_display |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
X11FakeAuth *
ssh_sharing_add_x11_display(Ssh_conflict ssh,int authtype,void *share_cs,void *share_chan)
{
X11FakeAuth *pXVar1;
void *share_chan_local;
void *share_cs_local;
int authtype_local;
Ssh_conflict ssh_local;
X11FakeAuth *a... |
long FUN_0013d2e7(long param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4)
{
long lVar1;
lVar1 = FUN_0018e930(*(undefined8 *)(param_1 + 0x248),param_2);
*(undefined8 *)(lVar1 + 0x40) = param_3;
*(undefined8 *)(lVar1 + 0x48) = param_4;
return lVar1;
}
| (translation_unit "long FUN_0013d2e7(long param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4)\n\n{\n long lVar1;\n \n lVar1 = FUN_0018e930(*(undefined8 *)(param_1 + 0x248),param_2);\n *(undefined8 *)(lVar1 + 0x40) = param_3;\n *(undefined8 *)(lVar1 + 0x48) = param_4;\n return lVar1;\n}\n\n" (functio... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x248]
MOV EDX,dword ptr [RBP + -0x1c]
MOV ESI,EDX
MOV RDI,RAX
CALL 0x0018e930
MOV qword ptr [RBP + -... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 *
function_1(type_2 ssh,int authtype,void *share_cs,void *share_chan)
{
type_1 *pXVar1;
void *share_chan_local;
void *share_cs_local;
int authtype_local;
type_2 ssh_local;
type_1 *auth;
pXVar1 = var_1(ssh->x11authtree,au... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nX11FakeAuth *\nssh_sharing_add_x11_display(Ssh_conflict ssh,int authtype,void *share_cs,void *share_chan)\n\n{\n X11FakeAuth *pXVar1;\n void *share_chan_local;\n void *share_cs_local;\n int authtype_local;\n Ssh_conflict... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 *\nfunction_1(type_2 ssh,int authtype,void *share_cs,void *share_chan)\n\n{\n type_1 *pXVar1;\n void *share_chan_local;\n void *share_cs_local;\n int authtype_local;\n type_2 ssh_local;\n type_1 *auth;\n \n pXV... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator... |
648_pscp_and_pscp_strip.c | ssh2_msg_userauth_banner | FUN_0013db43 | ssh2_msg_userauth_banner |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_userauth_banner(Ssh_conflict ssh,Packet *pktin)
{
int iVar1;
long in_FS_OFFSET;
Packet *pktin_local;
Ssh_conflict ssh_local;
int size;
char *banner;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iV... |
void FUN_0013db43(long param_1,undefined8 param_2)
{
int iVar1;
long in_FS_OFFSET;
undefined4 local_1c;
long local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_0010ab18(*(undefined8 *)(param_1 + 0x380),0x24);
if (iVar1 != 0) {
iVar1 = FUN_0010f973(param_1 + 0x218);
... | (translation_unit "void FUN_0013db43(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n undefined4 local_1c;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_0010ab18(*(undefined8 *)(param_1 + 0x380),0x24);\n if (iVar1 != 0) {\n iVar1 = F... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RAX + 0x380]
MOV ESI,0x24
MOV RDI,RAX
CALL 0x0010ab18
TEST EAX,EAX
JZ 0x0013dbe3
MOV RAX,qword ptr [... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
int var_3;
long var_1;
type_2 *pktin_local;
type_1 ssh_local;
int size;
char *var_6;
long var_8;
var_8 = *(long *)(var_1 + 0x28);
var_3 = var_2(ssh->conf,0x24);
if (var_3 != 0) ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_userauth_banner(Ssh_conflict ssh,Packet *pktin)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n int size;\n char *banner;\n long local_10;\n \n local_10 = *(lon... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n int var_3;\n long var_1;\n type_2 *pktin_local;\n type_1 ssh_local;\n int size;\n char *var_6;\n long var_8;\n \n var_8 = *(long *)(var_1 + 0x28);\n var_3 = var_2(ssh... | (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... |
298_pscp_and_pscp_strip.c | sk_proxy_write_eof | FUN_0011213b | sk_proxy_write_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_proxy_write_eof(Socket s)
{
Socket s_local;
Proxy_Socket ps;
if (*(int *)((long)s + 0x84) == 0) {
(**(code **)(s[2]->plug + 0x20))(s[2]);
}
else {
*(undefined4 *)(s + 0x10) = 1;
}
return;
}
|
void FUN_0011213b(long param_1)
{
if (*(int *)(param_1 + 0x84) == 0) {
(**(code **)(**(long **)(param_1 + 0x10) + 0x20))(*(undefined8 *)(param_1 + 0x10));
}
else {
*(undefined4 *)(param_1 + 0x80) = 1;
}
return;
}
| (translation_unit "void FUN_0011213b(long param_1)\n\n{\n if (*(int *)(param_1 + 0x84) == 0) {\n (**(code **)(**(long **)(param_1 + 0x10) + 0x20))(*(undefined8 *)(param_1 + 0x10));\n }\n else {\n *(undefined4 *)(param_1 + 0x80) = 1;\n }\n return;\n}\n\n" (function_definition "void FUN_0011213b(long param_1)\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x84]
TEST EAX,EAX
JZ 0x0011216d
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x80],0x1
JMP 0x00112189
MOV RAX,qword ptr [RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_1)
{
type_1 s_local;
type_2 ps;
if (*(int *)((long)var_1 + 0x84) == 0) {
(**(type_3 **)(var_1[2]->plug + 0x20))(var_1[2]);
}
else {
*(type_4 *)(var_1 + 0x10) = 1;
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_proxy_write_eof(Socket s)\n\n{\n Socket s_local;\n Proxy_Socket ps;\n \n if (*(int *)((long)s + 0x84) == 0) {\n (**(code **)(s[2]->plug + 0x20))(s[2]);\n }\n else {\n *(undefined4 *)(s + 0x10) = 1;\n }\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_1)\n\n{\n type_1 s_local;\n type_2 ps;\n \n if (*(int *)((long)var_1 + 0x84) == 0) {\n (**(type_3 **)(var_1[2]->plug + 0x20))(var_1[2]);\n }\n else {\n *(type_4 *)(var_1 + 0x10) = 1;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
392_pscp_and_pscp_strip.c | sessioncmp | FUN_00121f61 | sessioncmp |
int sessioncmp(void *av,void *bv)
{
char *__s1;
char *__s1_00;
int iVar1;
void *bv_local;
void *av_local;
char *a;
char *b;
/* WARNING: Load size is inaccurate */
__s1 = *av;
/* WARNING: Load size is inaccurate */
__s1_00 = *bv;
iVar1 = strcmp(__s1,"Defau... |
int FUN_00121f61(undefined8 *param_1,undefined8 *param_2)
{
char *__s1;
char *__s1_00;
int iVar1;
__s1 = (char *)*param_1;
__s1_00 = (char *)*param_2;
iVar1 = strcmp(__s1,"Default Settings");
if (iVar1 == 0) {
iVar1 = -1;
}
else {
iVar1 = strcmp(__s1_00,"Default Settings");
if (iVar1 ... | (translation_unit "int FUN_00121f61(undefined8 *param_1,undefined8 *param_2)\n\n{\n char *__s1;\n char *__s1_00;\n int iVar1;\n \n __s1 = (char *)*param_1;\n __s1_00 = (char *)*param_2;\n iVar1 = strcmp(__s1,"Default Settings");\n if (iVar1 == 0) {\n iVar1 = -1;\n }\n else {\n iVar1 = strcmp(__s1_00,"De... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
LEA RSI,[0x1952... |
int function_1(void *av,void *bv)
{
char *__s1;
char *__s1_00;
int var_2;
void *bv_local;
void *av_local;
char *a;
char *b;
/* WARNING: Load size is inaccurate */
__s1 = *av;
/* WARNING: Load size is inaccurate */
__s1_00 = *bv;
var_2 = var_1(__s1,"Defaul... | (translation_unit "int sessioncmp(void *av,void *bv)\n\n{\n char *__s1;\n char *__s1_00;\n int iVar1;\n void *bv_local;\n void *av_local;\n char *a;\n char *b;\n \n /* WARNING: Load size is inaccurate */\n __s1 = *av;\n /* WARNING: Load size is inaccurate */\n __s1_00 = *... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n char *__s1;\n char *__s1_00;\n int var_2;\n void *bv_local;\n void *av_local;\n char *a;\n char *b;\n \n /* WARNING: Load size is inaccurate */\n __s1 = *av;\n /* WARNING: Load size is inaccurate */\n __s1_00 = *... | (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_... |
400_pscp_and_pscp_strip.c | sftp_pkt_addstring_start | FUN_0012261e | sftp_pkt_addstring_start |
void sftp_pkt_addstring_start(sftp_packet *pkt)
{
sftp_packet *pkt_local;
sftp_pkt_adduint32(pkt,0);
pkt->savedpos = pkt->length;
return;
}
|
void FUN_0012261e(long param_1)
{
FUN_00122488(param_1,0);
*(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);
return;
}
| (translation_unit "void FUN_0012261e(long param_1)\n\n{\n FUN_00122488(param_1,0);\n *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + 8);\n return;\n}\n\n" (function_definition "void FUN_0012261e(long param_1)\n\n{\n FUN_00122488(param_1,0);\n *(undefined4 *)(param_1 + 0x10) = *(undefined4 *)(param_1 + ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00122488
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x10],EDX
NOP
LEAVE
RET |
void function_1(type_1 *pkt)
{
type_1 *pkt_local;
var_1(pkt,0);
pkt->savedpos = pkt->length;
return;
}
| (translation_unit "void sftp_pkt_addstring_start(sftp_packet *pkt)\n\n{\n sftp_packet *pkt_local;\n \n sftp_pkt_adduint32(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}\n\n" (function_definition "void sftp_pkt_addstring_start(sftp_packet *pkt)\n\n{\n sftp_packet *pkt_local;\n \n sftp_pkt_adduint32(pkt,0);\... | (translation_unit "void function_1(type_1 *pkt)\n\n{\n type_1 *pkt_local;\n \n var_1(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}\n\n" (function_definition "void function_1(type_1 *pkt)\n\n{\n type_1 *pkt_local;\n \n var_1(pkt,0);\n pkt->savedpos = pkt->length;\n return;\n}" primitive_type (function_de... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
240_pscp_and_pscp_strip.c | strbuf_catfv | FUN_0010f387 | strbuf_catfv |
void strbuf_catfv(strbuf *buf,char *fmt,__va_list_tag *ap)
{
int iVar1;
char *pcVar2;
size_t sVar3;
__va_list_tag *ap_local;
char *fmt_local;
strbuf *buf_local;
pcVar2 = dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap);
buf->s = pcVar2;
iVar1 = buf->len;
sVar3 = strlen(buf->s + buf->len);
... |
void FUN_0010f387(long *param_1,undefined8 param_2,undefined8 param_3)
{
int iVar1;
long lVar2;
size_t sVar3;
lVar2 = FUN_0010f02c(*param_1,*(undefined4 *)(param_1 + 1),(long)param_1 + 0xc,param_2,param_3);
*param_1 = lVar2;
iVar1 = *(int *)(param_1 + 1);
sVar3 = strlen((char *)((long)*(int *)(param_... | (translation_unit "void FUN_0010f387(long *param_1,undefined8 param_2,undefined8 param_3)\n\n{\n int iVar1;\n long lVar2;\n size_t sVar3;\n \n lVar2 = FUN_0010f02c(*param_1,*(undefined4 *)(param_1 + 1),(long)param_1 + 0xc,param_2,param_3);\n *param_1 = lVar2;\n iVar1 = *(int *)(param_1 + 1);\n sVar3 = strlen((c... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
LEA RDI,[RAX + 0xc]
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,dword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RCX,qwo... |
void function_1(type_1 *buf,char *fmt,type_2 *ap)
{
int var_3;
char *pcVar2;
size_t sVar3;
type_2 *ap_local;
char *fmt_local;
type_1 *buf_local;
pcVar2 = var_1(buf->s,buf->len,&buf->size,fmt,ap);
buf->s = pcVar2;
var_3 = buf->len;
sVar3 = var_2(buf->s + buf->len);
buf->len = (int)sVar3 + var_... | (translation_unit "void strbuf_catfv(strbuf *buf,char *fmt,__va_list_tag *ap)\n\n{\n int iVar1;\n char *pcVar2;\n size_t sVar3;\n __va_list_tag *ap_local;\n char *fmt_local;\n strbuf *buf_local;\n \n pcVar2 = dupvprintf_inner(buf->s,buf->len,&buf->size,fmt,ap);\n buf->s = pcVar2;\n iVar1 = buf->len;\n sVar3 ... | (translation_unit "void function_1(type_1 *buf,char *fmt,type_2 *ap)\n\n{\n int var_3;\n char *pcVar2;\n size_t sVar3;\n type_2 *ap_local;\n char *fmt_local;\n type_1 *buf_local;\n \n pcVar2 = var_1(buf->s,buf->len,&buf->size,fmt,ap);\n buf->s = pcVar2;\n var_3 = buf->len;\n sVar3 = var_2(buf->s + buf->len);... | (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... |
969_pscp_and_pscp_strip.c | ssh_gssapi_get_mic | FUN_00166f5e | ssh_gssapi_get_mic |
Ssh_gss_stat
ssh_gssapi_get_mic(ssh_gss_library *lib,Ssh_gss_ctx ctx,Ssh_gss_buf *buf,Ssh_gss_buf *hash)
{
Ssh_gss_stat SVar1;
Ssh_gss_buf *hash_local;
Ssh_gss_buf *buf_local;
Ssh_gss_ctx ctx_local;
ssh_gss_library *lib_local;
gssapi_functions *gss;
gssapi_ssh_gss_ctx *gssctx;
if (ctx == (Ssh_gss_c... |
undefined8 FUN_00166f5e(long param_1,long param_2,undefined8 param_3,undefined8 param_4)
{
undefined8 uVar1;
if (param_2 == 0) {
uVar1 = 4;
}
else {
uVar1 = (**(code **)(param_1 + 0x70))
(param_2 + 4,*(undefined8 *)(param_2 + 8),0,param_3,param_4);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00166f5e(long param_1,long param_2,undefined8 param_3,undefined8 param_4)\n\n{\n undefined8 uVar1;\n \n if (param_2 == 0) {\n uVar1 = 4;\n }\n else {\n uVar1 = (**(code **)(param_1 + 0x70))\n (param_2 + 4,*(undefined8 *)(param_2 + 8),0,param_3,param_4);\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,0x60
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP... |
type_1
function_1(type_2 *lib,type_3 var_1,type_4 *buf,type_4 *hash)
{
type_1 SVar1;
type_4 *hash_local;
type_4 *buf_local;
type_3 ctx_local;
type_2 *lib_local;
type_5 *gss;
type_6 *gssctx;
if (var_1 == (type_3)0x0) {
SVar1 = SSH_GSS_FAILURE;
}
else {
SVar1 = (*(lib->u).gssapi.get_mic)
... | (translation_unit "Ssh_gss_stat\nssh_gssapi_get_mic(ssh_gss_library *lib,Ssh_gss_ctx ctx,Ssh_gss_buf *buf,Ssh_gss_buf *hash)\n\n{\n Ssh_gss_stat SVar1;\n Ssh_gss_buf *hash_local;\n Ssh_gss_buf *buf_local;\n Ssh_gss_ctx ctx_local;\n ssh_gss_library *lib_local;\n gssapi_functions *gss;\n gssapi_ssh_gss_ctx *gssctx... | (translation_unit "type_1\nfunction_1(type_2 *lib,type_3 var_1,type_4 *buf,type_4 *hash)\n\n{\n type_1 SVar1;\n type_4 *hash_local;\n type_4 *buf_local;\n type_3 ctx_local;\n type_2 *lib_local;\n type_5 *gss;\n type_6 *gssctx;\n \n if (var_1 == (type_3)0x0) {\n SVar1 = SSH_GSS_FAILURE;\n }\n else {\n S... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (ident... |
830_pscp_and_pscp_strip.c | crcda_make_context | FUN_00158201 | crcda_make_context |
/* WARNING: Unknown calling convention */
void * crcda_make_context(void)
{
undefined8 *puVar1;
crcda_ctx *ret;
puVar1 = (undefined8 *)safemalloc(1,0x10);
*puVar1 = 0;
*(undefined4 *)(puVar1 + 1) = 0x1000;
return puVar1;
}
|
undefined8 * FUN_00158201(void)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)FUN_0010fdaa(1,0x10);
*puVar1 = 0;
*(undefined4 *)(puVar1 + 1) = 0x1000;
return puVar1;
}
| (translation_unit "undefined8 * FUN_00158201(void)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_0010fdaa(1,0x10);\n *puVar1 = 0;\n *(undefined4 *)(puVar1 + 1) = 0x1000;\n return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_00158201(void)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefin... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x10
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x8],0x1000
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
/* WARNING: Unknown calling convention */
void * function_1(void)
{
type_1 *var_2;
type_2 *ret;
var_2 = (type_1 *)var_1(1,0x10);
*var_2 = 0;
*(type_3 *)(var_2 + 1) = 0x1000;
return var_2;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * crcda_make_context(void)\n\n{\n undefined8 *puVar1;\n crcda_ctx *ret;\n \n puVar1 = (undefined8 *)safemalloc(1,0x10);\n *puVar1 = 0;\n *(undefined4 *)(puVar1 + 1) = 0x1000;\n return puVar1;\n}\n\n" comment (function_definition "void * crcda_m... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n type_1 *var_2;\n type_2 *ret;\n \n var_2 = (type_1 *)var_1(1,0x10);\n *var_2 = 0;\n *(type_3 *)(var_2 + 1) = 0x1000;\n return var_2;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{\n type_1 *var_2;\... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (poin... |
488_pscp_and_pscp_strip.c | nullstrcmp | FUN_00125fca | nullstrcmp |
int nullstrcmp(char *a,char *b)
{
int iVar1;
char *b_local;
char *a_local;
if ((a == (char *)0x0) && (b == (char *)0x0)) {
iVar1 = 0;
}
else if (a == (char *)0x0) {
iVar1 = -1;
}
else if (b == (char *)0x0) {
iVar1 = 1;
}
else {
iVar1 = strcmp(a,b);
}
return iVar1;
}
|
int FUN_00125fca(char *param_1,char *param_2)
{
int iVar1;
if ((param_1 == (char *)0x0) && (param_2 == (char *)0x0)) {
iVar1 = 0;
}
else if (param_1 == (char *)0x0) {
iVar1 = -1;
}
else if (param_2 == (char *)0x0) {
iVar1 = 1;
}
else {
iVar1 = strcmp(param_1,param_2);
}
return i... | (translation_unit "int FUN_00125fca(char *param_1,char *param_2)\n\n{\n int iVar1;\n \n if ((param_1 == (char *)0x0) && (param_2 == (char *)0x0)) {\n iVar1 = 0;\n }\n else if (param_1 == (char *)0x0) {\n iVar1 = -1;\n }\n else if (param_2 == (char *)0x0) {\n iVar1 = 1;\n }\n else {\n iVar1 = strcmp... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x00125fef
CMP qword ptr [RBP + -0x10],0x0
JNZ 0x00125fef
MOV EAX,0x0
JMP 0x0012601e
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x00125ffd
MOV EAX,0xffffffff
JMP 0x0012601e
CMP qword ptr [RBP + -0... |
int function_1(char *var_1,char *var_2)
{
int iVar1;
char *b_local;
char *a_local;
if ((var_1 == (char *)0x0) && (var_2 == (char *)0x0)) {
iVar1 = 0;
}
else if (var_1 == (char *)0x0) {
iVar1 = -1;
}
else if (var_2 == (char *)0x0) {
iVar1 = 1;
}
else {
iVar1 = var_3(var_1,var_2);... | (translation_unit "int nullstrcmp(char *a,char *b)\n\n{\n int iVar1;\n char *b_local;\n char *a_local;\n \n if ((a == (char *)0x0) && (b == (char *)0x0)) {\n iVar1 = 0;\n }\n else if (a == (char *)0x0) {\n iVar1 = -1;\n }\n else if (b == (char *)0x0) {\n iVar1 = 1;\n }\n else {\n iVar1 = strcmp(a... | (translation_unit "int function_1(char *var_1,char *var_2)\n\n{\n int iVar1;\n char *b_local;\n char *a_local;\n \n if ((var_1 == (char *)0x0) && (var_2 == (char *)0x0)) {\n iVar1 = 0;\n }\n else if (var_1 == (char *)0x0) {\n iVar1 = -1;\n }\n else if (var_2 == (char *)0x0) {\n iVar1 = 1;\n }\n else... | (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_... |
363_pscp_and_pscp_strip.c | sink | FUN_0011ae15 | sink |
void sink(char *targ,char *src)
{
long lVar1;
bool bVar2;
int iVar3;
int iVar4;
int iVar5;
char *pcVar6;
WFile *f_00;
time_t start;
time_t tVar7;
long in_FS_OFFSET;
uint64 uVar8;
char *src_local;
char *targ_local;
int targisdir;
int wrerror;
int attr;
int exists;
int read;
char *... |
void FUN_0011ae15(char *param_1,long param_2)
{
bool bVar1;
int iVar2;
int iVar3;
int iVar4;
char *__s2;
long lVar5;
time_t tVar6;
undefined8 uVar7;
time_t tVar8;
ulong extraout_RDX;
long in_FS_OFFSET;
undefined auVar9 [16];
undefined auVar10 [16];
undefined auVar11 [16];
undefined8 loca... | (translation_unit "void FUN_0011ae15(char *param_1,long param_2)\n\n{\n bool bVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n char *__s2;\n long lVar5;\n time_t tVar6;\n undefined8 uVar7;\n time_t tVar8;\n ulong extraout_RDX;\n long in_FS_OFFSET;\n undefined auVar9 [16];\n undefined auVar10 [16];\n undefin... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x80f8
MOV qword ptr [RBP + -0x80f8],RDI
MOV qword ptr [RBP + -0x8100],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x80ec],0x0
MOV dword ptr [RBP + -0x80e8],0x0
MOV RAX,qword ptr [RBP + -0x80f8]
MOV RDI,RAX
CALL 0x0018af3a
MOV d... |
void function_1(char *targ,char *var_14)
{
long var_41;
bool bVar2;
int var_4;
int var_8;
int var_32;
char *pcVar6;
type_1 *var_23;
type_2 start;
type_2 var_34;
long var_1;
type_3 uVar8;
char *src_local;
char *targ_local;
int targisdir;
int wrerror;
int attr;
int exists;
int read;
... | (translation_unit "void sink(char *targ,char *src)\n\n{\n long lVar1;\n bool bVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n char *pcVar6;\n WFile *f_00;\n time_t start;\n time_t tVar7;\n long in_FS_OFFSET;\n uint64 uVar8;\n char *src_local;\n char *targ_local;\n int targisdir;\n int wrerror;\n int attr... | (translation_unit "void function_1(char *targ,char *var_14)\n\n{\n long var_41;\n bool bVar2;\n int var_4;\n int var_8;\n int var_32;\n char *pcVar6;\n type_1 *var_23;\n type_2 start;\n type_2 var_34;\n long var_1;\n type_3 uVar8;\n char *src_local;\n char *targ_local;\n int targisdir;\n int wrerror;\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_... |
521_pscp_and_pscp_strip.c | ssh_pkt_addstring_str | FUN_00129ead | ssh_pkt_addstring_str |
void ssh_pkt_addstring_str(Packet *pkt,char *data)
{
size_t sVar1;
char *data_local;
Packet *pkt_local;
sVar1 = strlen(data);
ssh_pkt_addstring_data(pkt,data,(int)sVar1);
return;
}
|
void FUN_00129ead(undefined8 param_1,char *param_2)
{
size_t sVar1;
sVar1 = strlen(param_2);
FUN_00129dac(param_1,param_2,sVar1 & 0xffffffff);
return;
}
| (translation_unit "void FUN_00129ead(undefined8 param_1,char *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = strlen(param_2);\n FUN_00129dac(param_1,param_2,sVar1 & 0xffffffff);\n return;\n}\n\n" (function_definition "void FUN_00129ead(undefined8 param_1,char *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = strlen(param... | 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 0x00107260
MOV EDX,EAX
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00129dac
NOP
LEAVE
RET |
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);
return;
}
| (translation_unit "void ssh_pkt_addstring_str(Packet *pkt,char *data)\n\n{\n size_t sVar1;\n char *data_local;\n Packet *pkt_local;\n \n sVar1 = strlen(data);\n ssh_pkt_addstring_data(pkt,data,(int)sVar1);\n return;\n}\n\n" (function_definition "void ssh_pkt_addstring_str(Packet *pkt,char *data)\n\n{\n size_t s... | (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 return;\n}\n\n" (function_definition "void function_1(type_1 *pkt,char *data)\n\n{\n size_t sVar1;\n char *data_local;\n type_1 *pk... | (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... |
655_pscp_and_pscp_strip.c | ssh2_response_authconn | FUN_0013e54f | ssh2_response_authconn |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_response_authconn(ssh_channel *c,Packet *pktin,void *ctx)
{
void *ctx_local;
Packet *pktin_local;
ssh_channel *c_local;
if (pktin != (Packet *)0x0) {
do_ssh2_authconn(c->ssh,(uchar *)0x0,0,pktin);
}
return;
}
|
void FUN_0013e54f(undefined8 *param_1,long param_2)
{
if (param_2 != 0) {
FUN_0013e58d(*param_1,0,0,param_2);
}
return;
}
| (translation_unit "void FUN_0013e54f(undefined8 *param_1,long param_2)\n\n{\n if (param_2 != 0) {\n FUN_0013e58d(*param_1,0,0,param_2);\n }\n return;\n}\n\n" (function_definition "void FUN_0013e54f(undefined8 *param_1,long param_2)\n\n{\n if (param_2 != 0) {\n FUN_0013e58d(*param_1,0,0,param_2);\n }\n retur... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
CMP qword ptr [RBP + -0x10],0x0
JZ 0x0013e58a
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDX,qword ptr [RBP + -0x10]
MOV RCX,RDX
MOV EDX,0x0
MOV ESI,0x0
MOV RDI,RAX
CALL 0x001... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c,type_2 *var_1,void *ctx)
{
void *ctx_local;
type_2 *pktin_local;
type_1 *c_local;
if (var_1 != (type_2 *)0x0) {
var_2(c->ssh,(type_3 *)0x0,0,var_1);
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_response_authconn(ssh_channel *c,Packet *pktin,void *ctx)\n\n{\n void *ctx_local;\n Packet *pktin_local;\n ssh_channel *c_local;\n \n if (pktin != (Packet *)0x0) {\n do_ssh2_authconn(c->ssh,(uchar *)0x0,0,pk... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c,type_2 *var_1,void *ctx)\n\n{\n void *ctx_local;\n type_2 *pktin_local;\n type_1 *c_local;\n \n if (var_1 != (type_2 *)0x0) {\n var_2(c->ssh,(type_3 *)0x0,0,var_1);\n }\n return;\n}\n\n" co... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
1003_pscp_and_pscp_strip.c | rfc4716_loadpub | FUN_0016af74 | rfc4716_loadpub |
uchar * rfc4716_loadpub(FILE *fp,char **algorithm,int *pub_blob_len,char **commentptr,
char **errorstr)
{
long lVar1;
int iVar2;
int iVar3;
uint uVar4;
char *pcVar5;
size_t sVar6;
long in_FS_OFFSET;
char **errorstr_local;
char **commentptr_local;
int *pub_blob_len_local;
c... |
byte * FUN_0016af74(undefined8 param_1,undefined8 *param_2,int *param_3,undefined8 *param_4,
undefined8 *param_5)
{
int iVar1;
int iVar2;
undefined8 uVar3;
char *pcVar4;
size_t sVar5;
long in_FS_OFFSET;
int local_74;
int local_70;
int local_6c;
char *local_60;
char *local_58;
... | (translation_unit "byte * FUN_0016af74(undefined8 param_1,undefined8 *param_2,int *param_3,undefined8 *param_4,\n undefined8 *param_5)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n char *pcVar4;\n size_t sVar5;\n long in_FS_OFFSET;\n int local_74;\n int local_70;\n int local_6c;\n cha... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xa0
MOV qword ptr [RBP + -0x78],RDI
MOV qword ptr [RBP + -0x80],RSI
MOV qword ptr [RBP + -0x88],RDX
MOV qword ptr [RBP + -0x90],RCX
MOV qword ptr [RBP + -0x98],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV qword ptr [RBP + -0x48],0x0
MOV qword ptr [RBP + -0x... |
type_1 * function_1(type_2 *fp,char **var_21,int *var_23,char **var_24,
char **var_31)
{
long var_32;
int var_6;
int var_16;
type_3 uVar4;
char *var_9;
size_t var_27;
long var_1;
char **errorstr_local;
char **commentptr_local;
int *pub_blob_len_local;
char **algorithm_loca... | (translation_unit "uchar * rfc4716_loadpub(FILE *fp,char **algorithm,int *pub_blob_len,char **commentptr,\n char **errorstr)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n uint uVar4;\n char *pcVar5;\n size_t sVar6;\n long in_FS_OFFSET;\n char **errorstr_local;\n char **commentptr_local;\... | (translation_unit "type_1 * function_1(type_2 *fp,char **var_21,int *var_23,char **var_24,\n char **var_31)\n\n{\n long var_32;\n int var_6;\n int var_16;\n type_3 uVar4;\n char *var_9;\n size_t var_27;\n long var_1;\n char **errorstr_local;\n char **commentptr_local;\n int *pub_blob_len... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (pri... |
944_pscp_and_pscp_strip.c | ed25519_openssh_createkey | FUN_00164285 | ed25519_openssh_createkey |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * ed25519_openssh_createkey(ssh_signkey *self,uchar **blob,int *len)
{
int iVar1;
ec_curve *peVar2;
Bignum_conflict pBVar3;
ec_key *peVar4;
long in_FS_OFFSET;
int *len_local;
uchar **blob_local;
ssh_signkey *self_local;
i... |
undefined8 * FUN_00164285(undefined8 param_1,undefined8 param_2,undefined8 param_3)
{
int iVar1;
undefined8 uVar2;
undefined8 *puVar3;
long in_FS_OFFSET;
int local_38;
int local_34;
void *local_30;
long local_28;
undefined8 *local_20;
long local_18;
long local_10;
local_10 = *(long *)(in_FS... | (translation_unit "undefined8 * FUN_00164285(undefined8 param_1,undefined8 param_2,undefined8 param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 *puVar3;\n long in_FS_OFFSET;\n int local_38;\n int local_34;\n void *local_30;\n long local_28;\n undefined8 *local_20;\n long local_18;\n long local_10;\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RCX,[RBP + -0x30]
LEA RDX,[RBP + -0x28]
MOV RSI,qword ptr [RBP + -0x48]
MOV RAX,qword ptr [RBP + -0x40]
MOV RDI,RAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * function_1(type_1 *self,type_2 **blob,int *len)
{
int var_7;
type_3 *peVar2;
type_4 pBVar3;
type_5 *peVar4;
long var_1;
int *len_local;
type_2 **blob_local;
type_1 *self_local;
int var_16;
int var_10;
char *var_3;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * ed25519_openssh_createkey(ssh_signkey *self,uchar **blob,int *len)\n\n{\n int iVar1;\n ec_curve *peVar2;\n Bignum_conflict pBVar3;\n ec_key *peVar4;\n long in_FS_OFFSET;\n int *len_local;\n uchar **blob_local;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(type_1 *self,type_2 **blob,int *len)\n\n{\n int var_7;\n type_3 *peVar2;\n type_4 pBVar3;\n type_5 *peVar4;\n long var_1;\n int *len_local;\n type_2 **blob_local;\n type_1 *self_local;\n int var_16;... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration t... |
921_pscp_and_pscp_strip.c | ecp_add | FUN_00161fd3 | ecp_add |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_add(ec_point *a,ec_point *b,int aminus3)
{
ec_point *peVar1;
int aminus3_local;
ec_point *b_local;
ec_point *a_local;
if (a->curve == b->curve) {
if (a->infinity == '\0') {
if (b->infinity == '\0') {
... |
undefined8 FUN_00161fd3(long *param_1,long *param_2,undefined4 param_3)
{
undefined8 uVar1;
if (*param_1 == *param_2) {
if (*(char *)(param_1 + 4) == '\0') {
if (*(char *)(param_2 + 4) == '\0') {
if (*(int *)*param_1 == 2) {
uVar1 = FUN_00161cd4(param_1,param_2);
}
e... | (translation_unit "undefined8 FUN_00161fd3(long *param_1,long *param_2,undefined4 param_3)\n\n{\n undefined8 uVar1;\n \n if (*param_1 == *param_2) {\n if (*(char *)(param_1 + 4) == '\0') {\n if (*(char *)(param_2 + 4) == '\0') {\n if (*(int *)*param_1 == 2) {\n uVar1 = FUN_00161cd4(param_1,pa... | 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 RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
CMP RDX,RAX
JZ 0x00162003
MOV EAX,0x0
JMP 0x00162084
MOV RAX,qword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,type_1 *b,int aminus3)
{
type_1 *peVar1;
int aminus3_local;
type_1 *b_local;
type_1 *a_local;
if (a->curve == b->curve) {
if (a->infinity == '\0') {
if (b->infinity == '\0') {
if (a->... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_add(ec_point *a,ec_point *b,int aminus3)\n\n{\n ec_point *peVar1;\n int aminus3_local;\n ec_point *b_local;\n ec_point *a_local;\n \n if (a->curve == b->curve) {\n if (a->infinity == '\0') {\n if ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *a,type_1 *b,int aminus3)\n\n{\n type_1 *peVar1;\n int aminus3_local;\n type_1 *b_local;\n type_1 *a_local;\n \n if (a->curve == b->curve) {\n if (a->infinity == '\0') {\n if (b->infin... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
635_pscp_and_pscp_strip.c | ssh_channel_got_eof | FUN_0013c227 | ssh_channel_got_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh_channel_got_eof(ssh_channel *c)
{
Ssh_conflict psVar1;
int iVar2;
ssh_channel *c_local;
Ssh_conflict ssh;
if ((c->closes & 4U) == 0) {
c->closes = c->closes | 4;
if (c->type == 1) {
if ((c->u).a.inbuffer.head... |
void FUN_0013c227(long *param_1)
{
long lVar1;
int iVar2;
if ((*(uint *)(param_1 + 3) & 4) == 0) {
*(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) | 4;
if (*(int *)(param_1 + 2) == 1) {
if (param_1[0xe] == 0) {
/* WARNING: Subroutine does not return */
__assert_fail(... | (translation_unit "void FUN_0013c227(long *param_1)\n\n{\n long lVar1;\n int iVar2;\n \n if ((*(uint *)(param_1 + 3) & 4) == 0) {\n *(uint *)(param_1 + 3) = *(uint *)(param_1 + 3) | 4;\n if (*(int *)(param_1 + 2) == 1) {\n if (param_1[0xe] == 0) {\n /* WARNING: Subroutine does not retu... | 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 + 0x18]
AND EAX,0x4
TEST EAX,EAX
JNZ 0x0013c371
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x18]
OR EAX,0x4
MOV EDX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV dword ptr [RAX + 0x18],EDX
MO... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *c)
{
type_2 psVar1;
int var_6;
type_1 *c_local;
type_2 ssh;
if ((c->closes & 4U) == 0) {
c->closes = c->closes | 4;
if (c->type == 1) {
if ((c->u).a.inbuffer.head == (type_3 *)0x0) {
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh_channel_got_eof(ssh_channel *c)\n\n{\n Ssh_conflict psVar1;\n int iVar2;\n ssh_channel *c_local;\n Ssh_conflict ssh;\n \n if ((c->closes & 4U) == 0) {\n c->closes = c->closes | 4;\n if (c->type == 1) {\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *c)\n\n{\n type_2 psVar1;\n int var_6;\n type_1 *c_local;\n type_2 ssh;\n \n if ((c->closes & 4U) == 0) {\n c->closes = c->closes | 4;\n if (c->type == 1) {\n if ((c->u).a.inbuffer.head... | (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... |
871_pscp_and_pscp_strip.c | des_decrypt_blk | FUN_0015d3f1 | des_decrypt_blk |
void des_decrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
DESContext *keys;
des_cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x88));
return;
}
|
void FUN_0015d3f1(long param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0015b5fe(param_2,param_3,param_1 + 0x88);
return;
}
| (translation_unit "void FUN_0015d3f1(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0015b5fe(param_2,param_3,param_1 + 0x88);\n return;\n}\n\n" (function_definition "void FUN_0015d3f1(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0015b5fe(param_2,param_3,param_1 + 0x88);\n return;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x88]
MOV ECX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1(blk,len,(type_2 *)((long)handle + 0x88));
return;
}
| (translation_unit "void des_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x88));\n return;\n}\n\n" (function_definition "void des_decrypt_blk(void *handle,uchar *blk,int ... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)((long)handle + 0x88));\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_loca... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
819_pscp_and_pscp_strip.c | ccp_make_context | FUN_00157e8a | ccp_make_context |
/* WARNING: Unknown calling convention */
void * ccp_make_context(void)
{
void *pvVar1;
ccp_context *ctx;
pvVar1 = safemalloc(1,0x170);
if (pvVar1 != (void *)0x0) {
poly1305_init((poly1305 *)((long)pvVar1 + 0x118));
}
return pvVar1;
}
|
long FUN_00157e8a(void)
{
long lVar1;
lVar1 = FUN_0010fdaa(1,0x170);
if (lVar1 != 0) {
FUN_00157764(lVar1 + 0x118);
}
return lVar1;
}
| (translation_unit "long FUN_00157e8a(void)\n\n{\n long lVar1;\n \n lVar1 = FUN_0010fdaa(1,0x170);\n if (lVar1 != 0) {\n FUN_00157764(lVar1 + 0x118);\n }\n return lVar1;\n}\n\n" (function_definition "long FUN_00157e8a(void)\n\n{\n long lVar1;\n \n lVar1 = FUN_0010fdaa(1,0x170);\n if (lVar1 != 0) {\n FUN_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x170
MOV EDI,0x1
CALL 0x0010fdaa
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00157ebe
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,0x118
MOV RDI,RAX
CALL 0x00157764
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
/* WARNING: Unknown calling convention */
void * function_1(void)
{
void *var_2;
type_1 *ctx;
var_2 = var_1(1,0x170);
if (var_2 != (void *)0x0) {
var_3((type_2 *)((long)var_2 + 0x118));
}
return var_2;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * ccp_make_context(void)\n\n{\n void *pvVar1;\n ccp_context *ctx;\n \n pvVar1 = safemalloc(1,0x170);\n if (pvVar1 != (void *)0x0) {\n poly1305_init((poly1305 *)((long)pvVar1 + 0x118));\n }\n return pvVar1;\n}\n\n" comment (function_definitio... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n void *var_2;\n type_1 *ctx;\n \n var_2 = var_1(1,0x170);\n if (var_2 != (void *)0x0) {\n var_3((type_2 *)((long)var_2 + 0x118));\n }\n return var_2;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (point... |
661_pscp_and_pscp_strip.c | ssh2_msg_something_unimplemented | FUN_001444df | ssh2_msg_something_unimplemented |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ssh2_msg_something_unimplemented(Ssh_conflict ssh,Packet *pktin)
{
Packet *pkt;
Packet *pktin_local;
Ssh_conflict ssh_local;
Packet *pktout;
pkt = ssh2_pkt_init(3);
ssh_pkt_adduint32(pkt,pktin->sequence);
ssh2_pkt_send_noq... |
void FUN_001444df(undefined8 param_1,long param_2)
{
undefined8 uVar1;
uVar1 = FUN_0012a179(3);
FUN_00129d07(uVar1,*(undefined8 *)(param_2 + 0x18));
FUN_0012a7e8(param_1,uVar1);
return;
}
| (translation_unit "void FUN_001444df(undefined8 param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0012a179(3);\n FUN_00129d07(uVar1,*(undefined8 *)(param_2 + 0x18));\n FUN_0012a7e8(param_1,uVar1);\n return;\n}\n\n" (function_definition "void FUN_001444df(undefined8 param_1,long param_2)\n\n{\n unde... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV EDI,0x3
CALL 0x0012a179
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV RDX,qword ptr [RAX + 0x18]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00129d07
MOV RDX,qword ptr [RBP + -0x8... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 ssh,type_2 *pktin)
{
type_2 *pkt;
type_2 *pktin_local;
type_1 ssh_local;
type_2 *pktout;
pkt = var_1(3);
var_2(pkt,pktin->sequence);
var_3(ssh,pkt);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ssh2_msg_something_unimplemented(Ssh_conflict ssh,Packet *pktin)\n\n{\n Packet *pkt;\n Packet *pktin_local;\n Ssh_conflict ssh_local;\n Packet *pktout;\n \n pkt = ssh2_pkt_init(3);\n ssh_pkt_adduint32(pkt,pktin->s... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 ssh,type_2 *pktin)\n\n{\n type_2 *pkt;\n type_2 *pktin_local;\n type_1 ssh_local;\n type_2 *pktout;\n \n pkt = var_1(3);\n var_2(pkt,pktin->sequence);\n var_3(ssh,pkt);\n return;\n}\n\n" commen... | (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... |
862_pscp_and_pscp_strip.c | des3_decrypt_pubkey | FUN_0015c507 | des3_decrypt_pubkey |
void des3_decrypt_pubkey(uchar *key,uchar *blk,int len)
{
long lVar1;
long in_FS_OFFSET;
int len_local;
uchar *blk_local;
uchar *key_local;
DESContext ourkeys [3];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
des_key_setup((uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)key[2] << 8 | (uint)key[3],
... |
void FUN_0015c507(byte *param_1,undefined8 param_2,undefined4 param_3)
{
long in_FS_OFFSET;
undefined local_1a8 [136];
undefined auStack_120 [136];
undefined auStack_98 [136];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_0015882d((uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (u... | (translation_unit "void FUN_0015c507(byte *param_1,undefined8 param_2,undefined4 param_3)\n\n{\n long in_FS_OFFSET;\n undefined local_1a8 [136];\n undefined auStack_120 [136];\n undefined auStack_98 [136];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0015882d((uint)*param_1 << 0x18 | (... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x1c0
MOV qword ptr [RBP + -0x1a8],RDI
MOV qword ptr [RBP + -0x1b0],RSI
MOV dword ptr [RBP + -0x1b4],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x1a8]
ADD RAX,0x4
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
SHL EAX,0x18
MOV EDX,EAX
MOV RAX... |
void function_1(type_1 *var_3,type_1 *blk,int len)
{
long var_7;
long var_1;
int len_local;
type_1 *blk_local;
type_1 *key_local;
type_2 var_4 [3];
var_7 = *(long *)(var_1 + 0x28);
var_2((type_3)*var_3 << 0x18 | (type_3)var_3[1] << 0x10 | (type_3)var_3[2] << 8 | (type_3)var_3[3],
(t... | (translation_unit "void des3_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 DESContext ourkeys [3];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n des_key_setup((uint)*key << 0x18 | (uint)key[1] << 0x10 | (uint)ke... | (translation_unit "void function_1(type_1 *var_3,type_1 *blk,int len)\n\n{\n long var_7;\n long var_1;\n int len_local;\n type_1 *blk_local;\n type_1 *key_local;\n type_2 var_4 [3];\n \n var_7 = *(long *)(var_1 + 0x28);\n var_2((type_3)*var_3 << 0x18 | (type_3)var_3[1] << 0x10 | (type_3)var_3[2] << 8 | (type_3... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
570_puttytel_and_puttytel_strip.c | conf_get_str_str | FUN_001167a0 | conf_get_str_str |
char * conf_get_str_str(Conf *conf,int primary,char *secondary)
{
char *pcVar1;
char *secondary_local;
int primary_local;
Conf *conf_local;
char *ret;
pcVar1 = conf_get_str_str_opt(conf,primary,secondary);
if (pcVar1 == (char *)0x0) {
/* WARNING: Subroutine does not return */
... |
long FUN_001167a0(undefined8 param_1,undefined4 param_2,undefined8 param_3)
{
long lVar1;
lVar1 = FUN_001166af(param_1,param_2,param_3);
if (lVar1 == 0) {
/* WARNING: Subroutine does not return */
__assert_fail("ret","conf.c",0x13b,"conf_get_str_str");
}
return lVar1;
}
| (translation_unit "long FUN_001167a0(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n long lVar1;\n \n lVar1 = FUN_001166af(param_1,param_2,param_3);\n if (lVar1 == 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ret","conf.c",0x13b,"conf_get_str_str");\n }\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV RDX,qword ptr [RBP + -0x28]
MOV ECX,dword ptr [RBP + -0x1c]
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x001166af
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
char * function_1(type_1 *conf,int primary,char *secondary)
{
char *var_2;
char *secondary_local;
int primary_local;
type_1 *conf_local;
char *ret;
var_2 = var_1(conf,primary,secondary);
if (var_2 == (char *)0x0) {
/* WARNING: Subroutine does not return */
var_3("ret","conf.c"... | (translation_unit "char * conf_get_str_str(Conf *conf,int primary,char *secondary)\n\n{\n char *pcVar1;\n char *secondary_local;\n int primary_local;\n Conf *conf_local;\n char *ret;\n \n pcVar1 = conf_get_str_str_opt(conf,primary,secondary);\n if (pcVar1 == (char *)0x0) {\n /* WARNING: Subro... | (translation_unit "char * function_1(type_1 *conf,int primary,char *secondary)\n\n{\n char *var_2;\n char *secondary_local;\n int primary_local;\n type_1 *conf_local;\n char *ret;\n \n var_2 = var_1(conf,primary,secondary);\n if (var_2 == (char *)0x0) {\n /* WARNING: Subroutine does not retur... | (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... |
786_puttytel_and_puttytel_strip.c | rlogin_sent | FUN_0012f5e0 | rlogin_sent |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void rlogin_sent(Plug plug,int bufsize)
{
int bufsize_local;
Plug plug_local;
Rlogin rlogin;
*(int *)((long)plug + 0x14) = bufsize;
return;
}
|
void FUN_0012f5e0(long param_1,undefined4 param_2)
{
*(undefined4 *)(param_1 + 0x14) = param_2;
return;
}
| (translation_unit "void FUN_0012f5e0(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x14) = param_2;\n return;\n}\n\n" (function_definition "void FUN_0012f5e0(long param_1,undefined4 param_2)\n\n{\n *(undefined4 *)(param_1 + 0x14) = param_2;\n return;\n}" primitive_type (function_declarator "FUN_... | PUSH RBP
MOV RBP,RSP
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 + 0x14],EDX
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,int bufsize)
{
int bufsize_local;
type_1 plug_local;
type_2 rlogin;
*(int *)((long)plug + 0x14) = bufsize;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid rlogin_sent(Plug plug,int bufsize)\n\n{\n int bufsize_local;\n Plug plug_local;\n Rlogin rlogin;\n \n *(int *)((long)plug + 0x14) = bufsize;\n return;\n}\n\n" comment (function_definition "void rlogin_sent(Plug plu... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int bufsize)\n\n{\n int bufsize_local;\n type_1 plug_local;\n type_2 rlogin;\n \n *(int *)((long)plug + 0x14) = bufsize;\n return;\n}\n\n" comment (function_definition "void function_1(type_1... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound... |
789_puttytel_and_puttytel_strip.c | rlogin_free | FUN_0012fb66 | rlogin_free |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void rlogin_free(void *handle)
{
void *handle_local;
Rlogin rlogin;
if (*(long *)((long)handle + 0x38) != 0) {
free_prompts(*(prompts_t **)((long)handle + 0x38));
}
if (*(long *)((long)handle + 8) != 0) {
(**(code **)(**(lo... |
void FUN_0012fb66(long param_1)
{
if (*(long *)(param_1 + 0x38) != 0) {
FUN_00128685(*(undefined8 *)(param_1 + 0x38));
}
if (*(long *)(param_1 + 8) != 0) {
(**(code **)(**(long **)(param_1 + 8) + 8))(*(undefined8 *)(param_1 + 8));
}
FUN_001161ed(*(undefined8 *)(param_1 + 0x30));
FUN_001299ed(param... | (translation_unit "void FUN_0012fb66(long param_1)\n\n{\n if (*(long *)(param_1 + 0x38) != 0) {\n FUN_00128685(*(undefined8 *)(param_1 + 0x38));\n }\n if (*(long *)(param_1 + 8) != 0) {\n (**(code **)(**(long **)(param_1 + 8) + 8))(*(undefined8 *)(param_1 + 8));\n }\n FUN_001161ed(*(undefined8 *)(param_1 + 0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x38]
TEST RAX,RAX
JZ 0x0012fb97
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x38]
MOV RDI,RAX
CALL 0x00128685
MOV RAX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle)
{
void *handle_local;
type_1 rlogin;
if (*(long *)((long)handle + 0x38) != 0) {
var_1(*(type_2 **)((long)handle + 0x38));
}
if (*(long *)((long)handle + 8) != 0) {
(**(type_3 **)(**(long **)((l... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid rlogin_free(void *handle)\n\n{\n void *handle_local;\n Rlogin rlogin;\n \n if (*(long *)((long)handle + 0x38) != 0) {\n free_prompts(*(prompts_t **)((long)handle + 0x38));\n }\n if (*(long *)((long)handle + 8) !... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle)\n\n{\n void *handle_local;\n type_1 rlogin;\n \n if (*(long *)((long)handle + 0x38) != 0) {\n var_1(*(type_2 **)((long)handle + 0x38));\n }\n if (*(long *)((long)handle + 8) != 0) {\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive... |
709_puttytel_and_puttytel_strip.c | bufchain_prefix | FUN_00129699 | bufchain_prefix |
void bufchain_prefix(bufchain *ch,void **data,int *len)
{
int *len_local;
void **data_local;
bufchain *ch_local;
*len = (int)ch->head->bufend - (int)ch->head->bufpos;
*data = ch->head->bufpos;
return;
}
|
void FUN_00129699(long *param_1,undefined8 *param_2,int *param_3)
{
*param_3 = (int)*(undefined8 *)(*param_1 + 0x10) - (int)*(undefined8 *)(*param_1 + 8);
*param_2 = *(undefined8 *)(*param_1 + 8);
return;
}
| (translation_unit "void FUN_00129699(long *param_1,undefined8 *param_2,int *param_3)\n\n{\n *param_3 = (int)*(undefined8 *)(*param_1 + 0x10) - (int)*(undefined8 *)(*param_1 + 8);\n *param_2 = *(undefined8 *)(*param_1 + 8);\n return;\n}\n\n" (function_definition "void FUN_00129699(long *param_1,undefined8 *param_2,in... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDX,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x8]
SUB RDX,RAX
MOV RAX,RDX
MOV EDX,E... |
void function_1(type_1 *ch,void **data,int *len)
{
int *len_local;
void **data_local;
type_1 *ch_local;
*len = (int)ch->head->bufend - (int)ch->head->bufpos;
*data = ch->head->bufpos;
return;
}
| (translation_unit "void bufchain_prefix(bufchain *ch,void **data,int *len)\n\n{\n int *len_local;\n void **data_local;\n bufchain *ch_local;\n \n *len = (int)ch->head->bufend - (int)ch->head->bufpos;\n *data = ch->head->bufpos;\n return;\n}\n\n" (function_definition "void bufchain_prefix(bufchain *ch,void **data... | (translation_unit "void function_1(type_1 *ch,void **data,int *len)\n\n{\n int *len_local;\n void **data_local;\n type_1 *ch_local;\n \n *len = (int)ch->head->bufend - (int)ch->head->bufpos;\n *data = ch->head->bufpos;\n return;\n}\n\n" (function_definition "void function_1(type_1 *ch,void **data,int *len)\n\n{\... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.