joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43be60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4814b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43be99
inc eax
mov dword [esi + 0x10], eax
jmp 0x43bfac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43bead
mov eax, 0xffffffc7
jmp 0x43bfae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43bebe
cmp dword [esi + 8], eax
jne 0x43bead
cmp dword [esi + 8], eax
jne 0x43bed7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43bed7
mov eax, 0xffffffc7
jmp 0x43bfae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43beeb
push eax
mov ecx, ebx
call fcn.0043b690
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040d900
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43bf1c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040d920
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043ae00
test eax, eax
mov dword [esp + 0x38], eax
je 0x43bf4f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8959f8
call fcn.0040db00
mov eax, dword [esp + 0x38]
jmp 0x43bfae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043bcc0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43bf93
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043bce0
mov esi, eax
test esi, esi
jne 0x43bfc3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043bcc0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43bf65
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8959f8
call fcn.0040db00
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8959f8
call fcn.0040db00
mov eax, esi
jmp 0x43bfae

Function at 0x43f0d0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43f130
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43f130
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43f130
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43f130
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43f170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x445290
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481ae8
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.004786b3
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00444c30
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.004785e1
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.00474dc2
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.00474dc2
push 1
push 0
push 0
mov ecx, esi
call fcn.00474d6a
push 1
push 0
push 1
mov ecx, esi
call fcn.00474d6a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00478725
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x445410
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481b08
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.004786b3
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00444c30
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.004785e1
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 0x4454d4
cmp dword [esp + 0x40], 1
jne 0x4454d2
cmp ecx, eax
jge 0x4454d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4454e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00445290
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.00478725
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x445c50
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x481b73
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.004731e2
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.0047895b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00479eb3
test eax, eax
je 0x445d6c
mov ecx, dword [esp + 0x3c]
call fcn.00478988
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 0x445d30
push edi
mov ecx, esi
call fcn.00475f3d
mov ecx, esi
call fcn.00445ed0
cmp dword [esp + 0x38], 1
jne 0x445d65
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.004760a7
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 0x448780
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4487b3
push esi
call fcn.0044b880
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4487ac
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 0x448839
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448822
mov eax, dword [esi + 8]
test eax, eax
je 0x4487d7
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 0x44881e
cmp eax, 2
je 0x448822
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4487ca
cmp eax, 3
je 0x4487fd
cmp eax, 1
jne 0x4487ca
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 0x4487ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4487ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00448860
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448848
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00448860
add esp, 4
pop esi
ret

Function at 0x453b30
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 0x453b96
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 0x453b96
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x453b77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x453f20
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x453f58
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x454c20
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 0x454c69
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 0x4550e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482070
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.00454c90
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00454d10
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00454d10
lea ecx, [esi + 0xc]
call fcn.00471b49
lea ecx, [esi + 0x10]
call fcn.00471b49
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004562a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004562a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004562a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00471bbe
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00471bbe
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x473fd8
Capabilities:
Get graphical window text

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

Function at 0x4756c6
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 0x475708
call fcn.0047b670
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x475708
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4756ff
xor eax, eax
jmp 0x475710
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00475716
pop edi
pop esi
pop ebx
ret 4

