joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424df0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x424f55
cmp dword [eax + 0x21c], 0
je 0x424e3f
push ebx
push esi
push edi
push eax
call fcn.004251a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 0x10
push 0x104
add eax, 0xc
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0047d3b1
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00478bb1
add esp, 0x1c
lea eax, [ebp - 0x20c]
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x424f55
test edi, edi
je 0x424f55
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x424f26
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
push 0
push eax
mov dword [esi], eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp dword [ebx], 0
jne 0x424ed3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424f47
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
push ecx
push dword [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424f26
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x218]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx]
test ecx, ecx
je 0x424f3f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx], 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472961
mov esp, ebp
pop ebp
ret 0x10

Function at 0x42a5c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc04
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x404]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a5e0
lea ecx, [ebp + 0xc]
sub eax, edx
push ecx
push 0
push dword [ebp + 8]
sar eax, 1
push eax
lea eax, [ebp - 0x404]
push 0x200
push eax
call fcn.00404380
push dword [eax + 4]
push dword [eax]
call fcn.0047bb85
mov eax, dword [0x4c57f8]
mov ecx, eax
inc eax
mov dword [0x4c57f8], eax
lea eax, [ebp - 0x404]
push eax
push ecx
lea eax, [ebp - 0xc04]
push str.__d__s
push eax
call fcn.00419320
add esp, 0x30
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret
Function at 0x432d30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov di, word [ebp + 8]
and eax, 0x8000
movzx edx, di
add edx, 0xfffffffd
cmp edx, 0x17
ja case.0x432d61.4
movzx ecx, byte [edx + 0x432ed0]
jmp dword [ecx*4 + 0x432eb8]
test dword [esi + 0xdf8], 0x800
jne 0x432eab
test eax, eax
jne 0x432eab
mov eax, dword [esi + 0xe10]
cmp eax, dword [esi + 0xe14]
jne 0x432db9
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.00432390
mov eax, dword [esi + 0xe14]
test eax, eax
je 0x432da4
dec eax
push eax
push dword [esi + 0xe10]
mov ecx, esi
call fcn.00432390
mov ecx, esi
call fcn.00432030
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test byte [esi + 0xdf8], 0x20
jne 0x432eab
mov eax, dword [esi]
push esi
call dword [eax + 0x1c0]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xdf8], 0x800
jne 0x432eab
mov eax, dword [esi]
push esi
call dword [eax + 0x1bc]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xdf8], 0x820
jne 0x432eab
mov eax, dword [esi]
push esi
call dword [eax + 0x1c8]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xdf8], 0x800
jne 0x432eab
mov ecx, esi
call fcn.00433620
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xdf8]
test eax, 0x2000
je 0x432e7d
cmp di, 0x30
jb 0x432e77
cmp di, 0x39
jbe 0x432e7d
cmp di, 0x2d
jne 0x432eab
test eax, 0x800
jne 0x432eab
cmp di, 0x20
jb 0x432eab
cmp di, 0x7f
je 0x432eab
xor eax, eax
mov word [ebp - 8], di
push 1
mov word [ebp - 6], ax
mov ecx, esi
push 1
lea eax, [ebp - 8]
push eax
push 1
call fcn.00433120
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x432f20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push edi
mov eax, dword [ecx + 0xe10]
mov edi, dword [ecx + 0xe14]
cmp eax, edi
mov ecx, edi
cmovl ecx, eax
cmovg edi, eax
mov dword [ebp - 4], ecx
cmp edi, ecx
je 0x432fb2
sub edi, ecx
push ebx
add edi, edi
push esi
lea eax, [edi + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp - 4]
push edi
mov ecx, dword [ecx + 0xdd8]
lea ecx, [ecx + eax*2]
push ecx
push esi
call fcn.00474c90
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
push dword [eax + 0xc38]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x4336f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
mov ecx, 0x8000
test cx, ax
jne 0x4338b6
push edi
push 0x10
call esi
mov edi, eax
push 0x11
and edi, 0x8000
call esi
mov ecx, dword [ebp + 0xc]
mov edx, eax
add ecx, 0xffffffdd
and edx, 0x8000
cmp ecx, 0xb
ja case.0x433734.38
jmp dword [ecx*4 + 0x4338bc]
mov ecx, dword [ebp + 8]
push edi
test edx, edx
je 0x43374e
call fcn.00432c50
pop edi
pop esi
pop ebp
ret 0x10
call fcn.00432b30
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edi
test edx, edx
je 0x43376c
call fcn.00432cc0
pop edi
pop esi
pop ebp
ret 0x10
call fcn.00432bc0
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.00432c10
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, dword [ebp + 8]
push edx
push edi
call fcn.00432b70
pop edi
pop esi
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
test dword [esi + 0xdf8], 0x800
jne case.0x433734.38
test edi, edi
je 0x4337b6
test edx, edx
jne case.0x433734.38
mov eax, dword [esi + 0xe10]
cmp eax, dword [esi + 0xe14]
je 0x4337db
mov eax, dword [esi]
push esi
test edi, edi
je 0x433877
call dword [eax + 0x1c8]
pop edi
pop esi
pop ebp
ret 0x10
mov ecx, esi
push 0
push 0xffffffffffffffff
test edi, edi
je 0x433819
call fcn.00432390
mov eax, dword [esi + 0xe14]
test eax, eax
je 0x4337f5
dec eax
push eax
push dword [esi + 0xe10]
mov ecx, esi
call fcn.00432390
mov ecx, esi
call fcn.00432030
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je 0x433866
call fcn.00432390
cmp dword [esi + 0xddc], 0xffffffff
jne 0x43383d
push dword [esi + 0xdd8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esi + 0xddc], eax
push dword [esi + 0xddc]
mov ecx, esi
push dword [esi + 0xe10]
call fcn.00432390
mov ecx, esi
call fcn.00432030
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
pop esi
pop ebp
ret 0x10
call fcn.00432390
push 1
mov ecx, esi
call fcn.00432bc0
mov eax, dword [esi]
push esi
call dword [eax + 0x1c4]
pop edi
pop esi
pop ebp
ret 0x10
test edi, edi
je 0x4338a5
mov ecx, dword [ebp + 8]
test dword [ecx + 0xdf8], 0x800
jne case.0x433734.38
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1bc]
pop edi
pop esi
pop ebp
ret 0x10
test edx, edx
je case.0x433734.38
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c0]
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x433c80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test dword [esi + 0xdf8], 0x800
jne 0x433cf8
push edi
push dword [esi + 0xc38]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x433cd6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 1
push 1
push eax
push 1
mov ecx, esi
call fcn.00433120
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
ret 4
test byte [esi + 0xdf8], 0x20
je 0x433cf1
push 1
push 1
push 0x4a3788
push 1
mov ecx, esi
call fcn.00433120
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
ret 4

