joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ba794
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x5ba7bc
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x5ba7cd
push 2
call edi
test ax, ax
jge 0x5ba7cd
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.005aedf7
cmp dword [esi + 0x30], ebx
jne 0x5ba8a7
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.005aedf7
cmp eax, dword [esp + 0x34]
jne 0x5ba8a7
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x5ba843
push 1
push pe_nt_image_headers32
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x5ba888
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x5ba8a7
cmp eax, 0x205
je 0x5ba8a7
cmp eax, 0x201
je 0x5ba8a7
cmp eax, 0x204
je 0x5ba8a7
cmp eax, ebx
jne 0x5ba86e
cmp dword [esp + 0x1c], 0x1b
je 0x5ba8a7
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x73c2a8]
jbe 0x5ba89d
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x5ba800
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x405810
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 0x405829
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405864
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x405860
lea ebx, [ebx]
cmp esi, eax
jae 0x405864
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405850
cmp esi, eax
jb 0x40586a
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 0x40fd80
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x18
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40fdea
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x40fdea
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x40fdea
mov ecx, dword [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor eax, eax
add esp, 0x18
ret 4
Function at 0x413b10
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x5737f4]
cmp byte [eax + 0x108], 0
je 0x413b43
cmp dword [0x5737dc], 0
jbe 0x413b43
push 0
push 0
push 0
push 0x44ea10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret 8
Function at 0x41b910
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebp
xor ebp, ebp
cmp edi, ebp
je 0x41b989
cmp byte [edi], 0
je 0x41b989
cmp esi, ebp
je 0x41b989
push ebx
push esi
mov dword [esp + 0xc], ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x14]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push ebp
push 2
push ebp
push ebp
push ebp
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x41b972
add ebx, 1
push ebx
push esi
push 1
push eax
mov eax, dword [esp + 0x18]
push 0x529b37
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41b972
mov ebp, 1
mov eax, dword [esp + 8]
test eax, eax
pop ebx
je 0x41b982
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
pop ebp
add esp, 8
ret
push 0x80070057
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebp
add esp, 8
ret

