joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452cbe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x452ccd
pop dword [ebp - 0x34]
mov eax, 0x34991397
sub eax, 0x3453e6ca
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xf90e1223
sub dword [ebp - 0x44], 0xaabbccd8
mov dword [ebp - 0x40], 0xf5ea2203
sub dword [ebp - 0x40], 0xc3b6d5be
mov dword [ebp - 0x3c], 0xd56fb9f9
add dword [ebp - 0x3c], 0x76dc8a35
mov dword [ebp - 0x38], 0xca88a9d3
add dword [ebp - 0x38], 0x3577562d
lea eax, [ebp - 0x44]
push eax
mov eax, 0x957380a3
add eax, 0x6ad22fc1
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xf411b7fe
add dword [ebp - 0x44], 0x8060b158
mov dword [ebp - 0x40], 0xdd69a9af
sub dword [ebp - 0x40], 0x9bfd483a
mov dword [ebp - 0x3c], 0xe89e2a87
add dword [ebp - 0x3c], 0x7ad141e5
mov dword [ebp - 0x38], 0xed78f97f
sub dword [ebp - 0x38], 0xed78f97f
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x46433775
add eax, 0xba02790b
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x4c2fa
push 0
call eax
mov ecx, 0x351e1c9c
add ecx, 0xcae226fe
mov edi, eax
mov ebx, 0xe1492518
add ebx, 0x1efe3ae8
add ebx, dword [ebp - 0x34]
mov edx, 0xc06bd2bb
sub edx, 0xeed71bf0
xor dword [ebp - 4], edi
mov esi, dword [ebx]
sub dword [ebp - 8], 0x72df16bc
sub esi, edx
add dword [ebp - 0x24], edx
mov dword [edi], esi
xor dword [ebp - 0x18], edx
add edi, 0xc0046c0b
add edi, 0x3ffb93f9
add ebx, 0x4937b24d
add ebx, 0xb6c84db7
loop 0x452def
add eax, 0x35edbee
sub eax, 0x35ddab3
xor ebx, ebx
add ebx, eax
add eax, 0x5295f5e5
add eax, 0xad6a0a20
mov ecx, 0xe73bc515
sub ecx, 0xe6fbc515
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x10022c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x10022c8
lcall 0x5de5, 0x8b10c483
jmp loc.013cfd6c
Function at 0x40a0c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40a0d7
pop dword [ebp - 0xc]
mov eax, 0x94391007
sub eax, 0x93f86f30
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x3b0e7
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0xc1d528cd
sub ecx, 0xc1d4eb9e
mov edx, eax
mov esi, 0x435400
add esi, dword [ebp - 0xc]
mov ebx, 0x893e888c
mov edi, dword [esi]
xor dword [ebp - 8], 0x19ceee36
sub edi, ebx
add dword [ebp - 4], ecx
mov dword [edx], edi
sub dword [ebp - 4], edx
add edx, 0x867af0f1
add edx, 0x79850f13
add esi, 0x8eb7f270
sub esi, 0x8eb7f26c
loop 0x40a125
add eax, 0x13d26ab7
sub eax, 0x13d18328
xor ebx, ebx
add ebx, eax
add eax, 0x5dfc9e3d
sub eax, 0x5dfc9e38
mov ecx, 0x32d58032
sub ecx, 0x32958032
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4029c0
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 0x4029d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402a14
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402a10
lea ebx, [ebx]
cmp esi, eax
jae 0x402a14
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402a00
cmp esi, eax
jb 0x402a1a
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 0x408440
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, eax
push edi
mov ecx, esi
call fcn.00434dbf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
mov eax, dword [esp + 0x14]
setl cl
mov edx, esi
mov edi, ecx
mov ecx, dword [esp + 0x10]
call fcn.00418d00
cmp dword [esi + 0x220], 0
jne 0x408494
test edi, edi
jne 0x40849c
call fcn.004188f0
mov eax, esi
call fcn.00418850
call fcn.00418740
mov edx, dword [esi + 0x20]
push edx
jmp 0x408652
test edi, edi
je 0x408668
mov eax, dword [esi + 0x108]
cmp eax, dword [esi + 0x120]
jne 0x4084ca
mov ecx, dword [esi + 0x10c]
cmp ecx, dword [esi + 0x124]
jne 0x4084ca
mov edx, dword [esi + 0x110]
cmp edx, dword [esi + 0x128]
je 0x40858c
mov ecx, dword [esi + 0x120]
mov edx, dword [esi + 0x124]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x128]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x12c]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x130]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x134]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x108]
mov dword [eax + 0x14], edx
mov edx, dword [esi + 0x10c]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x110]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x114]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x118]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x11c]
mov dword [eax + 0x10], ecx
push esi
mov dword [eax + 0x14], edx
call fcn.004170c0
mov eax, dword [esi + 0x108]
mov dword [esi + 0x138], eax
mov ecx, dword [esi + 0x10c]
mov dword [esi + 0x13c], ecx
mov edx, dword [esi + 0x110]
mov dword [esi + 0x140], edx
mov eax, dword [esi + 0x114]
mov dword [esi + 0x144], eax
mov ecx, dword [esi + 0x118]
mov dword [esi + 0x148], ecx
mov edx, dword [esi + 0x11c]
mov dword [esi + 0x14c], edx
mov eax, dword [esi + 0xd8]
mov dword [esi + 0x120], eax
mov ecx, dword [esi + 0xdc]
mov dword [esi + 0x124], ecx
mov edx, dword [esi + 0xe0]
mov dword [esi + 0x128], edx
mov eax, dword [esi + 0xe4]
mov dword [esi + 0x12c], eax
mov ecx, dword [esi + 0xe8]
mov dword [esi + 0x130], ecx
mov edx, dword [esi + 0xec]
mov dword [esi + 0x134], edx
mov ecx, dword [esi + 0x120]
mov edx, dword [esi + 0x124]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x128]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x12c]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x130]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x134]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x138]
mov dword [eax + 0x14], edx
mov edx, dword [esi + 0x13c]
sub esp, 0x18
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x140]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x144]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x148]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x14c]
mov dword [eax + 0x10], ecx
push esi
mov dword [eax + 0x14], edx
call fcn.004170c0
mov eax, dword [esi + 0x20]
push eax
mov dword [esi + 0x220], 1
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.00437f18
pop edi
pop esi
pop ecx
ret 8
Function at 0x40f040
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x483799
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x54]
lea edi, [esi + 0x224]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x40f0ae
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov ebx, esp
push eax
call fcn.00402be0
add esp, 4
add eax, 0x10
push esi
mov dword [ebx], eax
call fcn.0040f1d0
mov ebx, eax
jmp 0x40f0de
mov ebx, esi
call fcn.0040fae0
mov ebx, eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x40f0e5
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x54]
call eax
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.0043895f
mov ecx, eax
call fcn.00434ca5
mov ecx, esi
call fcn.0040f840
test ebx, ebx
je 0x40f1b5
cmp dword [esi + 0x1f8], 0
je 0x40f1b5
call fcn.00405e10
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
cmp eax, 6
jle 0x40f137
push 6
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00402050
mov dword [esp + 0x28], 0
mov esi, eax
mov dword [esp + 0x14], 1
call fcn.00410660
test al, al
mov byte [esp + 0x13], 1
jne 0x40f13c
mov byte [esp + 0x13], 0
mov dword [esp + 0x28], 0xffffffff
test byte [esp + 0x14], 1
je 0x40f16b
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 0x40f16b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x13], 0
je 0x40f1b5
push str..bak
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.004021d0
mov edx, dword [esp + 0x20]
mov eax, dword [edi]
add esp, 0xc
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
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 0x40f1b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418030
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x418074
push edi
mov eax, ebx
call fcn.00418220
lea ecx, [eax + eax + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x418075
push 0x30
push 0x491498
push 0x4914a0
mov ecx, ebx
call fcn.00436c67
pop edi
ret
push esi
mov esi, eax
mov eax, ebx
call fcn.004180f0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
pop edi
jmp dword [sym.imp.USER32.dll_CloseClipboard]
Function at 0x426290
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4832e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
call fcn.00425fa0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0
call fcn.0043e869
push 0x493bc0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
mov ebx, 1
push edx
mov byte [esp + 0x4c], bl
call fcn.004021d0
add esp, 0xc
mov byte [esp + 0x40], 2
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x24]
call fcn.0043e8f7
mov esi, eax
mov byte [esp + 0x40], bl
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 0x426334
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x426405
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x1c]
call fcn.0043e563
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0043eb3a
mov byte [esp + 0x40], 3
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x426383
push esi
lea ecx, [esp + 0x18]
call fcn.00402ab0
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.00469084
add esp, 8
test esi, esi
jl 0x426458
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x426458
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
mov word [ecx + esi*2], 0
lea ecx, [esp + 0x1c]
call fcn.0043e82c
test eax, eax
jne 0x4263d9
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x20]
call eax
test eax, eax
jne 0x4263d9
mov ecx, dword [esp + 0x14]
push ecx
call ebp
mov byte [esp + 0x40], bl
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 0x4263fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
jne 0x426342
lea ecx, [esp + 0x1c]
call fcn.0043e493
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 0
call fcn.0043e88f
mov dword [esp + 0x40], 0xffffffff
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 0x426444
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00402a60
int3
Function at 0x4264f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x482952
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x4a4b70]
xor eax, esp
mov dword [esp + 0x614], eax
push ebx
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x620]
mov dword fs:[0], eax
mov eax, dword [esp + 0x630]
push 0x100
lea ecx, [esp + 0x420]
push ecx
push 0x100
lea edx, [esp + 0x28]
push edx
push 0x100
lea ecx, [esp + 0x230]
push ecx
mov dword [esp + 0x640], 0
push 3
lea edx, [esp + 0x30]
mov dword [esp + 0x28], 0
mov eax, dword [eax]
push edx
push eax
mov dword [esp + 0x34], esi
call fcn.004694c9
add esp, 0x24
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00402d00
lea eax, [esp + 0x21c]
mov dword [esp + 0x628], 0
mov dword [esp + 0xc], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4265a5
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x220]
push ecx
mov ecx, esi
call fcn.00405080
push 1
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00402050
mov eax, dword [eax]
mov ecx, 0x48fc54
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x426606
test dx, dx
je 0x426602
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x426606
add eax, 4
add ecx, 4
test dx, dx
jne 0x4265e0
xor eax, eax
jmp 0x42660b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov eax, dword [esp + 8]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426630
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x426642
push 1
push 0x48fc54
mov ecx, esi
call fcn.00405080
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426650
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00405080
mov eax, esi
mov ecx, dword [esp + 0x620]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x614]
xor ecx, esp
call fcn.00467f41
add esp, 0x624
ret
Function at 0x428c70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482841
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
lea ebx, [esi + 4]
call fcn.00440a5b
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x428cb6
push 0x80004005
call fcn.00402a60
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov dword [esp + 0x18], edi
mov eax, vtable.CArray_struct_sCodeRange__struct_sCodeRange__.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
push 2
mov byte [esp + 0x1c], 2
push 0x49064c
mov ecx, ebx
mov dword [esi], edi
call fcn.00402e60
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 0x64
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4293a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4827c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebp
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x28], eax
add eax, 0xd
mov dword [esp + 0x2c], ecx
add ecx, 0xd
cmp dword [edi], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
je 0x4293ff
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0x14
call ebp
push eax
push 0x10
call ebp
push eax
lea eax, [esp + 0x30]
push eax
jmp 0x42941a
cmp dword [edi + 4], 0
je 0x429421
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
push 0x10
call ebp
push eax
push 0x14
call ebp
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00450475
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov ebp, dword [esi]
push 0x12
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov eax, dword [ebp + 0x30]
mov ecx, esi
call eax
push 1
mov ecx, esi
call fcn.0043cce0
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], vtable.CFont.0
mov dword [esp + 0x40], 0
mov ecx, dword [esi + 8]
push 0x58
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push 0
push 0x494000
push eax
lea ecx, [esp + 0x2c]
call fcn.004504a0
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
push 0x494010
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call fcn.00402d00
mov byte [esp + 0x40], 1
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov edi, dword [eax - 0xc]
mov ebp, dword [esi]
push edi
push eax
mov eax, dword [ebp + 0x5c]
add ecx, 3
push ecx
add edx, 3
push edx
mov ecx, esi
call eax
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4294f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.0043cce0
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CFont.0
call fcn.00403060
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x38
ret
Function at 0x4300f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4826f0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.0045203f
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov edi, vtable.CBitmap.0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edi
mov byte [esp + 0x44], 1
call fcn.0043bfba
movzx ecx, word [esp + 0x54]
mov eax, dword [eax + 0xc]
push 0x2040
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
lea ecx, [esp + 0x14]
call fcn.0043d92c
test eax, eax
je 0x43025a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x43025a
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov ch, byte [esi]
cdq
and edx, 0x1f
add eax, edx
movzx edx, byte [esi + 2]
mov cl, byte [esi + 1]
push ebx
sar eax, 5
push eax
mov eax, dword [esp + 0x30]
push 0x19
push eax
shl ecx, 8
or ecx, edx
mov esi, ecx
push 0x20
lea ecx, [esp + 0x2c]
call fcn.0045235a
test eax, eax
je 0x43025a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push ecx
push edx
call fcn.0043bfba
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
call fcn.00430670
or esi, 0xffffffff
cmp eax, esi
jne 0x4301f7
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.00403060
mov dword [esp + 0x44], esi
jmp 0x430273
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [eax + 0x20]
push ebx
push edx
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x18]
call fcn.004522e0
lea ecx, [esp + 0x10]
call fcn.0043d955
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.00403060
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], esi
call fcn.00452381
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret 0xc
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.00403060
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00452381
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret 0xc
Function at 0x435281
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4814a0
call fcn.00469f0f
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4352a6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4352f2
call fcn.00440a5b
push eax
lea ecx, [ebp - 0x10]
call fcn.00402a30
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00430bc7
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402820
mov eax, esi
call fcn.00469fe7
ret 8

Function at 0x43923f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x439278
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00439202
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00404960
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x43b00b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x43b04e
call fcn.0043bfba
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43b04e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43b069
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0043abc5
test ebx, ebx
mov esi, eax
je 0x43b067
test edi, edi
je 0x43b067
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4