Function at 0x437a70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x437b58
cmp ecx, dword [edi + 0x11d4]
jge 0x437b58
mov eax, dword [edi + 0x11e4]
push ebx
mov ebx, dword [eax + ecx*4]
test ebx, ebx
je 0x437b57
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
and eax, 0x8000
push 0x11
mov dword [ebp - 4], eax
call esi
and eax, 0x8000
cmp dword [edi + 0x11cc], 0
je 0x437b10
cmp dword [ebp - 4], 0
jne 0x437aee
test eax, eax
je 0x437b10
cmp dword [ebx + 0xc], 0
mov ecx, ebx
je 0x437b48
push 1
mov dword [ebx + 0xc], 0
call fcn.004571a0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.00436fd0
cmp eax, 0xffffffff
je 0x437b46
push esi
push eax
mov ecx, edi
call fcn.00437b60
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
xor esi, esi
cmp dword [edi + 0x11d4], esi
jle 0x437b46
nop word [eax + eax]
mov eax, dword [edi + 0x11e4]
mov ecx, dword [eax + esi*4]
cmp dword [ecx + 0xc], 0
je 0x437b3d
push 1
mov dword [ecx + 0xc], 0
call fcn.004571a0
inc esi
cmp esi, dword [edi + 0x11d4]
jl 0x437b20
mov ecx, ebx
push 4
mov dword [ebx + 0xc], 1
call fcn.004571a0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x443f60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov eax, dword [edi]
call dword [eax + 0x54]
push 2
push edi
mov esi, eax
call fcn.00418340
push 1
push edi
call fcn.00417ce0
cmp esi, 4
jne 0x443fac
push 5
push 0
push 0
lea eax, [edi + 0xcb0]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0x21
mov ecx, edi
call fcn.00416cd0
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x443fc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push 5
push 0
push 0
add eax, 0xcb0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 4

