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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1174_plink_and_plink_strip.c | agent_try_read | FUN_0017f518 | agent_try_read |
int agent_try_read(agent_pending_query *conn)
{
int iVar1;
ssize_t sVar2;
char *pcVar3;
agent_pending_query *conn_local;
int ret;
sVar2 = read(conn->fd,conn->retbuf + conn->retlen,(long)(conn->retsize - conn->retlen));
if ((int)sVar2 < 1) {
if (conn->retbuf != conn->sizebuf) {
safefree(conn... |
undefined8 FUN_0017f518(int *param_1)
{
int iVar1;
ssize_t sVar2;
undefined8 uVar3;
sVar2 = read(*param_1,(void *)(*(long *)(param_1 + 2) + (long)param_1[6]),
(long)(param_1[5] - param_1[6]));
if ((int)sVar2 < 1) {
if (*(int **)(param_1 + 2) != param_1 + 4) {
FUN_00111b0d(*(undef... | (translation_unit "undefined8 FUN_0017f518(int *param_1)\n\n{\n int iVar1;\n ssize_t sVar2;\n undefined8 uVar3;\n \n sVar2 = read(*param_1,(void *)(*(long *)(param_1 + 2) + (long)param_1[6]),\n (long)(param_1[5] - param_1[6]));\n if ((int)sVar2 < 1) {\n if (*(int **)(param_1 + 2) != param_1 + 4) ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RAX + 0x14]
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x18]
SUB EDX,EAX
MOV EAX,EDX
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RCX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RBP + -0... |
int function_1(type_1 *conn)
{
int iVar1;
ssize_t sVar2;
char *pcVar3;
type_1 *conn_local;
int ret;
sVar2 = var_1(conn->fd,conn->retbuf + conn->retlen,(long)(conn->retsize - conn->retlen));
if ((int)sVar2 < 1) {
if (conn->retbuf != conn->sizebuf) {
var_2(conn->retbuf);
}
conn->retbu... | (translation_unit "int agent_try_read(agent_pending_query *conn)\n\n{\n int iVar1;\n ssize_t sVar2;\n char *pcVar3;\n agent_pending_query *conn_local;\n int ret;\n \n sVar2 = read(conn->fd,conn->retbuf + conn->retlen,(long)(conn->retsize - conn->retlen));\n if ((int)sVar2 < 1) {\n if (conn->retbuf != conn->s... | (translation_unit "int function_1(type_1 *conn)\n\n{\n int iVar1;\n ssize_t sVar2;\n char *pcVar3;\n type_1 *conn_local;\n int ret;\n \n sVar2 = var_1(conn->fd,conn->retbuf + conn->retlen,(long)(conn->retsize - conn->retlen));\n if ((int)sVar2 < 1) {\n if (conn->retbuf != conn->sizebuf) {\n var_2(conn->... | (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... |
178_pageant_and_pageant_strip.c | deregister_tm_clones | FUN_00107b40 | deregister_tm_clones |
/* WARNING: Removing unreachable block (ram,0x00107b53) */
/* WARNING: Removing unreachable block (ram,0x00107b5f) */
void deregister_tm_clones(void)
{
return;
}
|
/* WARNING: Removing unreachable block (ram,0x00107b53) */
/* WARNING: Removing unreachable block (ram,0x00107b5f) */
void FUN_00107b40(void)
{
return;
}
| (translation_unit "/* WARNING: Removing unreachable block (ram,0x00107b53) */\n/* WARNING: Removing unreachable block (ram,0x00107b5f) */\n\nvoid FUN_00107b40(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void FUN_00107b40(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00107b40... | LEA RDI,[0x170688]
LEA RAX,[0x170688]
CMP RAX,RDI
JZ 0x00107b68
MOV RAX,qword ptr [0x0016ffe0]
TEST RAX,RAX
JZ 0x00107b68
JMP RAX
RET |
/* WARNING: Removing unreachable block (ram,0x00107b53) */
/* WARNING: Removing unreachable block (ram,0x00107b5f) */
void function_1(void)
{
return;
}
| (translation_unit "/* WARNING: Removing unreachable block (ram,0x00107b53) */\n/* WARNING: Removing unreachable block (ram,0x00107b5f) */\n\nvoid deregister_tm_clones(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void deregister_tm_clones(void)\n\n{\n return;\n}" primitive_type (function_declarat... | (translation_unit "/* WARNING: Removing unreachable block (ram,0x00107b53) */\n/* WARNING: Removing unreachable block (ram,0x00107b5f) */\n\nvoid function_1(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void function_1(void)\n\n{\n return;\n}" primitive_type (function_declarator "function_1(void)... | (translation_unit (comment) (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (return_statement)))) |
1389_plink_and_plink_strip.c | write_setting_filename | FUN_0018cccb | write_setting_filename |
void write_setting_filename(void *handle,char *name,Filename *result)
{
Filename *result_local;
char *name_local;
void *handle_local;
write_setting_s(handle,name,result->path);
return;
}
|
void FUN_0018cccb(undefined8 param_1,undefined8 param_2,undefined8 *param_3)
{
FUN_0018c504(param_1,param_2,*param_3);
return;
}
| (translation_unit "void FUN_0018cccb(undefined8 param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n FUN_0018c504(param_1,param_2,*param_3);\n return;\n}\n\n" (function_definition "void FUN_0018cccb(undefined8 param_1,undefined8 param_2,undefined8 *param_3)\n\n{\n FUN_0018c504(param_1,param_2,*param_3);\n return;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RAX]
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0018c504
NOP
LEAVE
RET |
void function_1(void *handle,char *name,type_1 *result)
{
type_1 *result_local;
char *name_local;
void *handle_local;
var_1(handle,name,result->path);
return;
}
| (translation_unit "void write_setting_filename(void *handle,char *name,Filename *result)\n\n{\n Filename *result_local;\n char *name_local;\n void *handle_local;\n \n write_setting_s(handle,name,result->path);\n return;\n}\n\n" (function_definition "void write_setting_filename(void *handle,char *name,Filename *re... | (translation_unit "void function_1(void *handle,char *name,type_1 *result)\n\n{\n type_1 *result_local;\n char *name_local;\n void *handle_local;\n \n var_1(handle,name,result->path);\n return;\n}\n\n" (function_definition "void function_1(void *handle,char *name,type_1 *result)\n\n{\n type_1 *result_local;\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_... |
1276_plink_and_plink_strip.c | noise_regular | FUN_00185413 | noise_regular |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void noise_regular(void)
{
long lVar1;
int iVar2;
ssize_t sVar3;
long in_FS_OFFSET;
int fd;
int ret;
rusage rusage;
char buf [512];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
iVar2 = open64("/proc/meminfo",0);
if (-1 <... |
void FUN_00185413(void)
{
int iVar1;
ulong uVar2;
long in_FS_OFFSET;
rusage local_2a8;
undefined local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = open64("/proc/meminfo",0);
if (-1 < iVar1) {
while (uVar2 = read(iVar1,local_218,0x200), 0 < (int)uVar2) {
... | (translation_unit "void FUN_00185413(void)\n\n{\n int iVar1;\n ulong uVar2;\n long in_FS_OFFSET;\n rusage local_2a8;\n undefined local_218 [520];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = open64("/proc/meminfo",0);\n if (-1 < iVar1) {\n while (uVar2 = read(iVar1,local_218,0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x2b0
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV ESI,0x0
LEA RDI,[0x1a171c]
MOV EAX,0x0
CALL 0x00108630
MOV dword ptr [RBP + -0x2a8],EAX
CMP dword ptr [RBP + -0x2a8],0x0
JS 0x001854a3
JMP 0x0018546b
MOV EDX,dword ptr [RBP + -0x2a4]
LEA RAX,[RBP + -0x210]
MOV ... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
long var_8;
int var_3;
ssize_t sVar3;
long var_1;
int fd;
int ret;
type_1 type_1;
char buf [512];
var_8 = *(long *)(var_1 + 0x28);
var_3 = var_2("/proc/meminfo",0);
if (-1 < var_3) {
whil... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid noise_regular(void)\n\n{\n long lVar1;\n int iVar2;\n ssize_t sVar3;\n long in_FS_OFFSET;\n int fd;\n int ret;\n rusage rusage;\n char buf [512];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n iVar2 = open... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n long var_8;\n int var_3;\n ssize_t sVar3;\n long var_1;\n int fd;\n int ret;\n type_1 type_1;\n char buf [512];\n \n var_8 = *(long *)(var_1 + 0x28);\n var_3 = var_2("/proc/meminfo"... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: ... |
359_pageant_and_pageant_strip.c | save_settings | FUN_00119329 | save_settings |
char * save_settings(char *section,Conf *conf)
{
long in_FS_OFFSET;
Conf *conf_local;
char *section_local;
char *errmsg;
void *sesskey;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
sesskey = open_settings_w(section,&errmsg);
if (sesskey != (void *)0x0) {
save_open_settings(sesske... |
undefined8 FUN_00119329(undefined8 param_1,undefined8 param_2)
{
long in_FS_OFFSET;
undefined8 local_20;
long local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_18 = FUN_00156754(param_1,&local_20);
if (local_18 != 0) {
FUN_001193a6(local_18,param_2);
FUN_00156974(local... | (translation_unit "undefined8 FUN_00119329(undefined8 param_1,undefined8 param_2)\n\n{\n long in_FS_OFFSET;\n undefined8 local_20;\n long local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_18 = FUN_00156754(param_1,&local_20);\n if (local_18 != 0) {\n FUN_001193a6(local_18,par... | 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 + -0x18]
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00156754
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x1... |
char * function_1(char *section,type_1 *conf)
{
long var_1;
type_1 *conf_local;
char *section_local;
char *errmsg;
void *var_3;
long var_6;
var_6 = *(long *)(var_1 + 0x28);
var_3 = var_2(section,&errmsg);
if (var_3 != (void *)0x0) {
var_4(var_3,conf);
var_5(var_3);
errmsg = (char *)0x... | (translation_unit "char * save_settings(char *section,Conf *conf)\n\n{\n long in_FS_OFFSET;\n Conf *conf_local;\n char *section_local;\n char *errmsg;\n void *sesskey;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n sesskey = open_settings_w(section,&errmsg);\n if (sesskey != (void *)0x0) {... | (translation_unit "char * function_1(char *section,type_1 *conf)\n\n{\n long var_1;\n type_1 *conf_local;\n char *section_local;\n char *errmsg;\n void *var_3;\n long var_6;\n \n var_6 = *(long *)(var_1 + 0x28);\n var_3 = var_2(section,&errmsg);\n if (var_3 != (void *)0x0) {\n var_4(var_3,conf);\n var_5... | (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_... |
899_plink_and_plink_strip.c | hmacmd5_do_hmac_internal | FUN_001622f1 | hmacmd5_do_hmac_internal |
void hmacmd5_do_hmac_internal(void *handle,uchar *blk,int len,uchar *blk2,int len2,uchar *hmac)
{
uchar *hmac_local;
uchar *blk2_local;
int len2_local;
int len_local;
uchar *blk_local;
void *handle_local;
hmacmd5_start(handle);
hmacmd5_bytes(handle,blk,len);
if (blk2 != (uchar *)0x0) {
hmacmd... |
void FUN_001622f1(undefined8 param_1,undefined8 param_2,undefined4 param_3,long param_4,
undefined4 param_5,undefined8 param_6)
{
FUN_00162045(param_1);
FUN_001620c5(param_1,param_2,param_3);
if (param_4 != 0) {
FUN_001620c5(param_1,param_4,param_5);
}
FUN_00162100(param_1,param_6);
r... | (translation_unit "void FUN_001622f1(undefined8 param_1,undefined8 param_2,undefined4 param_3,long param_4,\n undefined4 param_5,undefined8 param_6)\n\n{\n FUN_00162045(param_1);\n FUN_001620c5(param_1,param_2,param_3);\n if (param_4 != 0) {\n FUN_001620c5(param_1,param_4,param_5);\n }\n FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV dword ptr [RBP + -0x18],R8D
MOV qword ptr [RBP + -0x28],R9
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00162045
MOV EDX,dword ptr [RBP + -0x14]
MOV R... |
void function_1(void *handle,type_1 *blk,int len,type_1 *var_3,int len2,type_1 *hmac)
{
type_1 *hmac_local;
type_1 *blk2_local;
int len2_local;
int len_local;
type_1 *blk_local;
void *handle_local;
var_1(handle);
var_2(handle,blk,len);
if (var_3 != (type_1 *)0x0) {
var_2(handle,var_3,len2);
... | (translation_unit "void hmacmd5_do_hmac_internal(void *handle,uchar *blk,int len,uchar *blk2,int len2,uchar *hmac)\n\n{\n uchar *hmac_local;\n uchar *blk2_local;\n int len2_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n \n hmacmd5_start(handle);\n hmacmd5_bytes(handle,blk,len);\n if (blk2... | (translation_unit "void function_1(void *handle,type_1 *blk,int len,type_1 *var_3,int len2,type_1 *hmac)\n\n{\n type_1 *hmac_local;\n type_1 *blk2_local;\n int len2_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n \n var_1(handle);\n var_2(handle,blk,len);\n if (var_3 != (type_1 *)0x0) {\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... |
311_pageant_and_pageant_strip.c | pageant_get_keylist2 | FUN_00111dd7 | pageant_get_keylist2 |
void * pageant_get_keylist2(int *length)
{
long lVar1;
void *pvVar2;
long in_FS_OFFSET;
int *length_local;
int resplen;
void *vresponse;
void *ret;
uchar *response;
uchar request [5];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (pageant_local == 0) {
request[4] = '\v';
request[0] = '\0... |
void * FUN_00111dd7(int *param_1)
{
void *pvVar1;
long in_FS_OFFSET;
int local_34;
long local_30;
void *local_28;
long local_20;
undefined local_15;
undefined local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
... | (translation_unit "void * FUN_00111dd7(int *param_1)\n\n{\n void *pvVar1;\n long in_FS_OFFSET;\n int local_34;\n long local_30;\n void *local_28;\n long local_20;\n undefined local_15;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [0x00170750]
TEST EAX,EAX
JNZ 0x00111eb9
MOV byte ptr [RBP + -0x9],0xb
MOV byte ptr [RBP + -0xd],0x0
MOV byte ptr [RBP + -0xc],0x0
MOV byte ptr [RBP + -0xb],0x0
MOV ... |
void * function_1(int *var_9)
{
long var_11;
void *pvVar2;
long var_1;
int *length_local;
int var_4;
void *vresponse;
void *ret;
type_1 *var_8;
type_1 request [5];
var_11 = *(long *)(var_1 + 0x28);
if (var_2 == 0) {
request[4] = '\v';
request[0] = '\0';
request[1] = '\0';
requ... | (translation_unit "void * pageant_get_keylist2(int *length)\n\n{\n long lVar1;\n void *pvVar2;\n long in_FS_OFFSET;\n int *length_local;\n int resplen;\n void *vresponse;\n void *ret;\n uchar *response;\n uchar request [5];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (pageant_local == 0) {\n reques... | (translation_unit "void * function_1(int *var_9)\n\n{\n long var_11;\n void *pvVar2;\n long var_1;\n int *length_local;\n int var_4;\n void *vresponse;\n void *ret;\n type_1 *var_8;\n type_1 request [5];\n \n var_11 = *(long *)(var_1 + 0x28);\n if (var_2 == 0) {\n request[4] = '\v';\n request[0] = '\0... | (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... |
839_plink_and_plink_strip.c | ecp_mul | FUN_0015c023 | ecp_mul |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_mul(ec_point *a,Bignum b)
{
ec_point *peVar1;
Bignum b_local;
ec_point *a_local;
if (a->curve->type == ADDRTYPE_UNSPEC) {
peVar1 = ecp_mulw(a,b);
}
else if (a->curve->type == ADDRTYPE_IPV6) {
peVar1 = ecp_m... |
void FUN_0015c023(undefined8 *param_1,undefined8 param_2)
{
if (*(int *)*param_1 == 0) {
FUN_0015bd8d(param_1,param_2);
}
else if (*(int *)*param_1 == 2) {
FUN_0015bdee(param_1,param_2);
}
else {
FUN_0015bec7(param_1,param_2);
}
return;
}
| (translation_unit "void FUN_0015c023(undefined8 *param_1,undefined8 param_2)\n\n{\n if (*(int *)*param_1 == 0) {\n FUN_0015bd8d(param_1,param_2);\n }\n else if (*(int *)*param_1 == 2) {\n FUN_0015bdee(param_1,param_2);\n }\n else {\n FUN_0015bec7(param_1,param_2);\n }\n return;\n}\n\n" (function_definit... | 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]
MOV EAX,dword ptr [RAX]
TEST EAX,EAX
JNZ 0x0015c055
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0015bd8d
JMP 0x0015c08... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,type_2 b)
{
type_1 *peVar1;
type_2 b_local;
type_1 *a_local;
if (a->curve->type == var_1) {
peVar1 = var_2(a,b);
}
else if (a->curve->type == var_3) {
peVar1 = var_4(a,b);
}
else {
pe... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_mul(ec_point *a,Bignum b)\n\n{\n ec_point *peVar1;\n Bignum b_local;\n ec_point *a_local;\n \n if (a->curve->type == ADDRTYPE_UNSPEC) {\n peVar1 = ecp_mulw(a,b);\n }\n else if (a->curve->type == ADDRT... | (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 type_1 *peVar1;\n type_2 b_local;\n type_1 *a_local;\n \n if (a->curve->type == var_1) {\n peVar1 = var_2(a,b);\n }\n else if (a->curve->type == var_3) {\n peVar1 = ... | (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 ... |
1399_plink_and_plink_strip.c | write_random_seed | FUN_0018d632 | write_random_seed |
void write_random_seed(void *data,int len)
{
char *__file;
int *piVar1;
char *pcVar2;
char *ptr;
ssize_t sVar3;
int len_local;
void *data_local;
int fd;
int ret;
char *fname;
char *dir;
char *errmsg;
__file = make_filename(3,(char *)0x0);
fd = open64(__file,0x41,0x180);
len_local = le... |
void FUN_0018d632(void *param_1,int param_2)
{
char *__file;
int *piVar1;
char *pcVar2;
undefined8 uVar3;
long lVar4;
ssize_t sVar5;
int local_34;
void *local_30;
int local_28;
__file = (char *)FUN_0018be76(3,0);
local_28 = open64(__file,0x41,0x180);
local_34 = param_2;
local_30 = param_1... | (translation_unit "void FUN_0018d632(void *param_1,int param_2)\n\n{\n char *__file;\n int *piVar1;\n char *pcVar2;\n undefined8 uVar3;\n long lVar4;\n ssize_t sVar5;\n int local_34;\n void *local_30;\n int local_28;\n \n __file = (char *)FUN_0018be76(3,0);\n local_28 = open64(__file,0x41,0x180);\n local_3... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV ESI,0x0
MOV EDI,0x3
CALL 0x0018be76
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,0x180
MOV ESI,0x41
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00108630
MOV dword ptr [RBP + -0x20],EAX
CMP dword ptr [RBP ... |
void function_1(void *data,int len)
{
char *__file;
int *piVar1;
char *pcVar2;
char *var_9;
ssize_t sVar3;
int var_10;
void *data_local;
int var_3;
int ret;
char *fname;
char *dir;
char *errmsg;
__file = var_1(3,(char *)0x0);
var_3 = var_2(__file,0x41,0x180);
var_10 = len;
data_loca... | (translation_unit "void write_random_seed(void *data,int len)\n\n{\n char *__file;\n int *piVar1;\n char *pcVar2;\n char *ptr;\n ssize_t sVar3;\n int len_local;\n void *data_local;\n int fd;\n int ret;\n char *fname;\n char *dir;\n char *errmsg;\n \n __file = make_filename(3,(char *)0x0);\n fd = open64(_... | (translation_unit "void function_1(void *data,int len)\n\n{\n char *__file;\n int *piVar1;\n char *pcVar2;\n char *var_9;\n ssize_t sVar3;\n int var_10;\n void *data_local;\n int var_3;\n int ret;\n char *fname;\n char *dir;\n char *errmsg;\n \n __file = var_1(3,(char *)0x0);\n var_3 = var_2(__file,0x41,... | (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... |
473_pageant_and_pageant_strip.c | des_encrypt_blk | FUN_0012ecb9 | des_encrypt_blk |
void des_encrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
DESContext *keys;
des_cbc_encrypt(blk,len,(DESContext *)handle);
return;
}
|
void FUN_0012ecb9(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0012cd0a(param_2,param_3,param_1);
return;
}
| (translation_unit "void FUN_0012ecb9(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0012cd0a(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_0012ecb9(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0012cd0a(param_2,param_3,param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV ECX,dword ptr [RBP + -0x24]
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1(blk,len,(type_2 *)handle);
return;
}
| (translation_unit "void des_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_cbc_encrypt(blk,len,(DESContext *)handle);\n return;\n}\n\n" (function_definition "void des_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n in... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *b... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
438_pageant_and_pageant_strip.c | bitsel | FUN_0012a0a9 | bitsel |
word32 bitsel(word32 *input,int *bitnums,int size)
{
int *piVar1;
int iVar2;
byte bVar3;
int iVar4;
int size_local;
int *bitnums_local;
word32 *input_local;
word32 ret;
int bitpos;
ret = 0;
size_local = size;
bitnums_local = bitnums;
while (iVar4 = size_local + -1, size_local != 0) {
... |
uint FUN_0012a0a9(long param_1,int *param_2,int param_3)
{
int *piVar1;
int iVar2;
byte bVar3;
int iVar4;
int local_2c;
int *local_28;
uint local_10;
local_10 = 0;
local_2c = param_3;
local_28 = param_2;
while (iVar4 = local_2c + -1, local_2c != 0) {
piVar1 = local_28 + 1;
iVar2 = *lo... | (translation_unit "uint FUN_0012a0a9(long param_1,int *param_2,int param_3)\n\n{\n int *piVar1;\n int iVar2;\n byte bVar3;\n int iVar4;\n int local_2c;\n int *local_28;\n uint local_10;\n \n local_10 = 0;\n local_2c = param_3;\n local_28 = param_2;\n while (iVar4 = local_2c + -1, local_2c != 0) {\n piVar... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x8],0x0
JMP 0x0012a116
MOV RAX,qword ptr [RBP + -0x20]
LEA RDX,[RAX + 0x4]
MOV qword ptr [RBP + -0x20],RDX
MOV EAX,dword ptr [RAX]
MOV dword ptr [RBP + -0x4],EAX
SHL dword ptr [RBP... |
type_1 function_1(type_1 *input,int *bitnums,int size)
{
int *piVar1;
int var_4;
type_2 var_6;
int var_5;
int var_1;
int *var_2;
type_1 *input_local;
type_1 var_3;
int bitpos;
var_3 = 0;
var_1 = size;
var_2 = bitnums;
while (var_5 = var_1 + -1, var_1 != 0) {
piVar1 = var_2 + 1;
va... | (translation_unit "word32 bitsel(word32 *input,int *bitnums,int size)\n\n{\n int *piVar1;\n int iVar2;\n byte bVar3;\n int iVar4;\n int size_local;\n int *bitnums_local;\n word32 *input_local;\n word32 ret;\n int bitpos;\n \n ret = 0;\n size_local = size;\n bitnums_local = bitnums;\n while (iVar4 = size_l... | (translation_unit "type_1 function_1(type_1 *input,int *bitnums,int size)\n\n{\n int *piVar1;\n int var_4;\n type_2 var_6;\n int var_5;\n int var_1;\n int *var_2;\n type_1 *input_local;\n type_1 var_3;\n int bitpos;\n \n var_3 = 0;\n var_1 = size;\n var_2 = bitnums;\n while (var_5 = var_1 + -1, var_1 != 0... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointe... |
399_pageant_and_pageant_strip.c | monty_reduce | FUN_00125587 | monty_reduce |
void monty_reduce(BignumInt *x,BignumInt *n,BignumInt *mninv,BignumInt *tmp,int len)
{
BignumCarry BVar1;
int len_local;
BignumInt *tmp_local;
BignumInt *mninv_local;
BignumInt *n_local;
BignumInt *x_local;
int i;
BignumInt carry;
internal_mul_low(x + len,mninv,tmp,len,tmp + len * 3);
internal_... |
void FUN_00125587(long param_1,long param_2,undefined8 param_3,long param_4,int param_5)
{
long lVar1;
int local_14;
FUN_0012518e((long)param_5 * 8 + param_1,param_3,param_4,param_5,(long)(param_5 * 3) * 8 + param_4
);
FUN_00124a0f(param_4,param_2,(long)param_5 * 8 + param_4,param_5,(long)(pa... | (translation_unit "void FUN_00125587(long param_1,long param_2,undefined8 param_3,long param_4,int param_5)\n\n{\n long lVar1;\n int local_14;\n \n FUN_0012518e((long)param_5 * 8 + param_1,param_3,param_4,param_5,(long)(param_5 * 3) * 8 + param_4\n );\n FUN_00124a0f(param_4,param_2,(long)param_5 * 8 +... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV dword ptr [RBP + -0x34],R8D
MOV EDX,dword ptr [RBP + -0x34]
MOV EAX,EDX
ADD EAX,EAX
ADD EAX,EDX
CDQE
LEA RDX,[RAX*0x8]
MOV RAX,qword ptr [RBP + -0x30]
LEA... |
void function_1(type_1 *var_2,type_1 *n,type_1 *mninv,type_1 *var_4,int var_3)
{
type_2 var_8;
int len_local;
type_1 *tmp_local;
type_1 *mninv_local;
type_1 *n_local;
type_1 *x_local;
int var_7;
type_1 carry;
var_1(var_2 + var_3,mninv,var_4,var_3,var_4 + var_3 * 3);
var_5(var_4,n,var_4 + var_3,... | (translation_unit "void monty_reduce(BignumInt *x,BignumInt *n,BignumInt *mninv,BignumInt *tmp,int len)\n\n{\n BignumCarry BVar1;\n int len_local;\n BignumInt *tmp_local;\n BignumInt *mninv_local;\n BignumInt *n_local;\n BignumInt *x_local;\n int i;\n BignumInt carry;\n \n internal_mul_low(x + len,mninv,tmp,l... | (translation_unit "void function_1(type_1 *var_2,type_1 *n,type_1 *mninv,type_1 *var_4,int var_3)\n\n{\n type_2 var_8;\n int len_local;\n type_1 *tmp_local;\n type_1 *mninv_local;\n type_1 *n_local;\n type_1 *x_local;\n int var_7;\n type_1 carry;\n \n var_1(var_2 + var_3,mninv,var_4,var_3,var_4 + var_3 * 3);\... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
1043_plink_and_plink_strip.c | share_halfchannel_cmp | FUN_0017238a | share_halfchannel_cmp |
int share_halfchannel_cmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
share_halfchannel *a;
share_halfchannel *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
... |
undefined8 FUN_0017238a(uint *param_1,uint *param_2)
{
undefined8 uVar1;
if (*param_1 < *param_2) {
uVar1 = 0xffffffff;
}
else if (*param_2 < *param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_0017238a(uint *param_1,uint *param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_1 < *param_2) {\n uVar1 = 0xffffffff;\n }\n else if (*param_2 < *param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0017238a(... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RA... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load s... | (translation_unit "int share_halfchannel_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n share_halfchannel *a;\n share_halfchannel *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n ... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
383_pageant_and_pageant_strip.c | aes_iv | FUN_00124393 | aes_iv |
void aes_iv(void *handle,uchar *iv)
{
uchar *iv_local;
void *handle_local;
int i;
AESContext *ctx;
for (i = 0; i < 4; i = i + 1) {
*(uint *)((long)handle + ((long)i + 0xf4) * 4) =
(uint)iv[i << 2] << 0x18 | (uint)iv[(long)(i << 2) + 1] << 0x10 |
(uint)iv[(long)(i << 2) + 2] << 8 | (... |
void FUN_00124393(long param_1,long param_2)
{
undefined4 local_14;
for (local_14 = 0; local_14 < 4; local_14 = local_14 + 1) {
*(uint *)(param_1 + ((long)local_14 + 0xf4) * 4) =
(uint)*(byte *)(param_2 + (local_14 << 2)) << 0x18 |
(uint)*(byte *)(param_2 + (long)(local_14 << 2) + 1) << 0... | (translation_unit "void FUN_00124393(long param_1,long param_2)\n\n{\n undefined4 local_14;\n \n for (local_14 = 0; local_14 < 4; local_14 = local_14 + 1) {\n *(uint *)(param_1 + ((long)local_14 + 0xf4) * 4) =\n (uint)*(byte *)(param_2 + (local_14 << 2)) << 0x18 |\n (uint)*(byte *)(param_2 + (long... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0xc],0x0
JMP 0x0012443f
MOV EAX,dword ptr [RBP + -0xc]
SHL EAX,0x2
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x20]
ADD RAX,RDX
MOVZX EAX,byte ptr [RAX]... |
void function_1(void *handle,type_1 *iv)
{
type_1 *iv_local;
void *handle_local;
int var_1;
type_2 *ctx;
for (var_1 = 0; var_1 < 4; var_1 = var_1 + 1) {
*(type_3 *)((long)handle + ((long)var_1 + 0xf4) * 4) =
(type_3)iv[var_1 << 2] << 0x18 | (type_3)iv[(long)(var_1 << 2) + 1] << 0x10 |
... | (translation_unit "void aes_iv(void *handle,uchar *iv)\n\n{\n uchar *iv_local;\n void *handle_local;\n int i;\n AESContext *ctx;\n \n for (i = 0; i < 4; i = i + 1) {\n *(uint *)((long)handle + ((long)i + 0xf4) * 4) =\n (uint)iv[i << 2] << 0x18 | (uint)iv[(long)(i << 2) + 1] << 0x10 |\n (uint)iv... | (translation_unit "void function_1(void *handle,type_1 *iv)\n\n{\n type_1 *iv_local;\n void *handle_local;\n int var_1;\n type_2 *ctx;\n \n for (var_1 = 0; var_1 < 4; var_1 = var_1 + 1) {\n *(type_3 *)((long)handle + ((long)var_1 + 0xf4) * 4) =\n (type_3)iv[var_1 << 2] << 0x18 | (type_3)iv[(long)(var_1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
261_pageant_and_pageant_strip.c | bufchain_consume | FUN_0010daa3 | bufchain_consume |
void bufchain_consume(bufchain *ch,int len)
{
bufchain_granule *ptr;
int len_local;
bufchain *ch_local;
int remlen;
bufchain_granule *tmp;
len_local = len;
if (ch->buffersize < len) {
/* WARNING: Subroutine does not return */
__assert_fail("ch->buffersize >= len","misc.c",0x2c... |
void FUN_0010daa3(long *param_1,int param_2)
{
long *plVar1;
int local_24;
int local_14;
local_24 = param_2;
if (*(int *)(param_1 + 2) < param_2) {
/* WARNING: Subroutine does not return */
__assert_fail("ch->buffersize >= len","misc.c",0x2c4,"bufchain_consume");
}
while( true... | (translation_unit "void FUN_0010daa3(long *param_1,int param_2)\n\n{\n long *plVar1;\n int local_24;\n int local_14;\n \n local_24 = param_2;\n if (*(int *)(param_1 + 2) < param_2) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ch->buffersize >= len","misc.c",0x2c4,"bufchain_... | 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 EAX,dword ptr [RAX + 0x10]
CMP dword ptr [RBP + -0x1c],EAX
JLE 0x0010dbcf
LEA RCX,[0x15ba10]
MOV EDX,0x2c4
LEA RSI,[0x15b861]
LEA RDI,[0x15b87b]
CALL 0x00107340
MOV EAX,dword ptr [RBP + ... |
void function_1(type_1 *ch,int var_1)
{
type_2 *ptr;
int var_3;
type_1 *ch_local;
int var_5;
type_2 *tmp;
var_3 = var_1;
if (ch->buffersize < var_1) {
/* WARNING: Subroutine does not return */
var_2("ch->buffersize >= len","misc.c",0x2c4,"bufchain_consume");
}
while( true ... | (translation_unit "void bufchain_consume(bufchain *ch,int len)\n\n{\n bufchain_granule *ptr;\n int len_local;\n bufchain *ch_local;\n int remlen;\n bufchain_granule *tmp;\n \n len_local = len;\n if (ch->buffersize < len) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ch->bu... | (translation_unit "void function_1(type_1 *ch,int var_1)\n\n{\n type_2 *ptr;\n int var_3;\n type_1 *ch_local;\n int var_5;\n type_2 *tmp;\n \n var_3 = var_1;\n if (ch->buffersize < var_1) {\n /* WARNING: Subroutine does not return */\n var_2("ch->buffersize >= len","misc.c",0x2c4,"bufchain... | (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... |
1082_plink_and_plink_strip.c | share_receive | FUN_0017696a | share_receive |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_receive(Plug plug,int urgent,char *data,int len)
{
char cVar1;
int iVar2;
Plug pppVar3;
char *pcVar4;
char *data_local;
int len_local;
int urgent_local;
Plug plug_local;
uchar c;
ssh_sharing_connstate *cs;
int *... |
void FUN_0017696a(long param_1,undefined8 param_2,char *param_3,int param_4)
{
char cVar1;
int iVar2;
undefined4 uVar3;
undefined4 *puVar4;
undefined8 uVar5;
char *local_50;
int local_48;
puVar4 = (undefined4 *)(param_1 + 0x20);
iVar2 = *(int *)(param_1 + 0x20);
local_50 = param_3;
local_48 =... | (translation_unit "void FUN_0017696a(long param_1,undefined8 param_2,char *param_3,int param_4)\n\n{\n char cVar1;\n int iVar2;\n undefined4 uVar3;\n undefined4 *puVar4;\n undefined8 uVar5;\n char *local_50;\n int local_48;\n \n puVar4 = (undefined4 *)(param_1 + 0x20);\n iVar2 = *(int *)(param_1 + 0x20);\n l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV qword ptr [RBP + -0x48],RDX
MOV dword ptr [RBP + -0x40],ECX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword ptr [RBP + -0x28]
ADD RAX,0x20
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_1,int urgent,char *data,int len)
{
char var_4;
int var_2;
type_1 pppVar3;
char *pcVar4;
char *var_10;
int var_3;
int urgent_local;
type_1 plug_local;
type_2 c;
type_3 *cs;
int *crLine;
char *bu... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_receive(Plug plug,int urgent,char *data,int len)\n\n{\n char cVar1;\n int iVar2;\n Plug pppVar3;\n char *pcVar4;\n char *data_local;\n int len_local;\n int urgent_local;\n Plug plug_local;\n uchar c;\n ss... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_1,int urgent,char *data,int len)\n\n{\n char var_4;\n int var_2;\n type_1 pppVar3;\n char *pcVar4;\n char *var_10;\n int var_3;\n int urgent_local;\n type_1 plug_local;\n type_2 c;\n type_... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
1312_plink_and_plink_strip.c | pollwrap_add_fd_events | FUN_001888a9 | pollwrap_add_fd_events |
void pollwrap_add_fd_events(pollwrapper *pw,int fd,int events)
{
long lVar1;
size_t sVar2;
pollfd *ppVar3;
pollwrap_fdtopos *ppVar4;
long in_FS_OFFSET;
int events_local;
int fd_local;
pollwrapper *pw_local;
pollwrap_fdtopos *f2p;
size_t index;
pollwrap_fdtopos *added;
pollwrap_fdtopos f2p_find... |
void FUN_001888a9(long *param_1,int param_2,ushort param_3)
{
long lVar1;
long lVar2;
int *piVar3;
long in_FS_OFFSET;
int *local_40;
int local_28 [6];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (param_2 < 0) {
/* WARNING: Subroutine does not return */
__a... | (translation_unit "void FUN_001888a9(long *param_1,int param_2,ushort param_3)\n\n{\n long lVar1;\n long lVar2;\n int *piVar3;\n long in_FS_OFFSET;\n int *local_40;\n int local_28 [6];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (param_2 < 0) {\n /* WARNING: Subrou... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV dword ptr [RBP + -0x50],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
CMP dword ptr [RBP + -0x4c],0x0
JNS 0x001888ef
LEA RCX,[0x1a2320]
MOV EDX,0x39
LEA RSI,[0x1a22e0]
LEA RDI,[0x1a22ee]
CA... |
void function_1(type_1 *pw,int var_2,int events)
{
long var_11;
size_t var_7;
type_2 *ppVar3;
type_3 *var_10;
long var_1;
int events_local;
int fd_local;
type_1 *pw_local;
type_3 *var_5;
size_t index;
type_3 *added;
type_3 f2p_find;
var_11 = *(long *)(var_1 + 0x28);
if (var_2 < 0) {
... | (translation_unit "void pollwrap_add_fd_events(pollwrapper *pw,int fd,int events)\n\n{\n long lVar1;\n size_t sVar2;\n pollfd *ppVar3;\n pollwrap_fdtopos *ppVar4;\n long in_FS_OFFSET;\n int events_local;\n int fd_local;\n pollwrapper *pw_local;\n pollwrap_fdtopos *f2p;\n size_t index;\n pollwrap_fdtopos *add... | (translation_unit "void function_1(type_1 *pw,int var_2,int events)\n\n{\n long var_11;\n size_t var_7;\n type_2 *ppVar3;\n type_3 *var_10;\n long var_1;\n int events_local;\n int fd_local;\n type_1 *pw_local;\n type_3 *var_5;\n size_t index;\n type_3 *added;\n type_3 f2p_find;\n \n var_11 = *(long *)(var... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
937_plink_and_plink_strip.c | random_timer | FUN_00167828 | random_timer |
void random_timer(void *ctx,ulong now)
{
ulong now_local;
void *ctx_local;
if ((0 < random_active) && (now == next_noise_collection)) {
noise_regular();
next_noise_collection = schedule_timer(300000,random_timer,&pool);
}
return;
}
|
void FUN_00167828(undefined8 param_1,long param_2)
{
if ((0 < DAT_001b4e20) && (param_2 == DAT_001b54b0)) {
FUN_00185413();
DAT_001b54b0 = FUN_0017cf18(300000,FUN_00167828,&DAT_001b4e40);
}
return;
}
| (translation_unit "void FUN_00167828(undefined8 param_1,long param_2)\n\n{\n if ((0 < DAT_001b4e20) && (param_2 == DAT_001b54b0)) {\n FUN_00185413();\n DAT_001b54b0 = FUN_0017cf18(300000,FUN_00167828,&DAT_001b4e40);\n }\n return;\n}\n\n" (function_definition "void FUN_00167828(undefined8 param_1,long param_2)\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV EAX,dword ptr [0x001b4e20]
TEST EAX,EAX
JLE 0x00167873
MOV RAX,qword ptr [0x001b54b0]
CMP qword ptr [RBP + -0x10],RAX
JNZ 0x00167873
CALL 0x00185413
LEA RDX,[0x1b4e40]
LEA RSI,[0x167828]
MOV EDI,0x493e0
CALL 0x0017cf18
... |
void function_1(void *ctx,type_1 var_2)
{
type_1 now_local;
void *ctx_local;
if ((0 < var_1) && (var_2 == var_3)) {
var_4();
var_3 = var_5(300000,function_1,&pool);
}
return;
}
| (translation_unit "void random_timer(void *ctx,ulong now)\n\n{\n ulong now_local;\n void *ctx_local;\n \n if ((0 < random_active) && (now == next_noise_collection)) {\n noise_regular();\n next_noise_collection = schedule_timer(300000,random_timer,&pool);\n }\n return;\n}\n\n" (function_definition "void rand... | (translation_unit "void function_1(void *ctx,type_1 var_2)\n\n{\n type_1 now_local;\n void *ctx_local;\n \n if ((0 < var_1) && (var_2 == var_3)) {\n var_4();\n var_3 = var_5(300000,function_1,&pool);\n }\n return;\n}\n\n" (function_definition "void function_1(void *ctx,type_1 var_2)\n\n{\n type_1 now_local... | (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... |
1134_plink_and_plink_strip.c | telnet_sendbuffer | FUN_0017c44f | telnet_sendbuffer |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int telnet_sendbuffer(void *handle)
{
void *handle_local;
Telnet telnet;
return *(int *)((long)handle + 100);
}
|
undefined4 FUN_0017c44f(long param_1)
{
return *(undefined4 *)(param_1 + 100);
}
| (translation_unit "undefined4 FUN_0017c44f(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 100);\n}\n\n" (function_definition "undefined4 FUN_0017c44f(long param_1)\n\n{\n return *(undefined4 *)(param_1 + 100);\n}" type_identifier (function_declarator "FUN_0017c44f(long param_1)" identifier (parameter_list "(lo... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x64]
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *handle)
{
void *handle_local;
type_1 telnet;
return *(int *)((long)handle + 100);
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint telnet_sendbuffer(void *handle)\n\n{\n void *handle_local;\n Telnet telnet;\n \n return *(int *)((long)handle + 100);\n}\n\n" comment (function_definition "int telnet_sendbuffer(void *handle)\n\n{\n void *handle_loca... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle)\n\n{\n void *handle_local;\n type_1 telnet;\n \n return *(int *)((long)handle + 100);\n}\n\n" comment (function_definition "int function_1(void *handle)\n\n{\n void *handle_local;\n type_1 t... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive... |
1290_plink_and_plink_strip.c | term_ldisc | FUN_00185d92 | term_ldisc |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int term_ldisc(Terminal *term,int mode)
{
int mode_local;
Terminal *term_local;
return 0;
}
|
undefined8 FUN_00185d92(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_00185d92(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_00185d92(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_00185d92(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV EAX,0x0
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *term,int mode)
{
int mode_local;
type_1 *term_local;
return 0;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint term_ldisc(Terminal *term,int mode)\n\n{\n int mode_local;\n Terminal *term_local;\n \n return 0;\n}\n\n" comment (function_definition "int term_ldisc(Terminal *term,int mode)\n\n{\n int mode_local;\n Terminal *term... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *term,int mode)\n\n{\n int mode_local;\n type_1 *term_local;\n \n return 0;\n}\n\n" comment (function_definition "int function_1(type_1 *term,int mode)\n\n{\n int mode_local;\n type_1 *term_local;\... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
973_plink_and_plink_strip.c | ssh_rsakex_encrypt | FUN_0016a7ba | ssh_rsakex_encrypt |
void ssh_rsakex_encrypt(ssh_hash *h,uchar *in,int inlen,uchar *out,int outlen,void *key)
{
_func_void_void_ptr_uchar_ptr *p_Var1;
int iVar2;
int iVar3;
int iVar4;
void *pvVar5;
Bignum_conflict base_in;
Bignum_conflict bn;
void *key_local;
uchar *out_local;
int outlen_local;
int inlen_local;
uc... |
void FUN_0016a7ba(undefined8 *param_1,void *param_2,int param_3,undefined *param_4,int param_5,
long param_6)
{
int iVar1;
code *pcVar2;
undefined uVar3;
int iVar4;
int iVar5;
undefined8 uVar6;
undefined8 uVar7;
int local_44;
undefined *local_38;
iVar1 = *(int *)(param_1 + 5);
... | (translation_unit "void FUN_0016a7ba(undefined8 *param_1,void *param_2,int param_3,undefined *param_4,int param_5,\n long param_6)\n\n{\n int iVar1;\n code *pcVar2;\n undefined uVar3;\n int iVar4;\n int iVar5;\n undefined8 uVar6;\n undefined8 uVar7;\n int local_44;\n undefined *local_38;\n \n ... | PUSH RBP
MOV RBP,RSP
PUSH R12
PUSH RBX
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV dword ptr [RBP + -0x54],EDX
MOV qword ptr [RBP + -0x60],RCX
MOV dword ptr [RBP + -0x58],R8D
MOV qword ptr [RBP + -0x68],R9
MOV RAX,qword ptr [RBP + -0x68]
MOV qword ptr [RBP + -0x28],RAX
MOV RAX,qword... |
void function_1(type_1 *h,type_2 *in,int var_3,type_2 *var_10,int var_6,void *key)
{
type_3 *p_Var1;
int var_2;
int var_4;
int var_5;
void *pvVar5;
type_4 base_in;
type_4 bn;
void *key_local;
type_2 *out_local;
int outlen_local;
int inlen_local;
type_2 *in_local;
type_1 *h_local;
int var_8... | (translation_unit "void ssh_rsakex_encrypt(ssh_hash *h,uchar *in,int inlen,uchar *out,int outlen,void *key)\n\n{\n _func_void_void_ptr_uchar_ptr *p_Var1;\n int iVar2;\n int iVar3;\n int iVar4;\n void *pvVar5;\n Bignum_conflict base_in;\n Bignum_conflict bn;\n void *key_local;\n uchar *out_local;\n int outlen_... | (translation_unit "void function_1(type_1 *h,type_2 *in,int var_3,type_2 *var_10,int var_6,void *key)\n\n{\n type_3 *p_Var1;\n int var_2;\n int var_4;\n int var_5;\n void *pvVar5;\n type_4 base_in;\n type_4 bn;\n void *key_local;\n type_2 *out_local;\n int outlen_local;\n int inlen_local;\n type_2 *in_local... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
998_plink_and_plink_strip.c | SHA512_Block | FUN_0016c243 | SHA512_Block |
void SHA512_Block(SHA512_State *s,uint64 *block)
{
long lVar1;
int iVar2;
uint uVar3;
ulong uVar4;
long lVar5;
long lVar6;
long lVar7;
long lVar8;
ulong uVar9;
ulong uVar10;
ulong uVar11;
ulong uVar12;
ulong uVar13;
ulong uVar14;
ulong uVar15;
ulong uVar16;
ulong uVar17;
ulong uVar... |
void FUN_0016c243(ulong *param_1,long param_2)
{
int iVar1;
uint uVar2;
ulong *puVar3;
ulong uVar4;
long lVar5;
long lVar6;
long lVar7;
long lVar8;
ulong uVar9;
ulong uVar10;
ulong uVar11;
ulong uVar12;
ulong uVar13;
ulong uVar14;
ulong uVar15;
ulong uVar16;
ulong uVar17;
ulong uVa... | (translation_unit "void FUN_0016c243(ulong *param_1,long param_2)\n\n{\n int iVar1;\n uint uVar2;\n ulong *puVar3;\n ulong uVar4;\n long lVar5;\n long lVar6;\n long lVar7;\n long lVar8;\n ulong uVar9;\n ulong uVar10;\n ulong uVar11;\n ulong uVar12;\n ulong uVar13;\n ulong uVar14;\n ulong uVar15;\n ulong... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x5f0
MOV qword ptr [RBP + -0x5e8],RDI
MOV qword ptr [RBP + -0x5f0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x5d4],0x0
JMP 0x0016c2bc
MOV EAX,dword ptr [RBP + -0x5d4]
CDQE
SHL RAX,0x4
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x5f0]
ADD R... |
void function_1(type_1 *s,type_2 *block)
{
long var_35;
int var_14;
type_3 var_6;
type_4 var_12;
long var_3;
long var_4;
long var_15;
long var_16;
type_4 var_20;
type_4 var_11;
type_4 var_21;
type_4 var_10;
type_4 var_9;
type_4 var_25;
type_4 var_8;
type_4 var_24;
type_4 var_7;
typ... | (translation_unit "void SHA512_Block(SHA512_State *s,uint64 *block)\n\n{\n long lVar1;\n int iVar2;\n uint uVar3;\n ulong uVar4;\n long lVar5;\n long lVar6;\n long lVar7;\n long lVar8;\n ulong uVar9;\n ulong uVar10;\n ulong uVar11;\n ulong uVar12;\n ulong uVar13;\n ulong uVar14;\n ulong uVar15;\n ulong ... | (translation_unit "void function_1(type_1 *s,type_2 *block)\n\n{\n long var_35;\n int var_14;\n type_3 var_6;\n type_4 var_12;\n long var_3;\n long var_4;\n long var_15;\n long var_16;\n type_4 var_20;\n type_4 var_11;\n type_4 var_21;\n type_4 var_10;\n type_4 var_9;\n type_4 var_25;\n type_4 var_8;\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... |
864_plink_and_plink_strip.c | ecdh_calculate | FUN_0015fd71 | ecdh_calculate |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Bignum ecdh_calculate(Bignum private,ec_point *public)
{
uint nbytes;
int iVar1;
ec_point *point;
uchar *data;
ec_point *public_local;
Bignum private_local;
int i;
int bytes;
Bignum ret;
ec_point *p;
uchar *byteorder;
... |
long FUN_0015fd71(undefined8 param_1,undefined8 param_2)
{
undefined uVar1;
uint uVar2;
long *plVar3;
long lVar4;
int local_28;
long local_20;
plVar3 = (long *)FUN_0015c023(param_2,param_1);
if (plVar3 == (long *)0x0) {
local_20 = 0;
}
else {
local_20 = plVar3[1];
plVar3[1] = 0;
... | (translation_unit "long FUN_0015fd71(undefined8 param_1,undefined8 param_2)\n\n{\n undefined uVar1;\n uint uVar2;\n long *plVar3;\n long lVar4;\n int local_28;\n long local_20;\n \n plVar3 = (long *)FUN_0015c023(param_2,param_1);\n if (plVar3 == (long *)0x0) {\n local_20 = 0;\n }\n else {\n local_20 = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RDX,qword ptr [RBP + -0x28]
MOV RAX,qword ptr [RBP + -0x30]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0015c023
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x10],0x0
JNZ 0x0015fda9
MOV EAX,0x0
JMP 0x0015fe87
MOV RAX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_1 private,type_2 *public)
{
type_3 nbytes;
int iVar1;
type_2 *var_2;
type_4 *data;
type_2 *public_local;
type_1 private_local;
int var_5;
int bytes;
type_1 ret;
type_2 *p;
type_4 *byteorder;
var... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nBignum ecdh_calculate(Bignum private,ec_point *public)\n\n{\n uint nbytes;\n int iVar1;\n ec_point *point;\n uchar *data;\n ec_point *public_local;\n Bignum private_local;\n int i;\n int bytes;\n Bignum ret;\n ec_po... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_1 private,type_2 *public)\n\n{\n type_3 nbytes;\n int iVar1;\n type_2 *var_2;\n type_4 *data;\n type_2 *public_local;\n type_1 private_local;\n int var_5;\n int bytes;\n type_1 ret;\n type_2 *... | (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: (pointer_declarator declarato... |
486_pageant_and_pageant_strip.c | dss_createkey | FUN_0012ff5e | 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_0012ff5e(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_0012ff5e(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... |
402_pageant_and_pageant_strip.c | reciprocal_word | FUN_00125a9a | reciprocal_word |
BignumInt reciprocal_word(BignumInt d)
{
ulong uVar1;
undefined auVar2 [16];
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auVar6 [16];
undefined auVar7 [16];
undefined auVar8 [16];
undefined auVar9 [16];
undefined auVar10 [16];
undefined auVar11 [16];
long lVa... |
ulong FUN_00125a9a(ulong param_1)
{
ulong uVar1;
undefined auVar2 [16];
undefined auVar3 [16];
undefined auVar4 [16];
undefined auVar5 [16];
undefined auVar6 [16];
undefined auVar7 [16];
undefined auVar8 [16];
undefined auVar9 [16];
undefined auVar10 [16];
undefined auVar11 [16];
long lVar12;
... | (translation_unit "ulong FUN_00125a9a(ulong param_1)\n\n{\n ulong uVar1;\n undefined auVar2 [16];\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [16];\n undefined auVar8 [16];\n undefined auVar9 [16];\n undefined auVar10 [16];\n undefine... | PUSH RBP
MOV RBP,RSP
PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBX
SUB RSP,0x108
MOV qword ptr [RBP + -0xe8],RDI
MOV RAX,qword ptr [RBP + -0xe8]
SHR RAX,0x3f
CMP RAX,0x1
JZ 0x00125ae5
LEA RCX,[0x15fee0]
MOV EDX,0x22c
LEA RSI,[0x15fd60]
LEA RDI,[0x15fdba]
CALL 0x00107340
MOV RAX,qword ptr [RBP + -0xe8]
SHR RAX,0x20
ADD R... |
type_1 function_1(type_1 var_1)
{
type_2 var_14;
type_3 var_2 [16];
type_3 var_6 [16];
type_3 var_8 [16];
type_3 var_3 [16];
type_3 var_7 [16];
type_3 var_9 [16];
type_3 var_4 [16];
type_3 var_17 [16];
type_3 var_10 [16];
type_3 var_18 [16];
long var_16;
type_1 d_local;
int corrections;
... | (translation_unit "BignumInt reciprocal_word(BignumInt d)\n\n{\n ulong uVar1;\n undefined auVar2 [16];\n undefined auVar3 [16];\n undefined auVar4 [16];\n undefined auVar5 [16];\n undefined auVar6 [16];\n undefined auVar7 [16];\n undefined auVar8 [16];\n undefined auVar9 [16];\n undefined auVar10 [16];\n und... | (translation_unit "type_1 function_1(type_1 var_1)\n\n{\n type_2 var_14;\n type_3 var_2 [16];\n type_3 var_6 [16];\n type_3 var_8 [16];\n type_3 var_3 [16];\n type_3 var_7 [16];\n type_3 var_9 [16];\n type_3 var_4 [16];\n type_3 var_17 [16];\n type_3 var_10 [16];\n type_3 var_18 [16];\n long var_16;\n type... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declar... |
447_pageant_and_pageant_strip.c | des_cbc3_decrypt | FUN_0012d3e3 | des_cbc3_decrypt |
void des_cbc3_decrypt(uchar *blk,uint len,DESContext *scheds)
{
uint uVar1;
uint uVar2;
long lVar3;
uint L;
uint R;
long in_FS_OFFSET;
DESContext *scheds_local;
uint len_local;
uchar *blk_local;
word32 iv0;
word32 iv1;
uint i;
word32 xL;
word32 xR;
word32 out [2];
lVar3 = *(long *)(... |
void FUN_0012d3e3(byte *param_1,uint param_2,long param_3)
{
uint uVar1;
uint uVar2;
long in_FS_OFFSET;
byte *local_40;
uint local_2c;
uint local_28;
uint local_24;
uint local_18;
uint local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if ((param_2 & 7) != 0) {
... | (translation_unit "void FUN_0012d3e3(byte *param_1,uint param_2,long param_3)\n\n{\n uint uVar1;\n uint uVar2;\n long in_FS_OFFSET;\n byte *local_40;\n uint local_2c;\n uint local_28;\n uint local_24;\n uint local_18;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV qword ptr [RBP + -0x48],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x3c]
AND EAX,0x7
TEST EAX,EAX
JZ 0x0012d42e
LEA RCX,[0x160ac0]
MOV EDX,0x2bd
LEA RSI,[0x1607... |
void function_1(type_1 *blk,type_2 var_2,type_3 *var_7)
{
type_2 var_11;
type_2 var_12;
long var_13;
type_2 L;
type_2 R;
long var_1;
type_3 *scheds_local;
type_2 len_local;
type_1 *var_5;
type_4 var_9;
type_4 var_10;
type_2 var_4;
type_4 xL;
type_4 xR;
type_4 out [2];
var_13 = *(lon... | (translation_unit "void des_cbc3_decrypt(uchar *blk,uint len,DESContext *scheds)\n\n{\n uint uVar1;\n uint uVar2;\n long lVar3;\n uint L;\n uint R;\n long in_FS_OFFSET;\n DESContext *scheds_local;\n uint len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n uint i;\n word32 xL;\n word32 xR;\n word... | (translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *var_7)\n\n{\n type_2 var_11;\n type_2 var_12;\n long var_13;\n type_2 L;\n type_2 R;\n long var_1;\n type_3 *scheds_local;\n type_2 len_local;\n type_1 *var_5;\n type_4 var_9;\n type_4 var_10;\n type_2 var_4;\n type_4 xL;\n type_4 xR;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
1109_plink_and_plink_strip.c | zlib_freetable | FUN_00179152 | zlib_freetable |
int zlib_freetable(zlib_table **ztab)
{
zlib_table *ptr;
int iVar1;
zlib_table **ztab_local;
int code;
zlib_table *tab;
if (ztab == (zlib_table **)0x0) {
iVar1 = -1;
}
else if (*ztab == (zlib_table *)0x0) {
iVar1 = 0;
}
else {
ptr = *ztab;
for (code = 0; code <= ptr->mask; code ... |
undefined8 FUN_00179152(long *param_1)
{
int *piVar1;
undefined8 uVar2;
int local_14;
if (param_1 == (long *)0x0) {
uVar2 = 0xffffffff;
}
else if (*param_1 == 0) {
uVar2 = 0;
}
else {
piVar1 = (int *)*param_1;
for (local_14 = 0; local_14 <= *piVar1; local_14 = local_14 + 1) {
... | (translation_unit "undefined8 FUN_00179152(long *param_1)\n\n{\n int *piVar1;\n undefined8 uVar2;\n int local_14;\n \n if (param_1 == (long *)0x0) {\n uVar2 = 0xffffffff;\n }\n else if (*param_1 == 0) {\n uVar2 = 0;\n }\n else {\n piVar1 = (int *)*param_1;\n for (local_14 = 0; local_14 <= *piVar1; ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
CMP qword ptr [RBP + -0x18],0x0
JNZ 0x0017916f
MOV EAX,0xffffffff
JMP 0x0017921f
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
JNZ 0x00179185
MOV EAX,0x0
JMP 0x0017921f
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV qw... |
int function_1(type_1 **var_1)
{
type_1 *ptr;
int iVar1;
type_1 **ztab_local;
int var_2;
type_1 *tab;
if (var_1 == (type_1 **)0x0) {
iVar1 = -1;
}
else if (*var_1 == (type_1 *)0x0) {
iVar1 = 0;
}
else {
ptr = *var_1;
for (var_2 = 0; var_2 <= ptr->mask; var_2 = var_2 + 1) {
... | (translation_unit "int zlib_freetable(zlib_table **ztab)\n\n{\n zlib_table *ptr;\n int iVar1;\n zlib_table **ztab_local;\n int code;\n zlib_table *tab;\n \n if (ztab == (zlib_table **)0x0) {\n iVar1 = -1;\n }\n else if (*ztab == (zlib_table *)0x0) {\n iVar1 = 0;\n }\n else {\n ptr = *ztab;\n for ... | (translation_unit "int function_1(type_1 **var_1)\n\n{\n type_1 *ptr;\n int iVar1;\n type_1 **ztab_local;\n int var_2;\n type_1 *tab;\n \n if (var_1 == (type_1 **)0x0) {\n iVar1 = -1;\n }\n else if (*var_1 == (type_1 *)0x0) {\n iVar1 = 0;\n }\n else {\n ptr = *var_1;\n for (var_2 = 0; var_2 <= pt... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
902_plink_and_plink_strip.c | hmacmd5_generate | FUN_00162436 | hmacmd5_generate |
void hmacmd5_generate(void *handle,uchar *blk,int len,ulong seq)
{
ulong seq_local;
int len_local;
uchar *blk_local;
void *handle_local;
hmacmd5_do_hmac_ssh(handle,blk,len,seq,blk + len);
return;
}
|
void FUN_00162436(undefined8 param_1,long param_2,int param_3,undefined8 param_4)
{
FUN_001623a4(param_1,param_2,param_3,param_4,param_3 + param_2);
return;
}
| (translation_unit "void FUN_00162436(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\n\n{\n FUN_001623a4(param_1,param_2,param_3,param_4,param_3 + param_2);\n return;\n}\n\n" (function_definition "void FUN_00162436(undefined8 param_1,long param_2,int param_3,undefined8 param_4)\n\n{\n FUN_001623a4(pa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV EAX,dword ptr [RBP + -0x14]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x10]
LEA RDI,[RDX + RAX*0x1]
MOV RCX,qword ptr [RBP + -0x20]
MOV EDX,dword ptr [RBP +... |
void function_1(void *handle,type_1 *var_2,int var_3,type_2 seq)
{
type_2 seq_local;
int len_local;
type_1 *blk_local;
void *handle_local;
var_1(handle,var_2,var_3,seq,var_2 + var_3);
return;
}
| (translation_unit "void hmacmd5_generate(void *handle,uchar *blk,int len,ulong seq)\n\n{\n ulong seq_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n \n hmacmd5_do_hmac_ssh(handle,blk,len,seq,blk + len);\n return;\n}\n\n" (function_definition "void hmacmd5_generate(void *handle,uchar *blk,int ... | (translation_unit "void function_1(void *handle,type_1 *var_2,int var_3,type_2 seq)\n\n{\n type_2 seq_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n \n var_1(handle,var_2,var_3,seq,var_2 + var_3);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *var_2,int var_3,t... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1384_plink_and_plink_strip.c | read_setting_s | FUN_0018c962 | read_setting_s |
char * read_setting_s(void *handle,char *key)
{
long lVar1;
void *pvVar2;
char *pcVar3;
long in_FS_OFFSET;
char *key_local;
void *handle_local;
char *val;
tree234 *tree;
skeyval *kv;
skeyval tmp;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
tmp.key = key;
if (handle != (void *)0x0) {
pvVar... |
undefined8 FUN_0018c962(long param_1,undefined8 param_2)
{
long lVar1;
undefined8 uVar2;
long in_FS_OFFSET;
long local_40;
undefined8 local_28 [3];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_28[0] = param_2;
if (param_1 != 0) {
lVar1 = FUN_0017e3c4(param_1,local_28,0);
... | (translation_unit "undefined8 FUN_0018c962(long param_1,undefined8 param_2)\n\n{\n long lVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n long local_40;\n undefined8 local_28 [3];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_28[0] = param_2;\n if (param_1 != 0) {\n lVar1 = FUN_0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP + -0x50]
MOV qword ptr [RBP + -0x20],RAX
CMP qword ptr [RBP + -0... |
char * function_1(void *var_2,char *key)
{
long var_9;
void *var_4;
char *pcVar3;
long var_1;
char *key_local;
void *handle_local;
char *var_5;
type_1 *tree;
type_2 *kv;
type_2 tmp;
var_9 = *(long *)(var_1 + 0x28);
tmp.key = key;
if (var_2 != (void *)0x0) {
var_4 = var_3((type_1 *)var... | (translation_unit "char * read_setting_s(void *handle,char *key)\n\n{\n long lVar1;\n void *pvVar2;\n char *pcVar3;\n long in_FS_OFFSET;\n char *key_local;\n void *handle_local;\n char *val;\n tree234 *tree;\n skeyval *kv;\n skeyval tmp;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n tmp.key = key;\n if (... | (translation_unit "char * function_1(void *var_2,char *key)\n\n{\n long var_9;\n void *var_4;\n char *pcVar3;\n long var_1;\n char *key_local;\n void *handle_local;\n char *var_5;\n type_1 *tree;\n type_2 *kv;\n type_2 tmp;\n \n var_9 = *(long *)(var_1 + 0x28);\n tmp.key = key;\n if (var_2 != (void *)0x0)... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
1262_plink_and_plink_strip.c | sk_tcp_socket_error | FUN_00184755 | sk_tcp_socket_error |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * sk_tcp_socket_error(Socket sock)
{
Socket sock_local;
Actual_Socket_conflict s;
return (char *)sock[1];
}
|
undefined8 FUN_00184755(long param_1)
{
return *(undefined8 *)(param_1 + 8);
}
| (translation_unit "undefined8 FUN_00184755(long param_1)\n\n{\n return *(undefined8 *)(param_1 + 8);\n}\n\n" (function_definition "undefined8 FUN_00184755(long param_1)\n\n{\n return *(undefined8 *)(param_1 + 8);\n}" type_identifier (function_declarator "FUN_00184755(long param_1)" identifier (parameter_list "(long p... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(type_1 sock)
{
type_1 sock_local;
type_2 s;
return (char *)sock[1];
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * sk_tcp_socket_error(Socket sock)\n\n{\n Socket sock_local;\n Actual_Socket_conflict s;\n \n return (char *)sock[1];\n}\n\n" comment (function_definition "char * sk_tcp_socket_error(Socket sock)\n\n{\n Socket sock_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 sock)\n\n{\n type_1 sock_local;\n type_2 s;\n \n return (char *)sock[1];\n}\n\n" comment (function_definition "char * function_1(type_1 sock)\n\n{\n type_1 sock_local;\n type_2 s;\n \n return ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
1133_plink_and_plink_strip.c | telnet_send | FUN_0017c2e4 | telnet_send |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int telnet_send(void *handle,char *buf,int len)
{
undefined4 uVar1;
int iVar2;
uchar *puVar3;
uchar *puVar4;
int len_local;
char *buf_local;
void *handle_local;
uchar *p;
Telnet telnet;
uchar *end;
uchar *q;
if (*(lon... |
undefined4 FUN_0017c2e4(long param_1,char *param_2,int param_3)
{
char *pcVar1;
undefined4 uVar2;
char *pcVar3;
undefined *puVar4;
char *local_28;
if (*(long *)(param_1 + 8) == 0) {
uVar2 = 0;
}
else {
pcVar3 = param_2 + param_3;
local_28 = param_2;
while (pcVar1 = local_28, local_2... | (translation_unit "undefined4 FUN_0017c2e4(long param_1,char *param_2,int param_3)\n\n{\n char *pcVar1;\n undefined4 uVar2;\n char *pcVar3;\n undefined *puVar4;\n char *local_28;\n \n if (*(long *)(param_1 + 8) == 0) {\n uVar2 = 0;\n }\n else {\n pcVar3 = param_2 + param_3;\n local_28 = param_2;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV dword ptr [RBP + -0x34],EDX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JNZ 0x0017c316
MOV EAX,0x0
JMP 0x0017c44d
MOV RAX,q... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *handle,char *var_1,int var_2)
{
type_1 uVar1;
int iVar2;
type_2 *var_4;
type_2 *puVar4;
int len_local;
char *buf_local;
void *handle_local;
type_2 *var_3;
type_3 telnet;
type_2 *end;
type_2 *q;
if... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint telnet_send(void *handle,char *buf,int len)\n\n{\n undefined4 uVar1;\n int iVar2;\n uchar *puVar3;\n uchar *puVar4;\n int len_local;\n char *buf_local;\n void *handle_local;\n uchar *p;\n Telnet telnet;\n uchar ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle,char *var_1,int var_2)\n\n{\n type_1 uVar1;\n int iVar2;\n type_2 *var_4;\n type_2 *puVar4;\n int len_local;\n char *buf_local;\n void *handle_local;\n type_2 *var_3;\n type_3 telnet;\n t... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:... |
961_plink_and_plink_strip.c | rsa2_public_blob | FUN_00169205 | rsa2_public_blob |
uchar * rsa2_public_blob(void *key,int *len)
{
int iVar1;
int iVar2;
int iVar3;
int iVar4;
uchar *puVar5;
int *len_local;
void *key_local;
int i;
int elen;
int mlen;
int bloblen;
uchar *p;
RSAKey *rsa;
uchar *blob;
iVar1 = bignum_bitcount(*(Bignum_conflict *)((long)key + 0x10));
iVa... |
undefined * FUN_00169205(long param_1,int *param_2)
{
char cVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
undefined *puVar6;
int local_30;
char *local_20;
iVar2 = FUN_0014dba5(*(undefined8 *)(param_1 + 0x10));
iVar3 = iVar2 + 8;
if (iVar2 + 8 < 0) {
iVar3 = iVar2 + 0xf;
}
local_30... | (translation_unit "undefined * FUN_00169205(long param_1,int *param_2)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n undefined *puVar6;\n int local_30;\n char *local_20;\n \n iVar2 = FUN_0014dba5(*(undefined8 *)(param_1 + 0x10));\n iVar3 = iVar2 + 8;\n if (iVar2 + 8 < 0) {\n iV... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x10]
MOV RDI,RAX
CALL 0x0014dba5
ADD EAX,0x8
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,... |
type_1 * function_1(void *key,int *len)
{
int var_2;
int var_4;
int var_11;
int var_3;
type_1 *var_8;
int *len_local;
void *key_local;
int var_5;
int elen;
int mlen;
int bloblen;
type_1 *var_10;
type_2 *rsa;
type_1 *blob;
var_2 = var_1(*(type_3 *)((long)key + 0x10));
var_3 = var_2 +... | (translation_unit "uchar * rsa2_public_blob(void *key,int *len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n uchar *puVar5;\n int *len_local;\n void *key_local;\n int i;\n int elen;\n int mlen;\n int bloblen;\n uchar *p;\n RSAKey *rsa;\n uchar *blob;\n \n iVar1 = bignum_bitcount(*(Bignum_c... | (translation_unit "type_1 * function_1(void *key,int *len)\n\n{\n int var_2;\n int var_4;\n int var_11;\n int var_3;\n type_1 *var_8;\n int *len_local;\n void *key_local;\n int var_5;\n int elen;\n int mlen;\n int bloblen;\n type_1 *var_10;\n type_2 *rsa;\n type_1 *blob;\n \n var_2 = var_1(*(type_3 *)((... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
187_pageant_and_pageant_strip.c | queue_toplevel_callback | FUN_00108138 | queue_toplevel_callback |
void queue_toplevel_callback(toplevel_callback_fn_t fn,void *ctx)
{
callback *pcVar1;
callback *pcVar2;
void *ctx_local;
toplevel_callback_fn_t fn_local;
callback *cb;
pcVar2 = (callback *)safemalloc(1,0x18);
pcVar2->fn = fn;
pcVar2->ctx = ctx;
if (((notify_frontend != (toplevel_callback_notify_f... |
void FUN_00108138(undefined8 param_1,undefined8 param_2)
{
undefined8 *puVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)FUN_0010dd24(1,0x18);
puVar2[1] = param_1;
puVar2[2] = param_2;
if (((DAT_001706f0 != (code *)0x0) && (DAT_001706e0 == (undefined8 *)0x0)) && (DAT_001706d8 == 0))
{
(*DAT_0017... | (translation_unit "void FUN_00108138(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n undefined8 *puVar2;\n \n puVar2 = (undefined8 *)FUN_0010dd24(1,0x18);\n puVar2[1] = param_1;\n puVar2[2] = param_2;\n if (((DAT_001706f0 != (code *)0x0) && (DAT_001706e0 == (undefined8 *)0x0)) && (DAT_001706d... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV ESI,0x18
MOV EDI,0x1
CALL 0x0010dd24
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX + 0x8],RDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -... |
void function_1(type_1 fn,void *ctx)
{
type_2 *pcVar1;
type_2 *pcVar2;
void *ctx_local;
type_1 fn_local;
type_2 *cb;
pcVar2 = (type_2 *)var_1(1,0x18);
pcVar2->fn = fn;
pcVar2->ctx = ctx;
if (((var_2 != (type_3)0x0) && (var_3 == (type_2 *)0x0)) &&
(var_4 == (type_2 *)0x0)) {
(*var_2)(fron... | (translation_unit "void queue_toplevel_callback(toplevel_callback_fn_t fn,void *ctx)\n\n{\n callback *pcVar1;\n callback *pcVar2;\n void *ctx_local;\n toplevel_callback_fn_t fn_local;\n callback *cb;\n \n pcVar2 = (callback *)safemalloc(1,0x18);\n pcVar2->fn = fn;\n pcVar2->ctx = ctx;\n if (((notify_frontend ... | (translation_unit "void function_1(type_1 fn,void *ctx)\n\n{\n type_2 *pcVar1;\n type_2 *pcVar2;\n void *ctx_local;\n type_1 fn_local;\n type_2 *cb;\n \n pcVar2 = (type_2 *)var_1(1,0x18);\n pcVar2->fn = fn;\n pcVar2->ctx = ctx;\n if (((var_2 != (type_3)0x0) && (var_3 == (type_2 *)0x0)) &&\n (var_4 == (typ... | (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... |
1347_plink_and_plink_strip.c | serial_init | FUN_0018a54d | serial_init |
char * serial_init(void *frontend_handle,void **backend_handle,Conf *conf,char *host,int port,
char **realhost,int nodelay,int keepalive)
{
int iVar1;
Serial serial_00;
char *pcVar2;
char *pcVar3;
char **realhost_local;
int port_local;
char *host_local;
Conf *conf_local;
void **bac... |
char * FUN_0018a54d(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4,
undefined8 param_5,undefined8 *param_6)
{
int iVar1;
undefined8 *puVar2;
char *__file;
undefined8 uVar3;
char *pcVar4;
puVar2 = (undefined8 *)FUN_00111901(1,0x30);
*param_2 = puVar2;
... | (translation_unit "char * FUN_0018a54d(undefined8 param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 *param_6)\n\n{\n int iVar1;\n undefined8 *puVar2;\n char *__file;\n undefined8 uVar3;\n char *pcVar4;\n \n puVar2 = (undefined8 *)FUN_00111901(1,0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV qword ptr [RBP + -0x40],RCX
MOV dword ptr [RBP + -0x44],R8D
MOV qword ptr [RBP + -0x50],R9
MOV ESI,0x30
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP... |
char * function_1(void *frontend_handle,void **backend_handle,type_1 *conf,char *host,int port,
char **realhost,int nodelay,int keepalive)
{
int iVar1;
type_2 serial_00;
char *pcVar2;
char *var_10;
char **realhost_local;
int port_local;
char *host_local;
type_1 *conf_local;
void **... | (translation_unit "char * serial_init(void *frontend_handle,void **backend_handle,Conf *conf,char *host,int port,\n char **realhost,int nodelay,int keepalive)\n\n{\n int iVar1;\n Serial serial_00;\n char *pcVar2;\n char *pcVar3;\n char **realhost_local;\n int port_local;\n char *host_local;\n C... | (translation_unit "char * function_1(void *frontend_handle,void **backend_handle,type_1 *conf,char *host,int port,\n char **realhost,int nodelay,int keepalive)\n\n{\n int iVar1;\n type_2 serial_00;\n char *pcVar2;\n char *var_10;\n char **realhost_local;\n int port_local;\n char *host_local;\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... |
401_pageant_and_pageant_strip.c | bn_clz | FUN_00125a4c | bn_clz |
int bn_clz(BignumInt x)
{
BignumInt x_local;
int i;
int ret;
ret = 0;
x_local = x;
for (i = 0x20; i != 0; i = i >> 1) {
if (x_local >> (0x40U - (sbyte)i & 0x3f) == 0) {
x_local = x_local << (sbyte)i;
ret = ret + i;
}
}
return ret;
}
|
int FUN_00125a4c(ulong param_1)
{
undefined8 local_20;
undefined4 local_10;
undefined4 local_c;
local_c = 0;
local_20 = param_1;
for (local_10 = 0x20; local_10 != 0; local_10 = local_10 >> 1) {
if (local_20 >> (0x40U - (sbyte)local_10 & 0x3f) == 0) {
local_20 = local_20 << (sbyte)local_10;
... | (translation_unit "int FUN_00125a4c(ulong param_1)\n\n{\n undefined8 local_20;\n undefined4 local_10;\n undefined4 local_c;\n \n local_c = 0;\n local_20 = param_1;\n for (local_10 = 0x20; local_10 != 0; local_10 = local_10 >> 1) {\n if (local_20 >> (0x40U - (sbyte)local_10 & 0x3f) == 0) {\n local_20 = lo... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
MOV dword ptr [RBP + -0x8],0x20
JMP 0x00125a8f
MOV EAX,0x40
SUB EAX,dword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x18]
MOV ECX,EAX
SHR RDX,CL
MOV RAX,RDX
TEST RAX,RAX
JNZ 0x00125a8c
MOV EAX,dword ptr [RBP + -0x8]
MOV ECX,EAX
SHL qwo... |
int function_1(type_1 x)
{
type_1 var_2;
int var_1;
int var_3;
var_3 = 0;
var_2 = x;
for (var_1 = 0x20; var_1 != 0; var_1 = var_1 >> 1) {
if (var_2 >> (0x40U - (type_2)var_1 & 0x3f) == 0) {
var_2 = var_2 << (type_2)var_1;
var_3 = var_3 + var_1;
}
}
return var_3;
}
| (translation_unit "int bn_clz(BignumInt x)\n\n{\n BignumInt x_local;\n int i;\n int ret;\n \n ret = 0;\n x_local = x;\n for (i = 0x20; i != 0; i = i >> 1) {\n if (x_local >> (0x40U - (sbyte)i & 0x3f) == 0) {\n x_local = x_local << (sbyte)i;\n ret = ret + i;\n }\n }\n return ret;\n}\n\n" (functi... | (translation_unit "int function_1(type_1 x)\n\n{\n type_1 var_2;\n int var_1;\n int var_3;\n \n var_3 = 0;\n var_2 = x;\n for (var_1 = 0x20; var_1 != 0; var_1 = var_1 >> 1) {\n if (var_2 >> (0x40U - (type_2)var_1 & 0x3f) == 0) {\n var_2 = var_2 << (type_2)var_1;\n var_3 = var_3 + var_1;\n }\n }\... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declara... |
822_plink_and_plink_strip.c | ecf_double | FUN_00159cd6 | ecf_double |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Bignum ecf_double(Bignum a,ec_curve *curve)
{
int iVar1;
Bignum_conflict a_00;
Bignum_conflict pBVar2;
ec_curve *curve_local;
Bignum a_local;
Bignum ret;
Bignum tmp;
a_00 = bignum_lshift((Bignum_conflict)a,1);
iVar1 = bignu... |
long FUN_00159cd6(undefined8 param_1,long param_2)
{
int iVar1;
long lVar2;
long lVar3;
lVar2 = FUN_0014e1a3(param_1,1);
iVar1 = FUN_0014debe(lVar2,*(undefined8 *)(param_2 + 0x20));
if (-1 < iVar1) {
lVar3 = FUN_0014e8cf(lVar2,*(undefined8 *)(param_2 + 0x20));
if (lVar3 == 0) {
... | (translation_unit "long FUN_00159cd6(undefined8 param_1,long param_2)\n\n{\n int iVar1;\n long lVar2;\n long lVar3;\n \n lVar2 = FUN_0014e1a3(param_1,1);\n iVar1 = FUN_0014debe(lVar2,*(undefined8 *)(param_2 + 0x20));\n if (-1 < iVar1) {\n lVar3 = FUN_0014e8cf(lVar2,*(undefined8 *)(param_2 + 0x20));\n if (l... | 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 ESI,0x1
MOV RDI,RAX
CALL 0x0014e1a3
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV RDX,qword ptr [RAX + 0x20]
MOV RAX,qword ptr [RBP + -0x10]
MOV RSI,RDX
MOV RDI,RAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_1 a,type_2 *curve)
{
int var_3;
type_3 a_00;
type_3 var_5;
type_2 *curve_local;
type_1 a_local;
type_1 ret;
type_1 tmp;
a_00 = var_1((type_3)a,1);
var_3 = var_2(a_00,(type_3)curve->p);
if (-1 < var_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nBignum ecf_double(Bignum a,ec_curve *curve)\n\n{\n int iVar1;\n Bignum_conflict a_00;\n Bignum_conflict pBVar2;\n ec_curve *curve_local;\n Bignum a_local;\n Bignum ret;\n Bignum tmp;\n \n a_00 = bignum_lshift((Bignum... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_1 a,type_2 *curve)\n\n{\n int var_3;\n type_3 a_00;\n type_3 var_5;\n type_2 *curve_local;\n type_1 a_local;\n type_1 ret;\n type_1 tmp;\n \n a_00 = var_1((type_3)a,1);\n var_3 = var_2(a_00,(t... | (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: (pointer_declarator declarato... |
1091_plink_and_plink_strip.c | nullplug_closing | FUN_00177301 | nullplug_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void nullplug_closing(Plug plug,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug plug_local;
return;
}
|
void FUN_00177301(void)
{
return;
}
| (translation_unit "void FUN_00177301(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_00177301(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00177301(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
MOV dword ptr [RBP + -0x14],EDX
MOV dword ptr [RBP + -0x18],ECX
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 plug_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid nullplug_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n Plug plug_local;\n \n return;\n}\n\n" comment (function_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,char *error_msg,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 plug_local;\n \n return;\n}\n\n" comment (function_de... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
859_plink_and_plink_strip.c | ecdsa_openssh_createkey | FUN_0015e345 | ecdsa_openssh_createkey |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * ecdsa_openssh_createkey(ssh_signkey *self,uchar **blob,int *len)
{
int iVar1;
Bignum pvVar2;
ec_key *peVar3;
long in_FS_OFFSET;
int *len_local;
uchar **blob_local;
ssh_signkey *self_local;
int slen;
char *p;
ecsign_ex... |
long * FUN_0015e345(long param_1,undefined8 param_2,undefined8 param_3)
{
int iVar1;
long lVar2;
long *plVar3;
long in_FS_OFFSET;
undefined local_44 [4];
long local_40;
undefined8 *local_38;
undefined8 local_30;
int *local_28;
long *local_20;
long local_18;
long local_10;
local_10 = *(lon... | (translation_unit "long * FUN_0015e345(long param_1,undefined8 param_2,undefined8 param_3)\n\n{\n int iVar1;\n long lVar2;\n long *plVar3;\n long in_FS_OFFSET;\n undefined local_44 [4];\n long local_40;\n undefined8 *local_38;\n undefined8 local_30;\n int *local_28;\n long *local_20;\n long local_18;\n long... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x48],RDI
MOV qword ptr [RBP + -0x50],RSI
MOV qword ptr [RBP + -0x58],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV RAX,qword ptr [RAX + 0x70]
MOV qword ptr [RBP + -0x30],RAX
MOV RAX,qword ptr [RBP +... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void * function_1(type_1 *self,type_2 **blob,int *len)
{
int var_8;
type_3 pvVar2;
type_4 *peVar3;
long var_1;
int *len_local;
type_2 **blob_local;
type_1 *self_local;
int slen;
char *var_3;
type_5 *extra;
char **b;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * ecdsa_openssh_createkey(ssh_signkey *self,uchar **blob,int *len)\n\n{\n int iVar1;\n Bignum pvVar2;\n ec_key *peVar3;\n long in_FS_OFFSET;\n int *len_local;\n uchar **blob_local;\n ssh_signkey *self_local;\n in... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid * function_1(type_1 *self,type_2 **blob,int *len)\n\n{\n int var_8;\n type_3 pvVar2;\n type_4 *peVar3;\n long var_1;\n int *len_local;\n type_2 **blob_local;\n type_1 *self_local;\n int slen;\n char *var_3;\n t... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration t... |
1075_plink_and_plink_strip.c | share_xchannel_add_message | FUN_0017406c | share_xchannel_add_message |
share_xchannel_message * share_xchannel_add_message(share_xchannel *xc,int type,int len)
{
share_xchannel_message *psVar1;
int len_local;
int type_local;
share_xchannel *xc_local;
uchar *block;
share_xchannel_message *msg;
psVar1 = (share_xchannel_message *)safemalloc((long)len + 0x20,1);
psVar1->d... |
undefined8 * FUN_0017406c(long param_1,undefined4 param_2,int param_3)
{
undefined8 *puVar1;
puVar1 = (undefined8 *)FUN_00111901((long)param_3 + 0x20,1);
puVar1[2] = puVar1 + 4;
*(int *)(puVar1 + 3) = param_3;
*(undefined4 *)(puVar1 + 1) = param_2;
if (*(long *)(param_1 + 0x18) == 0) {
*(undefined8... | (translation_unit "undefined8 * FUN_0017406c(long param_1,undefined4 param_2,int param_3)\n\n{\n undefined8 *puVar1;\n \n puVar1 = (undefined8 *)FUN_00111901((long)param_3 + 0x20,1);\n puVar1[2] = puVar1 + 4;\n *(int *)(puVar1 + 3) = param_3;\n *(undefined4 *)(puVar1 + 1) = param_2;\n if (*(long *)(param_1 + 0x1... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV EAX,dword ptr [RBP + -0x20]
CDQE
ADD RAX,0x20
MOV ESI,0x1
MOV RDI,RAX
CALL 0x00111901
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV qword ptr [RBP + -0x8],RAX
MOV R... |
type_1 * function_1(type_2 *xc,int type,int len)
{
type_1 *var_2;
int len_local;
int type_local;
type_2 *xc_local;
type_3 *block;
type_1 *msg;
var_2 = (type_1 *)var_1((long)len + 0x20,1);
var_2->data = (type_3 *)(var_2 + 1);
var_2->datalen = len;
var_2->type = type;
if (xc->msgtail == (type_1... | (translation_unit "share_xchannel_message * share_xchannel_add_message(share_xchannel *xc,int type,int len)\n\n{\n share_xchannel_message *psVar1;\n int len_local;\n int type_local;\n share_xchannel *xc_local;\n uchar *block;\n share_xchannel_message *msg;\n \n psVar1 = (share_xchannel_message *)safemalloc((lon... | (translation_unit "type_1 * function_1(type_2 *xc,int type,int len)\n\n{\n type_1 *var_2;\n int len_local;\n int type_local;\n type_2 *xc_local;\n type_3 *block;\n type_1 *msg;\n \n var_2 = (type_1 *)var_1((long)len + 0x20,1);\n var_2->data = (type_3 *)(var_2 + 1);\n var_2->datalen = len;\n var_2->type = typ... | (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... |
474_pageant_and_pageant_strip.c | des_decrypt_blk | FUN_0012ecec | des_decrypt_blk |
void des_decrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
DESContext *keys;
des_cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x88));
return;
}
|
void FUN_0012ecec(long param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0012cef9(param_2,param_3,param_1 + 0x88);
return;
}
| (translation_unit "void FUN_0012ecec(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0012cef9(param_2,param_3,param_1 + 0x88);\n return;\n}\n\n" (function_definition "void FUN_0012ecec(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0012cef9(param_2,param_3,param_1 + 0x88);\n return;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x88]
MOV ECX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1(blk,len,(type_2 *)((long)handle + 0x88));
return;
}
| (translation_unit "void des_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x88));\n return;\n}\n\n" (function_definition "void des_decrypt_blk(void *handle,uchar *blk,int ... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)((long)handle + 0x88));\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_loca... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1062_plink_and_plink_strip.c | share_find_xchannel_by_server | FUN_00172d8f | share_find_xchannel_by_server |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_xchannel * share_find_xchannel_by_server(ssh_sharing_connstate *cs,uint server_id)
{
long lVar1;
share_xchannel *psVar2;
long in_FS_OFFSET;
uint server_id_local;
ssh_sharing_connstate *cs_local;
share_xchannel dummyxc;
lV... |
void FUN_00172d8f(long param_1,undefined4 param_2)
{
long in_FS_OFFSET;
undefined local_38 [4];
undefined4 local_34;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_34 = param_2;
FUN_0017e3c4(*(undefined8 *)(param_1 + 0x4068),local_38,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x2... | (translation_unit "void FUN_00172d8f(long param_1,undefined4 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_38 [4];\n undefined4 local_34;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_34 = param_2;\n FUN_0017e3c4(*(undefined8 *)(param_1 + 0x4068),local_38,0);\n if (local_10 !=... | 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]
MOV dword ptr [RBP + -0x2c],EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX + 0x4068]
LEA RCX,[RBP + -0x30]
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *cs,type_3 server_id)
{
long var_3;
type_1 *psVar2;
long var_1;
type_3 server_id_local;
type_2 *cs_local;
type_1 dummyxc;
var_3 = *(long *)(var_1 + 0x28);
dummyxc.server_id = server_id;
psVar2 = (... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_xchannel * share_find_xchannel_by_server(ssh_sharing_connstate *cs,uint server_id)\n\n{\n long lVar1;\n share_xchannel *psVar2;\n long in_FS_OFFSET;\n uint server_id_local;\n ssh_sharing_connstate *cs_local;\n sha... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,type_3 server_id)\n\n{\n long var_3;\n type_1 *psVar2;\n long var_1;\n type_3 server_id_local;\n type_2 *cs_local;\n type_1 dummyxc;\n \n var_3 = *(long *)(var_1 + 0x28);\n dummyxc.serv... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
1040_plink_and_plink_strip.c | hmac_sha1_simple | FUN_00172079 | hmac_sha1_simple |
void hmac_sha1_simple(void *key,int keylen,void *data,int datalen,uchar *output)
{
long lVar1;
long in_FS_OFFSET;
uchar *output_local;
void *data_local;
int datalen_local;
int keylen_local;
void *key_local;
SHA_State states [2];
uchar intermediate [20];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
... |
void FUN_00172079(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4,
undefined8 param_5)
{
long in_FS_OFFSET;
undefined local_e8 [96];
undefined local_88 [96];
undefined local_28 [24];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_001718ee(lo... | (translation_unit "void FUN_00172079(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4,\n undefined8 param_5)\n\n{\n long in_FS_OFFSET;\n undefined local_e8 [96];\n undefined local_88 [96];\n undefined local_28 [24];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSE... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x100
MOV qword ptr [RBP + -0xe8],RDI
MOV dword ptr [RBP + -0xec],ESI
MOV qword ptr [RBP + -0xf8],RDX
MOV dword ptr [RBP + -0xf0],ECX
MOV qword ptr [RBP + -0x100],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EDX,dword ptr [RBP + -0xec]
MOV RCX,qword ptr [RBP... |
void function_1(void *key,int keylen,void *data,int datalen,type_1 *output)
{
long var_6;
long var_1;
type_1 *output_local;
void *data_local;
int datalen_local;
int keylen_local;
void *key_local;
type_2 var_5 [2];
type_1 intermediate [20];
var_6 = *(long *)(var_1 + 0x28);
var_2(var_5,(type_1 ... | (translation_unit "void hmac_sha1_simple(void *key,int keylen,void *data,int datalen,uchar *output)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n uchar *output_local;\n void *data_local;\n int datalen_local;\n int keylen_local;\n void *key_local;\n SHA_State states [2];\n uchar intermediate [20];\n \n lVar1 = *(... | (translation_unit "void function_1(void *key,int keylen,void *data,int datalen,type_1 *output)\n\n{\n long var_6;\n long var_1;\n type_1 *output_local;\n void *data_local;\n int datalen_local;\n int keylen_local;\n void *key_local;\n type_2 var_5 [2];\n type_1 intermediate [20];\n \n var_6 = *(long *)(var_1 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifi... |
424_pageant_and_pageant_strip.c | bignum_lshift | FUN_00128b93 | bignum_lshift |
Bignum_conflict bignum_lshift(Bignum_conflict a,int shift)
{
ulong uVar1;
int iVar2;
int iVar3;
Bignum_conflict pBVar4;
byte bVar5;
int shift_local;
Bignum_conflict a_local;
int i;
int bits;
int shiftWords;
int shiftBits;
BignumInt carry;
Bignum_conflict ret;
BignumInt from;
if (shift... |
long FUN_00128b93(long *param_1,int param_2)
{
ulong uVar1;
int iVar2;
int iVar3;
long lVar4;
byte bVar5;
int local_30;
ulong local_20;
if (param_2 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("shift >= 0","sshbn.c",0x69b,"bignum_lshift");
}
iVar2 = FUN... | (translation_unit "long FUN_00128b93(long *param_1,int param_2)\n\n{\n ulong uVar1;\n int iVar2;\n int iVar3;\n long lVar4;\n byte bVar5;\n int local_30;\n ulong local_20;\n \n if (param_2 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("shift >= 0","sshbn.c",0x69b,"big... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
CMP dword ptr [RBP + -0x3c],0x0
JNS 0x00128bc7
LEA RCX,[0x15ff88]
MOV EDX,0x69b
LEA RSI,[0x15fd60]
LEA RDI,[0x15fe56]
CALL 0x00107340
MOV RAX,qword ptr [RBP + -0x38]
MOV RDI,RAX
CALL 0x00128595
MOV EDX,EAX
MOV EAX,dword pt... |
type_1 function_1(type_1 var_9,int var_1)
{
type_2 var_11;
int var_4;
int var_5;
type_1 var_8;
type_3 var_12;
int shift_local;
type_1 a_local;
int var_10;
int bits;
int shiftWords;
int shiftBits;
type_4 var_13;
type_1 ret;
type_4 from;
if (var_1 < 0) {
/* WARNING: ... | (translation_unit "Bignum_conflict bignum_lshift(Bignum_conflict a,int shift)\n\n{\n ulong uVar1;\n int iVar2;\n int iVar3;\n Bignum_conflict pBVar4;\n byte bVar5;\n int shift_local;\n Bignum_conflict a_local;\n int i;\n int bits;\n int shiftWords;\n int shiftBits;\n BignumInt carry;\n Bignum_conflict ret;... | (translation_unit "type_1 function_1(type_1 var_9,int var_1)\n\n{\n type_2 var_11;\n int var_4;\n int var_5;\n type_1 var_8;\n type_3 var_12;\n int shift_local;\n type_1 a_local;\n int var_10;\n int bits;\n int shiftWords;\n int shiftBits;\n type_4 var_13;\n type_1 ret;\n type_4 from;\n \n if (var_1 < 0... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statemen... |
1364_plink_and_plink_strip.c | serial_provide_logctx | FUN_0018abfa | serial_provide_logctx |
void serial_provide_logctx(void *handle,void *logctx)
{
void *logctx_local;
void *handle_local;
return;
}
|
void FUN_0018abfa(void)
{
return;
}
| (translation_unit "void FUN_0018abfa(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0018abfa(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0018abfa(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(void *handle,void *logctx)
{
void *logctx_local;
void *handle_local;
return;
}
| (translation_unit "void serial_provide_logctx(void *handle,void *logctx)\n\n{\n void *logctx_local;\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void serial_provide_logctx(void *handle,void *logctx)\n\n{\n void *logctx_local;\n void *handle_local;\n \n return;\n}" primitive_type (function_de... | (translation_unit "void function_1(void *handle,void *logctx)\n\n{\n void *logctx_local;\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *handle,void *logctx)\n\n{\n void *logctx_local;\n void *handle_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: (pointer_... |
1202_plink_and_plink_strip.c | gss_init | FUN_00180ce9 | gss_init |
void gss_init(ssh_gss_library *lib,void *dlhandle,int id,char *msg)
{
t_gss_delete_sec_context p_Var1;
t_gss_display_status p_Var2;
t_gss_get_mic p_Var3;
t_gss_import_name p_Var4;
t_gss_init_sec_context p_Var5;
t_gss_release_buffer p_Var6;
t_gss_release_cred p_Var7;
t_gss_release_name p_Var8;
char *... |
void FUN_00180ce9(undefined4 *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)
{
undefined8 uVar1;
*param_1 = param_3;
*(undefined8 *)(param_1 + 2) = param_4;
*(undefined8 *)(param_1 + 0x28) = param_2;
uVar1 = dlsym(param_2,"gss_delete_sec_context");
*(undefined8 *)(param_1 + 0x18) = u... | (translation_unit "void FUN_00180ce9(undefined4 *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n undefined8 uVar1;\n \n *param_1 = param_3;\n *(undefined8 *)(param_1 + 2) = param_4;\n *(undefined8 *)(param_1 + 0x28) = param_2;\n uVar1 = dlsym(param_2,"gss_delete_sec_context");\n *(undefi... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0x14]
MOV dword ptr [RAX],EDX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RBP + -0x20]
MOV qword... |
void function_1(type_1 *lib,void *dlhandle,int id,char *msg)
{
type_2 p_Var1;
type_3 p_Var2;
type_4 p_Var3;
type_5 p_Var4;
type_6 p_Var5;
type_7 p_Var6;
type_8 p_Var7;
type_9 p_Var8;
char *msg_local;
int id_local;
void *dlhandle_local;
type_1 *lib_local;
lib->id = id;
lib->gsslogmsg = m... | (translation_unit "void gss_init(ssh_gss_library *lib,void *dlhandle,int id,char *msg)\n\n{\n t_gss_delete_sec_context p_Var1;\n t_gss_display_status p_Var2;\n t_gss_get_mic p_Var3;\n t_gss_import_name p_Var4;\n t_gss_init_sec_context p_Var5;\n t_gss_release_buffer p_Var6;\n t_gss_release_cred p_Var7;\n t_gss_r... | (translation_unit "void function_1(type_1 *lib,void *dlhandle,int id,char *msg)\n\n{\n type_2 p_Var1;\n type_3 p_Var2;\n type_4 p_Var3;\n type_5 p_Var4;\n type_6 p_Var5;\n type_7 p_Var6;\n type_8 p_Var7;\n type_9 p_Var8;\n char *msg_local;\n int id_local;\n void *dlhandle_local;\n type_1 *lib_local;\n \n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
337_pageant_and_pageant_strip.c | get_line_end | FUN_00115418 | get_line_end |
int get_line_end(char *data,int len)
{
int iVar1;
int len_local;
char *data_local;
int off;
off = 0;
do {
if (len <= off) {
return -1;
}
if (data[off] == '\n') {
iVar1 = off + 1;
if (iVar1 < 3) {
return iVar1;
}
if (((off + 2 < len) && (data[(long)iVar1... |
int FUN_00115418(long param_1,int param_2)
{
int iVar1;
int local_c;
local_c = 0;
do {
if (param_2 <= local_c) {
return -1;
}
if (*(char *)(param_1 + local_c) == '\n') {
iVar1 = local_c + 1;
if (iVar1 < 3) {
return iVar1;
}
if (((local_c + 2 < param_2) && (... | (translation_unit "int FUN_00115418(long param_1,int param_2)\n\n{\n int iVar1;\n int local_c;\n \n local_c = 0;\n do {\n if (param_2 <= local_c) {\n return -1;\n }\n if (*(char *)(param_1 + local_c) == '\n') {\n iVar1 = local_c + 1;\n if (iVar1 < 3) {\n return iVar1;\n }\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x4],0x0
JMP 0x00115495
MOV EAX,dword ptr [RBP + -0x4]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,RDX
MOVZX EAX,byte ptr [RAX]
CMP AL,0xa
JNZ 0x00115491
ADD dword ptr [RBP + -0x4],0x1
CMP dword ptr [RB... |
int function_1(char *data,int var_1)
{
int var_3;
int len_local;
char *data_local;
int var_2;
var_2 = 0;
do {
if (var_1 <= var_2) {
return -1;
}
if (data[var_2] == '\n') {
var_3 = var_2 + 1;
if (var_3 < 3) {
return var_3;
}
if (((var_2 + 2 < var_1) && (... | (translation_unit "int get_line_end(char *data,int len)\n\n{\n int iVar1;\n int len_local;\n char *data_local;\n int off;\n \n off = 0;\n do {\n if (len <= off) {\n return -1;\n }\n if (data[off] == '\n') {\n iVar1 = off + 1;\n if (iVar1 < 3) {\n return iVar1;\n }\n if ((... | (translation_unit "int function_1(char *data,int var_1)\n\n{\n int var_3;\n int len_local;\n char *data_local;\n int var_2;\n \n var_2 = 0;\n do {\n if (var_1 <= var_2) {\n return -1;\n }\n if (data[var_2] == '\n') {\n var_3 = var_2 + 1;\n if (var_3 < 3) {\n return var_3;\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: (identifi... |
1333_plink_and_plink_strip.c | sk_localproxy_socket_error | FUN_001892ba | sk_localproxy_socket_error |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * sk_localproxy_socket_error(Socket s)
{
Socket s_local;
Local_Proxy_Socket ps;
return (char *)s[3];
}
|
undefined8 FUN_001892ba(long param_1)
{
return *(undefined8 *)(param_1 + 0x18);
}
| (translation_unit "undefined8 FUN_001892ba(long param_1)\n\n{\n return *(undefined8 *)(param_1 + 0x18);\n}\n\n" (function_definition "undefined8 FUN_001892ba(long param_1)\n\n{\n return *(undefined8 *)(param_1 + 0x18);\n}" type_identifier (function_declarator "FUN_001892ba(long param_1)" identifier (parameter_list "(... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(type_1 s)
{
type_1 s_local;
type_2 ps;
return (char *)s[3];
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * sk_localproxy_socket_error(Socket s)\n\n{\n Socket s_local;\n Local_Proxy_Socket ps;\n \n return (char *)s[3];\n}\n\n" comment (function_definition "char * sk_localproxy_socket_error(Socket s)\n\n{\n Socket s_loca... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 s)\n\n{\n type_1 s_local;\n type_2 ps;\n \n return (char *)s[3];\n}\n\n" comment (function_definition "char * function_1(type_1 s)\n\n{\n type_1 s_local;\n type_2 ps;\n \n return (char *)s[3];... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
379_pageant_and_pageant_strip.c | aes_free_context | FUN_001242d9 | aes_free_context |
void aes_free_context(void *handle)
{
void *handle_local;
safefree(handle);
return;
}
|
void FUN_001242d9(undefined8 param_1)
{
FUN_0010df30(param_1);
return;
}
| (translation_unit "void FUN_001242d9(undefined8 param_1)\n\n{\n FUN_0010df30(param_1);\n return;\n}\n\n" (function_definition "void FUN_001242d9(undefined8 param_1)\n\n{\n FUN_0010df30(param_1);\n return;\n}" primitive_type (function_declarator "FUN_001242d9(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 0x0010df30
NOP
LEAVE
RET |
void function_1(void *handle)
{
void *handle_local;
var_1(handle);
return;
}
| (translation_unit "void aes_free_context(void *handle)\n\n{\n void *handle_local;\n \n safefree(handle);\n return;\n}\n\n" (function_definition "void aes_free_context(void *handle)\n\n{\n void *handle_local;\n \n safefree(handle);\n return;\n}" primitive_type (function_declarator "aes_free_context(void *handle)... | (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... |
1024_plink_and_plink_strip.c | sha1_make_context | FUN_001718a5 | sha1_make_context |
void * sha1_make_context(void *cipher_ctx)
{
void *pvVar1;
void *cipher_ctx_local;
pvVar1 = safemalloc(3,0x60);
return pvVar1;
}
|
void FUN_001718a5(void)
{
FUN_00111901(3,0x60);
return;
}
| (translation_unit "void FUN_001718a5(void)\n\n{\n FUN_00111901(3,0x60);\n return;\n}\n\n" (function_definition "void FUN_001718a5(void)\n\n{\n FUN_00111901(3,0x60);\n return;\n}" primitive_type (function_declarator "FUN_001718a5(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_ty... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV ESI,0x60
MOV EDI,0x3
CALL 0x00111901
LEAVE
RET |
void * function_1(void *cipher_ctx)
{
void *pvVar1;
void *cipher_ctx_local;
pvVar1 = var_1(3,0x60);
return pvVar1;
}
| (translation_unit "void * sha1_make_context(void *cipher_ctx)\n\n{\n void *pvVar1;\n void *cipher_ctx_local;\n \n pvVar1 = safemalloc(3,0x60);\n return pvVar1;\n}\n\n" (function_definition "void * sha1_make_context(void *cipher_ctx)\n\n{\n void *pvVar1;\n void *cipher_ctx_local;\n \n pvVar1 = safemalloc(3,0x60... | (translation_unit "void * function_1(void *cipher_ctx)\n\n{\n void *pvVar1;\n void *cipher_ctx_local;\n \n pvVar1 = var_1(3,0x60);\n return pvVar1;\n}\n\n" (function_definition "void * function_1(void *cipher_ctx)\n\n{\n void *pvVar1;\n void *cipher_ctx_local;\n \n pvVar1 = var_1(3,0x60);\n return pvVar1;\n}"... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla... |
1341_plink_and_plink_strip.c | next_fd | FUN_00189d4f | next_fd |
int next_fd(int *state,int *rwx)
{
int iVar1;
int *piVar2;
int *rwx_local;
int *state_local;
fd *fd;
iVar1 = *state;
*state = iVar1 + 1;
piVar2 = (int *)index234(fds,iVar1);
if (piVar2 == (int *)0x0) {
iVar1 = -1;
}
else {
*rwx = piVar2[1];
iVar1 = *piVar2;
}
return iVar1;
}
|
undefined4 FUN_00189d4f(int *param_1,undefined4 *param_2)
{
int iVar1;
undefined4 uVar2;
undefined4 *puVar3;
iVar1 = *param_1;
*param_1 = iVar1 + 1;
puVar3 = (undefined4 *)FUN_0017e05b(DAT_001b5498,iVar1);
if (puVar3 == (undefined4 *)0x0) {
uVar2 = 0xffffffff;
}
else {
*param_2 = puVar3[1... | (translation_unit "undefined4 FUN_00189d4f(int *param_1,undefined4 *param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n undefined4 *puVar3;\n \n iVar1 = *param_1;\n *param_1 = iVar1 + 1;\n puVar3 = (undefined4 *)FUN_0017e05b(DAT_001b5498,iVar1);\n if (puVar3 == (undefined4 *)0x0) {\n uVar2 = 0xffffffff;\n }\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 EAX,dword ptr [RAX]
LEA ECX,[RAX + 0x1]
MOV RDX,qword ptr [RBP + -0x18]
MOV dword ptr [RDX],ECX
MOV RDX,qword ptr [0x001b5498]
MOV ESI,EAX
MOV RDI,RDX
CALL 0x0017e05b
MOV qword ptr [RBP ... |
int function_1(int *state,int *rwx)
{
int var_1;
int *var_3;
int *rwx_local;
int *state_local;
type_1 *type_1;
var_1 = *state;
*state = var_1 + 1;
var_3 = (int *)var_2(fds,var_1);
if (var_3 == (int *)0x0) {
var_1 = -1;
}
else {
*rwx = var_3[1];
var_1 = *var_3;
}
return var_1;
... | (translation_unit "int next_fd(int *state,int *rwx)\n\n{\n int iVar1;\n int *piVar2;\n int *rwx_local;\n int *state_local;\n fd *fd;\n \n iVar1 = *state;\n *state = iVar1 + 1;\n piVar2 = (int *)index234(fds,iVar1);\n if (piVar2 == (int *)0x0) {\n iVar1 = -1;\n }\n else {\n *rwx = piVar2[1];\n iVar1... | (translation_unit "int function_1(int *state,int *rwx)\n\n{\n int var_1;\n int *var_3;\n int *rwx_local;\n int *state_local;\n type_1 *type_1;\n \n var_1 = *state;\n *state = var_1 + 1;\n var_3 = (int *)var_2(fds,var_1);\n if (var_3 == (int *)0x0) {\n var_1 = -1;\n }\n else {\n *rwx = var_3[1];\n v... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
786_plink_and_plink_strip.c | dh_is_gex | FUN_0015709b | dh_is_gex |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int dh_is_gex(ssh_kex *kex)
{
ssh_kex *kex_local;
dh_extra *extra;
/* WARNING: Load size is inaccurate */
return (int)(*kex->extra == 0);
}
|
bool FUN_0015709b(long param_1)
{
return **(long **)(param_1 + 0x20) == 0;
}
| (translation_unit "bool FUN_0015709b(long param_1)\n\n{\n return **(long **)(param_1 + 0x20) == 0;\n}\n\n" (function_definition "bool FUN_0015709b(long param_1)\n\n{\n return **(long **)(param_1 + 0x20) == 0;\n}" primitive_type (function_declarator "FUN_0015709b(long param_1)" identifier (parameter_list "(long param_... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
TEST RAX,RAX
SETZ AL
MOVZX EAX,AL
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *kex)
{
type_1 *kex_local;
type_2 *extra;
/* WARNING: Load size is inaccurate */
return (int)(*kex->extra == 0);
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint dh_is_gex(ssh_kex *kex)\n\n{\n ssh_kex *kex_local;\n dh_extra *extra;\n \n /* WARNING: Load size is inaccurate */\n return (int)(*kex->extra == 0);\n}\n\n" comment (function_definition "int dh_is_ge... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *kex)\n\n{\n type_1 *kex_local;\n type_2 *extra;\n \n /* WARNING: Load size is inaccurate */\n return (int)(*kex->extra == 0);\n}\n\n" comment (function_definition "int function_1(... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
793_plink_and_plink_strip.c | sha_mpint | FUN_001574d8 | sha_mpint |
void sha_mpint(SHA_State *s,Bignum b)
{
long lVar1;
int iVar2;
int iVar3;
long in_FS_OFFSET;
Bignum b_local;
SHA_State *s_local;
int len;
uchar lenbuf [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
iVar2 = bignum_bitcount((Bignum_conflict)b);
iVar3 = iVar2 + 8;
if (iVar2 + 8 < 0) {
iVar3 ... |
void FUN_001574d8(undefined8 param_1,undefined8 param_2)
{
int iVar1;
int iVar2;
long in_FS_OFFSET;
int local_18;
char local_14;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_0014dba5(param_2);
iVar2 = iVar1... | (translation_unit "void FUN_001574d8(undefined8 param_1,undefined8 param_2)\n\n{\n int iVar1;\n int iVar2;\n long in_FS_OFFSET;\n int local_18;\n char local_14;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x20]
MOV RDI,RAX
CALL 0x0014dba5
ADD EAX,0x8
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x3
MOV dword ptr [RBP +... |
void function_1(type_1 *s,type_2 b)
{
long var_9;
int var_3;
int var_4;
long var_1;
type_2 b_local;
type_1 *s_local;
int var_6;
type_3 lenbuf [4];
var_9 = *(long *)(var_1 + 0x28);
var_3 = var_2((type_4)b);
var_4 = var_3 + 8;
if (var_3 + 8 < 0) {
var_4 = var_3 + 0xf;
}
var_6 = var_4 ... | (translation_unit "void sha_mpint(SHA_State *s,Bignum b)\n\n{\n long lVar1;\n int iVar2;\n int iVar3;\n long in_FS_OFFSET;\n Bignum b_local;\n SHA_State *s_local;\n int len;\n uchar lenbuf [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n iVar2 = bignum_bitcount((Bignum_conflict)b);\n iVar3 = iVar2 + 8;\n... | (translation_unit "void function_1(type_1 *s,type_2 b)\n\n{\n long var_9;\n int var_3;\n int var_4;\n long var_1;\n type_2 b_local;\n type_1 *s_local;\n int var_6;\n type_3 lenbuf [4];\n \n var_9 = *(long *)(var_1 + 0x28);\n var_3 = var_2((type_4)b);\n var_4 = var_3 + 8;\n if (var_3 + 8 < 0) {\n var_4 =... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
1380_plink_and_plink_strip.c | keycmp | FUN_0018c5a3 | keycmp |
int keycmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
skeyval *a;
skeyval *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
iVar1 = strcmp(*av,*bv);
return iVar1;
}
|
void FUN_0018c5a3(undefined8 *param_1,undefined8 *param_2)
{
strcmp((char *)*param_1,(char *)*param_2);
return;
}
| (translation_unit "void FUN_0018c5a3(undefined8 *param_1,undefined8 *param_2)\n\n{\n strcmp((char *)*param_1,(char *)*param_2);\n return;\n}\n\n" (function_definition "void FUN_0018c5a3(undefined8 *param_1,undefined8 *param_2)\n\n{\n strcmp((char *)*param_1,(char *)*param_2);\n return;\n}" primitive_type (function_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
iVar1 = var_1(*av,*bv);
return iVar1;
}
| (translation_unit "int keycmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n skeyval *a;\n skeyval *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n iVar1 = strcmp(*av,*bv);\n return iVar1;\n}\n\n" (functi... | (translation_unit "int function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n iVar1 = var_1(*av,*bv);\n return iVar1;\n}\n\n" (funct... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
773_plink_and_plink_strip.c | des_ssh2_encrypt_blk | FUN_001560ac | des_ssh2_encrypt_blk |
void des_ssh2_encrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
DESContext *keys;
des_cbc_encrypt(blk,len,(DESContext *)handle);
return;
}
|
void FUN_001560ac(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0015501a(param_2,param_3,param_1);
return;
}
| (translation_unit "void FUN_001560ac(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0015501a(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_001560ac(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0015501a(param_2,param_3,param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV ECX,dword ptr [RBP + -0x24]
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1(blk,len,(type_2 *)handle);
return;
}
| (translation_unit "void des_ssh2_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_cbc_encrypt(blk,len,(DESContext *)handle);\n return;\n}\n\n" (function_definition "void des_ssh2_encrypt_blk(void *handle,uchar *blk,int len)\... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *b... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
984_plink_and_plink_strip.c | sha256_final | FUN_0016bb16 | sha256_final |
void sha256_final(void *handle,uchar *output)
{
uchar *output_local;
void *handle_local;
SHA256_State *s;
SHA256_Final((SHA256_State *)handle,output);
sha256_free(handle);
return;
}
|
void FUN_0016bb16(undefined8 param_1,undefined8 param_2)
{
FUN_0016b771(param_1,param_2);
FUN_0016baae(param_1);
return;
}
| (translation_unit "void FUN_0016bb16(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016b771(param_1,param_2);\n FUN_0016baae(param_1);\n return;\n}\n\n" (function_definition "void FUN_0016bb16(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_0016b771(param_1,param_2);\n FUN_0016baae(param_1);\n return;\n}" p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0016b771
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0016ba... |
void function_1(void *handle,type_1 *output)
{
type_1 *output_local;
void *handle_local;
type_2 *s;
var_1((type_2 *)handle,output);
var_2(handle);
return;
}
| (translation_unit "void sha256_final(void *handle,uchar *output)\n\n{\n uchar *output_local;\n void *handle_local;\n SHA256_State *s;\n \n SHA256_Final((SHA256_State *)handle,output);\n sha256_free(handle);\n return;\n}\n\n" (function_definition "void sha256_final(void *handle,uchar *output)\n\n{\n uchar *outpu... | (translation_unit "void function_1(void *handle,type_1 *output)\n\n{\n type_1 *output_local;\n void *handle_local;\n type_2 *s;\n \n var_1((type_2 *)handle,output);\n var_2(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *output)\n\n{\n type_1 *output_local;\n void *handle_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
320_pageant_and_pageant_strip.c | sk_proxy_close | FUN_00113ff9 | sk_proxy_close |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_proxy_close(Socket s)
{
Socket s_local;
Proxy_Socket ps;
(**(code **)(s[2]->plug + 8))(s[2]);
sk_addr_free((SockAddr)s[4]);
safefree(s);
return;
}
|
void FUN_00113ff9(long param_1)
{
(**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));
FUN_0014f238(*(undefined8 *)(param_1 + 0x20));
FUN_0010df30(param_1);
return;
}
| (translation_unit "void FUN_00113ff9(long param_1)\n\n{\n (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));\n FUN_0014f238(*(undefined8 *)(param_1 + 0x20));\n FUN_0010df30(param_1);\n return;\n}\n\n" (function_definition "void FUN_00113ff9(long param_1)\n\n{\n (**(code **)(**(long **... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDX,qword ptr [RBP + -0x8]
MOV RDX,qword ptr [RDX + 0x10]
MOV RDI,RDX
C... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 s)
{
type_1 s_local;
type_2 ps;
(**(type_3 **)(s[2]->plug + 8))(s[2]);
var_1((type_4)s[4]);
var_2(s);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_proxy_close(Socket s)\n\n{\n Socket s_local;\n Proxy_Socket ps;\n \n (**(code **)(s[2]->plug + 8))(s[2]);\n sk_addr_free((SockAddr)s[4]);\n safefree(s);\n return;\n}\n\n" comment (function_definition "void sk_p... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 s)\n\n{\n type_1 s_local;\n type_2 ps;\n \n (**(type_3 **)(s[2]->plug + 8))(s[2]);\n var_1((type_4)s[4]);\n var_2(s);\n return;\n}\n\n" comment (function_definition "void function_1(type_1 s)\n\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
1059_plink_and_plink_strip.c | share_remove_channel | FUN_00172bc2 | share_remove_channel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_remove_channel(ssh_sharing_connstate *cs,share_channel *chan)
{
share_channel *chan_local;
ssh_sharing_connstate *cs_local;
del234(cs->channels_by_us,chan);
del234(cs->channels_by_server,chan);
if (chan->x11_auth_upstrea... |
void FUN_00172bc2(long param_1,long param_2)
{
FUN_0017f338(*(undefined8 *)(param_1 + 0x4050),param_2);
FUN_0017f338(*(undefined8 *)(param_1 + 0x4058),param_2);
if (*(long *)(param_2 + 0x18) != 0) {
FUN_00136f43(*(undefined8 *)(*(long *)(param_1 + 0x18) + 0x28),*(undefined8 *)(param_2 + 0x18));
}
FUN_00... | (translation_unit "void FUN_00172bc2(long param_1,long param_2)\n\n{\n FUN_0017f338(*(undefined8 *)(param_1 + 0x4050),param_2);\n FUN_0017f338(*(undefined8 *)(param_1 + 0x4058),param_2);\n if (*(long *)(param_2 + 0x18) != 0) {\n FUN_00136f43(*(undefined8 *)(*(long *)(param_1 + 0x18) + 0x28),*(undefined8 *)(param_... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x4050]
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 + 0x4058]
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 *chan)
{
type_2 *chan_local;
type_1 *cs_local;
var_1(cs->channels_by_us,chan);
var_1(cs->channels_by_server,chan);
if (chan->x11_auth_upstream != (type_3 *)0x0) {
var_2(cs->parent->ssh,chan->x1... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_remove_channel(ssh_sharing_connstate *cs,share_channel *chan)\n\n{\n share_channel *chan_local;\n ssh_sharing_connstate *cs_local;\n \n del234(cs->channels_by_us,chan);\n del234(cs->channels_by_server,chan);\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs,type_2 *chan)\n\n{\n type_2 *chan_local;\n type_1 *cs_local;\n \n var_1(cs->channels_by_us,chan);\n var_1(cs->channels_by_server,chan);\n if (chan->x11_auth_upstream != (type_3 *)0x0) {\n v... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarato... |
817_plink_and_plink_strip.c | ec_ed25519 | FUN_00159a65 | ec_ed25519 |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_curve * ec_ed25519(void)
{
if (ec_ed25519::initialised == '\0') {
ec_ed25519::curve.name = (char *)0x0;
initialise_ecurve(&ec_ed25519::curve,0x100,ec_ed25519::lexical_block_2::q,"\x10",
... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined * FUN_00159a65(void)
{
if (DAT_001b4d68 == '\0') {
_DAT_001b4d88 = 0;
FUN_0015979a(&DAT_001b4d80,0x100,&DAT_0019d740,&DAT_0019d760,&DAT_0019d780,&DAT_0019d7a0,
"fffffffffffffffffffffffffffffffXec... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined * FUN_00159a65(void)\n\n{\n if (DAT_001b4d68 == '\0') {\n _DAT_001b4d88 = 0;\n FUN_0015979a(&DAT_001b4d80,0x100,&DAT_0019d740,&DAT_0019d760,&DAT_0019d780,&DAT_0019d7a0,\n "ffffffff... | PUSH RBP
MOV RBP,RSP
MOVZX EAX,byte ptr [0x001b4d68]
TEST AL,AL
JNZ 0x00159ad1
MOV qword ptr [0x001b4d88],0x0
SUB RSP,0x8
LEA RAX,[0x19d7c0]
PUSH RAX
LEA R9,[0x19d7a0]
LEA R8,[0x19d780]
LEA RCX,[0x19d760]
LEA RDX,[0x19d740]
MOV ESI,0x100
LEA RDI,[0x1b4d80]
CALL 0x0015979a
ADD RSP,0x10
LEA RAX,[0x19d086]
MOV qword ptr [... |
/* 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') {
ec_ed25519::curve.name = (char *)0x0;
var_2(&function_1::curve,0x100,function_1::lexical_block_2::q,"\x10",
f... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_curve * ec_ed25519(void)\n\n{\n if (ec_ed25519::initialised == '\0') {\n ec_ed25519::curve.name = (char *)0x0;\n initialise_ecurve(&ec_ed25519::curve,0x100,ec_ed25519::lexi... | (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 ec_ed25519::curve.name = (char *)0x0;\n var_2(&function_1::curve,0x100,function_1::lexical_block_2::q,"\x10... | (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... |
1305_plink_and_plink_strip.c | version | FUN_00186e5e | version |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void version(void)
{
char *ptr;
char *buildinfo_text;
ptr = buildinfo("\n");
printf("plink: %s\n%s\n","Release 0.70",ptr);
safefree(ptr);
/* WARNING: Subroutine does not return */
exit(0);
}
|
void FUN_00186e5e(void)
{
undefined8 uVar1;
uVar1 = FUN_00112256(&DAT_001a20c6);
printf("plink: %s\n%s\n","Release 0.70",uVar1);
FUN_00111b0d(uVar1);
/* WARNING: Subroutine does not return */
exit(0);
}
| (translation_unit "void FUN_00186e5e(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_00112256(&DAT_001a20c6);\n printf("plink: %s\n%s\n","Release 0.70",uVar1);\n FUN_00111b0d(uVar1);\n /* WARNING: Subroutine does not return */\n exit(0);\n}\n\n" (function_definition "void FUN_00186e5e(void)\n\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
LEA RDI,[0x1a20c6]
CALL 0x00112256
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDX,RAX
LEA RSI,[0x1a2ee0]
LEA RDI,[0x1a20c8]
MOV EAX,0x0
CALL 0x001082d0
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00111b0d
MOV EDI,0x0
CALL 0x001087a0 |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
char *ptr;
char *buildinfo_text;
ptr = var_1("\n");
var_2("plink: %s\n%s\n","Release 0.70",ptr);
var_3(ptr);
/* WARNING: Subroutine does not return */
var_4(0);
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid version(void)\n\n{\n char *ptr;\n char *buildinfo_text;\n \n ptr = buildinfo("\n");\n printf("plink: %s\n%s\n","Release 0.70",ptr);\n safefree(ptr);\n /* WARNING: Subroutine does not return *... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n char *ptr;\n char *buildinfo_text;\n \n ptr = var_1("\n");\n var_2("plink: %s\n%s\n","Release 0.70",ptr);\n var_3(ptr);\n /* WARNING: Subroutine does not return */\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identi... |
972_plink_and_plink_strip.c | oaep_mask | FUN_0016a619 | oaep_mask |
void oaep_mask(ssh_hash *h,void *seed,int seedlen,void *vdata,int datalen)
{
long lVar1;
int iVar2;
void *pvVar3;
long in_FS_OFFSET;
void *vdata_local;
int datalen_local;
int seedlen_local;
void *seed_local;
ssh_hash *h_local;
uint count;
int i;
int max;
uchar *data;
void *s;
uchar count... |
void FUN_0016a619(undefined8 *param_1,undefined8 param_2,undefined4 param_3,long param_4,int param_5
)
{
int iVar1;
undefined8 uVar2;
long in_FS_OFFSET;
int local_a0;
int local_7c;
int local_78;
long local_70;
undefined local_5c;
undefined local_5b;
undefined local_5a;
undefined... | (translation_unit "void FUN_0016a619(undefined8 *param_1,undefined8 param_2,undefined4 param_3,long param_4,int param_5\n )\n\n{\n int iVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n int local_a0;\n int local_7c;\n int local_78;\n long local_70;\n undefined local_5c;\n undefined local_5b;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xa0
MOV qword ptr [RBP + -0x88],RDI
MOV qword ptr [RBP + -0x90],RSI
MOV dword ptr [RBP + -0x94],EDX
MOV qword ptr [RBP + -0xa0],RCX
MOV dword ptr [RBP + -0x98],R8D
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0xa0]
MOV qword ptr [RBP + -0... |
void function_1(type_1 *h,void *seed,int seedlen,void *vdata,int datalen)
{
long var_3;
int var_7;
void *pvVar3;
long var_1;
void *vdata_local;
int var_2;
int seedlen_local;
void *seed_local;
type_1 *h_local;
type_2 var_5;
int var_6;
int max;
type_3 *var_8;
void *s;
type_3 counter [4];
... | (translation_unit "void oaep_mask(ssh_hash *h,void *seed,int seedlen,void *vdata,int datalen)\n\n{\n long lVar1;\n int iVar2;\n void *pvVar3;\n long in_FS_OFFSET;\n void *vdata_local;\n int datalen_local;\n int seedlen_local;\n void *seed_local;\n ssh_hash *h_local;\n uint count;\n int i;\n int max;\n ucha... | (translation_unit "void function_1(type_1 *h,void *seed,int seedlen,void *vdata,int datalen)\n\n{\n long var_3;\n int var_7;\n void *pvVar3;\n long var_1;\n void *vdata_local;\n int var_2;\n int seedlen_local;\n void *seed_local;\n type_1 *h_local;\n type_2 var_5;\n int var_6;\n int max;\n type_3 *var_8;\n... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1367_plink_and_plink_strip.c | make_parentdir_name | FUN_0018ac41 | make_parentdir_name |
/* WARNING: Unknown calling convention */
char * make_parentdir_name(void)
{
char *ptr;
char *pcVar1;
char *username;
char *parent;
ptr = get_username();
pcVar1 = dupprintf("%s.%s","/tmp/putty-connshare",ptr);
safefree(ptr);
if (*pcVar1 != '/') {
/* WARNING: Subroutine does not... |
char * FUN_0018ac41(void)
{
undefined8 uVar1;
char *pcVar2;
uVar1 = FUN_0018139c();
pcVar2 = (char *)FUN_00110d41("%s.%s","/tmp/putty-connshare",uVar1);
FUN_00111b0d(uVar1);
if (*pcVar2 != '/') {
/* WARNING: Subroutine does not return */
__assert_fail("*parent == \'/\'","unix/ux... | (translation_unit "char * FUN_0018ac41(void)\n\n{\n undefined8 uVar1;\n char *pcVar2;\n \n uVar1 = FUN_0018139c();\n pcVar2 = (char *)FUN_00110d41("%s.%s","/tmp/putty-connshare",uVar1);\n FUN_00111b0d(uVar1);\n if (*pcVar2 != '/') {\n /* WARNING: Subroutine does not return */\n __assert_fai... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
CALL 0x0018139c
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDX,RAX
LEA RSI,[0x1a26b0]
LEA RDI,[0x1a26c5]
MOV EAX,0x0
CALL 0x00110d41
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDI,RAX
CALL 0x00111b0d
MOV RAX,qword ptr [RBP + -0x8]
MOVZX ... |
/* WARNING: Unknown calling convention */
char * function_1(void)
{
char *ptr;
char *pcVar1;
char *username;
char *parent;
ptr = var_1();
pcVar1 = var_2("%s.%s","/tmp/putty-connshare",ptr);
var_3(ptr);
if (*pcVar1 != '/') {
/* WARNING: Subroutine does not return */
var_4("*... | (translation_unit "/* WARNING: Unknown calling convention */\n\nchar * make_parentdir_name(void)\n\n{\n char *ptr;\n char *pcVar1;\n char *username;\n char *parent;\n \n ptr = get_username();\n pcVar1 = dupprintf("%s.%s","/tmp/putty-connshare",ptr);\n safefree(ptr);\n if (*pcVar1 != '/') {\n ... | (translation_unit "/* WARNING: Unknown calling convention */\n\nchar * function_1(void)\n\n{\n char *ptr;\n char *pcVar1;\n char *username;\n char *parent;\n \n ptr = var_1();\n pcVar1 = var_2("%s.%s","/tmp/putty-connshare",ptr);\n var_3(ptr);\n if (*pcVar1 != '/') {\n /* WARNING: Subroutine... | (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... |
192_pageant_and_pageant_strip.c | cmdline_get_passwd_input | FUN_00108501 | cmdline_get_passwd_input |
int cmdline_get_passwd_input(prompts_t *p,uchar *in,int inlen)
{
int iVar1;
size_t n;
int inlen_local;
uchar *in_local;
prompts_t *p_local;
if ((((cmdline_password == (char *)0x0) || (in != (uchar *)0x0)) || (p->n_prompts != 1)) ||
((*p->prompts)->echo != 0)) {
iVar1 = -1;
}
else if (cmdli... |
undefined8 FUN_00108501(long param_1,long param_2)
{
undefined8 uVar1;
size_t sVar2;
if ((((DAT_00170740 == (char *)0x0) || (param_2 != 0)) || (*(long *)(param_1 + 0x28) != 1)) ||
(*(int *)(**(long **)(param_1 + 0x30) + 8) != 0)) {
uVar1 = 0xffffffff;
}
else if (DAT_00170748 == 0) {
FUN_0010... | (translation_unit "undefined8 FUN_00108501(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n size_t sVar2;\n \n if ((((DAT_00170740 == (char *)0x0) || (param_2 != 0)) || (*(long *)(param_1 + 0x28) != 1)) ||\n (*(int *)(**(long **)(param_1 + 0x30) + 8) != 0)) {\n uVar1 = 0xffffffff;\n }\n else if (DAT_0... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV RAX,qword ptr [0x00170740]
TEST RAX,RAX
JZ 0x00108547
CMP qword ptr [RBP + -0x10],0x0
JNZ 0x00108547
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x28]
CMP RAX,0x1
JNZ 0x001085... |
int function_1(type_1 *p,type_2 *var_2,int inlen)
{
int iVar1;
size_t n;
int inlen_local;
type_2 *in_local;
type_1 *p_local;
if ((((var_1 == (char *)0x0) || (var_2 != (type_2 *)0x0)) || (p->n_prompts != 1)) ||
((*p->prompts)->echo != 0)) {
iVar1 = -1;
}
else if (function_1::tried_once == 0... | (translation_unit "int cmdline_get_passwd_input(prompts_t *p,uchar *in,int inlen)\n\n{\n int iVar1;\n size_t n;\n int inlen_local;\n uchar *in_local;\n prompts_t *p_local;\n \n if ((((cmdline_password == (char *)0x0) || (in != (uchar *)0x0)) || (p->n_prompts != 1)) ||\n ((*p->prompts)->echo != 0)) {\n iVa... | (translation_unit "int function_1(type_1 *p,type_2 *var_2,int inlen)\n\n{\n int iVar1;\n size_t n;\n int inlen_local;\n type_2 *in_local;\n type_1 *p_local;\n \n if ((((var_1 == (char *)0x0) || (var_2 != (type_2 *)0x0)) || (p->n_prompts != 1)) ||\n ((*p->prompts)->echo != 0)) {\n iVar1 = -1;\n }\n else ... | (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... |
1425_plink_and_plink_strip.c | x11_unthrottle | FUN_0018f651 | x11_unthrottle |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_unthrottle(X11Connection *xconn)
{
int iVar1;
X11Connection *xconn_local;
if ((xconn != (X11Connection *)0x0) && (xconn->throttled = 0, xconn->s != (Socket)0x0)) {
if ((xconn->throttled == 0) && (xconn->throttle_override =... |
void FUN_0018f651(long param_1)
{
undefined8 uVar1;
if ((param_1 != 0) && (*(undefined4 *)(param_1 + 0x50) = 0, *(long *)(param_1 + 0x78) != 0)) {
if ((*(int *)(param_1 + 0x50) == 0) && (*(int *)(param_1 + 0x54) == 0)) {
uVar1 = 0;
}
else {
uVar1 = 1;
}
(**(code **)(**(long **)(... | (translation_unit "void FUN_0018f651(long param_1)\n\n{\n undefined8 uVar1;\n \n if ((param_1 != 0) && (*(undefined4 *)(param_1 + 0x50) = 0, *(long *)(param_1 + 0x78) != 0)) {\n if ((*(int *)(param_1 + 0x50) == 0) && (*(int *)(param_1 + 0x54) == 0)) {\n uVar1 = 0;\n }\n else {\n uVar1 = 1;\n }\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0018f6be
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x50],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x78]
TEST RAX,RAX
JZ 0x0018f6bf
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x7... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *var_1)
{
int iVar1;
type_1 *xconn_local;
if ((var_1 != (type_1 *)0x0) && (var_1->throttled = 0, var_1->s != (type_2)0x0)) {
if ((var_1->throttled == 0) && (var_1->throttle_override == 0)) {
iVar1 = 0;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_unthrottle(X11Connection *xconn)\n\n{\n int iVar1;\n X11Connection *xconn_local;\n \n if ((xconn != (X11Connection *)0x0) && (xconn->throttled = 0, xconn->s != (Socket)0x0)) {\n if ((xconn->throttled == 0) && ... | (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 int iVar1;\n type_1 *xconn_local;\n \n if ((var_1 != (type_1 *)0x0) && (var_1->throttled = 0, var_1->s != (type_2)0x0)) {\n if ((var_1->throttled == 0) && (var_1->throttle_override... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitiv... |
366_pageant_and_pageant_strip.c | aes_encrypt_nb_4 | FUN_0011e0f7 | aes_encrypt_nb_4 |
void aes_encrypt_nb_4(AESContext *ctx,word32 *block)
{
uint *puVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
byte bVar11;
byte bVar12;
byte bVar13;
uint uVar14;
uint uVar15;
uint uVar16;
uint uVar17;
uint uVar18;
... |
void FUN_0011e0f7(uint *param_1,uint *param_2)
{
uint *puVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
byte bVar11;
byte bVar12;
byte bVar13;
uint uVar14;
uint uVar15;
uint uVar16;
uint uVar17;
uint uVar18;
uint... | (translation_unit "void FUN_0011e0f7(uint *param_1,uint *param_2)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n uint uVar14;\n uint uVar15;\n uint uVar16;\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x28],RAX
MOV dword ptr [RBP + -0x2c],0x0
JMP 0x0011e589
MOV RAX,qword ptr [RBP + -0x28]
LEA RDX,... |
void function_1(type_1 *ctx,type_2 *block)
{
type_3 *puVar1;
type_4 bVar2;
type_4 bVar3;
type_4 bVar4;
type_4 bVar5;
type_4 bVar6;
type_4 bVar7;
type_4 bVar8;
type_4 bVar9;
type_4 bVar10;
type_4 bVar11;
type_4 bVar12;
type_4 bVar13;
type_3 var_5;
type_3 var_6;
type_3 var_7;
type_3 va... | (translation_unit "void aes_encrypt_nb_4(AESContext *ctx,word32 *block)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n uint uVar14;\n uint uVar15;\n uint uV... | (translation_unit "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_3 *puVar1;\n type_4 bVar2;\n type_4 bVar3;\n type_4 bVar4;\n type_4 bVar5;\n type_4 bVar6;\n type_4 bVar7;\n type_4 bVar8;\n type_4 bVar9;\n type_4 bVar10;\n type_4 bVar11;\n type_4 bVar12;\n type_4 bVar13;\n type_3 var_5;\n type_3... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
833_plink_and_plink_strip.c | ecp_adde | FUN_0015b8df | ecp_adde |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_adde(ec_point *a,ec_point *b)
{
Bignum_conflict pBVar1;
Bignum_conflict pBVar2;
Bignum_conflict pBVar3;
Bignum_conflict pBVar4;
ec_point *peVar5;
Bignum_conflict p;
ec_point *b_local;
ec_point *a_local;
Bignum t... |
undefined8 FUN_0015b8df(long *param_1,long param_2)
{
undefined8 uVar1;
undefined8 uVar2;
undefined8 uVar3;
undefined8 uVar4;
long lVar5;
uVar1 = FUN_0014ccbb(param_1[1],*(undefined8 *)(param_2 + 0x10),*(undefined8 *)(*param_1 + 0x20));
uVar2 = FUN_0014ccbb(*(undefined8 *)(param_2 + 8),param_1[2],*(u... | (translation_unit "undefined8 FUN_0015b8df(long *param_1,long param_2)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n long lVar5;\n \n uVar1 = FUN_0014ccbb(param_1[1],*(undefined8 *)(param_2 + 0x10),*(undefined8 *)(*param_1 + 0x20));\n uVar2 = FUN_0014ccbb(*(undefined8 *)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RAX,qword ptr [RBP + -0x68]
MOV RAX,qword ptr [RAX]
MOV RDX,qword ptr [RAX + 0x20]
MOV RAX,qword ptr [RBP + -0x70]
MOV RCX,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RBP + -0x68]
MOV RAX,qword ptr [RAX + 0x8]
MOV RSI,RC... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,type_1 *b)
{
type_2 var_7;
type_2 pBVar2;
type_2 pBVar3;
type_2 var_5;
type_1 *peVar5;
type_2 p;
type_1 *b_local;
type_1 *a_local;
type_3 tmp;
type_3 tmp2;
type_3 tmp3;
type_3 tmp4;
type_3... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_adde(ec_point *a,ec_point *b)\n\n{\n Bignum_conflict pBVar1;\n Bignum_conflict pBVar2;\n Bignum_conflict pBVar3;\n Bignum_conflict pBVar4;\n ec_point *peVar5;\n Bignum_conflict p;\n ec_point *b_local;\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)\n\n{\n type_2 var_7;\n type_2 pBVar2;\n type_2 pBVar3;\n type_2 var_5;\n type_1 *peVar5;\n type_2 p;\n type_1 *b_local;\n type_1 *a_local;\n type_3 tmp;\n type_3 tmp2;\n typ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
1306_plink_and_plink_strip.c | frontend_net_error_pending | FUN_00186eab | frontend_net_error_pending |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void frontend_net_error_pending(void)
{
return;
}
|
void FUN_00186eab(void)
{
return;
}
| (translation_unit "void FUN_00186eab(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_00186eab(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00186eab(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
NOP
POP RBP
RET |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
return;
}
| (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid frontend_net_error_pending(void)\n\n{\n return;\n}\n\n" comment (function_definition "void frontend_net_error_pending(void)\n\n{\n return;\n}" primitive_type (function_declarator "frontend_net_error_pending(void)" ... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n return;\n}\n\n" comment (function_definition "void function_1(void)\n\n{\n return;\n}" primitive_type (function_declarator "function_1(void)" identifier (parameter_list "(void)" ( (parameter... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (return_statement)))) |
870_plink_and_plink_strip.c | ec_alg_by_oid | FUN_001603fa | ec_alg_by_oid |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ssh_signkey * ec_alg_by_oid(int len,void *oid,ec_curve **curve)
{
ssh_signkey *psVar1;
undefined8 *puVar2;
int iVar3;
ec_curve *peVar4;
ec_curve **curve_local;
void *oid_local;
int len_local;
int i;
ssh_signkey *alg;
ecsign_... |
undefined * FUN_001603fa(int param_1,void *param_2,undefined8 *param_3)
{
undefined *puVar1;
undefined8 *puVar2;
int iVar3;
undefined8 uVar4;
uint local_1c;
local_1c = 0;
while( true ) {
if (2 < local_1c) {
return (undefined *)0x0;
}
puVar1 = (&PTR_PTR_FUN_001b48e0)[(int)local_1c];
... | (translation_unit "undefined * FUN_001603fa(int param_1,void *param_2,undefined8 *param_3)\n\n{\n undefined *puVar1;\n undefined8 *puVar2;\n int iVar3;\n undefined8 uVar4;\n uint local_1c;\n \n local_1c = 0;\n while( true ) {\n if (2 < local_1c) {\n return (undefined *)0x0;\n }\n puVar1 = (&PTR_PT... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV dword ptr [RBP + -0x24],EDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV dword ptr [RBP + -0x14],0x0
JMP 0x00160488
MOV EAX,dword ptr [RBP + -0x14]
CDQE
LEA RDX,[RAX*0x8]
LEA RAX,[0x1b48e0]
MOV RAX,qword ptr [RDX + RAX*0x1]
MOV qword ptr [RBP + -0x10],RAX
MOV... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(int var_1,void *oid,type_2 **curve)
{
type_1 *psVar1;
type_3 *var_2;
int var_4;
type_2 *peVar4;
type_2 **curve_local;
void *oid_local;
int len_local;
int var_5;
type_1 *alg;
type_4 *extra;
var_5 = 0;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nssh_signkey * ec_alg_by_oid(int len,void *oid,ec_curve **curve)\n\n{\n ssh_signkey *psVar1;\n undefined8 *puVar2;\n int iVar3;\n ec_curve *peVar4;\n ec_curve **curve_local;\n void *oid_local;\n int len_local;\n int i;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(int var_1,void *oid,type_2 **curve)\n\n{\n type_1 *psVar1;\n type_3 *var_2;\n int var_4;\n type_2 *peVar4;\n type_2 **curve_local;\n void *oid_local;\n int len_local;\n int var_5;\n type_1 *alg;\n... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator:... |
1256_plink_and_plink_strip.c | try_send | FUN_00183b30 | try_send |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void try_send(Actual_Socket_conflict s)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
Actual_Socket_conflict s_local;
int len;
int urgentflag;
int nsent;
int err;
void *data;
long local_10;
local_10 = *(... |
void FUN_00183b30(long param_1)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
int local_28;
int local_24;
int local_20;
int local_1c;
void *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
while( true ) {
if (*(int *)(param_1 + 0x4c) == 0) {
iVar1 ... | (translation_unit "void FUN_00183b30(long param_1)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n int local_28;\n int local_24;\n int local_20;\n int local_1c;\n void *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n while( true ) {\n if (*(int *)(pa... | 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
JMP 0x00183c9c
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x4c]
TEST EAX,EAX
JZ 0x00183b7a
MOV dword ptr [RBP + -0x1c],0x1
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 s)
{
int var_3;
ssize_t sVar2;
int *piVar3;
long var_1;
type_1 s_local;
int var_12;
int urgentflag;
int var_10;
int var_15;
void *data;
long var_17;
var_17 = *(long *)(var_1 + 0x28);
while( tr... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid try_send(Actual_Socket_conflict s)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n Actual_Socket_conflict s_local;\n int len;\n int urgentflag;\n int nsent;\n int err;\n void *data;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 s)\n\n{\n int var_3;\n ssize_t sVar2;\n int *piVar3;\n long var_1;\n type_1 s_local;\n int var_12;\n int urgentflag;\n int var_10;\n int var_15;\n void *data;\n long var_17;\n \n var_17 = *... | (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))... |
1353_plink_and_plink_strip.c | serial_try_write | FUN_0018a986 | serial_try_write |
void serial_try_write(Serial serial)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
Serial serial_local;
int len;
int ret;
void *data;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (serial->fd < 0) {
/* WARNING: Subroutine does not return */
... |
void FUN_0018a986(long param_1)
{
int iVar1;
ssize_t sVar2;
int *piVar3;
long in_FS_OFFSET;
int local_20;
int local_1c;
void *local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(param_1 + 8) < 0) {
/* WARNING: Subroutine does not return */
__... | (translation_unit "void FUN_0018a986(long param_1)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n int local_20;\n int local_1c;\n void *local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(param_1 + 8) < 0) {\n /* WARNING: Subr... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x28]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNS 0x0018aa4b
LEA RCX,[0x1a2690]
MOV EDX,0x1b6
LEA RSI,[0x1a262d]
LEA RDI,[0x1a263a]
CALL 0x00108350
MOV RA... |
void function_1(type_1 serial)
{
int var_4;
ssize_t sVar2;
int *piVar3;
long var_1;
type_1 serial_local;
int len;
int var_7;
void *data;
long var_13;
var_13 = *(long *)(var_1 + 0x28);
if (serial->fd < 0) {
/* WARNING: Subroutine does not return */
var_2("serial->fd >= ... | (translation_unit "void serial_try_write(Serial serial)\n\n{\n int iVar1;\n ssize_t sVar2;\n int *piVar3;\n long in_FS_OFFSET;\n Serial serial_local;\n int len;\n int ret;\n void *data;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (serial->fd < 0) {\n /* WARNING: ... | (translation_unit "void function_1(type_1 serial)\n\n{\n int var_4;\n ssize_t sVar2;\n int *piVar3;\n long var_1;\n type_1 serial_local;\n int len;\n int var_7;\n void *data;\n long var_13;\n \n var_13 = *(long *)(var_1 + 0x28);\n if (serial->fd < 0) {\n /* WARNING: Subroutine does not re... | (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: (primitive_type) declarator: (identifier)) (declarat... |
241_pageant_and_pageant_strip.c | dupcat | FUN_0010ccec | dupcat |
char * dupcat(char *s1,...)
{
long lVar1;
char in_AL;
size_t sVar2;
char *__dest;
undefined8 *puVar3;
undefined8 in_RCX;
undefined8 in_RDX;
ulong uVar4;
undefined8 in_RSI;
undefined8 in_R8;
undefined8 in_R9;
long in_FS_OFFSET;
undefined8 in_XMM0_Qa;
undefined8 in_XMM1_Qa;
undefined8 in_X... |
char * FUN_0010ccec(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,
char *param_9,undefined8 param_10,undefined8 param_11,undefined8 param_12,
undefined8 pa... | (translation_unit "char * FUN_0010ccec(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,\n char *param_9,undefined8 param_10,undefined8 param_11,undefined8 param_12,\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x100
MOV qword ptr [RBP + -0xf8],RDI
MOV qword ptr [RBP + -0xa8],RSI
MOV qword ptr [RBP + -0xa0],RDX
MOV qword ptr [RBP + -0x98],RCX
MOV qword ptr [RBP + -0x90],R8
MOV qword ptr [RBP + -0x88],R9
TEST AL,AL
JZ 0x0010cd45
MOVAPS xmmword ptr [RBP + -0x80],XMM0
MOVAPS xmmword ptr [RBP + -0x70]... |
char * function_1(char *s1,...)
{
long var_11;
char var_1;
size_t var_9;
char *var_8;
type_1 *puVar3;
type_1 in_RCX;
type_1 in_RDX;
type_2 var_4;
type_1 in_RSI;
type_1 in_R8;
type_1 in_R9;
long var_2;
type_1 in_XMM0_Qa;
type_1 in_XMM1_Qa;
type_1 in_XMM2_Qa;
type_1 in_XMM3_Qa;
type_1 ... | (translation_unit "char * dupcat(char *s1,...)\n\n{\n long lVar1;\n char in_AL;\n size_t sVar2;\n char *__dest;\n undefined8 *puVar3;\n undefined8 in_RCX;\n undefined8 in_RDX;\n ulong uVar4;\n undefined8 in_RSI;\n undefined8 in_R8;\n undefined8 in_R9;\n long in_FS_OFFSET;\n undefined8 in_XMM0_Qa;\n undefi... | (translation_unit "char * function_1(char *s1,...)\n\n{\n long var_11;\n char var_1;\n size_t var_9;\n char *var_8;\n type_1 *puVar3;\n type_1 in_RCX;\n type_1 in_RDX;\n type_2 var_4;\n type_1 in_RSI;\n type_1 in_R8;\n type_1 in_R9;\n long var_2;\n type_1 in_XMM0_Qa;\n type_1 in_XMM1_Qa;\n type_1 in_XMM2... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (variadic_parameter)))) body: (comp... |
1055_plink_and_plink_strip.c | share_add_channel | FUN_00172978 | share_add_channel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_channel *
share_add_channel(ssh_sharing_connstate *cs,uint downstream_id,uint upstream_id,uint server_id,
int state,int maxpkt)
{
share_channel *e;
share_channel *psVar1;
int maxpkt_local;
int state_local;
uint ... |
undefined4 *
FUN_00172978(long param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
undefined4 param_5,undefined4 param_6)
{
undefined4 *puVar1;
undefined4 *puVar2;
puVar1 = (undefined4 *)FUN_00111901(1,0x38);
*puVar1 = param_2;
puVar1[1] = param_3;
puVar1[2] = param_4;
puVar... | (translation_unit "undefined4 *\nFUN_00172978(long param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n undefined4 param_5,undefined4 param_6)\n\n{\n undefined4 *puVar1;\n undefined4 *puVar2;\n \n puVar1 = (undefined4 *)FUN_00111901(1,0x38);\n *puVar1 = param_2;\n puVar1[1] = param_3;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV dword ptr [RBP + -0x24],ECX
MOV dword ptr [RBP + -0x28],R8D
MOV dword ptr [RBP + -0x2c],R9D
MOV ESI,0x38
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 *
function_1(type_2 *cs,type_3 downstream_id,type_3 upstream_id,type_3 server_id,
int state,int maxpkt)
{
type_1 *var_3;
type_1 *var_4;
int maxpkt_local;
int state_local;
type_3 server_id_local;
type_3 upstre... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_channel *\nshare_add_channel(ssh_sharing_connstate *cs,uint downstream_id,uint upstream_id,uint server_id,\n int state,int maxpkt)\n\n{\n share_channel *e;\n share_channel *psVar1;\n int maxpkt_local;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 *\nfunction_1(type_2 *cs,type_3 downstream_id,type_3 upstream_id,type_3 server_id,\n int state,int maxpkt)\n\n{\n type_1 *var_3;\n type_1 *var_4;\n int maxpkt_local;\n int state_local;\n type_3 ser... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
1052_plink_and_plink_strip.c | share_add_halfchannel | FUN_00172882 | share_add_halfchannel |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_halfchannel * share_add_halfchannel(ssh_sharing_connstate *cs,uint server_id)
{
share_halfchannel *e;
share_halfchannel *psVar1;
uint server_id_local;
ssh_sharing_connstate *cs_local;
share_halfchannel *hc;
e = (share_halfc... |
undefined4 * FUN_00172882(long param_1,undefined4 param_2)
{
undefined4 *puVar1;
undefined4 *puVar2;
puVar1 = (undefined4 *)FUN_00111901(1,4);
*puVar1 = param_2;
puVar2 = (undefined4 *)FUN_0017dfd8(*(undefined8 *)(param_1 + 0x4048),puVar1);
if (puVar1 != puVar2) {
FUN_00111b0d(puVar1);
puVar1 =... | (translation_unit "undefined4 * FUN_00172882(long param_1,undefined4 param_2)\n\n{\n undefined4 *puVar1;\n undefined4 *puVar2;\n \n puVar1 = (undefined4 *)FUN_00111901(1,4);\n *puVar1 = param_2;\n puVar2 = (undefined4 *)FUN_0017dfd8(*(undefined8 *)(param_1 + 0x4048),puVar1);\n if (puVar1 != puVar2) {\n FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV ESI,0x4
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RBP + -0x1c]
MOV dword ptr [RAX],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x4048]... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *cs,type_3 server_id)
{
type_1 *var_3;
type_1 *var_4;
type_3 server_id_local;
type_2 *cs_local;
type_1 *hc;
var_3 = (type_1 *)var_1(1,4);
var_3->server_id = server_id;
var_4 = (type_1 *)var_2(cs->ha... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_halfchannel * share_add_halfchannel(ssh_sharing_connstate *cs,uint server_id)\n\n{\n share_halfchannel *e;\n share_halfchannel *psVar1;\n uint server_id_local;\n ssh_sharing_connstate *cs_local;\n share_halfchannel... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,type_3 server_id)\n\n{\n type_1 *var_3;\n type_1 *var_4;\n type_3 server_id_local;\n type_2 *cs_local;\n type_1 *hc;\n \n var_3 = (type_1 *)var_1(1,4);\n var_3->server_id = server_id;\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 ... |
1415_plink_and_plink_strip.c | x11_free_display | FUN_0018e86d | x11_free_display |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_free_display(X11Display *disp)
{
X11Display *disp_local;
safefree(disp->hostname);
safefree(disp->unixsocketpath);
if (disp->localauthdata != (uchar *)0x0) {
smemclr(disp->localauthdata,(long)disp->localauthdatalen);
}... |
void FUN_0018e86d(long param_1)
{
FUN_00111b0d(*(undefined8 *)(param_1 + 8));
FUN_00111b0d(*(undefined8 *)(param_1 + 0x18));
if (*(long *)(param_1 + 0x40) != 0) {
FUN_00111bd5(*(undefined8 *)(param_1 + 0x40),(long)*(int *)(param_1 + 0x48));
}
FUN_00111b0d(*(undefined8 *)(param_1 + 0x40));
FUN_0018243f... | (translation_unit "void FUN_0018e86d(long param_1)\n\n{\n FUN_00111b0d(*(undefined8 *)(param_1 + 8));\n FUN_00111b0d(*(undefined8 *)(param_1 + 0x18));\n if (*(long *)(param_1 + 0x40) != 0) {\n FUN_00111bd5(*(undefined8 *)(param_1 + 0x40),(long)*(int *)(param_1 + 0x48));\n }\n FUN_00111b0d(*(undefined8 *)(param_... | 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 + 0x8]
MOV RDI,RAX
CALL 0x00111b0d
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x18]
MOV RDI,RAX
CALL 0x00111b0d
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x40]
TEST RAX,RAX
J... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *disp)
{
type_1 *disp_local;
var_1(disp->hostname);
var_1(disp->unixsocketpath);
if (disp->localauthdata != (type_2 *)0x0) {
var_2(disp->localauthdata,(long)disp->localauthdatalen);
}
var_1(disp->locala... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_free_display(X11Display *disp)\n\n{\n X11Display *disp_local;\n \n safefree(disp->hostname);\n safefree(disp->unixsocketpath);\n if (disp->localauthdata != (uchar *)0x0) {\n smemclr(disp->localauthdata,(long)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *disp)\n\n{\n type_1 *disp_local;\n \n var_1(disp->hostname);\n var_1(disp->unixsocketpath);\n if (disp->localauthdata != (type_2 *)0x0) {\n var_2(disp->localauthdata,(long)disp->localauthdatale... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
802_plink_and_plink_strip.c | dss_public_blob | FUN_00158294 | dss_public_blob |
uchar * dss_public_blob(void *key,int *len)
{
int iVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
int iVar6;
int iVar7;
int iVar8;
uchar *puVar9;
int *len_local;
void *key_local;
int i;
int plen;
int qlen;
int glen;
int ylen;
int bloblen;
uchar *p;
dss_key *dss;
uchar *blob;... |
undefined * FUN_00158294(undefined8 *param_1,int *param_2)
{
char cVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
int iVar6;
int iVar7;
int iVar8;
int iVar9;
undefined *puVar10;
int local_38;
char *local_20;
iVar2 = FUN_0014dba5(*param_1);
iVar3 = iVar2 + 8;
if (iVar2 + 8 < 0) {
... | (translation_unit "undefined * FUN_00158294(undefined8 *param_1,int *param_2)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n int iVar9;\n undefined *puVar10;\n int local_38;\n char *local_20;\n \n iVar2 = FUN_0014dba5(*param_1);\n iVar3 = i... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x0014dba5
ADD EAX,0x8
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x3
MOV... |
type_1 * function_1(void *key,int *len)
{
int var_2;
int var_4;
int var_8;
int var_5;
int var_9;
int var_6;
int var_15;
int var_3;
type_1 *var_12;
int *len_local;
void *key_local;
int var_7;
int plen;
int qlen;
int glen;
int ylen;
int bloblen;
type_1 *var_14;
type_2 *dss;
type_... | (translation_unit "uchar * dss_public_blob(void *key,int *len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n uchar *puVar9;\n int *len_local;\n void *key_local;\n int i;\n int plen;\n int qlen;\n int glen;\n int ylen;\n int bloblen;\n uc... | (translation_unit "type_1 * function_1(void *key,int *len)\n\n{\n int var_2;\n int var_4;\n int var_8;\n int var_5;\n int var_9;\n int var_6;\n int var_15;\n int var_3;\n type_1 *var_12;\n int *len_local;\n void *key_local;\n int var_7;\n int plen;\n int qlen;\n int glen;\n int ylen;\n int bloblen;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
1352_plink_and_plink_strip.c | serial_uxsel_setup | FUN_0018a92c | serial_uxsel_setup |
void serial_uxsel_setup(Serial serial)
{
int iVar1;
Serial serial_local;
int rwx;
rwx = (int)(serial->inbufsize < 0x1001);
iVar1 = bufchain_size(&serial->output_data);
if (iVar1 != 0) {
rwx = rwx | 2;
}
uxsel_set(serial->fd,rwx,serial_select_result);
return;
}
|
void FUN_0018a92c(long param_1)
{
byte bVar1;
int iVar2;
bVar1 = *(int *)(param_1 + 0x10) < 0x1001;
iVar2 = FUN_001114ca(param_1 + 0x18);
if (iVar2 != 0) {
bVar1 = bVar1 | 2;
}
FUN_00189c2e(*(undefined4 *)(param_1 + 8),bVar1,FUN_0018a784);
return;
}
| (translation_unit "void FUN_0018a92c(long param_1)\n\n{\n byte bVar1;\n int iVar2;\n \n bVar1 = *(int *)(param_1 + 0x10) < 0x1001;\n iVar2 = FUN_001114ca(param_1 + 0x18);\n if (iVar2 != 0) {\n bVar1 = bVar1 | 2;\n }\n FUN_00189c2e(*(undefined4 *)(param_1 + 8),bVar1,FUN_0018a784);\n return;\n}\n\n" (function... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x0
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1000
JG 0x0018a951
OR dword ptr [RBP + -0x4],0x1
MOV RAX,qword ptr [RBP + -0x18]
ADD RAX,0x18
MOV RDI,RAX
CALL 0x001114ca
TEST EAX,EAX
JZ 0x0018a969
O... |
void function_1(type_1 serial)
{
int var_2;
type_1 serial_local;
int var_3;
var_3 = (int)(serial->inbufsize < 0x1001);
var_2 = var_1(&serial->output_data);
if (var_2 != 0) {
var_3 = var_3 | 2;
}
var_4(serial->fd,var_3,serial_select_result);
return;
}
| (translation_unit "void serial_uxsel_setup(Serial serial)\n\n{\n int iVar1;\n Serial serial_local;\n int rwx;\n \n rwx = (int)(serial->inbufsize < 0x1001);\n iVar1 = bufchain_size(&serial->output_data);\n if (iVar1 != 0) {\n rwx = rwx | 2;\n }\n uxsel_set(serial->fd,rwx,serial_select_result);\n return;\n}\... | (translation_unit "void function_1(type_1 serial)\n\n{\n int var_2;\n type_1 serial_local;\n int var_3;\n \n var_3 = (int)(serial->inbufsize < 0x1001);\n var_2 = var_1(&serial->output_data);\n if (var_2 != 0) {\n var_3 = var_3 | 2;\n }\n var_4(serial->fd,var_3,serial_select_result);\n return;\n}\n\n" (func... | (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: (primitive_type) declarator: (identifier)) (declarat... |
1070_plink_and_plink_strip.c | share_disconnect | FUN_00173c38 | share_disconnect |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_disconnect(ssh_sharing_connstate *cs,char *message)
{
int iVar1;
int iVar2;
size_t sVar3;
undefined *pkt;
char *message_local;
ssh_sharing_connstate *cs_local;
int msglen;
int pos;
char *packet;
sVar3 = strlen(... |
void FUN_00173c38(undefined8 param_1,char *param_2)
{
int iVar1;
int iVar2;
size_t sVar3;
undefined *puVar4;
sVar3 = strlen(param_2);
iVar2 = (int)sVar3;
puVar4 = (undefined *)FUN_00111901((long)(iVar2 + 0x100),1);
*puVar4 = 0;
puVar4[1] = 0;
puVar4[2] = 0;
puVar4[3] = 2;
puVar4[4] = (char)... | (translation_unit "void FUN_00173c38(undefined8 param_1,char *param_2)\n\n{\n int iVar1;\n int iVar2;\n size_t sVar3;\n undefined *puVar4;\n \n sVar3 = strlen(param_2);\n iVar2 = (int)sVar3;\n puVar4 = (undefined *)FUN_00111901((long)(iVar2 + 0x100),1);\n *puVar4 = 0;\n puVar4[1] = 0;\n puVar4[2] = 0;\n puV... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x20]
MOV RDI,RAX
CALL 0x00108260
MOV dword ptr [RBP + -0x10],EAX
MOV EAX,dword ptr [RBP + -0x10]
ADD EAX,0x100
CDQE
MOV ESI,0x1
MOV RDI,RAX
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV dwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *cs,char *message)
{
int iVar1;
int var_3;
size_t var_4;
type_2 *var_6;
char *message_local;
type_1 *cs_local;
int msglen;
int pos;
char *packet;
var_4 = var_1(message);
var_3 = (int)var_4;
var_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_disconnect(ssh_sharing_connstate *cs,char *message)\n\n{\n int iVar1;\n int iVar2;\n size_t sVar3;\n undefined *pkt;\n char *message_local;\n ssh_sharing_connstate *cs_local;\n int msglen;\n int pos;\n cha... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs,char *message)\n\n{\n int iVar1;\n int var_3;\n size_t var_4;\n type_2 *var_6;\n char *message_local;\n type_1 *cs_local;\n int msglen;\n int pos;\n char *packet;\n \n var_4 = var_1(messa... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
179_pageant_and_pageant_strip.c | register_tm_clones | FUN_00107b70 | register_tm_clones |
/* WARNING: Removing unreachable block (ram,0x00107b94) */
/* WARNING: Removing unreachable block (ram,0x00107ba0) */
void register_tm_clones(void)
{
return;
}
|
/* WARNING: Removing unreachable block (ram,0x00107b94) */
/* WARNING: Removing unreachable block (ram,0x00107ba0) */
void FUN_00107b70(void)
{
return;
}
| (translation_unit "/* WARNING: Removing unreachable block (ram,0x00107b94) */\n/* WARNING: Removing unreachable block (ram,0x00107ba0) */\n\nvoid FUN_00107b70(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void FUN_00107b70(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00107b70... | LEA RDI,[0x170688]
LEA RSI,[0x170688]
SUB RSI,RDI
SAR RSI,0x3
MOV RAX,RSI
SHR RAX,0x3f
ADD RSI,RAX
SAR RSI,0x1
JZ 0x00107ba8
MOV RAX,qword ptr [0x0016fff8]
TEST RAX,RAX
JZ 0x00107ba8
JMP RAX
RET |
/* WARNING: Removing unreachable block (ram,0x00107b94) */
/* WARNING: Removing unreachable block (ram,0x00107ba0) */
void function_1(void)
{
return;
}
| (translation_unit "/* WARNING: Removing unreachable block (ram,0x00107b94) */\n/* WARNING: Removing unreachable block (ram,0x00107ba0) */\n\nvoid register_tm_clones(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void register_tm_clones(void)\n\n{\n return;\n}" primitive_type (function_declarator "... | (translation_unit "/* WARNING: Removing unreachable block (ram,0x00107b94) */\n/* WARNING: Removing unreachable block (ram,0x00107ba0) */\n\nvoid function_1(void)\n\n{\n return;\n}\n\n" comment comment (function_definition "void function_1(void)\n\n{\n return;\n}" primitive_type (function_declarator "function_1(void)... | (translation_unit (comment) (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (return_statement)))) |
829_plink_and_plink_strip.c | ecp_doublem | FUN_0015ac07 | ecp_doublem |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_doublem(ec_point *a)
{
Bignum_conflict pBVar1;
Bignum_conflict pBVar2;
Bignum_conflict pBVar3;
Bignum_conflict pBVar4;
Bignum_conflict pBVar5;
Bignum_conflict q;
ec_point *peVar6;
ec_point *a_local;
Bignum z;
... |
undefined8 FUN_0015ac07(long *param_1)
{
undefined8 uVar1;
undefined8 uVar2;
undefined8 uVar3;
undefined8 uVar4;
undefined8 uVar5;
long lVar6;
undefined *local_58;
local_58 = (undefined *)param_1[3];
if (local_58 == (undefined *)0x0) {
local_58 = PTR_DAT_001b48c8;
}
uVar1 = FUN_00159b43(p... | (translation_unit "undefined8 FUN_0015ac07(long *param_1)\n\n{\n undefined8 uVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n long lVar6;\n undefined *local_58;\n \n local_58 = (undefined *)param_1[3];\n if (local_58 == (undefined *)0x0) {\n local_58 = PTR_DAT_001b48c... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x58],RDI
MOV RAX,qword ptr [RBP + -0x58]
MOV RAX,qword ptr [RAX + 0x18]
MOV qword ptr [RBP + -0x50],RAX
CMP qword ptr [RBP + -0x50],0x0
JNZ 0x0015ac31
MOV RAX,qword ptr [0x001b48c8]
MOV qword ptr [RBP + -0x50],RAX
MOV RAX,qword ptr [RBP + -0x58]
MOV RDX,qword ptr... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a)
{
type_2 pBVar1;
type_2 pBVar2;
type_2 pBVar3;
type_2 pBVar4;
type_2 pBVar5;
type_2 var_9;
type_1 *peVar6;
type_1 *a_local;
type_3 var_1;
type_3 tmp;
type_3 xpz;
type_3 xmz;
type_3 outx;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_doublem(ec_point *a)\n\n{\n Bignum_conflict pBVar1;\n Bignum_conflict pBVar2;\n Bignum_conflict pBVar3;\n Bignum_conflict pBVar4;\n Bignum_conflict pBVar5;\n Bignum_conflict q;\n ec_point *peVar6;\n ec_... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *a)\n\n{\n type_2 pBVar1;\n type_2 pBVar2;\n type_2 pBVar3;\n type_2 pBVar4;\n type_2 pBVar5;\n type_2 var_9;\n type_1 *peVar6;\n type_1 *a_local;\n type_3 var_1;\n type_3 tmp;\n type_3 x... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_stat... |
1038_plink_and_plink_strip.c | hmacsha1_96_verresult | FUN_00171f9d | hmacsha1_96_verresult |
int hmacsha1_96_verresult(void *handle,uchar *hmac)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
uchar *hmac_local;
void *handle_local;
uchar correct [20];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
hmacsha1_genresult(handle,correct);
iVar2 = smemeq(correct,hmac,0xc);
if (lVar1 != *(long *)(in_FS_O... |
void FUN_00171f9d(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_00171b53(param_1,local_28);
FUN_00111f72(local_28,param_2,0xc);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
/*... | (translation_unit "void FUN_00171f9d(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_00171b53(param_1,local_28);\n FUN_00111f72(local_28,param_2,0xc);\n if (local_10 != *(long *)(in_FS_OFFSET + 0x2... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x28]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00171b53
MOV RCX,qword ptr [RBP + -0x30]
LEA RAX,[RBP + -0x20]
MOV... |
int function_1(void *handle,type_1 *hmac)
{
long var_4;
int iVar2;
long var_1;
type_1 *hmac_local;
void *handle_local;
type_1 correct [20];
var_4 = *(long *)(var_1 + 0x28);
var_2(handle,correct);
iVar2 = var_3(correct,hmac,0xc);
if (var_4 != *(long *)(var_1 + 0x28)) {
/* WAR... | (translation_unit "int hmacsha1_96_verresult(void *handle,uchar *hmac)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n uchar *hmac_local;\n void *handle_local;\n uchar correct [20];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n hmacsha1_genresult(handle,correct);\n iVar2 = smemeq(correct,hmac,0xc);\n ... | (translation_unit "int function_1(void *handle,type_1 *hmac)\n\n{\n long var_4;\n int iVar2;\n long var_1;\n type_1 *hmac_local;\n void *handle_local;\n type_1 correct [20];\n \n var_4 = *(long *)(var_1 + 0x28);\n var_2(handle,correct);\n iVar2 = var_3(correct,hmac,0xc);\n if (var_4 != *(long *)(var_1 + 0x28... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
830_plink_and_plink_strip.c | ecp_double | FUN_0015aecc | ecp_double |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_double(ec_point *a,int aminus3)
{
ec_point *peVar1;
int aminus3_local;
ec_point *a_local;
if (a->infinity == '\0') {
if (a->curve->type == ADDRTYPE_IPV6) {
peVar1 = ecp_add(a,a,aminus3);
}
else if (a-... |
void FUN_0015aecc(undefined8 *param_1,undefined4 param_2)
{
if (*(char *)(param_1 + 4) == '\0') {
if (*(int *)*param_1 == 2) {
FUN_0015bbde(param_1,param_1,param_2);
}
else if (*(int *)*param_1 == 0) {
FUN_0015a5b3(param_1,param_2);
}
else {
FUN_0015ac07(param_1);
}
}
e... | (translation_unit "void FUN_0015aecc(undefined8 *param_1,undefined4 param_2)\n\n{\n if (*(char *)(param_1 + 4) == '\0') {\n if (*(int *)*param_1 == 2) {\n FUN_0015bbde(param_1,param_1,param_2);\n }\n else if (*(int *)*param_1 == 0) {\n FUN_0015a5b3(param_1,param_2);\n }\n else {\n FUN_001... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX + 0x20]
TEST AL,AL
JZ 0x0015af0d
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
MOV R8D,0x1
MOV ECX,0x0
MOV EDX,0x0
MOV ESI,0x0
MOV RDI,RAX
CALL 0x00159dfd
JMP 0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,int aminus3)
{
type_1 *peVar1;
int aminus3_local;
type_1 *a_local;
if (a->infinity == '\0') {
if (a->curve->type == var_1) {
peVar1 = var_2(a,a,aminus3);
}
else if (a->curve->type == va... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_double(ec_point *a,int aminus3)\n\n{\n ec_point *peVar1;\n int aminus3_local;\n ec_point *a_local;\n \n if (a->infinity == '\0') {\n if (a->curve->type == ADDRTYPE_IPV6) {\n peVar1 = ecp_add(a,a,am... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *a,int aminus3)\n\n{\n type_1 *peVar1;\n int aminus3_local;\n type_1 *a_local;\n \n if (a->infinity == '\0') {\n if (a->curve->type == var_1) {\n peVar1 = var_2(a,a,aminus3);\n }\n ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
1081_plink_and_plink_strip.c | share_got_pkt_from_downstream | FUN_00174ebc | share_got_pkt_from_downstream |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_got_pkt_from_downstream(ssh_sharing_connstate *cs,int type,uchar *pkt,int pktlen)
{
byte bVar1;
uchar uVar2;
byte bVar3;
byte bVar4;
byte bVar5;
uchar uVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
long... |
void FUN_00174ebc(long param_1,int param_2,byte *param_3,int param_4)
{
byte bVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
int iVar11;
int iVar12;
uint uVar13;
undefined4 uVar14;
int iVar15;
char *pcVar16;
long lVa... | (translation_unit "void FUN_00174ebc(long param_1,int param_2,byte *param_3,int param_4)\n\n{\n byte bVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n int iVar11;\n int iVar12;\n uint uVar13;\n undefined4 uVar14;\n int ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x100
MOV qword ptr [RBP + -0xe8],RDI
MOV dword ptr [RBP + -0xec],ESI
MOV qword ptr [RBP + -0xf8],RDX
MOV dword ptr [RBP + -0xf0],ECX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV qword ptr [RBP + -0x78],0x0
CMP dword ptr [RBP + -0xec],0x5a
JZ 0x00175733
CMP dwo... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *cs,int var_2,type_2 *var_12,int var_5)
{
type_3 var_39;
type_2 var_31;
type_3 bVar3;
type_3 bVar4;
type_3 bVar5;
type_2 var_26;
type_3 bVar7;
type_3 bVar8;
type_3 bVar9;
type_3 bVar10;
long var_55;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_got_pkt_from_downstream(ssh_sharing_connstate *cs,int type,uchar *pkt,int pktlen)\n\n{\n byte bVar1;\n uchar uVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n uchar uVar6;\n byte bVar7;\n byte bVar8;\n by... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *cs,int var_2,type_2 *var_12,int var_5)\n\n{\n type_3 var_39;\n type_2 var_31;\n type_3 bVar3;\n type_3 bVar4;\n type_3 bVar5;\n type_2 var_26;\n type_3 bVar7;\n type_3 bVar8;\n type_3 bVar9;\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
1311_plink_and_plink_strip.c | pollwrap_clear | FUN_00188860 | pollwrap_clear |
void pollwrap_clear(pollwrapper *pw)
{
void *ptr;
pollwrapper *pw_local;
pollwrap_fdtopos *f2p;
pw->nfd = 0;
while( true ) {
ptr = delpos234(pw->fdtopos,0);
if (ptr == (void *)0x0) break;
safefree(ptr);
}
return;
}
|
void FUN_00188860(long param_1)
{
long lVar1;
*(undefined8 *)(param_1 + 8) = 0;
while( true ) {
lVar1 = FUN_0017f2f5(*(undefined8 *)(param_1 + 0x18),0);
if (lVar1 == 0) break;
FUN_00111b0d(lVar1);
}
return;
}
| (translation_unit "void FUN_00188860(long param_1)\n\n{\n long lVar1;\n \n *(undefined8 *)(param_1 + 8) = 0;\n while( true ) {\n lVar1 = FUN_0017f2f5(*(undefined8 *)(param_1 + 0x18),0);\n if (lVar1 == 0) break;\n FUN_00111b0d(lVar1);\n }\n return;\n}\n\n" (function_definition "void FUN_00188860(long para... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX + 0x8],0x0
JMP 0x00188886
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00111b0d
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x18]
MOV ESI,0x0
MOV RDI,RAX
CALL 0x0017f2f5
MOV qword ptr [... |
void function_1(type_1 *pw)
{
void *var_2;
type_1 *pw_local;
type_2 *f2p;
pw->nfd = 0;
while( true ) {
var_2 = var_1(pw->fdtopos,0);
if (var_2 == (void *)0x0) break;
var_3(var_2);
}
return;
}
| (translation_unit "void pollwrap_clear(pollwrapper *pw)\n\n{\n void *ptr;\n pollwrapper *pw_local;\n pollwrap_fdtopos *f2p;\n \n pw->nfd = 0;\n while( true ) {\n ptr = delpos234(pw->fdtopos,0);\n if (ptr == (void *)0x0) break;\n safefree(ptr);\n }\n return;\n}\n\n" (function_definition "void pollwrap_c... | (translation_unit "void function_1(type_1 *pw)\n\n{\n void *var_2;\n type_1 *pw_local;\n type_2 *f2p;\n \n pw->nfd = 0;\n while( true ) {\n var_2 = var_1(pw->fdtopos,0);\n if (var_2 == (void *)0x0) break;\n var_3(var_2);\n }\n return;\n}\n\n" (function_definition "void function_1(type_1 *pw)\n\n{\n vo... | (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... |
498_pageant_and_pageant_strip.c | ec_curve25519 | FUN_0013124e | ec_curve25519 |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_curve * ec_curve25519(void)
{
if (ec_curve25519::initialised == '\0') {
initialise_mcurve(&ec_curve25519::curve,0x100,ec_curve25519::lexical_block_2::p,"","","");
ec_curve25519::curve.name ... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined * FUN_0013124e(void)
{
if (DAT_00170908 == '\0') {
FUN_00130ef7(&DAT_00170920,0x100,&DAT_00161220,&DAT_00161240,&DAT_00161260,&DAT_00161280);
_DAT_00170928 = 0;
_DAT_00170930 = "Curve25519";
DAT_00170908 ... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined * FUN_0013124e(void)\n\n{\n if (DAT_00170908 == '\0') {\n FUN_00130ef7(&DAT_00170920,0x100,&DAT_00161220,&DAT_00161240,&DAT_00161260,&DAT_00161280);\n _DAT_00170928 = 0;\n _DAT_00170930 = "Curv... | PUSH RBP
MOV RBP,RSP
MOVZX EAX,byte ptr [0x00170908]
TEST AL,AL
JNZ 0x001312aa
LEA R9,[0x161280]
LEA R8,[0x161260]
LEA RCX,[0x161240]
LEA RDX,[0x161220]
MOV ESI,0x100
LEA RDI,[0x170920]
CALL 0x00130ef7
MOV qword ptr [0x00170928],0x0
LEA RAX,[0x160bdb]
MOV qword ptr [0x00170930],RAX
MOV byte ptr [0x00170908],0x1
LEA RAX... |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(void)
{
if (function_1::initialised == '\0') {
var_1(&function_1::curve,0x100,function_1::lexical_block_2::p,"","","");
ec_curve25519::curve.name = (char *)0x0;
ec_curv... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_curve * ec_curve25519(void)\n\n{\n if (ec_curve25519::initialised == '\0') {\n initialise_mcurve(&ec_curve25519::curve,0x100,ec_curve25519::lexical_block_2::p,"","","");\n ... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void)\n\n{\n if (function_1::initialised == '\0') {\n var_1(&function_1::curve,0x100,function_1::lexical_block_2::p,"","","");\n ec_curve25519::curve.name ... | (translation_unit (comment) (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (if_statement condition: (parenthesized_exp... |
214_pageant_and_pageant_strip.c | conf_get_str_strs | FUN_0010b1cd | conf_get_str_strs |
char * conf_get_str_strs(Conf *conf,int primary,char *subkeyin,char **subkeyout)
{
long lVar1;
char *pcVar2;
long in_FS_OFFSET;
char **subkeyout_local;
char *subkeyin_local;
int primary_local;
Conf *conf_local;
conf_entry *entry;
constkey key;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (subke... |
undefined8 FUN_0010b1cd(undefined8 *param_1,int param_2,undefined *param_3,undefined8 *param_4)
{
undefined8 uVar1;
long in_FS_OFFSET;
int *local_30;
int local_28 [2];
undefined *local_20;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(&DAT_00170020 + (long)param_2 * 4) != 2... | (translation_unit "undefined8 FUN_0010b1cd(undefined8 *param_1,int param_2,undefined *param_3,undefined8 *param_4)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n int *local_30;\n int local_28 [2];\n undefined *local_20;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (*(int *)(&DAT_00170... | 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 qword ptr [RBP + -0x50],RCX
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... |
char * function_1(type_1 *conf,int var_6,char *var_3,char **subkeyout)
{
long var_7;
char *pcVar2;
long var_1;
char **subkeyout_local;
char *subkeyin_local;
int primary_local;
type_1 *conf_local;
type_2 *var_5;
type_3 key;
var_7 = *(long *)(var_1 + 0x28);
if (subkeytypes[var_6] != 2) {
... | (translation_unit "char * conf_get_str_strs(Conf *conf,int primary,char *subkeyin,char **subkeyout)\n\n{\n long lVar1;\n char *pcVar2;\n long in_FS_OFFSET;\n char **subkeyout_local;\n char *subkeyin_local;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n constkey key;\n \n lVar1 = *(long *)(in... | (translation_unit "char * function_1(type_1 *conf,int var_6,char *var_3,char **subkeyout)\n\n{\n long var_7;\n char *pcVar2;\n long var_1;\n char **subkeyout_local;\n char *subkeyin_local;\n int primary_local;\n type_1 *conf_local;\n type_2 *var_5;\n type_3 key;\n \n var_7 = *(long *)(var_1 + 0x28);\n if (s... | (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... |
253_pageant_and_pageant_strip.c | fgetline | FUN_0010d458 | fgetline |
char * fgetline(FILE *fp)
{
size_t sVar1;
char *pcVar2;
FILE *fp_local;
int size;
int len;
char *ret;
ret = (char *)safemalloc(0x200,1);
size = 0x200;
len = 0;
while (pcVar2 = fgets(ret + len,size - len,(FILE *)fp), pcVar2 != (char *)0x0) {
sVar1 = strlen(ret + len);
len = len + (int)sV... |
long FUN_0010d458(FILE *param_1)
{
size_t sVar1;
char *pcVar2;
int local_18;
int local_14;
long local_10;
local_10 = FUN_0010dd24(0x200,1);
local_18 = 0x200;
local_14 = 0;
while (pcVar2 = fgets((char *)(local_14 + local_10),local_18 - local_14,param_1),
pcVar2 != (char *)0x0) {
sVar1 ... | (translation_unit "long FUN_0010d458(FILE *param_1)\n\n{\n size_t sVar1;\n char *pcVar2;\n int local_18;\n int local_14;\n long local_10;\n \n local_10 = FUN_0010dd24(0x200,1);\n local_18 = 0x200;\n local_14 = 0;\n while (pcVar2 = fgets((char *)(local_14 + local_10),local_18 - local_14,param_1),\n pcVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV ESI,0x1
MOV EDI,0x200
CALL 0x0010dd24
MOV qword ptr [RBP + -0x8],RAX
MOV dword ptr [RBP + -0x10],0x200
MOV dword ptr [RBP + -0xc],0x0
JMP 0x0010d4ec
MOV EAX,dword ptr [RBP + -0xc]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX,RDX
MOV RDI,RAX
... |
char * function_1(type_1 *fp)
{
size_t sVar1;
char *var_6;
type_1 *fp_local;
int var_5;
int var_4;
char *var_3;
var_3 = (char *)var_1(0x200,1);
var_5 = 0x200;
var_4 = 0;
while (var_6 = var_2(var_3 + var_4,var_5 - var_4,(type_1 *)fp), var_6 != (char *)0x0) {
sVar1 = var_7(var_3 + var_4);
... | (translation_unit "char * fgetline(FILE *fp)\n\n{\n size_t sVar1;\n char *pcVar2;\n FILE *fp_local;\n int size;\n int len;\n char *ret;\n \n ret = (char *)safemalloc(0x200,1);\n size = 0x200;\n len = 0;\n while (pcVar2 = fgets(ret + len,size - len,(FILE *)fp), pcVar2 != (char *)0x0) {\n sVar1 = strlen(ret... | (translation_unit "char * function_1(type_1 *fp)\n\n{\n size_t sVar1;\n char *var_6;\n type_1 *fp_local;\n int var_5;\n int var_4;\n char *var_3;\n \n var_3 = (char *)var_1(0x200,1);\n var_5 = 0x200;\n var_4 = 0;\n while (var_6 = var_2(var_3 + var_4,var_5 - var_4,(type_1 *)fp), var_6 != (char *)0x0) {\n s... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
1090_plink_and_plink_strip.c | nullplug_socket_log | FUN_001772e4 | nullplug_socket_log |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void nullplug_socket_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
SockAddr addr_local;
int port_local;
int type_local;
Plug plug_local;
return;
}
|
void FUN_001772e4(void)
{
return;
}
| (translation_unit "void FUN_001772e4(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001772e4(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001772e4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV dword ptr [RBP + -0x10],ECX
MOV qword ptr [RBP + -0x20],R8
MOV dword ptr [RBP + -0x24],R9D
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,int type,type_2 addr,int port,char *error_msg,int error_code)
{
int error_code_local;
char *error_msg_local;
type_2 addr_local;
int port_local;
int type_local;
type_1 plug_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid nullplug_socket_log(Plug plug,int type,SockAddr addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n SockAddr addr_local;\n int port_local;\n int type_local;\n Plug ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int type,type_2 addr,int port,char *error_msg,int error_code)\n\n{\n int error_code_local;\n char *error_msg_local;\n type_2 addr_local;\n int port_local;\n int type_local;\n type_1 plug_loca... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
1145_plink_and_plink_strip.c | telnet_cfg_info | FUN_0017cce0 | telnet_cfg_info |
int telnet_cfg_info(void *handle)
{
void *handle_local;
return 0;
}
|
undefined8 FUN_0017cce0(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_0017cce0(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_0017cce0(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_0017cce0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,0x0
POP RBP
RET |
int function_1(void *handle)
{
void *handle_local;
return 0;
}
| (translation_unit "int telnet_cfg_info(void *handle)\n\n{\n void *handle_local;\n \n return 0;\n}\n\n" (function_definition "int telnet_cfg_info(void *handle)\n\n{\n void *handle_local;\n \n return 0;\n}" primitive_type (function_declarator "telnet_cfg_info(void *handle)" identifier (parameter_list "(void *handle... | (translation_unit "int function_1(void *handle)\n\n{\n void *handle_local;\n \n return 0;\n}\n\n" (function_definition "int function_1(void *handle)\n\n{\n void *handle_local;\n \n return 0;\n}" primitive_type (function_declarator "function_1(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1214_plink_and_plink_strip.c | filename_char_sanitise | FUN_00181380 | filename_char_sanitise |
char filename_char_sanitise(char c)
{
char c_local;
if (c == '/') {
c = '.';
}
return c;
}
|
char FUN_00181380(char param_1)
{
if (param_1 == '/') {
param_1 = '.';
}
return param_1;
}
| (translation_unit "char FUN_00181380(char param_1)\n\n{\n if (param_1 == '/') {\n param_1 = '.';\n }\n return param_1;\n}\n\n" (function_definition "char FUN_00181380(char param_1)\n\n{\n if (param_1 == '/') {\n param_1 = '.';\n }\n return param_1;\n}" primitive_type (function_declarator "FUN_00181380(char ... | PUSH RBP
MOV RBP,RSP
MOV EAX,EDI
MOV byte ptr [RBP + -0x4],AL
CMP byte ptr [RBP + -0x4],0x2f
JNZ 0x00181396
MOV EAX,0x2e
JMP 0x0018139a
MOVZX EAX,byte ptr [RBP + -0x4]
POP RBP
RET |
char function_1(char var_1)
{
char c_local;
if (var_1 == '/') {
var_1 = '.';
}
return var_1;
}
| (translation_unit "char filename_char_sanitise(char c)\n\n{\n char c_local;\n \n if (c == '/') {\n c = '.';\n }\n return c;\n}\n\n" (function_definition "char filename_char_sanitise(char c)\n\n{\n char c_local;\n \n if (c == '/') {\n c = '.';\n }\n return c;\n}" primitive_type (function_declarator "file... | (translation_unit "char function_1(char var_1)\n\n{\n char c_local;\n \n if (var_1 == '/') {\n var_1 = '.';\n }\n return var_1;\n}\n\n" (function_definition "char function_1(char var_1)\n\n{\n char c_local;\n \n if (var_1 == '/') {\n var_1 = '.';\n }\n return var_1;\n}" primitive_type (function_declarat... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (if_statem... |
1285_plink_and_plink_strip.c | platform_default_s | FUN_00185cb5 | platform_default_s |
char * platform_default_s(char *name)
{
int iVar1;
char *pcVar2;
char *name_local;
iVar1 = strcmp(name,"TermType");
if (iVar1 == 0) {
pcVar2 = getenv("TERM");
pcVar2 = dupstr(pcVar2);
}
else {
iVar1 = strcmp(name,"SerialLine");
if (iVar1 == 0) {
pcVar2 = dupstr("/dev/ttyS0");
... |
undefined8 FUN_00185cb5(char *param_1)
{
int iVar1;
char *pcVar2;
undefined8 uVar3;
iVar1 = strcmp(param_1,"TermType");
if (iVar1 == 0) {
pcVar2 = getenv("TERM");
uVar3 = FUN_0011086d(pcVar2);
}
else {
iVar1 = strcmp(param_1,"SerialLine");
if (iVar1 == 0) {
uVar3 = FUN_0011086d(... | (translation_unit "undefined8 FUN_00185cb5(char *param_1)\n\n{\n int iVar1;\n char *pcVar2;\n undefined8 uVar3;\n \n iVar1 = strcmp(param_1,"TermType");\n if (iVar1 == 0) {\n pcVar2 = getenv("TERM");\n uVar3 = FUN_0011086d(pcVar2);\n }\n else {\n iVar1 = strcmp(param_1,"SerialLine");\n if (iVar1 == ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x1a175e]
MOV RDI,RAX
CALL 0x00108490
TEST EAX,EAX
JNZ 0x00185cee
LEA RDI,[0x1a1767]
CALL 0x00108040
MOV RDI,RAX
CALL 0x0011086d
JMP 0x00185d18
MOV RAX,qword ptr [RBP + -0x8]
LEA RSI,[0x1a176c]
MOV RDI,RAX
CALL 0x00... |
char * function_1(char *name)
{
int var_2;
char *pcVar2;
char *name_local;
var_2 = var_1(name,"TermType");
if (var_2 == 0) {
pcVar2 = var_3("TERM");
pcVar2 = var_4(pcVar2);
}
else {
var_2 = var_1(name,"SerialLine");
if (var_2 == 0) {
pcVar2 = var_4("/dev/ttyS0");
}
else ... | (translation_unit "char * platform_default_s(char *name)\n\n{\n int iVar1;\n char *pcVar2;\n char *name_local;\n \n iVar1 = strcmp(name,"TermType");\n if (iVar1 == 0) {\n pcVar2 = getenv("TERM");\n pcVar2 = dupstr(pcVar2);\n }\n else {\n iVar1 = strcmp(name,"SerialLine");\n if (iVar1 == 0) {\n ... | (translation_unit "char * function_1(char *name)\n\n{\n int var_2;\n char *pcVar2;\n char *name_local;\n \n var_2 = var_1(name,"TermType");\n if (var_2 == 0) {\n pcVar2 = var_3("TERM");\n pcVar2 = var_4(pcVar2);\n }\n else {\n var_2 = var_1(name,"SerialLine");\n if (var_2 == 0) {\n pcVar2 = var... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decla... |
981_plink_and_plink_strip.c | sha256_copy | FUN_0016ba07 | sha256_copy |
void * sha256_copy(void *vold)
{
undefined8 uVar1;
undefined8 *puVar2;
void *vold_local;
SHA256_State *old;
SHA256_State *s;
puVar2 = (undefined8 *)safemalloc(1,0x6c);
/* WARNING: Load size is inaccurate */
uVar1 = *(undefined8 *)((long)vold + 8);
*puVar2 = *vold;
puVar2[1] = ... |
undefined8 * FUN_0016ba07(undefined8 *param_1)
{
undefined8 uVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)FUN_00111901(1,0x6c);
uVar1 = param_1[1];
*puVar2 = *param_1;
puVar2[1] = uVar1;
uVar1 = param_1[3];
puVar2[2] = param_1[2];
puVar2[3] = uVar1;
uVar1 = param_1[5];
puVar2[4] = param_1... | (translation_unit "undefined8 * FUN_0016ba07(undefined8 *param_1)\n\n{\n undefined8 uVar1;\n undefined8 *puVar2;\n \n puVar2 = (undefined8 *)FUN_00111901(1,0x6c);\n uVar1 = param_1[1];\n *puVar2 = *param_1;\n puVar2[1] = uVar1;\n uVar1 = param_1[3];\n puVar2[2] = param_1[2];\n puVar2[3] = uVar1;\n uVar1 = pa... | 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 ESI,0x6c
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RBP + -0x20]
MOV RCX,qword ptr [RDX]
MOV RBX,qword ptr [R... |
void * function_1(void *vold)
{
type_1 uVar1;
type_1 *var_2;
void *vold_local;
type_2 *old;
type_2 *s;
var_2 = (type_1 *)var_1(1,0x6c);
/* WARNING: Load size is inaccurate */
uVar1 = *(type_1 *)((long)vold + 8);
*var_2 = *vold;
var_2[1] = uVar1;
uVar1 = *(type_1 *)((long)vol... | (translation_unit "void * sha256_copy(void *vold)\n\n{\n undefined8 uVar1;\n undefined8 *puVar2;\n void *vold_local;\n SHA256_State *old;\n SHA256_State *s;\n \n puVar2 = (undefined8 *)safemalloc(1,0x6c);\n /* WARNING: Load size is inaccurate */\n uVar1 = *(undefined8 *)((long)vold + 8);\n *... | (translation_unit "void * function_1(void *vold)\n\n{\n type_1 uVar1;\n type_1 *var_2;\n void *vold_local;\n type_2 *old;\n type_2 *s;\n \n var_2 = (type_1 *)var_1(1,0x6c);\n /* WARNING: Load size is inaccurate */\n uVar1 = *(type_1 *)((long)vold + 8);\n *var_2 = *vold;\n var_2[1] = uVar1;\... | (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... |
287_pageant_and_pageant_strip.c | plog | FUN_0010f0f9 | plog |
void plog(void *logctx,pageant_logfn_t logfn,char *fmt,...)
{
long lVar1;
char in_AL;
undefined8 in_RCX;
undefined8 in_R8;
undefined8 in_R9;
long in_FS_OFFSET;
undefined8 in_XMM0_Qa;
undefined8 in_XMM1_Qa;
undefined8 in_XMM2_Qa;
undefined8 in_XMM3_Qa;
undefined8 in_XMM4_Qa;
undefined8 in_XMM5_... |
void FUN_0010f0f9(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,
undefined8 param_9,code *param_10,undefined8 param_11,undefined8 param_12,
undefined8 param_13,u... | (translation_unit "void FUN_0010f0f9(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8,\n undefined8 param_9,code *param_10,undefined8 param_11,undefined8 param_12,\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xf0
MOV qword ptr [RBP + -0xd8],RDI
MOV qword ptr [RBP + -0xe0],RSI
MOV qword ptr [RBP + -0xe8],RDX
MOV qword ptr [RBP + -0x98],RCX
MOV qword ptr [RBP + -0x90],R8
MOV qword ptr [RBP + -0x88],R9
TEST AL,AL
JZ 0x0010f152
MOVAPS xmmword ptr [RBP + -0x80],XMM0
MOVAPS xmmword ptr [RBP + -0x70],... |
void function_1(void *logctx,type_1 var_3,char *fmt,...)
{
long var_4;
char var_1;
type_2 in_RCX;
type_2 in_R8;
type_2 in_R9;
long var_2;
type_2 in_XMM0_Qa;
type_2 in_XMM1_Qa;
type_2 in_XMM2_Qa;
type_2 in_XMM3_Qa;
type_2 in_XMM4_Qa;
type_2 in_XMM5_Qa;
type_2 in_XMM6_Qa;
type_2 in_XMM7_Qa;
... | (translation_unit "void plog(void *logctx,pageant_logfn_t logfn,char *fmt,...)\n\n{\n long lVar1;\n char in_AL;\n undefined8 in_RCX;\n undefined8 in_R8;\n undefined8 in_R9;\n long in_FS_OFFSET;\n undefined8 in_XMM0_Qa;\n undefined8 in_XMM1_Qa;\n undefined8 in_XMM2_Qa;\n undefined8 in_XMM3_Qa;\n undefined8 in... | (translation_unit "void function_1(void *logctx,type_1 var_3,char *fmt,...)\n\n{\n long var_4;\n char var_1;\n type_2 in_RCX;\n type_2 in_R8;\n type_2 in_R9;\n long var_2;\n type_2 in_XMM0_Qa;\n type_2 in_XMM1_Qa;\n type_2 in_XMM2_Qa;\n type_2 in_XMM3_Qa;\n type_2 in_XMM4_Qa;\n type_2 in_XMM5_Qa;\n type_2 ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identif... |
1199_plink_and_plink_strip.c | frontend_keypress | FUN_00180cb4 | frontend_keypress |
void frontend_keypress(void *handle)
{
void *handle_local;
return;
}
|
void FUN_00180cb4(void)
{
return;
}
| (translation_unit "void FUN_00180cb4(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_00180cb4(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_00180cb4(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(void *handle)
{
void *handle_local;
return;
}
| (translation_unit "void frontend_keypress(void *handle)\n\n{\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void frontend_keypress(void *handle)\n\n{\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "frontend_keypress(void *handle)" identifier (parameter_list "(void *ha... | (translation_unit "void function_1(void *handle)\n\n{\n void *handle_local;\n \n return;\n}\n\n" (function_definition "void function_1(void *handle)\n\n{\n void *handle_local;\n \n return;\n}" primitive_type (function_declarator "function_1(void *handle)" identifier (parameter_list "(void *handle)" ( (parameter_d... | (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... |
264_pageant_and_pageant_strip.c | safemalloc | FUN_0010dd24 | safemalloc |
void * safemalloc(size_t n,size_t size)
{
long lVar1;
undefined auVar2 [16];
long in_FS_OFFSET;
size_t size_local;
size_t n_local;
void *p;
char str [200];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
auVar2._8_8_ = 0;
auVar2._0_8_ = size;
if (SUB168((ZEXT816(0) << 0x40 | ZEXT816(0x7fffffff)) / au... |
void * FUN_0010dd24(ulong param_1,ulong param_2)
{
undefined auVar1 [16];
long in_FS_OFFSET;
size_t local_f8;
void *local_e0;
undefined8 local_d8;
undefined4 local_d0;
undefined2 local_cc;
undefined local_ca;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
auVar1._8_8_ = 0;
auVar1... | (translation_unit "void * FUN_0010dd24(ulong param_1,ulong param_2)\n\n{\n undefined auVar1 [16];\n long in_FS_OFFSET;\n size_t local_f8;\n void *local_e0;\n undefined8 local_d8;\n undefined4 local_d0;\n undefined2 local_cc;\n undefined local_ca;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xf0
MOV qword ptr [RBP + -0xe8],RDI
MOV qword ptr [RBP + -0xf0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,0x7fffffff
MOV EDX,0x0
DIV qword ptr [RBP + -0xf0]
CMP qword ptr [RBP + -0xe8],RAX
JBE 0x0010dd73
MOV qword ptr [RBP + -0xd8],0x0
JMP 0x0010ddb... |
void * function_1(size_t var_5,size_t var_6)
{
long var_12;
type_1 var_4 [16];
long var_1;
size_t var_7;
size_t n_local;
void *var_9;
char str [200];
var_12 = *(long *)(var_1 + 0x28);
var_4._8_8_ = 0;
var_4._0_8_ = var_6;
if (var_2((var_3(0) << 0x40 | var_3(0x7fffffff)) / var_4,0) < var_5) {
... | (translation_unit "void * safemalloc(size_t n,size_t size)\n\n{\n long lVar1;\n undefined auVar2 [16];\n long in_FS_OFFSET;\n size_t size_local;\n size_t n_local;\n void *p;\n char str [200];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n auVar2._8_8_ = 0;\n auVar2._0_8_ = size;\n if (SUB168((ZEXT816(0) << ... | (translation_unit "void * function_1(size_t var_5,size_t var_6)\n\n{\n long var_12;\n type_1 var_4 [16];\n long var_1;\n size_t var_7;\n size_t n_local;\n void *var_9;\n char str [200];\n \n var_12 = *(long *)(var_1 + 0x28);\n var_4._8_8_ = 0;\n var_4._0_8_ = var_6;\n if (var_2((var_3(0) << 0x40 | var_3(0x7... | (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)) (parameter_declaration type: (primitive_type) declarator: (identifie... |
851_plink_and_plink_strip.c | ecdsa_freekey | FUN_0015d136 | ecdsa_freekey |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ecdsa_freekey(void *key)
{
void *key_local;
ec_key *ec;
if (key != (void *)0x0) {
if (*(long *)((long)key + 0x10) != 0) {
freebn(*(Bignum_conflict *)((long)key + 0x10));
}
if (*(long *)((long)key + 0x18) != 0) {
... |
void FUN_0015d136(long param_1)
{
if (param_1 != 0) {
if (*(long *)(param_1 + 0x10) != 0) {
FUN_00149d91(*(undefined8 *)(param_1 + 0x10));
}
if (*(long *)(param_1 + 0x18) != 0) {
FUN_00149d91(*(undefined8 *)(param_1 + 0x18));
}
if (*(long *)(param_1 + 0x20) != 0) {
FUN_00149d91... | (translation_unit "void FUN_0015d136(long param_1)\n\n{\n if (param_1 != 0) {\n if (*(long *)(param_1 + 0x10) != 0) {\n FUN_00149d91(*(undefined8 *)(param_1 + 0x10));\n }\n if (*(long *)(param_1 + 0x18) != 0) {\n FUN_00149d91(*(undefined8 *)(param_1 + 0x18));\n }\n if (*(long *)(param_1 + 0x20... | 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
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0015d1d7
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
TEST RAX,RAX
JZ 0x0015d172
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *var_1)
{
void *key_local;
type_1 *ec;
if (var_1 != (void *)0x0) {
if (*(long *)((long)var_1 + 0x10) != 0) {
var_2(*(type_2 *)((long)var_1 + 0x10));
}
if (*(long *)((long)var_1 + 0x18) != 0) {
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ecdsa_freekey(void *key)\n\n{\n void *key_local;\n ec_key *ec;\n \n if (key != (void *)0x0) {\n if (*(long *)((long)key + 0x10) != 0) {\n freebn(*(Bignum_conflict *)((long)key + 0x10));\n }\n if (*(long... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *var_1)\n\n{\n void *key_local;\n type_1 *ec;\n \n if (var_1 != (void *)0x0) {\n if (*(long *)((long)var_1 + 0x10) != 0) {\n var_2(*(type_2 *)((long)var_1 + 0x10));\n }\n if (*(long *)((... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive... |
826_plink_and_plink_strip.c | ec_point_verify | FUN_00159f3a | ec_point_verify |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ec_point_verify(ec_point *a)
{
int iVar1;
uint uVar2;
Bignum_conflict pBVar3;
Bignum_conflict pBVar4;
Bignum_conflict pBVar5;
Bignum_conflict pBVar6;
ec_point *a_local;
int ret;
int ret_1;
Bignum y2;
Bignum x2;
Bignu... |
bool FUN_00159f3a(long *param_1)
{
int iVar1;
undefined8 uVar2;
undefined8 uVar3;
undefined8 uVar4;
undefined8 uVar5;
bool bVar6;
if (*(char *)(param_1 + 4) == '\0') {
if (*(int *)*param_1 == 2) {
uVar2 = FUN_00159be9(param_1[2],*param_1);
uVar3 = FUN_00159be9(param_1[1],*param_1);
... | (translation_unit "bool FUN_00159f3a(long *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n undefined8 uVar5;\n bool bVar6;\n \n if (*(char *)(param_1 + 4) == '\0') {\n if (*(int *)*param_1 == 2) {\n uVar2 = FUN_00159be9(param_1[2],*param_1);\n uVar3 = FUN_00... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x78],RDI
MOV RAX,qword ptr [RBP + -0x78]
MOVZX EAX,byte ptr [RAX + 0x20]
TEST AL,AL
JZ 0x00159f5c
MOV EAX,0x1
JMP 0x0015a29e
MOV RAX,qword ptr [RBP + -0x78]
MOV RAX,qword ptr [RAX]
MOV EAX,dword ptr [RAX]
CMP EAX,0x2
JNZ 0x0015a0aa
MOV RAX,qword ptr [RBP + -0x78... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *a)
{
int var_7;
type_2 uVar2;
type_3 pBVar3;
type_3 pBVar4;
type_3 pBVar5;
type_3 pBVar6;
type_1 *a_local;
int ret;
int ret_1;
type_4 y2;
type_4 x2;
type_4 tmp;
type_4 tmp2;
type_4 tmp3;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ec_point_verify(ec_point *a)\n\n{\n int iVar1;\n uint uVar2;\n Bignum_conflict pBVar3;\n Bignum_conflict pBVar4;\n Bignum_conflict pBVar5;\n Bignum_conflict pBVar6;\n ec_point *a_local;\n int ret;\n int ret_1;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *a)\n\n{\n int var_7;\n type_2 uVar2;\n type_3 pBVar3;\n type_3 pBVar4;\n type_3 pBVar5;\n type_3 pBVar6;\n type_1 *a_local;\n int ret;\n int ret_1;\n type_4 y2;\n type_4 x2;\n type_4 tmp;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitiv... |
326_pageant_and_pageant_strip.c | sk_proxy_socket_error | FUN_001143a6 | sk_proxy_socket_error |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * sk_proxy_socket_error(Socket s)
{
socket_function_table *psVar1;
Socket s_local;
Proxy_Socket ps;
if ((s[1] == (socket_function_table *)0x0) && (s[2] != (socket_function_table *)0x0)) {
psVar1 = (socket_function_table *)(*... |
undefined8 FUN_001143a6(long param_1)
{
undefined8 uVar1;
if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) != 0)) {
uVar1 = (**(code **)(**(long **)(param_1 + 0x10) + 0x38))(*(undefined8 *)(param_1 + 0x10));
}
else {
uVar1 = *(undefined8 *)(param_1 + 8);
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001143a6(long param_1)\n\n{\n undefined8 uVar1;\n \n if ((*(long *)(param_1 + 8) == 0) && (*(long *)(param_1 + 0x10) != 0)) {\n uVar1 = (**(code **)(**(long **)(param_1 + 0x10) + 0x38))(*(undefined8 *)(param_1 + 0x10));\n }\n else {\n uVar1 = *(undefined8 *)(param_1 + 8);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JNZ 0x001143d4
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x10]
TEST RAX,RAX
JNZ 0x001143de
MOV RAX,qwor... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
char * function_1(type_1 s)
{
type_2 *psVar1;
type_1 s_local;
type_3 ps;
if ((s[1] == (type_2 *)0x0) && (s[2] != (type_2 *)0x0)) {
psVar1 = (type_2 *)(**(type_4 **)(s[2]->plug + 0x38))(s[2]);
}
else {
psVar1 = s[1];
}
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * sk_proxy_socket_error(Socket s)\n\n{\n socket_function_table *psVar1;\n Socket s_local;\n Proxy_Socket ps;\n \n if ((s[1] == (socket_function_table *)0x0) && (s[2] != (socket_function_table *)0x0)) {\n psVar1 =... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nchar * function_1(type_1 s)\n\n{\n type_2 *psVar1;\n type_1 s_local;\n type_3 ps;\n \n if ((s[1] == (type_2 *)0x0) && (s[2] != (type_2 *)0x0)) {\n psVar1 = (type_2 *)(**(type_4 **)(s[2]->plug + 0x38))(s[2]);\n }\n e... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
216_pageant_and_pageant_strip.c | conf_get_filename | FUN_0010b454 | conf_get_filename |
Filename * conf_get_filename(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_0010b454(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_0010b454(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 0x0010b4ac
LEA RCX,[0x15b6b... |
type_1 * function_1(type_2 *conf,int primary)
{
long var_5;
void *var_4;
long var_1;
int primary_local;
type_2 *conf_local;
type_3 *entry;
type_4 type_4;
var_5 = *(long *)(var_1 + 0x28);
if (subkeytypes[primary] != 0) {
/* WARNING: Subroutine does not return */
var_2("subk... | (translation_unit "Filename * conf_get_filename(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 /* WARNI... | (translation_unit "type_1 * function_1(type_2 *conf,int primary)\n\n{\n long var_5;\n void *var_4;\n long var_1;\n int primary_local;\n type_2 *conf_local;\n type_3 *entry;\n type_4 type_4;\n \n var_5 = *(long *)(var_1 + 0x28);\n if (subkeytypes[primary] != 0) {\n /* WARNING: Subroutine doe... | (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... |
1114_plink_and_plink_strip.c | zlib_decompress_block | FUN_0017961b | zlib_decompress_block |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int zlib_decompress_block(void *handle,uchar *block,int len,uchar **outblock,int *outlen)
{
short sVar1;
int iVar2;
ulong uVar3;
undefined8 uVar4;
uint uVar5;
undefined4 uVar6;
int iVar7;
void *pvVar8;
zlib_table *pzVar9;
in... |
undefined8 FUN_0017961b(long *param_1,byte *param_2,int param_3,long *param_4,undefined4 *param_5)
{
undefined2 uVar1;
int iVar2;
ulong uVar3;
long lVar4;
uint uVar5;
undefined4 uVar6;
int iVar7;
long lVar8;
int local_4c;
byte *local_48;
int local_34;
lVar8 = FUN_00111901(0x100,1);
param_... | (translation_unit "undefined8 FUN_0017961b(long *param_1,byte *param_2,int param_3,long *param_4,undefined4 *param_5)\n\n{\n undefined2 uVar1;\n int iVar2;\n ulong uVar3;\n long lVar4;\n uint uVar5;\n undefined4 uVar6;\n int iVar7;\n long lVar8;\n int local_4c;\n byte *local_48;\n int local_34;\n \n lVar8 ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV dword ptr [RBP + -0x44],EDX
MOV qword ptr [RBP + -0x50],RCX
MOV qword ptr [RBP + -0x58],R8
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
MOV ESI,0x1
MOV EDI,0x100
CALL 0x00111901
MOV RDX,RAX
MOV RAX,q... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *handle,type_1 *block,int len,type_1 **outblock,int *outlen)
{
short sVar1;
int var_11;
type_2 var_5;
type_3 uVar4;
type_4 var_4;
type_5 uVar6;
int var_7;
void *pvVar8;
type_6 *pzVar9;
int *outlen_local;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint zlib_decompress_block(void *handle,uchar *block,int len,uchar **outblock,int *outlen)\n\n{\n short sVar1;\n int iVar2;\n ulong uVar3;\n undefined8 uVar4;\n uint uVar5;\n undefined4 uVar6;\n int iVar7;\n void *pvVa... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *handle,type_1 *block,int len,type_1 **outblock,int *outlen)\n\n{\n short sVar1;\n int var_11;\n type_2 var_5;\n type_3 uVar4;\n type_4 var_4;\n type_5 uVar6;\n int var_7;\n void *pvVar8;\n type_6... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator... |
436_pageant_and_pageant_strip.c | modinv | FUN_001299df | modinv |
Bignum_conflict modinv(Bignum_conflict number,Bignum_conflict modulus)
{
int iVar1;
Bignum_conflict result;
Bignum_conflict quotient;
Bignum_conflict pBVar2;
BignumInt BVar3;
ulong uVar4;
bool bVar5;
Bignum_conflict modulus_local;
Bignum_conflict number_local;
int sign;
int maxspot;
int i;
B... |
long * FUN_001299df(long *param_1,ulong *param_2)
{
int iVar1;
ulong *puVar2;
ulong *puVar3;
long *plVar4;
ulong uVar5;
ulong uVar6;
bool bVar7;
int local_64;
int local_60;
int local_5c;
ulong *local_58;
ulong *local_50;
long *local_48;
long *local_40;
long local_38;
local_58 = (ulo... | (translation_unit "long * FUN_001299df(long *param_1,ulong *param_2)\n\n{\n int iVar1;\n ulong *puVar2;\n ulong *puVar3;\n long *plVar4;\n ulong uVar5;\n ulong uVar6;\n bool bVar7;\n int local_64;\n int local_60;\n int local_5c;\n ulong *local_58;\n ulong *local_50;\n long *local_48;\n long *local_40;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RAX,qword ptr [RBP + -0x70]
MOV RDI,RAX
CALL 0x00124721
MOV qword ptr [RBP + -0x50],RAX
MOV RAX,qword ptr [RBP + -0x68]
MOV RDI,RAX
CALL 0x00124721
MOV qword ptr [RBP + -0x48],RAX
MOV RAX,qword ptr [0x00170600]
MOV RDI... |
type_1 function_1(type_1 number,type_1 modulus)
{
int var_4;
type_1 result;
type_1 quotient;
type_1 pBVar2;
type_2 var_9;
type_3 var_10;
bool bVar5;
type_1 modulus_local;
type_1 number_local;
int var_6;
int maxspot;
int var_8;
type_1 a;
type_1 b;
type_1 xp;
type_1 x;
type_2 var_11;
... | (translation_unit "Bignum_conflict modinv(Bignum_conflict number,Bignum_conflict modulus)\n\n{\n int iVar1;\n Bignum_conflict result;\n Bignum_conflict quotient;\n Bignum_conflict pBVar2;\n BignumInt BVar3;\n ulong uVar4;\n bool bVar5;\n Bignum_conflict modulus_local;\n Bignum_conflict number_local;\n int sig... | (translation_unit "type_1 function_1(type_1 number,type_1 modulus)\n\n{\n int var_4;\n type_1 result;\n type_1 quotient;\n type_1 pBVar2;\n type_2 var_9;\n type_3 var_10;\n bool bVar5;\n type_1 modulus_local;\n type_1 number_local;\n int var_6;\n int maxspot;\n int var_8;\n type_1 a;\n type_1 b;\n type_1... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_stateme... |
1019_plink_and_plink_strip.c | sha1_init | FUN_0017173d | sha1_init |
/* WARNING: Unknown calling convention */
void * sha1_init(void)
{
SHA_CTX *c;
SHA_State *s;
c = (SHA_CTX *)safemalloc(1,0x60);
SHA_Init(c);
return c;
}
|
undefined8 FUN_0017173d(void)
{
undefined8 uVar1;
uVar1 = FUN_00111901(1,0x60);
FUN_00171281(uVar1);
return uVar1;
}
| (translation_unit "undefined8 FUN_0017173d(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_00111901(1,0x60);\n FUN_00171281(uVar1);\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_0017173d(void)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_00111901(1,0x60);\n FUN_00171281(uVar1);\n return uVar1;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV ESI,0x60
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00171281
MOV RAX,qword ptr [RBP + -0x8]
LEAVE
RET |
/* WARNING: Unknown calling convention */
void * function_1(void)
{
type_1 *c;
type_2 *s;
c = (type_1 *)var_1(1,0x60);
var_2(c);
return c;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * sha1_init(void)\n\n{\n SHA_CTX *c;\n SHA_State *s;\n \n c = (SHA_CTX *)safemalloc(1,0x60);\n SHA_Init(c);\n return c;\n}\n\n" comment (function_definition "void * sha1_init(void)\n\n{\n SHA_CTX *c;\n SHA_State *s;\n \n c = (SHA_CTX *)safem... | (translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * function_1(void)\n\n{\n type_1 *c;\n type_2 *s;\n \n c = (type_1 *)var_1(1,0x60);\n var_2(c);\n return c;\n}\n\n" comment (function_definition "void * function_1(void)\n\n{\n type_1 *c;\n type_2 *s;\n \n c = (type_1 *)var_1(1,0x60);\n var... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (poin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.