joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026e00
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns

Disassembly:
sub esp, 0x38
mov eax, dword [0x1004f970]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [0x1004fe18]
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x40]
push esi
push edi
mov dword [esp + 0xc], eax
cmp ecx, 2
je 0x10026e2d
call fcn.10026c80
xor edx, edx
cmp byte [esp + 0x50], dl
push 0
setne dl
push 0
push 0
push 0
inc edx
push edx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10026f46
lea eax, [esp + 0x14]
push ebx
push eax
call sym.log4cplusU.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_log4cplus::helpers::tostring_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
cmp dword [eax + 0x18], 0x10
jb 0x10026e6c
mov eax, dword [eax + 4]
jmp 0x10026e6f
add eax, 4
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
lea ecx, [esp + 0x14]
mov edi, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test edi, edi
je 0x10026e9a
cmp word [edi + 8], 2
jne 0x10026e9a
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp + 0x34], eax
jmp 0x10026edb
cmp dword [ebx + 0x18], 8
mov ecx, 2
mov word [esp + 0x30], cx
mov dword [esp + 0x10], 0x10
jb 0x10026eb7
mov eax, dword [ebx + 4]
jmp 0x10026eba
lea eax, [ebx + 4]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x34]
push ecx
push 0
push 2
push eax
call dword [sym.imp.WS2_32.dll_WSAStringToAddressW]
cmp eax, 0xffffffff
je 0x10026f3c
cmp dword [esp + 0x10], 0x10
jne 0x10026f3c
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [sym.imp.WS2_32.dll_connect]
mov word [esp + 0x32], ax
mov eax, 2
mov word [esp + 0x30], ax
jmp 0x10026f00
push 0x10
lea ecx, [esp + 0x34]
push ecx
push esi
call edi
cmp eax, 0xffffffff
jne 0x10026f1e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x10026f00
jmp 0x10026f46
mov edx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword [edx], 0
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10027f6a
add esp, 0x38
ret
mov eax, dword [esp + 0xc]
mov dword [eax], 2
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp esi, 0xffffffff
je 0x10026f5a
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.MSVCR90.dll__errno]
mov ecx, dword [esp + 0x40]
mov dword [eax], edi
mov eax, dword [sym.log4cplusU.dll_int_const_log4cplus::helpers::INVALID_SOCKET_VALUE]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10027f6a
add esp, 0x38
ret
Function at 0x10026ff0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0x10]
push 0
sub eax, esi
push eax
add ecx, esi
push ecx
push ebx
call ebp
cmp eax, 0xffffffff
je 0x1002702c
test eax, eax
je 0x10027025
add esi, eax
cmp esi, dword [edi + 4]
jl 0x10027004
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call dword [sym.imp.MSVCR90.dll__errno]
pop edi
mov dword [eax], esi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret

Function at 0x10027090
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
jb 0x100270a2
mov eax, dword [eax + 4]
jmp 0x100270a5
add eax, 4
push esi
push 0
push ecx
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100270ce
push edi
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
call dword [sym.imp.MSVCR90.dll__errno]
mov dword [eax], edi
pop edi
mov eax, esi
pop esi
ret