Function at 0x44c4c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
push 1
lea eax, [edi + 0xcb0]
push eax
push edi
call fcn.00416b40
test eax, eax
je 0x44c52e
mov eax, dword [edi]
push edi
call dword [eax + 0x194]
push 0
push 0
push 1
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [edi + 0xdc0], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xdc4], eax
lea eax, [ebp + 8]
push eax
push 0
push edi
push 0x44c2b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xdbc], eax
pop edi
pop ebp
ret 4
Function at 0x44e790
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov di, word [ebp + 8]
and eax, 0x8000
movzx edx, di
dec edx
cmp edx, 0x17
ja case.0x44e7bf.2
movzx ecx, byte [edx + 0x44e97c]
jmp dword [ecx*4 + 0x44e958]
test dword [esi + 0xfe4], 0x1004
je 0x44e94f
mov eax, dword [esi + 0xfe4]
test al, 4
je 0x44e94f
mov ecx, esi
test eax, 0x800
je 0x44e805
push 0
call fcn.0044e480
push 0
mov ecx, esi
call fcn.0044e320
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 1
push 1
push 0x4a86e0
push 1
call fcn.0044fc90
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xfe4]
and eax, 0x804
cmp eax, 4
jne 0x44e94f
push 1
push 1
push 0x4a86e8
mov ecx, esi
push 1
call fcn.0044fc90
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xfe4], 0x800
jne 0x44e94f
test eax, eax
jne 0x44e94f
mov eax, dword [esi + 0xffc]
cmp eax, dword [esi + 0x1000]
jne 0x44e889
mov eax, dword [esi]
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.0044e2b0
mov ecx, esi
call fcn.0044e9a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.0044e9c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xfe4], 0x800
jne 0x44e94f
mov ecx, esi
call fcn.0044f360
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test dword [esi + 0xfe4], 0x800
jne 0x44e94f
mov ecx, esi
call fcn.0044e9c0
mov ecx, esi
call fcn.0044e9a0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi]
push 0
push 0xffffffffffffffff
push 0
push esi
call dword [eax + 0x190]
push 1
mov ecx, esi
call fcn.0044e390
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0xfe4]
test eax, 0x2000
je 0x44e921
cmp di, 0x30
jb 0x44e94f
cmp di, 0x39
ja 0x44e94f
test eax, 0x800
jne 0x44e94f
cmp di, 0x20
jb 0x44e94f
cmp di, 0x7f
je 0x44e94f
xor eax, eax
mov word [ebp - 8], di
push 1
mov word [ebp - 6], ax
mov ecx, esi
push 1
lea eax, [ebp - 8]
push eax
push 1
call fcn.0044fc90
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x44e9c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ecx + 0xffc]
push edi
mov edi, dword [ecx + 0x1000]
cmp eax, edi
mov dword [ebp - 4], ecx
mov ecx, edi
cmovl ecx, eax
cmovg edi, eax
mov dword [ebp - 8], ecx
cmp edi, ecx
je 0x44ea54
sub edi, ecx
push ebx
add edi, edi
push esi
lea eax, [edi + 2]
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 4]
mov esi, eax
mov eax, dword [ebp - 8]
push edi
mov ecx, dword [ecx + 0xfcc]
lea ecx, [ecx + eax*2]
push ecx
push esi
call fcn.00474c90
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push dword [eax + 0xc38]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44f360
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
mov esi, ecx
test dword [esi + 0xfe4], 0x800
jne 0x44f3ae
push edi
push dword [esi + 0xc38]
call dword [sym.imp.USER32.dll_OpenClipboard]
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x44f3a6
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 1
push 1
push eax
push 1
mov ecx, esi
call fcn.0044fc90
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
ret
Function at 0x4591c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c383
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c3718]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042aba0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x4c]
mov dword [esi], vtable.duImageStyle.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x459286
mov eax, dword [ecx]
jmp 0x459288
mov eax, ecx
xor edx, edx
push edx
push 0x49f110
mov word [eax], dx
call fcn.00404000
xor eax, eax
mov dword [esi + 0x78], 7
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 1
mov dword [ecx + 0x10], 0
push eax
push 0x49f110
mov word [ecx], ax
call fcn.00404000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c3a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c3718]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042aba0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], vtable.duLineStyle.0
lea ecx, [esi + 0x34]
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x49f110
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.00404000
push 0
push 0
lea ecx, [esi + 0x4c]
call fcn.00429100
push 0
push 0
lea ecx, [esi + 0x54]
call fcn.00429100
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4593a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c3a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c3718]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042aba0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
xor eax, eax
mov dword [esi], vtable.duRectStyle.0
lea ecx, [esi + 0x40]
mov dword [esi + 0x2c], 0xffffff
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 1
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x49f110
mov dword [ebp - 4], 0
mov word [ecx], ax
call fcn.00404000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x459470
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c3ee
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c3718]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042aba0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.duTextStyle.0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 1
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x45950c
mov eax, dword [ecx]
jmp 0x45950e
mov eax, ecx
xor edx, edx
push edx
push 0x49f110
mov word [eax], dx
call fcn.00404000
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x45953d
mov eax, dword [ecx]
jmp 0x45953f
mov eax, ecx
xor edx, edx
push edx
push 0x49f110
mov word [eax], dx
call fcn.00404000
xor eax, eax
mov dword [esi + 0x78], 7
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
mov dword [ecx + 0x10], 0
push eax
push 0x49f110
mov word [ecx], ax
call fcn.00404000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45a640
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c41c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4c3718]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push ebx
push edi
call fcn.0045aa70
push str.left_part
push ebx
call fcn.0042a150
push str.top_part
push ebx
mov dword [edi + 0x2c], eax
call fcn.0042a150
push str.right_part
push ebx
mov dword [edi + 0x34], eax
call fcn.0042a150
push str.bottom_part
push ebx
mov dword [edi + 0x30], eax
call fcn.0042a150
push str.selectleft
push ebx
mov dword [edi + 0x38], eax
call fcn.0042a150
push str.selecttop
push ebx
mov dword [edi + 0x3c], eax
call fcn.0042a150
push str.selectwidth
push ebx
mov dword [edi + 0x40], eax
call fcn.0042a150
push str.selectheight
push ebx
mov dword [edi + 0x44], eax
call fcn.0042a150
add esp, 0x40
mov dword [edi + 0x48], eax
lea eax, [ebp - 0x28]
push str.picfile
push ebx
push eax
call fcn.0042a360
mov ecx, eax
lea esi, [edi + 0x4c]
add esp, 0xc
mov dword [ebp - 0x44], ecx
cmp esi, ecx
je 0x45a746
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x45a71f
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404150
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x45a737
mov eax, dword [esi]
jmp 0x45a739
mov eax, esi
xor edx, edx
push ecx
mov ecx, esi
mov word [eax], dx
call fcn.00405a40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x45a762
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00404150
push str.paintmode
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.0042a360
add esp, 0xc
lea esi, [edi + 0x64]
mov ebx, eax
cmp esi, ebx
je 0x45a7b7
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x45a790
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00404150
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x45a7a8
mov eax, dword [esi]
jmp 0x45a7aa
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405a40
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x45a7cc
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00404150
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472961
mov esp, ebp
pop ebp
ret 8