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

Disassembly:
push 0xffffffffffffffff
push 0x46d1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00465cb0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043aee0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00465bde
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00462499
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00462499
push 1
push 0
push 0
mov ecx, esi
call fcn.00462441
push 1
push 0
push 1
mov ecx, esi
call fcn.00462441
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465d22
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b6c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00465cb0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043aee0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00465bde
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43b784
cmp dword [esp + 0x40], 1
jne 0x43b782
cmp ecx, eax
jge 0x43b784
mov eax, ecx
cmp eax, 0xc8
jge 0x43b790
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b540
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00465d22
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43bf00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d283
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.004608ba
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.00465f58
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467474
test eax, eax
je 0x43c01c
mov ecx, dword [esp + 0x3c]
call fcn.00465f85
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 0x43bfe0
push edi
mov ecx, esi
call fcn.004635e0
mov ecx, esi
call fcn.0043c180
cmp dword [esp + 0x38], 1
jne 0x43c015
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.0046371b
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 0x43ea40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ea73
push esi
call fcn.00441b40
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ea6c
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 0x43eaf9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43eae2
mov eax, dword [esi + 8]
test eax, eax
je 0x43ea97
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 0x43eade
cmp eax, 2
je 0x43eae2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ea8a
cmp eax, 3
je 0x43eabd
cmp eax, 1
jne 0x43ea8a
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 0x43ea8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ea8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043eb20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43eb08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043eb20
add esp, 4
pop esi
ret