Function at 0x10027120
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, dword [sym.imp.MSVCR90.dll__errno]
cmp eax, 0xffffffff
jne 0x10027154
call edi
mov esi, eax
call ebp
mov dword [eax], esi
xor bl, bl
jmp 0x10027156
mov bl, 1
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x1002719d
call edi
mov esi, eax
call ebp
mov dword [eax], esi
xor bl, bl
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
test eax, eax
je 0x100271a5
test bl, bl
je 0x100271a5
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
test bl, bl
je 0x10027180
mov bl, 1
jmp 0x10027182
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
Function at 0x10027280
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov edi, ecx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x10027336
mov ecx, dword [edi + 4]
push 8
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x10027336
mov esi, dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
push 1
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
push ecx
push 2
call esi
cmp eax, 0xc0
ja 0x1002732f
je 0x100272c4
sub eax, ebx
je 0x100273d9
sub eax, 1
jne 0x10027336
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push edx
push eax
call fcn.10027120
mov edx, dword [edi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], 1
call sym.log4cplusU.dll_int___cdecl_log4cplus::helpers::acceptSocket_int__enum_log4cplus::helpers::SocketState__
mov esi, eax
add esp, 0x10
xor eax, eax
cmp esi, dword [sym.log4cplusU.dll_int_const_log4cplus::helpers::INVALID_SOCKET_VALUE]
jne 0x10027323
call dword [sym.imp.MSVCR90.dll__errno]
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
push esi
jmp 0x100273c2
cmp eax, 0x102
je 0x100272c4
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call ebx
mov esi, dword [sym.imp.MSVCR90.dll__errno]
mov ebp, eax
call esi
mov dword [eax], ebp
call esi
mov ebp, dword [eax]
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ebp
cmp eax, dword [sym.log4cplusU.dll_int_const_log4cplus::helpers::INVALID_SOCKET_VALUE]
je 0x100273a5
mov edx, dword [esp + 0x18]
push 0
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x1002737c
call ebx
mov ebp, eax
call esi
mov dword [eax], ebp
mov ebp, dword [esp + 0x10]
mov edi, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
push 0x8004667e
push edi
mov dword [esp + 0x1c], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x100273a5
call ebx
mov edi, eax
call esi
mov dword [eax], edi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100273b4
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
call esi
push ebp
mov dword [eax], ebp
push 1
mov ecx, dword [sym.log4cplusU.dll_int_const_log4cplus::helpers::INVALID_SOCKET_VALUE]
push ecx
mov esi, dword [esp + 0x2c]
mov ecx, esi
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::Socket::constructor_int__enum_log4cplus::helpers::SocketState__int_
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
mov ecx, dword [edi + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push edx
push eax
call fcn.10027120
add esp, 8
push ebx
push 7
jmp 0x100273bb
Function at 0x100274b0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x1002dc82
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [0x1004fe18]
cmp eax, 2
je 0x100274ee
call fcn.10026c80
push 0
push 0x400
lea ecx, [esp + 0x20]
mov ebp, str.unknown
call fcn.10027430
mov edi, dword [sym.imp.WS2_32.dll_gethostname]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov dword [esp + 0x38], 1
jmp 0x10027520
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x24]
jne 0x1002752c
call ebx
mov ecx, dword [esp + 0x24]
dec esi
push esi
push ecx
call edi
test eax, eax
je 0x1002755e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x271e
jne 0x10027596
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x24]
push 0
add edx, edx
push edx
lea ecx, [esp + 0x20]
call fcn.10023670
jmp 0x10027520
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub ecx, eax
jne 0x10027570
call ebx
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x44], 0
mov ebp, eax
je 0x10027596
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10027586
mov ebp, dword [eax]
mov esi, dword [esp + 0x40]
push ebp
push esi
call sym.log4cplusU.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_log4cplus::helpers::towstring_char_const__
add esp, 8
jmp 0x100275a4
mov esi, dword [esp + 0x40]
push ebp
push esi
call sym.log4cplusU.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_log4cplus::helpers::towstring_char_const__
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], 1
mov byte [esp + 0x38], 0
call fcn.10022f10
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x10027650
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1002dce2
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1004f970]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004f970]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
push ecx
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const___unsigned_int_]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
xor esi, esi
push eax
mov dword [esp + 0x68], esi
call sym.log4cplusU.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_log4cplus::helpers::tostring_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 8
cmp dword [esp + 0x34], 0x10
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x60], 1
jae 0x100276ca
lea ebx, [esp + 0x20]
mov edi, dword [esp + 0x30]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x18]
push ecx
mov eax, edi
sub eax, esi
push eax
mov eax, dword [esp + 0x24]
lea edx, [esi + ebx]
push edx
push eax
mov dword [esp + 0x28], 0
call ebp
test eax, eax
je 0x10027701
add esi, dword [esp + 0x14]
cmp esi, edi
jne 0x100276d4
jmp 0x10027714
push 0
push str.Win32ConsoleAppender::write_handle__WriteFile_has_failed.
call sym.log4cplusU.dll_class_log4cplus::helpers::LogLog____cdecl_log4cplus::helpers::getLogLog_void_
mov ecx, eax
call sym.log4cplusU.dll_public:_void___thiscall_log4cplus::helpers::LogLog::error_wchar_t_const___bool_const
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x60], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.10027f6a
add esp, 0x50
ret 0xc

Function at 0x10027c30
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
push eax
call sym.log4cplusU.dll_protected:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_log4cplus::Appender::formatEvent_class_log4cplus::spi::InternalLoggingEvent_const__const
cmp dword [eax + 0x18], 8
jb 0x10027c45
mov eax, dword [eax + 4]
jmp 0x10027c48
add eax, 4
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_OutputDebugStringW]

