joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a984
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0x10
jb 0x45a5de
mov eax, dword [esi + 0x54]
jmp 0x45a5e1
lea eax, [esi + 0x54]
push 0x400
lea ecx, [esi + 0x74]
push ecx
push eax
mov eax, dword [esi + 0xc]
push 0x402
push dword [eax + 4]
call sub.WS2_32.dll_WSAAsyncGetHostByName
test eax, eax
mov dword [esi + 0x474], eax
jne 0x45a616
call sub.WS2_32.dll_WSAGetLastError
push 1
push eax
mov ecx, esi
call fcn.0045a50d
pop esi
ret
mov dword [esi + 4], 1
pop esi
ret
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x45a9f2
push eax
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x10], eax
je 0x45a9b8
mov ecx, dword [esi + 0xc]
push 0x3f
push 0x401
push dword [ecx + 4]
push eax
call sub.WS2_32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
jne 0x45a9c9
call sub.WS2_32.dll_WSAGetLastError
push 1
push eax
mov ecx, esi
call fcn.0045a50d
pop esi
ret
cmp dword [esi + 0x68], 0x10
jb 0x45a9d4
mov eax, dword [esi + 0x54]
jmp 0x45a9d7
lea eax, [esi + 0x54]
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esi + 0x70], eax
mov ecx, esi
pop esi
jne 0x45a9ed
jmp 0x45a5d0
jmp fcn.0045a61f
cmp eax, 3
jne 0x45a9c7
mov ecx, esi
pop esi
jmp fcn.0045a69d

Function at 0x4623e0
Capabilities:
Set global application hook

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x462388
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
mov dword [esi + 0x14], eax
jne 0x462404
xor al, al
pop esi
ret
mov dword [0x533c38], esi
mov al, 1
pop esi
ret

Function at 0x464415
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e0ee2
call fcn.004d1d50
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
inc ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], ebx
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
mov dword [esi], vtable.xl::xml::basic_xml_element_char_.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_]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], bl
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 ecx, [esi + 0x4c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 8], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4704d2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4e1adc
call fcn.004d1d50
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 8], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.xl::win32::net::asyn_http_file_event.0
mov dword [esi], method.xl::win32::net::asyn_tcp_socket_event.virtual_4
mov dword [esi + 4], 0x4fc87c
mov dword [esi + 0x14], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], 0x4fc798
mov dword [esi + 0x1c], edi
lea ebx, [esi + 0x20]
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00460ab2
mov dword [ebx], 0x4fa974
mov dword [esi + 0x30], edi
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 4
call fcn.0042f05d
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x50], edi
mov dword [esi + 0xc], edi
pop edi
mov dword [esi + 0x18], esi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x479308
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e2750
call fcn.004d1d50
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], 0x4f6ef0
mov dword [esi + 8], 0x4f6ef0
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], esi
mov dword [esi], method.xl::win32::net::asyn_tcp_socket_event.virtual_4
mov dword [esi + 4], 0x4fd378
mov dword [esi + 8], 0x4fd374
call fcn.00475a86
mov dword [ebp - 4], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 2
call fcn.00475a86
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.00475a86
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0xa4]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x12c]
mov byte [ebp - 4], 0xb
call fcn.00475a86
lea eax, [esi + 0x138]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0x14c]
mov byte [ebp - 4], 0xd
mov dword [esi + 0x148], ebx
call fcn.00475c13
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov byte [esi + 0x20], bl
mov byte [esi + 0xfc], bl
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov byte [esi + 0xfe], bl
mov dword [esi + 0x124], ebx
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x128], bl
mov byte [esi + 0xff], bl
mov byte [esi + 0xfd], bl
mov byte [esi + 0x15c], bl
mov dword [esi + 0x160], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x47cdc2
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x52e400]
xor eax, esp
push esi
mov dword [esp + 0x194], eax
lea eax, [esp + 4]
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x47cdf1
xor al, al
jmp 0x47cdf8
mov ecx, esi
call fcn.0047cc24
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.004d1da7
add esp, 0x194
ret

Function at 0x483a1a
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x84]
cmp eax, dword [esp + 0xc]
jne 0x483a54
mov ecx, dword [esi + 0x7c]
call fcn.0047384c
test al, al
je 0x483a54
push dword [esi + 0x84]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x44]
and dword [esi + 0x84], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
ret 0x10