Function at 0x41b9a0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x150
mov eax, dword [0x5566e0]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
lea ecx, [esp + 0xc]
push ecx
push str..rec
push bind
mov dword [esp + 0x14], 0x41
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x41b9f5
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.004e0b83
add esp, 0x150
ret
cmp byte [esp + 8], 0
je 0x41b9dd
lea eax, [esp + 8]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x41ba03
mov edx, dword [str.DefaultIcon]
mov ecx, dword [0x52b794]
mov dword [eax], edx
mov edx, dword [0x52b798]
mov dword [eax + 4], ecx
mov cl, byte [0x52b79c]
mov dword [eax + 8], edx
lea edx, [esp + 0x4c]
mov byte [eax + 0xc], cl
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x41ba38
lea eax, [esp + 0x4c]
add eax, 0xffffffff
jmp 0x41ba50
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x41ba50
mov edx, dword [str.____0]
mov cx, word [0x52b7a4]
mov dword [eax], edx
push 0x105
lea edx, [esp + 0x50]
push edx
mov word [eax + 4], cx
push 1
lea eax, [esp + 0x14]
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0
mov esi, eax
push 0
neg esi
push 0x2000
sbb esi, esi
push 0x8000000
add esi, 1
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x150]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e0b83
add esp, 0x150
ret
Function at 0x423950
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x5566e0]
xor eax, esp
mov dword [esp + 0x10c], eax
push 0
push 0x529b37
mov ecx, esi
call fcn.00405170
lea eax, [esp]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
mov dword [esp + 0x10], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push str.ProcessorNameString
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0xc]
push eax
push 0x52989c
push esi
call fcn.00405670
mov ecx, dword [esp + 0x118]
add esp, 0xc
xor ecx, esp
xor eax, eax
call fcn.004e0b83
add esp, 0x110
ret
Function at 0x4239f0
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0xf8
mov eax, dword [0x5566e0]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push edi
push 0
push 0x529b37
mov ecx, esi
call fcn.00405170
push 0x9c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004e9730
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x9c
call edi
mov ebx, eax
test ebx, ebx
jne 0x423a5a
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0x94
call edi
test eax, eax
je 0x423c5e
mov eax, dword [esp + 0x20]
sub eax, 0
je 0x423c52
sub eax, 1
je 0x423bda
sub eax, 1
jne 0x423c5e
cmp dword [esp + 0x14], 4
ja 0x423a8c
push str.Microsoft_Windows_NT
mov ecx, esi
call fcn.0041ab20
mov edi, 5
cmp dword [esp + 0x14], edi
jne 0x423ac3
cmp dword [esp + 0x18], 0
jne 0x423ab0
push str.Microsoft_Windows_2000
mov ecx, esi
call fcn.0041ab20
cmp dword [esp + 0x14], edi
jne 0x423ac3
cmp dword [esp + 0x18], 1
jne 0x423ac3
push str.Microsoft_Windows_XP
mov ecx, esi
call fcn.0041ab20
test ebx, ebx
je 0x423b32
mov al, byte [esp + 0xaa]
cmp al, 1
jne 0x423af5
test dword [esp + 0xa8], 0x200
mov ecx, esi
je 0x423aeb
push str.Personal
jmp 0x423c59
push str.Professional
jmp 0x423c59
cmp al, 3
jne 0x423c5e
mov al, byte [esp + 0xa8]
test al, al
jns 0x423b12
push str.DataCenter_Server
jmp 0x423c57
test al, 2
je 0x423b28
push str.Advanced_Server
call fcn.004e343e
add esp, 4
jmp 0x423c5e
push str.Server
jmp 0x423c57
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetControlProductOptions
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xb0]
push edx
push 0
push 0
push str.ProductType
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea edx, [esp + 0xac]
push edx
push str.WINNT
call edi
test eax, eax
jne 0x423b9c
push str.Professional
mov ecx, esi
call fcn.0041ab20
lea eax, [esp + 0xac]
push eax
push str.LANMANNT
call edi
test eax, eax
jne 0x423bbc
push str.Server
call fcn.004e343e
add esp, 4
lea ecx, [esp + 0xac]
push ecx
push str.SERVERNT
call edi
test eax, eax
jne 0x423c5e
push str.Advanced_Server
jmp 0x423c57
mov edi, 4
cmp dword [esp + 0x14], edi
jne 0x423c5e
cmp dword [esp + 0x18], 0
jne 0x423c17
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.0041ab20
mov al, byte [esp + 0x25]
cmp al, 0x43
je 0x423c04
cmp al, 0x42
jne 0x423c11
push str.OSR2
call fcn.004e343e
add esp, 4
cmp dword [esp + 0x14], edi
jne 0x423c5e
cmp dword [esp + 0x18], 0xa
jne 0x423c44
push str.Microsoft_Windows_98
mov ecx, esi
call fcn.0041ab20
cmp byte [esp + 0x25], 0x41
jne 0x423c3e
push 0x52cf8c
call fcn.004e343e
add esp, 4
cmp dword [esp + 0x14], edi
jne 0x423c5e
cmp dword [esp + 0x18], 0x5a
jne 0x423c5e
push str.Microsoft_Windows_Me
jmp 0x423c57
push str.Microsoft_Win32s
mov ecx, esi
call fcn.0041ab20
mov ecx, dword [esp + 0xfc]
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004e0b83
add esp, 0xf8
ret
Function at 0x423c80
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x5137f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0x529b37
mov ecx, esi
call fcn.00405170
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x423ccc
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
push ecx
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x24]
shr edx, 0x14
push edx
push 0x529a7c
push esi
call fcn.00405670
add esp, 0xc
push 2
push 0x52cfbc
mov ecx, esi
call fcn.0041b2d0
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 0x423d3f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret

