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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x615780]
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.0x408d69.33
movzx eax, byte [eax + 0x408f40]
jmp dword [eax*4 + 0x408f20]
mov eax, dword [edi]
push 1
call dword [eax + 0x250]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057742f
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.0057742f
mov esp, ebp
pop ebp
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408d69.33
mov ecx, edi
call fcn.004346e9
test al, 4
jne case.0x408d69.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, edi
call fcn.0043d3b5
jmp case.0x408d69.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408d69.33
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2a8]
jmp case.0x408d69.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408d69.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.0057742f
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.0x408d69.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js case.0x408d69.33
push esi
mov ecx, edi
call fcn.00405720
mov ecx, edi
test al, 4
je 0x408eb0
call fcn.004346e9
test eax, 0x1000
je 0x408f04
mov ecx, edi
call fcn.004057b0
mov esi, eax
cmp esi, 0xffffffff
je 0x408f04
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 0x408f04
call fcn.004057b0
cmp eax, 0xffffffff
je 0x408f04
mov eax, dword [edi + 0x98]
cmp eax, 0xffffffff
je 0x408f04
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
push ecx
push 1
push eax
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call fcn.004057b0
push eax
mov ecx, edi
call fcn.00405400
test eax, eax
je 0x408f04
push dword [ebp - 0x10]
mov esi, dword [edi]
mov ecx, edi
push dword [ebp - 0x14]
push dword [edi + 0x98]
call fcn.004057b0
push eax
mov ecx, edi
call dword [esi + 0x1b4]
pop esi
mov ecx, edi
call fcn.00436a07
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057742f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x408da6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x615780]
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.0x408d69.33
movzx eax, byte [eax + 0x408f40]
jmp dword [eax*4 + 0x408f20]
mov eax, dword [edi]
push 1
call dword [eax + 0x250]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057742f
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.0057742f
mov esp, ebp
pop ebp
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408d69.33
mov ecx, edi
call fcn.004346e9
test al, 4
jne case.0x408d69.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, edi
call fcn.0043d3b5
jmp case.0x408d69.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408d69.33
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x2a8]
jmp case.0x408d69.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns case.0x408d69.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.0057742f
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.0x408d69.33
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js case.0x408d69.33
push esi
mov ecx, edi
call fcn.00405720
mov ecx, edi
test al, 4
je 0x408eb0
call fcn.004346e9
test eax, 0x1000
je 0x408f04
mov ecx, edi
call fcn.004057b0
mov esi, eax
cmp esi, 0xffffffff
je 0x408f04
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 0x408f04
call fcn.004057b0
cmp eax, 0xffffffff
je 0x408f04
mov eax, dword [edi + 0x98]
cmp eax, 0xffffffff
je 0x408f04
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
push ecx
push 1
push eax
mov ecx, edi
movups xmmword [ebp - 0x14], xmm0
call fcn.004057b0
push eax
mov ecx, edi
call fcn.00405400
test eax, eax
je 0x408f04
push dword [ebp - 0x10]
mov esi, dword [edi]
mov ecx, edi
push dword [ebp - 0x14]
push dword [edi + 0x98]
call fcn.004057b0
push eax
mov ecx, edi
call dword [esi + 0x1b4]
pop esi
mov ecx, edi
call fcn.00436a07
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0057742f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x615780]
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.00436def
cmp eax, esi
je 0x40933c
mov ecx, esi
call fcn.00434bea
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 0x409474
cmp edi, 0xffffffff
je 0x409474
cmp dword [ebp - 0x1c], 0
jne 0x409396
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 0x409449
mov edx, dword [esi]
mov ecx, esi
push 0
push dword [ebp - 8]
call dword [edx + 0x1b0]
mov ecx, esi
call fcn.00436a07
mov ecx, dword [ebp - 8]
cmp dword [esi + 0x98], ecx
je 0x4093cf
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 0x40943a
push 1
push 0xffffffffffffffff
push 0x100c
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
je 0x40943a
push 1
push 1
push edi
mov ecx, esi
call fcn.0043d3b5
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40943a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x40943a
push 2
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0043d3b5
push 2
push 2
push edi
mov ecx, esi
call fcn.0043d3b5
mov eax, dword [esi]
mov ecx, esi
push 1
push dword [ebp - 8]
call dword [eax + 0x1b0]
test ebx, ebx
je 0x40947b
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.0057742f
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00436a07
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057742f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x410ca0
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.0057ca03
mov esi, eax
add esp, 4
test esi, esi
je 0x410ec0
push 0x1024
lea ecx, [esi + 0xc]
push 0
push ecx
call fcn.00578cc0
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 0x410ec0
cmp dword [esi + 4], 0x30
jne 0x410ec0
mov edi, dword [esi + 0x18]
cmp edi, 0x28
jb 0x410ec0
cmp dword [esi + 0x1c], 0x1000
jb 0x410ec0
cmp word [edi + esi + 8], 0
je 0x410ec0
cmp dword [edi + esi + 0x20c], 0
je 0x410ec0
lea eax, [esi + 0x20]
mov dword [ebx + 0x1f4], 3
add eax, edi
push 0x18
push eax
lea eax, [ebx + 0x40]
push eax
call fcn.005863b0
lea eax, [esi + 0xc]
mov byte [ebx + 0x57], 0
add eax, edi
push 0x14
push eax
lea eax, [ebx + 0x6c]
push eax
call fcn.005863b0
lea eax, [esi + 0x48]
mov byte [ebx + 0x7f], 0
add eax, edi
push 8
push eax
lea eax, [ebx + 0x60]
push eax
call fcn.005863b0
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.004147b0
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 0x410eae
mov dword [ebx + 0x198], 1
push esi
call fcn.0057c553
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 0x4151f0
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.004421e9

