joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408c86
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x616780]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
push edi
mov edi, ecx
cmp eax, 0x51
ja case.0x408c49.33
movzx eax, byte [eax + 0x408e20]
jmp dword [eax*4 + 0x408e00]
mov eax, dword [edi]
push 1
call dword [eax + 0x250]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
push 0
call dword [eax + 0x250]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408c49.33
mov ecx, edi
call fcn.00435639
test al, 4
jne case.0x408c49.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, edi
call fcn.0043e301
jmp case.0x408c49.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408c49.33
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2a8]
jmp case.0x408c49.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408c49.33
mov eax, dword [edi]
mov ecx, edi
push 0
push 0xffffffffffffffff
call dword [eax + 0x17c]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
push 1
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [edi + 0x98]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0x1b8]
jmp case.0x408c49.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js case.0x408c49.33
push esi
mov ecx, edi
call fcn.00405600
mov ecx, edi
test al, 4
je 0x408d90
call fcn.00435639
test eax, 0x1000
je 0x408de4
mov ecx, edi
call fcn.00405690
mov esi, eax
cmp esi, 0xffffffff
je 0x408de4
mov edx, dword [edi]
mov ecx, edi
push esi
mov edx, dword [edx + 0x240]
call edx
mov edx, dword [edi]
test al, al
mov ecx, edi
sete al
movzx eax, al
push eax
push esi
call dword [edx + 0x244]
jmp 0x408de4
call fcn.00405690
cmp eax, 0xffffffff
je 0x408de4
mov eax, dword [edi + 0x98]
cmp eax, 0xffffffff
je 0x408de4
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
push ecx
push 1
push eax
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call fcn.00405690
push eax
mov ecx, edi
call fcn.004052e0
test eax, eax
je 0x408de4
push dword [ebp - 0x10]
mov esi, dword [edi]
mov ecx, edi
push dword [ebp - 0x14]
push dword [edi + 0x98]
call fcn.00405690
push eax
mov ecx, edi
call dword [esi + 0x1b4]
pop esi
mov ecx, edi
call fcn.00437957
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4091e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x616780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0xbc]
test eax, eax
mov dword [ebp - 0x1c], eax
sete bl
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00437d3f
cmp eax, esi
je 0x40921c
mov ecx, esi
call fcn.00435b3a
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x1039
push dword [esi + 0x20]
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x14], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test byte [ebp - 0x10], 0xe
mov edi, eax
je 0x409354
cmp edi, 0xffffffff
je 0x409354
cmp dword [ebp - 0x1c], 0
jne 0x409276
mov eax, dword [esi]
mov ecx, esi
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
push edi
call dword [eax + 0x284]
mov ebx, eax
cmp ebx, 2
je 0x409329
mov edx, dword [esi]
mov ecx, esi
push 0
push dword [ebp - 8]
call dword [edx + 0x1b0]
mov ecx, esi
call fcn.00437957
mov ecx, dword [ebp - 8]
cmp dword [esi + 0x98], ecx
je 0x4092af
mov eax, dword [esi]
push 0
push ecx
mov ecx, esi
call dword [eax + 0x1b0]
xor ebx, ebx
push 0
push 0
push 0x1037
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 0x20
jne 0x40931a
push 1
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
je 0x40931a
push 1
push 1
push edi
mov ecx, esi
call fcn.0043e301
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40931a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40931a
push 2
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0043e301
push 2
push 2
push edi
mov ecx, esi
call fcn.0043e301
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [ebp - 8]
call dword [eax + 0x1b0]
test ebx, ebx
je 0x40935b
push dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 0xc]
push dword [ebp - 8]
push edi
call dword [eax + 0x1b4]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00437957
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057837f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410b80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x1030
mov dword [ebp - 4], 0
call fcn.0057d953
mov esi, eax
add esp, 4
test esi, esi
je 0x410da0
push 0x1024
lea ecx, [esi + 0xc]
push 0
push ecx
call fcn.00579c10
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
add esp, 0xc
mov dword [esi], 0x31
mov dword [esi + 4], 0
mov dword [esi + 8], 3
mov dword [esi + 0xc], 1
push 0
push eax
push 0x1030
push esi
push 0x1030
push esi
push 0x2d1400
push dword [ebx]
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x28
mov dword [esi + 0x1c], 0x1000
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp dword [esi], 0x30
jne 0x410da0
cmp dword [esi + 4], 0x30
jne 0x410da0
mov edi, dword [esi + 0x18]
cmp edi, 0x28
jb 0x410da0
cmp dword [esi + 0x1c], 0x1000
jb 0x410da0
cmp word [edi + esi + 8], 0
je 0x410da0
cmp dword [edi + esi + 0x20c], 0
je 0x410da0
lea eax, [esi + 0x20]
mov dword [ebx + 0x1f4], 3
add eax, edi
push 0x18
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.005874b0
lea eax, [esi + 0xc]
mov byte [ebx + 0x57], 0
add eax, edi
push 0x14
push eax
lea eax, [ebx + 0x6c]
push eax
call fcn.005874b0
lea eax, [esi + 0x48]
mov byte [ebx + 0x7f], 0
add eax, edi
push 8
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.005874b0
mov byte [ebx + 0x67], 0
movzx eax, word [edi + esi + 0x108]
shr eax, 2
and eax, 1
mov dword [ebx + 0x1ac], eax
movzx eax, byte [edi + esi + 0x59]
push eax
movzx eax, word [edi + esi + 0x5a]
push eax
lea eax, [ebx + 0xc0]
push str.NVMe__d._d
push eax
call fcn.00414680
movzx eax, word [edi + esi + 0x108]
add esp, 0x34
shr eax, 4
and eax, 1
mov dword [ebx + 0x1cc], eax
movzx eax, word [edi + esi + 0x14a]
and eax, 1
mov dword [ebx + 0x1c8], eax
movzx eax, word [edi + esi + 0x108]
shr eax, 1
and eax, 1
mov dword [ebx + 0x1d0], eax
movzx eax, word [edi + esi + 0x108]
and eax, 1
mov dword [ebx + 0x1d4], eax
movzx eax, word [edi + esi + 0x108]
shr eax, 6
and eax, 1
mov dword [ebx + 0x1d8], eax
movzx eax, byte [edi + esi + 0x10c]
shr eax, 4
and eax, 1
mov dword [ebx + 0x1dc], eax
mov eax, dword [edi + esi + 0x150]
shr eax, 2
and eax, 1
mov dword [ebx + 0x1e0], eax
mov eax, dword [edi + esi + 0x150]
shr eax, 1
and eax, 1
mov dword [ebx + 0x1e4], eax
mov eax, dword [edi + esi + 0x150]
and eax, 1
mov dword [ebx + 0x1e8], eax
cmp byte [edi + esi + 0x10f], 0
jbe 0x410d8e
mov dword [ebx + 0x198], 1
push esi
call fcn.0057d4a3
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4158b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00443135