Function at 0x47bba0
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 0x47bbce
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47bbec
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047bb06
jmp 0x47bbec
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47bbec
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047bb06
test edi, edi
mov eax, edi
jne 0x47bbd6
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402280
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4615cc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
xor esi, esi
mov dword [esp + 0x30], esi
push ebp
mov dword [esp + 0x1c], esi
call fcn.004019c0
mov dword [esp + 0x30], esi
mov edi, 1
push 8
mov dword [esp + 0x1c], edi
mov dword [ebp], esi
mov dword [ebp + 0x14], esi
call fcn.0042a6ea
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
cmp eax, esi
je 0x4022f5
mov dword [eax], vtable.CRegistry.0
mov dword [eax + 4], SysStringLen
mov edi, eax
jmp 0x4022f7
xor edi, edi
mov byte [esp + 0x30], 0
push str.SoftwareTaobaoWangWang
lea ecx, [esp + 0x18]
call fcn.004031a0
mov dword [esp + 0x30], 2
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 4]
lea eax, [esp + 0x1c]
push eax
push 0xf003f
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x402401
mov eax, dword [esp + 0x1c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push ecx
push esi
push str.nProxyType
push eax
mov dword [edi + 4], eax
mov dword [esp + 0x34], 4
call ebx
cmp eax, esi
jne 0x40236c
mov edx, dword [esp + 0x20]
mov dword [ebp], edx
lea esi, [ebp + 4]
push edi
mov ecx, str.ProxyHost
call fcn.0041cef0
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 4]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push str.nProxyPort
push eax
mov dword [esp + 0x38], 4
call ebx
test eax, eax
jne 0x4023a9
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 8], ecx
lea esi, [ebp + 0xc]
push edi
mov ecx, str.ProxyUser
call fcn.0041cef0
lea esi, [ebp + 0x10]
push edi
mov ecx, str.ProxyPass
call fcn.0041cef0
lea edx, [esp + 0x20]
push edx
mov edx, dword [edi + 4]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.bUseLogon
push edx
mov dword [esp + 0x38], 4
call ebx
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x4023f5
mov eax, dword [esp + 0x38]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp + 0x14], ecx
jmp 0x402404
mov dword [ebp], esi
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x14]
call fcn.00403830
mov eax, ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4033f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403409
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403444
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403440
lea ebx, [ebx]
cmp esi, eax
jae 0x403444
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403430
cmp esi, eax
jb 0x40344a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x403950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4640bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.0042aeaa
mov dword [esp + 0x1c], 0
lea ebx, [esi + 0x10]
mov eax, ebx
mov dword [esi], vtable.CMemDC.0
mov dword [esp + 0xc], eax
mov dword [eax], vtable.CGdiObject.0
mov dword [eax + 4], 0
mov byte [esp + 0x1c], 1
mov dword [eax], vtable.CBitmap.0
mov byte [esp + 0x1c], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
xor ecx, ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
mov eax, dword [edi + 0xc]
test eax, eax
sete cl
mov eax, ecx
test eax, eax
mov dword [esi + 0x30], eax
je 0x403a49
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0042b33c
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
sub ecx, dword [esi + 0x20]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call fcn.0042b603
test ebx, ebx
je 0x403a26
mov ebx, dword [ebx + 4]
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.0042b688
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
push ecx
mov dword [esi + 0x18], eax
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0042afbe
jmp 0x403a5b
mov ecx, dword [edi + 0xc]
mov dword [esi + 0xc], ecx
mov edx, dword [edi + 4]
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x14
Function at 0x4072c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4614a1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 1
lea eax, [esp + 0x18]
mov esi, ecx
push eax
add esi, 0xc
lea eax, [esp + 0x38]
call fcn.0040f730
mov edi, dword [esp + 0x18]
test edi, edi
mov ebp, dword [esi + 4]
je 0x40731d
cmp edi, esi
je 0x407322
call fcn.00448ef5
mov esi, dword [esp + 0x1c]
cmp esi, ebp
je 0x40737e
test edi, edi
jne 0x407333
call fcn.00448ef5
cmp esi, dword [edi + 4]
jne 0x40733d
call fcn.00448ef5
mov esi, dword [esi + 0x10]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x40735b
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x40735b
mov ecx, dword [esp + 0x38]
mov byte [ecx], 1
mov eax, dword [esi + 4]
test eax, eax
je 0x40736c
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
jne 0x407371
call fcn.00448ef5
mov esi, dword [esi + 4]
push esi
mov ecx, ebx
call fcn.00403630
jmp 0x40738a
push 0x46c2cf
mov ecx, ebx
call fcn.004031a0
mov dword [esp + 0x14], 1
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.00403830
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc

Function at 0x4073c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462ee8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x24], 0
lea eax, [esp + 0x14]
mov esi, ecx
push eax
add esi, 0xc
lea eax, [esp + 0x30]
call fcn.0040f730
mov edi, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 4]
je 0x407415
cmp edi, esi
je 0x40741a
call fcn.00448ef5
mov esi, dword [esp + 0x18]
cmp esi, ebx
je 0x40748b
test edi, edi
jne 0x40742b
call fcn.00448ef5
cmp esi, dword [edi + 4]
jne 0x407435
call fcn.00448ef5
mov edi, dword [esi + 0x10]
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x407445
call fcn.00448ef5
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x407452
call fcn.00448ef5
cmp ebx, esi
je 0x407476
cmp ebx, dword [edi + 8]
jb 0x407460
call fcn.00448ef5
mov esi, ebp
call fcn.00407500
cmp ebx, dword [edi + 8]
jb 0x407471
call fcn.00448ef5
add ebx, 4
jmp 0x407445
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00403830
mov al, 1
jmp 0x40749e
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.00403830
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x4081b0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x460a47
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
lea ecx, [esi + 0xc]
mov dword [esi], vtable.CProxySocket.0
call fcn.00403720
xor edi, edi
mov dword [esp + 0x14], edi
lea ecx, [esi + 0x18]
call fcn.00403720
mov byte [esp + 0x14], 1
lea ecx, [esi + 0x20]
call fcn.00403720
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x24]
call fcn.00403720
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x28]
call fcn.00403720
mov byte [esp + 0x14], 4
or eax, 0xffffffff
mov dword [esi + 0x14], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x34], eax
mov dword [esp + 0x14], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x4086d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x460990
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x47f534]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [esi]
mov edx, dword [eax + 8]
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
jne 0x408735
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00403830
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0xc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push 0
push ecx
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00403630
mov byte [esp + 0x20], 1
mov eax, dword [esi]
mov byte [esp + 0x20], 0
mov eax, dword [eax + 0xc]
mov ecx, esi
call eax
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00403830
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0xc