Function at 0x10027f6a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004f970]
jne 0x10027f74
repz ret
jmp fcn.10028722
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x107d1d09
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x129c2b63
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401e10
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa8]
test esi, esi
push edi
jne 0x401e3c
push str.pDiskInfo_NULL
push 0x3bd
push str.P:clientsv6TQClientdiskid32.cpp
call fcn.00403770
add esp, 0xc
mov ecx, 0xc0
xor eax, eax
mov edi, esi
xor ebx, ebx
rep stosd dword es:[edi], eax
mov ecx, 0x24
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 0x25
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x20], 2
jne 0x401f51
mov ebx, dword [esp + 0xa8]
push esi
push ebx
call fcn.00401260
add esp, 8
test eax, eax
je 0x401eb4
lea edi, [esi + 0x100]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401eb4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret
push esi
push ebx
call fcn.00401b80
add esp, 8
test eax, eax
je 0x401ee4
lea edi, [esi + 0x100]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401ee4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret
push esi
push ebx
call fcn.004015e0
add esp, 8
test eax, eax
je 0x401f14
lea edi, [esi + 0x100]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret
push esi
push ebx
call fcn.00401700
add esp, 8
test eax, eax
je 0x401f44
lea edi, [esi + 0x100]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401f44
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x94
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x94
ret
xor ebp, ebp
test ebx, ebx
jne 0x401f82
lea edi, [esi + 0x100]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x401f82
mov ecx, dword [esp + 0xa8]
push esi
push ecx
call fcn.00401d00
add esp, 8
inc ebp
cmp ebp, 0xa
mov ebx, eax
jl 0x401f53
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x94
ret
Function at 0x402010
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x404498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
lea ecx, [esp]
call fcn.00403336
mov eax, dword [0x409204]
lea ecx, [esp]
push eax
push str._sTQ.dll
push ecx
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0xc]
add esp, 0xc
push edx
call sub.MFC42.DLL_AfxLoadLibrary
test eax, eax
mov dword [0x409208], eax
je 0x402150
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UTQ_Init
push eax
call esi
mov dword [0x40920c], eax
mov eax, dword [0x409208]
push str.UTQ_SetLoginType
push eax
call esi
mov ecx, dword [0x409208]
push str.UTQ_Login
push ecx
mov dword [0x409210], eax
call esi
mov edx, dword [0x409208]
push str.UTQ_PreTransMsg
push edx
mov dword [0x409214], eax
call esi
mov dword [0x409218], eax
mov eax, dword [0x409208]
push str.UTQ_Uninit
push eax
call esi
mov ecx, dword [0x409208]
push str.UTQ_TQLogout
push ecx
mov dword [0x40921c], eax
call esi
mov edx, dword [0x409208]
push str.UTQ_IsLogin
push edx
mov dword [0x409220], eax
call esi
mov ecx, dword [0x40920c]
mov dword [0x409224], eax
test ecx, ecx
pop esi
je 0x402150
mov ecx, dword [0x409210]
test ecx, ecx
je 0x402150
mov ecx, dword [0x409214]
test ecx, ecx
je 0x402150
mov ecx, dword [0x409218]
test ecx, ecx
je 0x402150
mov ecx, dword [0x40921c]
test ecx, ecx
je 0x402150
mov ecx, dword [0x409220]
test ecx, ecx
je 0x402150
test eax, eax
je 0x402150
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xeed0e43
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, str.7B
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x37ef1f5e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x422bb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x422bd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422bd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422bc8
mov eax, 1
add ebx, ebx
jne 0x422beb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422be0
jne 0x422bfc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422be0
xor ecx, ecx
sub eax, 3
jb 0x422c10
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422c82
mov ebp, eax
add ebx, ebx
jne 0x422c1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x422c28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x422c4c
inc ecx
add ebx, ebx
jne 0x422c38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x422c2d
jne 0x422c49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422c2d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422c6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x422c5d
jmp 0x422bce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422c6c
add edi, ecx
jmp 0x422bce
pop esi
mov edi, esi
mov ecx, 0x782
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422c8a
cmp byte [edi], 7
jne 0x422c8a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x422c8f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x422d07
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x232c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x233b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422cbc
mov ecx, edi
jns 0x422ceb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x233c0]
or eax, eax
je 0x422d01
mov dword [ebx], eax
add ebx, 4
jmp 0x422cd9
call dword [esi + 0x233bc]
mov ebp, dword [esi + 0x233c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x422d3b
sub esp, 0xffffff80
jmp 0x412404
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x408932
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
sub edx, 0x6c48e02e
call fcn.00408951
xor dword [ebx], esi
sub edx, edx
add eax, edx
inc ebx
cmp ebx, edi
jne fcn.00408932
and eax, eax
dec edx
ret