Function at 0x449e60
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x449ec6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x449ec6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x449ea7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44aa00
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044ab50
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44aa20
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44aa01
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044ab50
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44aa20
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44aa50
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44aaa7
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44aabd
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044aae0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44aae0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44ab70
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44abb9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44b030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044abe0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044ac60
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044ac60
lea ecx, [esi + 0xc]
call fcn.0045f296
lea ecx, [esi + 0x10]
call fcn.0045f296
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044d490
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044d490
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044d490
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045f30b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045f30b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44bcd8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46d9d8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44bce8
call fcn.0044c200
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44bdcb
cmp byte [edi], 0
je 0x44bdcb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44bd0d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044aa00
test eax, eax
jne 0x44bd2d
push 0x496460
lea ecx, [esi + 0x38]
call fcn.0045f448
jmp 0x44bdcb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044aa50
test eax, eax
jne 0x44bd5c
mov ecx, esi
call fcn.0044ab50
push edi
add esi, 0x38
push 0x49643c
push esi
call fcn.0045d2a7
add esp, 0xc
jmp 0x44bdcb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044ca80
test eax, eax
je 0x44bdc4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044bea0
test eax, eax
jne 0x44bde0
push edi
lea eax, [esi + 0x38]
push 0x496418
push eax
call fcn.0045d2a7
add esp, 0xc
mov ecx, esi
call fcn.0044c200
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44be88
mov ecx, dword [0x4966d0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045d2a7
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044ab00
test eax, eax
jne 0x44be4a
push 0x4963fc
lea ecx, [esi + 0x38]
call fcn.0045f448
jmp 0x44be5a
push 0xfa
mov ecx, esi
call fcn.0044ca80
test eax, eax
jne 0x44be77
mov ecx, esi
call fcn.0044c200
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045f30b
jmp 0x44bdcb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045f30b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x4616af
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4616e7
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.0045f766
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045f73e
jmp 0x4616f3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x462d9d
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 0x462ddf
call fcn.0046891e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x462ddf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x462dd6
xor eax, eax
jmp 0x462de7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00462ded
pop edi
pop esi
pop ebx
ret 4

Function at 0x468e4e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x468e7c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x468e9a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00468db4
jmp 0x468e9a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x468e9a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00468db4
test edi, edi
mov eax, edi
jne 0x468e84
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402480
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
jae 0x402574
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, edi
call fcn.004026d0
test eax, eax
jne 0x402574
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, edi
call fcn.004026d0
test eax, eax
jne 0x402574
lea edx, [esp + 0x10]
push str.__1_
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x402545
lea eax, [esp + 0x10]
push 0x411044
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x402545
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x402548
mov byte [esi], 0
push 0x411040
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x4026d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x402732
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x402b00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40b568
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x402b9f
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402b86
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x402b86
mov dword [edi + 0x68], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0040ad9c
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x403c90
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x405690
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x40b7f6
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
lea eax, [esp + 0x20]
push ebx
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor ebx, ebx
cmp eax, ebx
jne 0x4057fd
mov ax, word [esp + 0x30]
cmp al, 2
jne 0x4057fd
xor ecx, ecx
mov cl, ah
cmp cl, al
jne 0x4057fd
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c8], ebx
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x300c]
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
lea edi, [esi + 0x300c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x34]
push edx
push ecx
push eax
mov byte [esp + 0x1dc], 1
call sub.MFC42.DLL_AfxParseURL
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0040ae38
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
or ebp, 0xffffffff
mov dword [esi + 0x3014], eax
cmp eax, ebp
je 0x4057a9
cmp byte [esi + 0x3010], bl
jne 0x4057b0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x4057a9
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [ecx]
mov edi, dword [edx]
mov word [esp + 0x20], 2
call dword [sym.imp.WS2_32.dll_htons]
push 0x32
mov word [esp + 0x22], ax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 0x3014]
lea ecx, [esp + 0x1c]
push 0x10
push ecx
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, ebp
jne 0x4057d2
mov ecx, esi
call fcn.00405db0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1c8], bl
call fcn.0040ad9c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c8], ebp
call fcn.0040ad9c
jmp 0x405810
lea ecx, [esp + 0x14]
mov byte [esi + 0x3010], 1
mov byte [esp + 0x1c8], bl
call fcn.0040ad9c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c8], ebp
call fcn.0040ad9c
mov al, 1
jmp 0x405812
push ebx
push ebx
push str.socket
call sub.MFC42.DLL_AfxMessageBox
mov ecx, esi
call fcn.00405db0
xor al, al
mov ecx, dword [esp + 0x1c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1bc
ret
Function at 0x405b60
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40b833
push eax
mov eax, 0x2c08
mov dword fs:[0], esp
call fcn.0040b120
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c20], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x2c28]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov byte [esp + 0x2c30], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c44]
mov ecx, dword [esp + 0x2c40]
add esp, 0x10
lea edx, [esp + 0x10]
push eax
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
call fcn.00405830
lea esi, [ebp + 0xc]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x18]
mov ebx, ecx
mov ecx, 0xb00
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x2c30]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jbe 0x405c3f
mov esi, dword [esp + 0x2c2c]
mov ecx, eax
mov edx, ecx
lea edi, [esp + ebx + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add ebx, eax
rep movsb byte es:[edi], byte [esi]
xor esi, esi
test ebx, ebx
jle 0x405c6e
mov edi, dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp + 0x3014]
mov eax, ebx
sub eax, esi
push 0
lea ecx, [esp + esi + 0x1c]
push eax
push ecx
push edx
call edi
test eax, eax
jle 0x405ce8
add esi, eax
cmp esi, ebx
jl 0x405c4b
mov ecx, ebp
call fcn.00405d20
lea esi, [ebp + 0x80c]
mov ecx, 0xa00
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x3014]
push 0
push 0x2800
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c20], 0
call fcn.0040ad9c
lea ecx, [esp + 0x2c28]
mov dword [esp + 0x2c20], 0xffffffff
call fcn.0040ad9c
mov eax, esi
mov ecx, dword [esp + 0x2c18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c14
ret 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c20], 0
call fcn.0040ad9c
lea ecx, [esp + 0x2c28]
mov dword [esp + 0x2c20], 0xffffffff
call fcn.0040ad9c
xor eax, eax
jmp 0x405ccd