joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ab3e0
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4d2538
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x506018]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], edi
cmp eax, 0xffffffff
je 0x4ab491
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ab491
lea esi, [eax + 0x14]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004aa210
mov eax, dword [esp + 0x10]
cmp eax, dword [esi]
je 0x4ab491
lea esi, [eax + 0x14]
test esi, esi
je 0x4ab491
cmp byte [esp + 0x34], 0
je 0x4ab466
mov ecx, dword [esi]
test ecx, ecx
je 0x4ab466
mov edx, dword [esi + 8]
test edx, edx
je 0x4ab466
mov eax, dword [ecx]
push edx
call dword [eax + 4]
cmp dword [esp + 0x28], 0
mov ebx, dword [esp + 0x30]
jne 0x4ab480
test ebx, ebx
jne 0x4ab480
push edi
call fcn.004aa1b0
add esp, 4
jmp 0x4ab4c9
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.004b1050
mov dword [esi + 8], ebx
jmp 0x4ab4c9
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
test ecx, ecx
jne 0x4ab4a1
test eax, eax
je 0x4ab4c9
push eax
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x4ab4c0
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
push edi
call fcn.004a9ad0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x4ab504
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x4ab504
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x4ab504
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4ab520
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x4ab590
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4ab54a
pop esi
xor al, al
pop ebx
ret
mov ecx, dword [esi]
mov eax, 1
push edi
add ecx, 4
lock xadd dword [ecx], eax
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x4ab56e
cmp eax, 0xffffffff
je 0x4ab56e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x4ad670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d29c4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call dword [sym.imp.MSVCP120.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi], vtable.boost::log::v2s_mt_nt6::aux::basic_ostringstreambuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea edx, [esi + 0x44]
mov dword [esi + 0x38], 0
mov ecx, esi
mov dword [esi + 0x3c], 0
sub ecx, edx
mov byte [esi + 0x40], 0
add ecx, 0x54
mov eax, dword [esi + 0x10]
mov dword [eax], edx
mov eax, dword [esi + 0x20]
mov dword [eax], edx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
push 1
push 0
push esi
lea ecx, [esi + 0x58]
mov dword [esp + 0x20], 0
call dword [sym.imp.MSVCP120.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov ecx, esi
mov byte [esp + 0x14], 1
call fcn.0047e7a0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4b0930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d22c0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [esi], vtable.boost::system::system_error.0
lea ecx, [esi + 0x14]
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.0040f5e0
mov dword [esi], vtable.boost::log::v2s_mt_nt6::system_error.0
mov dword [esi + 0x2c], vtable.boost::exception.0
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x18], 1
mov dword [esi + 0x30], ecx
test ecx, ecx
je 0x4b09c3
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.0
mov dword [esi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4b0a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d3e58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.MSVCR120.dll_public:_void___thiscall_std::exception::constructor_class_std::exception_const__]
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.0040f5e0
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.1.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4b24e0
Capabilities:
Access peb ldr_data

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x4b24e0
push 0xffffffffffffffff
push 0x4d30d9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
add ecx, 0xffffffd8
mov dword [esp + 0x28], 0x4d7160
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.004b06b0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::conversion_error__.0
mov dword [esp + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::conversion_error__.1.0
push 0x4ff584
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + eax + 0x2c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::conversion_error__.2.0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], 0
lea eax, [esp + 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x4b2590
Capabilities:
Access peb ldr_data

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x4b2590
push 0xffffffffffffffff
push 0x4d30d9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
add ecx, 0xffffffd8
mov dword [esp + 0x28], 0x4d71e4
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.004b0750
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::limitation_error__.0
mov dword [esp + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::limitation_error__.1.0
push 0x4ff738
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + eax + 0x2c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::limitation_error__.2.0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], 0
lea eax, [esp + 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3

Function at 0x4b2640
Capabilities:
Access peb ldr_data

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x4b2640
push 0xffffffffffffffff
push 0x4d30d9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
add ecx, 0xffffffd8
mov dword [esp + 0x28], 0x4d7134
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.004b07f0
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::parse_error__.0
mov dword [esp + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::parse_error__.1.0
push 0x4ff4fc
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + eax + 0x2c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::parse_error__.2.0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], 0
lea eax, [esp + 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x4b26f0
Capabilities:
Access peb ldr_data

Disassembly:
sub ecx, dword [ecx - 4]
jmp 0x4b26f0
push 0xffffffffffffffff
push 0x4d30d9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 4], 0
add ecx, 0xffffffd8
mov dword [esp + 0x28], 0x4d71b8
mov dword [esp + 0x30], vtable.boost::exception_detail::clone_base.0
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
mov dword [esp + 8], 1
call fcn.004b0890
mov eax, dword [esp + 0x28]
mov dword [esp + 8], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::setup_error__.0
mov dword [esp + 0x14], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::setup_error__.1.0
push 0x4ff6b0
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + eax + 0x2c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::setup_error__.2.0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x28], 0
lea eax, [esp + 0xc]
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x4b72d0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [eax]
cmp esi, 0xffffffff
jne 0x4b72ee
call fcn.004a8940
mov ebx, dword [esp + 0x18]
mov dword [ebx], 0x2719
jmp 0x4b7333
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 4
push dword [esp + 0x1c]
push 4
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [esp + 0x1c]
test edi, edi
pop edi
mov dword [ebx], eax
mov dword [ebx + 4], esi
jne 0x4b7336
call fcn.004a8940
mov dword [ebx], 0
mov dword [ebx + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx]
pop esi
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
pop ebx
ret 0x10

Function at 0x4b7ce0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x408
mov eax, dword [0x506040]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [esp + 0x410]
push ebp
mov ebp, dword [esp + 0x418]
push esi
push edi
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0x400
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov edi, eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp], eax
mov dword [ebp + 4], esi
test edi, edi
jne 0x4b7d8e
call fcn.004a8940
mov dword [ebp], edi
mov dword [ebp + 4], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edi
mov byte [ebx], 0
cmp byte [esp + 0x14], 0
jne 0x4b7d6f
xor eax, eax
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040f700
jmp 0x4b7d9f
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b7d76
sub eax, edx
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0040f700
jmp 0x4b7d9f
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, dword [esp + 0x414]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ba66b
add esp, 0x408
ret

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

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
push 0
push dword [esp + 0x30]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
call dword [sym.imp.WS2_32.dll_WSASendTo]
mov ebx, eax
call fcn.004a8940
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, dword [esp + 0x2c]
mov dword [edi], eax
mov dword [edi + 4], esi
cmp eax, 0x40
jne 0x4b81a5
call fcn.004a8940
mov dword [edi], 0x2746
jmp 0x4b81b7
cmp eax, 0x4d2
jne 0x4b81ba
call fcn.004a8940
mov dword [edi], 0x274d
mov dword [edi + 4], eax
test ebx, ebx
je 0x4b81c6
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ecx
ret
call fcn.004a8940
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edi], 0
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4b8e00
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d3d38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 8]
mov ecx, esi
mov dword [esp + 0x10], esi
call fcn.00474ca0
mov edi, dword [esp + 0x28]
lea ecx, [ebx + 0x18]
mov dword [esp + 0x20], 0
mov eax, dword [edi]
add eax, 4
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.004b8ac0
mov eax, dword [esp + 0x28]
mov ecx, dword [edi]
push dword [eax]
lea eax, [ecx + 4]
push eax
lea eax, [ebx + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x1c]
call fcn.004b87e0
mov dword [esp + 0x20], 0xffffffff
mov eax, accept
lock xadd dword [esi], eax
test eax, 0x40000000
jne 0x4b8eaa
cmp eax, 0x80000000
jle 0x4b8eaa
lock bts dword [esi], 0x1e
jb 0x4b8eaa
mov ecx, esi
call fcn.004109f0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 4

