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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
278_pageant_and_pageant_strip.c | proxy_socks5_offerencryptedauth | FUN_0010e755 | proxy_socks5_offerencryptedauth |
void proxy_socks5_offerencryptedauth(char *command,int *len)
{
int *len_local;
char *command_local;
return;
}
|
void FUN_0010e755(void)
{
return;
}
| (translation_unit "void FUN_0010e755(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0010e755(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0010e755(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
NOP
POP RBP
RET |
void function_1(char *command,int *len)
{
int *len_local;
char *command_local;
return;
}
| (translation_unit "void proxy_socks5_offerencryptedauth(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n return;\n}\n\n" (function_definition "void proxy_socks5_offerencryptedauth(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n return;\n}" primitive_type (fun... | (translation_unit "void function_1(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n return;\n}\n\n" (function_definition "void function_1(char *command,int *len)\n\n{\n int *len_local;\n char *command_local;\n \n return;\n}" primitive_type (function_declarator "function_1(char *command... | (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_... |
449_pageant_and_pageant_strip.c | des3_make_context | FUN_0012d864 | des3_make_context |
/* WARNING: Unknown calling convention */
void * des3_make_context(void)
{
void *pvVar1;
pvVar1 = safemalloc(3,0x88);
return pvVar1;
}
|
void FUN_0012d864(void)
{
FUN_0010dd24(3,0x88);
return;
}
| (translation_unit "void FUN_0012d864(void)\n\n{\n FUN_0010dd24(3,0x88);\n return;\n}\n\n" (function_definition "void FUN_0012d864(void)\n\n{\n FUN_0010dd24(3,0x88);\n return;\n}" primitive_type (function_declarator "FUN_0012d864(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_ty... | PUSH RBP
MOV RBP,RSP
MOV ESI,0x88
MOV EDI,0x3
CALL 0x0010dd24
POP RBP
RET |
/* WARNING: Unknown calling convention */
void * function_1(void)
{
void *pvVar1;
pvVar1 = var_1(3,0x88);
return pvVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * des3_make_context(void)\n\n{\n void *pvVar1;\n \n pvVar1 = safemalloc(3,0x88);\n return pvVar1;\n}\n\n" comment (function_definition "void * des3_make_context(void)\n\n{\n void *pvVar1;\n \n pvVar1 = safemalloc(3,0x88);\n return pvVar1;\n}" ... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n void *pvVar1;\n \n pvVar1 = var_1(3,0x88);\n return pvVar1;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{\n void *pvVar1;\n \n pvVar1 = var_1(3,0x88);\n return pvVar1;\n}" primitive_type (pointer_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (primitive_type) declarator: (point... |
1097_plink_and_plink_strip.c | lz77_init | FUN_001777ae | lz77_init |
int lz77_init(LZ77Context *ctx)
{
int iVar1;
LZ77InternalContext *pLVar2;
LZ77Context *ctx_local;
int i;
LZ77InternalContext *st;
pLVar2 = (LZ77InternalContext *)safemalloc(1,0x38ffc);
if (pLVar2 == (LZ77InternalContext *)0x0) {
iVar1 = 0;
}
else {
ctx->ictx = pLVar2;
for (i = 0; i < ... |
undefined8 FUN_001777ae(long *param_1)
{
long lVar1;
undefined8 uVar2;
undefined4 local_14;
lVar1 = FUN_00111901(1,0x38ffc);
if (lVar1 == 0) {
uVar2 = 0;
}
else {
*param_1 = lVar1;
for (local_14 = 0; local_14 < 0x8000; local_14 = local_14 + 1) {
*(undefined2 *)((long)local_14 * 6 + ... | (translation_unit "undefined8 FUN_001777ae(long *param_1)\n\n{\n long lVar1;\n undefined8 uVar2;\n undefined4 local_14;\n \n lVar1 = FUN_00111901(1,0x38ffc);\n if (lVar1 == 0) {\n uVar2 = 0;\n }\n else {\n *param_1 = lVar1;\n for (local_14 = 0; local_14 < 0x8000; local_14 = local_14 + 1) {\n *(und... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV ESI,0x38ffc
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x001777de
MOV EAX,0x0
JMP 0x001778f3
MOV RAX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
MOV dword ptr [RBP ... |
int function_1(type_1 *ctx)
{
int iVar1;
type_2 *var_2;
type_1 *ctx_local;
int var_3;
type_2 *st;
var_2 = (type_2 *)var_1(1,0x38ffc);
if (var_2 == (type_2 *)0x0) {
iVar1 = 0;
}
else {
ctx->ictx = var_2;
for (var_3 = 0; var_3 < 0x8000; var_3 = var_3 + 1) {
var_2->win[var_3].hashv... | (translation_unit "int lz77_init(LZ77Context *ctx)\n\n{\n int iVar1;\n LZ77InternalContext *pLVar2;\n LZ77Context *ctx_local;\n int i;\n LZ77InternalContext *st;\n \n pLVar2 = (LZ77InternalContext *)safemalloc(1,0x38ffc);\n if (pLVar2 == (LZ77InternalContext *)0x0) {\n iVar1 = 0;\n }\n else {\n ctx->ict... | (translation_unit "int function_1(type_1 *ctx)\n\n{\n int iVar1;\n type_2 *var_2;\n type_1 *ctx_local;\n int var_3;\n type_2 *st;\n \n var_2 = (type_2 *)var_1(1,0x38ffc);\n if (var_2 == (type_2 *)0x0) {\n iVar1 = 0;\n }\n else {\n ctx->ictx = var_2;\n for (var_3 = 0; var_3 < 0x8000; var_3 = var_3 + 1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
1339_plink_and_plink_strip.c | uxsel_set | FUN_00189c2e | uxsel_set |
void uxsel_set(int fd,int rwx,uxsel_callback_fn callback)
{
int *e;
uxsel_id *puVar1;
uxsel_callback_fn callback_local;
int rwx_local;
int fd_local;
fd *newfd;
if (fd < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("fd >= 0","unix/uxsel.c",0x43,"uxsel_set");
}... |
void FUN_00189c2e(int param_1,int param_2,undefined8 param_3)
{
int *piVar1;
undefined8 uVar2;
if (param_1 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("fd >= 0","unix/uxsel.c",0x43,"uxsel_set");
}
FUN_00189cda(param_1);
if (param_2 != 0) {
piVar1 = (int *)... | (translation_unit "void FUN_00189c2e(int param_1,int param_2,undefined8 param_3)\n\n{\n int *piVar1;\n undefined8 uVar2;\n \n if (param_1 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("fd >= 0","unix/uxsel.c",0x43,"uxsel_set");\n }\n FUN_00189cda(param_1);\n if (param_2... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV dword ptr [RBP + -0x18],ESI
MOV qword ptr [RBP + -0x20],RDX
CMP dword ptr [RBP + -0x14],0x0
JNS 0x00189c65
LEA RCX,[0x1a24a8]
MOV EDX,0x43
LEA RSI,[0x1a2490]
LEA RDI,[0x1a249d]
CALL 0x00108350
MOV EAX,dword ptr [RBP + -0x14]
MOV EDI,EAX
CALL 0x00189c... |
void function_1(int type_3,int var_3,type_1 callback)
{
int *var_5;
type_2 *puVar1;
type_1 callback_local;
int rwx_local;
int fd_local;
type_3 *newfd;
if (type_3 < 0) {
/* WARNING: Subroutine does not return */
var_1("fd >= 0","unix/uxsel.c",0x43,"uxsel_set");
}
var_2(type... | (translation_unit "void uxsel_set(int fd,int rwx,uxsel_callback_fn callback)\n\n{\n int *e;\n uxsel_id *puVar1;\n uxsel_callback_fn callback_local;\n int rwx_local;\n int fd_local;\n fd *newfd;\n \n if (fd < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("fd >= 0","unix/u... | (translation_unit "void function_1(int type_3,int var_3,type_1 callback)\n\n{\n int *var_5;\n type_2 *puVar1;\n type_1 callback_local;\n int rwx_local;\n int fd_local;\n type_3 *newfd;\n \n if (type_3 < 0) {\n /* WARNING: Subroutine does not return */\n var_1("fd >= 0","unix/uxsel.c",0x43,... | (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: (identifier)) (parameter_declaration type:... |
434_pageant_and_pageant_strip.c | bigmod | FUN_00129874 | bigmod |
Bignum_conflict bigmod(Bignum_conflict a,Bignum_conflict b)
{
Bignum_conflict result;
Bignum_conflict b_local;
Bignum_conflict a_local;
Bignum_conflict r;
result = newbn((int)*b);
bigdivmod(a,b,result,(Bignum_conflict)0x0);
while ((1 < *result && (result[*result] == 0))) {
*result = *result - 1;
... |
ulong * FUN_00129874(undefined8 param_1,ulong *param_2)
{
ulong *puVar1;
puVar1 = (ulong *)FUN_00124651(*param_2 & 0xffffffff);
FUN_00127cbc(param_1,param_2,puVar1,0);
while ((1 < *puVar1 && (puVar1[*puVar1] == 0))) {
*puVar1 = *puVar1 - 1;
}
return puVar1;
}
| (translation_unit "ulong * FUN_00129874(undefined8 param_1,ulong *param_2)\n\n{\n ulong *puVar1;\n \n puVar1 = (ulong *)FUN_00124651(*param_2 & 0xffffffff);\n FUN_00127cbc(param_1,param_2,puVar1,0);\n while ((1 < *puVar1 && (puVar1[*puVar1] == 0))) {\n *puVar1 = *puVar1 - 1;\n }\n return puVar1;\n}\n\n" (func... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RAX]
MOV EDI,EAX
CALL 0x00124651
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV RSI,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV ECX,0x0
... |
type_1 function_1(type_1 a,type_1 b)
{
type_1 result;
type_1 b_local;
type_1 a_local;
type_1 r;
result = var_1((int)*b);
var_2(a,b,result,(type_1)0x0);
while ((1 < *result && (result[*result] == 0))) {
*result = *result - 1;
}
return result;
}
| (translation_unit "Bignum_conflict bigmod(Bignum_conflict a,Bignum_conflict b)\n\n{\n Bignum_conflict result;\n Bignum_conflict b_local;\n Bignum_conflict a_local;\n Bignum_conflict r;\n \n result = newbn((int)*b);\n bigdivmod(a,b,result,(Bignum_conflict)0x0);\n while ((1 < *result && (result[*result] == 0))) {... | (translation_unit "type_1 function_1(type_1 a,type_1 b)\n\n{\n type_1 result;\n type_1 b_local;\n type_1 a_local;\n type_1 r;\n \n result = var_1((int)*b);\n var_2(a,b,result,(type_1)0x0);\n while ((1 < *result && (result[*result] == 0))) {\n *result = *result - 1;\n }\n return result;\n}\n\n" (function_de... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme... |
1330_plink_and_plink_strip.c | sk_localproxy_write_eof | FUN_0018920d | sk_localproxy_write_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_localproxy_write_eof(Socket s)
{
Socket s_local;
Local_Proxy_Socket ps;
if (*(int *)(s + 0xe) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("ps->outgoingeof == EOF_NO","unix/uxproxy.c",... |
void FUN_0018920d(long param_1)
{
if (*(int *)(param_1 + 0x70) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("ps->outgoingeof == EOF_NO","unix/uxproxy.c",0xcc,"sk_localproxy_write_eof");
}
*(undefined4 *)(param_1 + 0x70) = 1;
FUN_00188fbb(param_1);
return;
}
| (translation_unit "void FUN_0018920d(long param_1)\n\n{\n if (*(int *)(param_1 + 0x70) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ps->outgoingeof == EOF_NO","unix/uxproxy.c",0xcc,"sk_localproxy_write_eof");\n }\n *(undefined4 *)(param_1 + 0x70) = 1;\n FUN_00188fbb(par... | 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 + 0x70]
TEST EAX,EAX
JZ 0x0018924b
LEA RCX,[0x1a2450]
MOV EDX,0xcc
LEA RSI,[0x1a2380]
LEA RDI,[0x1a238f]
CALL 0x00108350
MOV RAX,qword pt... |
/* 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 *)(var_1 + 0xe) != 0) {
/* WARNING: Subroutine does not return */
var_2("ps->outgoingeof == EOF_NO","unix/uxproxy.c",0xcc,"sk_localproxy_write... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_localproxy_write_eof(Socket s)\n\n{\n Socket s_local;\n Local_Proxy_Socket ps;\n \n if (*(int *)(s + 0xe) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ps->outgoingeof ... | (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 *)(var_1 + 0xe) != 0) {\n /* WARNING: Subroutine does not return */\n var_2("ps->outgoingeof == EOF_NO","unix/uxproxy.... | (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)... |
1357_plink_and_plink_strip.c | serial_special | FUN_0018ab25 | serial_special |
void serial_special(void *handle,Telnet_Special code)
{
Telnet_Special code_local;
void *handle_local;
Serial serial;
if ((-1 < *(int *)((long)handle + 8)) && (code == TS_BRK)) {
tcsendbreak(*(int *)((long)handle + 8),0);
/* WARNING: Load size is inaccurate */
logevent(*handle,"... |
void FUN_0018ab25(undefined8 *param_1,int param_2)
{
if ((-1 < *(int *)(param_1 + 1)) && (param_2 == 1)) {
tcsendbreak(*(int *)(param_1 + 1),0);
FUN_00180652(*param_1,"Sending serial break at user request");
}
return;
}
| (translation_unit "void FUN_0018ab25(undefined8 *param_1,int param_2)\n\n{\n if ((-1 < *(int *)(param_1 + 1)) && (param_2 == 1)) {\n tcsendbreak(*(int *)(param_1 + 1),0);\n FUN_00180652(*param_1,"Sending serial break at user request");\n }\n return;\n}\n\n" (function_definition "void FUN_0018ab25(undefined8 *p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JS 0x0018ab77
CMP dword ptr [RBP + -0x1c],0x1
JNZ 0x0018ab77
MOV RAX,qword ptr [RBP +... |
void function_1(void *handle,type_1 var_1)
{
type_1 code_local;
void *handle_local;
type_2 serial;
if ((-1 < *(int *)((long)handle + 8)) && (var_1 == var_2)) {
var_3(*(int *)((long)handle + 8),0);
/* WARNING: Load size is inaccurate */
var_4(*handle,"Sending serial break at user... | (translation_unit "void serial_special(void *handle,Telnet_Special code)\n\n{\n Telnet_Special code_local;\n void *handle_local;\n Serial serial;\n \n if ((-1 < *(int *)((long)handle + 8)) && (code == TS_BRK)) {\n tcsendbreak(*(int *)((long)handle + 8),0);\n /* WARNING: Load size is inaccurat... | (translation_unit "void function_1(void *handle,type_1 var_1)\n\n{\n type_1 code_local;\n void *handle_local;\n type_2 serial;\n \n if ((-1 < *(int *)((long)handle + 8)) && (var_1 == var_2)) {\n var_3(*(int *)((long)handle + 8),0);\n /* WARNING: Load size is inaccurate */\n var_4(*handle,"... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identif... |
1293_plink_and_plink_strip.c | get_ttymode | FUN_00185f23 | get_ttymode |
char * get_ttymode(void *frontend,char *mode)
{
int iVar1;
char *pcVar2;
char *mode_local;
void *frontend_local;
int b;
int b_1;
int b_2;
int b_3;
int b_4;
int b_5;
int b_6;
int b_7;
int b_8;
int b_9;
int b_10;
int b_11;
int b_12;
int b_13;
int b_14;
int b_15;
int b_16;
int... |
undefined8 FUN_00185f23(undefined8 param_1,char *param_2)
{
int iVar1;
undefined8 uVar2;
if (DAT_001b545c == 0) {
uVar2 = 0;
}
else {
iVar1 = strcmp(param_2,"INTR");
if (iVar1 == 0) {
uVar2 = FUN_00185ed6(&DAT_001b5420,0);
}
else {
iVar1 = strcmp(param_2,"QUIT");
if ... | (translation_unit "undefined8 FUN_00185f23(undefined8 param_1,char *param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (DAT_001b545c == 0) {\n uVar2 = 0;\n }\n else {\n iVar1 = strcmp(param_2,"INTR");\n if (iVar1 == 0) {\n uVar2 = FUN_00185ed6(&DAT_001b5420,0);\n }\n else {\n iVar1 = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV EAX,dword ptr [0x001b545c]
TEST EAX,EAX
JNZ 0x00185f47
MOV EAX,0x0
JMP 0x001866fa
MOV RAX,qword ptr [RBP + -0x60]
LEA RSI,[0x1a179f]
MOV RDI,RAX
CALL 0x00108490
TEST EAX,EAX
JNZ 0x00185f74
MOV ESI,0x0
LEA RDI,[0x1b5420... |
char * function_1(void *frontend,char *mode)
{
int var_3;
char *pcVar2;
char *mode_local;
void *frontend_local;
int b;
int b_1;
int b_2;
int b_3;
int b_4;
int b_5;
int b_6;
int b_7;
int b_8;
int b_9;
int b_10;
int b_11;
int b_12;
int b_13;
int b_14;
int b_15;
int b_16;
int ... | (translation_unit "char * get_ttymode(void *frontend,char *mode)\n\n{\n int iVar1;\n char *pcVar2;\n char *mode_local;\n void *frontend_local;\n int b;\n int b_1;\n int b_2;\n int b_3;\n int b_4;\n int b_5;\n int b_6;\n int b_7;\n int b_8;\n int b_9;\n int b_10;\n int b_11;\n int b_12;\n int b_13;\n ... | (translation_unit "char * function_1(void *frontend,char *mode)\n\n{\n int var_3;\n char *pcVar2;\n char *mode_local;\n void *frontend_local;\n int b;\n int b_1;\n int b_2;\n int b_3;\n int b_4;\n int b_5;\n int b_6;\n int b_7;\n int b_8;\n int b_9;\n int b_10;\n int b_11;\n int b_12;\n int b_13;\n i... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
1344_plink_and_plink_strip.c | serial_compare_by_fd | FUN_00189e22 | serial_compare_by_fd |
int serial_compare_by_fd(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
Serial a;
Serial b;
if (*(int *)((long)av + 8) < *(int *)((long)bv + 8)) {
iVar1 = -1;
}
else if (*(int *)((long)bv + 8) < *(int *)((long)av + 8)) {
iVar1 = 1;
}
else {
iVar1 = 0;
}
return i... |
undefined8 FUN_00189e22(long param_1,long param_2)
{
undefined8 uVar1;
if (*(int *)(param_1 + 8) < *(int *)(param_2 + 8)) {
uVar1 = 0xffffffff;
}
else if (*(int *)(param_2 + 8) < *(int *)(param_1 + 8)) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00189e22(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(param_1 + 8) < *(int *)(param_2 + 8)) {\n uVar1 = 0xffffffff;\n }\n else if (*(int *)(param_2 + 8) < *(int *)(param_1 + 8)) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword p... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 a;
type_1 b;
if (*(int *)((long)av + 8) < *(int *)((long)bv + 8)) {
iVar1 = -1;
}
else if (*(int *)((long)bv + 8) < *(int *)((long)av + 8)) {
iVar1 = 1;
}
else {
iVar1 = 0;
}
return iVar1;
}
| (translation_unit "int serial_compare_by_fd(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n Serial a;\n Serial b;\n \n if (*(int *)((long)av + 8) < *(int *)((long)bv + 8)) {\n iVar1 = -1;\n }\n else if (*(int *)((long)bv + 8) < *(int *)((long)av + 8)) {\n iVar1 = 1;\n }\n els... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 a;\n type_1 b;\n \n if (*(int *)((long)av + 8) < *(int *)((long)bv + 8)) {\n iVar1 = -1;\n }\n else if (*(int *)((long)bv + 8) < *(int *)((long)av + 8)) {\n iVar1 = 1;\n }\n else {\n i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
207_pageant_and_pageant_strip.c | conf_copy_into | FUN_0010ac9b | conf_copy_into |
void conf_copy_into(Conf *newconf,Conf *oldconf)
{
key *to;
key *from;
Conf *oldconf_local;
Conf *newconf_local;
int i;
conf_entry *entry;
conf_entry *entry2;
conf_clear(newconf);
i = 0;
while( true ) {
from = (key *)index234(oldconf->tree,i);
if (from == (key *)0x0) break;
to = (ke... |
void FUN_0010ac9b(undefined8 *param_1,undefined8 *param_2)
{
long lVar1;
int *piVar2;
int local_1c;
FUN_0010ab86(param_1);
local_1c = 0;
while( true ) {
piVar2 = (int *)FUN_00149f0a(*param_2,local_1c);
if (piVar2 == (int *)0x0) break;
lVar1 = FUN_0010dd24(1,0x18);
FUN_0010a9a0(lVar1,piV... | (translation_unit "void FUN_0010ac9b(undefined8 *param_1,undefined8 *param_2)\n\n{\n long lVar1;\n int *piVar2;\n int local_1c;\n \n FUN_0010ab86(param_1);\n local_1c = 0;\n while( true ) {\n piVar2 = (int *)FUN_00149f0a(*param_2,local_1c);\n if (piVar2 == (int *)0x0) break;\n lVar1 = FUN_0010dd24(1,0x1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x0010ab86
MOV dword ptr [RBP + -0x14],0x0
JMP 0x0010ad34
MOV ESI,0x18
MOV EDI,0x1
CALL 0x0010dd24
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qwo... |
void function_1(type_1 *newconf,type_1 *oldconf)
{
type_2 *var_7;
type_2 *var_3;
type_1 *oldconf_local;
type_1 *newconf_local;
int var_9;
type_3 *entry;
type_3 *entry2;
var_1(newconf);
var_9 = 0;
while( true ) {
var_3 = (type_2 *)var_2(oldconf->tree,var_9);
if (var_3 == (type_2 *)0x0) b... | (translation_unit "void conf_copy_into(Conf *newconf,Conf *oldconf)\n\n{\n key *to;\n key *from;\n Conf *oldconf_local;\n Conf *newconf_local;\n int i;\n conf_entry *entry;\n conf_entry *entry2;\n \n conf_clear(newconf);\n i = 0;\n while( true ) {\n from = (key *)index234(oldconf->tree,i);\n if (from =... | (translation_unit "void function_1(type_1 *newconf,type_1 *oldconf)\n\n{\n type_2 *var_7;\n type_2 *var_3;\n type_1 *oldconf_local;\n type_1 *newconf_local;\n int var_9;\n type_3 *entry;\n type_3 *entry2;\n \n var_1(newconf);\n var_9 = 0;\n while( true ) {\n var_3 = (type_2 *)var_2(oldconf->tree,var_9);\n... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1211_plink_and_plink_strip.c | filename_free | FUN_001812a0 | filename_free |
void filename_free(Filename *fn)
{
Filename *fn_local;
safefree(fn->path);
safefree(fn);
return;
}
|
void FUN_001812a0(undefined8 *param_1)
{
FUN_00111b0d(*param_1);
FUN_00111b0d(param_1);
return;
}
| (translation_unit "void FUN_001812a0(undefined8 *param_1)\n\n{\n FUN_00111b0d(*param_1);\n FUN_00111b0d(param_1);\n return;\n}\n\n" (function_definition "void FUN_001812a0(undefined8 *param_1)\n\n{\n FUN_00111b0d(*param_1);\n FUN_00111b0d(param_1);\n return;\n}" primitive_type (function_declarator "FUN_001812a0(u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00111b0d
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00111b0d
NOP
LEAVE
RET |
void function_1(type_1 *fn)
{
type_1 *fn_local;
var_1(fn->path);
var_1(fn);
return;
}
| (translation_unit "void filename_free(Filename *fn)\n\n{\n Filename *fn_local;\n \n safefree(fn->path);\n safefree(fn);\n return;\n}\n\n" (function_definition "void filename_free(Filename *fn)\n\n{\n Filename *fn_local;\n \n safefree(fn->path);\n safefree(fn);\n return;\n}" primitive_type (function_declarator... | (translation_unit "void function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n var_1(fn->path);\n var_1(fn);\n return;\n}\n\n" (function_definition "void function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n var_1(fn->path);\n var_1(fn);\n return;\n}" primitive_type (function_declarator "function_1(type_1 *fn)" ... | (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... |
1216_plink_and_plink_strip.c | pgp_fingerprints | FUN_0018143a | pgp_fingerprints |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void pgp_fingerprints(void)
{
fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprin... |
void FUN_0018143a(void)
{
fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have nothing to do with SSH!)\n\nPuTTY Master Key as of 2015 (RSA, 4096-bit):\n... | (translation_unit "void FUN_0018143a(void)\n\n{\n fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have nothing to do with SSH!)\n\nPuTTY Master Key as of 20... | PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [0x001b4aa0]
MOV RCX,RAX
MOV EDX,0x208
MOV ESI,0x1
LEA RDI,[0x1a10e8]
CALL 0x001087c0
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
var_1("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: these fingerprints have... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid pgp_fingerprints(void)\n\n{\n fwrite("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n var_1("These are the fingerprints of the PuTTY PGP Master Keys. They can\nbe used to establish a trust path from this executable to another\none. See the manual for more information.\n(Note: ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list... |
991_plink_and_plink_strip.c | hmacsha256_genresult | FUN_0016bde1 | hmacsha256_genresult |
void hmacsha256_genresult(void *handle,uchar *hmac)
{
long lVar1;
long in_FS_OFFSET;
uchar *hmac_local;
void *handle_local;
SHA256_State *keys;
SHA256_State s;
uchar intermediate [32];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
s.h._0_8_ = *(undefined8 *)((long)handle + 0xd8);
s.h._8_8_ = *(undefi... |
void FUN_0016bde1(long param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined8 local_a8;
undefined8 local_a0;
undefined8 local_98;
undefined8 local_90;
undefined8 local_88;
undefined8 local_80;
undefined8 local_78;
undefined8 local_70;
undefined8 local_68;
undefined8 local_60;
undefined8 l... | (translation_unit "void FUN_0016bde1(long param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined8 local_a8;\n undefined8 local_a0;\n undefined8 local_98;\n undefined8 local_90;\n undefined8 local_88;\n undefined8 local_80;\n undefined8 local_78;\n undefined8 local_70;\n undefined8 local_68;\n unde... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xc0
MOV qword ptr [RBP + -0xb8],RDI
MOV qword ptr [RBP + -0xc0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0xb8]
MOV qword ptr [RBP + -0xa8],RAX
MOV RAX,qword ptr [RBP + -0xa8]
MOV RDX,qword ptr [RAX + 0xd8]
MOV RCX,qword ptr [RAX +... |
void function_1(void *handle,type_1 *hmac)
{
long var_4;
long var_1;
type_1 *hmac_local;
void *handle_local;
type_2 *keys;
type_2 s;
type_1 intermediate [32];
var_4 = *(long *)(var_1 + 0x28);
s.h._0_8_ = *(type_3 *)((long)handle + 0xd8);
s.h._8_8_ = *(type_3 *)((long)handle + 0xe0);
s.h._16_8... | (translation_unit "void hmacsha256_genresult(void *handle,uchar *hmac)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *hmac_local;\n void *handle_local;\n SHA256_State *keys;\n SHA256_State s;\n uchar intermediate [32];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n s.h._0_8_ = *(undefined8 *)((long)handle +... | (translation_unit "void function_1(void *handle,type_1 *hmac)\n\n{\n long var_4;\n long var_1;\n type_1 *hmac_local;\n void *handle_local;\n type_2 *keys;\n type_2 s;\n type_1 intermediate [32];\n \n var_4 = *(long *)(var_1 + 0x28);\n s.h._0_8_ = *(type_3 *)((long)handle + 0xd8);\n s.h._8_8_ = *(type_3 *)((l... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1115_plink_and_plink_strip.c | telopt | FUN_0017a381 | telopt |
char * telopt(int opt)
{
char *pcVar1;
int opt_local;
switch(opt) {
case 0:
pcVar1 = "BINARY";
break;
case 1:
pcVar1 = "ECHO";
break;
case 2:
pcVar1 = "RCP";
break;
case 3:
pcVar1 = "SGA";
break;
case 4:
pcVar1 = "NAMS";
break;
case 5:
pcVar1 = "STATUS"... |
char * FUN_0017a381(undefined4 param_1)
{
char *pcVar1;
switch(param_1) {
case 0:
pcVar1 = "BINARY";
break;
case 1:
pcVar1 = "ECHO";
break;
case 2:
pcVar1 = "RCP";
break;
case 3:
pcVar1 = "SGA";
break;
case 4:
pcVar1 = "NAMS";
break;
case 5:
pcVar1 = "STA... | (translation_unit "char * FUN_0017a381(undefined4 param_1)\n\n{\n char *pcVar1;\n \n switch(param_1) {\n case 0:\n pcVar1 = "BINARY";\n break;\n case 1:\n pcVar1 = "ECHO";\n break;\n case 2:\n pcVar1 = "RCP";\n break;\n case 3:\n pcVar1 = "SGA";\n break;\n case 4:\n pcVar1 = "NAMS";\n... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x4],EDI
CMP dword ptr [RBP + -0x4],0xff
JA 0x0017a616
MOV EAX,dword ptr [RBP + -0x4]
LEA RDX,[RAX*0x4]
LEA RAX,[0x19f8d0]
MOV EAX,dword ptr [RDX + RAX*0x1]
CDQE
LEA RDX,[0x19f8d0]
ADD RAX,RDX
JMP RAX
LEA RAX,[0x19f730]
JMP 0x0017a61d
LEA RAX,[0x19f737]
JMP 0x0017a61d
LEA RAX,... |
char * function_1(int opt)
{
char *pcVar1;
int opt_local;
switch(opt) {
case 0:
pcVar1 = "BINARY";
break;
case 1:
pcVar1 = "ECHO";
break;
case 2:
pcVar1 = "RCP";
break;
case 3:
pcVar1 = "SGA";
break;
case 4:
pcVar1 = "NAMS";
break;
case 5:
pcVar1 = "STA... | (translation_unit "char * telopt(int opt)\n\n{\n char *pcVar1;\n int opt_local;\n \n switch(opt) {\n case 0:\n pcVar1 = "BINARY";\n break;\n case 1:\n pcVar1 = "ECHO";\n break;\n case 2:\n pcVar1 = "RCP";\n break;\n case 3:\n pcVar1 = "SGA";\n break;\n case 4:\n pcVar1 = "NAMS";\n ... | (translation_unit "char * function_1(int opt)\n\n{\n char *pcVar1;\n int opt_local;\n \n switch(opt) {\n case 0:\n pcVar1 = "BINARY";\n break;\n case 1:\n pcVar1 = "ECHO";\n break;\n case 2:\n pcVar1 = "RCP";\n break;\n case 3:\n pcVar1 = "SGA";\n break;\n case 4:\n pcVar1 = "NAMS";\... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
228_pageant_and_pageant_strip.c | parse_blocksize | FUN_0010c4a6 | parse_blocksize |
ulong parse_blocksize(char *bs)
{
ushort **ppuVar1;
long in_FS_OFFSET;
char *bs_local;
char *suf;
ulong r;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
r = strtoul(bs,&suf,10);
if (*suf != '\0') {
while ((*suf != '\0' && (ppuVar1 = __ctype_b_loc(), ((*ppuVar1)[(byte)*suf] & 0x200... |
ulong FUN_0010c4a6(char *param_1)
{
ushort **ppuVar1;
long in_FS_OFFSET;
byte *local_20;
ulong local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = strtoul(param_1,(char **)&local_20,10);
if (*local_20 != 0) {
while ((*local_20 != 0 && (ppuVar1 = __ctype_b_loc(), ((*pp... | (translation_unit "ulong FUN_0010c4a6(char *param_1)\n\n{\n ushort **ppuVar1;\n long in_FS_OFFSET;\n byte *local_20;\n ulong local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = strtoul(param_1,(char **)&local_20,10);\n if (*local_20 != 0) {\n while ((*local_20 != 0 && (pp... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RCX,[RBP + -0x18]
MOV RAX,qword ptr [RBP + -0x28]
MOV EDX,0xa
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00107150
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOVZX EAX,byt... |
type_1 function_1(char *bs)
{
type_2 **ppuVar1;
long var_1;
char *bs_local;
char *var_4;
type_1 var_5;
long var_6;
var_6 = *(long *)(var_1 + 0x28);
var_5 = var_2(bs,&var_4,10);
if (*var_4 != '\0') {
while ((*var_4 != '\0' && (ppuVar1 = var_3(), ((*ppuVar1)[(byte)*var_4] & 0x2000) != 0))) {
... | (translation_unit "ulong parse_blocksize(char *bs)\n\n{\n ushort **ppuVar1;\n long in_FS_OFFSET;\n char *bs_local;\n char *suf;\n ulong r;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n r = strtoul(bs,&suf,10);\n if (*suf != '\0') {\n while ((*suf != '\0' && (ppuVar1 = __ctype_b_loc(), ... | (translation_unit "type_1 function_1(char *bs)\n\n{\n type_2 **ppuVar1;\n long var_1;\n char *bs_local;\n char *var_4;\n type_1 var_5;\n long var_6;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_5 = var_2(bs,&var_4,10);\n if (*var_4 != '\0') {\n while ((*var_4 != '\0' && (ppuVar1 = var_3(), ((*ppuVar1)[(byte... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
975_plink_and_plink_strip.c | SHA256_Block | FUN_0016aaa4 | SHA256_Block |
void SHA256_Block(SHA256_State *s,uint32 *block)
{
uint uVar1;
uint uVar2;
uint uVar3;
uint uVar4;
long lVar5;
int iVar6;
uint uVar7;
uint uVar8;
uint uVar9;
uint uVar10;
long in_FS_OFFSET;
uint32 *block_local;
SHA256_State *s_local;
uint32 a;
uint32 b;
uint32 c;
uint32 d;
uint32 e... |
void FUN_0016aaa4(uint *param_1,long param_2)
{
int iVar1;
long in_FS_OFFSET;
uint local_184;
uint local_180;
uint local_17c;
uint local_178;
uint local_174;
uint local_170;
uint local_16c;
uint local_168;
int local_164;
uint auStack_158 [82];
long local_10;
local_10 = *(long *)(in_FS_O... | (translation_unit "void FUN_0016aaa4(uint *param_1,long param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n uint local_184;\n uint local_180;\n uint local_17c;\n uint local_178;\n uint local_174;\n uint local_170;\n uint local_16c;\n uint local_168;\n int local_164;\n uint auStack_158 [82];\n long local_10;\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x190
MOV qword ptr [RBP + -0x188],RDI
MOV qword ptr [RBP + -0x190],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x15c],0x0
JMP 0x0016ab0a
MOV EAX,dword ptr [RBP + -0x15c]
CDQE
LEA RDX,[RAX*0x4]
MOV RAX,qword ptr [RBP + -0x190]
ADD RAX,RDX... |
void function_1(type_1 *s,type_2 *block)
{
type_3 var_12;
type_3 var_14;
type_3 var_16;
type_3 var_18;
long var_20;
int var_8;
type_3 var_13;
type_3 var_15;
type_3 var_17;
type_3 var_19;
long var_1;
type_2 *block_local;
type_1 *s_local;
type_2 var_11;
type_2 var_9;
type_2 var_10;
typ... | (translation_unit "void SHA256_Block(SHA256_State *s,uint32 *block)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n long lVar5;\n int iVar6;\n uint uVar7;\n uint uVar8;\n uint uVar9;\n uint uVar10;\n long in_FS_OFFSET;\n uint32 *block_local;\n SHA256_State *s_local;\n uint32 a;\n uint32 b;... | (translation_unit "void function_1(type_1 *s,type_2 *block)\n\n{\n type_3 var_12;\n type_3 var_14;\n type_3 var_16;\n type_3 var_18;\n long var_20;\n int var_8;\n type_3 var_13;\n type_3 var_15;\n type_3 var_17;\n type_3 var_19;\n long var_1;\n type_2 *block_local;\n type_1 *s_local;\n type_2 var_11;\n t... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
842_plink_and_plink_strip.c | ec_public | FUN_0015c4b0 | 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_0015c4b0(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_0015c4b0(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 0x0015c507
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... |
911_plink_and_plink_strip.c | read_blob | FUN_001639bd | read_blob |
uchar * read_blob(FILE *fp,int nlines,int *bloblen)
{
int iVar1;
uchar *ptr;
char *__s;
size_t sVar2;
int *bloblen_local;
int nlines_local;
FILE *fp_local;
int len;
int i;
int j;
int linelen;
int k;
uchar *blob;
char *line;
if (0x1554 < nlines) {
/* WARNING: Subrou... |
long FUN_001639bd(undefined8 param_1,int param_2,int *param_3)
{
int iVar1;
long lVar2;
char *__s;
size_t sVar3;
int local_2c;
int local_28;
int local_24;
if (0x1554 < param_2) {
/* WARNING: Subroutine does not return */
__assert_fail("nlines < MAX_KEY_BLOB_LINES","sshpubk.c... | (translation_unit "long FUN_001639bd(undefined8 param_1,int param_2,int *param_3)\n\n{\n int iVar1;\n long lVar2;\n char *__s;\n size_t sVar3;\n int local_2c;\n int local_28;\n int local_24;\n \n if (0x1554 < param_2) {\n /* WARNING: Subroutine does not return */\n __assert_fail("nlines <... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV qword ptr [RBP + -0x48],RDX
CMP dword ptr [RBP + -0x3c],0x1554
JLE 0x001639f8
LEA RCX,[0x19e0b8]
MOV EDX,0x24e
LEA RSI,[0x19d9c1]
LEA RDI,[0x19d9cb]
CALL 0x00108350
MOV EDX,dword ptr [RBP + -0x3c]
MOV EAX,EDX
ADD EAX,E... |
type_1 * function_1(type_2 *fp,int var_1,int *bloblen)
{
int var_14;
type_1 *var_12;
char *var_6;
size_t var_8;
int *bloblen_local;
int nlines_local;
type_2 *fp_local;
int var_13;
int var_4;
int var_10;
int linelen;
int k;
type_1 *blob;
char *line;
if (0x1554 < var_1) {
... | (translation_unit "uchar * read_blob(FILE *fp,int nlines,int *bloblen)\n\n{\n int iVar1;\n uchar *ptr;\n char *__s;\n size_t sVar2;\n int *bloblen_local;\n int nlines_local;\n FILE *fp_local;\n int len;\n int i;\n int j;\n int linelen;\n int k;\n uchar *blob;\n char *line;\n \n if (0x1554 < nlines) {\n ... | (translation_unit "type_1 * function_1(type_2 *fp,int var_1,int *bloblen)\n\n{\n int var_14;\n type_1 *var_12;\n char *var_6;\n size_t var_8;\n int *bloblen_local;\n int nlines_local;\n type_2 *fp_local;\n int var_13;\n int var_4;\n int var_10;\n int linelen;\n int k;\n type_1 *blob;\n char *line;\n \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))) (parameter_declaration type: (pri... |
1065_plink_and_plink_strip.c | share_find_forwarding | FUN_00172ec5 | share_find_forwarding |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_forwarding * share_find_forwarding(ssh_sharing_connstate *cs,char *host,int port)
{
long lVar1;
share_forwarding *psVar2;
long in_FS_OFFSET;
int port_local;
char *host_local;
ssh_sharing_connstate *cs_local;
share_forwarding... |
undefined8 FUN_00172ec5(long param_1,undefined8 param_2,undefined4 param_3)
{
undefined8 uVar1;
long in_FS_OFFSET;
undefined8 local_28;
undefined4 local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28 = FUN_0011086d(param_2);
local_20 = param_3;
uVar1 = FUN_0017e3c4(*(undef... | (translation_unit "undefined8 FUN_00172ec5(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined8 local_28;\n undefined4 local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28 = FUN_0011086d(param_2);\n local_20 = param_3;\n... | 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 FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x40]
MOV RDI,RAX
CALL 0x0011086d
MOV qword ptr [RBP + -0x20],RAX
MOV EAX,dword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *cs,char *host,int port)
{
long var_5;
type_1 *psVar2;
long var_1;
int port_local;
char *host_local;
type_2 *cs_local;
type_1 *ret;
type_1 dummyfwd;
var_5 = *(long *)(var_1 + 0x28);
dummyfwd.hos... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_forwarding * share_find_forwarding(ssh_sharing_connstate *cs,char *host,int port)\n\n{\n long lVar1;\n share_forwarding *psVar2;\n long in_FS_OFFSET;\n int port_local;\n char *host_local;\n ssh_sharing_connstate *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,char *host,int port)\n\n{\n long var_5;\n type_1 *psVar2;\n long var_1;\n int port_local;\n char *host_local;\n type_2 *cs_local;\n type_1 *ret;\n type_1 dummyfwd;\n \n var_5 = *(long ... | (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 ... |
1391_plink_and_plink_strip.c | del_settings | FUN_0018cd84 | del_settings |
void del_settings(char *sessionname)
{
char *__name;
char *sessionname_local;
char *filename;
__name = make_filename(5,sessionname);
unlink(__name);
safefree(__name);
return;
}
|
void FUN_0018cd84(undefined8 param_1)
{
char *__name;
__name = (char *)FUN_0018be76(5,param_1);
unlink(__name);
FUN_00111b0d(__name);
return;
}
| (translation_unit "void FUN_0018cd84(undefined8 param_1)\n\n{\n char *__name;\n \n __name = (char *)FUN_0018be76(5,param_1);\n unlink(__name);\n FUN_00111b0d(__name);\n return;\n}\n\n" (function_definition "void FUN_0018cd84(undefined8 param_1)\n\n{\n char *__name;\n \n __name = (char *)FUN_0018be76(5,param_1)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RAX
MOV EDI,0x5
CALL 0x0018be76
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001080c0
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00111b0d
NOP
LEAVE
RET |
void function_1(char *sessionname)
{
char *__name;
char *sessionname_local;
char *filename;
__name = var_1(5,sessionname);
var_2(__name);
var_3(__name);
return;
}
| (translation_unit "void del_settings(char *sessionname)\n\n{\n char *__name;\n char *sessionname_local;\n char *filename;\n \n __name = make_filename(5,sessionname);\n unlink(__name);\n safefree(__name);\n return;\n}\n\n" (function_definition "void del_settings(char *sessionname)\n\n{\n char *__name;\n char *... | (translation_unit "void function_1(char *sessionname)\n\n{\n char *__name;\n char *sessionname_local;\n char *filename;\n \n __name = var_1(5,sessionname);\n var_2(__name);\n var_3(__name);\n return;\n}\n\n" (function_definition "void function_1(char *sessionname)\n\n{\n char *__name;\n char *sessionname_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))))) body: (compound_statement (declaration type: (primitive_type) dec... |
277_pageant_and_pageant_strip.c | buildinfo | FUN_0010e679 | buildinfo |
char * buildinfo(char *newline)
{
strbuf *buf_00;
char *pcVar1;
char *newline_local;
strbuf *buf;
char *gtk_buildinfo;
buf_00 = strbuf_new();
if (buildinfo_gtk_relevant == 0) {
pcVar1 = "Unix";
}
else {
pcVar1 = "Unix (GTK + X11)";
}
strbuf_catf(buf_00,"Build platform: %d-bit %s",0x40... |
void FUN_0010e679(undefined8 param_1)
{
undefined8 uVar1;
char *pcVar2;
long lVar3;
uVar1 = FUN_0010d23c();
if (DAT_00162788 == 0) {
pcVar2 = "Unix";
}
else {
pcVar2 = "Unix (GTK + X11)";
}
FUN_0010d386(uVar1,"Build platform: %d-bit %s",0x40,pcVar2);
FUN_0010d386(uVar1,"%sCompiler: gcc ... | (translation_unit "void FUN_0010e679(undefined8 param_1)\n\n{\n undefined8 uVar1;\n char *pcVar2;\n long lVar3;\n \n uVar1 = FUN_0010d23c();\n if (DAT_00162788 == 0) {\n pcVar2 = "Unix";\n }\n else {\n pcVar2 = "Unix (GTK + X11)";\n }\n FUN_0010d386(uVar1,"Build platform: %d-bit %s",0x40,pcVar2);\n FUN... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CALL 0x0010d23c
MOV qword ptr [RBP + -0x10],RAX
MOV EAX,dword ptr [0x00162788]
TEST EAX,EAX
JZ 0x0010e6a1
LEA RAX,[0x15b912]
JMP 0x0010e6a8
LEA RAX,[0x15b923]
MOV RDI,qword ptr [RBP + -0x10]
MOV RCX,RAX
MOV EDX,0x40
LEA RSI,[0x15b928]
MOV EAX,0x0
CALL 0x... |
char * function_1(char *newline)
{
type_1 *buf_00;
char *var_5;
char *newline_local;
type_1 *buf;
char *gtk_buildinfo;
buf_00 = var_1();
if (var_2 == 0) {
var_5 = "Unix";
}
else {
var_5 = "Unix (GTK + X11)";
}
var_3(buf_00,"Build platform: %d-bit %s",0x40,var_5);
var_3(buf_00,"%sCom... | (translation_unit "char * buildinfo(char *newline)\n\n{\n strbuf *buf_00;\n char *pcVar1;\n char *newline_local;\n strbuf *buf;\n char *gtk_buildinfo;\n \n buf_00 = strbuf_new();\n if (buildinfo_gtk_relevant == 0) {\n pcVar1 = "Unix";\n }\n else {\n pcVar1 = "Unix (GTK + X11)";\n }\n strbuf_catf(buf_0... | (translation_unit "char * function_1(char *newline)\n\n{\n type_1 *buf_00;\n char *var_5;\n char *newline_local;\n type_1 *buf;\n char *gtk_buildinfo;\n \n buf_00 = var_1();\n if (var_2 == 0) {\n var_5 = "Unix";\n }\n else {\n var_5 = "Unix (GTK + X11)";\n }\n var_3(buf_00,"Build platform: %d-bit %s",... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla... |
1269_plink_and_plink_strip.c | unix_sock_addr | FUN_00184c46 | unix_sock_addr |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
SockAddr unix_sock_addr(char *path)
{
uint uVar1;
SockAddr __s;
char *path_local;
int n;
SockAddr ret;
__s = (SockAddr)safemalloc(1,0x220);
memset(__s,0,0x220);
__s->superfamily = ABOUT_TO;
uVar1 = snprintf(__s->hostname,0x... |
undefined4 * FUN_00184c46(undefined8 param_1)
{
uint uVar1;
undefined4 *__s;
__s = (undefined4 *)FUN_00111901(1,0x220);
memset(__s,0,0x220);
__s[4] = 1;
uVar1 = snprintf((char *)(__s + 8),0x200,"%s",param_1);
if ((int)uVar1 < 0) {
*(char **)(__s + 2) = "snprintf failed";
}
else if ((0x1ff < u... | (translation_unit "undefined4 * FUN_00184c46(undefined8 param_1)\n\n{\n uint uVar1;\n undefined4 *__s;\n \n __s = (undefined4 *)FUN_00111901(1,0x220);\n memset(__s,0,0x220);\n __s[4] = 1;\n uVar1 = snprintf((char *)(__s + 8),0x200,"%s",param_1);\n if ((int)uVar1 < 0) {\n *(char **)(__s + 2) = "snprintf faile... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV ESI,0x220
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x220
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00108390
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x10],0x1
MOV RAX,qword ptr [RBP + -0x8]
LEA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(char *path)
{
type_2 var_4;
type_1 __s;
char *path_local;
int n;
type_1 ret;
__s = (type_1)var_1(1,0x220);
var_2(__s,0,0x220);
__s->superfamily = ABOUT_TO;
var_4 = var_3(__s->hostname,0x200,"%s",path);
i... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSockAddr unix_sock_addr(char *path)\n\n{\n uint uVar1;\n SockAddr __s;\n char *path_local;\n int n;\n SockAddr ret;\n \n __s = (SockAddr)safemalloc(1,0x220);\n memset(__s,0,0x220);\n __s->superfamily = ABOUT_TO;\n u... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(char *path)\n\n{\n type_2 var_4;\n type_1 __s;\n char *path_local;\n int n;\n type_1 ret;\n \n __s = (type_1)var_1(1,0x220);\n var_2(__s,0,0x220);\n __s->superfamily = ABOUT_TO;\n var_4 = var_3(__s... | (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))))) body: (compound_statement (declaration type: (type_ide... |
1105_plink_and_plink_strip.c | zlib_disable_compression | FUN_0017891d | zlib_disable_compression |
int zlib_disable_compression(void *handle)
{
long lVar1;
int iVar2;
void *handle_local;
int n;
LZ77Context *ectx;
Outbuf *out;
lVar1 = *(long *)((long)handle + 8);
*(undefined4 *)(lVar1 + 0x20) = 1;
if (*(int *)(lVar1 + 0x1c) == 0) {
iVar2 = *(int *)(lVar1 + 0x18) + 10;
if (iVar2 < 0) {
... |
int FUN_0017891d(long param_1)
{
long lVar1;
undefined4 local_1c;
lVar1 = *(long *)(param_1 + 8);
*(undefined4 *)(lVar1 + 0x20) = 1;
if (*(int *)(lVar1 + 0x1c) == 0) {
local_1c = *(int *)(lVar1 + 0x18) + 10;
if (local_1c < 0) {
local_1c = *(int *)(lVar1 + 0x18) + 0x11;
}
local_1c = ... | (translation_unit "int FUN_0017891d(long param_1)\n\n{\n long lVar1;\n undefined4 local_1c;\n \n lVar1 = *(long *)(param_1 + 8);\n *(undefined4 *)(lVar1 + 0x20) = 1;\n if (*(int *)(lVar1 + 0x1c) == 0) {\n local_1c = *(int *)(lVar1 + 0x18) + 10;\n if (local_1c < 0) {\n local_1c = *(int *)(lVar1 + 0x18) ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x20],0x1
MOV dword ptr [RBP + -0x14],0x0
MOV RAX,qword pt... |
int function_1(void *handle)
{
long var_1;
int var_2;
void *handle_local;
int var_3;
type_1 *ectx;
type_2 *out;
var_1 = *(long *)((long)handle + 8);
*(type_3 *)(var_1 + 0x20) = 1;
if (*(int *)(var_1 + 0x1c) == 0) {
var_2 = *(int *)(var_1 + 0x18) + 10;
if (var_2 < 0) {
var_2 = *(int ... | (translation_unit "int zlib_disable_compression(void *handle)\n\n{\n long lVar1;\n int iVar2;\n void *handle_local;\n int n;\n LZ77Context *ectx;\n Outbuf *out;\n \n lVar1 = *(long *)((long)handle + 8);\n *(undefined4 *)(lVar1 + 0x20) = 1;\n if (*(int *)(lVar1 + 0x1c) == 0) {\n iVar2 = *(int *)(lVar1 + 0x1... | (translation_unit "int function_1(void *handle)\n\n{\n long var_1;\n int var_2;\n void *handle_local;\n int var_3;\n type_1 *ectx;\n type_2 *out;\n \n var_1 = *(long *)((long)handle + 8);\n *(type_3 *)(var_1 + 0x20) = 1;\n if (*(int *)(var_1 + 0x1c) == 0) {\n var_2 = *(int *)(var_1 + 0x18) + 10;\n if (v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifie... |
1248_plink_and_plink_strip.c | sk_tcp_flush | FUN_001824e8 | sk_tcp_flush |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_tcp_flush(Socket s)
{
Socket s_local;
return;
}
|
void FUN_001824e8(void)
{
return;
}
| (translation_unit "void FUN_001824e8(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001824e8(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001824e8(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 s)
{
type_1 s_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_tcp_flush(Socket s)\n\n{\n Socket s_local;\n \n return;\n}\n\n" comment (function_definition "void sk_tcp_flush(Socket s)\n\n{\n Socket s_local;\n \n return;\n}" primitive_type (function_declarator "sk_tcp_flush... | (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 \n return;\n}\n\n" comment (function_definition "void function_1(type_1 s)\n\n{\n type_1 s_local;\n \n return;\n}" primitive_type (function_declarator "function_1(type_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
211_pageant_and_pageant_strip.c | conf_get_str | FUN_0010af88 | conf_get_str |
char * conf_get_str(Conf *conf,int primary)
{
long lVar1;
void *pvVar2;
long in_FS_OFFSET;
int primary_local;
Conf *conf_local;
conf_entry *entry;
key key;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (subkeytypes[primary] != 0) {
/* WARNING: Subroutine does not return */
__... |
undefined8 FUN_0010af88(undefined8 *param_1,int param_2)
{
long lVar1;
long in_FS_OFFSET;
int local_28 [6];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(&DAT_00170020 + (long)param_2 * 4) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("... | (translation_unit "undefined8 FUN_0010af88(undefined8 *param_1,int param_2)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int local_28 [6];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(&DAT_00170020 + (long)param_2 * 4) != 0) {\n /* WARNING: Subroutine does not r... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x3c]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x170020]
MOV EAX,dword ptr [RDX + RAX*0x1]
TEST EAX,EAX
JZ 0x0010afe0
LEA RCX,[0x15b61... |
char * function_1(type_1 *conf,int primary)
{
long var_5;
void *var_4;
long var_1;
int primary_local;
type_1 *conf_local;
type_2 *entry;
type_3 type_3;
var_5 = *(long *)(var_1 + 0x28);
if (subkeytypes[primary] != 0) {
/* WARNING: Subroutine does not return */
var_2("subkey... | (translation_unit "char * conf_get_str(Conf *conf,int primary)\n\n{\n long lVar1;\n void *pvVar2;\n long in_FS_OFFSET;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n key key;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (subkeytypes[primary] != 0) {\n /* WARNING: Subro... | (translation_unit "char * function_1(type_1 *conf,int primary)\n\n{\n long var_5;\n void *var_4;\n long var_1;\n int primary_local;\n type_1 *conf_local;\n type_2 *entry;\n type_3 type_3;\n \n var_5 = *(long *)(var_1 + 0x28);\n if (subkeytypes[primary] != 0) {\n /* WARNING: Subroutine does ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
896_plink_and_plink_strip.c | hmacmd5_bytes | FUN_001620c5 | hmacmd5_bytes |
void hmacmd5_bytes(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
MD5Context *keys;
MD5Update((MD5Context *)((long)handle + 0xb8),blk,len);
return;
}
|
void FUN_001620c5(long param_1,undefined8 param_2,undefined4 param_3)
{
FUN_001619fd(param_1 + 0xb8,param_2,param_3);
return;
}
| (translation_unit "void FUN_001620c5(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001619fd(param_1 + 0xb8,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_001620c5(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001619fd(param_1 + 0xb8,param_2,param_3);\n return;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV EDX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x8]
LEA RCX,[RAX + 0xb8]
MOV RAX,qword ptr [RBP + -0x20]
MOV RSI,RAX... |
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((type_2 *)((long)handle + 0xb8),blk,len);
return;
}
| (translation_unit "void hmacmd5_bytes(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n MD5Context *keys;\n \n MD5Update((MD5Context *)((long)handle + 0xb8),blk,len);\n return;\n}\n\n" (function_definition "void hmacmd5_bytes(void *handle,uchar *blk,int len)\n\n{\... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1((type_2 *)((long)handle + 0xb8),blk,len);\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... |
203_pageant_and_pageant_strip.c | conf_new | FUN_0010ab4f | conf_new |
/* WARNING: Unknown calling convention */
Conf * conf_new(void)
{
Conf *pCVar1;
tree234 *ptVar2;
Conf *conf;
pCVar1 = (Conf *)safemalloc(1,8);
ptVar2 = newtree234(conf_cmp);
pCVar1->tree = ptVar2;
return pCVar1;
}
|
undefined8 * FUN_0010ab4f(void)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_0010dd24(1,8);
uVar2 = FUN_00149035(FUN_0010a7b4);
*puVar1 = uVar2;
return puVar1;
}
| (translation_unit "undefined8 * FUN_0010ab4f(void)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_0010dd24(1,8);\n uVar2 = FUN_00149035(FUN_0010a7b4);\n *puVar1 = uVar2;\n return puVar1;\n}\n\n" (function_definition "undefined8 * FUN_0010ab4f(void)\n\n{\n undefined8 *puVar1;\n u... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x8
MOV EDI,0x1
CALL 0x0010dd24
MOV qword ptr [RBP + -0x8],RAX
LEA RDI,[0x10a7b4]
CALL 0x00149035
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
/* WARNING: Unknown calling convention */
type_1 * function_1(void)
{
type_1 *pCVar1;
type_2 *ptVar2;
type_1 *conf;
pCVar1 = (type_1 *)var_1(1,8);
ptVar2 = var_2(conf_cmp);
pCVar1->tree = ptVar2;
return pCVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nConf * conf_new(void)\n\n{\n Conf *pCVar1;\n tree234 *ptVar2;\n Conf *conf;\n \n pCVar1 = (Conf *)safemalloc(1,8);\n ptVar2 = newtree234(conf_cmp);\n pCVar1->tree = ptVar2;\n return pCVar1;\n}\n\n" comment (function_definition "Conf * conf_new(void... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 * function_1(void)\n\n{\n type_1 *pCVar1;\n type_2 *ptVar2;\n type_1 *conf;\n \n pCVar1 = (type_1 *)var_1(1,8);\n ptVar2 = var_2(conf_cmp);\n pCVar1->tree = ptVar2;\n return pCVar1;\n}\n\n" comment (function_definition "type_1 * function_1(v... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (poi... |
1074_plink_and_plink_strip.c | getstring_size | FUN_0017400f | getstring_size |
int getstring_size(void *data,int datalen)
{
int iVar1;
long in_FS_OFFSET;
int datalen_local;
void *data_local;
int ret;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = getstring_inner(data,datalen,(char **)0x0,&ret);
if (iVar1 == 0) {
ret = -1;
}
if (local_10 == *(long ... |
undefined4 FUN_0017400f(undefined8 param_1,undefined4 param_2)
{
int iVar1;
long in_FS_OFFSET;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_00173ed5(param_1,param_2,0,&local_14);
if (iVar1 == 0) {
local_14 = 0xffffffff;
}
if (local_10 == *(long *)... | (translation_unit "undefined4 FUN_0017400f(undefined8 param_1,undefined4 param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_00173ed5(param_1,param_2,0,&local_14);\n if (iVar1 == 0) {\n local_14 = 0xffffffff;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0xc]
MOV ESI,dword ptr [RBP + -0x1c]
MOV RAX,qword ptr [RBP + -0x18]
MOV RCX,RDX
MOV EDX,0x0
MOV RDI,RAX
CALL 0x00173ed5
TEST EAX,EAX
J... |
int function_1(void *data,int datalen)
{
int var_3;
long var_1;
int datalen_local;
void *data_local;
int ret;
long var_4;
var_4 = *(long *)(var_1 + 0x28);
var_3 = var_2(data,datalen,(char **)0x0,&ret);
if (var_3 == 0) {
ret = -1;
}
if (var_4 == *(long *)(var_1 + 0x28)) {
return ret;
... | (translation_unit "int getstring_size(void *data,int datalen)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int datalen_local;\n void *data_local;\n int ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = getstring_inner(data,datalen,(char **)0x0,&ret);\n if (iVar1 == 0) {\n ret = -1... | (translation_unit "int function_1(void *data,int datalen)\n\n{\n int var_3;\n long var_1;\n int datalen_local;\n void *data_local;\n int ret;\n long var_4;\n \n var_4 = *(long *)(var_1 + 0x28);\n var_3 = var_2(data,datalen,(char **)0x0,&ret);\n if (var_3 == 0) {\n ret = -1;\n }\n if (var_4 == *(long *)(v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi... |
222_pageant_and_pageant_strip.c | conf_del_str_str | FUN_0010b99e | conf_del_str_str |
void conf_del_str_str(Conf *conf,int primary,char *secondary)
{
long lVar1;
conf_entry *entry_00;
long in_FS_OFFSET;
char *secondary_local;
int primary_local;
Conf *conf_local;
conf_entry *entry;
key key;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (subkeytypes[primary] != 2) {
... |
void FUN_0010b99e(undefined8 *param_1,int param_2,undefined8 param_3)
{
long lVar1;
long in_FS_OFFSET;
int local_28 [2];
undefined8 local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(&DAT_00170020 + (long)param_2 * 4) != 2) {
/* WARNING: Subroutine do... | (translation_unit "void FUN_0010b99e(undefined8 *param_1,int param_2,undefined8 param_3)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int local_28 [2];\n undefined8 local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(&DAT_00170020 + (long)param_2 * 4) != 2) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x3c]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x170020]
MOV EAX,dword ptr [RDX + RAX*0x1]
CMP EAX,0x2... |
void function_1(type_1 *conf,int primary,char *secondary)
{
long var_7;
type_2 *var_4;
long var_1;
char *secondary_local;
int primary_local;
type_1 *conf_local;
type_2 *entry;
type_3 type_3;
var_7 = *(long *)(var_1 + 0x28);
if (subkeytypes[primary] != 2) {
/* WARNING: Subrou... | (translation_unit "void conf_del_str_str(Conf *conf,int primary,char *secondary)\n\n{\n long lVar1;\n conf_entry *entry_00;\n long in_FS_OFFSET;\n char *secondary_local;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n key key;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (subkeytypes[pri... | (translation_unit "void function_1(type_1 *conf,int primary,char *secondary)\n\n{\n long var_7;\n type_2 *var_4;\n long var_1;\n char *secondary_local;\n int primary_local;\n type_1 *conf_local;\n type_2 *entry;\n type_3 type_3;\n \n var_7 = *(long *)(var_1 + 0x28);\n if (subkeytypes[primary] != 2) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1392_plink_and_plink_strip.c | enum_settings_start | FUN_0018cdc0 | enum_settings_start |
/* WARNING: Unknown calling convention */
void * enum_settings_start(void)
{
char *__name;
DIR *pDVar1;
char *filename;
DIR *dp;
__name = make_filename(4,(char *)0x0);
pDVar1 = opendir(__name);
safefree(__name);
return pDVar1;
}
|
DIR * FUN_0018cdc0(void)
{
char *__name;
DIR *pDVar1;
__name = (char *)FUN_0018be76(4,0);
pDVar1 = opendir(__name);
FUN_00111b0d(__name);
return pDVar1;
}
| (translation_unit "DIR * FUN_0018cdc0(void)\n\n{\n char *__name;\n DIR *pDVar1;\n \n __name = (char *)FUN_0018be76(4,0);\n pDVar1 = opendir(__name);\n FUN_00111b0d(__name);\n return pDVar1;\n}\n\n" (function_definition "DIR * FUN_0018cdc0(void)\n\n{\n char *__name;\n DIR *pDVar1;\n \n __name = (char *)FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x0
MOV EDI,0x4
CALL 0x0018be76
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x00108210
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x00111b0d
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
/* WARNING: Unknown calling convention */
void * function_1(void)
{
char *__name;
type_1 *pDVar1;
char *filename;
type_1 *dp;
__name = var_1(4,(char *)0x0);
pDVar1 = var_2(__name);
var_3(__name);
return pDVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * enum_settings_start(void)\n\n{\n char *__name;\n DIR *pDVar1;\n char *filename;\n DIR *dp;\n \n __name = make_filename(4,(char *)0x0);\n pDVar1 = opendir(__name);\n safefree(__name);\n return pDVar1;\n}\n\n" comment (function_definition "vo... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n char *__name;\n type_1 *pDVar1;\n char *filename;\n type_1 *dp;\n \n __name = var_1(4,(char *)0x0);\n pDVar1 = var_2(__name);\n var_3(__name);\n return pDVar1;\n}\n\n" comment (function_definition "void * function_1(... | (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... |
763_plink_and_plink_strip.c | des3_free_context | FUN_00155bc8 | des3_free_context |
void des3_free_context(void *handle)
{
void *handle_local;
safefree(handle);
return;
}
|
void FUN_00155bc8(undefined8 param_1)
{
FUN_00111b0d(param_1);
return;
}
| (translation_unit "void FUN_00155bc8(undefined8 param_1)\n\n{\n FUN_00111b0d(param_1);\n return;\n}\n\n" (function_definition "void FUN_00155bc8(undefined8 param_1)\n\n{\n FUN_00111b0d(param_1);\n return;\n}" primitive_type (function_declarator "FUN_00155bc8(undefined8 param_1)" identifier (parameter_list "(undefin... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00111b0d
NOP
LEAVE
RET |
void function_1(void *handle)
{
void *handle_local;
var_1(handle);
return;
}
| (translation_unit "void des3_free_context(void *handle)\n\n{\n void *handle_local;\n \n safefree(handle);\n return;\n}\n\n" (function_definition "void des3_free_context(void *handle)\n\n{\n void *handle_local;\n \n safefree(handle);\n return;\n}" primitive_type (function_declarator "des3_free_context(void *hand... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n \n var_1(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n \n var_1(handle);\n return;\n}" primitive_type (function_declarator "function_1(void *handle)" identifier (parameter_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1079_plink_and_plink_strip.c | share_setup_x11_channel | FUN_00174527 | share_setup_x11_channel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_setup_x11_channel
(void *csv,void *chanv,uint upstream_id,uint server_id,uint server_currwin,
uint server_maxpkt,uint client_adjusted_window,char *peer_addr,int peer_port,
int endian,int pr... |
void FUN_00174527(long param_1,long param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5
,undefined4 param_6,int param_7,char *param_8,undefined4 param_9,
undefined4 param_10,undefined4 param_11,undefined4 param_12,void *param_13,
int param_14)
{
size_t... | (translation_unit "void FUN_00174527(long param_1,long param_2,undefined4 param_3,undefined4 param_4,undefined4 param_5\n ,undefined4 param_6,int param_7,char *param_8,undefined4 param_9,\n undefined4 param_10,undefined4 param_11,undefined4 param_12,void *param_13,\n int ... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x78
MOV qword ptr [RBP + -0x58],RDI
MOV qword ptr [RBP + -0x60],RSI
MOV dword ptr [RBP + -0x64],EDX
MOV dword ptr [RBP + -0x68],ECX
MOV dword ptr [RBP + -0x6c],R8D
MOV dword ptr [RBP + -0x70],R9D
MOV RAX,qword ptr [RBP + 0x18]
MOV qword ptr [RBP + -0x78],RAX
MOV RAX,qword ptr [RBP... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1
(void *csv,void *chanv,type_1 upstream_id,type_1 var_13,type_1 var_14,
type_1 var_15,type_1 var_9,char *peer_addr,int peer_port,
int endian,int protomajor,int protominor,void *initial_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_setup_x11_channel\n (void *csv,void *chanv,uint upstream_id,uint server_id,uint server_currwin,\n uint server_maxpkt,uint client_adjusted_window,char *peer_addr,int peer_port,\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (void *csv,void *chanv,type_1 upstream_id,type_1 var_13,type_1 var_14,\n type_1 var_15,type_1 var_9,char *peer_addr,int peer_port,\n int endian,int protomajor,int pr... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:... |
206_pageant_and_pageant_strip.c | conf_insert | FUN_0010abf8 | conf_insert |
void conf_insert(Conf *conf,conf_entry *entry)
{
conf_entry *pcVar1;
conf_entry *entry_local;
Conf *conf_local;
conf_entry *oldentry;
pcVar1 = (conf_entry *)add234(conf->tree,entry);
if ((pcVar1 != (conf_entry *)0x0) && (pcVar1 != entry)) {
del234(conf->tree,pcVar1);
free_entry(pcVar1);
pcV... |
void FUN_0010abf8(undefined8 *param_1,long param_2)
{
long lVar1;
lVar1 = FUN_00149e87(*param_1,param_2);
if ((lVar1 != 0) && (lVar1 != param_2)) {
FUN_0014b1e7(*param_1,lVar1);
FUN_0010aafc(lVar1);
lVar1 = FUN_00149e87(*param_1,param_2);
if (lVar1 != param_2) {
/* WARNING... | (translation_unit "void FUN_0010abf8(undefined8 *param_1,long param_2)\n\n{\n long lVar1;\n \n lVar1 = FUN_00149e87(*param_1,param_2);\n if ((lVar1 != 0) && (lVar1 != param_2)) {\n FUN_0014b1e7(*param_1,lVar1);\n FUN_0010aafc(lVar1);\n lVar1 = FUN_00149e87(*param_1,param_2);\n if (lVar1 != param_2) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RDX,qword ptr [RBP + -0x20]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00149e87
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0010ac98
MOV RAX,qword ptr ... |
void function_1(type_1 *conf,type_2 *var_3)
{
type_2 *var_2;
type_2 *entry_local;
type_1 *conf_local;
type_2 *oldentry;
var_2 = (type_2 *)var_1(conf->tree,var_3);
if ((var_2 != (type_2 *)0x0) && (var_2 != var_3)) {
var_4(conf->tree,var_2);
var_5(var_2);
var_2 = (type_2 *)var_1(conf->tree,va... | (translation_unit "void conf_insert(Conf *conf,conf_entry *entry)\n\n{\n conf_entry *pcVar1;\n conf_entry *entry_local;\n Conf *conf_local;\n conf_entry *oldentry;\n \n pcVar1 = (conf_entry *)add234(conf->tree,entry);\n if ((pcVar1 != (conf_entry *)0x0) && (pcVar1 != entry)) {\n del234(conf->tree,pcVar1);\n ... | (translation_unit "void function_1(type_1 *conf,type_2 *var_3)\n\n{\n type_2 *var_2;\n type_2 *entry_local;\n type_1 *conf_local;\n type_2 *oldentry;\n \n var_2 = (type_2 *)var_1(conf->tree,var_3);\n if ((var_2 != (type_2 *)0x0) && (var_2 != var_3)) {\n var_4(conf->tree,var_2);\n var_5(var_2);\n var_2 =... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1310_plink_and_plink_strip.c | pollwrap_free | FUN_0018881a | pollwrap_free |
void pollwrap_free(pollwrapper *pw)
{
pollwrapper *pw_local;
pollwrap_clear(pw);
freetree234(pw->fdtopos);
safefree(pw->fds);
safefree(pw);
return;
}
|
void FUN_0018881a(undefined8 *param_1)
{
FUN_00188860(param_1);
FUN_0017d226(param_1[3]);
FUN_00111b0d(*param_1);
FUN_00111b0d(param_1);
return;
}
| (translation_unit "void FUN_0018881a(undefined8 *param_1)\n\n{\n FUN_00188860(param_1);\n FUN_0017d226(param_1[3]);\n FUN_00111b0d(*param_1);\n FUN_00111b0d(param_1);\n return;\n}\n\n" (function_definition "void FUN_0018881a(undefined8 *param_1)\n\n{\n FUN_00188860(param_1);\n FUN_0017d226(param_1[3]);\n FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00188860
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RDI,RAX
CALL 0x0017d226
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00111b0d
MOV RAX,qword ptr [RBP ... |
void function_1(type_1 *pw)
{
type_1 *pw_local;
var_1(pw);
var_2(pw->fdtopos);
var_3(pw->fds);
var_3(pw);
return;
}
| (translation_unit "void pollwrap_free(pollwrapper *pw)\n\n{\n pollwrapper *pw_local;\n \n pollwrap_clear(pw);\n freetree234(pw->fdtopos);\n safefree(pw->fds);\n safefree(pw);\n return;\n}\n\n" (function_definition "void pollwrap_free(pollwrapper *pw)\n\n{\n pollwrapper *pw_local;\n \n pollwrap_clear(pw);\n f... | (translation_unit "void function_1(type_1 *pw)\n\n{\n type_1 *pw_local;\n \n var_1(pw);\n var_2(pw->fdtopos);\n var_3(pw->fds);\n var_3(pw);\n return;\n}\n\n" (function_definition "void function_1(type_1 *pw)\n\n{\n type_1 *pw_local;\n \n var_1(pw);\n var_2(pw->fdtopos);\n var_3(pw->fds);\n var_3(pw);\n r... | (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... |
372_pageant_and_pageant_strip.c | aes_setup | FUN_00123641 | aes_setup |
void aes_setup(AESContext *ctx,int blocklen,uchar *key,int keylen)
{
int iVar1;
int iVar2;
uint uVar3;
uchar *key_local;
int keylen_local;
int blocklen_local;
AESContext *ctx_local;
int i;
int j;
int rconst;
word32 temp;
word32 temp_1;
int Nk;
int a;
int b;
int c;
int d;
int a_1;
... |
void FUN_00123641(long param_1,int param_2,long param_3,int param_4)
{
int iVar1;
uint uVar2;
int local_50;
int local_4c;
uint local_48;
uint local_44;
uint local_40;
if (((param_2 != 0x10) && (param_2 != 0x18)) && (param_2 != 0x20)) {
/* WARNING: Subroutine does not return */
... | (translation_unit "void FUN_00123641(long param_1,int param_2,long param_3,int param_4)\n\n{\n int iVar1;\n uint uVar2;\n int local_50;\n int local_4c;\n uint local_48;\n uint local_44;\n uint local_40;\n \n if (((param_2 != 0x10) && (param_2 != 0x18)) && (param_2 != 0x20)) {\n /* WARNING: S... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV qword ptr [RBP + -0x68],RDX
MOV dword ptr [RBP + -0x60],ECX
CMP dword ptr [RBP + -0x5c],0x10
JZ 0x00123688
CMP dword ptr [RBP + -0x5c],0x18
JZ 0x00123688
CMP dword ptr [RBP + -0x5c],0x20
JZ 0x00123688
LEA RCX,[0x15fd18... |
void function_1(type_1 *ctx,int var_1,type_2 *key,int var_3)
{
int var_5;
int var_4;
type_3 var_9;
type_2 *key_local;
int keylen_local;
int blocklen_local;
type_1 *ctx_local;
int var_6;
int var_13;
int var_8;
type_4 var_7;
type_4 var_14;
int Nk;
int a;
int b;
int c;
int d;
int a_1;... | (translation_unit "void aes_setup(AESContext *ctx,int blocklen,uchar *key,int keylen)\n\n{\n int iVar1;\n int iVar2;\n uint uVar3;\n uchar *key_local;\n int keylen_local;\n int blocklen_local;\n AESContext *ctx_local;\n int i;\n int j;\n int rconst;\n word32 temp;\n word32 temp_1;\n int Nk;\n int a;\n in... | (translation_unit "void function_1(type_1 *ctx,int var_1,type_2 *key,int var_3)\n\n{\n int var_5;\n int var_4;\n type_3 var_9;\n type_2 *key_local;\n int keylen_local;\n int blocklen_local;\n type_1 *ctx_local;\n int var_6;\n int var_13;\n int var_8;\n type_4 var_7;\n type_4 var_14;\n int Nk;\n int a;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1295_plink_and_plink_strip.c | try_output | FUN_00186723 | try_output |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int try_output(int is_stderr)
{
int iVar1;
int iVar2;
ssize_t sVar3;
int *piVar4;
char *__s;
long in_FS_OFFSET;
int is_stderr_local;
int sendlen;
int fd;
int prev_nonblock;
int ret;
void *senddata;
bufchain *chain;
l... |
int FUN_00186723(int param_1)
{
int iVar1;
int iVar2;
ulong uVar3;
int *piVar4;
char *__s;
long in_FS_OFFSET;
int local_40;
int local_3c;
int local_38;
int local_34;
void *local_30;
undefined *local_28;
long local_20;
local_20 = *(long *)(in_FS_OFFSET + 0x28);
if (param_1 == 0) {
... | (translation_unit "int FUN_00186723(int param_1)\n\n{\n int iVar1;\n int iVar2;\n ulong uVar3;\n int *piVar4;\n char *__s;\n long in_FS_OFFSET;\n int local_40;\n int local_3c;\n int local_38;\n int local_34;\n void *local_30;\n undefined *local_28;\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET ... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x48
MOV dword ptr [RBP + -0x44],EDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
CMP dword ptr [RBP + -0x44],0x0
JZ 0x0018674d
LEA RAX,[0x1b54e0]
JMP 0x00186754
LEA RAX,[0x1b54c0]
MOV qword ptr [RBP + -0x20],RAX
CMP dword ptr [RBP + -0x44],0x0
JZ 0x00186... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(int var_2)
{
int var_4;
int var_20;
ssize_t sVar3;
int *piVar4;
char *__s;
long var_1;
int is_stderr_local;
int var_10;
int fd;
int var_11;
int var_8;
void *senddata;
type_1 *chain;
long var_19;
v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint try_output(int is_stderr)\n\n{\n int iVar1;\n int iVar2;\n ssize_t sVar3;\n int *piVar4;\n char *__s;\n long in_FS_OFFSET;\n int is_stderr_local;\n int sendlen;\n int fd;\n int prev_nonblock;\n int ret;\n void... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(int var_2)\n\n{\n int var_4;\n int var_20;\n ssize_t sVar3;\n int *piVar4;\n char *__s;\n long var_1;\n int is_stderr_local;\n int var_10;\n int fd;\n int var_11;\n int var_8;\n void *senddata;\n t... | (translation_unit (comment) (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)) ... |
1240_plink_and_plink_strip.c | sockaddr_is_loopback | FUN_001821e5 | sockaddr_is_loopback |
int sockaddr_is_loopback(sockaddr *sa)
{
sa_family_t sVar1;
int iVar2;
uint32_t uVar3;
uint32_t uVar4;
uint uVar5;
sockaddr *sa_local;
sockaddr_union *u;
in6_addr *__a;
sVar1 = sa->sa_family;
if (sVar1 == 2) {
uVar5 = *(uint *)(sa->sa_data + 2);
uVar3 = htonl(0xff000000);
uVar4 = ht... |
bool FUN_001821e5(short *param_1)
{
short sVar1;
uint uVar2;
uint32_t uVar3;
uint32_t uVar4;
bool bVar5;
sVar1 = *param_1;
if (sVar1 == 2) {
uVar2 = *(uint *)(param_1 + 2);
uVar3 = htonl(0xff000000);
uVar4 = htonl(0x7f000000);
bVar5 = (uVar2 & uVar3) == uVar4;
}
else if (sVar1 == ... | (translation_unit "bool FUN_001821e5(short *param_1)\n\n{\n short sVar1;\n uint uVar2;\n uint32_t uVar3;\n uint32_t uVar4;\n bool bVar5;\n \n sVar1 = *param_1;\n if (sVar1 == 2) {\n uVar2 = *(uint *)(param_1 + 2);\n uVar3 = htonl(0xff000000);\n uVar4 = htonl(0x7f000000);\n bVar5 = (uVar2 & uVar3) ==... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x28
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOVZX EAX,word ptr [RAX]
MOVZX EAX,AX
CMP EAX,0x2
JZ 0x00182215
CMP EAX,0xa
JZ 0x0018223c
CMP EAX,0x1
JZ 0x0018228b
JMP 0x00182292
MOV RAX,qword ptr ... |
int function_1(type_1 *sa)
{
type_2 var_1;
int var_6;
uint32_t var_4;
uint32_t var_5;
type_3 var_3;
type_1 *sa_local;
type_4 *u;
type_5 *__a;
var_1 = sa->sa_family;
if (var_1 == 2) {
var_3 = *(type_3 *)(sa->sa_data + 2);
var_4 = var_2(0xff000000);
var_5 = var_2(0x7f000000);
var_... | (translation_unit "int sockaddr_is_loopback(sockaddr *sa)\n\n{\n sa_family_t sVar1;\n int iVar2;\n uint32_t uVar3;\n uint32_t uVar4;\n uint uVar5;\n sockaddr *sa_local;\n sockaddr_union *u;\n in6_addr *__a;\n \n sVar1 = sa->sa_family;\n if (sVar1 == 2) {\n uVar5 = *(uint *)(sa->sa_data + 2);\n uVar3 = ... | (translation_unit "int function_1(type_1 *sa)\n\n{\n type_2 var_1;\n int var_6;\n uint32_t var_4;\n uint32_t var_5;\n type_3 var_3;\n type_1 *sa_local;\n type_4 *u;\n type_5 *__a;\n \n var_1 = sa->sa_family;\n if (var_1 == 2) {\n var_3 = *(type_3 *)(sa->sa_data + 2);\n var_4 = var_2(0xff000000);\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... |
1167_plink_and_plink_strip.c | delpos234_internal | FUN_0017e469 | delpos234_internal |
void * delpos234_internal(tree234 *t,int index)
{
node234_conflict *pnVar1;
node234 *pnVar2;
uint uVar3;
int iVar4;
int iVar5;
void *pvVar6;
int index_local;
tree234 *t_local;
int ei;
int ki;
int j;
int j_1;
int i;
int j_2;
int lastelem;
int childnum;
node234_conflict *n;
void *ret... |
long FUN_0017e469(undefined8 *param_1,int param_2)
{
long *plVar1;
uint uVar2;
int iVar3;
undefined4 uVar4;
long lVar5;
int local_a4;
int local_98;
uint local_94;
int local_90;
uint local_8c;
int local_88;
int local_84;
long *local_78;
long local_70;
long *local_68;
long local_60;
lo... | (translation_unit "long FUN_0017e469(undefined8 *param_1,int param_2)\n\n{\n long *plVar1;\n uint uVar2;\n int iVar3;\n undefined4 uVar4;\n long lVar5;\n int local_a4;\n int local_98;\n uint local_94;\n int local_90;\n uint local_8c;\n int local_88;\n int local_84;\n long *local_78;\n long local_70;\n lo... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x98
MOV qword ptr [RBP + -0x98],RDI
MOV dword ptr [RBP + -0x9c],ESI
MOV dword ptr [RBP + -0x90],0xffffffff
MOV qword ptr [RBP + -0x68],0x0
MOV RAX,qword ptr [RBP + -0x98]
MOV RAX,qword ptr [RAX]
MOV qword ptr [RBP + -0x70],RAX
JMP 0x0017ed23
MOV RAX,qword ptr [RBP + -0x70]
MOV EAX... |
void * function_1(type_1 *t,int index)
{
type_2 *pnVar1;
type_3 *pnVar2;
type_4 var_12;
int iVar4;
int var_13;
void *pvVar6;
int var_8;
type_1 *t_local;
int var_3;
int var_9;
int var_10;
int var_11;
int var_5;
int var_7;
int lastelem;
int childnum;
type_2 *var_1;
void *var_2;
typ... | (translation_unit "void * delpos234_internal(tree234 *t,int index)\n\n{\n node234_conflict *pnVar1;\n node234 *pnVar2;\n uint uVar3;\n int iVar4;\n int iVar5;\n void *pvVar6;\n int index_local;\n tree234 *t_local;\n int ei;\n int ki;\n int j;\n int j_1;\n int i;\n int j_2;\n int lastelem;\n int childnum... | (translation_unit "void * function_1(type_1 *t,int index)\n\n{\n type_2 *pnVar1;\n type_3 *pnVar2;\n type_4 var_12;\n int iVar4;\n int var_13;\n void *pvVar6;\n int var_8;\n type_1 *t_local;\n int var_3;\n int var_9;\n int var_10;\n int var_11;\n int var_5;\n int var_7;\n int lastelem;\n int childnum;\n... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
935_plink_and_plink_strip.c | random_add_heavynoise | FUN_00167660 | random_add_heavynoise |
void random_add_heavynoise(void *noise,int length)
{
int length_local;
void *noise_local;
int i;
uchar *p;
p = (uchar *)noise;
for (length_local = length; 0x4af < length_local; length_local = length_local + -0x4b0) {
for (i = 0; i < 0x4b0; i = i + 1) {
pool.pool[i] = *p ^ pool.pool[i];
... |
void FUN_00167660(byte *param_1,int param_2)
{
int local_24;
int local_14;
byte *local_10;
local_10 = param_1;
for (local_24 = param_2; 0x4af < local_24; local_24 = local_24 + -0x4b0) {
for (local_14 = 0; local_14 < 0x4b0; local_14 = local_14 + 1) {
(&DAT_001b4e40)[local_14] = *local_10 ^ (&DAT... | (translation_unit "void FUN_00167660(byte *param_1,int param_2)\n\n{\n int local_24;\n int local_14;\n byte *local_10;\n \n local_10 = param_1;\n for (local_24 = param_2; 0x4af < local_24; local_24 = local_24 + -0x4b0) {\n for (local_14 = 0; local_14 < 0x4b0; local_14 = local_14 + 1) {\n (&DAT_001b4e40)[l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
JMP 0x001676cb
MOV dword ptr [RBP + -0xc],0x0
JMP 0x001676b6
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x1]
MOV qword ptr [RBP + -0x8],RDX
MOVZX ECX,byte p... |
void function_1(void *noise,int length)
{
int var_1;
void *noise_local;
int var_2;
type_1 *var_3;
var_3 = (type_1 *)noise;
for (var_1 = length; 0x4af < var_1; var_1 = var_1 + -0x4b0) {
for (var_2 = 0; var_2 < 0x4b0; var_2 = var_2 + 1) {
pool.pool[var_2] = *var_3 ^ pool.pool[var_2];
var_... | (translation_unit "void random_add_heavynoise(void *noise,int length)\n\n{\n int length_local;\n void *noise_local;\n int i;\n uchar *p;\n \n p = (uchar *)noise;\n for (length_local = length; 0x4af < length_local; length_local = length_local + -0x4b0) {\n for (i = 0; i < 0x4b0; i = i + 1) {\n pool.pool[i... | (translation_unit "void function_1(void *noise,int length)\n\n{\n int var_1;\n void *noise_local;\n int var_2;\n type_1 *var_3;\n \n var_3 = (type_1 *)noise;\n for (var_1 = length; 0x4af < var_1; var_1 = var_1 + -0x4b0) {\n for (var_2 = 0; var_2 < 0x4b0; var_2 = var_2 + 1) {\n pool.pool[var_2] = *var_3 ^... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi... |
888_plink_and_plink_strip.c | MD5Update | FUN_001619fd | MD5Update |
void MD5Update(MD5Context *s,uchar *p,uint len)
{
long lVar1;
long in_FS_OFFSET;
uint len_local;
uchar *p_local;
MD5Context *s_local;
int i;
uint32 lenw;
uchar *q;
uint32 wordblock [16];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
s->lenlo = s->lenlo + len;
s->lenhi = s->lenhi + (uint)(s->lenlo... |
void FUN_001619fd(long param_1,void *param_2,uint param_3)
{
long in_FS_OFFSET;
uint local_7c;
int local_68;
void *local_60;
uint local_58 [18];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
*(uint *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + param_3;
*(uint *)(param_1 + 0x54) = *(... | (translation_unit "void FUN_001619fd(long param_1,void *param_2,uint param_3)\n\n{\n long in_FS_OFFSET;\n uint local_7c;\n int local_68;\n void *local_60;\n uint local_58 [18];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n *(uint *)(param_1 + 0x58) = *(int *)(param_1 + 0x58) + param_3;\n ... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV dword ptr [RBP + -0x74],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x70]
MOV qword ptr [RBP + -0x58],RAX
MOV EAX,dword ptr [RBP + -0x74]
MOV dword ptr [RBP + -... |
void function_1(type_1 *s,type_2 *p,type_3 var_2)
{
long var_8;
long var_1;
type_3 var_4;
type_2 *p_local;
type_1 *s_local;
int var_6;
type_4 lenw;
type_2 *var_5;
type_4 wordblock [16];
var_8 = *(long *)(var_1 + 0x28);
s->lenlo = s->lenlo + var_2;
s->lenhi = s->lenhi + (type_3)(s->lenlo < v... | (translation_unit "void MD5Update(MD5Context *s,uchar *p,uint len)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uint len_local;\n uchar *p_local;\n MD5Context *s_local;\n int i;\n uint32 lenw;\n uchar *q;\n uint32 wordblock [16];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n s->lenlo = s->lenlo + len;\n s->l... | (translation_unit "void function_1(type_1 *s,type_2 *p,type_3 var_2)\n\n{\n long var_8;\n long var_1;\n type_3 var_4;\n type_2 *p_local;\n type_1 *s_local;\n int var_6;\n type_4 lenw;\n type_2 *var_5;\n type_4 wordblock [16];\n \n var_8 = *(long *)(var_1 + 0x28);\n s->lenlo = s->lenlo + var_2;\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))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1157_plink_and_plink_strip.c | countnode234 | FUN_0017d250 | countnode234 |
int countnode234(node234_conflict *n)
{
node234_conflict *n_local;
int count;
int i;
count = 0;
if (n == (node234_conflict *)0x0) {
count = 0;
}
else {
for (i = 0; i < 4; i = i + 1) {
count = count + n->counts[i];
}
for (i = 0; i < 3; i = i + 1) {
if (n->elems[i] != (void ... |
int FUN_0017d250(long param_1)
{
undefined4 local_10;
undefined4 local_c;
local_10 = 0;
if (param_1 == 0) {
local_10 = 0;
}
else {
for (local_c = 0; local_c < 4; local_c = local_c + 1) {
local_10 = local_10 + *(int *)(param_1 + 8 + ((long)local_c + 8) * 4);
}
for (local_c = 0; loc... | (translation_unit "int FUN_0017d250(long param_1)\n\n{\n undefined4 local_10;\n undefined4 local_c;\n \n local_10 = 0;\n if (param_1 == 0) {\n local_10 = 0;\n }\n else {\n for (local_c = 0; local_c < 4; local_c = local_c + 1) {\n local_10 = local_10 + *(int *)(param_1 + 8 + ((long)local_c + 8) * 4);\n... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x8],0x0
CMP qword ptr [RBP + -0x18],0x0
JNZ 0x0017d26d
MOV EAX,0x0
JMP 0x0017d2c7
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0017d28f
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
ADD RDX,0x8
MOV EAX,dword ptr [RAX + R... |
int function_1(type_1 *var_1)
{
type_1 *n_local;
int var_3;
int var_2;
var_3 = 0;
if (var_1 == (type_1 *)0x0) {
var_3 = 0;
}
else {
for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {
var_3 = var_3 + var_1->counts[var_2];
}
for (var_2 = 0; var_2 < 3; var_2 = var_2 + 1) {
if (v... | (translation_unit "int countnode234(node234_conflict *n)\n\n{\n node234_conflict *n_local;\n int count;\n int i;\n \n count = 0;\n if (n == (node234_conflict *)0x0) {\n count = 0;\n }\n else {\n for (i = 0; i < 4; i = i + 1) {\n count = count + n->counts[i];\n }\n for (i = 0; i < 3; i = i + 1) ... | (translation_unit "int function_1(type_1 *var_1)\n\n{\n type_1 *n_local;\n int var_3;\n int var_2;\n \n var_3 = 0;\n if (var_1 == (type_1 *)0x0) {\n var_3 = 0;\n }\n else {\n for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {\n var_3 = var_3 + var_1->counts[var_2];\n }\n for (var_2 = 0; var_2 < 3;... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1183_plink_and_plink_strip.c | set_busy_status | FUN_0017fbf3 | set_busy_status |
void set_busy_status(void *frontend,int status)
{
int status_local;
void *frontend_local;
return;
}
|
void FUN_0017fbf3(void)
{
return;
}
| (translation_unit "void FUN_0017fbf3(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0017fbf3(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0017fbf3(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
NOP
POP RBP
RET |
void function_1(void *frontend,int status)
{
int status_local;
void *frontend_local;
return;
}
| (translation_unit "void set_busy_status(void *frontend,int status)\n\n{\n int status_local;\n void *frontend_local;\n \n return;\n}\n\n" (function_definition "void set_busy_status(void *frontend,int status)\n\n{\n int status_local;\n void *frontend_local;\n \n return;\n}" primitive_type (function_declarator "se... | (translation_unit "void function_1(void *frontend,int status)\n\n{\n int status_local;\n void *frontend_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *frontend,int status)\n\n{\n int status_local;\n void *frontend_local;\n \n return;\n}" primitive_type (function_declarator "function_1(v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi... |
1315_plink_and_plink_strip.c | pollwrap_poll_endless | FUN_00188b2c | pollwrap_poll_endless |
int pollwrap_poll_endless(pollwrapper *pw)
{
int iVar1;
pollwrapper *pw_local;
iVar1 = poll((pollfd *)pw->fds,pw->nfd,-1);
return iVar1;
}
|
void FUN_00188b2c(undefined8 *param_1)
{
poll((pollfd *)*param_1,param_1[1],-1);
return;
}
| (translation_unit "void FUN_00188b2c(undefined8 *param_1)\n\n{\n poll((pollfd *)*param_1,param_1[1],-1);\n return;\n}\n\n" (function_definition "void FUN_00188b2c(undefined8 *param_1)\n\n{\n poll((pollfd *)*param_1,param_1[1],-1);\n return;\n}" primitive_type (function_declarator "FUN_00188b2c(undefined8 *param_1)"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RCX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV EDX,0xffffffff
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00108610
LEAVE
RET |
int function_1(type_1 *pw)
{
int iVar1;
type_1 *pw_local;
iVar1 = var_1((type_2 *)pw->fds,pw->nfd,-1);
return iVar1;
}
| (translation_unit "int pollwrap_poll_endless(pollwrapper *pw)\n\n{\n int iVar1;\n pollwrapper *pw_local;\n \n iVar1 = poll((pollfd *)pw->fds,pw->nfd,-1);\n return iVar1;\n}\n\n" (function_definition "int pollwrap_poll_endless(pollwrapper *pw)\n\n{\n int iVar1;\n pollwrapper *pw_local;\n \n iVar1 = poll((pollfd... | (translation_unit "int function_1(type_1 *pw)\n\n{\n int iVar1;\n type_1 *pw_local;\n \n iVar1 = var_1((type_2 *)pw->fds,pw->nfd,-1);\n return iVar1;\n}\n\n" (function_definition "int function_1(type_1 *pw)\n\n{\n int iVar1;\n type_1 *pw_local;\n \n iVar1 = var_1((type_2 *)pw->fds,pw->nfd,-1);\n return iVar1;... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
403_pageant_and_pageant_strip.c | internal_mod | FUN_00125f82 | internal_mod |
void internal_mod(BignumInt *a,int alen,BignumInt *m,int mlen,BignumInt *quot,BignumInt recip,
int rshift)
{
BignumInt BVar1;
undefined auVar2 [16];
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auVar6 [16];
undefined auVar7 [16];
undefined auVar8 [16]... |
void FUN_00125f82(long param_1,int param_2,long param_3,int param_4,long param_5,ulong param_6,
int param_7)
{
ulong uVar1;
long lVar2;
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auVar6 [16];
undefined auVar7 [16];
undefined auVar8 [16];
undefined... | (translation_unit "void FUN_00125f82(long param_1,int param_2,long param_3,int param_4,long param_5,ulong param_6,\n int param_7)\n\n{\n ulong uVar1;\n long lVar2;\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [16];\n undef... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
SUB RSP,0x1b0
MOV qword ptr [RBP + -0x118],RDI
MOV dword ptr [RBP + -0x11c],ESI
MOV qword ptr [RBP + -0x128],RDX
MOV dword ptr [RBP + -0x120],ECX
MOV qword ptr [RBP + -0x130],R8
MOV qword ptr [RBP + -0x138],R9
MOV dword ptr [RBP + -0x110],0x0
JMP 0x00126669
MOV E... |
void function_1(type_1 *a,int var_1,type_1 *m,int var_2,type_1 *var_28,type_1 recip,
int var_11)
{
type_1 var_5;
type_2 var_9 [16];
type_2 var_15 [16];
type_2 var_21 [16];
type_2 var_10 [16];
type_2 var_16 [16];
type_2 var_22 [16];
type_2 auVar8 [16];
type_2 var_17 [16];
type_2 au... | (translation_unit "void internal_mod(BignumInt *a,int alen,BignumInt *m,int mlen,BignumInt *quot,BignumInt recip,\n int rshift)\n\n{\n BignumInt BVar1;\n undefined auVar2 [16];\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [... | (translation_unit "void function_1(type_1 *a,int var_1,type_1 *m,int var_2,type_1 *var_28,type_1 recip,\n int var_11)\n\n{\n type_1 var_5;\n type_2 var_9 [16];\n type_2 var_15 [16];\n type_2 var_21 [16];\n type_2 var_10 [16];\n type_2 var_16 [16];\n type_2 var_22 [16];\n type_2 auVar8 [16];\n t... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
853_plink_and_plink_strip.c | ecdsa_fmtkey | FUN_0015d3ea | ecdsa_fmtkey |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * ecdsa_fmtkey(void *key)
{
char cVar1;
int iVar2;
int iVar3;
int iVar4;
char *__s;
size_t sVar5;
void *key_local;
int len;
int i;
int pos;
int nibbles;
ec_key *ec;
char *p;
if (((*(long *)((long)key + 0x10) ... |
char * FUN_0015d3ea(long param_1)
{
char cVar1;
int iVar2;
int iVar3;
int iVar4;
char *__s;
size_t sVar5;
int local_28;
int local_24;
int local_20;
int local_1c;
if (((*(long *)(param_1 + 0x10) == 0) || (*(long *)(param_1 + 0x18) == 0)) ||
(*(long *)(param_1 + 8) == 0)) {
__s = (char... | (translation_unit "char * FUN_0015d3ea(long param_1)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n char *__s;\n size_t sVar5;\n int local_28;\n int local_24;\n int local_20;\n int local_1c;\n \n if (((*(long *)(param_1 + 0x10) == 0) || (*(long *)(param_1 + 0x18) == 0)) ||\n (*(long *)(para... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x10]
TEST RAX,RAX
JZ 0x0015d425
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x18]
TEST RAX,RAX
JZ 0x0015d425
MOV RAX,qw... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(void *key)
{
char var_14;
int var_3;
int var_7;
int var_4;
char *var_9;
size_t sVar5;
void *key_local;
int var_6;
int var_12;
int var_10;
int var_11;
type_1 *ec;
char *p;
if (((*(long *)((long)ke... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * ecdsa_fmtkey(void *key)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n char *__s;\n size_t sVar5;\n void *key_local;\n int len;\n int i;\n int pos;\n int nibbles;\n ec_key *ec;\n char *p;\n \... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(void *key)\n\n{\n char var_14;\n int var_3;\n int var_7;\n int var_4;\n char *var_9;\n size_t sVar5;\n void *key_local;\n int var_6;\n int var_12;\n int var_10;\n int var_11;\n type_1 *ec;\n cha... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statem... |
439_pageant_and_pageant_strip.c | des_key_setup | FUN_0012a128 | des_key_setup |
void des_key_setup(word32 key_msw,word32 key_lsw,DESContext *sched)
{
long lVar1;
word32 wVar2;
long in_FS_OFFSET;
DESContext *sched_local;
word32 key_lsw_local;
word32 key_msw_local;
word32 C;
word32 D;
int i;
word32 buf [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
buf[0] = key_lsw;
buf[... |
void FUN_0012a128(uint param_1,uint param_2,long param_3)
{
undefined4 uVar1;
long in_FS_OFFSET;
uint local_24;
uint local_20;
int local_1c;
uint local_18;
uint local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = param_2;
local_14 = param_1;
local_24 = FUN_0012a0a... | (translation_unit "void FUN_0012a128(uint param_1,uint param_2,long param_3)\n\n{\n undefined4 uVar1;\n long in_FS_OFFSET;\n uint local_24;\n uint local_20;\n int local_1c;\n uint local_18;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = param_2;\n local_14 = p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x24],EDI
MOV dword ptr [RBP + -0x28],ESI
MOV qword ptr [RBP + -0x30],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x28]
MOV dword ptr [RBP + -0x10],EAX
MOV EAX,dword ptr [RBP + -0x24]
MOV dword ptr [RBP + -0... |
void function_1(type_1 key_msw,type_1 key_lsw,type_2 *sched)
{
long var_6;
type_1 wVar2;
long var_1;
type_2 *sched_local;
type_1 key_lsw_local;
type_1 key_msw_local;
type_1 var_4;
type_1 var_5;
int var_3;
type_1 buf [2];
var_6 = *(long *)(var_1 + 0x28);
buf[0] = key_lsw;
buf[1] = key_msw;... | (translation_unit "void des_key_setup(word32 key_msw,word32 key_lsw,DESContext *sched)\n\n{\n long lVar1;\n word32 wVar2;\n long in_FS_OFFSET;\n DESContext *sched_local;\n word32 key_lsw_local;\n word32 key_msw_local;\n word32 C;\n word32 D;\n int i;\n word32 buf [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0... | (translation_unit "void function_1(type_1 key_msw,type_1 key_lsw,type_2 *sched)\n\n{\n long var_6;\n type_1 wVar2;\n long var_1;\n type_2 *sched_local;\n type_1 key_lsw_local;\n type_1 key_msw_local;\n type_1 var_4;\n type_1 var_5;\n int var_3;\n type_1 buf [2];\n \n var_6 = *(long *)(var_1 + 0x28);\n buf[... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration typ... |
944_plink_and_plink_strip.c | rsaencrypt | FUN_00167bec | rsaencrypt |
int rsaencrypt(uchar *data,int length,RSAKey *key)
{
int iVar1;
Bignum_conflict base_in;
Bignum_conflict bn;
RSAKey *key_local;
int length_local;
uchar *data_local;
int i;
uchar *p;
Bignum b1;
Bignum b2;
if (length + 3 < key->bytes) {
memmove(data + ((long)key->bytes - (long)length),data,... |
undefined8 FUN_00167bec(undefined *param_1,int param_2,long param_3)
{
undefined uVar1;
undefined8 uVar2;
undefined8 uVar3;
int local_24;
undefined *local_20;
if (param_2 + 3 < *(int *)(param_3 + 4)) {
memmove(param_1 + ((long)*(int *)(param_3 + 4) - (long)param_2),param_1,(long)param_2);
*para... | (translation_unit "undefined8 FUN_00167bec(undefined *param_1,int param_2,long param_3)\n\n{\n undefined uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n int local_24;\n undefined *local_20;\n \n if (param_2 + 3 < *(int *)(param_3 + 4)) {\n memmove(param_1 + ((long)*(int *)(param_3 + 4) - (long)param_2),param... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV EAX,dword ptr [RBP + -0x2c]
LEA EDX,[RAX + 0x3]
MOV RAX,qword ptr [RBP + -0x38]
MOV EAX,dword ptr [RAX + 0x4]
CMP EDX,EAX
JL 0x00167c1a
MOV EAX,0x0
JMP 0x00167d5c
MOV EAX,dword ptr [RBP ... |
int function_1(type_1 *var_3,int var_1,type_2 *key)
{
int iVar1;
type_3 base_in;
type_3 bn;
type_2 *key_local;
int length_local;
type_1 *data_local;
int var_4;
type_1 *var_9;
type_4 b1;
type_4 b2;
if (var_1 + 3 < key->bytes) {
var_2(var_3 + ((long)key->bytes - (long)var_1),var_3,(long)var... | (translation_unit "int rsaencrypt(uchar *data,int length,RSAKey *key)\n\n{\n int iVar1;\n Bignum_conflict base_in;\n Bignum_conflict bn;\n RSAKey *key_local;\n int length_local;\n uchar *data_local;\n int i;\n uchar *p;\n Bignum b1;\n Bignum b2;\n \n if (length + 3 < key->bytes) {\n memmove(data + ((long... | (translation_unit "int function_1(type_1 *var_3,int var_1,type_2 *key)\n\n{\n int iVar1;\n type_3 base_in;\n type_3 bn;\n type_2 *key_local;\n int length_local;\n type_1 *data_local;\n int var_4;\n type_1 *var_9;\n type_4 b1;\n type_4 b2;\n \n if (var_1 + 3 < key->bytes) {\n var_2(var_3 + ((long)key->byt... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1037_plink_and_plink_strip.c | sha1_96_generate | FUN_00171f20 | sha1_96_generate |
void sha1_96_generate(void *handle,uchar *blk,int len,ulong seq)
{
long lVar1;
long in_FS_OFFSET;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
uchar full [20];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
sha1_do_hmac(handle,blk,len,seq,full);
memcpy(blk + len,full,0xc);
i... |
void FUN_00171f20(undefined8 param_1,long param_2,int param_3,undefined8 param_4)
{
long in_FS_OFFSET;
undefined local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_00171ceb(param_1,param_2,param_3,param_4,local_28);
memcpy((void *)(param_3 + param_2),local_28,0xc);
if (local... | (translation_unit "void FUN_00171f20(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00171ceb(param_1,param_2,param_3,param_4,local_28);\n memcpy((void *)(param_3 + param_2)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV qword ptr [RBP + -0x40],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDI,[RBP + -0x20]
MOV RCX,qword ptr [RBP + -0x40]
MOV EDX,dword ptr [RBP + -0x34]
M... |
void function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)
{
long var_6;
long var_1;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
type_1 full [20];
var_6 = *(long *)(var_1 + 0x28);
var_2(handle,var_4,var_5,seq,full);
var_3(var_4 + var_5,full,0xc);
if (var_6 !=... | (translation_unit "void sha1_96_generate(void *handle,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar full [20];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n sha1_do_hmac(handle,blk,len,seq,full);\n ... | (translation_unit "void function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)\n\n{\n long var_6;\n long var_1;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 full [20];\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(handle,var_4,var_5,seq,full);\n var_3(var_4 + ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
395_pageant_and_pageant_strip.c | internal_sub | FUN_001248f5 | internal_sub |
void internal_sub(BignumInt *a,BignumInt *b,BignumInt *c,int len)
{
ulong uVar1;
BignumInt BVar2;
int len_local;
BignumInt *c_local;
BignumInt *b_local;
BignumInt *a_local;
int i;
BignumCarry carry;
BignumDblInt ADC_temp;
carry = 1;
for (i = len + -1; -1 < i; i = i + -1) {
uVar1 = a[i] + ... |
void FUN_001248f5(long param_1,long param_2,long param_3,int param_4)
{
ulong uVar1;
long lVar2;
ulong uVar3;
ulong uVar4;
undefined4 local_24;
undefined8 local_20;
local_20 = 1;
for (local_24 = param_4 + -1; -1 < local_24; local_24 = local_24 + -1) {
uVar3 = *(ulong *)(param_1 + (long)local_24... | (translation_unit "void FUN_001248f5(long param_1,long param_2,long param_3,int param_4)\n\n{\n ulong uVar1;\n long lVar2;\n ulong uVar3;\n ulong uVar4;\n undefined4 local_24;\n undefined8 local_20;\n \n local_20 = 1;\n for (local_24 = param_4 + -1; -1 < local_24; local_24 = local_24 + -1) {\n uVar3 = *(ulo... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV dword ptr [RBP + -0x3c],ECX
MOV qword ptr [RBP + -0x18],0x1
MOV EAX,dword ptr [RBP + -0x3c]
SUB EAX,0x1
MOV dword ptr [RBP + -0x1c],EAX
JMP 0x001249b7
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
LEA RDX,[RA... |
void function_1(type_1 *a,type_1 *b,type_1 *c,int var_1)
{
type_2 var_3;
type_1 BVar2;
int len_local;
type_1 *c_local;
type_1 *b_local;
type_1 *a_local;
int var_2;
type_3 var_4;
type_4 ADC_temp;
var_4 = 1;
for (var_2 = var_1 + -1; -1 < var_2; var_2 = var_2 + -1) {
var_3 = a[var_2] + ~b[va... | (translation_unit "void internal_sub(BignumInt *a,BignumInt *b,BignumInt *c,int len)\n\n{\n ulong uVar1;\n BignumInt BVar2;\n int len_local;\n BignumInt *c_local;\n BignumInt *b_local;\n BignumInt *a_local;\n int i;\n BignumCarry carry;\n BignumDblInt ADC_temp;\n \n carry = 1;\n for (i = len + -1; -1 < i; i... | (translation_unit "void function_1(type_1 *a,type_1 *b,type_1 *c,int var_1)\n\n{\n type_2 var_3;\n type_1 BVar2;\n int len_local;\n type_1 *c_local;\n type_1 *b_local;\n type_1 *a_local;\n int var_2;\n type_3 var_4;\n type_4 ADC_temp;\n \n var_4 = 1;\n for (var_2 = var_1 + -1; -1 < var_2; var_2 = var_2 + -1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
832_plink_and_plink_strip.c | ecp_addm | FUN_0015b68e | ecp_addm |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_addm(ec_point *a,ec_point *b,ec_point *base)
{
Bignum_conflict pBVar1;
Bignum_conflict pBVar2;
Bignum_conflict a_00;
Bignum_conflict b_00;
Bignum x;
ec_point *peVar3;
ec_point *base_local;
ec_point *b_local;
ec_... |
void FUN_0015b68e(long *param_1,long param_2,long param_3)
{
undefined8 uVar1;
undefined8 uVar2;
undefined8 uVar3;
undefined8 uVar4;
undefined *local_48;
undefined *local_40;
local_48 = (undefined *)param_1[3];
if (local_48 == (undefined *)0x0) {
local_48 = PTR_DAT_001b48c8;
}
local_40 = *(... | (translation_unit "void FUN_0015b68e(long *param_1,long param_2,long param_3)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n undefined *local_48;\n undefined *local_40;\n \n local_48 = (undefined *)param_1[3];\n if (local_48 == (undefined *)0x0) {\n local_48 = PTR_DAT... | 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 [RBP + -0x48]
MOV RAX,qword ptr [RAX + 0x18]
MOV qword ptr [RBP + -0x40],RAX
CMP qword ptr [RBP + -0x40],0x0
JNZ 0x0015b6c0
MOV RAX,qword ptr [0x001b48c8]
MOV qword ptr [RB... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,type_1 *b,type_1 *base)
{
type_2 pBVar1;
type_2 pBVar2;
type_2 a_00;
type_2 b_00;
type_3 x;
type_1 *peVar3;
type_1 *base_local;
type_1 *b_local;
type_1 *a_local;
type_3 var_1;
type_3 var_2;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_addm(ec_point *a,ec_point *b,ec_point *base)\n\n{\n Bignum_conflict pBVar1;\n Bignum_conflict pBVar2;\n Bignum_conflict a_00;\n Bignum_conflict b_00;\n Bignum x;\n ec_point *peVar3;\n ec_point *base_loca... | (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,type_1 *base)\n\n{\n type_2 pBVar1;\n type_2 pBVar2;\n type_2 a_00;\n type_2 b_00;\n type_3 x;\n type_1 *peVar3;\n type_1 *base_local;\n type_1 *b_local;\n type_1 *a_local;\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 ... |
1054_plink_and_plink_strip.c | share_remove_halfchannel | FUN_0017293f | share_remove_halfchannel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_remove_halfchannel(ssh_sharing_connstate *cs,share_halfchannel *hc)
{
share_halfchannel *hc_local;
ssh_sharing_connstate *cs_local;
del234(cs->halfchannels,hc);
safefree(hc);
return;
}
|
void FUN_0017293f(long param_1,undefined8 param_2)
{
FUN_0017f338(*(undefined8 *)(param_1 + 0x4048),param_2);
FUN_00111b0d(param_2);
return;
}
| (translation_unit "void FUN_0017293f(long param_1,undefined8 param_2)\n\n{\n FUN_0017f338(*(undefined8 *)(param_1 + 0x4048),param_2);\n FUN_00111b0d(param_2);\n return;\n}\n\n" (function_definition "void FUN_0017293f(long param_1,undefined8 param_2)\n\n{\n FUN_0017f338(*(undefined8 *)(param_1 + 0x4048),param_2);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x4048]
MOV RDX,qword ptr [RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0017f338
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x00111b0d
NOP
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *cs,type_2 *hc)
{
type_2 *hc_local;
type_1 *cs_local;
var_1(cs->halfchannels,hc);
var_2(hc);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_remove_halfchannel(ssh_sharing_connstate *cs,share_halfchannel *hc)\n\n{\n share_halfchannel *hc_local;\n ssh_sharing_connstate *cs_local;\n \n del234(cs->halfchannels,hc);\n safefree(hc);\n return;\n}\n\n" c... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs,type_2 *hc)\n\n{\n type_2 *hc_local;\n type_1 *cs_local;\n \n var_1(cs->halfchannels,hc);\n var_2(hc);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 *cs,type_2 *hc)\n\... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
894_plink_and_plink_strip.c | hmacmd5_key_16 | FUN_0016201a | hmacmd5_key_16 |
void hmacmd5_key_16(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
hmacmd5_key(handle,key,0x10);
return;
}
|
void FUN_0016201a(undefined8 param_1,undefined8 param_2)
{
FUN_00161eb4(param_1,param_2,0x10);
return;
}
| (translation_unit "void FUN_0016201a(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00161eb4(param_1,param_2,0x10);\n return;\n}\n\n" (function_definition "void FUN_0016201a(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00161eb4(param_1,param_2,0x10);\n return;\n}" primitive_type (function_declarator "FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x10
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00161eb4
NOP
LEAVE
RET |
void function_1(void *handle,type_1 *key)
{
type_1 *key_local;
void *handle_local;
var_1(handle,key,0x10);
return;
}
| (translation_unit "void hmacmd5_key_16(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n \n hmacmd5_key(handle,key,0x10);\n return;\n}\n\n" (function_definition "void hmacmd5_key_16(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n \n hmacmd5_key(handle,key,0x10)... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n \n var_1(handle,key,0x10);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n \n var_1(handle,key,0x10);\n return;\n}"... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1063_plink_and_plink_strip.c | share_remove_xchannel | FUN_00172de8 | share_remove_xchannel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_remove_xchannel(ssh_sharing_connstate *cs,share_xchannel *xc)
{
share_xchannel *xc_local;
ssh_sharing_connstate *cs_local;
del234(cs->xchannels_by_us,xc);
del234(cs->xchannels_by_server,xc);
share_xchannel_free(xc);
re... |
void FUN_00172de8(long param_1,undefined8 param_2)
{
FUN_0017f338(*(undefined8 *)(param_1 + 0x4060),param_2);
FUN_0017f338(*(undefined8 *)(param_1 + 0x4068),param_2);
FUN_001725ab(param_2);
return;
}
| (translation_unit "void FUN_00172de8(long param_1,undefined8 param_2)\n\n{\n FUN_0017f338(*(undefined8 *)(param_1 + 0x4060),param_2);\n FUN_0017f338(*(undefined8 *)(param_1 + 0x4068),param_2);\n FUN_001725ab(param_2);\n return;\n}\n\n" (function_definition "void FUN_00172de8(long param_1,undefined8 param_2)\n\n{\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x4060]
MOV RDX,qword ptr [RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0017f338
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x4068]
MOV RDX,qword ptr [RBP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *cs,type_2 *xc)
{
type_2 *xc_local;
type_1 *cs_local;
var_1(cs->xchannels_by_us,xc);
var_1(cs->xchannels_by_server,xc);
var_2(xc);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_remove_xchannel(ssh_sharing_connstate *cs,share_xchannel *xc)\n\n{\n share_xchannel *xc_local;\n ssh_sharing_connstate *cs_local;\n \n del234(cs->xchannels_by_us,xc);\n del234(cs->xchannels_by_server,xc);\n s... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs,type_2 *xc)\n\n{\n type_2 *xc_local;\n type_1 *cs_local;\n \n var_1(cs->xchannels_by_us,xc);\n var_1(cs->xchannels_by_server,xc);\n var_2(xc);\n return;\n}\n\n" comment (function_definition "... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
1187_plink_and_plink_strip.c | block_and_read | FUN_0017fc22 | block_and_read |
int block_and_read(int fd,void *buf,size_t len)
{
int iVar1;
pollwrapper *pw_00;
ssize_t sVar2;
int *piVar3;
size_t len_local;
void *buf_local;
int fd_local;
int ret;
pollwrapper *pw;
pw_00 = pollwrap_new();
do {
sVar2 = read(fd,buf,len);
if ((-1 < (int)sVar2) ||
((piVar3 = __e... |
int FUN_0017fc22(int param_1,void *param_2,size_t param_3)
{
int iVar1;
undefined8 uVar2;
ssize_t sVar3;
int *piVar4;
uVar2 = FUN_001887ab();
do {
sVar3 = read(param_1,param_2,param_3);
if ((-1 < (int)sVar3) ||
((piVar4 = __errno_location(), *piVar4 != 0xb &&
(piVar4 = __errno_lo... | (translation_unit "int FUN_0017fc22(int param_1,void *param_2,size_t param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n ssize_t sVar3;\n int *piVar4;\n \n uVar2 = FUN_001887ab();\n do {\n sVar3 = read(param_1,param_2,param_3);\n if ((-1 < (int)sVar3) ||\n ((piVar4 = __errno_location(), *piVar4 != 0xb &... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV dword ptr [RBP + -0x14],EDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
CALL 0x001887ab
MOV qword ptr [RBP + -0x8],RAX
JMP 0x0017fcf2
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00188860
MOV ECX,dword ptr [RBP + -0x14]
MOV RAX,qword ptr [RBP + -0x8]
MOV ED... |
int function_1(int fd,void *buf,size_t len)
{
int var_8;
type_1 *pw_00;
ssize_t sVar2;
int *piVar3;
size_t len_local;
void *buf_local;
int fd_local;
int ret;
type_1 *pw;
pw_00 = var_1();
do {
sVar2 = var_2(fd,buf,len);
if ((-1 < (int)sVar2) ||
((piVar3 = var_3(), *piVar3 != 0xb... | (translation_unit "int block_and_read(int fd,void *buf,size_t len)\n\n{\n int iVar1;\n pollwrapper *pw_00;\n ssize_t sVar2;\n int *piVar3;\n size_t len_local;\n void *buf_local;\n int fd_local;\n int ret;\n pollwrapper *pw;\n \n pw_00 = pollwrap_new();\n do {\n sVar2 = read(fd,buf,len);\n if ((-1 < (i... | (translation_unit "int function_1(int fd,void *buf,size_t len)\n\n{\n int var_8;\n type_1 *pw_00;\n ssize_t sVar2;\n int *piVar3;\n size_t len_local;\n void *buf_local;\n int fd_local;\n int ret;\n type_1 *pw;\n \n pw_00 = var_1();\n do {\n sVar2 = var_2(fd,buf,len);\n if ((-1 < (int)sVar2) ||\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifie... |
1089_plink_and_plink_strip.c | ssh_share_sockname | FUN_00177217 | ssh_share_sockname |
char * ssh_share_sockname(char *host,int port,Conf *conf)
{
char *ptr;
Conf *conf_local;
int port_local;
char *host_local;
char *sockname;
char *username;
ptr = get_remote_username(conf);
if (port == 0x16) {
if (ptr == (char *)0x0) {
sockname = dupprintf("%s",host);
}
else {
... |
undefined8 FUN_00177217(undefined8 param_1,int param_2,undefined8 param_3)
{
long lVar1;
undefined8 local_18;
lVar1 = FUN_001192e6(param_3);
if (param_2 == 0x16) {
if (lVar1 == 0) {
local_18 = FUN_00110d41(&DAT_0019f08b,param_1);
}
else {
local_18 = FUN_00110d41("%s@%s",lVar1,param_... | (translation_unit "undefined8 FUN_00177217(undefined8 param_1,int param_2,undefined8 param_3)\n\n{\n long lVar1;\n undefined8 local_18;\n \n lVar1 = FUN_001192e6(param_3);\n if (param_2 == 0x16) {\n if (lVar1 == 0) {\n local_18 = FUN_00110d41(&DAT_0019f08b,param_1);\n }\n else {\n local_18 = FUN... | 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 RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x001192e6
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x1c],0x16
JNZ 0x00177287
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00177269
MOV RD... |
char * function_1(char *host,int var_2,type_1 *conf)
{
char *var_3;
type_1 *conf_local;
int port_local;
char *host_local;
char *sockname;
char *username;
var_3 = var_1(conf);
if (var_2 == 0x16) {
if (var_3 == (char *)0x0) {
sockname = var_4("%s",host);
}
else {
sockname = va... | (translation_unit "char * ssh_share_sockname(char *host,int port,Conf *conf)\n\n{\n char *ptr;\n Conf *conf_local;\n int port_local;\n char *host_local;\n char *sockname;\n char *username;\n \n ptr = get_remote_username(conf);\n if (port == 0x16) {\n if (ptr == (char *)0x0) {\n sockname = dupprintf("%s... | (translation_unit "char * function_1(char *host,int var_2,type_1 *conf)\n\n{\n char *var_3;\n type_1 *conf_local;\n int port_local;\n char *host_local;\n char *sockname;\n char *username;\n \n var_3 = var_1(conf);\n if (var_2 == 0x16) {\n if (var_3 == (char *)0x0) {\n sockname = var_4("%s",host);\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
907_plink_and_plink_strip.c | rsakey_pubblob | FUN_00162e03 | rsakey_pubblob |
int rsakey_pubblob(Filename *filename,void **blob,int *bloblen,char **commentptr,char **errorstr)
{
long lVar1;
int iVar2;
int iVar3;
char *pcVar4;
uchar *puVar5;
size_t sVar6;
long in_FS_OFFSET;
char **errorstr_local;
char **commentptr_local;
int *bloblen_local;
void **blob_local;
Filename *f... |
bool FUN_00162e03(undefined8 param_1,undefined8 *param_2,undefined4 *param_3,undefined8 *param_4,
undefined8 *param_5)
{
int iVar1;
int iVar2;
char *pcVar3;
undefined8 uVar4;
size_t sVar5;
long in_FS_OFFSET;
bool bVar6;
char *local_e8;
FILE *local_e0;
char *local_d8;
char *local... | (translation_unit "bool FUN_00162e03(undefined8 param_1,undefined8 *param_2,undefined4 *param_3,undefined8 *param_4,\n undefined8 *param_5)\n\n{\n int iVar1;\n int iVar2;\n char *pcVar3;\n undefined8 uVar4;\n size_t sVar5;\n long in_FS_OFFSET;\n bool bVar6;\n char *local_e8;\n FILE *local_e0;\n... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x118
MOV qword ptr [RBP + -0xf8],RDI
MOV qword ptr [RBP + -0x100],RSI
MOV qword ptr [RBP + -0x108],RDX
MOV qword ptr [RBP + -0x110],RCX
MOV qword ptr [RBP + -0x118],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV qword ptr [RBP + -0xe0],0x0
MOV RAX,q... |
int function_1(type_1 *filename,void **blob,int *bloblen,char **var_18,char **var_29)
{
long var_30;
int var_6;
int var_17;
char *var_4;
type_2 *puVar5;
size_t var_12;
long var_1;
char **errorstr_local;
char **commentptr_local;
int *bloblen_local;
void **blob_local;
type_1 *filename_local;
i... | (translation_unit "int rsakey_pubblob(Filename *filename,void **blob,int *bloblen,char **commentptr,char **errorstr)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n char *pcVar4;\n uchar *puVar5;\n size_t sVar6;\n long in_FS_OFFSET;\n char **errorstr_local;\n char **commentptr_local;\n int *bloblen_local;\n v... | (translation_unit "int function_1(type_1 *filename,void **blob,int *bloblen,char **var_18,char **var_29)\n\n{\n long var_30;\n int var_6;\n int var_17;\n char *var_4;\n type_2 *puVar5;\n size_t var_12;\n long var_1;\n char **errorstr_local;\n char **commentptr_local;\n int *bloblen_local;\n void **blob_local... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1186_plink_and_plink_strip.c | timer_change_notify | FUN_0017fc17 | timer_change_notify |
void timer_change_notify(ulong next)
{
ulong next_local;
return;
}
|
void FUN_0017fc17(void)
{
return;
}
| (translation_unit "void FUN_0017fc17(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0017fc17(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0017fc17(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
NOP
POP RBP
RET |
void function_1(type_1 next)
{
type_1 next_local;
return;
}
| (translation_unit "void timer_change_notify(ulong next)\n\n{\n ulong next_local;\n \n return;\n}\n\n" (function_definition "void timer_change_notify(ulong next)\n\n{\n ulong next_local;\n \n return;\n}" primitive_type (function_declarator "timer_change_notify(ulong next)" identifier (parameter_list "(ulong next)"... | (translation_unit "void function_1(type_1 next)\n\n{\n type_1 next_local;\n \n return;\n}\n\n" (function_definition "void function_1(type_1 next)\n\n{\n type_1 next_local;\n \n return;\n}" primitive_type (function_declarator "function_1(type_1 next)" identifier (parameter_list "(type_1 next)" ( (parameter_declara... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (return_... |
1343_plink_and_plink_strip.c | select_result | FUN_00189dd5 | select_result |
void select_result(int fd,int event)
{
int event_local;
int fd_local;
fd *fdstruct;
fd_local = fd;
fdstruct = (fd *)find234(fds,&fd_local,uxsel_fd_findcmp);
if (fdstruct != (fd *)0x0) {
(*fdstruct->callback)(fd_local,event);
}
return;
}
|
void FUN_00189dd5(undefined4 param_1,undefined4 param_2)
{
undefined4 local_1c [3];
long local_10;
local_1c[0] = param_1;
local_10 = FUN_0017e3c4(DAT_001b5498,local_1c,FUN_00189bc3);
if (local_10 != 0) {
(**(code **)(local_10 + 8))(local_1c[0],param_2);
}
return;
}
| (translation_unit "void FUN_00189dd5(undefined4 param_1,undefined4 param_2)\n\n{\n undefined4 local_1c [3];\n long local_10;\n \n local_1c[0] = param_1;\n local_10 = FUN_0017e3c4(DAT_001b5498,local_1c,FUN_00189bc3);\n if (local_10 != 0) {\n (**(code **)(local_10 + 8))(local_1c[0],param_2);\n }\n return;\n}\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
MOV dword ptr [RBP + -0x18],ESI
MOV RAX,qword ptr [0x001b5498]
LEA RCX,[RBP + -0x14]
LEA RDX,[0x189bc3]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0017e3c4
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00189e1f
MOV RAX,qword ptr [RBP + -0x8]
MOV... |
void function_1(int type_1,int event)
{
int event_local;
int fd_local;
type_1 *var_2;
fd_local = type_1;
var_2 = (type_1 *)var_1(fds,&fd_local,uxsel_fd_findcmp);
if (var_2 != (type_1 *)0x0) {
(*var_2->callback)(fd_local,event);
}
return;
}
| (translation_unit "void select_result(int fd,int event)\n\n{\n int event_local;\n int fd_local;\n fd *fdstruct;\n \n fd_local = fd;\n fdstruct = (fd *)find234(fds,&fd_local,uxsel_fd_findcmp);\n if (fdstruct != (fd *)0x0) {\n (*fdstruct->callback)(fd_local,event);\n }\n return;\n}\n\n" (function_definition "... | (translation_unit "void function_1(int type_1,int event)\n\n{\n int event_local;\n int fd_local;\n type_1 *var_2;\n \n fd_local = type_1;\n var_2 = (type_1 *)var_1(fds,&fd_local,uxsel_fd_findcmp);\n if (var_2 != (type_1 *)0x0) {\n (*var_2->callback)(fd_local,event);\n }\n return;\n}\n\n" (function_definitio... | (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: (identifier)))) body: (compound_statement ... |
898_plink_and_plink_strip.c | hmacmd5_verresult | FUN_00162291 | hmacmd5_verresult |
int hmacmd5_verresult(void *handle,uchar *hmac)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
uchar *hmac_local;
void *handle_local;
uchar correct [16];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
hmacmd5_genresult(handle,correct);
iVar2 = smemeq(correct,hmac,0x10);
if (lVar1 != *(long *)(in_FS_OFFSE... |
void FUN_00162291(undefined8 param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_00162100(param_1,local_28);
FUN_00111f72(local_28,param_2,0x10);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/... | (translation_unit "void FUN_00162291(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_00162100(param_1,local_28);\n FUN_00111f72(local_28,param_2,0x10);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00162100
MOV RCX,qword ptr [RBP + -0x30]
LEA RAX,[RBP + -0x20]
MOV... |
int function_1(void *handle,type_1 *hmac)
{
long var_4;
int iVar2;
long var_1;
type_1 *hmac_local;
void *handle_local;
type_1 correct [16];
var_4 = *(long *)(var_1 + 0x28);
var_2(handle,correct);
iVar2 = var_3(correct,hmac,0x10);
if (var_4 != *(long *)(var_1 + 0x28)) {
/* WA... | (translation_unit "int hmacmd5_verresult(void *handle,uchar *hmac)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n uchar *hmac_local;\n void *handle_local;\n uchar correct [16];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n hmacmd5_genresult(handle,correct);\n iVar2 = smemeq(correct,hmac,0x10);\n if ... | (translation_unit "int function_1(void *handle,type_1 *hmac)\n\n{\n long var_4;\n int iVar2;\n long var_1;\n type_1 *hmac_local;\n void *handle_local;\n type_1 correct [16];\n \n var_4 = *(long *)(var_1 + 0x28);\n var_2(handle,correct);\n iVar2 = var_3(correct,hmac,0x10);\n if (var_4 != *(long *)(var_1 + 0x2... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1213_plink_and_plink_strip.c | filename_deserialise | FUN_00181319 | filename_deserialise |
Filename * filename_deserialise(void *vdata,int maxsize,int *used)
{
void *pvVar1;
Filename *pFVar2;
int *used_local;
int maxsize_local;
void *vdata_local;
char *data;
char *end;
pvVar1 = memchr(vdata,0,(long)maxsize);
if (pvVar1 == (void *)0x0) {
pFVar2 = (Filename *)0x0;
}
else {
*u... |
undefined8 FUN_00181319(void *param_1,int param_2,int *param_3)
{
void *pvVar1;
undefined8 uVar2;
pvVar1 = memchr(param_1,0,(long)param_2);
if (pvVar1 == (void *)0x0) {
uVar2 = 0;
}
else {
*param_3 = ((int)pvVar1 + 1) - (int)param_1;
uVar2 = FUN_001811e8(param_1);
}
return uVar2;
}
| (translation_unit "undefined8 FUN_00181319(void *param_1,int param_2,int *param_3)\n\n{\n void *pvVar1;\n undefined8 uVar2;\n \n pvVar1 = memchr(param_1,0,(long)param_2);\n if (pvVar1 == (void *)0x0) {\n uVar2 = 0;\n }\n else {\n *param_3 = ((int)pvVar1 + 1) - (int)param_1;\n uVar2 = FUN_001811e8(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV EAX,dword ptr [RBP + -0x1c]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x10]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00108440
MOV qwo... |
type_1 * function_1(void *vdata,int maxsize,int *used)
{
void *var_2;
type_1 *pFVar2;
int *used_local;
int maxsize_local;
void *vdata_local;
char *data;
char *end;
var_2 = var_1(vdata,0,(long)maxsize);
if (var_2 == (void *)0x0) {
pFVar2 = (type_1 *)0x0;
}
else {
*used = ((int)var_2 + ... | (translation_unit "Filename * filename_deserialise(void *vdata,int maxsize,int *used)\n\n{\n void *pvVar1;\n Filename *pFVar2;\n int *used_local;\n int maxsize_local;\n void *vdata_local;\n char *data;\n char *end;\n \n pvVar1 = memchr(vdata,0,(long)maxsize);\n if (pvVar1 == (void *)0x0) {\n pFVar2 = (File... | (translation_unit "type_1 * function_1(void *vdata,int maxsize,int *used)\n\n{\n void *var_2;\n type_1 *pFVar2;\n int *used_local;\n int maxsize_local;\n void *vdata_local;\n char *data;\n char *end;\n \n var_2 = var_1(vdata,0,(long)maxsize);\n if (var_2 == (void *)0x0) {\n pFVar2 = (type_1 *)0x0;\n }\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... |
927_plink_and_plink_strip.c | ssh2_write_pubkey | FUN_0016691b | ssh2_write_pubkey |
void ssh2_write_pubkey(FILE *fp,char *comment,void *v_pub_blob,int pub_len,int keytype)
{
long lVar1;
int n_00;
char *ptr;
long in_FS_OFFSET;
int keytype_local;
int pub_len_local;
void *v_pub_blob_local;
char *comment_local;
FILE *fp_local;
int i;
int column;
int n;
char *p;
uchar *pub_blo... |
void FUN_0016691b(FILE *param_1,char *param_2,long param_3,int param_4,int param_5)
{
int iVar1;
undefined8 uVar2;
long in_FS_OFFSET;
int local_3c;
int local_38;
char *local_30;
char local_15 [4];
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (param_5 == 9) ... | (translation_unit "void FUN_0016691b(FILE *param_1,char *param_2,long param_3,int param_4,int param_5)\n\n{\n int iVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n int local_3c;\n int local_38;\n char *local_30;\n char local_15 [4];\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSE... | 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 dword ptr [RBP + -0x5c],ECX
MOV dword ptr [RBP + -0x60],R8D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x58]
MOV qword ptr [RBP + -0... |
void function_1(type_1 *fp,char *var_4,void *v_pub_blob,int var_8,int var_2)
{
long var_17;
int var_9;
char *ptr;
long var_1;
int keytype_local;
int pub_len_local;
void *v_pub_blob_local;
char *comment_local;
type_1 *fp_local;
int var_7;
int var_12;
int n;
char *var_5;
type_2 *pub_blob;
... | (translation_unit "void ssh2_write_pubkey(FILE *fp,char *comment,void *v_pub_blob,int pub_len,int keytype)\n\n{\n long lVar1;\n int n_00;\n char *ptr;\n long in_FS_OFFSET;\n int keytype_local;\n int pub_len_local;\n void *v_pub_blob_local;\n char *comment_local;\n FILE *fp_local;\n int i;\n int column;\n in... | (translation_unit "void function_1(type_1 *fp,char *var_4,void *v_pub_blob,int var_8,int var_2)\n\n{\n long var_17;\n int var_9;\n char *ptr;\n long var_1;\n int keytype_local;\n int pub_len_local;\n void *v_pub_blob_local;\n char *comment_local;\n type_1 *fp_local;\n int var_7;\n int var_12;\n int n;\n 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))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
791_plink_and_plink_strip.c | dh_validate_f | FUN_00157407 | dh_validate_f |
char * dh_validate_f(void *handle,Bignum f)
{
int iVar1;
char *pcVar2;
Bignum_conflict b;
Bignum f_local;
void *handle_local;
int cmp;
dh_ctx *ctx;
Bignum pm1;
iVar1 = bignum_cmp((Bignum_conflict)f,One);
if (iVar1 < 1) {
pcVar2 = "f value received is too small";
}
else {
b = bigsub(... |
char * FUN_00157407(long param_1,undefined8 param_2)
{
int iVar1;
char *pcVar2;
undefined8 uVar3;
iVar1 = FUN_0014debe(param_2,PTR_DAT_001b48c8);
if (iVar1 < 1) {
pcVar2 = "f value received is too small";
}
else {
uVar3 = FUN_0014e8cf(*(undefined8 *)(param_1 + 0x10),PTR_DAT_001b48c8);
iVa... | (translation_unit "char * FUN_00157407(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n char *pcVar2;\n undefined8 uVar3;\n \n iVar1 = FUN_0014debe(param_2,PTR_DAT_001b48c8);\n if (iVar1 < 1) {\n pcVar2 = "f value received is too small";\n }\n else {\n uVar3 = FUN_0014e8cf(*(undefined8 *)(param_1 + 0x... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x10],RAX
MOV RDX,qword ptr [0x001b48c8]
MOV RAX,qword ptr [RBP + -0x30]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0014debe
TEST EAX,EAX
JG 0x00157442
LEA RAX,[0x19cf53]
JMP 0x001... |
char * function_1(void *handle,type_1 f)
{
int var_2;
char *pcVar2;
type_2 b;
type_1 f_local;
void *handle_local;
int cmp;
type_3 *ctx;
type_1 pm1;
var_2 = var_1((type_2)f,One);
if (var_2 < 1) {
pcVar2 = "f value received is too small";
}
else {
b = var_3(*(type_2 *)((long)handle + ... | (translation_unit "char * dh_validate_f(void *handle,Bignum f)\n\n{\n int iVar1;\n char *pcVar2;\n Bignum_conflict b;\n Bignum f_local;\n void *handle_local;\n int cmp;\n dh_ctx *ctx;\n Bignum pm1;\n \n iVar1 = bignum_cmp((Bignum_conflict)f,One);\n if (iVar1 < 1) {\n pcVar2 = "f value received is too smal... | (translation_unit "char * function_1(void *handle,type_1 f)\n\n{\n int var_2;\n char *pcVar2;\n type_2 b;\n type_1 f_local;\n void *handle_local;\n int cmp;\n type_3 *ctx;\n type_1 pm1;\n \n var_2 = var_1((type_2)f,One);\n if (var_2 < 1) {\n pcVar2 = "f value received is too small";\n }\n else {\n b ... | (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: (type_... |
273_pageant_and_pageant_strip.c | get_ssh_string | FUN_0010e457 | 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_0010e457(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_0010e457(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 0x0010e47c
MOV EAX,0x0
JMP 0x0010e52d
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... |
956_plink_and_plink_strip.c | getstring | FUN_00168ea4 | getstring |
void getstring(char **data,int *datalen,char **p,int *length)
{
int iVar1;
int *length_local;
char **p_local;
int *datalen_local;
char **data_local;
*p = (char *)0x0;
if (3 < *datalen) {
iVar1 = toint((uint)(byte)(*data)[3] |
(uint)(byte)**data << 0x18 | (uint)(byte)(*data)[1] <... |
void FUN_00168ea4(long *param_1,int *param_2,long *param_3,int *param_4)
{
int iVar1;
*param_3 = 0;
if (3 < *param_2) {
iVar1 = FUN_00110b5d((uint)*(byte *)(*param_1 + 3) |
(uint)*(byte *)*param_1 << 0x18 | (uint)*(byte *)(*param_1 + 1) << 0x10 |
(uint)*(... | (translation_unit "void FUN_00168ea4(long *param_1,int *param_2,long *param_3,int *param_4)\n\n{\n int iVar1;\n \n *param_3 = 0;\n if (3 < *param_2) {\n iVar1 = FUN_00110b5d((uint)*(byte *)(*param_1 + 3) |\n (uint)*(byte *)*param_1 << 0x18 | (uint)*(byte *)(*param_1 + 1) << 0x10 |\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
CMP EAX,0x3
JLE 0x00168fae
MOV RAX,qword ptr [R... |
void function_1(char **data,int *datalen,char **p,int *length)
{
int iVar1;
int *length_local;
char **p_local;
int *datalen_local;
char **data_local;
*p = (char *)0x0;
if (3 < *datalen) {
iVar1 = var_1((uint)(byte)(*data)[3] |
(uint)(byte)**data << 0x18 | (uint)(byte)(*data)[1] ... | (translation_unit "void getstring(char **data,int *datalen,char **p,int *length)\n\n{\n int iVar1;\n int *length_local;\n char **p_local;\n int *datalen_local;\n char **data_local;\n \n *p = (char *)0x0;\n if (3 < *datalen) {\n iVar1 = toint((uint)(byte)(*data)[3] |\n (uint)(byte)**data << 0... | (translation_unit "void function_1(char **data,int *datalen,char **p,int *length)\n\n{\n int iVar1;\n int *length_local;\n char **p_local;\n int *datalen_local;\n char **data_local;\n \n *p = (char *)0x0;\n if (3 < *datalen) {\n iVar1 = var_1((uint)(byte)(*data)[3] |\n (uint)(byte)**data << ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (prim... |
1151_plink_and_plink_strip.c | timing_last_clock | FUN_0017d02d | timing_last_clock |
/* WARNING: Unknown calling convention */
ulong timing_last_clock(void)
{
return now;
}
|
undefined8 FUN_0017d02d(void)
{
return DAT_001b5360;
}
| (translation_unit "undefined8 FUN_0017d02d(void)\n\n{\n return DAT_001b5360;\n}\n\n" (function_definition "undefined8 FUN_0017d02d(void)\n\n{\n return DAT_001b5360;\n}" type_identifier (function_declarator "FUN_0017d02d(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (co... | PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [0x001b5360]
POP RBP
RET |
/* WARNING: Unknown calling convention */
type_1 function_1(void)
{
return now;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nulong timing_last_clock(void)\n\n{\n return now;\n}\n\n" comment (function_definition "ulong timing_last_clock(void)\n\n{\n return now;\n}" type_identifier (function_declarator "timing_last_clock(void)" identifier (parameter_list "(void)" ( (parameter_de... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 function_1(void)\n\n{\n return now;\n}\n\n" comment (function_definition "type_1 function_1(void)\n\n{\n return now;\n}" type_identifier (function_declarator "function_1(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" pr... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (return_statement (identifier))))) |
352_pageant_and_pageant_strip.c | gppmap | FUN_001187a1 | gppmap |
int gppmap(void *handle,char *name,Conf *conf,int primary)
{
int iVar1;
char *pcVar2;
char *pcVar3;
char *pcVar4;
int primary_local;
Conf *conf_local;
char *name_local;
void *handle_local;
int c;
char *p;
char *q;
char *val;
char *key;
char *buf;
char *newkey;
while (pcVar2 = conf_g... |
undefined8 FUN_001187a1(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4)
{
char cVar1;
long lVar2;
char *__s;
undefined8 uVar3;
char *pcVar4;
char *pcVar5;
char *local_38;
char *local_30;
char *local_28;
while (lVar2 = FUN_0010b315(param_3,param_4,0), lVar2 != 0) {
FUN_... | (translation_unit "undefined8 FUN_001187a1(undefined8 param_1,undefined8 param_2,undefined8 param_3,int param_4)\n\n{\n char cVar1;\n long lVar2;\n char *__s;\n undefined8 uVar3;\n char *pcVar4;\n char *pcVar5;\n char *local_38;\n char *local_30;\n char *local_28;\n \n while (lVar2 = FUN_0010b315(param_3,par... | 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 dword ptr [RBP + -0x5c],ECX
JMP 0x001187cf
MOV RDX,qword ptr [RBP + -0x18]
MOV ECX,dword ptr [RBP + -0x5c]
MOV RAX,qword ptr [RBP + -0x58]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0010b99e
MOV ECX... |
int function_1(void *handle,char *name,type_1 *conf,int var_9)
{
int iVar1;
char *var_2;
char *var_11;
char *pcVar4;
int primary_local;
type_1 *conf_local;
char *name_local;
void *handle_local;
int var_5;
char *var_6;
char *var_7;
char *var_8;
char *key;
char *buf;
char *newkey;
whi... | (translation_unit "int gppmap(void *handle,char *name,Conf *conf,int primary)\n\n{\n int iVar1;\n char *pcVar2;\n char *pcVar3;\n char *pcVar4;\n int primary_local;\n Conf *conf_local;\n char *name_local;\n void *handle_local;\n int c;\n char *p;\n char *q;\n char *val;\n char *key;\n char *buf;\n char *... | (translation_unit "int function_1(void *handle,char *name,type_1 *conf,int var_9)\n\n{\n int iVar1;\n char *var_2;\n char *var_11;\n char *pcVar4;\n int primary_local;\n type_1 *conf_local;\n char *name_local;\n void *handle_local;\n int var_5;\n char *var_6;\n char *var_7;\n char *var_8;\n char *key;\n c... | (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_... |
932_plink_and_plink_strip.c | key_type_to_str | FUN_00167251 | key_type_to_str |
char * key_type_to_str(int type)
{
char *pcVar1;
int type_local;
switch(type) {
case 0:
pcVar1 = "unable to open file";
break;
case 1:
pcVar1 = "not a recognised key file format";
break;
case 2:
pcVar1 = "SSH-1 private key";
break;
case 3:
pcVar1 = "PuTTY SSH-2 private key... |
char * FUN_00167251(undefined4 param_1)
{
char *pcVar1;
switch(param_1) {
case 0:
pcVar1 = "unable to open file";
break;
case 1:
pcVar1 = "not a recognised key file format";
break;
case 2:
pcVar1 = "SSH-1 private key";
break;
case 3:
pcVar1 = "PuTTY SSH-2 private key";
b... | (translation_unit "char * FUN_00167251(undefined4 param_1)\n\n{\n char *pcVar1;\n \n switch(param_1) {\n case 0:\n pcVar1 = "unable to open file";\n break;\n case 1:\n pcVar1 = "not a recognised key file format";\n break;\n case 2:\n pcVar1 = "SSH-1 private key";\n break;\n case 3:\n pcVar1 ... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x4],EDI
CMP dword ptr [RBP + -0x4],0xa
JA 0x001672e8
MOV EAX,dword ptr [RBP + -0x4]
LEA RDX,[RAX*0x4]
LEA RAX,[0x19e088]
MOV EAX,dword ptr [RDX + RAX*0x1]
CDQE
LEA RDX,[0x19e088]
ADD RAX,RDX
JMP RAX
LEA RAX,[0x19df24]
JMP 0x001672ef
LEA RAX,[0x19df38]
JMP 0x001672ef
LEA RAX,[... |
char * function_1(int type)
{
char *pcVar1;
int type_local;
switch(type) {
case 0:
pcVar1 = "unable to open file";
break;
case 1:
pcVar1 = "not a recognised key file format";
break;
case 2:
pcVar1 = "SSH-1 private key";
break;
case 3:
pcVar1 = "PuTTY SSH-2 private key";
... | (translation_unit "char * key_type_to_str(int type)\n\n{\n char *pcVar1;\n int type_local;\n \n switch(type) {\n case 0:\n pcVar1 = "unable to open file";\n break;\n case 1:\n pcVar1 = "not a recognised key file format";\n break;\n case 2:\n pcVar1 = "SSH-1 private key";\n break;\n case 3:\n ... | (translation_unit "char * function_1(int type)\n\n{\n char *pcVar1;\n int type_local;\n \n switch(type) {\n case 0:\n pcVar1 = "unable to open file";\n break;\n case 1:\n pcVar1 = "not a recognised key file format";\n break;\n case 2:\n pcVar1 = "SSH-1 private key";\n break;\n case 3:\n pcV... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
205_pageant_and_pageant_strip.c | conf_free | FUN_0010abc2 | conf_free |
void conf_free(Conf *conf)
{
Conf *conf_local;
conf_clear(conf);
freetree234(conf->tree);
safefree(conf);
return;
}
|
void FUN_0010abc2(undefined8 *param_1)
{
FUN_0010ab86(param_1);
FUN_001490d5(*param_1);
FUN_0010df30(param_1);
return;
}
| (translation_unit "void FUN_0010abc2(undefined8 *param_1)\n\n{\n FUN_0010ab86(param_1);\n FUN_001490d5(*param_1);\n FUN_0010df30(param_1);\n return;\n}\n\n" (function_definition "void FUN_0010abc2(undefined8 *param_1)\n\n{\n FUN_0010ab86(param_1);\n FUN_001490d5(*param_1);\n FUN_0010df30(param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010ab86
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x001490d5
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010df30
NOP
LEAVE
RET |
void function_1(type_1 *conf)
{
type_1 *conf_local;
var_1(conf);
var_2(conf->tree);
var_3(conf);
return;
}
| (translation_unit "void conf_free(Conf *conf)\n\n{\n Conf *conf_local;\n \n conf_clear(conf);\n freetree234(conf->tree);\n safefree(conf);\n return;\n}\n\n" (function_definition "void conf_free(Conf *conf)\n\n{\n Conf *conf_local;\n \n conf_clear(conf);\n freetree234(conf->tree);\n safefree(conf);\n return;... | (translation_unit "void function_1(type_1 *conf)\n\n{\n type_1 *conf_local;\n \n var_1(conf);\n var_2(conf->tree);\n var_3(conf);\n return;\n}\n\n" (function_definition "void function_1(type_1 *conf)\n\n{\n type_1 *conf_local;\n \n var_1(conf);\n var_2(conf->tree);\n var_3(conf);\n return;\n}" primitive_typ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
903_plink_and_plink_strip.c | hmacmd5_verify | FUN_00162478 | hmacmd5_verify |
int hmacmd5_verify(void *handle,uchar *blk,int len,ulong seq)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
uchar correct [16];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
hmacmd5_do_hmac_ssh(handle,blk,len,seq,correct);
iVar2 = ... |
void FUN_00162478(undefined8 param_1,long param_2,int param_3,undefined8 param_4)
{
long in_FS_OFFSET;
undefined local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_001623a4(param_1,param_2,param_3,param_4,local_28);
FUN_00111f72(local_28,param_3 + param_2,0x10);
if (local_10... | (translation_unit "void FUN_00162478(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\n\n{\n long in_FS_OFFSET;\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_001623a4(param_1,param_2,param_3,param_4,local_28);\n FUN_00111f72(local_28,param_3 + pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV qword ptr [RBP + -0x40],RCX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDI,[RBP + -0x20]
MOV RCX,qword ptr [RBP + -0x40]
MOV EDX,dword ptr [RBP + -0x34]
M... |
int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)
{
long var_6;
int iVar2;
long var_1;
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
type_1 correct [16];
var_6 = *(long *)(var_1 + 0x28);
var_2(handle,var_4,var_5,seq,correct);
iVar2 = var_3(correct,var_4... | (translation_unit "int hmacmd5_verify(void *handle,uchar *blk,int len,ulong seq)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n uchar correct [16];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n hmacmd5_do_hmac_ssh(handle,b... | (translation_unit "int function_1(void *handle,type_1 *var_4,int var_5,type_2 seq)\n\n{\n long var_6;\n int iVar2;\n long var_1;\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_1 correct [16];\n \n var_6 = *(long *)(var_1 + 0x28);\n var_2(handle,var_4,var_5,seq,correct)... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
936_plink_and_plink_strip.c | random_add_heavynoise_bitbybit | FUN_00167721 | random_add_heavynoise_bitbybit |
void random_add_heavynoise_bitbybit(void *noise,int length)
{
int length_local;
void *noise_local;
int i;
uchar *p;
length_local = length;
p = (uchar *)noise;
while (0x4b0 - pool.poolpos <= length_local) {
for (i = 0; i < 0x4b0 - pool.poolpos; i = i + 1) {
pool.pool[i + pool.poolpos] = pool... |
void FUN_00167721(byte *param_1,int param_2)
{
int local_24;
int local_14;
byte *local_10;
local_24 = param_2;
local_10 = param_1;
while (0x4b0 - DAT_001b52f0 <= local_24) {
for (local_14 = 0; local_14 < 0x4b0 - DAT_001b52f0; local_14 = local_14 + 1) {
(&DAT_001b4e40)[local_14 + DAT_001b52f0]... | (translation_unit "void FUN_00167721(byte *param_1,int param_2)\n\n{\n int local_24;\n int local_14;\n byte *local_10;\n \n local_24 = param_2;\n local_10 = param_1;\n while (0x4b0 - DAT_001b52f0 <= local_24) {\n for (local_14 = 0; local_14 < 0x4b0 - DAT_001b52f0; local_14 = local_14 + 1) {\n (&DAT_001b4... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
JMP 0x001677bf
MOV dword ptr [RBP + -0xc],0x0
JMP 0x0016778a
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x1]
MOV qword ptr [RBP + -0x8],RDX
MOVZX ESI,byte p... |
void function_1(void *noise,int length)
{
int var_1;
void *noise_local;
int var_2;
type_1 *var_3;
var_1 = length;
var_3 = (type_1 *)noise;
while (0x4b0 - pool.poolpos <= var_1) {
for (var_2 = 0; var_2 < 0x4b0 - pool.poolpos; var_2 = var_2 + 1) {
pool.pool[var_2 + pool.poolpos] = pool.pool[v... | (translation_unit "void random_add_heavynoise_bitbybit(void *noise,int length)\n\n{\n int length_local;\n void *noise_local;\n int i;\n uchar *p;\n \n length_local = length;\n p = (uchar *)noise;\n while (0x4b0 - pool.poolpos <= length_local) {\n for (i = 0; i < 0x4b0 - pool.poolpos; i = i + 1) {\n pool... | (translation_unit "void function_1(void *noise,int length)\n\n{\n int var_1;\n void *noise_local;\n int var_2;\n type_1 *var_3;\n \n var_1 = length;\n var_3 = (type_1 *)noise;\n while (0x4b0 - pool.poolpos <= var_1) {\n for (var_2 = 0; var_2 < 0x4b0 - pool.poolpos; var_2 = var_2 + 1) {\n pool.pool[var_2... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi... |
769_plink_and_plink_strip.c | des3_decrypt_blk | FUN_00155fd9 | des3_decrypt_blk |
void des3_decrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
DESContext *keys;
des_3cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x198));
return;
}
|
void FUN_00155fd9(long param_1,undefined8 param_2,undefined4 param_3)
{
FUN_00155690(param_2,param_3,param_1 + 0x198);
return;
}
| (translation_unit "void FUN_00155fd9(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00155690(param_2,param_3,param_1 + 0x198);\n return;\n}\n\n" (function_definition "void FUN_00155fd9(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00155690(param_2,param_3,param_1 + 0x198);\n return;... | 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 + 0x198]
MOV ECX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,EC... |
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 + 0x198));
return;
}
| (translation_unit "void des3_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_3cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x198));\n return;\n}\n\n" (function_definition "void des3_decrypt_blk(void *handle,uchar *blk,... | (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 + 0x198));\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_loc... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
245_pageant_and_pageant_strip.c | dupvprintf | FUN_0010d104 | dupvprintf |
char * dupvprintf(char *fmt,__va_list_tag *ap)
{
char *pcVar1;
long in_FS_OFFSET;
__va_list_tag *ap_local;
char *fmt_local;
int size;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
size = 0;
pcVar1 = dupvprintf_inner((char *)0x0,0,&size,fmt,ap);
if (local_10 != *(long *)(in_FS_OFFSET... |
void FUN_0010d104(undefined8 param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_14 = 0;
FUN_0010cfa6(0,0,&local_14,param_1,param_2);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/* WARNING: Sub... | (translation_unit "void FUN_0010d104(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_14 = 0;\n FUN_0010cfa6(0,0,&local_14,param_1,param_2);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0xc],0x0
MOV RCX,qword ptr [RBP + -0x20]
MOV RDX,qword ptr [RBP + -0x18]
LEA RAX,[RBP + -0xc]
MOV R8,RCX
MOV RCX,RDX
MOV RDX,RAX
... |
char * function_1(char *fmt,type_1 *ap)
{
char *pcVar1;
long var_1;
type_1 *ap_local;
char *fmt_local;
int size;
long var_3;
var_3 = *(long *)(var_1 + 0x28);
size = 0;
pcVar1 = var_2((char *)0x0,0,&size,fmt,ap);
if (var_3 != *(long *)(var_1 + 0x28)) {
/* WARNING: Subroutine ... | (translation_unit "char * dupvprintf(char *fmt,__va_list_tag *ap)\n\n{\n char *pcVar1;\n long in_FS_OFFSET;\n __va_list_tag *ap_local;\n char *fmt_local;\n int size;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n size = 0;\n pcVar1 = dupvprintf_inner((char *)0x0,0,&size,fmt,ap);\n if (loc... | (translation_unit "char * function_1(char *fmt,type_1 *ap)\n\n{\n char *pcVar1;\n long var_1;\n type_1 *ap_local;\n char *fmt_local;\n int size;\n long var_3;\n \n var_3 = *(long *)(var_1 + 0x28);\n size = 0;\n pcVar1 = var_2((char *)0x0,0,&size,fmt,ap);\n if (var_3 != *(long *)(var_1 + 0x28)) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_... |
1241_plink_and_plink_strip.c | sk_address_is_local | FUN_0018229e | sk_address_is_local |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_address_is_local(SockAddr addr)
{
int iVar1;
SockAddr addr_local;
if (addr->superfamily == ADDRTYPE_UNSPEC) {
iVar1 = 0;
}
else if (addr->superfamily == ABOUT_TO) {
iVar1 = 1;
}
else {
iVar1 = sockaddr_is_loo... |
undefined8 FUN_0018229e(long param_1)
{
undefined8 uVar1;
if (*(int *)(param_1 + 0x10) == 0) {
uVar1 = 0;
}
else if (*(int *)(param_1 + 0x10) == 1) {
uVar1 = 1;
}
else {
uVar1 = FUN_001821e5(*(undefined8 *)(*(long *)(param_1 + 0x18) + 0x18));
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0018229e(long param_1)\n\n{\n undefined8 uVar1;\n \n if (*(int *)(param_1 + 0x10) == 0) {\n uVar1 = 0;\n }\n else if (*(int *)(param_1 + 0x10) == 1) {\n uVar1 = 1;\n }\n else {\n uVar1 = FUN_001821e5(*(undefined8 *)(*(long *)(param_1 + 0x18) + 0x18));\n }\n return uVa... | 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 + 0x10]
TEST EAX,EAX
JNZ 0x001822bc
MOV EAX,0x0
JMP 0x001822e3
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1
JNZ 0x001822cf
MOV EAX,0x1
JMP 0x001822e3
MOV RAX,qword ptr [RBP... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 addr)
{
int iVar1;
type_1 addr_local;
if (addr->superfamily == var_1) {
iVar1 = 0;
}
else if (addr->superfamily == var_2) {
iVar1 = 1;
}
else {
iVar1 = var_3(addr->ais->ai_addr);
}
return i... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_address_is_local(SockAddr addr)\n\n{\n int iVar1;\n SockAddr addr_local;\n \n if (addr->superfamily == ADDRTYPE_UNSPEC) {\n iVar1 = 0;\n }\n else if (addr->superfamily == ABOUT_TO) {\n iVar1 = 1;\n }\n el... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 addr)\n\n{\n int iVar1;\n type_1 addr_local;\n \n if (addr->superfamily == var_1) {\n iVar1 = 0;\n }\n else if (addr->superfamily == var_2) {\n iVar1 = 1;\n }\n else {\n iVar1 = var_3(ad... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier))... |
836_plink_and_plink_strip.c | ecp_mulw | FUN_0015bd8d | ecp_mulw |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_mulw(ec_point *a,Bignum b)
{
int iVar1;
ec_point *a_00;
Bignum b_local;
ec_point *a_local;
ec_point *ret;
iVar1 = ec_aminus3(a->curve);
a_00 = ecp_mul_(a,b,iVar1);
iVar1 = ecp_normalise(a_00);
if (iVar1 == 0)... |
undefined8 FUN_0015bd8d(undefined8 *param_1,undefined8 param_2)
{
undefined4 uVar1;
int iVar2;
undefined8 uVar3;
uVar1 = FUN_00159ada(*param_1);
uVar3 = FUN_0015bc91(param_1,param_2,uVar1);
iVar2 = FUN_0015a2a0(uVar3);
if (iVar2 == 0) {
FUN_00159d6f(uVar3);
uVar3 = 0;
}
return uVar3;
}
| (translation_unit "undefined8 FUN_0015bd8d(undefined8 *param_1,undefined8 param_2)\n\n{\n undefined4 uVar1;\n int iVar2;\n undefined8 uVar3;\n \n uVar1 = FUN_00159ada(*param_1);\n uVar3 = FUN_0015bc91(param_1,param_2,uVar1);\n iVar2 = FUN_0015a2a0(uVar3);\n if (iVar2 == 0) {\n FUN_00159d6f(uVar3);\n uVar3... | 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 RDI,RAX
CALL 0x00159ada
MOV EDX,EAX
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0015bc91
MOV qword ptr [RBP + -... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,type_2 b)
{
int var_4;
type_1 *a_00;
type_2 b_local;
type_1 *a_local;
type_1 *ret;
var_4 = var_1(a->curve);
a_00 = var_2(a,b,var_4);
var_4 = var_3(a_00);
if (var_4 == 0) {
var_5(a_00);
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_mulw(ec_point *a,Bignum b)\n\n{\n int iVar1;\n ec_point *a_00;\n Bignum b_local;\n ec_point *a_local;\n ec_point *ret;\n \n iVar1 = ec_aminus3(a->curve);\n a_00 = ecp_mul_(a,b,iVar1);\n iVar1 = ecp_nor... | (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)\n\n{\n int var_4;\n type_1 *a_00;\n type_2 b_local;\n type_1 *a_local;\n type_1 *ret;\n \n var_4 = var_1(a->curve);\n a_00 = var_2(a,b,var_4);\n var_4 = var_3(a_00);\n if (var... | (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 ... |
410_pageant_and_pageant_strip.c | bignum_from_bytes | FUN_00128018 | bignum_from_bytes |
Bignum_conflict bignum_from_bytes(uchar *data,int nbytes)
{
int iVar1;
int iVar2;
Bignum_conflict b;
int nbytes_local;
uchar *data_local;
uchar byte;
int i;
int w;
Bignum_conflict result;
if ((-1 < nbytes) && (nbytes < 0xfffffff)) {
iVar2 = nbytes + 7;
if (nbytes + 7 < 0) {
iVar2 ... |
long FUN_00128018(byte *param_1,int param_2)
{
int iVar1;
int iVar2;
long lVar3;
byte *local_30;
int local_18;
if ((-1 < param_2) && (param_2 < 0xfffffff)) {
iVar2 = param_2 + 7;
if (param_2 + 7 < 0) {
iVar2 = param_2 + 0xe;
}
lVar3 = FUN_00124651(iVar2 >> 3);
for (local_18 = ... | (translation_unit "long FUN_00128018(byte *param_1,int param_2)\n\n{\n int iVar1;\n int iVar2;\n long lVar3;\n byte *local_30;\n int local_18;\n \n if ((-1 < param_2) && (param_2 < 0xfffffff)) {\n iVar2 = param_2 + 7;\n if (param_2 + 7 < 0) {\n iVar2 = param_2 + 0xe;\n }\n lVar3 = FUN_00124651(i... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
CMP dword ptr [RBP + -0x2c],0x0
JS 0x00128036
CMP dword ptr [RBP + -0x2c],0xffffffe
JLE 0x00128055
LEA RCX,[0x15ff30]
MOV EDX,0x584
LEA RSI,[0x15fd60]
LEA RDI,[0x15fe00]
CALL 0x00107340
MOV EAX,dword ptr [RBP + -0x2c]
ADD ... |
type_1 function_1(type_2 *data,int var_1)
{
int var_5;
int var_3;
type_1 b;
int nbytes_local;
type_2 *var_6;
type_2 byte;
int var_4;
int w;
type_1 result;
if ((-1 < var_1) && (var_1 < 0xfffffff)) {
var_3 = var_1 + 7;
if (var_1 + 7 < 0) {
var_3 = var_1 + 0xe;
}
b = var_2(va... | (translation_unit "Bignum_conflict bignum_from_bytes(uchar *data,int nbytes)\n\n{\n int iVar1;\n int iVar2;\n Bignum_conflict b;\n int nbytes_local;\n uchar *data_local;\n uchar byte;\n int i;\n int w;\n Bignum_conflict result;\n \n if ((-1 < nbytes) && (nbytes < 0xfffffff)) {\n iVar2 = nbytes + 7;\n i... | (translation_unit "type_1 function_1(type_2 *data,int var_1)\n\n{\n int var_5;\n int var_3;\n type_1 b;\n int nbytes_local;\n type_2 *var_6;\n type_2 byte;\n int var_4;\n int w;\n type_1 result;\n \n if ((-1 < var_1) && (var_1 < 0xfffffff)) {\n var_3 = var_1 + 7;\n if (var_1 + 7 < 0) {\n var_3 = v... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identi... |
313_pageant_and_pageant_strip.c | pageant_enum_keys | FUN_00112ff5 | pageant_enum_keys |
int pageant_enum_keys(pageant_key_enum_fn_t callback,void *callback_ctx,char **retstr)
{
long lVar1;
int iVar2;
char *pcVar3;
long in_FS_OFFSET;
char **retstr_local;
void *callback_ctx_local;
pageant_key_enum_fn_t callback_local;
int keylistlen;
int i;
int nkeys;
int n;
int n_1;
uchar *p;
... |
undefined8 FUN_00112ff5(code *param_1,undefined8 param_2,undefined8 *param_3)
{
undefined8 uVar1;
long in_FS_OFFSET;
int local_12c;
int local_128;
int local_124;
int local_120;
int local_11c;
byte *local_118;
byte *local_110;
undefined8 local_108;
undefined8 local_100;
byte *local_f8;
int lo... | (translation_unit "undefined8 FUN_00112ff5(code *param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n int local_12c;\n int local_128;\n int local_124;\n int local_120;\n int local_11c;\n byte *local_118;\n byte *local_110;\n undefined8 local_108;\n undefined8 local_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV qword ptr [RBP + -0x138],RDI
MOV qword ptr [RBP + -0x140],RSI
MOV qword ptr [RBP + -0x148],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x124]
MOV RDI,RAX
CALL 0x00111ccb
MOV qword ptr [RBP + -0x108],RAX
MOV EAX,dword ptr [RBP + -0x124... |
int function_1(type_1 callback,void *callback_ctx,char **retstr)
{
long var_21;
int iVar2;
char *pcVar3;
long var_1;
char **retstr_local;
void *callback_ctx_local;
type_1 callback_local;
int var_3;
int var_9;
int var_8;
int var_12;
int var_19;
type_2 *var_14;
type_2 *var_7;
char *comment... | (translation_unit "int pageant_enum_keys(pageant_key_enum_fn_t callback,void *callback_ctx,char **retstr)\n\n{\n long lVar1;\n int iVar2;\n char *pcVar3;\n long in_FS_OFFSET;\n char **retstr_local;\n void *callback_ctx_local;\n pageant_key_enum_fn_t callback_local;\n int keylistlen;\n int i;\n int nkeys;\n i... | (translation_unit "int function_1(type_1 callback,void *callback_ctx,char **retstr)\n\n{\n long var_21;\n int iVar2;\n char *pcVar3;\n long var_1;\n char **retstr_local;\n void *callback_ctx_local;\n type_1 callback_local;\n int var_3;\n int var_9;\n int var_8;\n int var_12;\n int var_19;\n type_2 *var_14;... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifi... |
1001_plink_and_plink_strip.c | SHA512_Bytes | FUN_0017025b | SHA512_Bytes |
void SHA512_Bytes(SHA512_State *s,void *p,int len)
{
byte bVar1;
byte bVar2;
byte bVar3;
byte bVar4;
long lVar5;
long in_FS_OFFSET;
int len_local;
void *p_local;
SHA512_State *s_local;
uint32 lenw;
int i;
uint32 h;
uint32 l;
uchar *q;
uint64 wordblock [16];
lVar5 = *(long *)(in_FS_O... |
void FUN_0017025b(long param_1,void *param_2,uint param_3)
{
byte bVar1;
byte bVar2;
byte bVar3;
byte bVar4;
long in_FS_OFFSET;
uint local_14c;
uint local_130;
int local_12c;
void *local_120;
ulong local_118 [33];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_130 = param... | (translation_unit "void FUN_0017025b(long param_1,void *param_2,uint param_3)\n\n{\n byte bVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n long in_FS_OFFSET;\n uint local_14c;\n uint local_130;\n int local_12c;\n void *local_120;\n ulong local_118 [33];\n long local_10;\n \n local_10 = *(long *)(in_FS_OF... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x150
MOV qword ptr [RBP + -0x138],RDI
MOV qword ptr [RBP + -0x140],RSI
MOV dword ptr [RBP + -0x144],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x140]
MOV qword ptr [RBP + -0x118],RAX
MOV EAX,dword ptr [RBP + -0x144]
MOV dword ptr [R... |
void function_1(type_1 *s,void *p,int var_4)
{
type_2 bVar1;
type_2 bVar2;
type_2 bVar3;
type_2 bVar4;
long var_9;
long var_1;
int var_5;
void *p_local;
type_1 *s_local;
type_3 var_3;
int var_2;
type_3 h;
type_3 l;
type_4 *var_7;
type_5 wordblock [16];
var_9 = *(long *)(var_1 + 0x28... | (translation_unit "void SHA512_Bytes(SHA512_State *s,void *p,int len)\n\n{\n byte bVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n long lVar5;\n long in_FS_OFFSET;\n int len_local;\n void *p_local;\n SHA512_State *s_local;\n uint32 lenw;\n int i;\n uint32 h;\n uint32 l;\n uchar *q;\n uint64 wordblock [... | (translation_unit "void function_1(type_1 *s,void *p,int var_4)\n\n{\n type_2 bVar1;\n type_2 bVar2;\n type_2 bVar3;\n type_2 bVar4;\n long var_9;\n long var_1;\n int var_5;\n void *p_local;\n type_1 *s_local;\n type_3 var_3;\n int var_2;\n type_3 h;\n type_3 l;\n type_4 *var_7;\n type_5 wordblock [16];\... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
908_plink_and_plink_strip.c | saversakey | FUN_001632a6 | saversakey |
int saversakey(Filename *filename,RSAKey *key,char *passphrase)
{
uchar *puVar1;
long lVar2;
uchar *blk;
int iVar3;
int iVar4;
size_t sVar5;
FILE *__s;
long in_FS_OFFSET;
char *passphrase_local;
RSAKey *key_local;
Filename *filename_local;
int ret;
uchar *p;
uchar *estart;
FILE *fp;
MD... |
bool FUN_001632a6(undefined8 param_1,long param_2,char *param_3)
{
undefined *puVar1;
undefined uVar2;
bool bVar3;
undefined extraout_AH;
undefined extraout_var;
undefined extraout_var_00;
int iVar4;
int iVar5;
size_t sVar6;
FILE *__s;
long in_FS_OFFSET;
undefined *local_40a0;
undefined loca... | (translation_unit "bool FUN_001632a6(undefined8 param_1,long param_2,char *param_3)\n\n{\n undefined *puVar1;\n undefined uVar2;\n bool bVar3;\n undefined extraout_AH;\n undefined extraout_var;\n undefined extraout_var_00;\n int iVar4;\n int iVar5;\n size_t sVar6;\n FILE *__s;\n long in_FS_OFFSET;\n undefin... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40c0
MOV qword ptr [RBP + -0x40a8],RDI
MOV qword ptr [RBP + -0x40b0],RSI
MOV qword ptr [RBP + -0x40b8],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x4010]
MOV qword ptr [RBP + -0x4098],RAX
MOV RAX,qword ptr [RBP + -0x4098]
MOV EDX,0x21
LEA RS... |
int function_1(type_1 *filename,type_2 *key,char *var_3)
{
type_3 *var_7;
long var_23;
type_3 *blk;
int var_8;
int var_9;
size_t var_11;
type_4 *var_20;
long var_1;
char *passphrase_local;
type_2 *key_local;
type_1 *filename_local;
int ret;
type_3 *var_13;
type_3 *estart;
type_4 *fp;
t... | (translation_unit "int saversakey(Filename *filename,RSAKey *key,char *passphrase)\n\n{\n uchar *puVar1;\n long lVar2;\n uchar *blk;\n int iVar3;\n int iVar4;\n size_t sVar5;\n FILE *__s;\n long in_FS_OFFSET;\n char *passphrase_local;\n RSAKey *key_local;\n Filename *filename_local;\n int ret;\n uchar *p;\... | (translation_unit "int function_1(type_1 *filename,type_2 *key,char *var_3)\n\n{\n type_3 *var_7;\n long var_23;\n type_3 *blk;\n int var_8;\n int var_9;\n size_t var_11;\n type_4 *var_20;\n long var_1;\n char *passphrase_local;\n type_2 *key_local;\n type_1 *filename_local;\n int ret;\n type_3 *var_13;\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... |
292_pageant_and_pageant_strip.c | pageant_nth_ssh2_key | FUN_001113c6 | pageant_nth_ssh2_key |
ssh2_userkey * pageant_nth_ssh2_key(int i)
{
ssh2_userkey *psVar1;
int i_local;
psVar1 = (ssh2_userkey *)index234(ssh2keys,i);
return psVar1;
}
|
void FUN_001113c6(undefined4 param_1)
{
FUN_00149f0a(DAT_00170760,param_1);
return;
}
| (translation_unit "void FUN_001113c6(undefined4 param_1)\n\n{\n FUN_00149f0a(DAT_00170760,param_1);\n return;\n}\n\n" (function_definition "void FUN_001113c6(undefined4 param_1)\n\n{\n FUN_00149f0a(DAT_00170760,param_1);\n return;\n}" primitive_type (function_declarator "FUN_001113c6(undefined4 param_1)" identifier... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV dword ptr [RBP + -0x4],EDI
MOV RAX,qword ptr [0x00170760]
MOV EDX,dword ptr [RBP + -0x4]
MOV ESI,EDX
MOV RDI,RAX
CALL 0x00149f0a
LEAVE
RET |
type_1 * function_1(int i)
{
type_1 *psVar1;
int i_local;
psVar1 = (type_1 *)var_1(ssh2keys,i);
return psVar1;
}
| (translation_unit "ssh2_userkey * pageant_nth_ssh2_key(int i)\n\n{\n ssh2_userkey *psVar1;\n int i_local;\n \n psVar1 = (ssh2_userkey *)index234(ssh2keys,i);\n return psVar1;\n}\n\n" (function_definition "ssh2_userkey * pageant_nth_ssh2_key(int i)\n\n{\n ssh2_userkey *psVar1;\n int i_local;\n \n psVar1 = (ssh2... | (translation_unit "type_1 * function_1(int i)\n\n{\n type_1 *psVar1;\n int i_local;\n \n psVar1 = (type_1 *)var_1(ssh2keys,i);\n return psVar1;\n}\n\n" (function_definition "type_1 * function_1(int i)\n\n{\n type_1 *psVar1;\n int i_local;\n \n psVar1 = (type_1 *)var_1(ssh2keys,i);\n return psVar1;\n}" type_id... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
997_plink_and_plink_strip.c | SHA384_Core_Init | FUN_0016c1ee | SHA384_Core_Init |
void SHA384_Core_Init(SHA512_State *s)
{
ulong uVar1;
SHA512_State *s_local;
int i;
for (i = 0; i < 8; i = i + 1) {
uVar1 = SHA384_Core_Init::iv[i].lo;
s->h[i].hi = SHA384_Core_Init::iv[i].hi;
s->h[i].lo = uVar1;
}
return;
}
|
void FUN_0016c1ee(long param_1)
{
undefined8 *puVar1;
undefined8 uVar2;
int local_c;
for (local_c = 0; local_c < 8; local_c = local_c + 1) {
puVar1 = (undefined8 *)(param_1 + (long)local_c * 0x10);
uVar2 = *(undefined8 *)(&DAT_0019e548 + (long)local_c * 0x10);
*puVar1 = *(undefined8 *)(&DAT_001... | (translation_unit "void FUN_0016c1ee(long param_1)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n int local_c;\n \n for (local_c = 0; local_c < 8; local_c = local_c + 1) {\n puVar1 = (undefined8 *)(param_1 + (long)local_c * 0x10);\n uVar2 = *(undefined8 *)(&DAT_0019e548 + (long)local_c * 0x10);\n *puVar... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0016c23a
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
SHL RDX,0x4
LEA RCX,[RAX + RDX*0x1]
MOV EAX,dword ptr [RBP + -0x4]
CDQE
SHL RAX,0x4
MOV RDX,RAX
LEA RAX,[0x19e540]
LEA RDX,[RDX + RAX*0x1]
MOV ... |
void function_1(type_1 *s)
{
type_2 uVar1;
type_1 *s_local;
int var_1;
for (var_1 = 0; var_1 < 8; var_1 = var_1 + 1) {
uVar1 = function_1::iv[var_1].lo;
s->h[var_1].hi = function_1::iv[var_1].hi;
s->h[var_1].lo = uVar1;
}
return;
}
| (translation_unit "void SHA384_Core_Init(SHA512_State *s)\n\n{\n ulong uVar1;\n SHA512_State *s_local;\n int i;\n \n for (i = 0; i < 8; i = i + 1) {\n uVar1 = SHA384_Core_Init::iv[i].lo;\n s->h[i].hi = SHA384_Core_Init::iv[i].hi;\n s->h[i].lo = uVar1;\n }\n return;\n}\n\n" (function_definition "void SHA... | (translation_unit "void function_1(type_1 *s)\n\n{\n type_2 uVar1;\n type_1 *s_local;\n int var_1;\n \n for (var_1 = 0; var_1 < 8; var_1 = var_1 + 1) {\n uVar1 = function_1::iv[var_1].lo;\n s->h[var_1].hi = function_1::iv[var_1].hi;\n s->h[var_1].lo = uVar1;\n }\n return;\n}\n\n" (function_definition "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... |
983_plink_and_plink_strip.c | sha256_bytes | FUN_0016bae2 | sha256_bytes |
void sha256_bytes(void *handle,void *p,int len)
{
int len_local;
void *p_local;
void *handle_local;
SHA256_State *s;
SHA256_Bytes((SHA256_State *)handle,p,len);
return;
}
|
void FUN_0016bae2(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0016b551(param_1,param_2,param_3);
return;
}
| (translation_unit "void FUN_0016bae2(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0016b551(param_1,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_0016bae2(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0016b551(param_1,param_2,param_3);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV EDX,dword ptr [RBP + -0x24]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,void *p,int len)
{
int len_local;
void *p_local;
void *handle_local;
type_1 *s;
var_1((type_1 *)handle,p,len);
return;
}
| (translation_unit "void sha256_bytes(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *handle_local;\n SHA256_State *s;\n \n SHA256_Bytes((SHA256_State *)handle,p,len);\n return;\n}\n\n" (function_definition "void sha256_bytes(void *handle,void *p,int len)\n\n{\n int len_local;\n voi... | (translation_unit "void function_1(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *handle_local;\n type_1 *s;\n \n var_1((type_1 *)handle,p,len);\n return;\n}\n\n" (function_definition "void function_1(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *ha... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
423_pageant_and_pageant_strip.c | bignum_rshift | FUN_00128a3c | bignum_rshift |
Bignum_conflict bignum_rshift(Bignum_conflict a,int shift)
{
byte bVar1;
int iVar2;
int iVar3;
Bignum_conflict pBVar4;
BignumInt BVar5;
int shift_local;
Bignum_conflict a_local;
int i;
int bits;
int shiftw;
int shiftb;
int shiftbb;
BignumInt ai1;
Bignum_conflict ret;
BignumInt ai;
i... |
undefined8 * FUN_00128a3c(undefined8 *param_1,int param_2)
{
byte bVar1;
int iVar2;
int iVar3;
undefined8 *puVar4;
ulong uVar5;
int local_34;
ulong local_20;
if (param_2 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("shift >= 0","sshbn.c",0x67e,"bignum_rshif... | (translation_unit "undefined8 * FUN_00128a3c(undefined8 *param_1,int param_2)\n\n{\n byte bVar1;\n int iVar2;\n int iVar3;\n undefined8 *puVar4;\n ulong uVar5;\n int local_34;\n ulong local_20;\n \n if (param_2 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("shift >= 0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
CMP dword ptr [RBP + -0x3c],0x0
JNS 0x00128a70
LEA RCX,[0x15ff78]
MOV EDX,0x67e
LEA RSI,[0x15fd60]
LEA RDI,[0x15fe56]
CALL 0x00107340
MOV RAX,qword ptr [RBP + -0x38]
MOV RDI,RAX
CALL 0x00128595
SUB EAX,dword ptr [RBP + -0x... |
type_1 function_1(type_1 a,int var_1)
{
type_2 var_10;
int var_4;
int var_5;
type_1 var_7;
type_3 var_9;
int shift_local;
type_1 a_local;
int var_8;
int bits;
int shiftw;
int shiftb;
int shiftbb;
type_3 var_11;
type_1 ret;
type_3 ai;
if (var_1 < 0) {
/* WARNING: ... | (translation_unit "Bignum_conflict bignum_rshift(Bignum_conflict a,int shift)\n\n{\n byte bVar1;\n int iVar2;\n int iVar3;\n Bignum_conflict pBVar4;\n BignumInt BVar5;\n int shift_local;\n Bignum_conflict a_local;\n int i;\n int bits;\n int shiftw;\n int shiftb;\n int shiftbb;\n BignumInt ai1;\n Bignum_co... | (translation_unit "type_1 function_1(type_1 a,int var_1)\n\n{\n type_2 var_10;\n int var_4;\n int var_5;\n type_1 var_7;\n type_3 var_9;\n int shift_local;\n type_1 a_local;\n int var_8;\n int bits;\n int shiftw;\n int shiftb;\n int shiftbb;\n type_3 var_11;\n type_1 ret;\n type_3 ai;\n \n if (var_1 < ... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statemen... |
1263_plink_and_plink_strip.c | sk_tcp_set_frozen | FUN_0018476f | sk_tcp_set_frozen |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_tcp_set_frozen(Socket sock,int is_frozen)
{
int is_frozen_local;
Socket sock_local;
Actual_Socket_conflict s;
if (is_frozen != *(int *)(sock + 8)) {
*(int *)(sock + 8) = is_frozen;
uxsel_tell((Actual_Socket_conflict)s... |
void FUN_0018476f(long param_1,int param_2)
{
if (param_2 != *(int *)(param_1 + 0x40)) {
*(int *)(param_1 + 0x40) = param_2;
FUN_001849e3(param_1);
}
return;
}
| (translation_unit "void FUN_0018476f(long param_1,int param_2)\n\n{\n if (param_2 != *(int *)(param_1 + 0x40)) {\n *(int *)(param_1 + 0x40) = param_2;\n FUN_001849e3(param_1);\n }\n return;\n}\n\n" (function_definition "void FUN_0018476f(long param_1,int param_2)\n\n{\n if (param_2 != *(int *)(param_1 + 0x40)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x40]
CMP dword ptr [RBP + -0x1c],EAX
JZ 0x001847aa
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_2,int var_1)
{
int is_frozen_local;
type_1 sock_local;
type_2 s;
if (var_1 != *(int *)(var_2 + 8)) {
*(int *)(var_2 + 8) = var_1;
var_3((type_2)var_2);
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_tcp_set_frozen(Socket sock,int is_frozen)\n\n{\n int is_frozen_local;\n Socket sock_local;\n Actual_Socket_conflict s;\n \n if (is_frozen != *(int *)(sock + 8)) {\n *(int *)(sock + 8) = is_frozen;\n uxsel_t... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2,int var_1)\n\n{\n int is_frozen_local;\n type_1 sock_local;\n type_2 s;\n \n if (var_1 != *(int *)(var_2 + 8)) {\n *(int *)(var_2 + 8) = var_1;\n var_3((type_2)var_2);\n }\n return;\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound... |
895_plink_and_plink_strip.c | hmacmd5_start | FUN_00162045 | hmacmd5_start |
void hmacmd5_start(void *handle)
{
void *handle_local;
MD5Context *keys;
/* WARNING: Load size is inaccurate */
*(undefined8 *)((long)handle + 0xb8) = *handle;
*(undefined8 *)((long)handle + 0xc0) = *(undefined8 *)((long)handle + 8);
*(undefined8 *)((long)handle + 200) = *(undefined8 ... |
void FUN_00162045(undefined8 *param_1)
{
param_1[0x17] = *param_1;
param_1[0x18] = param_1[1];
param_1[0x19] = param_1[2];
param_1[0x1a] = param_1[3];
param_1[0x1b] = param_1[4];
param_1[0x1c] = param_1[5];
param_1[0x1d] = param_1[6];
param_1[0x1e] = param_1[7];
param_1[0x1f] = param_1[8];
param_1... | (translation_unit "void FUN_00162045(undefined8 *param_1)\n\n{\n param_1[0x17] = *param_1;\n param_1[0x18] = param_1[1];\n param_1[0x19] = param_1[2];\n param_1[0x1a] = param_1[3];\n param_1[0x1b] = param_1[4];\n param_1[0x1c] = param_1[5];\n param_1[0x1d] = param_1[6];\n param_1[0x1e] = param_1[7];\n param_1[... | PUSH RBP
MOV RBP,RSP
PUSH RBX
MOV qword ptr [RBP + -0x20],RDI
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
LEA RDX,[RAX + 0xb8]
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RAX]
MOV RBX,qword ptr [RAX + 0x8]
MOV qword ptr [RDX],RCX
MOV qword ptr [RDX + 0x8],RBX
M... |
void function_1(void *handle)
{
void *handle_local;
type_1 *keys;
/* WARNING: Load size is inaccurate */
*(type_2 *)((long)handle + 0xb8) = *handle;
*(type_2 *)((long)handle + 0xc0) = *(type_2 *)((long)handle + 8);
*(type_2 *)((long)handle + 200) = *(type_2 *)((long)handle + 0x10);
... | (translation_unit "void hmacmd5_start(void *handle)\n\n{\n void *handle_local;\n MD5Context *keys;\n \n /* WARNING: Load size is inaccurate */\n *(undefined8 *)((long)handle + 0xb8) = *handle;\n *(undefined8 *)((long)handle + 0xc0) = *(undefined8 *)((long)handle + 8);\n *(undefined8 *)((long)ha... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n type_1 *keys;\n \n /* WARNING: Load size is inaccurate */\n *(type_2 *)((long)handle + 0xb8) = *handle;\n *(type_2 *)((long)handle + 0xc0) = *(type_2 *)((long)handle + 8);\n *(type_2 *)((long)handle + 200) = *(type_2 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
490_pageant_and_pageant_strip.c | dss_gen_k | FUN_001308fb | dss_gen_k |
Bignum * dss_gen_k(char *id_string,Bignum modulus,Bignum private_key,uchar *digest,int digest_len)
{
long lVar1;
int iVar2;
size_t sVar3;
Bignum_conflict a;
Bignum *a_00;
long lVar4;
SHA512_State *pSVar5;
SHA512_State *pSVar6;
long in_FS_OFFSET;
byte bVar7;
int digest_len_local;
uchar *digest_... |
undefined8
FUN_001308fb(char *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
undefined4 param_5)
{
int iVar1;
size_t sVar2;
undefined8 uVar3;
undefined8 uVar4;
long lVar5;
undefined8 *puVar6;
undefined8 *puVar7;
long in_FS_OFFSET;
byte bVar8;
undefined8 local_298 [36... | (translation_unit "undefined8\nFUN_001308fb(char *param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined4 param_5)\n\n{\n int iVar1;\n size_t sVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n long lVar5;\n undefined8 *puVar6;\n undefined8 *puVar7;\n long in_FS_OFFSET;\n byte bV... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x2d0
MOV qword ptr [RBP + -0x2a8],RDI
MOV qword ptr [RBP + -0x2b0],RSI
MOV qword ptr [RBP + -0x2b8],RDX
MOV qword ptr [RBP + -0x2c0],RCX
MOV dword ptr [RBP + -0x2c4],R8D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x290]
MOV RDI,RAX
CALL 0x00146bf... |
type_1 * function_1(char *id_string,type_1 modulus,type_1 private_key,type_2 *digest,int digest_len)
{
long var_14;
int var_13;
size_t sVar3;
type_3 a;
type_1 *a_00;
long var_7;
type_4 *pSVar5;
type_4 *pSVar6;
long var_1;
type_5 bVar7;
int digest_len_local;
type_2 *digest_local;
type_1 priva... | (translation_unit "Bignum * dss_gen_k(char *id_string,Bignum modulus,Bignum private_key,uchar *digest,int digest_len)\n\n{\n long lVar1;\n int iVar2;\n size_t sVar3;\n Bignum_conflict a;\n Bignum *a_00;\n long lVar4;\n SHA512_State *pSVar5;\n SHA512_State *pSVar6;\n long in_FS_OFFSET;\n byte bVar7;\n int dig... | (translation_unit "type_1 * function_1(char *id_string,type_1 modulus,type_1 private_key,type_2 *digest,int digest_len)\n\n{\n long var_14;\n int var_13;\n size_t sVar3;\n type_3 a;\n type_1 *a_00;\n long var_7;\n type_4 *pSVar5;\n type_4 *pSVar6;\n long var_1;\n type_5 bVar7;\n int digest_len_local;\n type... | (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: (type... |
274_pageant_and_pageant_strip.c | get_ssh_uint32 | FUN_0010e52f | get_ssh_uint32 |
int get_ssh_uint32(int *datalen,void **data,uint *ret)
{
int iVar1;
uint *ret_local;
void **data_local;
int *datalen_local;
iVar1 = *datalen;
if (3 < iVar1) {
/* WARNING: Load size is inaccurate */
*ret = (uint)**data << 0x18 | (uint)*(byte *)((long)*data + 1) << 0x10 |
... |
bool FUN_0010e52f(int *param_1,long *param_2,uint *param_3)
{
int iVar1;
iVar1 = *param_1;
if (3 < iVar1) {
*param_3 = (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |
(uint)*(byte *)(*param_2 + 2) << 8 | (uint)*(byte *)(*param_2 + 3);
*param_1 = *param_1 + -4;... | (translation_unit "bool FUN_0010e52f(int *param_1,long *param_2,uint *param_3)\n\n{\n int iVar1;\n \n iVar1 = *param_1;\n if (3 < iVar1) {\n *param_3 = (uint)*(byte *)*param_2 << 0x18 | (uint)*(byte *)(*param_2 + 1) << 0x10 |\n (uint)*(byte *)(*param_2 + 2) << 8 | (uint)*(byte *)(*param_2 + 3);\n ... | 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 EAX,dword ptr [RAX]
CMP EAX,0x3
JG 0x0010e551
MOV EAX,0x0
JMP 0x0010e5ce
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOVZX EAX,byte ptr [RAX]
MOVZX EAX,AL
SH... |
int function_1(int *datalen,void **data,type_1 *ret)
{
int var_1;
type_1 *ret_local;
void **data_local;
int *datalen_local;
var_1 = *datalen;
if (3 < var_1) {
/* WARNING: Load size is inaccurate */
*ret = (type_1)**data << 0x18 | (type_1)*(type_2 *)((long)*data + 1) << 0x10 |
... | (translation_unit "int get_ssh_uint32(int *datalen,void **data,uint *ret)\n\n{\n int iVar1;\n uint *ret_local;\n void **data_local;\n int *datalen_local;\n \n iVar1 = *datalen;\n if (3 < iVar1) {\n /* WARNING: Load size is inaccurate */\n *ret = (uint)**data << 0x18 | (uint)*(byte *)((long)... | (translation_unit "int function_1(int *datalen,void **data,type_1 *ret)\n\n{\n int var_1;\n type_1 *ret_local;\n void **data_local;\n int *datalen_local;\n \n var_1 = *datalen;\n if (3 < var_1) {\n /* WARNING: Load size is inaccurate */\n *ret = (type_1)**data << 0x18 | (type_1)*(type_2 *)(... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
948_plink_and_plink_strip.c | rsadecrypt | FUN_00168449 | rsadecrypt |
Bignum rsadecrypt(Bignum input,RSAKey *key)
{
Bignum pvVar1;
RSAKey *key_local;
Bignum input_local;
pvVar1 = rsa_privkey_op(input,key);
return pvVar1;
}
|
void FUN_00168449(undefined8 param_1,undefined8 param_2)
{
FUN_0016801b(param_1,param_2);
return;
}
| (translation_unit "void FUN_00168449(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016801b(param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_00168449(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016801b(param_1,param_2);\n return;\n}" primitive_type (function_declarator "FUN_00168449(und... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0016801b
LEAVE
RET |
type_1 function_1(type_1 input,type_2 *key)
{
type_1 pvVar1;
type_2 *key_local;
type_1 input_local;
pvVar1 = var_1(input,key);
return pvVar1;
}
| (translation_unit "Bignum rsadecrypt(Bignum input,RSAKey *key)\n\n{\n Bignum pvVar1;\n RSAKey *key_local;\n Bignum input_local;\n \n pvVar1 = rsa_privkey_op(input,key);\n return pvVar1;\n}\n\n" (function_definition "Bignum rsadecrypt(Bignum input,RSAKey *key)\n\n{\n Bignum pvVar1;\n RSAKey *key_local;\n Bignum... | (translation_unit "type_1 function_1(type_1 input,type_2 *key)\n\n{\n type_1 pvVar1;\n type_2 *key_local;\n type_1 input_local;\n \n pvVar1 = var_1(input,key);\n return pvVar1;\n}\n\n" (function_definition "type_1 function_1(type_1 input,type_2 *key)\n\n{\n type_1 pvVar1;\n type_2 *key_local;\n type_1 input_lo... | (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: (pointer_declarator declarator: (identi... |
804_plink_and_plink_strip.c | dss_createkey | FUN_00158710 | dss_createkey |
void * dss_createkey(ssh_signkey *self,uchar *pub_blob,int pub_len,uchar *priv_blob,int priv_len)
{
long lVar1;
int iVar2;
Bignum pvVar3;
dss_key *pdVar4;
long in_FS_OFFSET;
uchar *priv_blob_local;
int priv_len_local;
int pub_len_local;
uchar *pub_blob_local;
ssh_signkey *self_local;
int hashlen... |
undefined8 *
FUN_00158710(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined4 param_5)
{
int iVar1;
undefined8 uVar2;
undefined8 *puVar3;
long in_FS_OFFSET;
undefined4 local_d0;
undefined4 local_cc;
undefined8 local_c8;
undefined8 local_c0;
int local_a... | (translation_unit "undefined8 *\nFUN_00158710(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined4 param_5)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 *puVar3;\n long in_FS_OFFSET;\n undefined4 local_d0;\n undefined4 local_cc;\n undefined8 local_c8;\n unde... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xd0
MOV qword ptr [RBP + -0xb8],RDI
MOV qword ptr [RBP + -0xc0],RSI
MOV dword ptr [RBP + -0xc4],EDX
MOV qword ptr [RBP + -0xd0],RCX
MOV dword ptr [RBP + -0xc8],R8D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0xd0]
MOV qword ptr [RBP + -0... |
void * function_1(type_1 *self,type_2 *pub_blob,int pub_len,type_2 *priv_blob,int priv_len)
{
long var_16;
int var_12;
type_3 pvVar3;
type_4 *pdVar4;
long var_1;
type_2 *priv_blob_local;
int priv_len_local;
int pub_len_local;
type_2 *pub_blob_local;
type_1 *self_local;
int var_7;
char *pb;
c... | (translation_unit "void * dss_createkey(ssh_signkey *self,uchar *pub_blob,int pub_len,uchar *priv_blob,int priv_len)\n\n{\n long lVar1;\n int iVar2;\n Bignum pvVar3;\n dss_key *pdVar4;\n long in_FS_OFFSET;\n uchar *priv_blob_local;\n int priv_len_local;\n int pub_len_local;\n uchar *pub_blob_local;\n ssh_sign... | (translation_unit "void * function_1(type_1 *self,type_2 *pub_blob,int pub_len,type_2 *priv_blob,int priv_len)\n\n{\n long var_16;\n int var_12;\n type_3 pvVar3;\n type_4 *pdVar4;\n long var_1;\n type_2 *priv_blob_local;\n int priv_len_local;\n int pub_len_local;\n type_2 *pub_blob_local;\n type_1 *self_local... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type... |
196_pageant_and_pageant_strip.c | conf_cmp | FUN_0010a7b4 | conf_cmp |
int conf_cmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
key *a;
key *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load size is i... |
int FUN_0010a7b4(int *param_1,int *param_2)
{
int iVar1;
if (*param_1 < *param_2) {
iVar1 = -1;
}
else if (*param_2 < *param_1) {
iVar1 = 1;
}
else if (*(int *)(&DAT_00170020 + (long)*param_1 * 4) == 1) {
if (param_1[2] < param_2[2]) {
iVar1 = -1;
}
else if (param_2[2] < param... | (translation_unit "int FUN_0010a7b4(int *param_1,int *param_2)\n\n{\n int iVar1;\n \n if (*param_1 < *param_2) {\n iVar1 = -1;\n }\n else if (*param_2 < *param_1) {\n iVar1 = 1;\n }\n else if (*(int *)(&DAT_00170020 + (long)*param_1 * 4) == 1) {\n if (param_1[2] < param_2[2]) {\n iVar1 = -1;\n }... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load s... | (translation_unit "int conf_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n key *a;\n key *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
871_plink_and_plink_strip.c | ec_alg_oid | FUN_00160497 | ec_alg_oid |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
uchar * ec_alg_oid(ssh_signkey *alg,int *oidlen)
{
void *pvVar1;
int *oidlen_local;
ssh_signkey *alg_local;
ecsign_extra *extra;
pvVar1 = alg->extra;
*oidlen = *(int *)((long)pvVar1 + 0x18);
return *(uchar **)((long)pvVar1 + 0x... |
undefined8 FUN_00160497(long param_1,undefined4 *param_2)
{
long lVar1;
lVar1 = *(long *)(param_1 + 0x70);
*param_2 = *(undefined4 *)(lVar1 + 0x18);
return *(undefined8 *)(lVar1 + 0x10);
}
| (translation_unit "undefined8 FUN_00160497(long param_1,undefined4 *param_2)\n\n{\n long lVar1;\n \n lVar1 = *(long *)(param_1 + 0x70);\n *param_2 = *(undefined4 *)(lVar1 + 0x18);\n return *(undefined8 *)(lVar1 + 0x10);\n}\n\n" (function_definition "undefined8 FUN_00160497(long param_1,undefined4 *param_2)\n\n{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x70]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RAX + 0x18]
MOV RAX,qword ptr [RBP + -0x20]
MOV dword ptr [RAX],EDX
MOV RAX,qword ptr [RBP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *alg,int *oidlen)
{
void *pvVar1;
int *oidlen_local;
type_2 *alg_local;
type_3 *extra;
pvVar1 = alg->extra;
*oidlen = *(int *)((long)pvVar1 + 0x18);
return *(type_1 **)((long)pvVar1 + 0x10);
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nuchar * ec_alg_oid(ssh_signkey *alg,int *oidlen)\n\n{\n void *pvVar1;\n int *oidlen_local;\n ssh_signkey *alg_local;\n ecsign_extra *extra;\n \n pvVar1 = alg->extra;\n *oidlen = *(int *)((long)pvVar1 + 0x18);\n return... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *alg,int *oidlen)\n\n{\n void *pvVar1;\n int *oidlen_local;\n type_2 *alg_local;\n type_3 *extra;\n \n pvVar1 = alg->extra;\n *oidlen = *(int *)((long)pvVar1 + 0x18);\n return *(type_1 **)((... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
1351_plink_and_plink_strip.c | serial_select_result | FUN_0018a784 | serial_select_result |
void serial_select_result(int fd,int event)
{
long lVar1;
int iVar2;
ssize_t sVar3;
int *piVar4;
long in_FS_OFFSET;
int event_local;
int fd_local;
int finished;
int ret;
Serial serial;
char buf [4096];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
finished = 0;
fd_local = fd;
serial = (Seri... |
void FUN_0018a784(undefined4 param_1,int param_2)
{
undefined4 uVar1;
ulong uVar2;
int *piVar3;
long in_FS_OFFSET;
undefined4 local_102c;
int local_1028;
int local_1024;
undefined8 *local_1020;
undefined local_1018 [4104];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_1028... | (translation_unit "void FUN_0018a784(undefined4 param_1,int param_2)\n\n{\n undefined4 uVar1;\n ulong uVar2;\n int *piVar3;\n long in_FS_OFFSET;\n undefined4 local_102c;\n int local_1028;\n int local_1024;\n undefined8 *local_1020;\n undefined local_1018 [4104];\n long local_10;\n \n local_10 = *(long *)(in... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x1030
MOV dword ptr [RBP + -0x1024],EDI
MOV dword ptr [RBP + -0x1028],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x1020],0x0
MOV RAX,qword ptr [0x001b54a0]
LEA RCX,[RBP + -0x1024]
LEA RDX,[0x189e77]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0017e3... |
void function_1(int fd,int var_4)
{
long var_16;
int iVar2;
ssize_t sVar3;
int *piVar4;
long var_1;
int event_local;
int fd_local;
int var_13;
int var_6;
type_1 var_3;
char buf [4096];
var_16 = *(long *)(var_1 + 0x28);
var_13 = 0;
fd_local = fd;
var_3 = (type_1)var_2(serial_by_fd,&fd_... | (translation_unit "void serial_select_result(int fd,int event)\n\n{\n long lVar1;\n int iVar2;\n ssize_t sVar3;\n int *piVar4;\n long in_FS_OFFSET;\n int event_local;\n int fd_local;\n int finished;\n int ret;\n Serial serial;\n char buf [4096];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n finished = 0;... | (translation_unit "void function_1(int fd,int var_4)\n\n{\n long var_16;\n int iVar2;\n ssize_t sVar3;\n int *piVar4;\n long var_1;\n int event_local;\n int fd_local;\n int var_13;\n int var_6;\n type_1 var_3;\n char buf [4096];\n \n var_16 = *(long *)(var_1 + 0x28);\n var_13 = 0;\n fd_local = fd;\n var... | (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: (identifier)))) body: (compound_statement ... |
819_plink_and_plink_strip.c | ecf_add | FUN_00159b43 | ecf_add |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Bignum ecf_add(Bignum a,Bignum b,ec_curve *curve)
{
Bignum_conflict pBVar1;
Bignum_conflict b_00;
Bignum_conflict a_00;
ec_curve *curve_local;
Bignum b_local;
Bignum a_local;
Bignum a1;
Bignum b1;
Bignum ab;
Bignum ret;
... |
undefined8 FUN_00159b43(undefined8 param_1,undefined8 param_2,long param_3)
{
undefined8 uVar1;
undefined8 uVar2;
undefined8 uVar3;
uVar1 = FUN_0014ee84(param_1,*(undefined8 *)(param_3 + 0x20));
uVar2 = FUN_0014ee84(param_2,*(undefined8 *)(param_3 + 0x20));
uVar3 = FUN_0014e749(uVar1,uVar2);
FUN_0014... | (translation_unit "undefined8 FUN_00159b43(undefined8 param_1,undefined8 param_2,long param_3)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n \n uVar1 = FUN_0014ee84(param_1,*(undefined8 *)(param_3 + 0x20));\n uVar2 = FUN_0014ee84(param_2,*(undefined8 *)(param_3 + 0x20));\n uVar3 = FUN_0014e7... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr [RBP + -0x38]
MOV RDX,qword ptr [RAX + 0x20]
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0014ee84
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_1 a,type_1 b,type_2 *curve)
{
type_3 pBVar1;
type_3 b_00;
type_3 a_00;
type_2 *curve_local;
type_1 b_local;
type_1 a_local;
type_1 a1;
type_1 b1;
type_1 ab;
type_1 ret;
pBVar1 = var_1((type_3)a,(t... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nBignum ecf_add(Bignum a,Bignum b,ec_curve *curve)\n\n{\n Bignum_conflict pBVar1;\n Bignum_conflict b_00;\n Bignum_conflict a_00;\n ec_curve *curve_local;\n Bignum b_local;\n Bignum a_local;\n Bignum a1;\n Bignum b1;\n... | (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,type_2 *curve)\n\n{\n type_3 pBVar1;\n type_3 b_00;\n type_3 a_00;\n type_2 *curve_local;\n type_1 b_local;\n type_1 a_local;\n type_1 a1;\n type_1 b1;\n type_1 ab;\n type_1 ret;\... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_decl... |
1168_plink_and_plink_strip.c | delpos234 | FUN_0017f2f5 | delpos234 |
void * delpos234(tree234 *t,int index)
{
int iVar1;
void *pvVar2;
int index_local;
tree234 *t_local;
if ((-1 < index) && (iVar1 = countnode234(t->root), index < iVar1)) {
pvVar2 = delpos234_internal(t,index);
return pvVar2;
}
return (void *)0x0;
}
|
undefined8 FUN_0017f2f5(undefined8 *param_1,int param_2)
{
int iVar1;
undefined8 uVar2;
if ((-1 < param_2) && (iVar1 = FUN_0017d250(*param_1), param_2 < iVar1)) {
uVar2 = FUN_0017e469(param_1,param_2);
return uVar2;
}
return 0;
}
| (translation_unit "undefined8 FUN_0017f2f5(undefined8 *param_1,int param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if ((-1 < param_2) && (iVar1 = FUN_0017d250(*param_1), param_2 < iVar1)) {\n uVar2 = FUN_0017e469(param_1,param_2);\n return uVar2;\n }\n return 0;\n}\n\n" (function_definition "undefined8 ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
CMP dword ptr [RBP + -0xc],0x0
JS 0x0017f31e
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x0017d250
CMP dword ptr [RBP + -0xc],EAX
JL 0x0017f325
MOV EAX,0x0
JMP 0x0017f336
MOV EDX,dword ptr [RBP +... |
void * function_1(type_1 *t,int var_1)
{
int var_3;
void *pvVar2;
int index_local;
type_1 *t_local;
if ((-1 < var_1) && (var_3 = var_2(t->root), var_1 < var_3)) {
pvVar2 = var_4(t,var_1);
return pvVar2;
}
return (void *)0x0;
}
| (translation_unit "void * delpos234(tree234 *t,int index)\n\n{\n int iVar1;\n void *pvVar2;\n int index_local;\n tree234 *t_local;\n \n if ((-1 < index) && (iVar1 = countnode234(t->root), index < iVar1)) {\n pvVar2 = delpos234_internal(t,index);\n return pvVar2;\n }\n return (void *)0x0;\n}\n\n" (function... | (translation_unit "void * function_1(type_1 *t,int var_1)\n\n{\n int var_3;\n void *pvVar2;\n int index_local;\n type_1 *t_local;\n \n if ((-1 < var_1) && (var_3 = var_2(t->root), var_1 < var_3)) {\n pvVar2 = var_4(t,var_1);\n return pvVar2;\n }\n return (void *)0x0;\n}\n\n" (function_definition "void * f... | (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... |
1205_plink_and_plink_strip.c | getticks | FUN_0018112d | getticks |
/* WARNING: Unknown calling convention */
ulong getticks(void)
{
long lVar1;
int iVar2;
ulong uVar3;
long in_FS_OFFSET;
timespec ts;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
iVar2 = clock_gettime(1,(timespec *)&ts);
if (iVar2 == 0) {
uVar3 = ts.tv_nsec / 1000000 + ts.tv_sec * 1000;
}
else {... |
long FUN_0018112d(void)
{
int iVar1;
long lVar2;
long in_FS_OFFSET;
timespec local_28;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = clock_gettime(1,&local_28);
if (iVar1 == 0) {
lVar2 = local_28.tv_nsec / 1000000 + local_28.tv_sec * 1000;
}
else {
gettimeofday((time... | (translation_unit "long FUN_0018112d(void)\n\n{\n int iVar1;\n long lVar2;\n long in_FS_OFFSET;\n timespec local_28;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = clock_gettime(1,&local_28);\n if (iVar1 == 0) {\n lVar2 = local_28.tv_nsec / 1000000 + local_28.tv_sec * 1000;\n }\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x20]
MOV RSI,RAX
MOV EDI,0x1
CALL 0x001081a0
TEST EAX,EAX
JNZ 0x0018118e
MOV RAX,qword ptr [RBP + -0x20]
IMUL RSI,RAX,0x3e8
MOV RCX,qword ptr [RBP + -0x18]
MOV RDX,0x431bde82d7b634db
MOV RAX,RCX
IMU... |
/* WARNING: Unknown calling convention */
type_1 function_1(void)
{
long var_5;
int var_3;
type_1 uVar3;
long var_1;
type_2 ts;
var_5 = *(long *)(var_1 + 0x28);
var_3 = var_2(1,(type_2 *)&ts);
if (var_3 == 0) {
uVar3 = ts.tv_nsec / 1000000 + ts.tv_sec * 1000;
}
else {
var_4((type_3 *)&... | (translation_unit "/* WARNING: Unknown calling convention */\n\nulong getticks(void)\n\n{\n long lVar1;\n int iVar2;\n ulong uVar3;\n long in_FS_OFFSET;\n timespec ts;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n iVar2 = clock_gettime(1,(timespec *)&ts);\n if (iVar2 == 0) {\n uVar3 = ts.tv_nsec / 1000000 ... | (translation_unit "/* WARNING: Unknown calling convention */\n\ntype_1 function_1(void)\n\n{\n long var_5;\n int var_3;\n type_1 uVar3;\n long var_1;\n type_2 ts;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_3 = var_2(1,(type_2 *)&ts);\n if (var_3 == 0) {\n uVar3 = ts.tv_nsec / 1000000 + ts.tv_sec * 1000;\n ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type:... |
257_pageant_and_pageant_strip.c | bufchain_init | FUN_0010d860 | bufchain_init |
void bufchain_init(bufchain *ch)
{
bufchain *ch_local;
ch->tail = (bufchain_granule *)0x0;
ch->head = ch->tail;
ch->buffersize = 0;
return;
}
|
void FUN_0010d860(undefined8 *param_1)
{
param_1[1] = 0;
*param_1 = param_1[1];
*(undefined4 *)(param_1 + 2) = 0;
return;
}
| (translation_unit "void FUN_0010d860(undefined8 *param_1)\n\n{\n param_1[1] = 0;\n *param_1 = param_1[1];\n *(undefined4 *)(param_1 + 2) = 0;\n return;\n}\n\n" (function_definition "void FUN_0010d860(undefined8 *param_1)\n\n{\n param_1[1] = 0;\n *param_1 = param_1[1];\n *(undefined4 *)(param_1 + 2) = 0;\n retur... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x8],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x10],0x0
NOP
POP RBP
RET |
void function_1(type_1 *ch)
{
type_1 *ch_local;
ch->tail = (type_2 *)0x0;
ch->head = ch->tail;
ch->buffersize = 0;
return;
}
| (translation_unit "void bufchain_init(bufchain *ch)\n\n{\n bufchain *ch_local;\n \n ch->tail = (bufchain_granule *)0x0;\n ch->head = ch->tail;\n ch->buffersize = 0;\n return;\n}\n\n" (function_definition "void bufchain_init(bufchain *ch)\n\n{\n bufchain *ch_local;\n \n ch->tail = (bufchain_granule *)0x0;\n ch... | (translation_unit "void function_1(type_1 *ch)\n\n{\n type_1 *ch_local;\n \n ch->tail = (type_2 *)0x0;\n ch->head = ch->tail;\n ch->buffersize = 0;\n return;\n}\n\n" (function_definition "void function_1(type_1 *ch)\n\n{\n type_1 *ch_local;\n \n ch->tail = (type_2 *)0x0;\n ch->head = ch->tail;\n 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))))) body: (compound_statement (declaration type: (type_identifier) d... |
497_pageant_and_pageant_strip.c | ec_p521 | FUN_001311d2 | 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_001311d2(void)
{
if (DAT_00170888 == '\0') {
FUN_00130de9(&DAT_001708a0,0x209,&DAT_00160fe0,&DAT_00161040,&DAT_001610a0,&DAT_00161100,
&DAT_00161160,&DAT_001611c0);
DAT_001708a8 = "nistp521... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined * FUN_001311d2(void)\n\n{\n if (DAT_00170888 == '\0') {\n FUN_00130de9(&DAT_001708a0,0x209,&DAT_00160fe0,&DAT_00161040,&DAT_001610a0,&DAT_00161100,\n &DAT_00161160,&DAT_001611c0);\n ... | PUSH RBP
MOV RBP,RSP
MOVZX EAX,byte ptr [0x00170888]
TEST AL,AL
JNZ 0x00131245
LEA RAX,[0x1611c0]
PUSH RAX
LEA RAX,[0x161160]
PUSH RAX
LEA R9,[0x161100]
LEA R8,[0x1610a0]
LEA RCX,[0x161040]
LEA RDX,[0x160fe0]
MOV ESI,0x209
LEA RDI,[0x1708a0]
CALL 0x00130de9
ADD RSP,0x10
LEA RAX,[0x160bd2]
MOV qword ptr [0x001708a8],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... |
787_plink_and_plink_strip.c | dh_setup_group | FUN_001570c1 | dh_setup_group |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * dh_setup_group(ssh_kex *kex)
{
undefined8 *puVar1;
dh_ctx *ctx_00;
Bignum_conflict pBVar2;
ssh_kex *kex_local;
dh_extra *extra;
dh_ctx *ctx;
puVar1 = (undefined8 *)kex->extra;
ctx_00 = (dh_ctx *)safemalloc(1,0x30);
p... |
long FUN_001570c1(long param_1)
{
undefined8 *puVar1;
long lVar2;
undefined8 uVar3;
puVar1 = *(undefined8 **)(param_1 + 0x20);
lVar2 = FUN_00111901(1,0x30);
uVar3 = FUN_0014d628(*puVar1,*(undefined4 *)(puVar1 + 2));
*(undefined8 *)(lVar2 + 0x10) = uVar3;
uVar3 = FUN_0014d628(puVar1[1],*(undefined4 ... | (translation_unit "long FUN_001570c1(long param_1)\n\n{\n undefined8 *puVar1;\n long lVar2;\n undefined8 uVar3;\n \n puVar1 = *(undefined8 **)(param_1 + 0x20);\n lVar2 = FUN_00111901(1,0x30);\n uVar3 = FUN_0014d628(*puVar1,*(undefined4 *)(puVar1 + 2));\n *(undefined8 *)(lVar2 + 0x10) = uVar3;\n uVar3 = FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x20]
MOV qword ptr [RBP + -0x10],RAX
MOV ESI,0x30
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX + 0x10]
MOV RAX,qword ptr [RBP +... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * function_1(type_1 *kex)
{
type_2 *var_3;
type_3 *ctx_00;
type_4 pBVar2;
type_1 *kex_local;
type_5 *extra;
type_3 *ctx;
var_3 = (type_2 *)kex->extra;
ctx_00 = (type_3 *)var_1(1,0x30);
pBVar2 = var_2((type_6 *)*var_3,*... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * dh_setup_group(ssh_kex *kex)\n\n{\n undefined8 *puVar1;\n dh_ctx *ctx_00;\n Bignum_conflict pBVar2;\n ssh_kex *kex_local;\n dh_extra *extra;\n dh_ctx *ctx;\n \n puVar1 = (undefined8 *)kex->extra;\n ctx_00 = (d... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(type_1 *kex)\n\n{\n type_2 *var_3;\n type_3 *ctx_00;\n type_4 pBVar2;\n type_1 *kex_local;\n type_5 *extra;\n type_3 *ctx;\n \n var_3 = (type_2 *)kex->extra;\n ctx_00 = (type_3 *)var_1(1,0x30);\n p... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_state... |
1230_plink_and_plink_strip.c | cmpforsearch | FUN_00181c0a | cmpforsearch |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int cmpforsearch(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int as;
int bs;
Actual_Socket_conflict b;
/* WARNING: Load size is inaccurate */
if (*av < *(int *)((long)bv + 0x10)) {
iV... |
undefined8 FUN_00181c0a(int *param_1,long param_2)
{
undefined8 uVar1;
if (*param_1 < *(int *)(param_2 + 0x10)) {
uVar1 = 0xffffffff;
}
else if (*(int *)(param_2 + 0x10) < *param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00181c0a(int *param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_1 < *(int *)(param_2 + 0x10)) {\n uVar1 = 0xffffffff;\n }\n else if (*(int *)(param_2 + 0x10) < *param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_defini... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
MOV dword ptr [RBP + -0x10],EAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
MOV dword ptr [RBP + -... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int as;
int bs;
type_1 b;
/* WARNING: Load size is inaccurate */
if (*av < *(int *)((long)bv + 0x10)) {
iVar1 = -1;
}
el... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint cmpforsearch(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int as;\n int bs;\n Actual_Socket_conflict b;\n \n /* WARNING: Load size is inaccurate */\n if (*av < *(in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int as;\n int bs;\n type_1 b;\n \n /* WARNING: Load size is inaccurate */\n if (*av < *(int *)((long)bv + 0x... | (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:... |
1302_plink_and_plink_strip.c | uxsel_input_add | FUN_00186c00 | uxsel_input_add |
uxsel_id * uxsel_input_add(int fd,int rwx)
{
int rwx_local;
int fd_local;
return (uxsel_id *)0x0;
}
|
undefined8 FUN_00186c00(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_00186c00(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_00186c00(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_00186c00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV dword ptr [RBP + -0x4],EDI
MOV dword ptr [RBP + -0x8],ESI
MOV EAX,0x0
POP RBP
RET |
type_1 * function_1(int fd,int rwx)
{
int rwx_local;
int fd_local;
return (type_1 *)0x0;
}
| (translation_unit "uxsel_id * uxsel_input_add(int fd,int rwx)\n\n{\n int rwx_local;\n int fd_local;\n \n return (uxsel_id *)0x0;\n}\n\n" (function_definition "uxsel_id * uxsel_input_add(int fd,int rwx)\n\n{\n int rwx_local;\n int fd_local;\n \n return (uxsel_id *)0x0;\n}" type_identifier (pointer_declarator "* ... | (translation_unit "type_1 * function_1(int fd,int rwx)\n\n{\n int rwx_local;\n int fd_local;\n \n return (type_1 *)0x0;\n}\n\n" (function_definition "type_1 * function_1(int fd,int rwx)\n\n{\n int rwx_local;\n int fd_local;\n \n return (type_1 *)0x0;\n}" type_identifier (pointer_declarator "* function_1(int fd,... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifi... |
1294_plink_and_plink_strip.c | cleanup_termios | FUN_001866fc | cleanup_termios |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void cleanup_termios(void)
{
if (local_tty != 0) {
tcsetattr(0,0,(termios *)&orig_termios);
}
return;
}
|
void FUN_001866fc(void)
{
if (DAT_001b545c != 0) {
tcsetattr(0,0,(termios *)&DAT_001b5420);
}
return;
}
| (translation_unit "void FUN_001866fc(void)\n\n{\n if (DAT_001b545c != 0) {\n tcsetattr(0,0,(termios *)&DAT_001b5420);\n }\n return;\n}\n\n" (function_definition "void FUN_001866fc(void)\n\n{\n if (DAT_001b545c != 0) {\n tcsetattr(0,0,(termios *)&DAT_001b5420);\n }\n return;\n}" primitive_type (function_decl... | PUSH RBP
MOV RBP,RSP
MOV EAX,dword ptr [0x001b545c]
TEST EAX,EAX
JZ 0x00186720
LEA RDX,[0x1b5420]
MOV ESI,0x0
MOV EDI,0x0
CALL 0x00108690
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
if (var_1 != 0) {
var_2(0,0,(type_1 *)&orig_termios);
}
return;
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid cleanup_termios(void)\n\n{\n if (local_tty != 0) {\n tcsetattr(0,0,(termios *)&orig_termios);\n }\n return;\n}\n\n" comment (function_definition "void cleanup_termios(void)\n\n{\n if (local_tty != 0) {\n tc... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n if (var_1 != 0) {\n var_2(0,0,(type_1 *)&orig_termios);\n }\n return;\n}\n\n" comment (function_definition "void function_1(void)\n\n{\n if (var_1 != 0) {\n var_2(0,0,(type_1 *)&orig... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.