Function at 0x423d60
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x5137f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0
push 0x529b37
mov ecx, esi
call fcn.00405170
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x423dac
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
push ecx
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [esp + 0x18]
shr edx, 0x14
push edx
push 0x529a7c
push esi
call fcn.00405670
add esp, 0xc
push 2
push 0x52cfbc
mov ecx, esi
call fcn.0041b2d0
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 0x423e1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x34
ret
Function at 0x430c60
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51223b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x5566e0]
xor eax, esp
mov dword [esp + 0x2a0], eax
push ebx
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x2b8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
call fcn.004c2ca4
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x430cc2
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x202
mov dword [esp + 0x2c8], edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, edi
je 0x430d33
mov ebx, dword [ebx + 0x298]
push 0x52e204
push ebx
call fcn.004e3135
mov dword [esp + 0x2c8], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430d2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x430e48
push 0x100
lea ecx, [esp + 0x1b0]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x430ced
lea ecx, [esp + 0x1ac]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
cmp esi, edi
je 0x430e15
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x18]
push 0x52989c
push edx
call fcn.00405670
mov eax, dword [ebx + 0x2a4]
add esp, 0xc
add ebx, 0x29c
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebx
call fcn.004cad09
lea ecx, [esp + 0x14]
call fcn.00405110
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add edx, dword [eax]
cmp edx, dword [esi]
jae 0x430e01
mov eax, dword [eax + edi*4 + 4]
mov ecx, dword [eax]
add edi, 1
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea edx, [esp + 0x18]
push 0x52989c
push edx
call fcn.00405670
mov eax, dword [ebx + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebx
call fcn.004cad09
lea ecx, [esp + 0x14]
call fcn.00405110
movsx edx, word [esi + 0xa]
mov eax, dword [esi + 0xc]
add edx, dword [eax + edi*4]
cmp edx, dword [esi]
jb 0x430db3
test edi, edi
jne 0x430e15
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
add ecx, 0x298
push eax
call fcn.00404e60
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dword [esp + 0x2c0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430e46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x2b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a0]
xor ecx, esp
call fcn.004e0b83
mov esp, ebp
pop ebp
ret
Function at 0x43a1d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50fd18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.004cd8a7
push eax
lea ecx, [esp + 0x30]
call fcn.004ca57a
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.004cd8a7
mov ecx, eax
call fcn.004ca22d
cmp dword [esi + 0x130], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x43a2f1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x12c]
call fcn.004ca4e7
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x13c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.004ca7ae
test edi, edi
je 0x43a2ab
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x130]
push edi
push eax
call fcn.004ca833
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x144], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x130]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x12c]
test edx, edx
je 0x43a30e
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004ca5ce
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x43b470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x511333
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.004c9fd9
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x24], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x43b53b
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004ca4e7
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.004ca7ae
test ebp, ebp
je 0x43b519
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.004ca833
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004ca0ed
jmp 0x43b54d
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4

Function at 0x43f750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50fce8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push esi
lea ecx, [esp + 0x18]
call fcn.004ca57a
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004c9d3d
mov ecx, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
call edx
push eax
lea ecx, [esp + 0x18]
call fcn.004ca886
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
test byte [esi + 0x64], 4
je 0x43f7d8
add dword [edi], 0xe
push ebx
lea ecx, [esp + 0x18]
call fcn.004c9d6e
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.004ca5ce
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret 8
Function at 0x44ced0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5188db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [0x5737f4]
push esi
call fcn.0044ef00
cmp byte [edi + 0x108], 0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
je 0x44cf32
cmp dword [0x5737dc], 0
jbe 0x44cf32
push 0
push 0
push 0
push 0x44ea10
push 0
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x5737dc]
xor ecx, ecx
add eax, 2
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c1fc6
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0
call fcn.00445d10
mov edi, eax
lea ebp, [edi + 0x10]
push ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x18
call fcn.004c1f9b
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x20], 0
je 0x44cf9b
mov edi, dword [edi + 8]
push eax
mov ecx, edi
call fcn.004457b0
mov edi, eax
jmp 0x44cf9d
xor edi, edi
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
test al, al
je 0x44d005
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov ebp, eax
push ebp
call fcn.004e1dc4
add esp, 4
push eax
mov ecx, 0x55903c
call fcn.004e1a0c
test al, al
je 0x44cfeb
cmp dword [ebp + 0xdc4], 0
je 0x44cfeb
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [ecx + eax*4], ebp
add dword [esi + 0xc], 1
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
test al, al
jne 0x44cfb2
mov ebp, dword [esp + 0x10]
mov eax, edi
call fcn.00445840
push edi
call fcn.004c1fcb
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0
push esi
push 0x44e0b0
push 0
push 0
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push 0
push 0
push esi
push 0x44e610
push 0
push 0
call ebx
push eax
call edi
push 0
push 0
push esi
push 0x44d6f0
push 0
push 0
call ebx
push eax
call edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x14
ret