Function at 0x4bb500
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d3da8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x506040]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
push dword [esp + 0x78]
lea eax, [esp + 8]
push eax
call fcn.004bb4e0
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x7c], 0
push eax
call fcn.004bb4c0
add esp, 0x10
lea eax, [esp + 0x30]
push 0x50056c
push eax
call sub.MSVCR120.dll__CxxThrowException
int3
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x3e2a7246
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7dec24f3
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0xbc6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bc61a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbc607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc606a
add dl, dl
jne 0xbc6089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc60dc
xor eax, eax
add dl, dl
jne 0xbc6096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbc617d
add dl, dl
jne 0xbc60a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbc60d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbc6075
mov eax, 1
add dl, dl
jne 0xbc60ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbc60f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc60e1
sub eax, ebx
mov ebx, 1
jne 0xbc6128
mov ecx, 1
add dl, dl
jne 0xbc610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc6119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc6105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbc613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbc614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbc6136
cmp eax, 0x7d00
jae 0xbc616d
cmp eax, 0x500
jb 0xbc6168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
cmp eax, 0x7f
ja 0xbc6170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbc6075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbc619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbc6075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xd37008], 0x8088405
inc edx
mov dword [ebx + 0xd37008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cb9c
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cbcd
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cbb5
add dl, dl
jne 0x41cbd8
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cc29
xor eax, eax
add dl, dl
jne 0x41cbe5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ccc6
add dl, dl
jne 0x41cbf4
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cbff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc0a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc15
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cc1f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cbc4
mov eax, 1
add dl, dl
jne 0x41cc37
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cc42
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc2e
sub eax, ebx
mov ebx, 1
jne 0x41cc75
mov ecx, 1
add dl, dl
jne 0x41cc5b
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc66
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc52
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbc4
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cc8c
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cc97
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cc83
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cbc4
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cce7
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cbc4
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e0b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0xd2056f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e161
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e14a
test esi, esi
jbe 0x41e161
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ac
test eax, eax
jne 0x41e13c
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e161
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e119
jmp 0x41e161
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e161
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xd20576
ret