joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44eae0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5c0458
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
call fcn.004cd409
push ebx
mov byte [esp + 0x3c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x44ebc1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebp, eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push esi
push 0
push ebp
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
call edi
mov al, byte [esi]
test al, al
je 0x44ebb7
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x44eba1
cmp al, 0x42
je 0x44eba1
push esi
call edi
cmp eax, 4
je 0x44eba1
push esi
call edi
cmp eax, 5
je 0x44eba1
push esi
call edi
cmp eax, 6
je 0x44eba1
push esi
call edi
test eax, eax
je 0x44eba1
push esi
call edi
cmp eax, 2
je 0x44eba1
mov eax, dword [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.004cd6c0
push 0
push esi
call fcn.004e4df8
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x44eb63
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x5f50ef
lea ecx, [esp + 0x18]
call fcn.00416360
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x44ec38
test esi, esi
jl 0x44ecbe
cmp esi, eax
jge 0x44ecbe
mov ecx, dword [esp + 0x20]
lea eax, [ecx + esi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00404e30
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x44eca7
push ecx
push edi
call fcn.004e5c45
add esp, 8
test eax, eax
sete al
test al, al
jne 0x44ecb1
mov eax, dword [esp + 0x24]
add esi, 1
cmp esi, eax
jl 0x44ebe2
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44ec5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.004cd4a7
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ec8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80004005
call fcn.00404150
mov dword [esp + 0x18], 1
jmp 0x44ec38
jmp fcn.004c700e
Function at 0x44ecd0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5c0418
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
call fcn.004cd409
push 0
mov dword [esp + 0x3c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call edi
mov esi, eax
test esi, esi
je 0x44edae
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebp, eax
push 8
push ebp
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push esi
push 0
push ebp
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
call edi
mov al, byte [esi]
test al, al
je 0x44eda4
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, edi
cmp al, 0x41
je 0x44ed8e
cmp al, 0x42
je 0x44ed8e
push esi
call edi
cmp eax, 4
je 0x44ed8e
push esi
call edi
cmp eax, 5
je 0x44ed8e
push esi
call edi
cmp eax, 6
je 0x44ed8e
push esi
call edi
test eax, eax
je 0x44ed8e
push esi
call edi
cmp eax, 2
je 0x44ed8e
mov eax, dword [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.004cd6c0
push 0
push esi
call fcn.004e4df8
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x44ed50
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x5f50ef
lea ecx, [esp + 0x1c]
call fcn.00416360
push 0x5f50ef
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.00416360
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x38], 2
mov eax, dword [ebx + 8]
xor edi, edi
test eax, eax
jle 0x44ee81
test edi, edi
jl 0x44ef06
cmp edi, eax
jge 0x44ef06
mov ecx, dword [ebx + 4]
lea eax, [ecx + edi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e30
mov eax, dword [esp + 0x24]
xor esi, esi
test eax, eax
jle 0x44ee66
nop
test esi, esi
jl 0x44ef06
cmp esi, eax
jge 0x44ef06
mov edx, dword [esp + 0x20]
lea eax, [edx + esi*4]
push eax
lea ecx, [esp + 0x18]
call fcn.00404e30
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x44eefc
mov eax, dword [esp + 0x18]
push ecx
push eax
call fcn.004e5c45
add esp, 8
test eax, eax
sete al
test al, al
jne 0x44ee73
mov eax, dword [esp + 0x24]
add esi, 1
cmp esi, eax
jl 0x44ee10
push 1
push edi
mov ecx, ebx
call fcn.004cd5fc
sub edi, 1
mov eax, dword [ebx + 8]
add edi, 1
cmp edi, eax
jl 0x44ede5
xor ecx, ecx
cmp dword [ebx + 8], ecx
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
setne cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44eeb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44eed5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004cd4a7
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80004005
call fcn.00404150
jmp fcn.004c700e
Function at 0x44f210
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x617560]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push edi
push 0x9c
lea eax, [esp + 0xc]
push 0
push eax
mov esi, 1
call fcn.004ea260
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x44f26b
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x94
call edi
test eax, eax
je 0x44f28d
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x44f28d
cmp dword [esp + 0xc], 6
jne 0x44f28d
cmp dword [esp + 0x10], esi
jne 0x44f28d
cmp byte [esp + 0xa2], 1
jne 0x44f28d
xor esi, esi
mov ecx, dword [esp + 0xa4]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e3543
add esp, 0xa0
ret
Function at 0x451530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5c4aeb
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov eax, dword [esp + 0x64]
movzx ecx, byte [eax + 0x451b7c]
jmp dword [ecx*4 + 0x451b68]

Function at 0x452141
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x2ac], 0
jne 0x4521aa
call fcn.004c9922
mov ecx, dword [eax + 4]
call fcn.004c4cd1
mov eax, dword [esi + 0x91c]
test eax, eax
mov dword [esi + 0x2b0], 0
je 0x45217f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x91c], 0
push 0
push 0
push esi
push 0x452a80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x14
mov dword [esi + 0x91c], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 7]
call fcn.00405f20
mov eax, 1
pop esi
pop ecx
ret
Function at 0x4528a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
push edi
or edi, 0xffffffff
cmp dword [esi + 0x924], edi
mov dword [esp + 4], 0
je 0x452a5b
push ebx
push ebp
jmp 0x4528c0
mov edi, 0x100000
sub edi, dword [esi + 0x8fc]
lea ebp, [esi + 0x8fc]
cmp edi, 4
jae 0x4528e3
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x452a4a
mov eax, dword [esi + 0x8f4]
mov ecx, dword [esp + 0xc]
mov ebx, 0x100000
sub ebx, eax
test ecx, ecx
jne 0x452987
cmp ebx, 4
jae 0x45292e
push ebx
push ebp
mov dword [esi + 0x8f4], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov edi, 0x100000
sub edi, dword [ebp]
mov ebx, 0x100000
cmp edi, 4
jae 0x45292e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x452a4a
mov dword [esp + 0xc], 0
mov ebp, 4
jmp 0x452940
mov eax, dword [esi + 0x8f4]
add eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x924]
add eax, dword [esi + 0x8f0]
push 0
push ebp
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x452974
cmp eax, 0xffffffff
je 0x452974
add dword [esp + 0xc], eax
sub ebp, eax
test ebp, ebp
jg 0x452940
mov eax, dword [esi + 0x8f4]
mov edx, dword [esi + 0x8f0]
mov ecx, dword [eax + edx]
mov dword [esp + 0xc], ecx
cmp ecx, edi
jle 0x452998
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x452a4a
cmp ecx, ebx
jle 0x4529df
mov edx, dword [esi + 0x8f0]
push ebx
lea edi, [esi + 0x8fc]
mov dword [eax + edx], 0xffffffff
push edi
mov dword [esi + 0x8f4], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov eax, 0x100000
sub eax, dword [edi]
cmp dword [esp + 0xc], eax
jle 0x4529db
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x452a4a
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0x8f4]
mov eax, dword [esi + 0x8f0]
mov dword [edx + eax], ecx
add dword [esi + 0x8f4], 4
lea edi, [ecx - 4]
xor ebx, ebx
test edi, edi
jle 0x452a34
mov edi, edi
mov ecx, dword [esi + 0x8f4]
mov edx, dword [esi + 0x924]
push 0
add ecx, ebx
add ecx, dword [esi + 0x8f0]
push edi
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x452a30
cmp eax, 0xffffffff
je 0x452a30
sub edi, eax
add ebx, eax
test edi, edi
jg 0x452a00
mov ecx, dword [esp + 0xc]
push ecx
lea eax, [esi + 0x8fc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [esp + 0xc], 0
or edi, 0xffffffff
cmp dword [esi + 0x924], edi
jne 0x4528c0
pop ebp
pop ebx
mov eax, dword [esi + 0x924]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x924], edi
xor eax, eax
pop edi
pop ecx
ret
Function at 0x453460
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
push esi
mov esi, dword [ebx]
push edi
xor edi, edi
test esi, esi
jle 0x45349f
mov ebp, dword [sym.imp.WS2_32.dll_send]
cmp esi, 0x320
mov eax, 0x320
jg 0x453480
mov eax, esi
mov ecx, dword [esp + 0x10]
push 0
push eax
lea eax, [edi + ebx]
push eax
push ecx
call ebp
test eax, eax
je 0x4534a8
cmp eax, 0xffffffff
je 0x4534a8
sub esi, eax
add edi, eax
test esi, esi
jg 0x453471
pop edi
pop esi
mov eax, 1
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebp
ret