Function at 0x48407a
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0x4840b4
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x88], eax
mov byte [esi + 0x40], bl
call fcn.0047384c
test al, al
push ebx
je 0x4840bb
push ebx
push esi
push 0x484008
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x44], eax
jne 0x4840e9
xor eax, eax
pop esi
pop ebx
ret 8
push 4
push esi
push 0x484008
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x4840b4
push ebx
push 0x1f4
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x48], eax
xor eax, eax
inc eax
jmp 0x4840b6
Function at 0x484a6a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x52e400]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], eax
je 0x484b19
cmp ebx, edi
je 0x484b19
cmp dword [ebp + 0x10], edi
jbe 0x484b19
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x484b19
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push edi
push 2
push 0x400
push esi
push 1
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
je 0x484b19
mov esi, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push 6
push dword [ebp - 0x2c]
call esi
test eax, eax
je 0x484afc
push dword [ebp - 0x38]
call fcn.004d1949
cmp eax, edi
pop ecx
mov dword [ebp - 0x34], eax
jne 0x484b2a
cmp dword [ebp - 0x30], edi
je 0x484b0b
push edi
push dword [ebp - 0x30]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [ebp - 0x2c], edi
je 0x484b19
push dword [ebp - 0x2c]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1da7
leave
ret
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
push 6
push dword [ebp - 0x2c]
call esi
test eax, eax
jne 0x484b5e
cmp dword [ebp - 0x30], edi
je 0x484b4a
push edi
push dword [ebp - 0x30]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [ebp - 0x2c], edi
je 0x484bd5
push dword [ebp - 0x2c]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
jmp 0x484bd5
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0xc]
lea eax, [edx + edx + 1]
cmp dword [ebp + 0x10], eax
jb 0x484b3b
push 8
pop ecx
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
xor ecx, ecx
cmp edx, esi
jbe 0x484bb1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
sub eax, ecx
movzx eax, byte [eax + edx - 1]
mov edi, eax
shr edi, 4
mov di, word [ebp + edi*2 - 0x28]
and eax, 0xf
mov ax, word [ebp + eax*2 - 0x28]
mov word [ebx + ecx*4], di
mov word [ebx + ecx*4 + 2], ax
inc ecx
cmp ecx, edx
jb 0x484b84
cmp dword [ebp - 0x30], esi
mov word [ebx + ecx*4], si
je 0x484bc4
push esi
push dword [ebp - 0x30]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [ebp - 0x2c], esi
je 0x484bd2
push dword [ebp - 0x2c]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
xor edi, edi
inc edi
push dword [ebp - 0x34]
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, edi
jmp 0x484b1b
Function at 0x484be5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x52e400]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
test esi, esi
mov dword [ebp - 4], eax
je 0x484c5c
test ebx, ebx
je 0x484c5c
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x484c5c
and word [ebp - 0x418], 0
push edi
xor eax, eax
mov ecx, 0x104
lea edi, [ebp - 0x416]
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.00484a6a
add esp, 0xc
test eax, eax
pop edi
je 0x484c5c
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [sym.imp.MSVCR71.dll__wcsicmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x484c5e
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1da7
leave
ret
Function at 0x487197
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, 0x4e36ee
call fcn.004d1d50
sub esp, 0x290
mov eax, dword [0x52e400]
push esi
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
mov esi, ecx
and dword [ebp - 4], 0
push 0x4ef170
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00407aea
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48720e
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], edi
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x4872c5
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_wcscmp]
lea eax, [ebp - 0x26c]
push 0x4ec848
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x487295
lea eax, [ebp - 0x26c]
push 0x4ec840
push eax
call ebx
test eax, eax
pop ecx
pop ecx
je 0x487295
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407aea
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x29c]
push eax
lea ecx, [esi + 0x2b0]
mov byte [ebp - 4], 2
call fcn.0047570e
mov eax, dword [eax]
cmp eax, dword [esi + 0x2b4]
jne 0x487288
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x298]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x487215
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], al
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 0x1c
Function at 0x487dc6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov edi, ecx
jne 0x487e03
xor ebx, ebx
cmp dword [edi + 0x5c], ebx
jne 0x487f51
cmp dword [edi + 0x28], ebx
jne 0x487f51
push ebx
push ebx
push edi
push 0x487999
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x28], eax
jmp 0x487f51
cmp dword [ebp + 0xc], 2
jne 0x487f2b
mov esi, dword [edi + 0x78]
xor ebx, ebx
jmp 0x487e8c
cmp dword [edi + 0x2a8], ebx
jne 0x487e3d
cmp dword [edi + 0x34], ebx
jne 0x487e3d
push dword [esi + 4]
push ebx
push 2
call dword [esi]
lea eax, [ebp + 0xc]
add esp, 0xc
push esi
push eax
lea ecx, [edi + 0x74]
call fcn.00485ea7
mov esi, dword [eax]
jmp 0x487e8c
push ecx
push ecx
mov eax, esp
mov dword [eax], 0x1e
mov dword [eax + 4], ebx
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00486a9f
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.0048b302
cmp al, bl
je 0x487e89
push dword [esi + 4]
push ebx
push 2
call dword [esi]
lea eax, [ebp - 4]
jmp 0x487e2c
add esi, 0x10
cmp esi, dword [edi + 0x7c]
jne 0x487e14
mov esi, dword [edi + 0x98]
jmp 0x487f1d
cmp dword [edi + 0x2a8], ebx
jne 0x487ecb
cmp dword [edi + 0x34], ebx
jne 0x487ecb
push dword [esi + 4]
push ebx
push 5
push dword [esi + 0x10]
call dword [esi]
lea eax, [ebp + 0xc]
add esp, 0x10
push esi
push eax
lea ecx, [edi + 0x94]
call fcn.0048787d
mov esi, dword [eax]
jmp 0x487f1d
push ecx
push ecx
mov eax, esp
mov dword [eax], 0x1e
mov dword [eax + 4], ebx
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00486a9f
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.0048b302
cmp al, bl
je 0x487f1a
push dword [esi + 4]
push ebx
push 5
push dword [esi + 0x10]
call dword [esi]
lea eax, [ebp - 4]
jmp 0x487eb7
add esi, 0x14
cmp esi, dword [edi + 0x9c]
jne 0x487e9c
jmp 0x487f51
cmp dword [ebp + 0xc], 3
jne 0x487f51
xor ebx, ebx
push ebx
push ebx
push edi
push 0x487999
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 3
push dword [edi + 4]
mov dword [edi + 0x28], eax
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x48833b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 8], eax
mov esi, ecx
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0xa4]
call fcn.00487fda
xor eax, eax
cmp dword [esi + 0x28], eax
jne 0x488378
push eax
push eax
push esi
push 0x487999
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
pop esi
leave
ret 8
Function at 0x488938
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4e3966
call fcn.004d1d50
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x38]
mov dword [ebp - 4], edi
mov dword [esi], 0x4fe94c
call fcn.00452ec5
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
lea eax, [esi + 0x84]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x94]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xa4]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xb4]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0xe0]
mov byte [ebp - 4], 0xa
call fcn.004885e4
lea ecx, [esi + 0x238]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x254]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x270]
mov byte [ebp - 4], 0xd
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x28c]
mov byte [ebp - 4], 0xe
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x2b0]
mov byte [ebp - 4], 0xf
call fcn.00475a86
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
inc eax
or dword [esi + 0x2ac], 0xffffffff
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x2a8], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c0], edi
mov dword [esi + 0x2c4], edi
mov dword [esi + 0x2c8], edi
mov dword [esi + 0x2cc], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x58], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x48b09f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e3e1d
call fcn.004d1d50
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], eax
call fcn.0048cd8d
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 3
call fcn.00452ec5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x48ca59
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4e408e
call fcn.004d1d50
sub esp, 0x20
mov eax, dword [0x52e400]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push 0x4ec80c
push eax
mov edi, ecx
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x48ca8f
xor al, al
jmp 0x48cadd
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.0047bd7a
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
push 1
lea ecx, [ebp - 0x2c]
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
call dword [sym.imp.MSVCR71.dll_fwrite]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x2c]
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 al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1da7
leave
ret 4

Function at 0x48ed18
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e4443
call fcn.004d1d50
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
leave
ret