Function at 0x416fb0
Capabilities:
Inspect load icon resource

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.00442a0d
push 1
push 2
push 0x21
push 0x10
lea esi, [edi + 0x918]
push 0x10
mov ecx, esi
call fcn.0043ca7c
call fcn.0043e171
call fcn.0043e171
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.00403510
add esp, 8
mov dword [edi + 0x920], eax
test esi, esi
jne 0x417041
xor eax, eax
jmp 0x417044
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.0043cc2f
push 0
push 0xdc
push 0
push str.Drive
push 0
mov ecx, ebx
call fcn.0043d027
push 1
push 0x46
push 0
push 0x5ba2b0
push 1
mov ecx, ebx
call fcn.0043d027
push 2
push 0x50
push 0
push 0x5ba2bc
push 2
mov ecx, ebx
call fcn.0043d027
push 3
push 0x78
push 0
push str.Short_Self_Test
push 3
mov ecx, ebx
call fcn.0043d027
mov byte [edi + 0xb20], 0
call fcn.0043e171
call fcn.0043e171
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.0043e171
call fcn.0043e171
push 0x8a
mov eax, dword [eax + 0xc]
push eax
call esi
mov dword [edi + 0xb2c], eax
call fcn.0043e171
call fcn.0043e171
push 0x8b
mov eax, dword [eax + 0xc]
push eax
call esi
mov dword [edi + 0xb30], eax
test ebx, ebx
jne 0x417117
xor eax, eax
jmp 0x41711a
mov eax, dword [ebx + 0x20]
push dword [0x614000]
lea ecx, [edi + 0xc0]
push dword [0x613ffc]
push dword [0x61ab94]
push dword [0x61ab90]
push eax
call fcn.00427290
mov byte [edi + 0x710], 1
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41ee50
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3a45
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x615780]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.00431eae
mov ecx, eax
test ecx, ecx
je 0x41efd4
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 0x41eeac
xor ecx, ecx
jmp 0x41eeba
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41eeb1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00403010
mov esi, dword [ebp - 0x10]
lea eax, [esi - 0x10]
push eax
call fcn.00402c60
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 0x41efca
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41ef05
push ebx
lea ecx, [ebp - 0x10]
call fcn.00402f70
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 1]
push eax
push esi
call fcn.005867f4
push eax
call fcn.00404ab0
add esp, 0xc
cmp ebx, dword [esi - 8]
jg 0x41efca
mov dword [esi - 0xc], ebx
mov byte [ebx + esi], 0
cmp dword [esi - 0xc], 0
jl 0x41ef53
push str._PORTABLE
push esi
call fcn.0057cd7d
mov ebx, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x41ef56
sub eax, esi
cmp eax, 0xffffffff
je 0x41ef56
mov byte [ebx + 0x5c07e], 1
jmp 0x41ef56
mov ebx, dword [ebp - 0x14]
cmp dword [esi - 0xc], 0
jl 0x41ef7c
push str._SAFE
push esi
call fcn.0057cd7d
add esp, 8
test eax, eax
je 0x41ef7c
sub eax, esi
cmp eax, 0xffffffff
je 0x41ef7c
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 0x41ef9a
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 0x41efb6
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 0x421b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x615780]
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.004147b0
lea eax, [ebp - 0x108]
push eax
call fcn.0040c8d0
add esp, 0x18
test al, al
je 0x421d95
push 0
lea eax, [ebp - 0x330]
push eax
push 0x180
push 0x40
lea eax, [ebp - 0x108]
push 0x8102
push eax
call fcn.0058bafc
mov ecx, dword [ebp - 0x330]
or edx, 0xffffffff
test eax, eax
cmovne ecx, edx
push ecx
mov dword [ebp - 0x330], ecx
call fcn.00589a9a
add esp, 0x1c
test eax, eax
lea eax, [ebp - 0x19c]
push 0x94
jne 0x421cdf
push 0
push eax
call fcn.00578cc0
push 4
lea eax, [ebp - 0x19c]
push str.HDT0
push eax
call fcn.005863b0
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 0x421c27
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 0x421c40
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 0x421c83
cmp eax, 0x1e
jge 0x421c83
inc eax
add ecx, 0xc
cmp eax, 0x1e
jl 0x421c70
xor ecx, ecx
mov dword [ebp - 0x14c], eax
test eax, eax
jle 0x421cc3
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 0x421ca0
push 0x94
lea eax, [ebp - 0x19c]
push eax
push dword [ebp - 0x330]
call fcn.0058b06f
add esp, 0xc
jmp 0x421cf9
push eax
push dword [ebp - 0x330]
call fcn.0058a40e
add esp, 0xc
cmp eax, 0x94
jne 0x421d95
lea eax, [ebp - 0x19c]
push 0x5bc14c
push eax
lea esi, [ebx + 0xe42]
call fcn.005798c0
add esp, 8
test eax, eax
je 0x421d95
mov ebx, dword [ebp - 0x330]
push 2
push 0
push ebx
call fcn.00589e3c
push 0x190
lea eax, [ebp - 0x32c]
push 0
push eax
call fcn.00578cc0
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 0x421d65
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.0058b06f
push ebx
call fcn.005897e0
add esp, 0x10
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057742f
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.0057742f
mov esp, ebp
pop ebp
ret 4
Function at 0x423e70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x615780]
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.0058bafc
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.0058a40e
add esp, 0x24
cmp eax, 0x94
je 0x423f1d
push dword [edi + 0x394]
call fcn.005897e0
add esp, 4
jmp 0x42409c
push 0x400
lea eax, [edi + 0x44a4]
push 0
push eax
call fcn.00578cc0
add esp, 0xc
cmp dword [edi + 0x34c], 0
jle 0x424026
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 0x424010
mov eax, dword [edi + 0x2f0]
push dword [eax + 0xe3c]
movzx eax, cl
push eax
call fcn.0040cdf0
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 0x423f87
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.004147b0
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.0043d07a
push dword [ebp - 0x20c]
lea ecx, [edi + 0x1f0]
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call fcn.0043d2ed
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 0x423f54
pop ebx
push dword [edi + 0x394]
call fcn.00589a9a
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 0x424063
push eax
call fcn.004306ae
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.004306a5
add esp, 4
mov dword [edi + 0x44a0], eax
test eax, eax
je 0x42409c
push esi
push eax
push dword [edi + 0x394]
call fcn.0058a40e
add esp, 0xc
mov ecx, edi
call fcn.00422d20
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057742f
mov esp, ebp
pop ebp
ret
Function at 0x425800
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4008
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x615780]
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.004321fd
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 0x425897
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x50]
jmp 0x42589d
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
cmp dword [esi + 0x30], 0
je 0x42596c
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00432b60
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.00432ba2
lea eax, [esi + 0x10]
test eax, eax
je 0x4258f1
mov eax, dword [eax + 4]
push eax
push dword [esi + 4]
call fcn.0043331e
mov dword [esi + 0x18], eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, esi
call fcn.004334ad
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.00433686
jmp 0x42597e
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.0043e6f9
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 0x429470
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
push 0x5bd07c
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 0x4294f3
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5b7d4c
push eax
call esi
push str.IsThemeActive
push dword [edi + 0x20]
mov dword [edi + 4], eax
call esi
push 0x5b7d68
push dword [edi + 0x20]
mov dword [edi + 8], eax
call esi
push 0x5b7d78
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 0x5bd0a8
push dword [edi + 0x20]
mov dword [edi + 0x14], eax
call esi
push 0x5bd0bc
push dword [edi + 0x20]
mov dword [edi + 0x18], eax
call esi
mov dword [edi + 0x1c], eax
pop esi
mov eax, edi
pop edi
ret