Function at 0x4534b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
push esi
push edi
xor edi, edi
mov esi, 4
mov ecx, dword [esp + 0x10]
push 0
push esi
lea eax, [edi + ebx]
push eax
push ecx
call ebp
test eax, eax
je 0x453511
cmp eax, 0xffffffff
je 0x453511
sub esi, eax
add edi, eax
test esi, esi
jg 0x4534c0
mov esi, dword [ebx]
sub esi, 4
test esi, esi
jle 0x453517
mov eax, dword [esp + 0x10]
push 0
push esi
lea edx, [edi + ebx]
push edx
push eax
call ebp
test eax, eax
je 0x453511
cmp eax, 0xffffffff
je 0x453511
sub esi, eax
add edi, eax
test esi, esi
jle 0x453517
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4534e8
pop edi
pop esi
xor eax, eax
pop ebp
ret
mov eax, dword [ebx]
pop edi
pop esi
pop ebp
ret
Function at 0x458dd0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5c6448
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0xa4], ebx
jne 0x458eb6
mov eax, dword [edi + 0xc8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.004c9922
mov ecx, dword [eax + 4]
call fcn.004c4cd1
mov dword [esp + 0x18], ebx
mov esi, dword [edi + 0xbc]
call fcn.0044aac0
test eax, eax
jne 0x458e5b
lea ecx, [esp + 0xf]
mov dword [edi + 0xbc], ebx
mov dword [esp + 0x18], 0xffffffff
call fcn.00405f20
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
mov eax, dword [edi + 0xa8]
cmp eax, ebx
mov dword [edi + 0xa0], ebx
je 0x458e78
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xa8], ebx
cmp dword [edi + 0xd0], ebx
push ebx
push ebx
push edi
jne 0x458e8a
push 0x456990
jmp 0x458e8f
push 0x4592e0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x14
mov dword [edi + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0xf]
mov dword [esp + 0x18], 0xffffffff
call fcn.00405f20
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x46e120
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c1568
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
cmp dword [edi], 0xffffffff
je 0x46e32c
mov esi, dword [ebp + 8]
cmp dword [esi + 0x3e68], 0
jne 0x46e17b
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [esi + 0xa3ac]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi]
imul eax, eax, 0x64
cmp dword [eax + esi + 0x3e78], 0
lea ebx, [eax + esi + 0x3e74]
je 0x46e1b6
cmp dword [ebx + 8], 0
je 0x46e1b6
mov ecx, dword [esi + 0x3e64]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
push ebx
call eax
xor edx, edx
mov dword [ebx], edx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x60], edx
add dword [esi + 0x3e6c], 0xffffffff
mov eax, dword [edi]
cmp eax, dword [esi + 0x3e70]
jne 0x46e204
add eax, 0xffffffff
mov ecx, eax
imul ecx, ecx, 0x64
cmp dword [ecx + esi + 0x3e74], edx
lea ecx, [ecx + esi + 0x3e74]
jne 0x46e1fe
lea esp, [esp]
cmp eax, edx
jl 0x46e1fe
sub ecx, 0x64
sub eax, 1
cmp dword [ecx], edx
je 0x46e1f0
mov dword [esi + 0x3e70], eax
mov edx, dword [esi + 0x3e44]
add edx, 0xa28
shl edx, 4
add edx, esi
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0046f500
mov dword [esp + 0x38], 0
mov eax, dword [esi + 0x3e70]
cmp eax, 0xffffffff
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
jne 0x46e242
mov eax, 1
jmp 0x46e258
test edi, edi
jne 0x46e24a
xor ecx, ecx
jmp 0x46e251
mov ecx, ebx
sub ecx, edi
sar ecx, 4
xor edx, edx
div ecx
add eax, 1
add eax, 0xffffffff
cmp dword [esi + 0x3e4c], eax
jle 0x46e26d
mov dword [esi + 0x3e4c], 0
mov eax, dword [esi + 0xa3dc]
test eax, eax
jl 0x46e2a2
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ecx]
jne 0x46e2ee
call fcn.0046d650
mov edx, dword [esi + 0x20]
push 1
push 0
push edx
mov dword [esi + 0xa3dc], 0xffffffff
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.0046d610
jmp 0x46e2ee
test edi, edi
jne 0x46e2aa
xor eax, eax
jmp 0x46e2b1
mov eax, ebx
sub eax, edi
sar eax, 4
mov ecx, dword [esi + 0x3e4c]
mov edx, dword [ebp + 0xc]
imul ecx, eax
mov eax, dword [edx]
sub eax, ecx
js 0x46e2ee
test edi, edi
je 0x46e2ee
sub ebx, edi
sar ebx, 4
cmp eax, ebx
jae 0x46e2ee
mov edi, eax
lea esi, [esp + 0x1c]
call fcn.0046f780
push 1
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x3e48]
mov edi, dword [ebp + 0xc]
cmp edx, dword [edi]
jne 0x46e312
lea ebx, [esp + 0x14]
mov dword [edi], 0xffffffff
mov dword [esp + 0x14], 0xffffffff
call fcn.0046da90
mov eax, dword [esp + 0x18]
push eax
mov dword [edi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x1c]
call fcn.0046f5f0
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46fcb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5be168
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.CPen.0
mov dword [esp + 0x38], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x20]
call fcn.004cd130
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
call fcn.004cd208
mov ecx, dword [esi + 4]
push 0xd
mov dword [esp + 0x18], eax
call fcn.004cc799
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x90]
cmp dword [eax + 8], 0
jle 0x46fe45
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esi + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [esi + 0x28], edx
mov edx, dword [eax]
mov eax, dword [eax + 4]
push eax
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004ccb72
mov ecx, dword [esi + 0x90]
xor edi, edi
cmp dword [ecx + 8], edi
jle 0x46fdd5
test edi, edi
mov eax, dword [esi + 0x90]
jl 0x46fe45
cmp edi, dword [eax + 8]
jge 0x46fe45
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
lea ebx, [edi*8]
mov edx, dword [eax + ebx]
add eax, ebx
mov eax, dword [eax + 4]
push eax
push edx
call fcn.004cc862
mov eax, dword [esi + 0x90]
cmp edi, dword [eax + 8]
jge 0x46fe45
mov eax, dword [eax + 4]
mov edx, dword [eax + ebx]
mov ecx, dword [esi + 4]
add eax, ebx
mov eax, dword [eax + 4]
push eax
push edx
call fcn.004cc862
mov edx, dword [esi + 0x90]
add edi, 1
cmp edi, dword [edx + 8]
jl 0x46fd70
mov ecx, dword [esi + 0x90]
lea eax, [edi - 1]
test eax, eax
jl 0x46fe45
cmp eax, dword [ecx + 8]
jge 0x46fe45
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax*8]
lea eax, [ecx + eax*8]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push edx
call fcn.004cc862
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push edx
call fcn.004cd208
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 4]
push eax
call fcn.004cc799
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CGdiObject.0
call fcn.004cd183
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jmp fcn.004c700e
Function at 0x470410
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5be0d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], vtable.CPen.0
mov dword [esp + 0x38], edi
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x28]
call fcn.004cd130
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x24]
push eax
call fcn.004cd208
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x20]
push eax
call edx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x10]
push eax
call fcn.004cc76b
mov esi, dword [ebx + 0x90]
mov eax, dword [esi + 8]
cmp eax, edi
mov dword [esp + 0x14], eax
jge 0x4704b1
call fcn.004c700e
lea edi, [eax + 1]
call fcn.00470660
mov eax, dword [esp + 0x14]
mov esi, dword [esi + 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + eax*8], ecx
mov dword [esi + eax*8 + 4], edx
mov eax, dword [ebx + 0x90]
mov ecx, dword [eax + 8]
add ecx, 0xffffffff
js 0x4704ac
cmp ecx, dword [eax + 8]
jge 0x4704ac
mov eax, dword [eax + 4]
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
mov dword [ebx + 0x24], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebx + 4]
push 0xd
mov dword [ebx + 0x28], edx
call fcn.004cc799
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 4]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004ccb72
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 4]
push edx
push eax
call fcn.004cc862
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 4]
call fcn.004cd208
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 4]
push edx
call fcn.004cc76b
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x2c]
push edx
call eax
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CGdiObject.0
call fcn.004cd183
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x470ea0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bdef0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], vtable.CPen.0
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], vtable.CBrush.0
mov byte [esp + 0x48], 1
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 4]
push eax
call fcn.004cc799
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebp, eax
mov eax, dword [edi + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x2c]
call fcn.004cd130
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 4]
call fcn.004cd208
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0xa8]
mov dword [esp + 0x34], edx
mov ebx, eax
mov eax, dword [edi + 0xac]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
push eax
lea ecx, [esp + 0x24]
call fcn.004cd130
lea esi, [esp + 0x20]
call fcn.00475a30
mov ecx, dword [edi + 4]
mov eax, esi
push eax
call fcn.004cd208
mov ecx, dword [edi + 0x10]
push ecx
mov ecx, dword [edi + 4]
mov esi, eax
call fcn.004cc76b
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x20]
push eax
call edx
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x2c]
push ecx
push eax
mov eax, dword [edi + 0x28]
push eax
mov eax, dword [edi + 0x24]
push eax
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
mov ecx, dword [edi + 4]
push esi
call fcn.004cd208
mov ecx, dword [edi + 4]
push ebx
call fcn.004cd208
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [edi + 4]
call fcn.004cc76b
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov ecx, dword [edi + 4]
push ebp
call fcn.004cc799
mov byte [esp + 0x48], 0
mov esi, vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004cd183
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], esi
call fcn.004cd183
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret