joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004f7e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1008d473
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100810a2
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.10086709
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.10087c25
test eax, eax
je 0x1004f8fc
mov ecx, dword [esp + 0x3c]
call fcn.10086736
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1004f8c0
push edi
mov ecx, esi
call fcn.10083d7d
mov ecx, esi
call fcn.1004faa0
cmp dword [esp + 0x38], 1
jne 0x1004f8f5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.10083eb8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10051af0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10051b23
push esi
call fcn.1005fe90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10051b1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10051ba9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10051b92
mov eax, dword [esi + 8]
test eax, eax
je 0x10051b47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10051b8e
cmp eax, 2
je 0x10051b92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10051b3a
cmp eax, 3
je 0x10051b6d
cmp eax, 1
jne 0x10051b3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10051b3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10051b3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10051bd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10051bb8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10051bd0
add esp, 4
pop esi
ret

Function at 0x10052440
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x10052461
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x10052461
mov eax, dword [eax + 0x44]
test eax, eax
je 0x10052461
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100528b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x100528bb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100529be
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x10094840]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10094840]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10094840]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10094840]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10094840]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x10094840]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x10094840]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10094840]
xor eax, edx
inc ecx
dec edi
jne 0x100528d6
pop edi
test esi, esi
je 0x100529e0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x10094840]
xor eax, edx
inc ecx
dec esi
jne 0x100529c2
pop esi
pop ebx
not eax
ret
Function at 0x10081e7d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10081eb5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1007ff4e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1007ff26
jmp 0x10081ec1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1008356b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100835ad
call fcn.10088f0a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100835ad
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100835a4
xor eax, eax
jmp 0x100835b5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100835bb
pop edi
pop esi
pop ebx
ret 4
Function at 0x408eb0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48abe0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4ad100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
cmp dword [esi + 0x60], 0
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_context.0
je 0x408f70
call fcn.00409500
mov ebx, dword [esi + 0x60]
push 0xffffffffffffffff
push 0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push dword [ebx + 8]
call edi
xor eax, eax
mov ecx, 0x4b15c4
lock xadd dword [ecx], eax
mov ecx, dword [ebx + 4]
push 0
push ecx
test eax, eax
je 0x408f3c
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
jmp 0x408f52
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.DLL_QueueUserAPC]
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebx, dword [esi + 0x60]
test ebx, ebx
je 0x408f69
push dword [ebx + 4]
call edi
push 0xc
push ebx
call fcn.0046619b
add esp, 8
mov dword [esi + 0x60], 0
lea ecx, [esi + 0x54]
call fcn.0040d6b0
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x408f8c
push eax
call edi
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x408fa3
push dword [ebx + 4]
call edi
push 0xc
push ebx
call fcn.0046619b
add esp, 8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x408fad
push eax
call edi
test byte [ebp + 8], 1
mov dword [esi], vtable.boost::asio::execution_context::service.0
je 0x408fc4
push 0x64
push esi
call fcn.0046619b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
ret 4
Function at 0x40c9d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ad100]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0
je 0x40ca8f
cmp dword [ebp + 8], 0
jne 0x40ca9f
mov ecx, dword [esi + 0x30]
push edi
call fcn.00409500
mov edi, dword [esi + 0x34]
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov ecx, 0x4b15c4
lock xadd dword [ecx], eax
mov ecx, dword [edi + 4]
push 0
push ecx
test eax, eax
je 0x40ca45
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
jmp 0x40ca5b
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.DLL_QueueUserAPC]
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edi, dword [esi + 0x34]
test edi, edi
je 0x40ca76
push dword [edi + 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0xc
push edi
call fcn.0046619b
add esp, 8
pop edi
mov dword [esi + 0x34], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
je 0x40ca9f
mov eax, dword [esi + 0x30]
xor ecx, ecx
add eax, 0x1c
xchg dword [eax], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466048
mov esp, ebp
pop ebp
ret 4
Function at 0x40d770
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x4ad100]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 1
lock xadd dword [0x4b15c8], eax
inc eax
mov ebx, 0x4b15cc
cmp eax, 1
jne 0x40d7b9
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
cmp byte [ebp + 8], 0
je 0x40d844
xor esi, esi
lock xadd dword [ebx], esi
test esi, esi
je 0x40d844
mov ecx, dword [0x4adc10]
mov eax, dword [0x4adc14]
cmp ecx, 0x257edfd1
jne 0x40d7e7
cmp eax, 0xb2ab117a
je 0x40d7f6
cmp ecx, 0x257edfd0
jne 0x40d7fa
cmp eax, 0xb2ab117a
jne 0x40d7fa
mov al, 1
jmp 0x40d80a
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push esi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x4adc08
mov dword [esp + 0xc], str.C:_vcpkginstalledx86_windowsinclude_boost_asiodetailimplwinsock_init.ipp
mov dword [esp + 0x10], str.void___cdecl_boost::asio::detail::winsock_init_base::throw_on_error_struct_boost::asio::detail::winsock_init_base::data__
mov dword [esp + 0x14], 0x48
mov dword [esp + 0x18], 0x1a
test al, 1
jne 0x40d85d
mov ecx, dword [esp + 0x1bc]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466048
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0xc]
mov edx, str.winsock
push eax
lea ecx, [esp + 0x20]
call fcn.00408310
int3