Function at 0x417680
Capabilities:
Inspect load icon resource

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.00443959
push 1
push 2
push 0x21
push 0x10
lea esi, [edi + 0x918]
push 0x10
mov ecx, esi
call fcn.0043d9c8
call fcn.0043f0bd
call fcn.0043f0bd
push 0x84
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
push eax
push 0xffffffffffffffff
push dword [edi + 0x91c]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1037
push dword [edi + 0x138]
call ebx
or eax, 4
push eax
push 0
push 0x1036
push dword [edi + 0x138]
call ebx
lea ebx, [edi + 0x118]
push esi
push ebx
call fcn.004033f0
add esp, 8
mov dword [edi + 0x920], eax
test esi, esi
jne 0x417711
xor eax, eax
jmp 0x417714
mov eax, dword [esi + 4]
push eax
push 1
push 0x1003
push dword [edi + 0x138]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.0043db7b
push 0
push 0xdc
push 0
push 0x6c23ab
push 0
mov ecx, ebx
call fcn.0043df73
push 1
push 0x46
push 0
push 0x5bb470
push 1
mov ecx, ebx
call fcn.0043df73
push 2
push 0x50
push 0
push 0x5bb47c
push 2
mov ecx, ebx
call fcn.0043df73
push 3
push 0x78
push 0
push 0x6c23b4
push 3
mov ecx, ebx
call fcn.0043df73
mov byte [edi + 0xb20], 0
call fcn.0043f0bd
call fcn.0043f0bd
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x89
mov eax, dword [eax + 0xc]
push eax
call esi
mov dword [edi + 0xb28], eax
call fcn.0043f0bd
call fcn.0043f0bd
push 0x8a
mov eax, dword [eax + 0xc]
push eax
call esi
mov dword [edi + 0xb2c], eax
call fcn.0043f0bd
call fcn.0043f0bd
push 0x8b
mov eax, dword [eax + 0xc]
push eax
call esi
mov dword [edi + 0xb30], eax
test ebx, ebx
jne 0x4177e7
xor eax, eax
jmp 0x4177ea
mov eax, dword [ebx + 0x20]
push dword [0x615000]
lea ecx, [edi + 0xc0]
push dword [0x614ffc]
push dword [0x61bbc4]
push dword [0x61bbc0]
push eax
call fcn.004281e0
mov byte [edi + 0x710], 1
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41fe80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4d05
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x616780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.00432dfe
mov ecx, eax
test ecx, ecx
je 0x420004
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edx, eax
test edx, edx
jne 0x41fedc
xor ecx, ecx
jmp 0x41feea
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fee1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00402ef0
mov esi, dword [ebp - 0x10]
lea eax, [esi - 0x10]
push eax
call fcn.00402b40
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov ebx, dword [esi - 0xc]
mov byte [ebp - 4], 1
test ebx, ebx
js 0x41fffa
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41ff35
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402e50
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 1]
push eax
push esi
call fcn.00587915
push eax
call fcn.00404990
add esp, 0xc
cmp ebx, dword [esi - 8]
jg 0x41fffa
mov dword [esi - 0xc], ebx
mov byte [ebx + esi], 0
cmp dword [esi - 0xc], 0
jl 0x41ff83
push str._PORTABLE
push esi
call fcn.0057dccd
mov ebx, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x41ff86
sub eax, esi
cmp eax, 0xffffffff
je 0x41ff86
mov byte [ebx + 0x5c07e], 1
jmp 0x41ff86
mov ebx, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jl 0x41ffac
push str._SAFE
push esi
call fcn.0057dccd
add esp, 8
test eax, eax
je 0x41ffac
sub eax, esi
cmp eax, 0xffffffff
je 0x41ffac
mov byte [ebx + 0x5c07f], 1
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41ffca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x41ffe6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00401ec0
push 0x80004005
call fcn.00401ec0
int3
Function at 0x422ab0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x616780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ecx + 0x5bc20]
push esi
push edi
lea esi, [ebx + 0x6c]
push esi
lea edi, [ebx + 0x40]
push edi
push eax
lea eax, [ebp - 0x108]
push str._s_s__s.hdt
push eax
call fcn.00414680
lea eax, [ebp - 0x108]
push eax
call fcn.0040c7b0
add esp, 0x18
test al, al
je 0x422ce5
push 0
lea eax, [ebp - 0x330]
push eax
push 0x180
push 0x40
lea eax, [ebp - 0x108]
push 0x8102
push eax
call fcn.0058cc0c
mov ecx, dword [ebp - 0x330]
or edx, 0xffffffff
test eax, eax
cmovne ecx, edx
push ecx
mov dword [ebp - 0x330], ecx
call fcn.0058abaa
add esp, 0x1c
test eax, eax
lea eax, [ebp - 0x19c]
push 0x94
jne 0x422c2f
push 0
push eax
call fcn.00579c10
push 4
lea eax, [ebp - 0x19c]
push str.HDT0
push eax
call fcn.005874b0
lea ecx, [ebp - 0x198]
add esp, 0x18
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx + edi - 1], al
test al, al
jne 0x422b77
lea ecx, [ebp - 0x178]
sub ecx, esi
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x422b90
mov eax, dword [ebx + 0x8c]
mov ecx, dword [ebx + 0x90]
mov dword [ebp - 0x160], eax
xor eax, eax
mov dword [ebp - 0x15c], ecx
lea ecx, [ebx + 0xe42]
nop dword [eax]
cmp byte [ecx], 0
je 0x422bd3
cmp eax, 0x1e
jge 0x422bd3
inc eax
add ecx, 0xc
cmp eax, 0x1e
jl 0x422bc0
xor ecx, ecx
mov dword [ebp - 0x14c], eax
test eax, eax
jle 0x422c13
lea edx, [ebx + 0x1043]
nop word [eax + eax]
mov al, byte [edx - 0x201]
lea edx, [edx + 0xc]
mov byte [ebp + ecx - 0x148], al
mov al, byte [edx - 0xc]
mov byte [ebp + ecx - 0x128], al
inc ecx
cmp ecx, dword [ebp - 0x14c]
jl 0x422bf0
push 0x94
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x330]
call fcn.0058c17f
add esp, 0xc
jmp 0x422c49
push eax
push dword [ebp - 0x330]
call fcn.0058b51e
add esp, 0xc
cmp eax, 0x94
jne 0x422ce5
lea eax, [ebp - 0x19c]
push 0x5bd4b8
push eax
lea esi, [ebx + 0xe42]
call fcn.0057a810
add esp, 8
test eax, eax
je 0x422ce5
mov ebx, dword [ebp - 0x330]
push 2
push 0
push ebx
call fcn.0058af4c
push 0x190
lea eax, [ebp - 0x32c]
push 0
push eax
call fcn.00579c10
add esp, 0x18
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x14c]
test eax, eax
jle 0x422cb5
lea ecx, [eax + eax*2]
shl ecx, 2
lea edi, [ebp - 0x31c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x190
lea eax, [ebp - 0x32c]
push eax
push ebx
call fcn.0058c17f
push ebx
call fcn.0058a8f0
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057837f
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057837f
mov esp, ebp
pop ebp
ret 4
Function at 0x424dc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x616780]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 0
mov edi, ecx
push 0
push 0x1009
mov dword [ebp - 0x210], edi
push dword [edi + 0x210]
call esi
push 0
push 0
push 0x147
push dword [edi + 0x290]
call esi
push 0
imul eax, eax, 0x104
lea ecx, [ebp - 0x208]
push ecx
push 0
push 0x40
push 0x8002
add eax, 0x39c
add eax, edi
push eax
call fcn.0058cc0c
mov ecx, dword [ebp - 0x208]
or edx, 0xffffffff
test eax, eax
lea eax, [edi + 0x2fc]
push 0x94
cmovne ecx, edx
push eax
push ecx
mov dword [edi + 0x394], ecx
call fcn.0058b51e
add esp, 0x24
cmp eax, 0x94
je 0x424e6d
push dword [edi + 0x394]
call fcn.0058a8f0
add esp, 4
jmp 0x424fec
push 0x400
lea eax, [edi + 0x44a4]
push 0
push eax
call fcn.00579c10
add esp, 0xc
cmp dword [edi + 0x34c], 0
jle 0x424f76
mov eax, 0xfffffcb0
sub eax, edi
push ebx
lea ebx, [edi + 0x350]
mov dword [ebp - 0x208], eax
mov cl, byte [ebx]
test cl, cl
je 0x424f60
mov eax, dword [edi + 0x2f0]
push dword [eax + 0xe3c]
movzx eax, cl
push eax
call fcn.0040ccd0
lea esi, [ebp - 0x104]
mov dword [ebp - 0x20c], eax
add esp, 8
lea ecx, [eax + 4]
sub esi, ecx
mov dl, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], dl
test dl, dl
jne 0x424ed7
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 0x20]
mov dword [edi + eax*4 + 0x44a4], ecx
lea eax, [ebp - 0x104]
push eax
movzx eax, byte [ebx]
push eax
lea eax, [ebp - 0x204]
push str.__02X___s
push eax
call fcn.00414680
mov esi, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
add esp, 0x10
lea ecx, [edi + 0x1f0]
add esi, ebx
push 0
push 0
push 0
push 0
push eax
push esi
push 3
call fcn.0043dfc6
push dword [ebp - 0x20c]
lea ecx, [edi + 0x1f0]
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call fcn.0043e239
mov edi, dword [ebp - 0x210]
mov eax, dword [ebp - 0x208]
inc ebx
add eax, ebx
cmp eax, dword [edi + 0x34c]
mov eax, dword [ebp - 0x208]
jl 0x424ea4
pop ebx
push dword [edi + 0x394]
call fcn.0058abaa
add esp, 4
lea ecx, [eax - 0x94]
mov eax, 0x51eb851f
mul ecx
mov eax, dword [edi + 0x44a0]
shr edx, 7
imul esi, edx, 0x190
mov dword [edi + 0x449c], edx
test eax, eax
je 0x424fb3
push eax
call fcn.004315fe
add esp, 4
mov eax, dword [edi + 0x449c]
xor ecx, ecx
mov edx, 0x190
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004315f5
add esp, 4
mov dword [edi + 0x44a0], eax
test eax, eax
je 0x424fec
push esi
push eax
push dword [edi + 0x394]
call fcn.0058b51e
add esp, 0xc
mov ecx, edi
call fcn.00423c70
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057837f
mov esp, ebp
pop ebp
ret
Function at 0x426750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5308
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x616780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
call fcn.0043314d
mov dword [esi], vtable.CMemDCx.0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], vtable.CBitmap.0
lea ecx, [esi + 0x20]
xor eax, eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
cmp dword [edi + 0xc], eax
mov byte [ebp - 4], 1
sete al
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4267e7
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x50]
jmp 0x4267ed
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
cmp dword [esi + 0x30], 0
je 0x4268bc
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00433ab0
push 2
lea eax, [esi + 0x20]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x2c]
sub ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
sub eax, dword [esi + 0x20]
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x10]
call fcn.00433af2
lea eax, [esi + 0x10]
test eax, eax
je 0x426841
mov eax, dword [eax + 4]
push eax
push dword [esi + 4]
call fcn.0043426e
mov dword [esi + 0x18], eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.004343fd
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
push dword [ebp - 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x48]
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
push dword [ebp - 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x20]
push dword [ebp - 0x18]
push ecx
mov ecx, esi
call dword [eax + 0x40]
push 2
lea eax, [esi + 0x20]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_DPtoLP]
push dword [esi + 0x24]
lea eax, [ebp - 0x20]
mov ecx, esi
push dword [esi + 0x20]
push eax
call fcn.004345d6
jmp 0x4268ce
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
lea eax, [esi + 0x20]
mov ecx, esi
push eax
call fcn.0043f645
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42a3c0
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
push 0x5be3ec
mov dword [edi], vtable.TreePropSheet::CThemeLibEx.0
mov dword [edi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x20], eax
test eax, eax
je 0x42a443
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5b8d4c
push eax
call esi
push str.IsThemeActive
push dword [edi + 0x20]
mov dword [edi + 4], eax
call esi
push 0x5b8d68
push dword [edi + 0x20]
mov dword [edi + 8], eax
call esi
push 0x5b8d78
push dword [edi + 0x20]
mov dword [edi + 0xc], eax
call esi
push str.GetThemeBackgroundContentRect
push dword [edi + 0x20]
mov dword [edi + 0x10], eax
call esi
push 0x5be418
push dword [edi + 0x20]
mov dword [edi + 0x14], eax
call esi
push 0x5be42c
push dword [edi + 0x20]
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
pop esi
mov eax, edi
pop edi
ret
Function at 0x435663
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5a33dd
call fcn.00578b47
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x435689
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4356e3
lea ecx, [ebp - 0x10]
call fcn.004033c0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5b5a74]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0058d710
push eax
call fcn.00404990
add esp, 0x14
test esi, esi
je 0x4356d6
push esi
call fcn.0058d7a0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00432367
mov eax, ebx
call fcn.00578b15
ret 8

Function at 0x437cd2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x437d11
call fcn.0043f0bd
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x437d11
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x437d19
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00442c9d
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x43871e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x4387aa
cmp dword [esi + 0x20], 0
je 0x4387aa
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4387aa
cmp dword [ebp + 8], 0
je 0x4387aa
xor edi, edi
mov ebx, edi
call fcn.0043f0bd
push 0x5c0550
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x43878e
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4387aa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00451a69
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4387a6
mov ecx, esi
call fcn.004384bc
mov eax, edi
jmp 0x4387ac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4