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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
1398_plink_and_plink_strip.c | read_random_seed | FUN_0018d558 | read_random_seed |
void read_random_seed(noise_consumer_t consumer)
{
long lVar1;
int __fd;
char *__file;
ssize_t sVar2;
long in_FS_OFFSET;
noise_consumer_t consumer_local;
int fd;
int ret;
char *fname;
char buf [512];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
__file = make_filename(3,(char *)0x0);
__fd = ope... |
void FUN_0018d558(code *param_1)
{
int __fd;
char *__file;
ulong uVar1;
long in_FS_OFFSET;
undefined local_218 [520];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
__file = (char *)FUN_0018be76(3,0);
__fd = open64(__file,0);
FUN_00111b0d(__file);
if (-1 < __fd) {
while (uVar1 ... | (translation_unit "void FUN_0018d558(code *param_1)\n\n{\n int __fd;\n char *__file;\n ulong uVar1;\n long in_FS_OFFSET;\n undefined local_218 [520];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n __file = (char *)FUN_0018be76(3,0);\n __fd = open64(__file,0);\n FUN_00111b0d(__file);\n if... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x230
MOV qword ptr [RBP + -0x228],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV ESI,0x0
MOV EDI,0x3
CALL 0x0018be76
MOV qword ptr [RBP + -0x218],RAX
MOV RAX,qword ptr [RBP + -0x218]
MOV ESI,0x0
MOV RDI,RAX
MOV EAX,0x0
CALL 0x00108630
MOV dword ptr [RBP + -0... |
void function_1(type_1 consumer)
{
long var_8;
int var_5;
char *__file;
ssize_t sVar2;
long var_1;
type_1 consumer_local;
int fd;
int ret;
char *fname;
char buf [512];
var_8 = *(long *)(var_1 + 0x28);
__file = var_2(3,(char *)0x0);
var_5 = var_3(__file,0);
var_4(__file);
if (-1 < var_... | (translation_unit "void read_random_seed(noise_consumer_t consumer)\n\n{\n long lVar1;\n int __fd;\n char *__file;\n ssize_t sVar2;\n long in_FS_OFFSET;\n noise_consumer_t consumer_local;\n int fd;\n int ret;\n char *fname;\n char buf [512];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n __file = make_file... | (translation_unit "void function_1(type_1 consumer)\n\n{\n long var_8;\n int var_5;\n char *__file;\n ssize_t sVar2;\n long var_1;\n type_1 consumer_local;\n int fd;\n int ret;\n char *fname;\n char buf [512];\n \n var_8 = *(long *)(var_1 + 0x28);\n __file = var_2(3,(char *)0x0);\n var_5 = var_3(__file,0)... | (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: (sized_type_specifier) declarator: (identifier)) (de... |
1407_plink_and_plink_strip.c | dummy_plug_closing | FUN_0018ddb8 | dummy_plug_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void dummy_plug_closing(Plug p,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug p_local;
return;
}
|
void FUN_0018ddb8(void)
{
return;
}
| (translation_unit "void FUN_0018ddb8(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0018ddb8(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0018ddb8(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 p,char *error_msg,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 p_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid dummy_plug_closing(Plug p,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 p_local;\n \n return;\n}\n\n" comment (function_defi... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 p,char *error_msg,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 p_local;\n \n return;\n}\n\n" comment (function_definiti... | (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:... |
1317_plink_and_plink_strip.c | pollwrap_get_fd_events | FUN_00188bac | pollwrap_get_fd_events |
int pollwrap_get_fd_events(pollwrapper *pw,int fd)
{
long lVar1;
int iVar2;
void *pvVar3;
long in_FS_OFFSET;
int fd_local;
pollwrapper *pw_local;
pollwrap_fdtopos *f2p;
pollwrap_fdtopos f2p_find;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (fd < 0) {
/* WARNING: Subroutine do... |
int FUN_00188bac(long *param_1,int param_2)
{
int iVar1;
long lVar2;
long in_FS_OFFSET;
int local_28 [6];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (param_2 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("fd >= 0","unix/uxpoll.c",0x78,"pollwr... | (translation_unit "int FUN_00188bac(long *param_1,int param_2)\n\n{\n int iVar1;\n long lVar2;\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 (param_2 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("fd >= 0... | 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
CMP dword ptr [RBP + -0x3c],0x0
JNS 0x00188bef
LEA RCX,[0x1a2360]
MOV EDX,0x78
LEA RSI,[0x1a22e0]
LEA RDI,[0x1a22ee]
CALL 0x00108350
MOV EAX,dword ptr ... |
int function_1(type_1 *pw,int var_2)
{
long var_6;
int iVar2;
void *var_5;
long var_1;
int fd_local;
type_1 *pw_local;
type_2 *f2p;
type_2 f2p_find;
var_6 = *(long *)(var_1 + 0x28);
if (var_2 < 0) {
/* WARNING: Subroutine does not return */
var_3("fd >= 0","unix/uxpoll.c... | (translation_unit "int pollwrap_get_fd_events(pollwrapper *pw,int fd)\n\n{\n long lVar1;\n int iVar2;\n void *pvVar3;\n long in_FS_OFFSET;\n int fd_local;\n pollwrapper *pw_local;\n pollwrap_fdtopos *f2p;\n pollwrap_fdtopos f2p_find;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (fd < 0) {\n ... | (translation_unit "int function_1(type_1 *pw,int var_2)\n\n{\n long var_6;\n int iVar2;\n void *var_5;\n long var_1;\n int fd_local;\n type_1 *pw_local;\n type_2 *f2p;\n type_2 f2p_find;\n \n var_6 = *(long *)(var_1 + 0x28);\n if (var_2 < 0) {\n /* WARNING: Subroutine does not return */\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
459_pageant_and_pageant_strip.c | des3_decrypt_blk | FUN_0012dcc9 | des3_decrypt_blk |
void des3_decrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
DESContext *keys;
des_3cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x198));
return;
}
|
void FUN_0012dcc9(long param_1,undefined8 param_2,undefined4 param_3)
{
FUN_0012d380(param_2,param_3,param_1 + 0x198);
return;
}
| (translation_unit "void FUN_0012dcc9(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0012d380(param_2,param_3,param_1 + 0x198);\n return;\n}\n\n" (function_definition "void FUN_0012dcc9(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_0012d380(param_2,param_3,param_1 + 0x198);\n return;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[RAX + 0x198]
MOV ECX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,EC... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *keys;
var_1(blk,len,(type_2 *)((long)handle + 0x198));
return;
}
| (translation_unit "void des3_decrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n DESContext *keys;\n \n des_3cbc_decrypt(blk,len,(DESContext *)((long)handle + 0x198));\n return;\n}\n\n" (function_definition "void des3_decrypt_blk(void *handle,uchar *blk,... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *keys;\n \n var_1(blk,len,(type_2 *)((long)handle + 0x198));\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_loc... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
931_plink_and_plink_strip.c | key_type | FUN_001671fb | key_type |
int key_type(Filename *filename)
{
int iVar1;
FILE *__stream;
Filename *filename_local;
int ret;
FILE *fp;
__stream = (FILE *)f_open(filename,"r",0);
if (__stream == (FILE *)0x0) {
iVar1 = 0;
}
else {
iVar1 = key_type_fp((FILE *)__stream);
fclose(__stream);
}
return iVar1;
}
|
undefined4 FUN_001671fb(undefined8 param_1)
{
undefined4 uVar1;
FILE *__stream;
__stream = (FILE *)FUN_00181763(param_1,&DAT_0019df22,0);
if (__stream == (FILE *)0x0) {
uVar1 = 0;
}
else {
uVar1 = FUN_00166d6e(__stream);
fclose(__stream);
}
return uVar1;
}
| (translation_unit "undefined4 FUN_001671fb(undefined8 param_1)\n\n{\n undefined4 uVar1;\n FILE *__stream;\n \n __stream = (FILE *)FUN_00181763(param_1,&DAT_0019df22,0);\n if (__stream == (FILE *)0x0) {\n uVar1 = 0;\n }\n else {\n uVar1 = FUN_00166d6e(__stream);\n fclose(__stream);\n }\n return uVar1;\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,0x0
LEA RSI,[0x19df22]
MOV RDI,RAX
CALL 0x00181763
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JNZ 0x00167231
MOV EAX,0x0
JMP 0x0016724f
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00166d6e
... |
int function_1(type_1 *filename)
{
int iVar1;
type_2 *var_2;
type_1 *filename_local;
int ret;
type_2 *fp;
var_2 = (type_2 *)var_1(filename,"r",0);
if (var_2 == (type_2 *)0x0) {
iVar1 = 0;
}
else {
iVar1 = var_3((type_2 *)var_2);
var_4(var_2);
}
return iVar1;
}
| (translation_unit "int key_type(Filename *filename)\n\n{\n int iVar1;\n FILE *__stream;\n Filename *filename_local;\n int ret;\n FILE *fp;\n \n __stream = (FILE *)f_open(filename,"r",0);\n if (__stream == (FILE *)0x0) {\n iVar1 = 0;\n }\n else {\n iVar1 = key_type_fp((FILE *)__stream);\n fclose(__str... | (translation_unit "int function_1(type_1 *filename)\n\n{\n int iVar1;\n type_2 *var_2;\n type_1 *filename_local;\n int ret;\n type_2 *fp;\n \n var_2 = (type_2 *)var_1(filename,"r",0);\n if (var_2 == (type_2 *)0x0) {\n iVar1 = 0;\n }\n else {\n iVar1 = var_3((type_2 *)var_2);\n var_4(var_2);\n }\n r... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) de... |
417_pageant_and_pageant_strip.c | ssh2_bignum_length | FUN_0012862d | ssh2_bignum_length |
int ssh2_bignum_length(Bignum_conflict bn)
{
int iVar1;
int iVar2;
Bignum_conflict bn_local;
iVar1 = bignum_bitcount(bn);
iVar2 = iVar1 + 8;
if (iVar1 + 8 < 0) {
iVar2 = iVar1 + 0xf;
}
return (iVar2 >> 3) + 4;
}
|
int FUN_0012862d(undefined8 param_1)
{
int iVar1;
int iVar2;
iVar1 = FUN_00128595(param_1);
iVar2 = iVar1 + 8;
if (iVar1 + 8 < 0) {
iVar2 = iVar1 + 0xf;
}
return (iVar2 >> 3) + 4;
}
| (translation_unit "int FUN_0012862d(undefined8 param_1)\n\n{\n int iVar1;\n int iVar2;\n \n iVar1 = FUN_00128595(param_1);\n iVar2 = iVar1 + 8;\n if (iVar1 + 8 < 0) {\n iVar2 = iVar1 + 0xf;\n }\n return (iVar2 >> 3) + 4;\n}\n\n" (function_definition "int FUN_0012862d(undefined8 param_1)\n\n{\n int iVar1;\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x8
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00128595
ADD EAX,0x8
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x3
ADD EAX,0x4
LEAVE
RET |
int function_1(type_1 bn)
{
int var_2;
int var_3;
type_1 bn_local;
var_2 = var_1(bn);
var_3 = var_2 + 8;
if (var_2 + 8 < 0) {
var_3 = var_2 + 0xf;
}
return (var_3 >> 3) + 4;
}
| (translation_unit "int ssh2_bignum_length(Bignum_conflict bn)\n\n{\n int iVar1;\n int iVar2;\n Bignum_conflict bn_local;\n \n iVar1 = bignum_bitcount(bn);\n iVar2 = iVar1 + 8;\n if (iVar1 + 8 < 0) {\n iVar2 = iVar1 + 0xf;\n }\n return (iVar2 >> 3) + 4;\n}\n\n" (function_definition "int ssh2_bignum_length(Bi... | (translation_unit "int function_1(type_1 bn)\n\n{\n int var_2;\n int var_3;\n type_1 bn_local;\n \n var_2 = var_1(bn);\n var_3 = var_2 + 8;\n if (var_2 + 8 < 0) {\n var_3 = var_2 + 0xf;\n }\n return (var_3 >> 3) + 4;\n}\n\n" (function_definition "int function_1(type_1 bn)\n\n{\n int var_2;\n int var_3;\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: (primitive_type) declarator: (identifier)) (declarat... |
1291_plink_and_plink_strip.c | frontend_echoedit_update | FUN_00185da4 | frontend_echoedit_update |
void frontend_echoedit_update(void *frontend,int echo,int edit)
{
long lVar1;
long in_FS_OFFSET;
int edit_local;
int echo_local;
void *frontend_local;
termios mode;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if (local_tty != 0) {
mode._16_8_ = orig_termios._16_8_;
mode.c_cc._7_8_ = orig_termio... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
void FUN_00185da4(undefined8 param_1,int param_2,int param_3)
{
long in_FS_OFFSET;
termios local_58;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (DAT_001b545c != 0) {
local_58._16_8_ = DAT_001b5430;... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_00185da4(undefined8 param_1,int param_2,int param_3)\n\n{\n long in_FS_OFFSET;\n termios local_58;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if (DAT_001b545c != 0) {\n lo... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x60
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV dword ptr [RBP + -0x60],EDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [0x001b545c]
TEST EAX,EAX
JZ 0x00185ebf
MOV RAX,qword ptr [0x001b5420]
MOV RDX,qword ptr [0x001b5428]... |
void function_1(void *frontend,int var_3,int var_4)
{
long var_6;
long var_1;
int edit_local;
int echo_local;
void *frontend_local;
type_1 mode;
var_6 = *(long *)(var_1 + 0x28);
if (var_2 != 0) {
mode._16_8_ = orig_termios._16_8_;
mode.c_cc._7_8_ = orig_termios.c_cc._7_8_;
mode.c_cc._15... | (translation_unit "void frontend_echoedit_update(void *frontend,int echo,int edit)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n int edit_local;\n int echo_local;\n void *frontend_local;\n termios mode;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if (local_tty != 0) {\n mode._16_8_ = orig_termios._16_8_;\n ... | (translation_unit "void function_1(void *frontend,int var_3,int var_4)\n\n{\n long var_6;\n long var_1;\n int edit_local;\n int echo_local;\n void *frontend_local;\n type_1 mode;\n \n var_6 = *(long *)(var_1 + 0x28);\n if (var_2 != 0) {\n mode._16_8_ = orig_termios._16_8_;\n mode.c_cc._7_8_ = orig_termio... | (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... |
323_pageant_and_pageant_strip.c | sk_proxy_write_eof | FUN_0011414f | sk_proxy_write_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void sk_proxy_write_eof(Socket s)
{
Socket s_local;
Proxy_Socket ps;
if (*(int *)((long)s + 0x84) == 0) {
(**(code **)(s[2]->plug + 0x20))(s[2]);
}
else {
*(undefined4 *)(s + 0x10) = 1;
}
return;
}
|
void FUN_0011414f(long param_1)
{
if (*(int *)(param_1 + 0x84) == 0) {
(**(code **)(**(long **)(param_1 + 0x10) + 0x20))(*(undefined8 *)(param_1 + 0x10));
}
else {
*(undefined4 *)(param_1 + 0x80) = 1;
}
return;
}
| (translation_unit "void FUN_0011414f(long param_1)\n\n{\n if (*(int *)(param_1 + 0x84) == 0) {\n (**(code **)(**(long **)(param_1 + 0x10) + 0x20))(*(undefined8 *)(param_1 + 0x10));\n }\n else {\n *(undefined4 *)(param_1 + 0x80) = 1;\n }\n return;\n}\n\n" (function_definition "void FUN_0011414f(long param_1)\... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x84]
TEST EAX,EAX
JZ 0x00114181
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x80],0x1
JMP 0x0011419d
MOV RAX,qword ptr [RBP + ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_1)
{
type_1 s_local;
type_2 ps;
if (*(int *)((long)var_1 + 0x84) == 0) {
(**(type_3 **)(var_1[2]->plug + 0x20))(var_1[2]);
}
else {
*(type_4 *)(var_1 + 0x10) = 1;
}
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid sk_proxy_write_eof(Socket s)\n\n{\n Socket s_local;\n Proxy_Socket ps;\n \n if (*(int *)((long)s + 0x84) == 0) {\n (**(code **)(s[2]->plug + 0x20))(s[2]);\n }\n else {\n *(undefined4 *)(s + 0x10) = 1;\n }\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_1)\n\n{\n type_1 s_local;\n type_2 ps;\n \n if (*(int *)((long)var_1 + 0x84) == 0) {\n (**(type_3 **)(var_1[2]->plug + 0x20))(var_1[2]);\n }\n else {\n *(type_4 *)(var_1 + 0x10) = 1;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)... |
485_pageant_and_pageant_strip.c | dss_private_blob | FUN_0012fe3d | dss_private_blob |
uchar * dss_private_blob(void *key,int *len)
{
int iVar1;
int iVar2;
uchar *puVar3;
int *len_local;
void *key_local;
int i;
int xlen;
int bloblen;
uchar *p;
dss_key *dss;
uchar *blob;
iVar1 = bignum_bitcount(*(Bignum_conflict *)((long)key + 0x20));
iVar2 = iVar1 + 8;
if (iVar1 + 8 < 0) ... |
char * FUN_0012fe3d(long param_1,int *param_2)
{
char cVar1;
int iVar2;
int iVar3;
char *pcVar4;
int local_2c;
char *local_20;
iVar2 = FUN_00128595(*(undefined8 *)(param_1 + 0x20));
iVar3 = iVar2 + 8;
if (iVar2 + 8 < 0) {
iVar3 = iVar2 + 0xf;
}
local_2c = iVar3 >> 3;
iVar2 = local_2c + ... | (translation_unit "char * FUN_0012fe3d(long param_1,int *param_2)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n char *pcVar4;\n int local_2c;\n char *local_20;\n \n iVar2 = FUN_00128595(*(undefined8 *)(param_1 + 0x20));\n iVar3 = iVar2 + 8;\n if (iVar2 + 8 < 0) {\n iVar3 = iVar2 + 0xf;\n }\n local_2c = ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x20]
MOV RDI,RAX
CALL 0x00128595
ADD EAX,0x8
LEA EDX,[RAX + 0x7]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,... |
type_1 * function_1(void *key,int *len)
{
int var_2;
int var_3;
type_1 *var_6;
int *len_local;
void *key_local;
int var_4;
int xlen;
int bloblen;
type_1 *var_8;
type_2 *dss;
type_1 *blob;
var_2 = var_1(*(type_3 *)((long)key + 0x20));
var_3 = var_2 + 8;
if (var_2 + 8 < 0) {
var_3 = v... | (translation_unit "uchar * dss_private_blob(void *key,int *len)\n\n{\n int iVar1;\n int iVar2;\n uchar *puVar3;\n int *len_local;\n void *key_local;\n int i;\n int xlen;\n int bloblen;\n uchar *p;\n dss_key *dss;\n uchar *blob;\n \n iVar1 = bignum_bitcount(*(Bignum_conflict *)((long)key + 0x20));\n iVar2 ... | (translation_unit "type_1 * function_1(void *key,int *len)\n\n{\n int var_2;\n int var_3;\n type_1 *var_6;\n int *len_local;\n void *key_local;\n int var_4;\n int xlen;\n int bloblen;\n type_1 *var_8;\n type_2 *dss;\n type_1 *blob;\n \n var_2 = var_1(*(type_3 *)((long)key + 0x20));\n var_3 = var_2 + 8;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
316_pageant_and_pageant_strip.c | pageant_pubkey_copy | FUN_00113cb6 | pageant_pubkey_copy |
pageant_pubkey * pageant_pubkey_copy(pageant_pubkey *key)
{
pageant_pubkey *ppVar1;
void *pvVar2;
char *pcVar3;
pageant_pubkey *key_local;
pageant_pubkey *ret;
ppVar1 = (pageant_pubkey *)safemalloc(1,0x20);
pvVar2 = safemalloc((long)key->bloblen,1);
ppVar1->blob = pvVar2;
memcpy(ppVar1->blob,key-... |
undefined8 * FUN_00113cb6(undefined8 *param_1)
{
undefined8 *puVar1;
undefined8 uVar2;
puVar1 = (undefined8 *)FUN_0010dd24(1,0x20);
uVar2 = FUN_0010dd24((long)*(int *)(param_1 + 1),1);
*puVar1 = uVar2;
memcpy((void *)*puVar1,(void *)*param_1,(long)*(int *)(param_1 + 1));
*(undefined4 *)(puVar1 + 1) =... | (translation_unit "undefined8 * FUN_00113cb6(undefined8 *param_1)\n\n{\n undefined8 *puVar1;\n undefined8 uVar2;\n \n puVar1 = (undefined8 *)FUN_0010dd24(1,0x20);\n uVar2 = FUN_0010dd24((long)*(int *)(param_1 + 1),1);\n *puVar1 = uVar2;\n memcpy((void *)*puVar1,(void *)*param_1,(long)*(int *)(param_1 + 1));\n *... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV ESI,0x20
MOV EDI,0x1
CALL 0x0010dd24
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x8]
CDQE
MOV ESI,0x1
MOV RDI,RAX
CALL 0x0010dd24
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],RDX
MOV RAX,... |
type_1 * function_1(type_1 *key)
{
type_1 *ppVar1;
void *pvVar2;
char *pcVar3;
type_1 *key_local;
type_1 *ret;
ppVar1 = (type_1 *)var_1(1,0x20);
pvVar2 = var_1((long)key->bloblen,1);
ppVar1->blob = pvVar2;
var_2(ppVar1->blob,key->blob,(long)key->bloblen);
ppVar1->bloblen = key->bloblen;
if (k... | (translation_unit "pageant_pubkey * pageant_pubkey_copy(pageant_pubkey *key)\n\n{\n pageant_pubkey *ppVar1;\n void *pvVar2;\n char *pcVar3;\n pageant_pubkey *key_local;\n pageant_pubkey *ret;\n \n ppVar1 = (pageant_pubkey *)safemalloc(1,0x20);\n pvVar2 = safemalloc((long)key->bloblen,1);\n ppVar1->blob = pvVar... | (translation_unit "type_1 * function_1(type_1 *key)\n\n{\n type_1 *ppVar1;\n void *pvVar2;\n char *pcVar3;\n type_1 *key_local;\n type_1 *ret;\n \n ppVar1 = (type_1 *)var_1(1,0x20);\n pvVar2 = var_1((long)key->bloblen,1);\n ppVar1->blob = pvVar2;\n var_2(ppVar1->blob,key->blob,(long)key->bloblen);\n ppVar1->... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (dec... |
849_plink_and_plink_strip.c | decodepoint | FUN_0015cf77 | decodepoint |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int decodepoint(char *p,int length,ec_point *point)
{
int iVar1;
Bignum_conflict pBVar2;
ec_point *point_local;
int length_local;
char *p_local;
if (point->curve->type == ADDRTYPE_IPV6) {
iVar1 = decodepoint_ed(p,length,point... |
undefined8 FUN_0015cf77(char *param_1,int param_2,undefined8 *param_3)
{
int iVar1;
undefined8 uVar2;
if (*(int *)*param_3 == 2) {
uVar2 = FUN_0015cdab(param_1,param_2,param_3);
}
else if ((param_2 < 1) || (*param_1 != '\x04')) {
uVar2 = 0;
}
else if ((param_2 - 1U & 1) == 0) {
iVar1 = (i... | (translation_unit "undefined8 FUN_0015cf77(char *param_1,int param_2,undefined8 *param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (*(int *)*param_3 == 2) {\n uVar2 = FUN_0015cdab(param_1,param_2,param_3);\n }\n else if ((param_2 < 1) || (*param_1 != '\x04')) {\n uVar2 = 0;\n }\n else if ((param_2 - ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
MOV qword ptr [RBP + -0x18],RDX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV EAX,dword ptr [RAX]
CMP EAX,0x2
JNZ 0x0015cfb2
MOV RDX,qword ptr [RBP + -0x18]
MOV ECX,dword ptr [RBP + -0xc]
MOV RAX,qword ptr [RBP... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(char *var_5,int var_3,type_1 *point)
{
int var_6;
type_2 pBVar2;
type_1 *point_local;
int length_local;
char *p_local;
if (point->curve->type == var_1) {
var_6 = var_2(var_5,var_3,point);
}
else if ((var_3 ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint decodepoint(char *p,int length,ec_point *point)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n ec_point *point_local;\n int length_local;\n char *p_local;\n \n if (point->curve->type == ADDRTYPE_IPV6) {\n iVar1 =... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(char *var_5,int var_3,type_1 *point)\n\n{\n int var_6;\n type_2 pBVar2;\n type_1 *point_local;\n int length_local;\n char *p_local;\n \n if (point->curve->type == var_1) {\n var_6 = var_2(var_5,var_3,... | (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:... |
1195_plink_and_plink_strip.c | console_open | FUN_001806f6 | console_open |
void console_open(FILE **outfp,int *infd)
{
int iVar1;
FILE *pFVar2;
int *infd_local;
FILE **outfp_local;
int fd;
iVar1 = open64("/dev/tty",2);
if (iVar1 < 0) {
*infd = 0;
*outfp = stderr;
}
else {
*infd = iVar1;
pFVar2 = fdopen(*infd,"w");
*outfp = (FILE *)pFVar2;
}
retur... |
void FUN_001806f6(undefined8 *param_1,int *param_2)
{
int iVar1;
FILE *pFVar2;
iVar1 = open64("/dev/tty",2);
if (iVar1 < 0) {
*param_2 = 0;
*param_1 = stderr;
}
else {
*param_2 = iVar1;
pFVar2 = fdopen(*param_2,"w");
*param_1 = pFVar2;
}
return;
}
| (translation_unit "void FUN_001806f6(undefined8 *param_1,int *param_2)\n\n{\n int iVar1;\n FILE *pFVar2;\n \n iVar1 = open64("/dev/tty",2);\n if (iVar1 < 0) {\n *param_2 = 0;\n *param_1 = stderr;\n }\n else {\n *param_2 = iVar1;\n pFVar2 = fdopen(*param_2,"w");\n *param_1 = pFVar2;\n }\n return;... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV ESI,0x2
LEA RDI,[0x1a0200]
MOV EAX,0x0
CALL 0x00108630
MOV dword ptr [RBP + -0x4],EAX
CMP dword ptr [RBP + -0x4],0x0
JS 0x0018074e
MOV RAX,qword ptr [RBP + -0x20]
MOV EDX,dword ptr [RBP + -0x4]
MOV dword ptr [RAX],EDX
... |
void function_1(type_1 **outfp,int *infd)
{
int var_2;
type_1 *pFVar2;
int *infd_local;
type_1 **outfp_local;
int fd;
var_2 = var_1("/dev/tty",2);
if (var_2 < 0) {
*infd = 0;
*outfp = stderr;
}
else {
*infd = var_2;
pFVar2 = var_3(*infd,"w");
*outfp = (type_1 *)pFVar2;
}
r... | (translation_unit "void console_open(FILE **outfp,int *infd)\n\n{\n int iVar1;\n FILE *pFVar2;\n int *infd_local;\n FILE **outfp_local;\n int fd;\n \n iVar1 = open64("/dev/tty",2);\n if (iVar1 < 0) {\n *infd = 0;\n *outfp = stderr;\n }\n else {\n *infd = iVar1;\n pFVar2 = fdopen(*infd,"w");\n *... | (translation_unit "void function_1(type_1 **outfp,int *infd)\n\n{\n int var_2;\n type_1 *pFVar2;\n int *infd_local;\n type_1 **outfp_local;\n int fd;\n \n var_2 = var_1("/dev/tty",2);\n if (var_2 < 0) {\n *infd = 0;\n *outfp = stderr;\n }\n else {\n *infd = var_2;\n pFVar2 = var_3(*infd,"w");\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: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (pri... |
947_plink_and_plink_strip.c | rsa_privkey_op | FUN_0016801b | rsa_privkey_op |
Bignum rsa_privkey_op(Bignum input,RSAKey *key)
{
long lVar1;
uint value;
int iVar2;
Bignum_conflict bn;
Bignum_conflict q;
Bignum_conflict q_00;
Bignum_conflict b;
Bignum_conflict p;
Bignum_conflict pBVar3;
long in_FS_OFFSET;
RSAKey *key_local;
Bignum input_local;
int digestused;
int hash... |
undefined8 FUN_0016801b(undefined8 param_1,long param_2)
{
uint uVar1;
int iVar2;
undefined8 uVar3;
long lVar4;
undefined8 uVar5;
undefined8 uVar6;
undefined8 uVar7;
undefined8 uVar8;
long in_FS_OFFSET;
uint local_1c0;
int local_1bc;
int local_1b8;
uint local_1b4;
int local_1b0;
undefine... | (translation_unit "undefined8 FUN_0016801b(undefined8 param_1,long param_2)\n\n{\n uint uVar1;\n int iVar2;\n undefined8 uVar3;\n long lVar4;\n undefined8 uVar5;\n undefined8 uVar6;\n undefined8 uVar7;\n undefined8 uVar8;\n long in_FS_OFFSET;\n uint local_1c0;\n int local_1bc;\n int local_1b8;\n uint local... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x1d0
MOV qword ptr [RBP + -0x1c8],RDI
MOV qword ptr [RBP + -0x1d0],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x1b8],0x40
MOV dword ptr [RBP + -0x1b4],0x0
MOV RAX,qword ptr [RBP + -0x1d0]
MOV RAX,qword ptr [RAX + 0x8]
MOV RDI,RAX
CALL 0... |
type_1 function_1(type_1 input,type_2 *key)
{
long var_22;
type_3 value;
int var_16;
type_4 bn;
type_4 var_19;
type_4 q_00;
type_4 b;
type_4 p;
type_4 pBVar3;
long var_1;
type_2 *key_local;
type_1 input_local;
int var_11;
int var_10;
int var_4;
int var_12;
int var_5;
int v;
type_... | (translation_unit "Bignum rsa_privkey_op(Bignum input,RSAKey *key)\n\n{\n long lVar1;\n uint value;\n int iVar2;\n Bignum_conflict bn;\n Bignum_conflict q;\n Bignum_conflict q_00;\n Bignum_conflict b;\n Bignum_conflict p;\n Bignum_conflict pBVar3;\n long in_FS_OFFSET;\n RSAKey *key_local;\n Bignum input_loc... | (translation_unit "type_1 function_1(type_1 input,type_2 *key)\n\n{\n long var_22;\n type_3 value;\n int var_16;\n type_4 bn;\n type_4 var_19;\n type_4 q_00;\n type_4 b;\n type_4 p;\n type_4 pBVar3;\n long var_1;\n type_2 *key_local;\n type_1 input_local;\n int var_11;\n int var_10;\n int var_4;\n int v... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identi... |
478_pageant_and_pageant_strip.c | getmp | FUN_0012efe9 | getmp |
Bignum getmp(char **data,int *datalen)
{
Bignum_conflict pBVar1;
long in_FS_OFFSET;
int *datalen_local;
char **data_local;
int length;
char *p;
Bignum b;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
getstring(data,datalen,&p,&length);
if (p == (char *)0x0) {
pBVar1 = (Bignum_... |
undefined8 FUN_0012efe9(undefined8 param_1,undefined8 param_2)
{
undefined8 uVar1;
long in_FS_OFFSET;
undefined4 local_24;
char *local_20;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_0012eed6(param_1,param_2,&local_20,&local_24);
if (local_20 == (char *)0x0)... | (translation_unit "undefined8 FUN_0012efe9(undefined8 param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n long in_FS_OFFSET;\n undefined4 local_24;\n char *local_20;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0012eed6(param_1,param_2,&local_20,&local_24);\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RCX,[RBP + -0x1c]
LEA RDX,[RBP + -0x18]
MOV RSI,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RBP + -0x28]
MOV RDI,RAX
CALL 0x0012eed6
MOV RAX,qword p... |
type_1 function_1(char **data,int *datalen)
{
type_2 pBVar1;
long var_1;
int *datalen_local;
char **data_local;
int length;
char *var_3;
type_1 b;
long var_5;
var_5 = *(long *)(var_1 + 0x28);
var_2(data,datalen,&var_3,&length);
if (var_3 == (char *)0x0) {
pBVar1 = (type_2)0x0;
}
else ... | (translation_unit "Bignum getmp(char **data,int *datalen)\n\n{\n Bignum_conflict pBVar1;\n long in_FS_OFFSET;\n int *datalen_local;\n char **data_local;\n int length;\n char *p;\n Bignum b;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n getstring(data,datalen,&p,&length);\n if (p == (cha... | (translation_unit "type_1 function_1(char **data,int *datalen)\n\n{\n type_2 pBVar1;\n long var_1;\n int *datalen_local;\n char **data_local;\n int length;\n char *var_3;\n type_1 b;\n long var_5;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_2(data,datalen,&var_3,&length);\n if (var_3 == (char *)0x0) {\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (pri... |
1297_plink_and_plink_strip.c | from_backend_untrusted | FUN_00186927 | from_backend_untrusted |
int from_backend_untrusted(void *frontend_handle,char *data,int len)
{
int len_local;
char *data_local;
void *frontend_handle_local;
/* WARNING: Subroutine does not return */
__assert_fail("!\"Unexpected call to from_backend_untrusted()\"","unix/uxplink.c",0x1b6,
"from_b... |
void FUN_00186927(void)
{
/* WARNING: Subroutine does not return */
__assert_fail("!\"Unexpected call to from_backend_untrusted()\"","unix/uxplink.c",0x1b6,
"from_backend_untrusted");
}
| (translation_unit "void FUN_00186927(void)\n\n{\n /* WARNING: Subroutine does not return */\n __assert_fail("!\"Unexpected call to from_backend_untrusted()\"","unix/uxplink.c",0x1b6,\n "from_backend_untrusted");\n}\n\n" (function_definition "void FUN_00186927(void)\n\n{\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
LEA RCX,[0x1a22a0]
MOV EDX,0x1b6
LEA RSI,[0x1a1882]
LEA RDI,[0x1a18a8]
CALL 0x00108350 |
int function_1(void *frontend_handle,char *data,int len)
{
int len_local;
char *data_local;
void *frontend_handle_local;
/* WARNING: Subroutine does not return */
var_1("!\"Unexpected call to from_backend_untrusted()\"","unix/uxplink.c",0x1b6,
"from_backend_untrusted");
... | (translation_unit "int from_backend_untrusted(void *frontend_handle,char *data,int len)\n\n{\n int len_local;\n char *data_local;\n void *frontend_handle_local;\n \n /* WARNING: Subroutine does not return */\n __assert_fail("!\"Unexpected call to from_backend_untrusted()\"","unix/uxplink.c",0x1b... | (translation_unit "int function_1(void *frontend_handle,char *data,int len)\n\n{\n int len_local;\n char *data_local;\n void *frontend_handle_local;\n \n /* WARNING: Subroutine does not return */\n var_1("!\"Unexpected call to from_backend_untrusted()\"","unix/uxplink.c",0x1b6,\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_... |
1057_plink_and_plink_strip.c | share_find_channel_by_upstream | FUN_00172b10 | share_find_channel_by_upstream |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_channel * share_find_channel_by_upstream(ssh_sharing_connstate *cs,uint upstream_id)
{
long lVar1;
share_channel *psVar2;
long in_FS_OFFSET;
uint upstream_id_local;
ssh_sharing_connstate *cs_local;
share_channel dummychan;
... |
void FUN_00172b10(long param_1,undefined4 param_2)
{
long in_FS_OFFSET;
undefined local_48 [4];
undefined4 local_44;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_44 = param_2;
FUN_0017e3c4(*(undefined8 *)(param_1 + 0x4050),local_48,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x2... | (translation_unit "void FUN_00172b10(long param_1,undefined4 param_2)\n\n{\n long in_FS_OFFSET;\n undefined local_48 [4];\n undefined4 local_44;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_44 = param_2;\n FUN_0017e3c4(*(undefined8 *)(param_1 + 0x4050),local_48,0);\n if (local_10 !=... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x48],RDI
MOV dword ptr [RBP + -0x4c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x4c]
MOV dword ptr [RBP + -0x3c],EAX
MOV RAX,qword ptr [RBP + -0x48]
MOV RAX,qword ptr [RAX + 0x4050]
LEA RCX,[RBP + -0x40]
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *cs,type_3 upstream_id)
{
long var_3;
type_1 *psVar2;
long var_1;
type_3 upstream_id_local;
type_2 *cs_local;
type_1 dummychan;
var_3 = *(long *)(var_1 + 0x28);
dummychan.upstream_id = upstream_id;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_channel * share_find_channel_by_upstream(ssh_sharing_connstate *cs,uint upstream_id)\n\n{\n long lVar1;\n share_channel *psVar2;\n long in_FS_OFFSET;\n uint upstream_id_local;\n ssh_sharing_connstate *cs_local;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,type_3 upstream_id)\n\n{\n long var_3;\n type_1 *psVar2;\n long var_1;\n type_3 upstream_id_local;\n type_2 *cs_local;\n type_1 dummychan;\n \n var_3 = *(long *)(var_1 + 0x28);\n dummyc... | (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 ... |
392_pageant_and_pageant_strip.c | freebn | FUN_00124781 | freebn |
void freebn(Bignum_conflict b)
{
Bignum_conflict b_local;
smemclr(b,(*b + 1) * 8);
safefree(b);
return;
}
|
void FUN_00124781(long *param_1)
{
FUN_0010dff8(param_1,(*param_1 + 1) * 8);
FUN_0010df30(param_1);
return;
}
| (translation_unit "void FUN_00124781(long *param_1)\n\n{\n FUN_0010dff8(param_1,(*param_1 + 1) * 8);\n FUN_0010df30(param_1);\n return;\n}\n\n" (function_definition "void FUN_00124781(long *param_1)\n\n{\n FUN_0010dff8(param_1,(*param_1 + 1) * 8);\n FUN_0010df30(param_1);\n return;\n}" primitive_type (function_de... | 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]
ADD RAX,0x1
LEA RDX,[RAX*0x8]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0010dff8
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010df30
NOP
LEAVE
RET |
void function_1(type_1 b)
{
type_1 b_local;
var_1(b,(*b + 1) * 8);
var_2(b);
return;
}
| (translation_unit "void freebn(Bignum_conflict b)\n\n{\n Bignum_conflict b_local;\n \n smemclr(b,(*b + 1) * 8);\n safefree(b);\n return;\n}\n\n" (function_definition "void freebn(Bignum_conflict b)\n\n{\n Bignum_conflict b_local;\n \n smemclr(b,(*b + 1) * 8);\n safefree(b);\n return;\n}" primitive_type (funct... | (translation_unit "void function_1(type_1 b)\n\n{\n type_1 b_local;\n \n var_1(b,(*b + 1) * 8);\n var_2(b);\n return;\n}\n\n" (function_definition "void function_1(type_1 b)\n\n{\n type_1 b_local;\n \n var_1(b,(*b + 1) * 8);\n var_2(b);\n return;\n}" primitive_type (function_declarator "function_1(type_1 b)" ... | (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)) (express... |
1188_plink_and_plink_strip.c | verify_ssh_host_key | FUN_0017fd41 | verify_ssh_host_key |
int verify_ssh_host_key(void *frontend,char *host,int port,char *keytype,char *keystr,
char *fingerprint,_func_void_void_ptr_int *callback,void *ctx)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
void *ctx_local;
_func_void_void_ptr_int *callback_local;
char *fingerprint_local;
char... |
undefined8
FUN_0017fd41(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8)
{
int iVar1;
undefined8 uVar2;
long in_FS_OFFSET;
undefined local_f8 [64];
termios local_b8;
termios local_78;
cha... | (translation_unit "undefined8\nFUN_0017fd41(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,\n undefined8 param_5,undefined8 param_6,undefined8 param_7,undefined8 param_8)\n\n{\n int iVar1;\n undefined8 uVar2;\n long in_FS_OFFSET;\n undefined local_f8 [64];\n termios local_b8... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x140
MOV qword ptr [RBP + -0x108],RDI
MOV qword ptr [RBP + -0x110],RSI
MOV dword ptr [RBP + -0x114],EDX
MOV qword ptr [RBP + -0x120],RCX
MOV qword ptr [RBP + -0x128],R8
MOV qword ptr [RBP + -0x130],R9
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0x138],RAX
MOV RAX,qword ptr [RBP + ... |
int function_1(void *frontend,char *host,int port,char *keytype,char *keystr,
char *fingerprint,type_1 *callback,void *ctx)
{
long var_13;
int var_3;
long var_1;
void *ctx_local;
type_1 *callback_local;
char *fingerprint_local;
char *keystr_local;
char *keytype_local;
int port... | (translation_unit "int verify_ssh_host_key(void *frontend,char *host,int port,char *keytype,char *keystr,\n char *fingerprint,_func_void_void_ptr_int *callback,void *ctx)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n void *ctx_local;\n _func_void_void_ptr_int *callback_local;\n char... | (translation_unit "int function_1(void *frontend,char *host,int port,char *keytype,char *keystr,\n char *fingerprint,type_1 *callback,void *ctx)\n\n{\n long var_13;\n int var_3;\n long var_1;\n void *ctx_local;\n type_1 *callback_local;\n char *fingerprint_local;\n char *keystr_local;\n ch... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
213_pageant_and_pageant_strip.c | conf_get_str_str | FUN_0010b175 | conf_get_str_str |
char * conf_get_str_str(Conf *conf,int primary,char *secondary)
{
char *pcVar1;
char *secondary_local;
int primary_local;
Conf *conf_local;
char *ret;
pcVar1 = conf_get_str_str_opt(conf,primary,secondary);
if (pcVar1 == (char *)0x0) {
/* WARNING: Subroutine does not return */
... |
long FUN_0010b175(undefined8 param_1,undefined4 param_2,undefined8 param_3)
{
long lVar1;
lVar1 = FUN_0010b084(param_1,param_2,param_3);
if (lVar1 == 0) {
/* WARNING: Subroutine does not return */
__assert_fail("ret","conf.c",0x13b,"conf_get_str_str");
}
return lVar1;
}
| (translation_unit "long FUN_0010b175(undefined8 param_1,undefined4 param_2,undefined8 param_3)\n\n{\n long lVar1;\n \n lVar1 = FUN_0010b084(param_1,param_2,param_3);\n if (lVar1 == 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("ret","conf.c",0x13b,"conf_get_str_str");\n }\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV RDX,qword ptr [RBP + -0x28]
MOV ECX,dword ptr [RBP + -0x1c]
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0010b084
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
char * function_1(type_1 *conf,int primary,char *secondary)
{
char *var_2;
char *secondary_local;
int primary_local;
type_1 *conf_local;
char *ret;
var_2 = var_1(conf,primary,secondary);
if (var_2 == (char *)0x0) {
/* WARNING: Subroutine does not return */
var_3("ret","conf.c"... | (translation_unit "char * conf_get_str_str(Conf *conf,int primary,char *secondary)\n\n{\n char *pcVar1;\n char *secondary_local;\n int primary_local;\n Conf *conf_local;\n char *ret;\n \n pcVar1 = conf_get_str_str_opt(conf,primary,secondary);\n if (pcVar1 == (char *)0x0) {\n /* WARNING: Subro... | (translation_unit "char * function_1(type_1 *conf,int primary,char *secondary)\n\n{\n char *var_2;\n char *secondary_local;\n int primary_local;\n type_1 *conf_local;\n char *ret;\n \n var_2 = var_1(conf,primary,secondary);\n if (var_2 == (char *)0x0) {\n /* WARNING: Subroutine does not retur... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
1023_plink_and_plink_strip.c | sha1_final | FUN_0017186b | sha1_final |
void sha1_final(void *handle,uchar *output)
{
uchar *output_local;
void *handle_local;
SHA_State *s;
SHA_Final((SHA_State *)handle,output);
sha1_free(handle);
return;
}
|
void FUN_0017186b(undefined8 param_1,undefined8 param_2)
{
FUN_001714e0(param_1,param_2);
FUN_00171803(param_1);
return;
}
| (translation_unit "void FUN_0017186b(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_001714e0(param_1,param_2);\n FUN_00171803(param_1);\n return;\n}\n\n" (function_definition "void FUN_0017186b(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_001714e0(param_1,param_2);\n FUN_00171803(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 0x001714e0
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x001718... |
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 sha1_final(void *handle,uchar *output)\n\n{\n uchar *output_local;\n void *handle_local;\n SHA_State *s;\n \n SHA_Final((SHA_State *)handle,output);\n sha1_free(handle);\n return;\n}\n\n" (function_definition "void sha1_final(void *handle,uchar *output)\n\n{\n uchar *output_local;\n voi... | (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... |
1000_plink_and_plink_strip.c | SHA384_Init | FUN_00170209 | SHA384_Init |
int SHA384_Init(SHA512_CTX *c)
{
SHA512_State *s_local;
int i;
SHA384_Core_Init((SHA512_State *)c);
*(undefined4 *)(c[1].h + 5) = 0;
for (i = 0; i < 4; i = i + 1) {
*(undefined4 *)((long)c[1].h + (long)i * 4 + 0x2c) = 0;
}
return (int)c;
}
|
void FUN_00170209(long param_1)
{
undefined4 local_c;
FUN_0016c1ee(param_1);
*(undefined4 *)(param_1 + 0x100) = 0;
for (local_c = 0; local_c < 4; local_c = local_c + 1) {
*(undefined4 *)(param_1 + 4 + ((long)local_c + 0x40) * 4) = 0;
}
return;
}
| (translation_unit "void FUN_00170209(long param_1)\n\n{\n undefined4 local_c;\n \n FUN_0016c1ee(param_1);\n *(undefined4 *)(param_1 + 0x100) = 0;\n for (local_c = 0; local_c < 4; local_c = local_c + 1) {\n *(undefined4 *)(param_1 + 4 + ((long)local_c + 0x40) * 4) = 0;\n }\n return;\n}\n\n" (function_definitio... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x18
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x0016c1ee
MOV RAX,qword ptr [RBP + -0x18]
MOV dword ptr [RAX + 0x100],0x0
MOV dword ptr [RBP + -0x4],0x0
JMP 0x00170252
MOV RAX,qword ptr [RBP + -0x18]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
ADD RD... |
int function_1(type_1 *c)
{
type_2 *s_local;
int var_2;
var_1((type_2 *)c);
*(type_3 *)(c[1].h + 5) = 0;
for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {
*(type_3 *)((long)c[1].h + (long)var_2 * 4 + 0x2c) = 0;
}
return (int)c;
}
| (translation_unit "int SHA384_Init(SHA512_CTX *c)\n\n{\n SHA512_State *s_local;\n int i;\n \n SHA384_Core_Init((SHA512_State *)c);\n *(undefined4 *)(c[1].h + 5) = 0;\n for (i = 0; i < 4; i = i + 1) {\n *(undefined4 *)((long)c[1].h + (long)i * 4 + 0x2c) = 0;\n }\n return (int)c;\n}\n\n" (function_definition "... | (translation_unit "int function_1(type_1 *c)\n\n{\n type_2 *s_local;\n int var_2;\n \n var_1((type_2 *)c);\n *(type_3 *)(c[1].h + 5) = 0;\n for (var_2 = 0; var_2 < 4; var_2 = var_2 + 1) {\n *(type_3 *)((long)c[1].h + (long)var_2 * 4 + 0x2c) = 0;\n }\n return (int)c;\n}\n\n" (function_definition "int function... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1322_plink_and_plink_strip.c | localproxy_tofd_find | FUN_00188da5 | localproxy_tofd_find |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int localproxy_tofd_find(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int a;
Local_Proxy_Socket b;
/* WARNING: Load size is inaccurate */
if (*av < *(int *)((long)bv + 8)) {
iVar1 = -1;
... |
undefined8 FUN_00188da5(int *param_1,long param_2)
{
undefined8 uVar1;
if (*param_1 < *(int *)(param_2 + 8)) {
uVar1 = 0xffffffff;
}
else if (*(int *)(param_2 + 8) < *param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00188da5(int *param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_1 < *(int *)(param_2 + 8)) {\n uVar1 = 0xffffffff;\n }\n else if (*(int *)(param_2 + 8) < *param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definition "... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
MOV dword ptr [RBP + -0xc],EAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x8]
CMP dword ptr [RBP + -0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int a;
type_1 b;
/* WARNING: Load size is inaccurate */
if (*av < *(int *)((long)bv + 8)) {
iVar1 = -1;
}
else if (*(int *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint localproxy_tofd_find(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int a;\n Local_Proxy_Socket b;\n \n /* WARNING: Load size is inaccurate */\n if (*av < *(int *)((lo... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int a;\n type_1 b;\n \n /* WARNING: Load size is inaccurate */\n if (*av < *(int *)((long)bv + 8)) {\n iVa... | (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:... |
1346_plink_and_plink_strip.c | serial_configure | FUN_00189ec1 | serial_configure |
char * serial_configure(Serial serial,Conf *conf)
{
long lVar1;
int iVar2;
uint uVar3;
char *pcVar4;
long in_FS_OFFSET;
Conf *conf_local;
Serial serial_local;
int bflag;
int bval;
int speed;
int flow;
int parity;
char *str;
char *msg;
termios options;
lVar1 = *(long *)(in_FS_OFFSET ... |
char * FUN_00189ec1(undefined8 *param_1,undefined8 param_2)
{
int iVar1;
undefined4 uVar2;
char *pcVar3;
undefined8 uVar4;
long in_FS_OFFSET;
speed_t local_7c;
undefined4 local_78;
char *local_68;
termios local_58;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (*(int *)(param... | (translation_unit "char * FUN_00189ec1(undefined8 *param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n char *pcVar3;\n undefined8 uVar4;\n long in_FS_OFFSET;\n speed_t local_7c;\n undefined4 local_78;\n char *local_68;\n termios local_58;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFS... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x90
MOV qword ptr [RBP + -0x88],RDI
MOV qword ptr [RBP + -0x90],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x88]
MOV EAX,dword ptr [RAX + 0x8]
TEST EAX,EAX
JNS 0x00189f03
LEA RAX,[0x1a24c0]
JMP 0x0018a537
MOV RAX,qword ptr [RBP + -0... |
char * function_1(type_1 serial,type_2 *conf)
{
long var_11;
int var_4;
type_3 uVar3;
char *pcVar4;
long var_1;
type_2 *conf_local;
type_1 serial_local;
int bflag;
int bval;
int speed;
int flow;
int parity;
char *str;
char *msg;
type_4 options;
var_11 = *(long *)(var_1 + 0x28);
if... | (translation_unit "char * serial_configure(Serial serial,Conf *conf)\n\n{\n long lVar1;\n int iVar2;\n uint uVar3;\n char *pcVar4;\n long in_FS_OFFSET;\n Conf *conf_local;\n Serial serial_local;\n int bflag;\n int bval;\n int speed;\n int flow;\n int parity;\n char *str;\n char *msg;\n termios options;\n... | (translation_unit "char * function_1(type_1 serial,type_2 *conf)\n\n{\n long var_11;\n int var_4;\n type_3 uVar3;\n char *pcVar4;\n long var_1;\n type_2 *conf_local;\n type_1 serial_local;\n int bflag;\n int bval;\n int speed;\n int flow;\n int parity;\n char *str;\n char *msg;\n type_4 options;\n \n v... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1208_plink_and_plink_strip.c | filename_to_str | FUN_00181240 | filename_to_str |
char * filename_to_str(Filename *fn)
{
Filename *fn_local;
return fn->path;
}
|
undefined8 FUN_00181240(undefined8 *param_1)
{
return *param_1;
}
| (translation_unit "undefined8 FUN_00181240(undefined8 *param_1)\n\n{\n return *param_1;\n}\n\n" (function_definition "undefined8 FUN_00181240(undefined8 *param_1)\n\n{\n return *param_1;\n}" type_identifier (function_declarator "FUN_00181240(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
POP RBP
RET |
char * function_1(type_1 *fn)
{
type_1 *fn_local;
return fn->path;
}
| (translation_unit "char * filename_to_str(Filename *fn)\n\n{\n Filename *fn_local;\n \n return fn->path;\n}\n\n" (function_definition "char * filename_to_str(Filename *fn)\n\n{\n Filename *fn_local;\n \n return fn->path;\n}" primitive_type (pointer_declarator "* filename_to_str(Filename *fn)" * (function_declarat... | (translation_unit "char * function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n return fn->path;\n}\n\n" (function_definition "char * function_1(type_1 *fn)\n\n{\n type_1 *fn_local;\n \n return fn->path;\n}" primitive_type (pointer_declarator "* function_1(type_1 *fn)" * (function_declarator "function_1(type_1 *fn... | (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... |
367_pageant_and_pageant_strip.c | aes_encrypt_nb_6 | FUN_0011ea7d | aes_encrypt_nb_6 |
void aes_encrypt_nb_6(AESContext *ctx,word32 *block)
{
uint *puVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
byte bVar11;
byte bVar12;
byte bVar13;
byte bVar14;
byte bVar15;
byte bVar16;
byte bVar17;
byte bVar18;
... |
void FUN_0011ea7d(uint *param_1,uint *param_2)
{
uint *puVar1;
byte bVar2;
byte bVar3;
byte bVar4;
byte bVar5;
byte bVar6;
byte bVar7;
byte bVar8;
byte bVar9;
byte bVar10;
byte bVar11;
byte bVar12;
byte bVar13;
byte bVar14;
byte bVar15;
byte bVar16;
byte bVar17;
byte bVar18;
byte... | (translation_unit "void FUN_0011ea7d(uint *param_1,uint *param_2)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n byte bVar14;\n byte bVar15;\n byte bVar16;\... | PUSH RBP
MOV RBP,RSP
SUB RSP,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 0x0011f149
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_4 bVar14;
type_4 bVar15;
type_4 bVar16;
type_4... | (translation_unit "void aes_encrypt_nb_6(AESContext *ctx,word32 *block)\n\n{\n uint *puVar1;\n byte bVar2;\n byte bVar3;\n byte bVar4;\n byte bVar5;\n byte bVar6;\n byte bVar7;\n byte bVar8;\n byte bVar9;\n byte bVar10;\n byte bVar11;\n byte bVar12;\n byte bVar13;\n byte bVar14;\n byte bVar15;\n byte bV... | (translation_unit "void function_1(type_1 *ctx,type_2 *block)\n\n{\n type_3 *puVar1;\n type_4 bVar2;\n type_4 bVar3;\n type_4 bVar4;\n type_4 bVar5;\n type_4 bVar6;\n type_4 bVar7;\n type_4 bVar8;\n type_4 bVar9;\n type_4 bVar10;\n type_4 bVar11;\n type_4 bVar12;\n type_4 bVar13;\n type_4 bVar14;\n type_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
300_pageant_and_pageant_strip.c | pageant_conn_sent | FUN_001115e4 | pageant_conn_sent |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pageant_conn_sent(Plug plug,int bufsize)
{
int bufsize_local;
Plug plug_local;
return;
}
|
void FUN_001115e4(void)
{
return;
}
| (translation_unit "void FUN_001115e4(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_001115e4(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_001115e4(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n return;\n}" { (r... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV dword ptr [RBP + -0xc],ESI
NOP
POP RBP
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,int bufsize)
{
int bufsize_local;
type_1 plug_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pageant_conn_sent(Plug plug,int bufsize)\n\n{\n int bufsize_local;\n Plug plug_local;\n \n return;\n}\n\n" comment (function_definition "void pageant_conn_sent(Plug plug,int bufsize)\n\n{\n int bufsize_local;\n Plu... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,int bufsize)\n\n{\n int bufsize_local;\n type_1 plug_local;\n \n return;\n}\n\n" comment (function_definition "void function_1(type_1 plug,int bufsize)\n\n{\n int bufsize_local;\n type_1 plug... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound... |
1362_plink_and_plink_strip.c | serial_ldisc | FUN_0018abd9 | serial_ldisc |
int serial_ldisc(void *handle,int option)
{
int option_local;
void *handle_local;
return 0;
}
|
undefined8 FUN_0018abd9(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_0018abd9(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_0018abd9(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_0018abd9(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 |
int function_1(void *handle,int option)
{
int option_local;
void *handle_local;
return 0;
}
| (translation_unit "int serial_ldisc(void *handle,int option)\n\n{\n int option_local;\n void *handle_local;\n \n return 0;\n}\n\n" (function_definition "int serial_ldisc(void *handle,int option)\n\n{\n int option_local;\n void *handle_local;\n \n return 0;\n}" primitive_type (function_declarator "serial_ldisc(v... | (translation_unit "int function_1(void *handle,int option)\n\n{\n int option_local;\n void *handle_local;\n \n return 0;\n}\n\n" (function_definition "int function_1(void *handle,int option)\n\n{\n int option_local;\n void *handle_local;\n \n return 0;\n}" primitive_type (function_declarator "function_1(void *h... | (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... |
349_pageant_and_pageant_strip.c | gppfile | FUN_001186b2 | gppfile |
void gppfile(void *handle,char *name,Conf *conf,int primary)
{
int primary_local;
Conf *conf_local;
char *name_local;
void *handle_local;
Filename *result;
result = read_setting_filename(handle,name);
if (result == (Filename *)0x0) {
result = platform_default_filename(name);
}
conf_set_filena... |
void FUN_001186b2(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)
{
undefined8 local_10;
local_10 = FUN_0015700a(param_1,param_2);
if (local_10 == 0) {
local_10 = FUN_00152517(param_2);
}
FUN_0010baa3(param_3,param_4,local_10);
FUN_0014e099(local_10);
return;
}
| (translation_unit "void FUN_001186b2(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n undefined8 local_10;\n \n local_10 = FUN_0015700a(param_1,param_2);\n if (local_10 == 0) {\n local_10 = FUN_00152517(param_2);\n }\n FUN_0010baa3(param_3,param_4,local_10);\n FUN_0014e099(l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x2c],ECX
MOV RDX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x0015700a
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
void function_1(void *handle,char *name,type_1 *conf,int primary)
{
int primary_local;
type_1 *conf_local;
char *name_local;
void *handle_local;
type_2 *var_2;
var_2 = var_1(handle,name);
if (var_2 == (type_2 *)0x0) {
var_2 = var_3(name);
}
var_4(conf,primary,var_2);
var_5(var_2);
return;... | (translation_unit "void gppfile(void *handle,char *name,Conf *conf,int primary)\n\n{\n int primary_local;\n Conf *conf_local;\n char *name_local;\n void *handle_local;\n Filename *result;\n \n result = read_setting_filename(handle,name);\n if (result == (Filename *)0x0) {\n result = platform_default_filename... | (translation_unit "void function_1(void *handle,char *name,type_1 *conf,int primary)\n\n{\n int primary_local;\n type_1 *conf_local;\n char *name_local;\n void *handle_local;\n type_2 *var_2;\n \n var_2 = var_1(handle,name);\n if (var_2 == (type_2 *)0x0) {\n var_2 = var_3(name);\n }\n var_4(conf,primary,va... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
1028_plink_and_plink_strip.c | sha1_key_buggy | FUN_00171a6b | sha1_key_buggy |
void sha1_key_buggy(void *handle,uchar *key)
{
uchar *key_local;
void *handle_local;
sha1_key_internal(handle,key,0x10);
return;
}
|
void FUN_00171a6b(undefined8 param_1,undefined8 param_2)
{
FUN_001718ee(param_1,param_2,0x10);
return;
}
| (translation_unit "void FUN_00171a6b(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_001718ee(param_1,param_2,0x10);\n return;\n}\n\n" (function_definition "void FUN_00171a6b(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_001718ee(param_1,param_2,0x10);\n return;\n}" primitive_type (function_declarator "FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RCX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,0x10
MOV RSI,RCX
MOV RDI,RAX
CALL 0x001718ee
NOP
LEAVE
RET |
void function_1(void *handle,type_1 *key)
{
type_1 *key_local;
void *handle_local;
var_1(handle,key,0x10);
return;
}
| (translation_unit "void sha1_key_buggy(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n \n sha1_key_internal(handle,key,0x10);\n return;\n}\n\n" (function_definition "void sha1_key_buggy(void *handle,uchar *key)\n\n{\n uchar *key_local;\n void *handle_local;\n \n sha1_key_internal(hand... | (translation_unit "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n \n var_1(handle,key,0x10);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *key)\n\n{\n type_1 *key_local;\n void *handle_local;\n \n var_1(handle,key,0x10);\n return;\n}"... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
495_pageant_and_pageant_strip.c | ec_p256 | FUN_001310da | ec_p256 |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_curve * ec_p256(void)
{
if (ec_p256::initialised == '\0') {
initialise_wcurve(&ec_p256::curve,0x100,ec_p256::lexical_block_2::p,ec_p256::lexical_block_2::a,
ec_p256::lexic... |
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
undefined * FUN_001310da(void)
{
if (DAT_00170780 == '\0') {
FUN_00130de9(&DAT_001707a0,0x100,&DAT_00160da0,&DAT_00160dc0,&DAT_00160de0,&DAT_00160e00,
&DAT_00160e20,&DAT_00160e40);
DAT_001707a8 = "nistp256... | (translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined * FUN_001310da(void)\n\n{\n if (DAT_00170780 == '\0') {\n FUN_00130de9(&DAT_001707a0,0x100,&DAT_00160da0,&DAT_00160dc0,&DAT_00160de0,&DAT_00160e00,\n &DAT_00160e20,&DAT_00160e40);\n ... | PUSH RBP
MOV RBP,RSP
MOVZX EAX,byte ptr [0x00170780]
TEST AL,AL
JNZ 0x0013114d
LEA RAX,[0x160e40]
PUSH RAX
LEA RAX,[0x160e20]
PUSH RAX
LEA R9,[0x160e00]
LEA R8,[0x160de0]
LEA RCX,[0x160dc0]
LEA RDX,[0x160da0]
MOV ESI,0x100
LEA RDI,[0x1707a0]
CALL 0x00130de9
ADD RSP,0x10
LEA RAX,[0x160bc0]
MOV qword ptr [0x001707a8],RAX... |
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(void)
{
if (function_1::var_1 == '\0') {
var_2(&function_1::curve,0x100,function_1::lexical_block_2::p,function_1::lexical_block_2::a,
function_1::lexical... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_curve * ec_p256(void)\n\n{\n if (ec_p256::initialised == '\0') {\n initialise_wcurve(&ec_p256::curve,0x100,ec_p256::lexical_block_2::p,ec_p256::lexical_block_2::a,\n ... | (translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(void)\n\n{\n if (function_1::var_1 == '\0') {\n var_2(&function_1::curve,0x100,function_1::lexical_block_2::p,function_1::lexical_block_2::a,\n ... | (translation_unit (comment) (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (if_statement condition: (parenthesized_exp... |
1292_plink_and_plink_strip.c | get_ttychar | FUN_00185ed6 | get_ttychar |
char * get_ttychar(termios *t,int index)
{
char *pcVar1;
int index_local;
termios *t_local;
cc_t c;
if (t->c_cc[index] == 0) {
pcVar1 = dupstr("");
}
else {
pcVar1 = dupprintf("^<%d>",(ulong)t->c_cc[index]);
}
return pcVar1;
}
|
void FUN_00185ed6(long param_1,int param_2)
{
char cVar1;
cVar1 = *(char *)(param_1 + 0x11 + (long)param_2);
if (cVar1 == '\0') {
FUN_0011086d(&DAT_001a1782);
}
else {
FUN_00110d41("^<%d>",cVar1);
}
return;
}
| (translation_unit "void FUN_00185ed6(long param_1,int param_2)\n\n{\n char cVar1;\n \n cVar1 = *(char *)(param_1 + 0x11 + (long)param_2);\n if (cVar1 == '\0') {\n FUN_0011086d(&DAT_001a1782);\n }\n else {\n FUN_00110d41("^<%d>",cVar1);\n }\n return;\n}\n\n" (function_definition "void FUN_00185ed6(long par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RDX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
MOVZX EAX,byte ptr [RDX + RAX*0x1 + 0x11]
MOV byte ptr [RBP + -0x1],AL
CMP byte ptr [RBP + -0x1],0x0
JNZ 0x00185f0a
LEA RDI,[0x1a1782]
CALL 0x0011086d
JM... |
char * function_1(type_1 *t,int index)
{
char *pcVar1;
int index_local;
type_1 *t_local;
type_2 c;
if (t->c_cc[index] == 0) {
pcVar1 = var_1("");
}
else {
pcVar1 = var_2("^<%d>",(type_3)t->c_cc[index]);
}
return pcVar1;
}
| (translation_unit "char * get_ttychar(termios *t,int index)\n\n{\n char *pcVar1;\n int index_local;\n termios *t_local;\n cc_t c;\n \n if (t->c_cc[index] == 0) {\n pcVar1 = dupstr("");\n }\n else {\n pcVar1 = dupprintf("^<%d>",(ulong)t->c_cc[index]);\n }\n return pcVar1;\n}\n\n" (function_definition "ch... | (translation_unit "char * function_1(type_1 *t,int index)\n\n{\n char *pcVar1;\n int index_local;\n type_1 *t_local;\n type_2 c;\n \n if (t->c_cc[index] == 0) {\n pcVar1 = var_1("");\n }\n else {\n pcVar1 = var_2("^<%d>",(type_3)t->c_cc[index]);\n }\n return pcVar1;\n}\n\n" (function_definition "char * ... | (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... |
818_plink_and_plink_strip.c | ec_aminus3 | FUN_00159ada | ec_aminus3 |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ec_aminus3(ec_curve *curve)
{
int iVar1;
uint uVar2;
Bignum_conflict b;
ec_curve *curve_local;
int ret;
Bignum _p;
if (curve->type == ADDRTYPE_UNSPEC) {
b = bignum_add_long((Bignum_conflict)(curve->field_5).w.a,3);
... |
bool FUN_00159ada(int *param_1)
{
int iVar1;
undefined8 uVar2;
bool bVar3;
if (*param_1 == 0) {
uVar2 = FUN_0014ebed(*(undefined8 *)(param_1 + 10),3);
iVar1 = FUN_0014debe(*(undefined8 *)(param_1 + 8),uVar2);
bVar3 = iVar1 == 0;
FUN_00149d91(uVar2);
}
else {
bVar3 = false;
}
ret... | (translation_unit "bool FUN_00159ada(int *param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n bool bVar3;\n \n if (*param_1 == 0) {\n uVar2 = FUN_0014ebed(*(undefined8 *)(param_1 + 10),3);\n iVar1 = FUN_0014debe(*(undefined8 *)(param_1 + 8),uVar2);\n bVar3 = iVar1 == 0;\n FUN_00149d91(uVar2);\n }\n else... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
TEST EAX,EAX
JZ 0x00159af7
MOV EAX,0x0
JMP 0x00159b41
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x28]
MOV ESI,0x3
MOV RDI,RAX
CALL 0x0014ebed
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qw... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 *curve)
{
int var_4;
type_2 uVar2;
type_3 b;
type_1 *curve_local;
int ret;
type_4 _p;
if (curve->type == var_1) {
b = var_2((type_3)(curve->field_5).w.a,3);
var_4 = var_3((type_3)curve->p,b);
u... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ec_aminus3(ec_curve *curve)\n\n{\n int iVar1;\n uint uVar2;\n Bignum_conflict b;\n ec_curve *curve_local;\n int ret;\n Bignum _p;\n \n if (curve->type == ADDRTYPE_UNSPEC) {\n b = bignum_add_long((Bignum_conflic... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 *curve)\n\n{\n int var_4;\n type_2 uVar2;\n type_3 b;\n type_1 *curve_local;\n int ret;\n type_4 _p;\n \n if (curve->type == var_1) {\n b = var_2((type_3)(curve->field_5).w.a,3);\n var_4 = ... | (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... |
883_plink_and_plink_strip.c | ssh_gssapi_free_mic | FUN_00160bd2 | ssh_gssapi_free_mic |
Ssh_gss_stat ssh_gssapi_free_mic(ssh_gss_library *lib,Ssh_gss_buf *hash)
{
Ssh_gss_stat SVar1;
Ssh_gss_buf *hash_local;
ssh_gss_library *lib_local;
SVar1 = ssh_gssapi_free_tok(lib,hash);
return SVar1;
}
|
void FUN_00160bd2(undefined8 param_1,undefined8 param_2)
{
FUN_001609e1(param_1,param_2);
return;
}
| (translation_unit "void FUN_00160bd2(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_001609e1(param_1,param_2);\n return;\n}\n\n" (function_definition "void FUN_00160bd2(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_001609e1(param_1,param_2);\n return;\n}" primitive_type (function_declarator "FUN_00160bd2(und... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV RDX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x001609e1
LEAVE
RET |
type_1 function_1(type_2 *lib,type_3 *hash)
{
type_1 SVar1;
type_3 *hash_local;
type_2 *lib_local;
SVar1 = var_1(lib,hash);
return SVar1;
}
| (translation_unit "Ssh_gss_stat ssh_gssapi_free_mic(ssh_gss_library *lib,Ssh_gss_buf *hash)\n\n{\n Ssh_gss_stat SVar1;\n Ssh_gss_buf *hash_local;\n ssh_gss_library *lib_local;\n \n SVar1 = ssh_gssapi_free_tok(lib,hash);\n return SVar1;\n}\n\n" (function_definition "Ssh_gss_stat ssh_gssapi_free_mic(ssh_gss_library... | (translation_unit "type_1 function_1(type_2 *lib,type_3 *hash)\n\n{\n type_1 SVar1;\n type_3 *hash_local;\n type_2 *lib_local;\n \n SVar1 = var_1(lib,hash);\n return SVar1;\n}\n\n" (function_definition "type_1 function_1(type_2 *lib,type_3 *hash)\n\n{\n type_1 SVar1;\n type_3 *hash_local;\n type_2 *lib_local;\... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (point... |
978_plink_and_plink_strip.c | SHA256_Final | FUN_0016b771 | SHA256_Final |
int SHA256_Final(SHA256_State *s,uchar *digest)
{
int iVar1;
uint32 uVar2;
long lVar3;
int iVar4;
long in_FS_OFFSET;
uchar *digest_local;
SHA256_State *s_local;
int i;
int pad;
uint32 lenhi;
uint32 lenlo;
uchar c [64];
lVar3 = *(long *)(in_FS_OFFSET + 0x28);
if (s->blkused < 0x38) {
... |
void FUN_0016b771(long param_1,long param_2)
{
int iVar1;
undefined4 uVar2;
int iVar3;
long in_FS_OFFSET;
int local_68;
int local_64;
undefined local_58;
undefined local_57;
undefined local_56;
byte local_55;
undefined local_54;
undefined local_53;
undefined local_52;
undefined local_51;
... | (translation_unit "void FUN_0016b771(long param_1,long param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n int iVar3;\n long in_FS_OFFSET;\n int local_68;\n int local_64;\n undefined local_58;\n undefined local_57;\n undefined local_56;\n byte local_55;\n undefined local_54;\n undefined local_53;\n undefined ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x68]
MOV EAX,dword ptr [RAX + 0x60]
CMP EAX,0x37
JLE 0x0016b7b1
MOV RAX,qword ptr [RBP + -0x68]
MOV EAX,dword ptr [RAX + 0x6... |
int function_1(type_1 *s,type_2 *digest)
{
int iVar1;
type_3 var_4;
long var_6;
int iVar4;
long var_1;
type_2 *digest_local;
type_1 *s_local;
int var_5;
int pad;
type_3 lenhi;
type_3 lenlo;
type_2 c [64];
var_6 = *(long *)(var_1 + 0x28);
if (s->blkused < 0x38) {
pad = 0x38 - s->blku... | (translation_unit "int SHA256_Final(SHA256_State *s,uchar *digest)\n\n{\n int iVar1;\n uint32 uVar2;\n long lVar3;\n int iVar4;\n long in_FS_OFFSET;\n uchar *digest_local;\n SHA256_State *s_local;\n int i;\n int pad;\n uint32 lenhi;\n uint32 lenlo;\n uchar c [64];\n \n lVar3 = *(long *)(in_FS_OFFSET + 0x2... | (translation_unit "int function_1(type_1 *s,type_2 *digest)\n\n{\n int iVar1;\n type_3 var_4;\n long var_6;\n int iVar4;\n long var_1;\n type_2 *digest_local;\n type_1 *s_local;\n int var_5;\n int pad;\n type_3 lenhi;\n type_3 lenlo;\n type_2 c [64];\n \n var_6 = *(long *)(var_1 + 0x28);\n if (s->blkused... | (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... |
788_plink_and_plink_strip.c | dh_setup_gex | FUN_00157145 | dh_setup_gex |
void * dh_setup_gex(Bignum pval,Bignum gval)
{
dh_ctx *ctx_00;
Bignum_conflict pBVar1;
Bignum gval_local;
Bignum pval_local;
dh_ctx *ctx;
ctx_00 = (dh_ctx *)safemalloc(1,0x30);
pBVar1 = copybn((Bignum_conflict)pval);
ctx_00->p = pBVar1;
pBVar1 = copybn((Bignum_conflict)gval);
ctx_00->g = pBVar1... |
long FUN_00157145(undefined8 param_1,undefined8 param_2)
{
long lVar1;
undefined8 uVar2;
lVar1 = FUN_00111901(1,0x30);
uVar2 = FUN_00149d31(param_1);
*(undefined8 *)(lVar1 + 0x10) = uVar2;
uVar2 = FUN_00149d31(param_2);
*(undefined8 *)(lVar1 + 0x28) = uVar2;
FUN_00157036(lVar1);
return lVar1;
}
| (translation_unit "long FUN_00157145(undefined8 param_1,undefined8 param_2)\n\n{\n long lVar1;\n undefined8 uVar2;\n \n lVar1 = FUN_00111901(1,0x30);\n uVar2 = FUN_00149d31(param_1);\n *(undefined8 *)(lVar1 + 0x10) = uVar2;\n uVar2 = FUN_00149d31(param_2);\n *(undefined8 *)(lVar1 + 0x28) = uVar2;\n FUN_0015703... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV ESI,0x30
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RDI,RAX
CALL 0x00149d31
MOV RDX,RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX + 0x10],RDX
MOV RAX,qword pt... |
void * function_1(type_1 pval,type_1 gval)
{
type_2 *ctx_00;
type_3 pBVar1;
type_1 gval_local;
type_1 pval_local;
type_2 *ctx;
ctx_00 = (type_2 *)var_1(1,0x30);
pBVar1 = var_2((type_3)pval);
ctx_00->p = pBVar1;
pBVar1 = var_2((type_3)gval);
ctx_00->g = pBVar1;
var_3(ctx_00);
return ctx_00;
... | (translation_unit "void * dh_setup_gex(Bignum pval,Bignum gval)\n\n{\n dh_ctx *ctx_00;\n Bignum_conflict pBVar1;\n Bignum gval_local;\n Bignum pval_local;\n dh_ctx *ctx;\n \n ctx_00 = (dh_ctx *)safemalloc(1,0x30);\n pBVar1 = copybn((Bignum_conflict)pval);\n ctx_00->p = pBVar1;\n pBVar1 = copybn((Bignum_confli... | (translation_unit "void * function_1(type_1 pval,type_1 gval)\n\n{\n type_2 *ctx_00;\n type_3 pBVar1;\n type_1 gval_local;\n type_1 pval_local;\n type_2 *ctx;\n \n ctx_00 = (type_2 *)var_1(1,0x30);\n pBVar1 = var_2((type_3)pval);\n ctx_00->p = pBVar1;\n pBVar1 = var_2((type_3)gval);\n ctx_00->g = pBVar1;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identif... |
835_plink_and_plink_strip.c | ecp_mul_ | FUN_0015bc91 | ecp_mul_ |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
ec_point * ecp_mul_(ec_point *a,Bignum b,int aminus3)
{
int iVar1;
int iVar2;
ec_point *peVar3;
int aminus3_local;
Bignum b_local;
ec_point *a_local;
int i;
int bits;
ec_point *A;
ec_point *ret;
ec_point *tmp;
ec_point *... |
undefined8 FUN_0015bc91(undefined8 *param_1,undefined8 param_2,undefined4 param_3)
{
int iVar1;
int iVar2;
undefined8 uVar3;
undefined4 local_30;
undefined8 local_28;
undefined8 local_20;
local_28 = FUN_00159e73(param_1);
local_20 = FUN_00159dfd(*param_1,0,0,0,1);
iVar1 = FUN_0014dba5(param_2);
... | (translation_unit "undefined8 FUN_0015bc91(undefined8 *param_1,undefined8 param_2,undefined4 param_3)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n undefined4 local_30;\n undefined8 local_28;\n undefined8 local_20;\n \n local_28 = FUN_00159e73(param_1);\n local_20 = FUN_00159dfd(*param_1,0,0,0,1);\n iV... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV dword ptr [RBP + -0x44],EDX
MOV RAX,qword ptr [RBP + -0x38]
MOV RDI,RAX
CALL 0x00159e73
MOV qword ptr [RBP + -0x20],RAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX]
MOV R8D,0x1
MOV ECX,0x0
MOV EDX,0x0
MOV ES... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_1 *a,type_2 b,int aminus3)
{
int var_5;
int var_7;
type_1 *peVar3;
int aminus3_local;
type_2 b_local;
type_1 *a_local;
int var_4;
int bits;
type_1 *A;
type_1 *ret;
type_1 *tmp;
type_1 *tmp_1;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nec_point * ecp_mul_(ec_point *a,Bignum b,int aminus3)\n\n{\n int iVar1;\n int iVar2;\n ec_point *peVar3;\n int aminus3_local;\n Bignum b_local;\n ec_point *a_local;\n int i;\n int bits;\n ec_point *A;\n ec_point *re... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_1 *a,type_2 b,int aminus3)\n\n{\n int var_5;\n int var_7;\n type_1 *peVar3;\n int aminus3_local;\n type_2 b_local;\n type_1 *a_local;\n int var_4;\n int bits;\n type_1 *A;\n type_1 *ret;\n ... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration ... |
807_plink_and_plink_strip.c | dss_pubkey_bits | FUN_0015904f | dss_pubkey_bits |
int dss_pubkey_bits(ssh_signkey *self,void *blob,int len)
{
int iVar1;
undefined8 *key;
int len_local;
void *blob_local;
ssh_signkey *self_local;
int ret;
dss_key *dss;
key = (undefined8 *)dss_newkey(self,(char *)blob,len);
if (key == (undefined8 *)0x0) {
iVar1 = -1;
}
else {
iVar1 = ... |
undefined4 FUN_0015904f(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined4 uVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)FUN_00157884(param_1,param_2,param_3);
if (puVar2 == (undefined8 *)0x0) {
uVar1 = 0xffffffff;
}
else {
uVar1 = FUN_0014dba5(*puVar2);
FUN_00157a32... | (translation_unit "undefined4 FUN_0015904f(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n undefined8 *puVar2;\n \n puVar2 = (undefined8 *)FUN_00157884(param_1,param_2,param_3);\n if (puVar2 == (undefined8 *)0x0) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = FUN_0014db... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV EDX,dword ptr [RBP + -0x24]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x00157884
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
int function_1(type_1 *self,void *blob,int len)
{
int iVar1;
type_2 *var_2;
int len_local;
void *blob_local;
type_1 *self_local;
int ret;
type_3 *dss;
var_2 = (type_2 *)var_1(self,(char *)blob,len);
if (var_2 == (type_2 *)0x0) {
iVar1 = -1;
}
else {
iVar1 = var_3((Bignum_conflict)*var... | (translation_unit "int dss_pubkey_bits(ssh_signkey *self,void *blob,int len)\n\n{\n int iVar1;\n undefined8 *key;\n int len_local;\n void *blob_local;\n ssh_signkey *self_local;\n int ret;\n dss_key *dss;\n \n key = (undefined8 *)dss_newkey(self,(char *)blob,len);\n if (key == (undefined8 *)0x0) {\n iVar1 ... | (translation_unit "int function_1(type_1 *self,void *blob,int len)\n\n{\n int iVar1;\n type_2 *var_2;\n int len_local;\n void *blob_local;\n type_1 *self_local;\n int ret;\n type_3 *dss;\n \n var_2 = (type_2 *)var_1(self,(char *)blob,len);\n if (var_2 == (type_2 *)0x0) {\n iVar1 = -1;\n }\n else {\n i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1010_plink_and_plink_strip.c | sha512_final | FUN_00170cd0 | sha512_final |
void sha512_final(void *handle,uchar *output)
{
uchar *output_local;
void *handle_local;
SHA512_State *s;
SHA512_Final((SHA512_State *)handle,output);
sha512_free(handle);
return;
}
|
void FUN_00170cd0(undefined8 param_1,undefined8 param_2)
{
FUN_00170666(param_1,param_2);
FUN_00170c68(param_1);
return;
}
| (translation_unit "void FUN_00170cd0(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00170666(param_1,param_2);\n FUN_00170c68(param_1);\n return;\n}\n\n" (function_definition "void FUN_00170cd0(undefined8 param_1,undefined8 param_2)\n\n{\n FUN_00170666(param_1,param_2);\n FUN_00170c68(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 0x00170666
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x00170c... |
void function_1(void *handle,type_1 *output)
{
type_1 *output_local;
void *handle_local;
type_2 *s;
var_1((type_2 *)handle,output);
var_2(handle);
return;
}
| (translation_unit "void sha512_final(void *handle,uchar *output)\n\n{\n uchar *output_local;\n void *handle_local;\n SHA512_State *s;\n \n SHA512_Final((SHA512_State *)handle,output);\n sha512_free(handle);\n return;\n}\n\n" (function_definition "void sha512_final(void *handle,uchar *output)\n\n{\n uchar *outpu... | (translation_unit "void function_1(void *handle,type_1 *output)\n\n{\n type_1 *output_local;\n void *handle_local;\n type_2 *s;\n \n var_1((type_2 *)handle,output);\n var_2(handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *output)\n\n{\n type_1 *output_local;\n void *handle_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
221_pageant_and_pageant_strip.c | conf_set_str_str | FUN_0010b8b1 | conf_set_str_str |
void conf_set_str_str(Conf *conf,int primary,char *secondary,char *value)
{
conf_entry *entry_00;
char *pcVar1;
char *value_local;
char *secondary_local;
int primary_local;
Conf *conf_local;
conf_entry *entry;
entry_00 = (conf_entry *)safemalloc(1,0x18);
if (subkeytypes[primary] != 2) {
... |
void FUN_0010b8b1(undefined8 param_1,int param_2,undefined8 param_3,undefined8 param_4)
{
int *piVar1;
undefined8 uVar2;
piVar1 = (int *)FUN_0010dd24(1,0x18);
if (*(int *)(&DAT_00170020 + (long)param_2 * 4) != 2) {
/* WARNING: Subroutine does not return */
__assert_fail("subkeytypes... | (translation_unit "void FUN_0010b8b1(undefined8 param_1,int param_2,undefined8 param_3,undefined8 param_4)\n\n{\n int *piVar1;\n undefined8 uVar2;\n \n piVar1 = (int *)FUN_0010dd24(1,0x18);\n if (*(int *)(&DAT_00170020 + (long)param_2 * 4) != 2) {\n /* WARNING: Subroutine does not return */\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV ESI,0x18
MOV EDI,0x1
CALL 0x0010dd24
MOV qword ptr [RBP + -0x8],RAX
MOV EAX,dword ptr [RBP + -0x1c]
CDQE
LEA RDX,[RAX*0x4]
LEA RAX,[0x170020]
MOV EAX,dwor... |
void function_1(type_1 *conf,int primary,char *secondary,char *value)
{
type_2 *entry_00;
char *pcVar1;
char *value_local;
char *secondary_local;
int primary_local;
type_1 *conf_local;
type_2 *entry;
entry_00 = (type_2 *)var_1(1,0x18);
if (subkeytypes[primary] != 2) {
/* WARNI... | (translation_unit "void conf_set_str_str(Conf *conf,int primary,char *secondary,char *value)\n\n{\n conf_entry *entry_00;\n char *pcVar1;\n char *value_local;\n char *secondary_local;\n int primary_local;\n Conf *conf_local;\n conf_entry *entry;\n \n entry_00 = (conf_entry *)safemalloc(1,0x18);\n if (subkeyty... | (translation_unit "void function_1(type_1 *conf,int primary,char *secondary,char *value)\n\n{\n type_2 *entry_00;\n char *pcVar1;\n char *value_local;\n char *secondary_local;\n int primary_local;\n type_1 *conf_local;\n type_2 *entry;\n \n entry_00 = (type_2 *)var_1(1,0x18);\n if (subkeytypes[primary] != 2) ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identif... |
1044_plink_and_plink_strip.c | share_channel_us_cmp | FUN_001723db | share_channel_us_cmp |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int share_channel_us_cmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
share_channel *a;
share_channel *b;
if (*(uint *)((long)av + 4) < *(uint *)((long)bv + 4)) {
iVar1 = -1;
}
else if (*(uint *)((long)... |
undefined8 FUN_001723db(long param_1,long param_2)
{
undefined8 uVar1;
if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {
uVar1 = 0xffffffff;
}
else if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_001723db(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*(uint *)(param_1 + 4) < *(uint *)(param_2 + 4)) {\n uVar1 = 0xffffffff;\n }\n else if (*(uint *)(param_2 + 4) < *(uint *)(param_1 + 4)) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\... | 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 + 0x4]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword p... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
if (*(type_2 *)((long)av + 4) < *(type_2 *)((long)bv + 4)) {
iVar1 = -1;
}
else if (*(type_2 *)((long)bv + 4) < *(type_2... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint share_channel_us_cmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n share_channel *a;\n share_channel *b;\n \n if (*(uint *)((long)av + 4) < *(uint *)((long)bv + 4)) {\n iVar1 = -1;\n... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n if (*(type_2 *)((long)av + 4) < *(type_2 *)((long)bv + 4)) {\n iVar1 = -1;\n }\n else if (*(ty... | (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:... |
393_pageant_and_pageant_strip.c | bn_power_2 | FUN_001247be | bn_power_2 |
Bignum_conflict bn_power_2(int n)
{
int iVar1;
Bignum_conflict bn;
int n_local;
Bignum_conflict ret;
if (n < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("n >= 0","sshbn.c",0x51,"bn_power_2");
}
iVar1 = n;
if (n < 0) {
iVar1 = n + 0x3f;
}
bn = newbn((... |
undefined8 FUN_001247be(int param_1)
{
int iVar1;
undefined8 uVar2;
if (param_1 < 0) {
/* WARNING: Subroutine does not return */
__assert_fail("n >= 0","sshbn.c",0x51,"bn_power_2");
}
iVar1 = param_1;
if (param_1 < 0) {
iVar1 = param_1 + 0x3f;
}
uVar2 = FUN_00124651((iVa... | (translation_unit "undefined8 FUN_001247be(int param_1)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (param_1 < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("n >= 0","sshbn.c",0x51,"bn_power_2");\n }\n iVar1 = param_1;\n if (param_1 < 0) {\n iVar1 = param_1 + 0x3f;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x14],EDI
CMP dword ptr [RBP + -0x14],0x0
JNS 0x001247ee
LEA RCX,[0x15fe98]
MOV EDX,0x51
LEA RSI,[0x15fd60]
LEA RDI,[0x15fd9a]
CALL 0x00107340
MOV EAX,dword ptr [RBP + -0x14]
LEA EDX,[RAX + 0x3f]
TEST EAX,EAX
CMOVS EAX,EDX
SAR EAX,0x6
ADD EAX,0x1
MOV EDI,EAX
CALL ... |
type_1 function_1(int var_1)
{
int var_4;
type_1 bn;
int n_local;
type_1 ret;
if (var_1 < 0) {
/* WARNING: Subroutine does not return */
var_2("n >= 0","sshbn.c",0x51,"bn_power_2");
}
var_4 = var_1;
if (var_1 < 0) {
var_4 = var_1 + 0x3f;
}
bn = var_3((var_4 >> 6) + 1... | (translation_unit "Bignum_conflict bn_power_2(int n)\n\n{\n int iVar1;\n Bignum_conflict bn;\n int n_local;\n Bignum_conflict ret;\n \n if (n < 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("n >= 0","sshbn.c",0x51,"bn_power_2");\n }\n iVar1 = n;\n if (n < 0) {\n iVar... | (translation_unit "type_1 function_1(int var_1)\n\n{\n int var_4;\n type_1 bn;\n int n_local;\n type_1 ret;\n \n if (var_1 < 0) {\n /* WARNING: Subroutine does not return */\n var_2("n >= 0","sshbn.c",0x51,"bn_power_2");\n }\n var_4 = var_1;\n if (var_1 < 0) {\n var_4 = var_1 + 0x3f;\n... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declarat... |
414_pageant_and_pageant_strip.c | ssh1_read_bignum | FUN_001284ce | ssh1_read_bignum |
int ssh1_read_bignum(uchar *data,int len,Bignum_conflict *result)
{
int iVar1;
Bignum_conflict pBVar2;
Bignum_conflict *result_local;
int len_local;
uchar *data_local;
int i;
int w;
int b;
uchar *p;
if (len < 2) {
iVar1 = -1;
}
else {
w = 0;
p = data;
for (i = 0; i < 2; i = ... |
byte * FUN_001284ce(byte *param_1,int param_2,undefined8 *param_3)
{
int iVar1;
undefined8 uVar2;
int local_1c;
int local_18;
byte *local_10;
if (param_2 < 2) {
local_10 = (byte *)0xffffffff;
}
else {
local_18 = 0;
local_10 = param_1;
for (local_1c = 0; local_1c < 2; local_1c = loca... | (translation_unit "byte * FUN_001284ce(byte *param_1,int param_2,undefined8 *param_3)\n\n{\n int iVar1;\n undefined8 uVar2;\n int local_1c;\n int local_18;\n byte *local_10;\n \n if (param_2 < 2) {\n local_10 = (byte *)0xffffffff;\n }\n else {\n local_18 = 0;\n local_10 = param_1;\n for (local_1c =... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr [RBP + -0x28]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x2c],0x1
JG 0x001284f9
MOV EAX,0xffffffff
JMP 0x00128593
MOV dword ptr [RBP + -0x10],0x0
MOV dword ptr [... |
int function_1(type_1 *data,int var_1,type_2 *var_6)
{
int var_5;
type_2 pBVar2;
type_2 *result_local;
int len_local;
type_1 *data_local;
int var_2;
int var_4;
int b;
type_1 *var_3;
if (var_1 < 2) {
var_5 = -1;
}
else {
var_4 = 0;
var_3 = data;
for (var_2 = 0; var_2 < 2; var... | (translation_unit "int ssh1_read_bignum(uchar *data,int len,Bignum_conflict *result)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n Bignum_conflict *result_local;\n int len_local;\n uchar *data_local;\n int i;\n int w;\n int b;\n uchar *p;\n \n if (len < 2) {\n iVar1 = -1;\n }\n else {\n w = 0;\n p... | (translation_unit "int function_1(type_1 *data,int var_1,type_2 *var_6)\n\n{\n int var_5;\n type_2 pBVar2;\n type_2 *result_local;\n int len_local;\n type_1 *data_local;\n int var_2;\n int var_4;\n int b;\n type_1 *var_3;\n \n if (var_1 < 2) {\n var_5 = -1;\n }\n else {\n var_4 = 0;\n var_3 = data... | (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... |
310_pageant_and_pageant_strip.c | pageant_get_keylist1 | FUN_00111ccb | pageant_get_keylist1 |
void * pageant_get_keylist1(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] = '\x01';
request[0] = '... |
void * FUN_00111ccb(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_00111ccb(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 0x00111dad
MOV byte ptr [RBP + -0x9],0x1
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] = '\x01';
request[0] = '\0';
request[1] = '\0';
re... | (translation_unit "void * pageant_get_keylist1(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] = '\x01';\n request[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... |
1007_plink_and_plink_strip.c | sha512_copy | FUN_00170c22 | sha512_copy |
void * sha512_copy(void *vold)
{
undefined8 *puVar1;
long lVar2;
undefined8 *puVar3;
byte bVar4;
void *vold_local;
SHA512_State *old;
SHA512_State *s;
bVar4 = 0;
puVar1 = (undefined8 *)safemalloc(1,0x118);
puVar3 = puVar1;
/* WARNING: Load size is inaccurate */
for (lVar2 ... |
undefined8 * FUN_00170c22(undefined8 *param_1)
{
undefined8 *puVar1;
long lVar2;
undefined8 *puVar3;
byte bVar4;
bVar4 = 0;
puVar1 = (undefined8 *)FUN_00111901(1,0x118);
puVar3 = puVar1;
for (lVar2 = 0x23; lVar2 != 0; lVar2 = lVar2 + -1) {
*puVar3 = *param_1;
param_1 = param_1 + (ulong)bVar... | (translation_unit "undefined8 * FUN_00170c22(undefined8 *param_1)\n\n{\n undefined8 *puVar1;\n long lVar2;\n undefined8 *puVar3;\n byte bVar4;\n \n bVar4 = 0;\n puVar1 = (undefined8 *)FUN_00111901(1,0x118);\n puVar3 = puVar1;\n for (lVar2 = 0x23; lVar2 != 0; lVar2 = lVar2 + -1) {\n *puVar3 = *param_1;\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 + -0x10],RAX
MOV ESI,0x118
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RBP + -0x10]
MOV RSI,RAX
MOV EAX,0x23
MOV RDI,RDX
MOV RCX,RAX
MOVSQ... |
void * function_1(void *vold)
{
type_1 *puVar1;
long var_2;
type_1 *var_3;
type_2 bVar4;
void *vold_local;
type_3 *old;
type_3 *s;
bVar4 = 0;
puVar1 = (type_1 *)var_1(1,0x118);
var_3 = puVar1;
/* WARNING: Load size is inaccurate */
for (var_2 = 0x23; var_2 != 0; var_2 = va... | (translation_unit "void * sha512_copy(void *vold)\n\n{\n undefined8 *puVar1;\n long lVar2;\n undefined8 *puVar3;\n byte bVar4;\n void *vold_local;\n SHA512_State *old;\n SHA512_State *s;\n \n bVar4 = 0;\n puVar1 = (undefined8 *)safemalloc(1,0x118);\n puVar3 = puVar1;\n /* WARNING: Load siz... | (translation_unit "void * function_1(void *vold)\n\n{\n type_1 *puVar1;\n long var_2;\n type_1 *var_3;\n type_2 bVar4;\n void *vold_local;\n type_3 *old;\n type_3 *s;\n \n bVar4 = 0;\n puVar1 = (type_1 *)var_1(1,0x118);\n var_3 = puVar1;\n /* WARNING: Load size is inaccurate */\n for (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... |
322_pageant_and_pageant_strip.c | sk_proxy_write_oob | FUN_001140c2 | sk_proxy_write_oob |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_proxy_write_oob(Socket s,char *data,int len)
{
int len_local;
char *data_local;
Socket s_local;
Proxy_Socket ps;
if (*(int *)((long)s + 0x84) == 0) {
len = (**(code **)(s[2]->plug + 0x18))(s[2],data,len);
}
else {
... |
ulong FUN_001140c2(long param_1,undefined8 param_2,uint param_3)
{
ulong uVar1;
if (*(int *)(param_1 + 0x84) == 0) {
uVar1 = (**(code **)(**(long **)(param_1 + 0x10) + 0x18))
(*(undefined8 *)(param_1 + 0x10),param_2,param_3);
}
else {
FUN_0010d891(param_1 + 0x30);
FUN_0010... | (translation_unit "ulong FUN_001140c2(long param_1,undefined8 param_2,uint param_3)\n\n{\n ulong uVar1;\n \n if (*(int *)(param_1 + 0x84) == 0) {\n uVar1 = (**(code **)(**(long **)(param_1 + 0x10) + 0x18))\n (*(undefined8 *)(param_1 + 0x10),param_2,param_3);\n }\n else {\n FUN_0010d891(p... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x84]
TEST EAX,EAX
JZ 0x0011412a
MOV RAX,qword ptr [RBP + -0x8]
ADD RAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 var_2,char *data,int len)
{
int len_local;
char *data_local;
type_1 s_local;
type_2 ps;
if (*(int *)((long)var_2 + 0x84) == 0) {
len = (**(type_3 **)(var_2[2]->plug + 0x18))(var_2[2],data,len);
}
else ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_proxy_write_oob(Socket s,char *data,int len)\n\n{\n int len_local;\n char *data_local;\n Socket s_local;\n Proxy_Socket ps;\n \n if (*(int *)((long)s + 0x84) == 0) {\n len = (**(code **)(s[2]->plug + 0x18))(s[... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 var_2,char *data,int len)\n\n{\n int len_local;\n char *data_local;\n type_1 s_local;\n type_2 ps;\n \n if (*(int *)((long)var_2 + 0x84) == 0) {\n len = (**(type_3 **)(var_2[2]->plug + 0x18))(va... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
1084_plink_and_plink_strip.c | share_listen_closing | FUN_00176d4c | share_listen_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_listen_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;
ssh_sharing_state *sharestate;
if (error_msg != (char *)... |
void FUN_00176d4c(long param_1,long param_2)
{
if (param_2 != 0) {
FUN_0013598a(*(undefined8 *)(param_1 + 0x28),0,"listening socket: %s",param_2);
}
(**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));
*(undefined8 *)(param_1 + 0x10) = 0;
return;
}
| (translation_unit "void FUN_00176d4c(long param_1,long param_2)\n\n{\n if (param_2 != 0) {\n FUN_0013598a(*(undefined8 *)(param_1 + 0x28),0,"listening socket: %s",param_2);\n }\n (**(code **)(**(long **)(param_1 + 0x10) + 8))(*(undefined8 *)(param_1 + 0x10));\n *(undefined8 *)(param_1 + 0x10) = 0;\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 dword ptr [RBP + -0x28],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x20],0x0
JZ 0x00176d99
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 plug,char *var_1,int error_code,int calling_back)
{
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 plug_local;
type_2 *sharestate;
if (var_1 != (char *)0x0) {
var_2((type_3)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_listen_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 ssh_sharing_state *sharestate;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 plug,char *var_1,int error_code,int calling_back)\n\n{\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 plug_local;\n type_2 *sharestate;\n \n if (var_1 != (cha... | (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:... |
1406_plink_and_plink_strip.c | dummy_plug_log | FUN_0018dd9b | dummy_plug_log |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void dummy_plug_log(Plug p,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 p_local;
return;
}
|
void FUN_0018dd9b(void)
{
return;
}
| (translation_unit "void FUN_0018dd9b(void)\n\n{\n return;\n}\n\n" (function_definition "void FUN_0018dd9b(void)\n\n{\n return;\n}" primitive_type (function_declarator "FUN_0018dd9b(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 p,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 p_local;
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid dummy_plug_log(Plug p,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 p_local;... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 p,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 p_local;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
921_plink_and_plink_strip.c | base64_encode | FUN_00165a36 | base64_encode |
void base64_encode(FILE *fp,uchar *data,int datalen,int cpl)
{
long lVar1;
int n_00;
long in_FS_OFFSET;
int cpl_local;
int datalen_local;
uchar *data_local;
FILE *fp_local;
int linelen;
int i;
int n;
char out [4];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
linelen = 0;
datalen_local = data... |
void FUN_00165a36(FILE *param_1,long param_2,int param_3,int param_4)
{
int iVar1;
long in_FS_OFFSET;
int local_3c;
long local_38;
int local_20;
int local_1c;
char local_14 [4];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_20 = 0;
local_3c = param_3;
local_38 = param_2;
... | (translation_unit "void FUN_00165a36(FILE *param_1,long param_2,int param_3,int param_4)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int local_3c;\n long local_38;\n int local_20;\n int local_1c;\n char local_14 [4];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_20 = 0;\n local_3c = ... | 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 dword ptr [RBP + -0x38],ECX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV dword ptr [RBP + -0x18],0x0
JMP 0x00165aed
MOV EAX,0x3
CMP dword ptr [RBP + -0x34],... |
void function_1(type_1 *fp,type_2 *data,int datalen,int var_7)
{
long var_10;
int var_5;
long var_1;
int cpl_local;
int var_2;
type_2 *var_4;
type_1 *fp_local;
int var_8;
int var_6;
int n;
char out [4];
var_10 = *(long *)(var_1 + 0x28);
var_8 = 0;
var_2 = datalen;
var_4 = data;
whil... | (translation_unit "void base64_encode(FILE *fp,uchar *data,int datalen,int cpl)\n\n{\n long lVar1;\n int n_00;\n long in_FS_OFFSET;\n int cpl_local;\n int datalen_local;\n uchar *data_local;\n FILE *fp_local;\n int linelen;\n int i;\n int n;\n char out [4];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n l... | (translation_unit "void function_1(type_1 *fp,type_2 *data,int datalen,int var_7)\n\n{\n long var_10;\n int var_5;\n long var_1;\n int cpl_local;\n int var_2;\n type_2 *var_4;\n type_1 *fp_local;\n int var_8;\n int var_6;\n int n;\n char out [4];\n \n var_10 = *(long *)(var_1 + 0x28);\n var_8 = 0;\n var_... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointe... |
477_pageant_and_pageant_strip.c | getstring | FUN_0012eed6 | getstring |
void getstring(char **data,int *datalen,char **p,int *length)
{
int iVar1;
int *length_local;
char **p_local;
int *datalen_local;
char **data_local;
*p = (char *)0x0;
if (3 < *datalen) {
iVar1 = toint((uint)(byte)(*data)[3] |
(uint)(byte)**data << 0x18 | (uint)(byte)(*data)[1] <... |
void FUN_0012eed6(long *param_1,int *param_2,long *param_3,int *param_4)
{
int iVar1;
*param_3 = 0;
if (3 < *param_2) {
iVar1 = FUN_0010cf80((uint)*(byte *)(*param_1 + 3) |
(uint)*(byte *)*param_1 << 0x18 | (uint)*(byte *)(*param_1 + 1) << 0x10 |
(uint)*(... | (translation_unit "void FUN_0012eed6(long *param_1,int *param_2,long *param_3,int *param_4)\n\n{\n int iVar1;\n \n *param_3 = 0;\n if (3 < *param_2) {\n iVar1 = FUN_0010cf80((uint)*(byte *)(*param_1 + 3) |\n (uint)*(byte *)*param_1 << 0x18 | (uint)*(byte *)(*param_1 + 1) << 0x10 |\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
MOV qword ptr [RBP + -0x20],RCX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword ptr [RAX]
CMP EAX,0x3
JLE 0x0012efe0
MOV RAX,qword ptr [R... |
void function_1(char **data,int *datalen,char **p,int *length)
{
int iVar1;
int *length_local;
char **p_local;
int *datalen_local;
char **data_local;
*p = (char *)0x0;
if (3 < *datalen) {
iVar1 = var_1((uint)(byte)(*data)[3] |
(uint)(byte)**data << 0x18 | (uint)(byte)(*data)[1] ... | (translation_unit "void getstring(char **data,int *datalen,char **p,int *length)\n\n{\n int iVar1;\n int *length_local;\n char **p_local;\n int *datalen_local;\n char **data_local;\n \n *p = (char *)0x0;\n if (3 < *datalen) {\n iVar1 = toint((uint)(byte)(*data)[3] |\n (uint)(byte)**data << 0... | (translation_unit "void function_1(char **data,int *datalen,char **p,int *length)\n\n{\n int iVar1;\n int *length_local;\n char **p_local;\n int *datalen_local;\n char **data_local;\n \n *p = (char *)0x0;\n if (3 < *datalen) {\n iVar1 = var_1((uint)(byte)(*data)[3] |\n (uint)(byte)**data << ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (parameter_declaration type: (prim... |
1192_plink_and_plink_strip.c | old_keyfile_warning | FUN_001805e0 | old_keyfile_warning |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void old_keyfile_warning(void)
{
long lVar1;
long in_FS_OFFSET;
termios cf;
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
premsg(&cf);
fputs("You are loading an SSH-2 private key which has an\nold version of the file format. This m... |
void FUN_001805e0(void)
{
long in_FS_OFFSET;
undefined local_58 [72];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
FUN_0017fb65(local_58);
fputs("You are loading an SSH-2 private key which has an\nold version of the file format. This means your key\nfile is not fully tamperproof. Future ve... | (translation_unit "void FUN_001805e0(void)\n\n{\n long in_FS_OFFSET;\n undefined local_58 [72];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n FUN_0017fb65(local_58);\n fputs("You are loading an SSH-2 private key which has an\nold version of the file format. This means your key\nfile is not f... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RAX,[RBP + -0x50]
MOV RDI,RAX
CALL 0x0017fb65
MOV RAX,qword ptr [0x001b4ac0]
MOV RSI,RAX
LEA RDI,[0x1a0da0]
CALL 0x00108360
LEA RAX,[RBP + -0x50]
MOV RDI,RAX
CALL 0x0017fba5
NOP
MOV RAX,qword ptr [RBP + -0x8]
XO... |
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
void function_1(void)
{
long var_5;
long var_1;
type_1 cf;
var_5 = *(long *)(var_1 + 0x28);
var_2(&cf);
var_3("You are loading an SSH-2 private key which has an\nold version of the file format. This means your key\nfile is no... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid old_keyfile_warning(void)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n termios cf;\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n premsg(&cf);\n fputs("You are loading an SSH-2 private key which has an\nold versi... | (translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid function_1(void)\n\n{\n long var_5;\n long var_1;\n type_1 cf;\n \n var_5 = *(long *)(var_1 + 0x28);\n var_2(&cf);\n var_3("You are loading an SSH-2 private key which has an\nold version of the file format. Th... | (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: ... |
441_pageant_and_pageant_strip.c | des_decipher | FUN_0012b7f6 | des_decipher |
void des_decipher(word32 *output,word32 L,word32 R,DESContext *sched)
{
uint uVar1;
uint uVar2;
uint uVar3;
uint uVar4;
uint uVar5;
DESContext *sched_local;
word32 R_local;
word32 L_local;
word32 *output_local;
word32 swap;
word32 s0246;
word32 s1357;
uVar2 = (L >> 4 ^ R) & 0xf0f0f0f;
u... |
void FUN_0012b7f6(uint *param_1,uint param_2,uint param_3,uint *param_4)
{
uint uVar1;
uint uVar2;
uint uVar3;
uint uVar4;
uVar1 = (param_2 >> 4 ^ param_3) & 0xf0f0f0f;
param_2 = param_2 ^ uVar1 << 4;
param_3 = param_3 ^ uVar1;
uVar1 = (param_2 >> 0x10 ^ param_3) & 0xffff;
param_2 = param_2 ^ uVa... | (translation_unit "void FUN_0012b7f6(uint *param_1,uint param_2,uint param_3,uint *param_4)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n \n uVar1 = (param_2 >> 4 ^ param_3) & 0xf0f0f0f;\n param_2 = param_2 ^ uVar1 << 4;\n param_3 = param_3 ^ uVar1;\n uVar1 = (param_2 >> 0x10 ^ param_3) & 0xff... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV dword ptr [RBP + -0x20],EDX
MOV qword ptr [RBP + -0x28],RCX
MOV EAX,dword ptr [RBP + -0x1c]
SHR EAX,0x4
XOR EAX,dword ptr [RBP + -0x20]
AND EAX,0xf0f0f0f
MOV dword ptr [RBP + -0xc],EAX
MOV EAX,dword ptr [RBP + -0xc]
SHL EAX,0x4
XOR... |
void function_1(type_1 *output,type_1 var_1,type_1 var_2,type_2 *sched)
{
type_3 var_4;
type_3 var_3;
type_3 var_5;
type_3 var_6;
type_3 var_7;
type_2 *sched_local;
type_1 R_local;
type_1 L_local;
type_1 *output_local;
type_1 swap;
type_1 s0246;
type_1 s1357;
var_3 = (var_1 >> 4 ^ var_2) ... | (translation_unit "void des_decipher(word32 *output,word32 L,word32 R,DESContext *sched)\n\n{\n uint uVar1;\n uint uVar2;\n uint uVar3;\n uint uVar4;\n uint uVar5;\n DESContext *sched_local;\n word32 R_local;\n word32 L_local;\n word32 *output_local;\n word32 swap;\n word32 s0246;\n word32 s1357;\n \n uVa... | (translation_unit "void function_1(type_1 *output,type_1 var_1,type_1 var_2,type_2 *sched)\n\n{\n type_3 var_4;\n type_3 var_3;\n type_3 var_5;\n type_3 var_6;\n type_3 var_7;\n type_2 *sched_local;\n type_1 R_local;\n type_1 L_local;\n type_1 *output_local;\n type_1 swap;\n type_1 s0246;\n type_1 s1357;\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
1225_plink_and_plink_strip.c | fontspec_serialise | FUN_00181881 | fontspec_serialise |
int fontspec_serialise(FontSpec *f,void *data)
{
size_t sVar1;
void *data_local;
FontSpec *f_local;
int len;
sVar1 = strlen(f->name);
if (data != (void *)0x0) {
strcpy((char *)data,f->name);
}
return (int)sVar1 + 1;
}
|
int FUN_00181881(undefined8 *param_1,char *param_2)
{
size_t sVar1;
sVar1 = strlen((char *)*param_1);
if (param_2 != (char *)0x0) {
strcpy(param_2,(char *)*param_1);
}
return (int)sVar1 + 1;
}
| (translation_unit "int FUN_00181881(undefined8 *param_1,char *param_2)\n\n{\n size_t sVar1;\n \n sVar1 = strlen((char *)*param_1);\n if (param_2 != (char *)0x0) {\n strcpy(param_2,(char *)*param_1);\n }\n return (int)sVar1 + 1;\n}\n\n" (function_definition "int FUN_00181881(undefined8 *param_1,char *param_2)\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RDI,RAX
CALL 0x00108260
MOV dword ptr [RBP + -0x4],EAX
CMP qword ptr [RBP + -0x20],0x0
JZ 0x001818c0
MOV RAX,qword ptr [RBP + -0x18]
MOV RDX,qword ptr [RAX]
MOV R... |
int function_1(type_1 *f,void *var_2)
{
size_t sVar1;
void *data_local;
type_1 *f_local;
int len;
sVar1 = var_1(f->name);
if (var_2 != (void *)0x0) {
var_3((char *)var_2,f->name);
}
return (int)sVar1 + 1;
}
| (translation_unit "int fontspec_serialise(FontSpec *f,void *data)\n\n{\n size_t sVar1;\n void *data_local;\n FontSpec *f_local;\n int len;\n \n sVar1 = strlen(f->name);\n if (data != (void *)0x0) {\n strcpy((char *)data,f->name);\n }\n return (int)sVar1 + 1;\n}\n\n" (function_definition "int fontspec_serial... | (translation_unit "int function_1(type_1 *f,void *var_2)\n\n{\n size_t sVar1;\n void *data_local;\n type_1 *f_local;\n int len;\n \n sVar1 = var_1(f->name);\n if (var_2 != (void *)0x0) {\n var_3((char *)var_2,f->name);\n }\n return (int)sVar1 + 1;\n}\n\n" (function_definition "int function_1(type_1 *f,void ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1072_plink_and_plink_strip.c | getstring_inner | FUN_00173ed5 | getstring_inner |
int getstring_inner(void *vdata,int datalen,char **out,int *outlen)
{
int iVar1;
uint uVar2;
char *pcVar3;
int *outlen_local;
char **out_local;
int datalen_local;
void *vdata_local;
int len;
uchar *data;
if (datalen < 4) {
iVar1 = 0;
}
else {
/* WARNING: Load size is... |
undefined8 FUN_00173ed5(byte *param_1,int param_2,undefined8 *param_3,int *param_4)
{
int iVar1;
undefined8 uVar2;
if (param_2 < 4) {
uVar2 = 0;
}
else {
iVar1 = FUN_00110b5d((uint)param_1[3] |
(uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10 | (uint)param_1[2] << 8);
... | (translation_unit "undefined8 FUN_00173ed5(byte *param_1,int param_2,undefined8 *param_3,int *param_4)\n\n{\n int iVar1;\n undefined8 uVar2;\n \n if (param_2 < 4) {\n uVar2 = 0;\n }\n else {\n iVar1 = FUN_00110b5d((uint)param_1[3] |\n (uint)*param_1 << 0x18 | (uint)param_1[1] << 0x10... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV qword ptr [RBP + -0x30],RCX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x1c],0x3
JG 0x00173f04
MOV EAX,0x0
JMP 0x00173fb2
MOV RAX,qword ptr [RBP... |
int function_1(void *var_3,int var_1,char **var_6,int *var_4)
{
int iVar1;
type_1 var_5;
char *pcVar3;
int *outlen_local;
char **out_local;
int datalen_local;
void *vdata_local;
int len;
type_2 *data;
if (var_1 < 4) {
iVar1 = 0;
}
else {
/* WARNING: Load size is inac... | (translation_unit "int getstring_inner(void *vdata,int datalen,char **out,int *outlen)\n\n{\n int iVar1;\n uint uVar2;\n char *pcVar3;\n int *outlen_local;\n char **out_local;\n int datalen_local;\n void *vdata_local;\n int len;\n uchar *data;\n \n if (datalen < 4) {\n iVar1 = 0;\n }\n else {\n ... | (translation_unit "int function_1(void *var_3,int var_1,char **var_6,int *var_4)\n\n{\n int iVar1;\n type_1 var_5;\n char *pcVar3;\n int *outlen_local;\n char **out_local;\n int datalen_local;\n void *vdata_local;\n int len;\n type_2 *data;\n \n if (var_1 < 4) {\n iVar1 = 0;\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: (identifi... |
197_pageant_and_pageant_strip.c | conf_cmp_constkey | FUN_0010a88b | conf_cmp_constkey |
int conf_cmp_constkey(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
key *a;
constkey *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: ... |
int FUN_0010a88b(int *param_1,int *param_2)
{
int iVar1;
if (*param_1 < *param_2) {
iVar1 = -1;
}
else if (*param_2 < *param_1) {
iVar1 = 1;
}
else if (*(int *)(&DAT_00170020 + (long)*param_1 * 4) == 1) {
if (param_1[2] < param_2[2]) {
iVar1 = -1;
}
else if (param_2[2] < param... | (translation_unit "int FUN_0010a88b(int *param_1,int *param_2)\n\n{\n int iVar1;\n \n if (*param_1 < *param_2) {\n iVar1 = -1;\n }\n else if (*param_2 < *param_1) {\n iVar1 = 1;\n }\n else if (*(int *)(&DAT_00170020 + (long)*param_1 * 4) == 1) {\n if (param_1[2] < param_2[2]) {\n iVar1 = -1;\n }... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,... |
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_2 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < *bv) {
iVar1 = -1;
}
else {
/* WARNING: Load s... | (translation_unit "int conf_cmp_constkey(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n key *a;\n constkey *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size is inaccurate */\n if (*av < *bv) {\n iVar1 = -1;\n }\n else {\... | (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_2 *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_... |
823_plink_and_plink_strip.c | ec_point_free | FUN_00159d6f | ec_point_free |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void ec_point_free(ec_point *point)
{
ec_point *point_local;
if (point != (ec_point *)0x0) {
point->curve = (ec_curve *)0x0;
if (point->x != (Bignum)0x0) {
freebn((Bignum_conflict)point->x);
}
if (point->y != (Bignu... |
void FUN_00159d6f(undefined8 *param_1)
{
if (param_1 != (undefined8 *)0x0) {
*param_1 = 0;
if (param_1[1] != 0) {
FUN_00149d91(param_1[1]);
}
if (param_1[2] != 0) {
FUN_00149d91(param_1[2]);
}
if (param_1[3] != 0) {
FUN_00149d91(param_1[3]);
}
*(undefined *)(param_1... | (translation_unit "void FUN_00159d6f(undefined8 *param_1)\n\n{\n if (param_1 != (undefined8 *)0x0) {\n *param_1 = 0;\n if (param_1[1] != 0) {\n FUN_00149d91(param_1[1]);\n }\n if (param_1[2] != 0) {\n FUN_00149d91(param_1[2]);\n }\n if (param_1[3] != 0) {\n FUN_00149d91(param_1[3]);\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
CMP qword ptr [RBP + -0x8],0x0
JZ 0x00159dfa
MOV RAX,qword ptr [RBP + -0x8]
MOV qword ptr [RAX],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x00159daa
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RD... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *var_1)
{
type_1 *point_local;
if (var_1 != (type_1 *)0x0) {
var_1->curve = (type_2 *)0x0;
if (var_1->x != (type_3)0x0) {
var_2((type_4)var_1->x);
}
if (var_1->y != (type_3)0x0) {
var_2(... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid ec_point_free(ec_point *point)\n\n{\n ec_point *point_local;\n \n if (point != (ec_point *)0x0) {\n point->curve = (ec_curve *)0x0;\n if (point->x != (Bignum)0x0) {\n freebn((Bignum_conflict)point->x);\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *var_1)\n\n{\n type_1 *point_local;\n \n if (var_1 != (type_1 *)0x0) {\n var_1->curve = (type_2 *)0x0;\n if (var_1->x != (type_3)0x0) {\n var_2((type_4)var_1->x);\n }\n if (var_1->y ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_ide... |
384_pageant_and_pageant_strip.c | aes_ssh2_encrypt_blk | FUN_0012444c | aes_ssh2_encrypt_blk |
void aes_ssh2_encrypt_blk(void *handle,uchar *blk,int len)
{
int len_local;
uchar *blk_local;
void *handle_local;
AESContext *ctx;
aes_encrypt_cbc(blk,len,(AESContext *)handle);
return;
}
|
void FUN_0012444c(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_00123c37(param_2,param_3,param_1);
return;
}
| (translation_unit "void FUN_0012444c(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00123c37(param_2,param_3,param_1);\n return;\n}\n\n" (function_definition "void FUN_0012444c(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_00123c37(param_2,param_3,param_1);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RDX,qword ptr [RBP + -0x8]
MOV ECX,dword ptr [RBP + -0x24]
MOV RAX,qword ptr [RBP + -0x20]
MOV ESI,ECX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,type_1 *blk,int len)
{
int len_local;
type_1 *blk_local;
void *handle_local;
type_2 *ctx;
var_1(blk,len,(type_2 *)handle);
return;
}
| (translation_unit "void aes_ssh2_encrypt_blk(void *handle,uchar *blk,int len)\n\n{\n int len_local;\n uchar *blk_local;\n void *handle_local;\n AESContext *ctx;\n \n aes_encrypt_cbc(blk,len,(AESContext *)handle);\n return;\n}\n\n" (function_definition "void aes_ssh2_encrypt_blk(void *handle,uchar *blk,int len)\n... | (translation_unit "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n type_2 *ctx;\n \n var_1(blk,len,(type_2 *)handle);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len)\n\n{\n int len_local;\n type_1 *bl... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1358_plink_and_plink_strip.c | serial_get_specials | FUN_0018ab7a | serial_get_specials |
telnet_special * serial_get_specials(void *handle)
{
void *handle_local;
return serial_get_specials::specials;
}
|
undefined ** FUN_0018ab7a(void)
{
return &PTR_s_Break_001b3500;
}
| (translation_unit "undefined ** FUN_0018ab7a(void)\n\n{\n return &PTR_s_Break_001b3500;\n}\n\n" (function_definition "undefined ** FUN_0018ab7a(void)\n\n{\n return &PTR_s_Break_001b3500;\n}" type_identifier (pointer_declarator "** FUN_0018ab7a(void)" * (pointer_declarator "* FUN_0018ab7a(void)" * (function_declarator... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
LEA RAX,[0x1b3500]
POP RBP
RET |
type_1 * function_1(void *handle)
{
void *handle_local;
return function_1::specials;
}
| (translation_unit "telnet_special * serial_get_specials(void *handle)\n\n{\n void *handle_local;\n \n return serial_get_specials::specials;\n}\n\n" (function_definition "telnet_special * serial_get_specials(void *handle)\n\n{\n void *handle_local;\n \n return serial_get_specials::specials;\n}" type_identifier (po... | (translation_unit "type_1 * function_1(void *handle)\n\n{\n void *handle_local;\n \n return function_1::specials;\n}\n\n" (function_definition "type_1 * function_1(void *handle)\n\n{\n void *handle_local;\n \n return function_1::specials;\n}" type_identifier (pointer_declarator "* function_1(void *handle)" * (fun... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
267_pageant_and_pageant_strip.c | conf_launchable | FUN_0010df52 | conf_launchable |
int conf_launchable(Conf *conf)
{
char cVar1;
int iVar2;
char *pcVar3;
Conf *conf_local;
iVar2 = conf_get_int(conf,2);
if (iVar2 == 4) {
pcVar3 = conf_get_str(conf,0x39);
cVar1 = *pcVar3;
}
else {
pcVar3 = conf_get_str(conf,0);
cVar1 = *pcVar3;
}
return (uint)(cVar1 != '\0');
}
... |
bool FUN_0010df52(undefined8 param_1)
{
char cVar1;
int iVar2;
char *pcVar3;
iVar2 = FUN_0010ad88(param_1,2);
if (iVar2 == 4) {
pcVar3 = (char *)FUN_0010af88(param_1,0x39);
cVar1 = *pcVar3;
}
else {
pcVar3 = (char *)FUN_0010af88(param_1,0);
cVar1 = *pcVar3;
}
return cVar1 != '\0';... | (translation_unit "bool FUN_0010df52(undefined8 param_1)\n\n{\n char cVar1;\n int iVar2;\n char *pcVar3;\n \n iVar2 = FUN_0010ad88(param_1,2);\n if (iVar2 == 4) {\n pcVar3 = (char *)FUN_0010af88(param_1,0x39);\n cVar1 = *pcVar3;\n }\n else {\n pcVar3 = (char *)FUN_0010af88(param_1,0);\n cVar1 = *pcV... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x2
MOV RDI,RAX
CALL 0x0010ad88
CMP EAX,0x4
JNZ 0x0010df92
MOV RAX,qword ptr [RBP + -0x8]
MOV ESI,0x39
MOV RDI,RAX
CALL 0x0010af88
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
SETNZ AL
MOVZX EAX,AL
JMP 0x0010dfae
MOV RAX,qwor... |
int function_1(type_1 *conf)
{
char var_4;
int var_2;
char *pcVar3;
type_1 *conf_local;
var_2 = var_1(conf,2);
if (var_2 == 4) {
pcVar3 = var_3(conf,0x39);
var_4 = *pcVar3;
}
else {
pcVar3 = var_3(conf,0);
var_4 = *pcVar3;
}
return (uint)(var_4 != '\0');
}
| (translation_unit "int conf_launchable(Conf *conf)\n\n{\n char cVar1;\n int iVar2;\n char *pcVar3;\n Conf *conf_local;\n \n iVar2 = conf_get_int(conf,2);\n if (iVar2 == 4) {\n pcVar3 = conf_get_str(conf,0x39);\n cVar1 = *pcVar3;\n }\n else {\n pcVar3 = conf_get_str(conf,0);\n cVar1 = *pcVar3;\n }\... | (translation_unit "int function_1(type_1 *conf)\n\n{\n char var_4;\n int var_2;\n char *pcVar3;\n type_1 *conf_local;\n \n var_2 = var_1(conf,2);\n if (var_2 == 4) {\n pcVar3 = var_3(conf,0x39);\n var_4 = *pcVar3;\n }\n else {\n pcVar3 = var_3(conf,0);\n var_4 = *pcVar3;\n }\n return (uint)(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))))) body: (compound_statement (declaration type: (primitive_type) de... |
1412_plink_and_plink_strip.c | x11_free_fake_auth | FUN_0018e0ee | x11_free_fake_auth |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_free_fake_auth(X11FakeAuth *auth)
{
void *ptr;
X11FakeAuth *auth_local;
XDMSeen *seen;
if (auth->data != (uchar *)0x0) {
smemclr(auth->data,(long)auth->datalen);
}
safefree(auth->data);
safefree(auth->protoname);
... |
void FUN_0018e0ee(long param_1)
{
long lVar1;
if (*(long *)(param_1 + 8) != 0) {
FUN_00111bd5(*(undefined8 *)(param_1 + 8),(long)*(int *)(param_1 + 0x10));
}
FUN_00111b0d(*(undefined8 *)(param_1 + 8));
FUN_00111b0d(*(undefined8 *)(param_1 + 0x18));
FUN_00111b0d(*(undefined8 *)(param_1 + 0x20));
F... | (translation_unit "void FUN_0018e0ee(long param_1)\n\n{\n long lVar1;\n \n if (*(long *)(param_1 + 8) != 0) {\n FUN_00111bd5(*(undefined8 *)(param_1 + 8),(long)*(int *)(param_1 + 0x10));\n }\n FUN_00111b0d(*(undefined8 *)(param_1 + 8));\n FUN_00111b0d(*(undefined8 *)(param_1 + 0x18));\n FUN_00111b0d(*(undefin... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
TEST RAX,RAX
JZ 0x0018e124
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX + 0x10]
MOVSXD RDX,EAX
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX + 0x8]
MOV RSI,RDX
MOV RDI,RAX
C... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 *auth)
{
void *var_4;
type_1 *auth_local;
type_2 *seen;
if (auth->data != (type_3 *)0x0) {
var_1(auth->data,(long)auth->datalen);
}
var_2(auth->data);
var_2(auth->protoname);
var_2(auth->datastring)... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_free_fake_auth(X11FakeAuth *auth)\n\n{\n void *ptr;\n X11FakeAuth *auth_local;\n XDMSeen *seen;\n \n if (auth->data != (uchar *)0x0) {\n smemclr(auth->data,(long)auth->datalen);\n }\n safefree(auth->data);\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 *auth)\n\n{\n void *var_4;\n type_1 *auth_local;\n type_2 *seen;\n \n if (auth->data != (type_3 *)0x0) {\n var_1(auth->data,(long)auth->datalen);\n }\n var_2(auth->data);\n var_2(auth->proton... | (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... |
1413_plink_and_plink_strip.c | x11_authcmp | FUN_0018e1be | x11_authcmp |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int x11_authcmp(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
X11FakeAuth *a;
X11FakeAuth *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
... |
int FUN_0018e1be(int *param_1,int *param_2)
{
int iVar1;
if (*param_1 < *param_2) {
iVar1 = -1;
}
else if (*param_2 < *param_1) {
iVar1 = 1;
}
else if (*param_1 == 1) {
if (param_1[4] < param_2[4]) {
iVar1 = -1;
}
else if (param_2[4] < param_1[4]) {
iVar1 = 1;
}
... | (translation_unit "int FUN_0018e1be(int *param_1,int *param_2)\n\n{\n int iVar1;\n \n if (*param_1 < *param_2) {\n iVar1 = -1;\n }\n else if (*param_2 < *param_1) {\n iVar1 = 1;\n }\n else if (*param_1 == 1) {\n if (param_1[4] < param_2[4]) {\n iVar1 = -1;\n }\n else if (param_2[4] < param_1[... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV EDX,dword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
type_1 *a;
type_1 *b;
/* WARNING: Load size is inaccurate */
/* WARNING: Load size is inaccurate */
if (*av < ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint x11_authcmp(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n X11FakeAuth *a;\n X11FakeAuth *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n type_1 *a;\n type_1 *b;\n \n /* WARNING: Load size is inaccurate */\n /* WARNING: Load size... | (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:... |
365_pageant_and_pageant_strip.c | get_sesslist | FUN_0011dd3f | get_sesslist |
void get_sesslist(sesslist *list,int allocate)
{
long lVar1;
int iVar2;
void *handle_00;
char *pcVar3;
size_t sVar4;
char *pcVar5;
char **ppcVar6;
long in_FS_OFFSET;
int allocate_local;
sesslist *list_local;
int buflen;
int bufsize;
int i;
int len;
char *p;
void *handle;
char *ret;
... |
void FUN_0011dd3f(int *param_1,int param_2)
{
int iVar1;
long lVar2;
long lVar3;
size_t sVar4;
undefined8 uVar5;
long in_FS_OFFSET;
int local_840;
int local_83c;
int local_838;
char *local_830;
char local_818 [2056];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if (param_2 ... | (translation_unit "void FUN_0011dd3f(int *param_1,int param_2)\n\n{\n int iVar1;\n long lVar2;\n long lVar3;\n size_t sVar4;\n undefined8 uVar5;\n long in_FS_OFFSET;\n int local_840;\n int local_83c;\n int local_838;\n char *local_830;\n char local_818 [2056];\n long local_10;\n \n local_10 = *(long *)(in... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x850
MOV qword ptr [RBP + -0x848],RDI
MOV dword ptr [RBP + -0x84c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
CMP dword ptr [RBP + -0x84c],0x0
JZ 0x0011e09c
MOV dword ptr [RBP + -0x834],0x0
MOV EAX,dword ptr [RBP + -0x834]
MOV dword ptr [RBP + -0x838],EAX
MO... |
void function_1(type_1 *list,int var_2)
{
long var_20;
int var_10;
void *var_5;
char *var_7;
size_t sVar4;
char *pcVar5;
char **ppcVar6;
long var_1;
int allocate_local;
type_1 *list_local;
int var_11;
int var_9;
int var_18;
int len;
char *var_15;
void *handle;
char *ret;
char other... | (translation_unit "void get_sesslist(sesslist *list,int allocate)\n\n{\n long lVar1;\n int iVar2;\n void *handle_00;\n char *pcVar3;\n size_t sVar4;\n char *pcVar5;\n char **ppcVar6;\n long in_FS_OFFSET;\n int allocate_local;\n sesslist *list_local;\n int buflen;\n int bufsize;\n int i;\n int len;\n char... | (translation_unit "void function_1(type_1 *list,int var_2)\n\n{\n long var_20;\n int var_10;\n void *var_5;\n char *var_7;\n size_t sVar4;\n char *pcVar5;\n char **ppcVar6;\n long var_1;\n int allocate_local;\n type_1 *list_local;\n int var_11;\n int var_9;\n int var_18;\n int len;\n char *var_15;\n voi... | (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... |
1431_plink_and_plink_strip.c | x11_identify_auth_proto | FUN_0019028e | x11_identify_auth_proto |
int x11_identify_auth_proto(char *protoname)
{
int iVar1;
char *protoname_local;
int protocol;
protocol = 1;
while( true ) {
if (2 < (uint)protocol) {
return -1;
}
iVar1 = strcmp(protoname,*(char **)(x11_authnames + (long)protocol * 8));
if (iVar1 == 0) break;
protocol = protoco... |
uint FUN_0019028e(char *param_1)
{
int iVar1;
uint local_c;
local_c = 1;
while( true ) {
if (2 < local_c) {
return 0xffffffff;
}
iVar1 = strcmp(param_1,(&PTR_DAT_001b3520)[(int)local_c]);
if (iVar1 == 0) break;
local_c = local_c + 1;
}
return local_c;
}
| (translation_unit "uint FUN_0019028e(char *param_1)\n\n{\n int iVar1;\n uint local_c;\n \n local_c = 1;\n while( true ) {\n if (2 < local_c) {\n return 0xffffffff;\n }\n iVar1 = strcmp(param_1,(&PTR_DAT_001b3520)[(int)local_c]);\n if (iVar1 == 0) break;\n local_c = local_c + 1;\n }\n return l... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x4],0x1
JMP 0x001902d7
MOV EAX,dword ptr [RBP + -0x4]
CDQE
LEA RDX,[RAX*0x8]
LEA RAX,[0x1b3520]
MOV RDX,qword ptr [RDX + RAX*0x1]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00108490
TEST EAX,EAX
JNZ 0x001902d3
M... |
int function_1(char *protoname)
{
int var_3;
char *protoname_local;
int var_4;
var_4 = 1;
while( true ) {
if (2 < (type_1)var_4) {
return -1;
}
var_3 = var_1(protoname,*(char **)(var_2 + (long)var_4 * 8));
if (var_3 == 0) break;
var_4 = var_4 + 1;
}
return var_4;
}
| (translation_unit "int x11_identify_auth_proto(char *protoname)\n\n{\n int iVar1;\n char *protoname_local;\n int protocol;\n \n protocol = 1;\n while( true ) {\n if (2 < (uint)protocol) {\n return -1;\n }\n iVar1 = strcmp(protoname,*(char **)(x11_authnames + (long)protocol * 8));\n if (iVar1 == 0... | (translation_unit "int function_1(char *protoname)\n\n{\n int var_3;\n char *protoname_local;\n int var_4;\n \n var_4 = 1;\n while( true ) {\n if (2 < (type_1)var_4) {\n return -1;\n }\n var_3 = var_1(protoname,*(char **)(var_2 + (long)var_4 * 8));\n if (var_3 == 0) break;\n var_4 = var_4 + 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))))) body: (compound_statement (declaration type: (primitive_type) dec... |
1061_plink_and_plink_strip.c | share_find_xchannel_by_upstream | FUN_00172d36 | share_find_xchannel_by_upstream |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
share_xchannel * share_find_xchannel_by_upstream(ssh_sharing_connstate *cs,uint upstream_id)
{
long lVar1;
share_xchannel *psVar2;
long in_FS_OFFSET;
uint upstream_id_local;
ssh_sharing_connstate *cs_local;
share_xchannel dummyxc;
... |
void FUN_00172d36(long param_1,undefined4 param_2)
{
long in_FS_OFFSET;
undefined4 local_38 [10];
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_38[0] = param_2;
FUN_0017e3c4(*(undefined8 *)(param_1 + 0x4060),local_38,0);
if (local_10 != *(long *)(in_FS_OFFSET + 0x28)) {
... | (translation_unit "void FUN_00172d36(long param_1,undefined4 param_2)\n\n{\n long in_FS_OFFSET;\n undefined4 local_38 [10];\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_38[0] = param_2;\n FUN_0017e3c4(*(undefined8 *)(param_1 + 0x4060),local_38,0);\n if (local_10 != *(long *)(in_FS_OF... | 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 + -0x30],EAX
MOV RAX,qword ptr [RBP + -0x38]
MOV RAX,qword ptr [RAX + 0x4060]
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 upstream_id)
{
long var_3;
type_1 *psVar2;
long var_1;
type_3 upstream_id_local;
type_2 *cs_local;
type_1 dummyxc;
var_3 = *(long *)(var_1 + 0x28);
dummyxc.upstream_id = upstream_id;
ps... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nshare_xchannel * share_find_xchannel_by_upstream(ssh_sharing_connstate *cs,uint upstream_id)\n\n{\n long lVar1;\n share_xchannel *psVar2;\n long in_FS_OFFSET;\n uint upstream_id_local;\n ssh_sharing_connstate *cs_local;\... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *cs,type_3 upstream_id)\n\n{\n long var_3;\n type_1 *psVar2;\n long var_1;\n type_3 upstream_id_local;\n type_2 *cs_local;\n type_1 dummyxc;\n \n var_3 = *(long *)(var_1 + 0x28);\n dummyxc.... | (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 ... |
189_pageant_and_pageant_strip.c | toplevel_callback_pending | FUN_00108268 | toplevel_callback_pending |
/* WARNING: Unknown calling convention */
int toplevel_callback_pending(void)
{
int iVar1;
if ((cbcurr == (callback *)0x0) && (cbhead == (callback *)0x0)) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
|
undefined8 FUN_00108268(void)
{
undefined8 uVar1;
if ((DAT_001706d8 == 0) && (DAT_001706e0 == 0)) {
uVar1 = 0;
}
else {
uVar1 = 1;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00108268(void)\n\n{\n undefined8 uVar1;\n \n if ((DAT_001706d8 == 0) && (DAT_001706e0 == 0)) {\n uVar1 = 0;\n }\n else {\n uVar1 = 1;\n }\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_00108268(void)\n\n{\n undefined8 uVar1;\n \n if ((DAT_001706d8 == 0) &&... | PUSH RBP
MOV RBP,RSP
MOV RAX,qword ptr [0x001706d8]
TEST RAX,RAX
JNZ 0x00108284
MOV RAX,qword ptr [0x001706e0]
TEST RAX,RAX
JZ 0x0010828b
MOV EAX,0x1
JMP 0x00108290
MOV EAX,0x0
POP RBP
RET |
/* WARNING: Unknown calling convention */
int function_1(void)
{
int iVar1;
if ((var_1 == (type_1 *)0x0) && (var_2 == (type_1 *)0x0)) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nint toplevel_callback_pending(void)\n\n{\n int iVar1;\n \n if ((cbcurr == (callback *)0x0) && (cbhead == (callback *)0x0)) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" comment (function_definition "int toplevel_callback... | (translation_unit "/* WARNING: Unknown calling convention */\n\nint function_1(void)\n\n{\n int iVar1;\n \n if ((var_1 == (type_1 *)0x0) && (var_2 == (type_1 *)0x0)) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" comment (function_definition "int function_1(void)\n\n{\n int iVar1;\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: (identifier)) (if_statement condition: ... |
1077_plink_and_plink_strip.c | share_xchannel_confirmation | FUN_001742b0 | share_xchannel_confirmation |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void share_xchannel_confirmation
(ssh_sharing_connstate *cs,share_xchannel *xc,share_channel *chan,
uint downstream_window)
{
long lVar1;
share_xchannel_message *ptr;
long in_FS_OFFSET;
uint downstream_wind... |
void FUN_001742b0(long param_1,long param_2,undefined4 *param_3,int param_4)
{
undefined8 *puVar1;
long in_FS_OFFSET;
undefined local_18;
undefined local_17;
undefined local_16;
undefined local_15;
undefined local_14;
undefined local_13;
undefined local_12;
char local_11;
long local_10;
loc... | (translation_unit "void FUN_001742b0(long param_1,long param_2,undefined4 *param_3,int param_4)\n\n{\n undefined8 *puVar1;\n long in_FS_OFFSET;\n undefined local_18;\n undefined local_17;\n undefined local_16;\n undefined local_15;\n undefined local_14;\n undefined local_13;\n undefined local_12;\n char local... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV qword ptr [RBP + -0x38],RDX
MOV dword ptr [RBP + -0x3c],ECX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
JMP 0x00174392
MOV RAX,qword ptr [RBP + -0x30]
MOV RAX,qword ptr [RAX + 0x10]
MOV qword... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1
(type_1 *cs,type_2 *xc,type_3 *chan,
type_4 var_4)
{
long var_6;
type_5 *ptr;
long var_1;
type_4 downstream_window_local;
type_3 *chan_local;
type_2 *xc_local;
type_1 *cs_local;
type... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid share_xchannel_confirmation\n (ssh_sharing_connstate *cs,share_xchannel *xc,share_channel *chan,\n uint downstream_window)\n\n{\n long lVar1;\n share_xchannel_message *ptr;\n long in_FS_OFF... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1\n (type_1 *cs,type_2 *xc,type_3 *chan,\n type_4 var_4)\n\n{\n long var_6;\n type_5 *ptr;\n long var_1;\n type_4 downstream_window_local;\n type_3 *chan_local;\n type_2 *xc_loc... | (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... |
1073_plink_and_plink_strip.c | getstring | FUN_00173fb4 | getstring |
char * getstring(void *data,int datalen)
{
int iVar1;
long in_FS_OFFSET;
int datalen_local;
void *data_local;
char *ret;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = getstring_inner(data,datalen,&ret,(int *)0x0);
if (iVar1 == 0) {
ret = (char *)0x0;
}
if (local_10 == ... |
undefined8 FUN_00173fb4(undefined8 param_1,undefined4 param_2)
{
int iVar1;
long in_FS_OFFSET;
undefined8 local_18;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
iVar1 = FUN_00173ed5(param_1,param_2,&local_18,0);
if (iVar1 == 0) {
local_18 = 0;
}
if (local_10 == *(long *)(in_FS_OF... | (translation_unit "undefined8 FUN_00173fb4(undefined8 param_1,undefined4 param_2)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n undefined8 local_18;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = FUN_00173ed5(param_1,param_2,&local_18,0);\n if (iVar1 == 0) {\n local_18 = 0;\n }\n if ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
LEA RDX,[RBP + -0x10]
MOV ESI,dword ptr [RBP + -0x1c]
MOV RAX,qword ptr [RBP + -0x18]
MOV ECX,0x0
MOV RDI,RAX
CALL 0x00173ed5
TEST EAX,EAX
JZ 0x00173ff... |
char * function_1(void *data,int datalen)
{
int var_3;
long var_1;
int datalen_local;
void *data_local;
char *ret;
long var_4;
var_4 = *(long *)(var_1 + 0x28);
var_3 = var_2(data,datalen,&ret,(int *)0x0);
if (var_3 == 0) {
ret = (char *)0x0;
}
if (var_4 == *(long *)(var_1 + 0x28)) {
r... | (translation_unit "char * getstring(void *data,int datalen)\n\n{\n int iVar1;\n long in_FS_OFFSET;\n int datalen_local;\n void *data_local;\n char *ret;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n iVar1 = getstring_inner(data,datalen,&ret,(int *)0x0);\n if (iVar1 == 0) {\n ret = (cha... | (translation_unit "char * function_1(void *data,int datalen)\n\n{\n int var_3;\n long var_1;\n int datalen_local;\n void *data_local;\n char *ret;\n long var_4;\n \n var_4 = *(long *)(var_1 + 0x28);\n var_3 = var_2(data,datalen,&ret,(int *)0x0);\n if (var_3 == 0) {\n ret = (char *)0x0;\n }\n if (var_4 ==... | (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... |
1124_plink_and_plink_strip.c | process_subneg | FUN_0017ad73 | process_subneg |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void process_subneg(Telnet telnet)
{
uchar uVar1;
int iVar2;
size_t sVar3;
char *pcVar4;
size_t sVar5;
long in_FS_OFFSET;
Telnet telnet_local;
int var;
int value;
int n;
int bsize;
char *ekey;
uchar *p;
char *e;
ch... |
void FUN_0017ad73(long param_1)
{
char cVar1;
undefined4 uVar2;
int iVar3;
size_t sVar4;
undefined8 uVar5;
size_t sVar6;
long in_FS_OFFSET;
undefined local_90;
undefined local_8c;
int local_88;
int local_84;
char *local_80;
char *local_78;
char *local_70;
char *local_68;
char *local_60... | (translation_unit "void FUN_0017ad73(long param_1)\n\n{\n char cVar1;\n undefined4 uVar2;\n int iVar3;\n size_t sVar4;\n undefined8 uVar5;\n size_t sVar6;\n long in_FS_OFFSET;\n undefined local_90;\n undefined local_8c;\n int local_88;\n int local_84;\n char *local_80;\n char *local_78;\n char *local_70;\... | PUSH RBP
MOV RBP,RSP
PUSH RBX
SUB RSP,0x98
MOV qword ptr [RBP + -0x98],RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x18],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x98]
MOV EAX,dword ptr [RAX + 0x6c]
CMP EAX,0x20
JZ 0x0017adce
CMP EAX,0x20
JG 0x0017adb7
CMP EAX,0x18
JZ 0x0017af72
JMP 0x0017b7db
CMP EAX,0x24
J... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 telnet)
{
type_2 uVar1;
int var_2;
size_t var_6;
char *pcVar4;
size_t sVar5;
long var_1;
type_1 telnet_local;
int var;
int value;
int var_12;
int var_19;
char *ekey;
type_2 *var_13;
char *var_2... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid process_subneg(Telnet telnet)\n\n{\n uchar uVar1;\n int iVar2;\n size_t sVar3;\n char *pcVar4;\n size_t sVar5;\n long in_FS_OFFSET;\n Telnet telnet_local;\n int var;\n int value;\n int n;\n int bsize;\n char ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 telnet)\n\n{\n type_2 uVar1;\n int var_2;\n size_t var_6;\n char *pcVar4;\n size_t sVar5;\n long var_1;\n type_1 telnet_local;\n int var;\n int value;\n int var_12;\n int var_19;\n char *eke... | (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)... |
1242_plink_and_plink_strip.c | sk_address_is_special_local | FUN_001822e5 | sk_address_is_special_local |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_address_is_special_local(SockAddr addr)
{
SockAddr addr_local;
return (int)(addr->superfamily == ABOUT_TO);
}
|
bool FUN_001822e5(long param_1)
{
return *(int *)(param_1 + 0x10) == 1;
}
| (translation_unit "bool FUN_001822e5(long param_1)\n\n{\n return *(int *)(param_1 + 0x10) == 1;\n}\n\n" (function_definition "bool FUN_001822e5(long param_1)\n\n{\n return *(int *)(param_1 + 0x10) == 1;\n}" primitive_type (function_declarator "FUN_001822e5(long param_1)" identifier (parameter_list "(long param_1)" ( ... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x10]
CMP EAX,0x1
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 addr)
{
type_1 addr_local;
return (int)(addr->superfamily == var_1);
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_address_is_special_local(SockAddr addr)\n\n{\n SockAddr addr_local;\n \n return (int)(addr->superfamily == ABOUT_TO);\n}\n\n" comment (function_definition "int sk_address_is_special_local(SockAddr addr)\n\n{\n Sock... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 addr)\n\n{\n type_1 addr_local;\n \n return (int)(addr->superfamily == var_1);\n}\n\n" comment (function_definition "int function_1(type_1 addr)\n\n{\n type_1 addr_local;\n \n return (int)(addr->su... | (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)... |
873_plink_and_plink_strip.c | ec_ed_alg_and_curve_by_bits | FUN_0016054c | ec_ed_alg_and_curve_by_bits |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int ec_ed_alg_and_curve_by_bits(int bits,ec_curve **curve,ssh_signkey **alg)
{
ec_curve *peVar1;
ssh_signkey **alg_local;
ec_curve **curve_local;
int bits_local;
if (bits == 0x100) {
*alg = &ssh_ecdsa_ed25519;
... |
bool FUN_0016054c(int param_1,undefined8 *param_2,long *param_3)
{
undefined8 uVar1;
if (param_1 == 0x100) {
*param_3 = (long)&PTR_FUN_001b2a60;
uVar1 = (*(code *)**(undefined8 **)(*param_3 + 0x70))();
*param_2 = uVar1;
}
return param_1 == 0x100;
}
| (translation_unit "bool FUN_0016054c(int param_1,undefined8 *param_2,long *param_3)\n\n{\n undefined8 uVar1;\n \n if (param_1 == 0x100) {\n *param_3 = (long)&PTR_FUN_001b2a60;\n uVar1 = (*(code *)**(undefined8 **)(*param_3 + 0x70))();\n *param_2 = uVar1;\n }\n return param_1 == 0x100;\n}\n\n" (function_de... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV dword ptr [RBP + -0x4],EDI
MOV qword ptr [RBP + -0x10],RSI
MOV qword ptr [RBP + -0x18],RDX
CMP dword ptr [RBP + -0x4],0x100
JNZ 0x00160598
MOV RAX,qword ptr [RBP + -0x18]
LEA RDX,[0x1b2a60]
MOV qword ptr [RAX],RDX
NOP
MOV RAX,qword ptr [RBP + -0x18]
MOV RAX,qword ptr [RAX]
MOV RAX,... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(int var_1,type_1 **curve,type_2 **alg)
{
type_1 *peVar1;
type_2 **alg_local;
type_1 **curve_local;
int bits_local;
if (var_1 == 0x100) {
*alg = &ssh_ecdsa_ed25519;
/* WARNING: Load size is ina... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint ec_ed_alg_and_curve_by_bits(int bits,ec_curve **curve,ssh_signkey **alg)\n\n{\n ec_curve *peVar1;\n ssh_signkey **alg_local;\n ec_curve **curve_local;\n int bits_local;\n \n if (bits == 0x100) {\n *alg = &ssh_ecd... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(int var_1,type_1 **curve,type_2 **alg)\n\n{\n type_1 *peVar1;\n type_2 **alg_local;\n type_1 **curve_local;\n int bits_local;\n \n if (var_1 == 0x100) {\n *alg = &ssh_ecdsa_ed25519;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator:... |
489_pageant_and_pageant_strip.c | dss_pubkey_bits | FUN_0013089d | dss_pubkey_bits |
int dss_pubkey_bits(ssh_signkey *self,void *blob,int len)
{
int iVar1;
undefined8 *key;
int len_local;
void *blob_local;
ssh_signkey *self_local;
int ret;
dss_key *dss;
key = (undefined8 *)dss_newkey(self,(char *)blob,len);
if (key == (undefined8 *)0x0) {
iVar1 = -1;
}
else {
iVar1 = ... |
undefined4 FUN_0013089d(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
undefined4 uVar1;
undefined8 *puVar2;
puVar2 = (undefined8 *)FUN_0012f0d2(param_1,param_2,param_3);
if (puVar2 == (undefined8 *)0x0) {
uVar1 = 0xffffffff;
}
else {
uVar1 = FUN_00128595(*puVar2);
FUN_0012f280... | (translation_unit "undefined4 FUN_0013089d(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n undefined8 *puVar2;\n \n puVar2 = (undefined8 *)FUN_0012f0d2(param_1,param_2,param_3);\n if (puVar2 == (undefined8 *)0x0) {\n uVar1 = 0xffffffff;\n }\n else {\n uVar1 = FUN_001285... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV EDX,dword ptr [RBP + -0x24]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x18]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0012f0d2
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0... |
int function_1(type_1 *self,void *blob,int len)
{
int iVar1;
type_2 *var_2;
int len_local;
void *blob_local;
type_1 *self_local;
int ret;
type_3 *dss;
var_2 = (type_2 *)var_1(self,(char *)blob,len);
if (var_2 == (type_2 *)0x0) {
iVar1 = -1;
}
else {
iVar1 = var_3((Bignum_conflict)*var... | (translation_unit "int dss_pubkey_bits(ssh_signkey *self,void *blob,int len)\n\n{\n int iVar1;\n undefined8 *key;\n int len_local;\n void *blob_local;\n ssh_signkey *self_local;\n int ret;\n dss_key *dss;\n \n key = (undefined8 *)dss_newkey(self,(char *)blob,len);\n if (key == (undefined8 *)0x0) {\n iVar1 ... | (translation_unit "int function_1(type_1 *self,void *blob,int len)\n\n{\n int iVar1;\n type_2 *var_2;\n int len_local;\n void *blob_local;\n type_1 *self_local;\n int ret;\n type_3 *dss;\n \n var_2 = (type_2 *)var_1(self,(char *)blob,len);\n if (var_2 == (type_2 *)0x0) {\n iVar1 = -1;\n }\n else {\n i... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer... |
1249_plink_and_plink_strip.c | sk_tcp_accept | FUN_001824f3 | sk_tcp_accept |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Socket sk_tcp_accept(accept_ctx_t ctx,Plug plug)
{
Actual_Socket_conflict s;
int *piVar1;
char *pcVar2;
Plug plug_local;
accept_ctx_t ctx_local;
int sockfd;
Actual_Socket_conflict ret;
ctx_local.i = ctx.i;
s = (Actual_Socke... |
undefined8 * FUN_001824f3(undefined4 param_1,undefined8 param_2)
{
undefined8 *puVar1;
int *piVar2;
char *pcVar3;
puVar1 = (undefined8 *)FUN_00111901(1,0xa0);
*puVar1 = &PTR_FUN_001b49a0;
puVar1[1] = 0;
puVar1[3] = param_2;
FUN_0011143d(puVar1 + 4);
*(undefined4 *)((long)puVar1 + 0x3c) = 1;
*(u... | (translation_unit "undefined8 * FUN_001824f3(undefined4 param_1,undefined8 param_2)\n\n{\n undefined8 *puVar1;\n int *piVar2;\n char *pcVar3;\n \n puVar1 = (undefined8 *)FUN_00111901(1,0xa0);\n *puVar1 = &PTR_FUN_001b49a0;\n puVar1[1] = 0;\n puVar1[3] = param_2;\n FUN_0011143d(puVar1 + 4);\n *(undefined4 *)((... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV EAX,dword ptr [RBP + -0x18]
MOV dword ptr [RBP + -0xc],EAX
MOV ESI,0xa0
MOV EDI,0x1
CALL 0x00111901
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
LEA RDX,[0x1b49a0]
MOV qword ptr [RAX],RDX
MOV RAX,qword... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(type_2 ctx,type_3 plug)
{
type_4 s;
int *piVar1;
char *pcVar2;
type_3 plug_local;
type_2 ctx_local;
int sockfd;
type_4 ret;
ctx_local.i = ctx.i;
s = (type_4)var_1(1,0xa0);
s->fn = &tcp_fn_table;
s->err... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSocket sk_tcp_accept(accept_ctx_t ctx,Plug plug)\n\n{\n Actual_Socket_conflict s;\n int *piVar1;\n char *pcVar2;\n Plug plug_local;\n accept_ctx_t ctx_local;\n int sockfd;\n Actual_Socket_conflict ret;\n \n ctx_local... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(type_2 ctx,type_3 plug)\n\n{\n type_4 s;\n int *piVar1;\n char *pcVar2;\n type_3 plug_local;\n type_2 ctx_local;\n int sockfd;\n type_4 ret;\n \n ctx_local.i = ctx.i;\n s = (type_4)var_1(1,0xa0);\n... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compou... |
1126_plink_and_plink_strip.c | telnet_log | FUN_0017bc53 | telnet_log |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void telnet_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;
Telnet telnet;
bac... |
void FUN_0017bc53(long param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4,
undefined8 param_5,undefined4 param_6)
{
FUN_001089dc(*(undefined8 *)(param_1 + 0x18),param_2,param_3,param_4,param_5,param_6,
*(undefined8 *)(param_1 + 0x90),*(undefined4 *)(param_1 + 0x84));
... | (translation_unit "void FUN_0017bc53(long param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4,\n undefined8 param_5,undefined4 param_6)\n\n{\n FUN_001089dc(*(undefined8 *)(param_1 + 0x18),param_2,param_3,param_4,param_5,param_6,\n *(undefined8 *)(param_1 + 0x90),*(undefined4 ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x20],ECX
MOV qword ptr [RBP + -0x30],R8
MOV dword ptr [RBP + -0x34],R9D
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
M... |
/* 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;
type_3 telnet;
var... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid telnet_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 plug_loca... | (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... |
1017_plink_and_plink_strip.c | SHA_Final | FUN_001714e0 | SHA_Final |
int SHA_Final(SHA_State *s,uchar *output)
{
int iVar1;
uint32 uVar2;
long lVar3;
int iVar4;
long in_FS_OFFSET;
uchar *output_local;
SHA_State *s_local;
int i;
int pad;
uint32 lenhi;
uint32 lenlo;
uchar c [64];
lVar3 = *(long *)(in_FS_OFFSET + 0x28);
if (s->blkused < 0x38) {
pad = 0x... |
void FUN_001714e0(long param_1,long param_2)
{
int iVar1;
undefined4 uVar2;
int iVar3;
long in_FS_OFFSET;
int local_68;
int local_64;
undefined local_58;
undefined local_57;
undefined local_56;
byte local_55;
undefined local_54;
undefined local_53;
undefined local_52;
undefined local_51;
... | (translation_unit "void FUN_001714e0(long param_1,long param_2)\n\n{\n int iVar1;\n undefined4 uVar2;\n int iVar3;\n long in_FS_OFFSET;\n int local_68;\n int local_64;\n undefined local_58;\n undefined local_57;\n undefined local_56;\n byte local_55;\n undefined local_54;\n undefined local_53;\n undefined ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x68]
MOV EAX,dword ptr [RAX + 0x54]
CMP EAX,0x37
JLE 0x00171520
MOV RAX,qword ptr [RBP + -0x68]
MOV EAX,dword ptr [RAX + 0x5... |
int function_1(type_1 *s,type_2 *output)
{
int iVar1;
type_3 var_4;
long var_6;
int iVar4;
long var_1;
type_2 *output_local;
type_1 *s_local;
int var_5;
int pad;
type_3 lenhi;
type_3 lenlo;
type_2 c [64];
var_6 = *(long *)(var_1 + 0x28);
if (s->blkused < 0x38) {
pad = 0x38 - s->blku... | (translation_unit "int SHA_Final(SHA_State *s,uchar *output)\n\n{\n int iVar1;\n uint32 uVar2;\n long lVar3;\n int iVar4;\n long in_FS_OFFSET;\n uchar *output_local;\n SHA_State *s_local;\n int i;\n int pad;\n uint32 lenhi;\n uint32 lenlo;\n uchar c [64];\n \n lVar3 = *(long *)(in_FS_OFFSET + 0x28);\n if... | (translation_unit "int function_1(type_1 *s,type_2 *output)\n\n{\n int iVar1;\n type_3 var_4;\n long var_6;\n int iVar4;\n long var_1;\n type_2 *output_local;\n type_1 *s_local;\n int var_5;\n int pad;\n type_3 lenhi;\n type_3 lenlo;\n type_2 c [64];\n \n var_6 = *(long *)(var_1 + 0x28);\n if (s->blkused... | (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... |
1022_plink_and_plink_strip.c | sha1_bytes | FUN_00171837 | sha1_bytes |
void sha1_bytes(void *handle,void *p,int len)
{
int len_local;
void *p_local;
void *handle_local;
SHA_State *s;
SHA_Bytes((SHA_State *)handle,p,len);
return;
}
|
void FUN_00171837(undefined8 param_1,undefined8 param_2,undefined4 param_3)
{
FUN_001712c0(param_1,param_2,param_3);
return;
}
| (translation_unit "void FUN_00171837(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001712c0(param_1,param_2,param_3);\n return;\n}\n\n" (function_definition "void FUN_00171837(undefined8 param_1,undefined8 param_2,undefined4 param_3)\n\n{\n FUN_001712c0(param_1,param_2,param_3);\n return;\n}"... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV EDX,dword ptr [RBP + -0x24]
MOV RCX,qword ptr [RBP + -0x20]
MOV RAX,qword ptr [RBP + -0x8]
MOV RSI,RCX
MOV RDI,RAX
CALL 0x0... |
void function_1(void *handle,void *p,int len)
{
int len_local;
void *p_local;
void *handle_local;
type_1 *s;
var_1((type_1 *)handle,p,len);
return;
}
| (translation_unit "void sha1_bytes(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *handle_local;\n SHA_State *s;\n \n SHA_Bytes((SHA_State *)handle,p,len);\n return;\n}\n\n" (function_definition "void sha1_bytes(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n... | (translation_unit "void function_1(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *handle_local;\n type_1 *s;\n \n var_1((type_1 *)handle,p,len);\n return;\n}\n\n" (function_definition "void function_1(void *handle,void *p,int len)\n\n{\n int len_local;\n void *p_local;\n void *ha... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_... |
302_pageant_and_pageant_strip.c | pageant_conn_receive | FUN_00111666 | pageant_conn_receive |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void pageant_conn_receive(Plug plug,int urgent,char *data,int len)
{
uchar uVar1;
int iVar2;
uint uVar3;
code *logfn;
long in_FS_OFFSET;
char *data_local;
int len_local;
int urgent_local;
Plug plug_local;
char c;
int reply... |
void FUN_00111666(long param_1,undefined8 param_2,undefined *param_3,int param_4)
{
undefined uVar1;
int iVar2;
uint uVar3;
code *pcVar4;
long in_FS_OFFSET;
undefined *local_50;
int local_48;
int local_2c;
undefined8 local_28;
long local_20;
undefined4 *local_18;
long local_10;
local_10 =... | (translation_unit "void FUN_00111666(long param_1,undefined8 param_2,undefined *param_3,int param_4)\n\n{\n undefined uVar1;\n int iVar2;\n uint uVar3;\n code *pcVar4;\n long in_FS_OFFSET;\n undefined *local_50;\n int local_48;\n int local_2c;\n undefined8 local_28;\n long local_20;\n undefined4 *local_18;\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x50
MOV qword ptr [RBP + -0x38],RDI
MOV dword ptr [RBP + -0x3c],ESI
MOV qword ptr [RBP + -0x48],RDX
MOV dword ptr [RBP + -0x40],ECX
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 + -0x18],RAX
MOV RAX,qword ptr [RBP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_2,int urgent,char *data,int len)
{
type_2 uVar1;
int var_3;
type_3 var_5;
type_4 *logfn;
long var_1;
char *var_6;
int var_4;
int urgent_local;
type_1 plug_local;
char c;
int replylen;
void *rep... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid pageant_conn_receive(Plug plug,int urgent,char *data,int len)\n\n{\n uchar uVar1;\n int iVar2;\n uint uVar3;\n code *logfn;\n long in_FS_OFFSET;\n char *data_local;\n int len_local;\n int urgent_local;\n Plug pl... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2,int urgent,char *data,int len)\n\n{\n type_2 uVar1;\n int var_3;\n type_3 var_5;\n type_4 *logfn;\n long var_1;\n char *var_6;\n int var_4;\n int urgent_local;\n type_1 plug_local;\n cha... | (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... |
177_pageant_and_pageant_strip.c | _start | entry | _start |
void processEntry _start(undefined8 param_1,undefined8 param_2)
{
undefined auStack_8 [8];
(*(code *)PTR___libc_start_main_0016ffe8)
(main,param_2,&stack0x00000008,__libc_csu_init,__libc_csu_fini,param_1,auStack_8);
do {
/* WARNING: Do nothing block with infinite loop */
} w... |
void processEntry entry(undefined8 param_1,undefined8 param_2)
{
undefined auStack_8 [8];
(*(code *)PTR___libc_start_main_0016ffe8)
(FUN_001542af,param_2,&stack0x00000008,FUN_0015a6b0,FUN_0015a710,param_1,auStack_8);
do {
/* WARNING: Do nothing block with infinite loop */
} ... | (translation_unit "void processEntry entry(undefined8 param_1,undefined8 param_2)\n\n{\n undefined auStack_8 [8];\n \n (*(code *)PTR___libc_start_main_0016ffe8)\n (FUN_001542af,param_2,&stack0x00000008,FUN_0015a6b0,FUN_0015a710,param_1,auStack_8);\n do {\n /* WARNING: Do nothing block ... | XOR EBP,EBP
MOV R9,RDX
POP RSI
MOV RDX,RSP
AND RSP,-0x10
PUSH RAX
PUSH RSP
LEA R8,[0x15a710]
LEA RCX,[0x15a6b0]
LEA RDI,[0x1542af]
CALL qword ptr [0x0016ffe8]
HLT |
void processEntry function_1(type_1 param_1,type_1 param_2)
{
type_2 auStack_8 [8];
(*(type_3 *)PTR___libc_start_main_0016ffe8)
(main,param_2,&stack0x00000008,__libc_csu_init,__libc_csu_fini,param_1,auStack_8);
do {
/* WARNING: Do nothing block with infinite loop */
} while(... | (translation_unit "void processEntry _start(undefined8 param_1,undefined8 param_2)\n\n{\n undefined auStack_8 [8];\n \n (*(code *)PTR___libc_start_main_0016ffe8)\n (main,param_2,&stack0x00000008,__libc_csu_init,__libc_csu_fini,param_1,auStack_8);\n do {\n /* WARNING: Do nothing block w... | (translation_unit "void processEntry function_1(type_1 param_1,type_1 param_2)\n\n{\n type_2 auStack_8 [8];\n \n (*(type_3 *)PTR___libc_start_main_0016ffe8)\n (main,param_2,&stack0x00000008,__libc_csu_init,__libc_csu_fini,param_1,auStack_8);\n do {\n /* WARNING: Do nothing block with i... | (translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) bod... |
1257_plink_and_plink_strip.c | sk_tcp_write | FUN_00183d0f | sk_tcp_write |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int sk_tcp_write(Socket sock,char *buf,int len)
{
int iVar1;
int len_local;
char *buf_local;
Socket sock_local;
Actual_Socket_conflict s;
if (*(int *)(sock + 0xb) != 0) {
/* WARNING: Subroutine does not return... |
void FUN_00183d0f(long param_1,undefined8 param_2,undefined4 param_3)
{
if (*(int *)(param_1 + 0x58) != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("s->outgoingeof == EOF_NO","unix/uxnet.c",0x4ad,"sk_tcp_write");
}
FUN_001114db(param_1 + 0x20,param_2,param_3);
if (*(in... | (translation_unit "void FUN_00183d0f(long param_1,undefined8 param_2,undefined4 param_3)\n\n{\n if (*(int *)(param_1 + 0x58) != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("s->outgoingeof == EOF_NO","unix/uxnet.c",0x4ad,"sk_tcp_write");\n }\n FUN_001114db(param_1 + 0x20,par... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0x58]
TEST EAX,EAX
JZ 0x00183d54
LEA RCX,[0x1a1620]
MOV EDX,0x4ad
LEA R... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(type_1 var_1,char *buf,int len)
{
int iVar1;
int len_local;
char *buf_local;
type_1 sock_local;
type_2 s;
if (*(int *)(var_1 + 0xb) != 0) {
/* WARNING: Subroutine does not return */
var_2("s... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint sk_tcp_write(Socket sock,char *buf,int len)\n\n{\n int iVar1;\n int len_local;\n char *buf_local;\n Socket sock_local;\n Actual_Socket_conflict s;\n \n if (*(int *)(sock + 0xb) != 0) {\n /* WARNI... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(type_1 var_1,char *buf,int len)\n\n{\n int iVar1;\n int len_local;\n char *buf_local;\n type_1 sock_local;\n type_2 s;\n \n if (*(int *)(var_1 + 0xb) != 0) {\n /* WARNING: Subroutine d... | (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:... |
1433_plink_and_plink_strip.c | x11_make_greeting | FUN_001903cd | x11_make_greeting |
void * x11_make_greeting(int endian,int protomajor,int protominor,int auth_proto,void *auth_data,
int auth_len,char *peer_addr,int peer_port,int *outlen)
{
long lVar1;
uint uVar2;
int iVar3;
size_t sVar4;
uchar uVar5;
long in_FS_OFFSET;
int *outlen_local;
char *peer_addr_local;... |
undefined *
FUN_001903cd(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined8 *param_5,
int param_6,undefined8 param_7,undefined4 param_8,int *param_9)
{
uint uVar1;
int iVar2;
size_t sVar3;
undefined uVar4;
long in_FS_OFFSET;
int local_94;
undefined8 local_80;
undefine... | (translation_unit "undefined *\nFUN_001903cd(int param_1,undefined4 param_2,undefined4 param_3,int param_4,undefined8 *param_5,\n int param_6,undefined8 param_7,undefined4 param_8,int *param_9)\n\n{\n uint uVar1;\n int iVar2;\n size_t sVar3;\n undefined uVar4;\n long in_FS_OFFSET;\n int local_94;\n un... | PUSH RBP
MOV RBP,RSP
SUB RSP,0xc0
MOV dword ptr [RBP + -0x94],EDI
MOV dword ptr [RBP + -0x98],ESI
MOV dword ptr [RBP + -0x9c],EDX
MOV dword ptr [RBP + -0xa0],ECX
MOV qword ptr [RBP + -0xa8],R8
MOV dword ptr [RBP + -0xac],R9D
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBP + -0xb8],RAX
MOV RAX,qword ptr [RBP + 0x20]
M... |
void * function_1(int var_14,int protomajor,int protominor,int var_4,void *auth_data,
int var_5,char *peer_addr,int peer_port,int *outlen)
{
long var_19;
type_1 var_12;
int iVar3;
size_t var_15;
type_2 uVar5;
long var_1;
int *outlen_local;
char *peer_addr_local;
int auth_len_... | (translation_unit "void * x11_make_greeting(int endian,int protomajor,int protominor,int auth_proto,void *auth_data,\n int auth_len,char *peer_addr,int peer_port,int *outlen)\n\n{\n long lVar1;\n uint uVar2;\n int iVar3;\n size_t sVar4;\n uchar uVar5;\n long in_FS_OFFSET;\n int *outlen_loc... | (translation_unit "void * function_1(int var_14,int protomajor,int protominor,int var_4,void *auth_data,\n int var_5,char *peer_addr,int peer_port,int *outlen)\n\n{\n long var_19;\n type_1 var_12;\n int iVar3;\n size_t var_15;\n type_2 uVar5;\n long var_1;\n int *outlen_local;\n char *pee... | (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... |
1140_plink_and_plink_strip.c | telnet_unthrottle | FUN_0017cbf4 | telnet_unthrottle |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void telnet_unthrottle(void *handle,int backlog)
{
int backlog_local;
void *handle_local;
Telnet telnet;
(**(code **)(**(long **)((long)handle + 8) + 0x30))
(*(undefined8 *)((long)handle + 8),0x1000 < backlog);
return;
... |
void FUN_0017cbf4(long param_1,int param_2)
{
(**(code **)(**(long **)(param_1 + 8) + 0x30))(*(undefined8 *)(param_1 + 8),0x1000 < param_2);
return;
}
| (translation_unit "void FUN_0017cbf4(long param_1,int param_2)\n\n{\n (**(code **)(**(long **)(param_1 + 8) + 0x30))(*(undefined8 *)(param_1 + 8),0x1000 < param_2);\n return;\n}\n\n" (function_definition "void FUN_0017cbf4(long param_1,int param_2)\n\n{\n (**(code **)(**(long **)(param_1 + 8) + 0x30))(*(undefined8 *... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX + 0x8]
MOV RAX,qword ptr [RAX]
MOV RAX,qword ptr [RAX + 0x30]
CMP dword ptr [RBP + -0x1c],0x1000
SETG DL
... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(void *handle,int var_1)
{
int backlog_local;
void *handle_local;
type_1 telnet;
(**(type_2 **)(**(long **)((long)handle + 8) + 0x30))
(*(type_3 *)((long)handle + 8),0x1000 < var_1);
return;
}
| (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid telnet_unthrottle(void *handle,int backlog)\n\n{\n int backlog_local;\n void *handle_local;\n Telnet telnet;\n \n (**(code **)(**(long **)((long)handle + 8) + 0x30))\n (*(undefined8 *)((long)handle + 8),0... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(void *handle,int var_1)\n\n{\n int backlog_local;\n void *handle_local;\n type_1 telnet;\n \n (**(type_2 **)(**(long **)((long)handle + 8) + 0x30))\n (*(type_3 *)((long)handle + 8),0x1000 < var... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator:... |
1289_plink_and_plink_strip.c | x_get_default | FUN_00185d83 | x_get_default |
char * x_get_default(char *key)
{
char *key_local;
return (char *)0x0;
}
|
undefined8 FUN_00185d83(void)
{
return 0;
}
| (translation_unit "undefined8 FUN_00185d83(void)\n\n{\n return 0;\n}\n\n" (function_definition "undefined8 FUN_00185d83(void)\n\n{\n return 0;\n}" type_identifier (function_declarator "FUN_00185d83(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 |
char * function_1(char *key)
{
char *key_local;
return (char *)0x0;
}
| (translation_unit "char * x_get_default(char *key)\n\n{\n char *key_local;\n \n return (char *)0x0;\n}\n\n" (function_definition "char * x_get_default(char *key)\n\n{\n char *key_local;\n \n return (char *)0x0;\n}" primitive_type (pointer_declarator "* x_get_default(char *key)" * (function_declarator "x_get_defau... | (translation_unit "char * function_1(char *key)\n\n{\n char *key_local;\n \n return (char *)0x0;\n}\n\n" (function_definition "char * function_1(char *key)\n\n{\n char *key_local;\n \n return (char *)0x0;\n}" primitive_type (pointer_declarator "* function_1(char *key)" * (function_declarator "function_1(char *key... | (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... |
345_pageant_and_pageant_strip.c | get_remote_username | FUN_00118524 | get_remote_username |
char * get_remote_username(Conf *conf)
{
int iVar1;
char *pcVar2;
Conf *conf_local;
char *username;
pcVar2 = conf_get_str(conf,0x34);
if (*pcVar2 == '\0') {
iVar1 = conf_get_int(conf,0x35);
if (iVar1 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = get_username();
}
}
... |
undefined8 FUN_00118524(undefined8 param_1)
{
int iVar1;
char *pcVar2;
undefined8 uVar3;
pcVar2 = (char *)FUN_0010af88(param_1,0x34);
if (*pcVar2 == '\0') {
iVar1 = FUN_0010ad88(param_1,0x35);
if (iVar1 == 0) {
uVar3 = 0;
}
else {
uVar3 = FUN_0014e195();
}
}
else {
... | (translation_unit "undefined8 FUN_00118524(undefined8 param_1)\n\n{\n int iVar1;\n char *pcVar2;\n undefined8 uVar3;\n \n pcVar2 = (char *)FUN_0010af88(param_1,0x34);\n if (*pcVar2 == '\0') {\n iVar1 = FUN_0010ad88(param_1,0x35);\n if (iVar1 == 0) {\n uVar3 = 0;\n }\n else {\n uVar3 = FUN_00... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x34
MOV RDI,RAX
CALL 0x0010af88
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
JZ 0x0011855e
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0010cc90
JMP 0x0011... |
char * function_1(type_1 *conf)
{
int var_3;
char *pcVar2;
type_1 *conf_local;
char *username;
pcVar2 = var_1(conf,0x34);
if (*pcVar2 == '\0') {
var_3 = var_2(conf,0x35);
if (var_3 == 0) {
pcVar2 = (char *)0x0;
}
else {
pcVar2 = var_4();
}
}
else {
pcVar2 = var_5... | (translation_unit "char * get_remote_username(Conf *conf)\n\n{\n int iVar1;\n char *pcVar2;\n Conf *conf_local;\n char *username;\n \n pcVar2 = conf_get_str(conf,0x34);\n if (*pcVar2 == '\0') {\n iVar1 = conf_get_int(conf,0x35);\n if (iVar1 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcV... | (translation_unit "char * function_1(type_1 *conf)\n\n{\n int var_3;\n char *pcVar2;\n type_1 *conf_local;\n char *username;\n \n pcVar2 = var_1(conf,0x34);\n if (*pcVar2 == '\0') {\n var_3 = var_2(conf,0x35);\n if (var_3 == 0) {\n pcVar2 = (char *)0x0;\n }\n else {\n pcVar2 = var_4();\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (decl... |
900_plink_and_plink_strip.c | hmacmd5_do_hmac | FUN_00162365 | hmacmd5_do_hmac |
void hmacmd5_do_hmac(void *handle,uchar *blk,int len,uchar *hmac)
{
uchar *hmac_local;
int len_local;
uchar *blk_local;
void *handle_local;
hmacmd5_do_hmac_internal(handle,blk,len,(uchar *)0x0,0,hmac);
return;
}
|
void FUN_00162365(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)
{
FUN_001622f1(param_1,param_2,param_3,0,0,param_4);
return;
}
| (translation_unit "void FUN_00162365(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n FUN_001622f1(param_1,param_2,param_3,0,0,param_4);\n return;\n}\n\n" (function_definition "void FUN_00162365(undefined8 param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4)\n\n{\n FUN... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x8],RDI
MOV qword ptr [RBP + -0x10],RSI
MOV dword ptr [RBP + -0x14],EDX
MOV qword ptr [RBP + -0x20],RCX
MOV RCX,qword ptr [RBP + -0x20]
MOV EDX,dword ptr [RBP + -0x14]
MOV RSI,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RBP + -0x8]
MOV R9,RCX
MOV R8D,0x0
MOV ECX,0... |
void function_1(void *handle,type_1 *blk,int len,type_1 *hmac)
{
type_1 *hmac_local;
int len_local;
type_1 *blk_local;
void *handle_local;
var_1(handle,blk,len,(type_1 *)0x0,0,hmac);
return;
}
| (translation_unit "void hmacmd5_do_hmac(void *handle,uchar *blk,int len,uchar *hmac)\n\n{\n uchar *hmac_local;\n int len_local;\n uchar *blk_local;\n void *handle_local;\n \n hmacmd5_do_hmac_internal(handle,blk,len,(uchar *)0x0,0,hmac);\n return;\n}\n\n" (function_definition "void hmacmd5_do_hmac(void *handle,uc... | (translation_unit "void function_1(void *handle,type_1 *blk,int len,type_1 *hmac)\n\n{\n type_1 *hmac_local;\n int len_local;\n type_1 *blk_local;\n void *handle_local;\n \n var_1(handle,blk,len,(type_1 *)0x0,0,hmac);\n return;\n}\n\n" (function_definition "void function_1(void *handle,type_1 *blk,int len,type_1... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer... |
1118_plink_and_plink_strip.c | send_opt | FUN_0017a736 | send_opt |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void send_opt(Telnet telnet,int cmd,int option)
{
long lVar1;
int iVar2;
long in_FS_OFFSET;
int option_local;
int cmd_local;
Telnet telnet_local;
uchar b [3];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
b[0] = 0xff;
b[1] = (u... |
void FUN_0017a736(long param_1,undefined4 param_2,undefined4 param_3)
{
undefined4 uVar1;
long in_FS_OFFSET;
undefined local_13;
undefined local_12;
undefined local_11;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
local_13 = 0xff;
local_12 = (undefined)param_2;
local_11 = (undefine... | (translation_unit "void FUN_0017a736(long param_1,undefined4 param_2,undefined4 param_3)\n\n{\n undefined4 uVar1;\n long in_FS_OFFSET;\n undefined local_13;\n undefined local_12;\n undefined local_11;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n local_13 = 0xff;\n local_12 = (undefined)p... | 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 RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV byte ptr [RBP + -0xb],0xff
MOV EAX,dword ptr [RBP + -0x1c]
MOV byte ptr [RBP + -0xa],AL
MOV EAX,dword ptr [RBP + -0... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 telnet,int cmd,int option)
{
long var_3;
int iVar2;
long var_1;
int option_local;
int cmd_local;
type_1 telnet_local;
type_2 b [3];
var_3 = *(long *)(var_1 + 0x28);
b[0] = 0xff;
b[1] = (type_2)cmd;
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid send_opt(Telnet telnet,int cmd,int option)\n\n{\n long lVar1;\n int iVar2;\n long in_FS_OFFSET;\n int option_local;\n int cmd_local;\n Telnet telnet_local;\n uchar b [3];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 telnet,int cmd,int option)\n\n{\n long var_3;\n int iVar2;\n long var_1;\n int option_local;\n int cmd_local;\n type_1 telnet_local;\n type_2 b [3];\n \n var_3 = *(long *)(var_1 + 0x28);\n b[0... | (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... |
1128_plink_and_plink_strip.c | telnet_receive | FUN_0017bd74 | telnet_receive |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void telnet_receive(Plug plug,int urgent,char *data,int len)
{
char *data_local;
int len_local;
int urgent_local;
Plug plug_local;
Telnet telnet;
if (urgent != 0) {
*(undefined4 *)(plug + 0xd) = 1;
}
*(undefined4 *)((long... |
void FUN_0017bd74(long param_1,int param_2,undefined8 param_3,undefined4 param_4)
{
if (param_2 != 0) {
*(undefined4 *)(param_1 + 0x68) = 1;
}
*(undefined4 *)(param_1 + 0x84) = 1;
FUN_0017b7fa(param_1,param_3,param_4);
return;
}
| (translation_unit "void FUN_0017bd74(long param_1,int param_2,undefined8 param_3,undefined4 param_4)\n\n{\n if (param_2 != 0) {\n *(undefined4 *)(param_1 + 0x68) = 1;\n }\n *(undefined4 *)(param_1 + 0x84) = 1;\n FUN_0017b7fa(param_1,param_3,param_4);\n return;\n}\n\n" (function_definition "void FUN_0017bd74(lon... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x20],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x8],RAX
CMP dword ptr [RBP + -0x1c],0x0
JZ 0x0017bda3
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_2,int var_1,char *data,int len)
{
char *data_local;
int len_local;
int urgent_local;
type_1 plug_local;
type_2 telnet;
if (var_1 != 0) {
*(type_3 *)(var_2 + 0xd) = 1;
}
*(type_3 *)((long)var_2 +... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid telnet_receive(Plug plug,int urgent,char *data,int len)\n\n{\n char *data_local;\n int len_local;\n int urgent_local;\n Plug plug_local;\n Telnet telnet;\n \n if (urgent != 0) {\n *(undefined4 *)(plug + 0xd) = ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_2,int var_1,char *data,int len)\n\n{\n char *data_local;\n int len_local;\n int urgent_local;\n type_1 plug_local;\n type_2 telnet;\n \n if (var_1 != 0) {\n *(type_3 *)(var_2 + 0xd) = 1;\n... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
442_pageant_and_pageant_strip.c | des_cbc_encrypt | FUN_0012cd0a | des_cbc_encrypt |
void des_cbc_encrypt(uchar *blk,uint len,DESContext *sched)
{
long lVar1;
long in_FS_OFFSET;
DESContext *sched_local;
uint len_local;
uchar *blk_local;
word32 iv0;
word32 iv1;
uint i;
word32 out [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if ((len & 7) != 0) {
/* WARNING:... |
void FUN_0012cd0a(byte *param_1,uint param_2,long param_3)
{
long in_FS_OFFSET;
byte *local_30;
uint local_24;
uint local_20;
uint local_1c;
uint local_18;
uint local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if ((param_2 & 7) != 0) {
/* WARNING: Subrouti... | (translation_unit "void FUN_0012cd0a(byte *param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n byte *local_30;\n uint local_24;\n uint local_20;\n uint local_1c;\n uint local_18;\n uint local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((param_2 & 7) != 0) {\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x2c]
AND EAX,0x7
TEST EAX,EAX
JZ 0x0012cd55
LEA RCX,[0x160a80]
MOV EDX,0x261
LEA RSI,[0x1607... |
void function_1(type_1 *blk,type_2 var_2,type_3 *sched)
{
long var_9;
long var_1;
type_3 *sched_local;
type_2 len_local;
type_1 *var_7;
type_4 var_6;
type_4 var_8;
type_2 var_4;
type_4 out [2];
var_9 = *(long *)(var_1 + 0x28);
if ((var_2 & 7) != 0) {
/* WARNING: Subroutine... | (translation_unit "void des_cbc_encrypt(uchar *blk,uint len,DESContext *sched)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n DESContext *sched_local;\n uint len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n uint i;\n word32 out [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & 7) != 0) {... | (translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *sched)\n\n{\n long var_9;\n long var_1;\n type_3 *sched_local;\n type_2 len_local;\n type_1 *var_7;\n type_4 var_6;\n type_4 var_8;\n type_2 var_4;\n type_4 out [2];\n \n var_9 = *(long *)(var_1 + 0x28);\n if ((var_2 & 7) != 0) {\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
249_pageant_and_pageant_strip.c | strbuf_str | FUN_0010d2c7 | strbuf_str |
char * strbuf_str(strbuf *buf)
{
strbuf *buf_local;
return buf->s;
}
|
undefined8 FUN_0010d2c7(undefined8 *param_1)
{
return *param_1;
}
| (translation_unit "undefined8 FUN_0010d2c7(undefined8 *param_1)\n\n{\n return *param_1;\n}\n\n" (function_definition "undefined8 FUN_0010d2c7(undefined8 *param_1)\n\n{\n return *param_1;\n}" type_identifier (function_declarator "FUN_0010d2c7(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RAX,qword ptr [RAX]
POP RBP
RET |
char * function_1(type_1 *buf)
{
type_1 *buf_local;
return buf->s;
}
| (translation_unit "char * strbuf_str(strbuf *buf)\n\n{\n strbuf *buf_local;\n \n return buf->s;\n}\n\n" (function_definition "char * strbuf_str(strbuf *buf)\n\n{\n strbuf *buf_local;\n \n return buf->s;\n}" primitive_type (pointer_declarator "* strbuf_str(strbuf *buf)" * (function_declarator "strbuf_str(strbuf *b... | (translation_unit "char * function_1(type_1 *buf)\n\n{\n type_1 *buf_local;\n \n return buf->s;\n}\n\n" (function_definition "char * function_1(type_1 *buf)\n\n{\n type_1 *buf_local;\n \n return buf->s;\n}" primitive_type (pointer_declarator "* function_1(type_1 *buf)" * (function_declarator "function_1(type_1 *b... | (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... |
448_pageant_and_pageant_strip.c | des_sdctr3 | FUN_0012d618 | des_sdctr3 |
void des_sdctr3(uchar *blk,uint len,DESContext *scheds)
{
long lVar1;
long in_FS_OFFSET;
DESContext *scheds_local;
uint len_local;
uchar *blk_local;
word32 iv0;
word32 iv1;
uint i;
word32 tmp;
word32 b [2];
lVar1 = *(long *)(in_FS_OFFSET + 0x28);
if ((len & 7) != 0) {
/*... |
void FUN_0012d618(byte *param_1,uint param_2,long param_3)
{
long in_FS_OFFSET;
byte *local_30;
int local_28;
int local_24;
uint local_20;
undefined4 local_18;
undefined4 local_14;
long local_10;
local_10 = *(long *)(in_FS_OFFSET + 0x28);
if ((param_2 & 7) != 0) {
/* WARNING... | (translation_unit "void FUN_0012d618(byte *param_1,uint param_2,long param_3)\n\n{\n long in_FS_OFFSET;\n byte *local_30;\n int local_28;\n int local_24;\n uint local_20;\n undefined4 local_18;\n undefined4 local_14;\n long local_10;\n \n local_10 = *(long *)(in_FS_OFFSET + 0x28);\n if ((param_2 & 7) != 0) {... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x28],RDI
MOV dword ptr [RBP + -0x2c],ESI
MOV qword ptr [RBP + -0x38],RDX
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV EAX,dword ptr [RBP + -0x2c]
AND EAX,0x7
TEST EAX,EAX
JZ 0x0012d663
LEA RCX,[0x160ad8]
MOV EDX,0x2d9
LEA RSI,[0x1607... |
void function_1(type_1 *blk,type_2 var_2,type_3 *var_7)
{
long var_11;
long var_1;
type_3 *scheds_local;
type_2 len_local;
type_1 *var_8;
type_4 var_10;
type_4 var_9;
type_2 var_4;
type_4 tmp;
type_4 b [2];
var_11 = *(long *)(var_1 + 0x28);
if ((var_2 & 7) != 0) {
/* WAR... | (translation_unit "void des_sdctr3(uchar *blk,uint len,DESContext *scheds)\n\n{\n long lVar1;\n long in_FS_OFFSET;\n DESContext *scheds_local;\n uint len_local;\n uchar *blk_local;\n word32 iv0;\n word32 iv1;\n uint i;\n word32 tmp;\n word32 b [2];\n \n lVar1 = *(long *)(in_FS_OFFSET + 0x28);\n if ((len & ... | (translation_unit "void function_1(type_1 *blk,type_2 var_2,type_3 *var_7)\n\n{\n long var_11;\n long var_1;\n type_3 *scheds_local;\n type_2 len_local;\n type_1 *var_8;\n type_4 var_10;\n type_4 var_9;\n type_2 var_4;\n type_4 tmp;\n type_4 b [2];\n \n var_11 = *(long *)(var_1 + 0x28);\n if ((var_2 & 7) !... | (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... |
329_pageant_and_pageant_strip.c | plug_proxy_receive | FUN_001144fd | plug_proxy_receive |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void plug_proxy_receive(Plug p,int urgent,char *data,int len)
{
plug_function_table *ppVar1;
char *data_local;
int len_local;
int urgent_local;
Plug p_local;
Proxy_Plug pp;
Proxy_Socket ps;
ppVar1 = p[1];
if (*(int *)((long... |
void FUN_001144fd(long param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4)
{
long lVar1;
lVar1 = *(long *)(param_1 + 8);
if (*(int *)(lVar1 + 0x84) == 0) {
(**(code **)(**(long **)(lVar1 + 0x18) + 0x10))
(*(undefined8 *)(lVar1 + 0x18),param_2,param_3,param_4);
}
else {
... | (translation_unit "void FUN_001144fd(long param_1,undefined4 param_2,undefined8 param_3,undefined4 param_4)\n\n{\n long lVar1;\n \n lVar1 = *(long *)(param_1 + 8);\n if (*(int *)(lVar1 + 0x84) == 0) {\n (**(code **)(**(long **)(lVar1 + 0x18) + 0x10))\n (*(undefined8 *)(lVar1 + 0x18),param_2,param_3,... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x1c],ESI
MOV qword ptr [RBP + -0x28],RDX
MOV dword ptr [RBP + -0x20],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x8]
MOV qword ptr [RBP + -0x8],RAX
M... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 p,int urgent,char *data,int len)
{
type_2 *ppVar1;
char *data_local;
int len_local;
int urgent_local;
type_1 p_local;
type_3 pp;
type_4 ps;
ppVar1 = p[1];
if (*(int *)((long)&ppVar1[3].closing + 4) ==... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid plug_proxy_receive(Plug p,int urgent,char *data,int len)\n\n{\n plug_function_table *ppVar1;\n char *data_local;\n int len_local;\n int urgent_local;\n Plug p_local;\n Proxy_Plug pp;\n Proxy_Socket ps;\n \n ppVa... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 p,int urgent,char *data,int len)\n\n{\n type_2 *ppVar1;\n char *data_local;\n int len_local;\n int urgent_local;\n type_1 p_local;\n type_3 pp;\n type_4 ps;\n \n ppVar1 = p[1];\n if (*(int *)(... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declar... |
1419_plink_and_plink_strip.c | x11_closing | FUN_0018f313 | x11_closing |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void x11_closing(Plug plug,char *error_msg,int error_code,int calling_back)
{
char *err_message_00;
int calling_back_local;
int error_code_local;
char *error_msg_local;
Plug plug_local;
X11Connection *xconn;
char *err_message;
... |
void FUN_0018f313(long param_1,long param_2)
{
undefined8 uVar1;
if (param_2 == 0) {
if (*(long *)(param_1 + 0x70) != 0) {
FUN_0012c0bc(*(undefined8 *)(param_1 + 0x70));
}
}
else {
if (*(int *)(param_1 + 0x58) != 0) {
uVar1 = FUN_00110d41("unable to connect to forwarded X server: %s... | (translation_unit "void FUN_0018f313(long param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (param_2 == 0) {\n if (*(long *)(param_1 + 0x70) != 0) {\n FUN_0012c0bc(*(undefined8 *)(param_1 + 0x70));\n }\n }\n else {\n if (*(int *)(param_1 + 0x58) != 0) {\n uVar1 = FUN_00110d41("unable to con... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV dword ptr [RBP + -0x24],EDX
MOV dword ptr [RBP + -0x28],ECX
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
CMP qword ptr [RBP + -0x20],0x0
JZ 0x0018f397
MOV RAX,qword ptr [RBP + -0x10]
MOV EAX,dword pt... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
void function_1(type_1 var_3,char *var_1,int error_code,int calling_back)
{
char *err_message_00;
int calling_back_local;
int error_code_local;
char *error_msg_local;
type_1 plug_local;
type_2 *xconn;
char *err_message;
if (v... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid x11_closing(Plug plug,char *error_msg,int error_code,int calling_back)\n\n{\n char *err_message_00;\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n Plug plug_local;\n X11Connection *xco... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid function_1(type_1 var_3,char *var_1,int error_code,int calling_back)\n\n{\n char *err_message_00;\n int calling_back_local;\n int error_code_local;\n char *error_msg_local;\n type_1 plug_local;\n type_2 *xconn;\n ... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator:... |
962_plink_and_plink_strip.c | rsa2_private_blob | FUN_00169416 | rsa2_private_blob |
uchar * rsa2_private_blob(void *key,int *len)
{
int iVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
int iVar6;
int iVar7;
int iVar8;
uchar *puVar9;
int *len_local;
void *key_local;
int i;
int dlen;
int plen;
int qlen;
int ulen;
int bloblen;
uchar *p;
RSAKey *rsa;
uchar *blob... |
char * FUN_00169416(long param_1,int *param_2)
{
char cVar1;
int iVar2;
int iVar3;
int iVar4;
int iVar5;
int iVar6;
int iVar7;
int iVar8;
int iVar9;
char *pcVar10;
int local_38;
char *local_20;
iVar2 = FUN_0014dba5(*(undefined8 *)(param_1 + 0x18));
iVar3 = iVar2 + 8;
if (iVar2 + 8 < 0... | (translation_unit "char * FUN_00169416(long param_1,int *param_2)\n\n{\n char cVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n int iVar9;\n char *pcVar10;\n int local_38;\n char *local_20;\n \n iVar2 = FUN_0014dba5(*(undefined8 *)(param_1 + 0x18));\n iVa... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x40
MOV qword ptr [RBP + -0x38],RDI
MOV qword ptr [RBP + -0x40],RSI
MOV RAX,qword ptr [RBP + -0x38]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RAX,qword ptr [RAX + 0x18]
MOV RDI,RAX
CALL 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_8;
int var_5;
int var_9;
int var_6;
int var_14;
int var_3;
type_1 *var_11;
int *len_local;
void *key_local;
int var_7;
int dlen;
int plen;
int qlen;
int ulen;
int bloblen;
type_1 *var_13;
type_2 *rsa;
type_... | (translation_unit "uchar * rsa2_private_blob(void *key,int *len)\n\n{\n int iVar1;\n int iVar2;\n int iVar3;\n int iVar4;\n int iVar5;\n int iVar6;\n int iVar7;\n int iVar8;\n uchar *puVar9;\n int *len_local;\n void *key_local;\n int i;\n int dlen;\n int plen;\n int qlen;\n int ulen;\n int bloblen;\n ... | (translation_unit "type_1 * function_1(void *key,int *len)\n\n{\n int var_2;\n int var_4;\n int var_8;\n int var_5;\n int var_9;\n int var_6;\n int var_14;\n int var_3;\n type_1 *var_11;\n int *len_local;\n void *key_local;\n int var_7;\n int dlen;\n int plen;\n int qlen;\n int ulen;\n int bloblen;\n ... | (translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (prim... |
976_plink_and_plink_strip.c | SHA256_Init | FUN_0016b512 | SHA256_Init |
int SHA256_Init(SHA256_CTX *c)
{
SHA256_State *s_local;
SHA256_Core_Init((SHA256_State *)c);
c->data[0xe] = 0;
c->num = 0;
c->data[0xf] = c->num;
return (int)c;
}
|
void FUN_0016b512(long param_1)
{
FUN_0016aa42(param_1);
*(undefined4 *)(param_1 + 0x60) = 0;
*(undefined4 *)(param_1 + 0x68) = 0;
*(undefined4 *)(param_1 + 100) = *(undefined4 *)(param_1 + 0x68);
return;
}
| (translation_unit "void FUN_0016b512(long param_1)\n\n{\n FUN_0016aa42(param_1);\n *(undefined4 *)(param_1 + 0x60) = 0;\n *(undefined4 *)(param_1 + 0x68) = 0;\n *(undefined4 *)(param_1 + 100) = *(undefined4 *)(param_1 + 0x68);\n return;\n}\n\n" (function_definition "void FUN_0016b512(long param_1)\n\n{\n FUN_0016... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x8
MOV qword ptr [RBP + -0x8],RDI
MOV RAX,qword ptr [RBP + -0x8]
MOV RDI,RAX
CALL 0x0016aa42
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x60],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV dword ptr [RAX + 0x68],0x0
MOV RAX,qword ptr [RBP + -0x8]
MOV EDX,dword ptr [RAX + 0x68]
MOV RAX,qwo... |
int function_1(type_1 *c)
{
type_2 *s_local;
var_1((type_2 *)c);
c->data[0xe] = 0;
c->num = 0;
c->data[0xf] = c->num;
return (int)c;
}
| (translation_unit "int SHA256_Init(SHA256_CTX *c)\n\n{\n SHA256_State *s_local;\n \n SHA256_Core_Init((SHA256_State *)c);\n c->data[0xe] = 0;\n c->num = 0;\n c->data[0xf] = c->num;\n return (int)c;\n}\n\n" (function_definition "int SHA256_Init(SHA256_CTX *c)\n\n{\n SHA256_State *s_local;\n \n SHA256_Core_Init... | (translation_unit "int function_1(type_1 *c)\n\n{\n type_2 *s_local;\n \n var_1((type_2 *)c);\n c->data[0xe] = 0;\n c->num = 0;\n c->data[0xf] = c->num;\n return (int)c;\n}\n\n" (function_definition "int function_1(type_1 *c)\n\n{\n type_2 *s_local;\n \n var_1((type_2 *)c);\n c->data[0xe] = 0;\n c->num = 0;... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1171_plink_and_plink_strip.c | agent_exists | FUN_0017f447 | agent_exists |
/* WARNING: Unknown calling convention */
int agent_exists(void)
{
int iVar1;
char *pcVar2;
char *p;
pcVar2 = getenv("SSH_AUTH_SOCK");
if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
|
undefined8 FUN_0017f447(void)
{
char *pcVar1;
undefined8 uVar2;
pcVar1 = getenv("SSH_AUTH_SOCK");
if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {
uVar2 = 0;
}
else {
uVar2 = 1;
}
return uVar2;
}
| (translation_unit "undefined8 FUN_0017f447(void)\n\n{\n char *pcVar1;\n undefined8 uVar2;\n \n pcVar1 = getenv("SSH_AUTH_SOCK");\n if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n uVar2 = 0;\n }\n else {\n uVar2 = 1;\n }\n return uVar2;\n}\n\n" (function_definition "undefined8 FUN_0017f447(void)\n\n... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
LEA RDI,[0x1a0120]
CALL 0x00108040
MOV qword ptr [RBP + -0x8],RAX
CMP qword ptr [RBP + -0x8],0x0
JZ 0x0017f478
MOV RAX,qword ptr [RBP + -0x8]
MOVZX EAX,byte ptr [RAX]
TEST AL,AL
JZ 0x0017f478
MOV EAX,0x1
JMP 0x0017f47d
MOV EAX,0x0
LEAVE
RET |
/* WARNING: Unknown calling convention */
int function_1(void)
{
int iVar1;
char *var_2;
char *p;
var_2 = var_1("SSH_AUTH_SOCK");
if ((var_2 == (char *)0x0) || (*var_2 == '\0')) {
iVar1 = 0;
}
else {
iVar1 = 1;
}
return iVar1;
}
| (translation_unit "/* WARNING: Unknown calling convention */\n\nint agent_exists(void)\n\n{\n int iVar1;\n char *pcVar2;\n char *p;\n \n pcVar2 = getenv("SSH_AUTH_SOCK");\n if ((pcVar2 == (char *)0x0) || (*pcVar2 == '\0')) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" comment (fun... | (translation_unit "/* WARNING: Unknown calling convention */\n\nint function_1(void)\n\n{\n int iVar1;\n char *var_2;\n char *p;\n \n var_2 = var_1("SSH_AUTH_SOCK");\n if ((var_2 == (char *)0x0) || (*var_2 == '\0')) {\n iVar1 = 0;\n }\n else {\n iVar1 = 1;\n }\n return iVar1;\n}\n\n" comment (function_d... | (translation_unit (comment) (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primi... |
1095_plink_and_plink_strip.c | ssh_connection_sharing_init | FUN_00177494 | ssh_connection_sharing_init |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Socket ssh_connection_sharing_init(char *host,int port,Conf *conf,Ssh ssh,void **state)
{
int iVar1;
int iVar2;
tree234 *ptVar3;
Socket ppsVar4;
long in_FS_OFFSET;
void **state_local;
Ssh ssh_local;
Conf *conf_local;
int port_... |
long FUN_00177494(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4,
undefined8 *param_5)
{
int iVar1;
int iVar2;
undefined8 uVar3;
long lVar4;
long in_FS_OFFSET;
undefined8 local_40;
undefined8 local_38;
undefined8 local_30;
long local_28;
undefined8 loc... | (translation_unit "long FUN_00177494(undefined8 param_1,undefined4 param_2,undefined8 param_3,undefined8 param_4,\n undefined8 *param_5)\n\n{\n int iVar1;\n int iVar2;\n undefined8 uVar3;\n long lVar4;\n long in_FS_OFFSET;\n undefined8 local_40;\n undefined8 local_38;\n undefined8 local_30;\n l... | PUSH RBP
MOV RBP,RSP
ADD RSP,-0x80
MOV qword ptr [RBP + -0x58],RDI
MOV dword ptr [RBP + -0x5c],ESI
MOV qword ptr [RBP + -0x68],RDX
MOV qword ptr [RBP + -0x70],RCX
MOV qword ptr [RBP + -0x78],R8
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RBP + -0x8],RAX
XOR EAX,EAX
MOV RAX,qword ptr [RBP + -0x68]
MOV ESI,0xaa
MOV RDI,RA... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 function_1(char *host,int port,type_2 *conf,type_3 ssh,void **state)
{
int var_3;
int var_6;
type_4 *ptVar3;
type_1 ppsVar4;
long var_1;
void **state_local;
type_3 ssh_local;
type_2 *conf_local;
int port_local;
char *... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nSocket ssh_connection_sharing_init(char *host,int port,Conf *conf,Ssh ssh,void **state)\n\n{\n int iVar1;\n int iVar2;\n tree234 *ptVar3;\n Socket ppsVar4;\n long in_FS_OFFSET;\n void **state_local;\n Ssh ssh_local;\n ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 function_1(char *host,int port,type_2 *conf,type_3 ssh,void **state)\n\n{\n int var_3;\n int var_6;\n type_4 *ptVar3;\n type_1 ppsVar4;\n long var_1;\n void **state_local;\n type_3 ssh_local;\n type_2 *conf_loc... | (translation_unit (comment) (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator... |
971_plink_and_plink_strip.c | ssh_rsakex_klen | FUN_0016a5f3 | ssh_rsakex_klen |
int ssh_rsakex_klen(void *key)
{
int iVar1;
void *key_local;
RSAKey *rsa;
iVar1 = bignum_bitcount(*(Bignum_conflict *)((long)key + 8));
return iVar1;
}
|
void FUN_0016a5f3(long param_1)
{
FUN_0014dba5(*(undefined8 *)(param_1 + 8));
return;
}
| (translation_unit "void FUN_0016a5f3(long param_1)\n\n{\n FUN_0014dba5(*(undefined8 *)(param_1 + 8));\n return;\n}\n\n" (function_definition "void FUN_0016a5f3(long param_1)\n\n{\n FUN_0014dba5(*(undefined8 *)(param_1 + 8));\n return;\n}" primitive_type (function_declarator "FUN_0016a5f3(long param_1)" identifier (... | 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]
MOV RDI,RAX
CALL 0x0014dba5
LEAVE
RET |
int function_1(void *key)
{
int iVar1;
void *key_local;
type_1 *rsa;
iVar1 = var_1(*(type_2 *)((long)key + 8));
return iVar1;
}
| (translation_unit "int ssh_rsakex_klen(void *key)\n\n{\n int iVar1;\n void *key_local;\n RSAKey *rsa;\n \n iVar1 = bignum_bitcount(*(Bignum_conflict *)((long)key + 8));\n return iVar1;\n}\n\n" (function_definition "int ssh_rsakex_klen(void *key)\n\n{\n int iVar1;\n void *key_local;\n RSAKey *rsa;\n \n iVar1 ... | (translation_unit "int function_1(void *key)\n\n{\n int iVar1;\n void *key_local;\n type_1 *rsa;\n \n iVar1 = var_1(*(type_2 *)((long)key + 8));\n return iVar1;\n}\n\n" (function_definition "int function_1(void *key)\n\n{\n int iVar1;\n void *key_local;\n type_1 *rsa;\n \n iVar1 = var_1(*(type_2 *)((long)key... | (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... |
1376_plink_and_plink_strip.c | open_settings_w | FUN_0018c360 | open_settings_w |
void * open_settings_w(char *sessionname,char **errmsg)
{
char *pcVar1;
char *pcVar2;
char *pcVar3;
FILE *pFVar4;
int *piVar5;
char **errmsg_local;
char *sessionname_local;
char *filename;
char *err;
FILE *fp;
*errmsg = (char *)0x0;
pcVar1 = make_filename(0,(char *)0x0);
pcVar2 = make_dir... |
FILE * FUN_0018c360(undefined8 param_1,undefined8 *param_2)
{
undefined8 uVar1;
long lVar2;
undefined8 uVar3;
FILE *pFVar4;
char *__filename;
int *piVar5;
char *pcVar6;
*param_2 = 0;
uVar1 = FUN_0018be76(0,0);
lVar2 = FUN_00181a7b(uVar1,0x1c0);
if (lVar2 == 0) {
FUN_00111b0d(uVar1);
u... | (translation_unit "FILE * FUN_0018c360(undefined8 param_1,undefined8 *param_2)\n\n{\n undefined8 uVar1;\n long lVar2;\n undefined8 uVar3;\n FILE *pFVar4;\n char *__filename;\n int *piVar5;\n char *pcVar6;\n \n *param_2 = 0;\n uVar1 = FUN_0018be76(0,0);\n lVar2 = FUN_00181a7b(uVar1,0x1c0);\n if (lVar2 == 0) ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x30
MOV qword ptr [RBP + -0x28],RDI
MOV qword ptr [RBP + -0x30],RSI
MOV RAX,qword ptr [RBP + -0x30]
MOV qword ptr [RAX],0x0
MOV ESI,0x0
MOV EDI,0x0
CALL 0x0018be76
MOV qword ptr [RBP + -0x18],RAX
MOV RAX,qword ptr [RBP + -0x18]
MOV ESI,0x1c0
MOV RDI,RAX
CALL 0x00181a7b
MOV qword ptr [RBP +... |
void * function_1(char *sessionname,char **errmsg)
{
char *pcVar1;
char *var_3;
char *pcVar3;
type_1 *var_6;
int *piVar5;
char **errmsg_local;
char *sessionname_local;
char *filename;
char *err;
type_1 *fp;
*errmsg = (char *)0x0;
pcVar1 = var_1(0,(char *)0x0);
var_3 = var_2(pcVar1,0x1c0);... | (translation_unit "void * open_settings_w(char *sessionname,char **errmsg)\n\n{\n char *pcVar1;\n char *pcVar2;\n char *pcVar3;\n FILE *pFVar4;\n int *piVar5;\n char **errmsg_local;\n char *sessionname_local;\n char *filename;\n char *err;\n FILE *fp;\n \n *errmsg = (char *)0x0;\n pcVar1 = make_filename(0,... | (translation_unit "void * function_1(char *sessionname,char **errmsg)\n\n{\n char *pcVar1;\n char *var_3;\n char *pcVar3;\n type_1 *var_6;\n int *piVar5;\n char **errmsg_local;\n char *sessionname_local;\n char *filename;\n char *err;\n type_1 *fp;\n \n *errmsg = (char *)0x0;\n pcVar1 = var_1(0,(char *)0x0... | (translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primi... |
841_plink_and_plink_strip.c | ecp_edx | FUN_0015c18b | ecp_edx |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
Bignum * ecp_edx(ec_curve *curve,Bignum y)
{
int iVar1;
Bignum_conflict pBVar2;
Bignum_conflict pBVar3;
Bignum_conflict pBVar4;
Bignum *ppvVar5;
Bignum y_local;
ec_curve *curve_local;
Bignum x;
Bignum tmp;
Bignum tmp2;
Big... |
undefined8 FUN_0015c18b(long param_1,undefined8 param_2)
{
int iVar1;
undefined8 uVar2;
undefined8 uVar3;
undefined8 uVar4;
long lVar5;
undefined8 local_60;
uVar2 = FUN_00159be9(param_2,param_1);
uVar3 = FUN_0014ccbb(*(undefined8 *)(param_1 + 0x30),uVar2,*(undefined8 *)(param_1 + 0x20));
uVar4 = ... | (translation_unit "undefined8 FUN_0015c18b(long param_1,undefined8 param_2)\n\n{\n int iVar1;\n undefined8 uVar2;\n undefined8 uVar3;\n undefined8 uVar4;\n long lVar5;\n undefined8 local_60;\n \n uVar2 = FUN_00159be9(param_2,param_1);\n uVar3 = FUN_0014ccbb(*(undefined8 *)(param_1 + 0x30),uVar2,*(undefined8 *)... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x70
MOV qword ptr [RBP + -0x68],RDI
MOV qword ptr [RBP + -0x70],RSI
MOV RDX,qword ptr [RBP + -0x68]
MOV RAX,qword ptr [RBP + -0x70]
MOV RSI,RDX
MOV RDI,RAX
CALL 0x00159be9
MOV qword ptr [RBP + -0x50],RAX
MOV RAX,qword ptr [RBP + -0x68]
MOV RDX,qword ptr [RAX + 0x20]
MOV RAX,qword ptr [RBP ... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
type_1 * function_1(type_2 *curve,type_1 y)
{
int var_12;
type_3 pBVar2;
type_3 var_6;
type_3 pBVar4;
type_1 *ppvVar5;
type_1 y_local;
type_2 *curve_local;
type_1 x;
type_1 tmp;
type_1 tmp2;
type_1 tmp3;
type_1 xx;
typ... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nBignum * ecp_edx(ec_curve *curve,Bignum y)\n\n{\n int iVar1;\n Bignum_conflict pBVar2;\n Bignum_conflict pBVar3;\n Bignum_conflict pBVar4;\n Bignum *ppvVar5;\n Bignum y_local;\n ec_curve *curve_local;\n Bignum x;\n B... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\ntype_1 * function_1(type_2 *curve,type_1 y)\n\n{\n int var_12;\n type_3 pBVar2;\n type_3 var_6;\n type_3 pBVar4;\n type_1 *ppvVar5;\n type_1 y_local;\n type_2 *curve_local;\n type_1 x;\n type_1 tmp;\n type_1 tmp2;\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 ... |
792_plink_and_plink_strip.c | dh_find_K | FUN_00157498 | dh_find_K |
Bignum dh_find_K(void *handle,Bignum f)
{
Bignum_conflict pBVar1;
Bignum f_local;
void *handle_local;
dh_ctx *ctx;
Bignum ret;
/* WARNING: Load size is inaccurate */
pBVar1 = modpow((Bignum_conflict)f,*handle,*(Bignum_conflict *)((long)handle + 0x10));
return pBVar1;
}
|
undefined8 FUN_00157498(undefined8 *param_1,undefined8 param_2)
{
undefined8 uVar1;
uVar1 = FUN_0014c4c7(param_2,*param_1,param_1[2]);
return uVar1;
}
| (translation_unit "undefined8 FUN_00157498(undefined8 *param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = FUN_0014c4c7(param_2,*param_1,param_1[2]);\n return uVar1;\n}\n\n" (function_definition "undefined8 FUN_00157498(undefined8 *param_1,undefined8 param_2)\n\n{\n undefined8 uVar1;\n \n uVar1 = F... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV qword ptr [RBP + -0x10],RAX
MOV RAX,qword ptr [RBP + -0x10]
MOV RDX,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RBP + -0x10]
MOV RCX,qword ptr [RAX]
MOV RAX,qword ptr [RBP + -0x20]
MOV RSI... |
type_1 function_1(void *handle,type_1 f)
{
type_2 pBVar1;
type_1 f_local;
void *handle_local;
type_3 *ctx;
type_1 ret;
/* WARNING: Load size is inaccurate */
pBVar1 = var_1((type_2)f,*handle,*(type_2 *)((long)handle + 0x10));
return pBVar1;
}
| (translation_unit "Bignum dh_find_K(void *handle,Bignum f)\n\n{\n Bignum_conflict pBVar1;\n Bignum f_local;\n void *handle_local;\n dh_ctx *ctx;\n Bignum ret;\n \n /* WARNING: Load size is inaccurate */\n pBVar1 = modpow((Bignum_conflict)f,*handle,*(Bignum_conflict *)((long)handle + 0x10));\n ... | (translation_unit "type_1 function_1(void *handle,type_1 f)\n\n{\n type_2 pBVar1;\n type_1 f_local;\n void *handle_local;\n type_3 *ctx;\n type_1 ret;\n \n /* WARNING: Load size is inaccurate */\n pBVar1 = var_1((type_2)f,*handle,*(type_2 *)((long)handle + 0x10));\n return pBVar1;\n}\n\n" (fu... | (translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identi... |
1298_plink_and_plink_strip.c | from_backend_eof | FUN_00186959 | from_backend_eof |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int from_backend_eof(void *frontend_handle)
{
void *frontend_handle_local;
if (outgoingeof != ADDRTYPE_UNSPEC) {
/* WARNING: Subroutine does not return */
__assert_fail("outgoingeof == EOF_NO","unix/uxplink.c",0x1... |
undefined8 FUN_00186959(void)
{
if (DAT_001b54d8 != 0) {
/* WARNING: Subroutine does not return */
__assert_fail("outgoingeof == EOF_NO","unix/uxplink.c",0x1bc,"from_backend_eof");
}
DAT_001b54d8 = 1;
FUN_00186723(0);
return 0;
}
| (translation_unit "undefined8 FUN_00186959(void)\n\n{\n if (DAT_001b54d8 != 0) {\n /* WARNING: Subroutine does not return */\n __assert_fail("outgoingeof == EOF_NO","unix/uxplink.c",0x1bc,"from_backend_eof");\n }\n DAT_001b54d8 = 1;\n FUN_00186723(0);\n return 0;\n}\n\n" (function_definition ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x10
MOV qword ptr [RBP + -0x8],RDI
MOV EAX,dword ptr [0x001b54d8]
TEST EAX,EAX
JZ 0x0018698e
LEA RCX,[0x1a22c0]
MOV EDX,0x1bc
LEA RSI,[0x1a1882]
LEA RDI,[0x1a1891]
CALL 0x00108350
MOV dword ptr [0x001b54d8],0x1
MOV EDI,0x0
CALL 0x00186723
MOV EAX,0x0
LEAVE
RET |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *frontend_handle)
{
void *frontend_handle_local;
if (var_1 != var_2) {
/* WARNING: Subroutine does not return */
var_3("outgoingeof == EOF_NO","unix/uxplink.c",0x1bc,"from_backend_eof");
}
... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint from_backend_eof(void *frontend_handle)\n\n{\n void *frontend_handle_local;\n \n if (outgoingeof != ADDRTYPE_UNSPEC) {\n /* WARNING: Subroutine does not return */\n __assert_fail("outgoingeof == E... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *frontend_handle)\n\n{\n void *frontend_handle_local;\n \n if (var_1 != var_2) {\n /* WARNING: Subroutine does not return */\n var_3("outgoingeof == EOF_NO","unix/uxplink.c",0x1bc,... | (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... |
195_pageant_and_pageant_strip.c | cmdline_run_saved | FUN_0010a680 | cmdline_run_saved |
void cmdline_run_saved(Conf *conf)
{
Conf *conf_local;
int pri;
int i;
for (pri = 0; pri < 2; pri = pri + 1) {
for (i = 0; i < saves[pri].nsaved; i = i + 1) {
cmdline_process_param(saves[pri].params[i].p,saves[pri].params[i].value,0,conf);
safefree(saves[pri].params[i].p);
safefree(sa... |
void FUN_0010a680(undefined8 param_1)
{
int local_10;
int local_c;
for (local_10 = 0; local_10 < 2; local_10 = local_10 + 1) {
for (local_c = 0; local_c < *(int *)(&DAT_00170728 + (long)local_10 * 0x10);
local_c = local_c + 1) {
FUN_0010860d(*(undefined8 *)
(*(long *)(&D... | (translation_unit "void FUN_0010a680(undefined8 param_1)\n\n{\n int local_10;\n int local_c;\n \n for (local_10 = 0; local_10 < 2; local_10 = local_10 + 1) {\n for (local_c = 0; local_c < *(int *)(&DAT_00170728 + (long)local_10 * 0x10);\n local_c = local_c + 1) {\n FUN_0010860d(*(undefined8 *)\n ... | PUSH RBP
MOV RBP,RSP
SUB RSP,0x20
MOV qword ptr [RBP + -0x18],RDI
MOV dword ptr [RBP + -0x8],0x0
JMP 0x0010a7a7
MOV dword ptr [RBP + -0x4],0x0
JMP 0x0010a76a
MOV EAX,dword ptr [RBP + -0x8]
CDQE
SHL RAX,0x4
MOV RDX,RAX
LEA RAX,[0x170720]
MOV RAX,qword ptr [RDX + RAX*0x1]
MOV EDX,dword ptr [RBP + -0x4]
MOVSXD RDX,EDX
SHL... |
void function_1(type_1 *conf)
{
type_1 *conf_local;
int var_1;
int var_2;
for (var_1 = 0; var_1 < 2; var_1 = var_1 + 1) {
for (var_2 = 0; var_2 < saves[var_1].nsaved; var_2 = var_2 + 1) {
var_3(saves[var_1].params[var_2].p,saves[var_1].params[var_2].value,0,conf);
var_4(saves[var_1].params[... | (translation_unit "void cmdline_run_saved(Conf *conf)\n\n{\n Conf *conf_local;\n int pri;\n int i;\n \n for (pri = 0; pri < 2; pri = pri + 1) {\n for (i = 0; i < saves[pri].nsaved; i = i + 1) {\n cmdline_process_param(saves[pri].params[i].p,saves[pri].params[i].value,0,conf);\n safefree(saves[pri].par... | (translation_unit "void function_1(type_1 *conf)\n\n{\n type_1 *conf_local;\n int var_1;\n int var_2;\n \n for (var_1 = 0; var_1 < 2; var_1 = var_1 + 1) {\n for (var_2 = 0; var_2 < saves[var_1].nsaved; var_2 = var_2 + 1) {\n var_3(saves[var_1].params[var_2].p,saves[var_1].params[var_2].value,0,conf);\n ... | (translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) d... |
1320_plink_and_plink_strip.c | localproxy_fromfd_find | FUN_00188d06 | localproxy_fromfd_find |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int localproxy_fromfd_find(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int a;
Local_Proxy_Socket b;
/* WARNING: Load size is inaccurate */
if (*av < *(int *)((long)bv + 0xc)) {
iVar1 = ... |
undefined8 FUN_00188d06(int *param_1,long param_2)
{
undefined8 uVar1;
if (*param_1 < *(int *)(param_2 + 0xc)) {
uVar1 = 0xffffffff;
}
else if (*(int *)(param_2 + 0xc) < *param_1) {
uVar1 = 1;
}
else {
uVar1 = 0;
}
return uVar1;
}
| (translation_unit "undefined8 FUN_00188d06(int *param_1,long param_2)\n\n{\n undefined8 uVar1;\n \n if (*param_1 < *(int *)(param_2 + 0xc)) {\n uVar1 = 0xffffffff;\n }\n else if (*(int *)(param_2 + 0xc) < *param_1) {\n uVar1 = 1;\n }\n else {\n uVar1 = 0;\n }\n return uVar1;\n}\n\n" (function_definiti... | PUSH RBP
MOV RBP,RSP
MOV qword ptr [RBP + -0x18],RDI
MOV qword ptr [RBP + -0x20],RSI
MOV RAX,qword ptr [RBP + -0x18]
MOV EAX,dword ptr [RAX]
MOV dword ptr [RBP + -0xc],EAX
MOV RAX,qword ptr [RBP + -0x20]
MOV qword ptr [RBP + -0x8],RAX
MOV RAX,qword ptr [RBP + -0x8]
MOV EAX,dword ptr [RAX + 0xc]
CMP dword ptr [RBP + -0x... |
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */
int function_1(void *av,void *bv)
{
int iVar1;
void *bv_local;
void *av_local;
int a;
type_1 b;
/* WARNING: Load size is inaccurate */
if (*av < *(int *)((long)bv + 0xc)) {
iVar1 = -1;
}
else if (*(int... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint localproxy_fromfd_find(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int a;\n Local_Proxy_Socket b;\n \n /* WARNING: Load size is inaccurate */\n if (*av < *(int *)((... | (translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nint function_1(void *av,void *bv)\n\n{\n int iVar1;\n void *bv_local;\n void *av_local;\n int a;\n type_1 b;\n \n /* WARNING: Load size is inaccurate */\n if (*av < *(int *)((long)bv + 0xc)) {\n i... | (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:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.