Function at 0x412050
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b808
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ad100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
push eax
call fcn.004679f4
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 1
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x4120df
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::system::system_error_.2.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::system::system_error_.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::system::system_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4166c0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ad100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
cmp ebx, 0xffffffff
je 0x416882
cmp byte [ebp + 8], 0
je 0x416722
mov al, byte [edx]
test al, 8
je 0x416722
or al, 8
xor ecx, ecx
push 4
mov byte [edx], al
lea eax, [ebp - 8]
push eax
push 0x80
push 0xffff
push ebx
mov dword [ebp - 8], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
lea ecx, [ebp - 0x18]
setne dl
call fcn.00409e80
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
mov ebx, eax
mov ecx, esi
test ebx, ebx
setne dl
call fcn.00409e80
test ebx, ebx
je 0x416870
mov esi, dword [0x4adc14]
push edi
mov edi, dword [0x4adc10]
cmp edi, 0x257edfd1
jne 0x41675c
cmp esi, 0xb2ab117a
je 0x41676c
cmp edi, 0x257edfd0
jne 0x416770
cmp esi, 0xb2ab117a
jne 0x416770
mov al, 1
jmp 0x416790
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push 0x2733
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [0x4adc14]
mov edi, dword [0x4adc10]
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x18]
movzx eax, al
add eax, 2
mov dword [ebp - 0x18], 0x2733
mov dword [ebp - 0x14], 0x4adc08
mov dword [ebp - 0x10], eax
call fcn.004165d0
test al, al
jne 0x416827
cmp edi, 0x257edfd1
jne 0x4167c6
cmp esi, 0xb2ab117a
je 0x4167d6
cmp edi, 0x257edfd0
jne 0x4167da
cmp esi, 0xb2ab117a
jne 0x4167da
mov al, 1
jmp 0x4167ee
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push 0x4d5
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 0x18]
movzx eax, al
add eax, 2
mov dword [ebp - 0x18], 0x4d5
mov dword [ebp - 0x14], 0x4adc08
mov dword [ebp - 0x10], eax
call fcn.004165d0
test al, al
jne 0x416827
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 8]
push eax
push 0x8004667e
push esi
mov dword [ebp - 8], 0
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp - 0x20]
push esi
and byte [eax], 0xfc
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0xc]
mov esi, eax
test esi, esi
setne dl
call fcn.00409e80
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
ret
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00466048
mov esp, ebp
pop ebp
ret
Function at 0x416b90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4ad100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push 0
push 0
push eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 8]
mov dword [ebp - 0xc], 0
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
mov dword [ebp - 0x14], eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [0x4adc10]
mov esi, eax
mov ecx, dword [0x4adc14]
cmp edx, 0x257edfd1
jne 0x416bf2
cmp ecx, 0xb2ab117a
je 0x416c02
cmp edx, 0x257edfd0
jne 0x416c09
cmp ecx, 0xb2ab117a
jne 0x416c09
test esi, esi
setne al
jmp 0x416c19
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push esi
mov eax, dword [eax + 0x18]
call eax
movzx ecx, al
mov ebx, 0x1ffff7
mov dword [edi], esi
mov dword [edi + 4], 0x4adc08
mov dword [ebp - 0x10], ebx
lea eax, [ecx + 2]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je 0x416c41
mov eax, esi
mov ebx, 0x4adc08
jmp 0x416c55
xor edx, edx
mov eax, 0x4adc08
div ebx
mov ebx, dword [edi + 4]
imul eax, edx, 0x3e8
add eax, esi
cmp eax, 0x40
jne 0x416cac
mov ecx, dword [0x4adc10]
mov eax, dword [0x4adc14]
cmp ecx, 0x257edfd1
jne 0x416c74
cmp eax, 0xb2ab117a
je 0x416c83
cmp ecx, 0x257edfd0
jne 0x416c90
cmp eax, 0xb2ab117a
jne 0x416c90
mov al, 1
mov dword [edi], 0x2746
jmp 0x416d12
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push 0x2746
mov eax, dword [eax + 0x18]
call eax
mov dword [edi], 0x2746
jmp 0x416d12
cmp ecx, 0xffffffff
je 0x416cb5
mov eax, esi
jmp 0x416cc4
xor edx, edx
mov eax, ebx
div dword [ebp - 0x10]
imul eax, edx, 0x3e8
add eax, esi
cmp eax, 0x4d2
jne 0x416d24
mov ecx, dword [0x4adc10]
mov eax, dword [0x4adc14]
cmp ecx, 0x257edfd1
jne 0x416ce5
cmp eax, 0xb2ab117a
je 0x416cf4
cmp ecx, 0x257edfd0
jne 0x416cf8
cmp eax, 0xb2ab117a
jne 0x416cf8
mov al, 1
jmp 0x416d0c
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push 0x274d
mov eax, dword [eax + 0x18]
call eax
mov dword [edi], 0x274d
movzx eax, al
add eax, 2
mov dword [edi + 4], 0x4adc08
mov dword [edi + 8], eax
jmp 0x416d63
cmp ecx, 0xffffffff
je 0x416d2d
mov eax, esi
jmp 0x416d3c
xor edx, edx
mov eax, ebx
div dword [ebp - 0x10]
imul eax, edx, 0x3e8
add eax, esi
cmp eax, 0x2738
je 0x416d7d
cmp ecx, 0xffffffff
jne 0x416d5b
xor edx, edx
mov eax, ebx
mov ecx, 0x1ffff7
div ecx
imul eax, edx, 0x3e8
add esi, eax
cmp esi, 0xea
je 0x416d7d
cmp dword [ebp - 0x14], 0
je 0x416d7d
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
mov eax, dword [ebp - 8]
xor ecx, ebp
movq qword [edi], xmm0
mov dword [edi + 8], 0
pop edi
pop esi
pop ebx
call fcn.00466048
mov esp, ebp
pop ebp
ret
Function at 0x4170a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ad100]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 8]
push edi
push 0
push 0
push 0
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [0x4adc10]
mov edi, eax
mov ecx, dword [0x4adc14]
cmp edx, 0x257edfd1
jne 0x4170f8
cmp ecx, 0xb2ab117a
je 0x417108
cmp edx, 0x257edfd0
jne 0x41710f
cmp ecx, 0xb2ab117a
jne 0x41710f
test edi, edi
setne al
jmp 0x41711f
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push edi
mov eax, dword [eax + 0x18]
call eax
movzx ecx, al
mov dword [esi], edi
mov dword [esi + 4], 0x4adc08
mov dword [ebp - 0xc], 0x1ffff7
lea eax, [ecx + 2]
mov dword [esi + 8], eax
cmp ecx, 0xffffffff
je 0x417146
mov eax, edi
mov edx, 0x4adc08
jmp 0x41715b
xor edx, edx
mov eax, 0x4adc08
div dword [ebp - 0xc]
imul eax, edx, 0x3e8
mov edx, dword [esi + 4]
add eax, edi
cmp eax, 0x40
jne 0x4171b2
mov ecx, dword [0x4adc10]
mov eax, dword [0x4adc14]
cmp ecx, 0x257edfd1
jne 0x41717a
cmp eax, 0xb2ab117a
je 0x417189
cmp ecx, 0x257edfd0
jne 0x417196
cmp eax, 0xb2ab117a
jne 0x417196
mov al, 1
mov dword [esi], 0x2746
jmp 0x417219
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push 0x2746
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x2746
jmp 0x417219
cmp ecx, 0xffffffff
jne 0x4171ca
mov eax, edx
mov ecx, 0x1ffff7
xor edx, edx
div ecx
imul eax, edx, 0x3e8
add edi, eax
cmp edi, 0x4d2
jne 0x417229
mov ecx, dword [0x4adc10]
mov eax, dword [0x4adc14]
cmp ecx, 0x257edfd1
jne 0x4171ec
cmp eax, 0xb2ab117a
je 0x4171fb
cmp ecx, 0x257edfd0
jne 0x4171ff
cmp eax, 0xb2ab117a
jne 0x4171ff
mov al, 1
jmp 0x417213
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push 0x274d
mov eax, dword [eax + 0x18]
call eax
mov dword [esi], 0x274d
movzx eax, al
add eax, 2
mov dword [esi + 4], 0x4adc08
mov dword [esi + 8], eax
test ebx, ebx
je 0x417241
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
mov eax, dword [ebp - 8]
xor ecx, ebp
movq qword [esi], xmm0
pop edi
mov dword [esi + 8], 0
pop esi
pop ebx
call fcn.00466048
mov esp, ebp
pop ebp
ret
Function at 0x418460
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
jne 0x418519
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
cmp edi, 4
jb 0x4184f9
mov ecx, eax
sub ecx, ebx
add ecx, 2
mov dword [ebp - 4], ecx
nop dword [eax + eax]
movzx esi, byte [ecx + ebx]
movzx ecx, byte [eax + 3]
movzx edx, byte [ebx + 3]
shl ecx, 8
or esi, ecx
shl edx, 8
movzx ecx, byte [eax]
shl esi, 0x10
or esi, ecx
movzx ecx, byte [eax + 1]
and ecx, 0xffdfdfdf
and esi, 0xdfdfdfdf
shl ecx, 8
or esi, ecx
movzx ecx, byte [ebx + 2]
or edx, ecx
movzx ecx, byte [ebx]
shl edx, 0x10
or edx, ecx
movzx ecx, byte [ebx + 1]
and ecx, 0xffdfdfdf
and edx, 0xdfdfdfdf
shl ecx, 8
or edx, ecx
cmp edx, esi
jne 0x418519
mov ecx, dword [ebp - 4]
sub edi, 4
add eax, 4
add ebx, 4
cmp edi, 4
jae 0x418490
test edi, edi
je 0x418510
sub ebx, eax
nop
mov cl, byte [ebx + eax]
xor cl, byte [eax]
test cl, 0xdf
jne 0x418519
inc eax
sub edi, 1
jne 0x418500
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c4c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48cd30
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4ad100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00466056
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004506ab
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.0043c6d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x448e60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x448e8b
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x448e74
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret