joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b7d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a9fd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push str.MachineInfo.cfg
lea ecx, [esp + 0x14]
call dword [0x4ab968]
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push 0x4b9c4c
push str.Nat_Info
call esi
lea ecx, [esp + 0x10]
mov dword [edi], eax
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0
push str.nattype
push str.Nat_Info
call esi
lea ecx, [esp + 0x10]
mov dword [ebx], eax
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 0
push str.testtime
push str.Nat_Info
call esi
lea ecx, [esp + 0x10]
mov dword [ebp], eax
mov dword [esp + 0x38], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004a17d1
add esp, 0x2c
ret
Function at 0x49bcd0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x218
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x228]
push ebp
mov ebp, dword [esp + 0x230]
push esi
mov esi, dword [esp + 0x22c]
push edi
mov edi, dword [esp + 0x22c]
lea ecx, [esp + 0x10]
push ecx
push 0x4bcc1c
push 1
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x24c]
push 0
push 0x4bcc2c
mov dword [esp + 0x2c], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x49bd33
xor eax, eax
jmp 0x49bdd3
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push edi
push eax
call dword [edx + 0x50]
test esi, esi
je 0x49bd4d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x2c]
test ebx, ebx
je 0x49bd5c
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ebx
push eax
call dword [edx + 0x24]
test ebp, ebp
je 0x49bd73
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push ebp
push eax
call dword [ecx + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x4bcc3c
push eax
call dword [ecx]
test eax, eax
jl 0x49bd2c
mov ecx, dword [esp + 0x18]
push 0x104
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 2
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
test esi, esi
setge al
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x218
ret
Function at 0x49bdf0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4aa05f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push esi
mov esi, dword [esp + 0x150]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x140], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WS2_32.dll_accept
mov dword [esp + 0x160], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x49bed8
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.Startup
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x103
mov byte [esp + 0x54], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x4ad6f0
lea ecx, [esp + 0x24]
call dword [0x4ab968]
cmp edi, ebx
je 0x49becd
push edi
lea ecx, [esp + 0x24]
call dword [0x4ab968]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 1
mov byte [esp + 0x14c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x144]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x138]
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x144
ret
Function at 0x49bf30
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4aa05f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push esi
mov esi, dword [esp + 0x150]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x140], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x160], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x49c018
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.Common_Startup
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x103
mov byte [esp + 0x54], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x4ad6f0
lea ecx, [esp + 0x24]
call dword [0x4ab968]
cmp edi, ebx
je 0x49c00d
push edi
lea ecx, [esp + 0x24]
call dword [0x4ab968]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 1
mov byte [esp + 0x14c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x144]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x138]
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x144
ret
Function at 0x49c070
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4aa05f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push esi
mov esi, dword [esp + 0x150]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x140], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WS2_32.dll_accept
mov dword [esp + 0x160], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x49c158
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.Local_AppData
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x103
mov byte [esp + 0x54], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x4ad6f0
lea ecx, [esp + 0x24]
call dword [0x4ab968]
cmp edi, ebx
je 0x49c14d
push edi
lea ecx, [esp + 0x24]
call dword [0x4ab968]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 1
mov byte [esp + 0x14c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x144]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x138]
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x144
ret
Function at 0x49c1b0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4aa05f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov eax, dword [0x4cbba0]
xor eax, esp
push ebx
push esi
mov esi, dword [esp + 0x150]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x140], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.WS2_32.dll_accept
mov dword [esp + 0x160], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x49c298
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push str.AppData
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x103
mov byte [esp + 0x54], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push 0x4ad6f0
lea ecx, [esp + 0x24]
call dword [0x4ab968]
cmp edi, ebx
je 0x49c28d
push edi
lea ecx, [esp + 0x24]
call dword [0x4ab968]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 1
mov byte [esp + 0x14c], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x144]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x138]
pop ebx
xor ecx, esp
call fcn.004a17d1
add esp, 0x144
ret
Function at 0x49c820
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x4b9d04
push 1
push 0
push 0x4b9cf4
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x49c866
push esi
push str.CoCreateInstance_failed:_0x_08lx_n
jmp 0x49c89a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x49c883
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
jmp 0x49c89a
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
jge 0x49c8a3
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 8
mov eax, dword [esp + 8]
test eax, eax
je 0x49c8b1
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49c8bf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x49ce30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x4cbb1a
mov edi, 0x4cbb1e
mov ebp, 0x4cbb22
sub esi, ecx
sub edi, ecx
mov edx, 0x4cbb18
lea eax, [ecx + 2]
sub ebp, ecx
mov cl, byte [edx + 3]
xor byte [eax - 2], cl
mov cl, byte [edx + 2]
xor byte [eax - 1], cl
mov ecx, dword [edx]
mov bl, byte [eax]
sar ecx, 8
xor bl, cl
mov byte [eax], bl
mov cl, byte [edx]
xor byte [eax + 1], cl
mov cl, byte [esi + eax + 3]
xor byte [eax + 2], cl
mov cl, byte [esi + eax + 2]
xor byte [eax + 3], cl
mov ecx, dword [esi + eax]
mov bl, byte [eax + 4]
sar ecx, 8
xor bl, cl
mov byte [eax + 4], bl
mov cl, byte [esi + eax]
xor byte [eax + 5], cl
mov cl, byte [edi + eax + 3]
xor byte [eax + 6], cl
mov cl, byte [edi + eax + 2]
xor byte [eax + 7], cl
mov ecx, dword [edi + eax]
mov bl, byte [eax + 8]
sar ecx, 8
xor bl, cl
mov byte [eax + 8], bl
mov cl, byte [edi + eax]
xor byte [eax + 9], cl
mov cl, byte [eax + ebp + 3]
xor byte [eax + 0xa], cl
mov cl, byte [eax + ebp + 2]
xor byte [eax + 0xb], cl
mov ecx, dword [eax + ebp]
mov bl, byte [eax + 0xc]
sar ecx, 8
xor bl, cl
mov byte [eax + 0xc], bl
mov cl, byte [eax + ebp]
xor byte [eax + 0xd], cl
add edx, 0x10
add eax, 0x10
cmp edx, 0x4cbb58
jl 0x49ce51
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x49d740
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aa26f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov eax, dword [0x4cbba0]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
xor eax, ebp
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
movzx edx, byte [esi + 0xd]
xor eax, eax
mov ecx, 0x32
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
movzx eax, byte [esi + 0xf]
movzx ecx, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 0xc]
push ecx
movzx ecx, byte [esi + 0xb]
push edx
movzx edx, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push ecx
movzx ecx, byte [esi + 8]
push edx
movzx edx, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push ecx
movzx ecx, byte [esi + 5]
push edx
movzx edx, byte [esi + 4]
push eax
movzx eax, byte [esi + 3]
push ecx
movzx ecx, byte [esi + 2]
push edx
movzx edx, byte [esi + 1]
push eax
movzx eax, byte [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
push ecx
mov dword [esp + 0x154], 1
call dword [sym.imp.MSVCR71.dll_sprintf]
mov al, byte [ebp + 0x10]
add esp, 0x48
test al, al
je 0x49d81f
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.MSVCR71.dll__strupr]
add esp, 4
jmp 0x49d823
lea eax, [esp + 0x30]
lea ecx, [esp + 0x14]
push eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x10c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004a17d1
mov esp, ebp
pop ebp
ret

Function at 0x49d880
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x4b9ee0
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0x67452301
mov dword [eax + 0x10], 0xefcdab89
mov dword [eax + 0x14], 0x98badcfe
mov dword [eax + 0x18], 0x10325476
ret
Function at 0x4a1b71
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4bcbf0
call fcn.004a1d78
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x4a1bb1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a1bb1
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4a1bc9
cmp eax, 0x20b
je 0x4a1bb6
mov dword [ebp - 0x1c], ebx
jmp 0x4a1bdd
cmp dword [ecx + 0x84], 0xe
jbe 0x4a1bb1
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x4a1bd7
cmp dword [ecx + 0x74], 0xe
jbe 0x4a1bb1
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x4cd3d0], 0xffffffff
or dword [0x4cd3d4], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4cd388]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x4cd384]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4cd3cc], eax
call fcn.004a1e76
call fcn.004a1f16
cmp dword [0x4cbbd0], ebx
jne 0x4a1c3d
push fcn.004a1f16
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004a1f04
push 0x4ca128
push 0x4ca124
call sub.MSVCR71.dll__initterm
push 0x4a1eba
call fcn.004a1b32
mov eax, dword [0x4cd380]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4cd37c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x4a1c91
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x4ca120
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4a1d0f
cmp al, bl
je 0x4a1cbb
cmp dword [ebp - 0x20], ebx
jne 0x4a1d0f
mov al, byte [esi]
cmp al, bl
je 0x4a1ccb
cmp al, 0x20
ja 0x4a1ccb
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4a1cbb
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x4a1ce7
movzx eax, word [ebp - 0x54]
jmp 0x4a1cea
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.004a247a
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x4a1d07
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x4a1d64
cmp al, 0x22
jne 0x4a1d1e
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x4a1d31
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x4a1ca9
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004a1db3
ret