joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4debcb
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x5183f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x4dec0e
call fcn.004b95de
mov dword [eax], 0xf
call fcn.004b95f1
mov dword [eax], 0xd
call fcn.004b91ff
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b28c6
leave
ret
test eax, eax
jne 0x4dec15
inc eax
jmp 0x4dec02
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x4dec00
xor eax, eax
cmp ecx, 1
setne al
jmp 0x4dec02

Function at 0x4dfc70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4dfc9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4dfc9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1000ec1d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10020b90]
jne 0x1000ec27
repz ret
jmp fcn.10010c88

Function at 0x10012c12
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000e14d
and dword [ebp - 4], 0
cmp dword [0x10022934], 0
mov ebx, eax
jne 0x10012cc3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10012d74
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10012d74
push eax
call fcn.1000e0db
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10022934], eax
call esi
push eax
call fcn.1000e0db
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10022938], eax
call esi
push eax
call fcn.1000e0db
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1002293c], eax
call esi
push eax
call fcn.1000e0db
pop ecx
mov dword [0x10022944], eax
test eax, eax
je 0x10012cc3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000e0db
pop ecx
mov dword [0x10022940], eax
mov eax, dword [0x10022940]
cmp eax, ebx
je 0x10012d1b
cmp dword [0x10022944], ebx
je 0x10012d1b
push eax
call fcn.1000e156
push dword [0x10022944]
mov esi, eax
call fcn.1000e156
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10012d1b
test edi, edi
je 0x10012d1b
call esi
test eax, eax
je 0x10012d12
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10012d12
test byte [ebp - 0xc], 1
jne 0x10012d1b
or dword [ebp + 0x10], 0x200000
jmp 0x10012d54
mov eax, dword [0x10022938]
cmp eax, ebx
je 0x10012d54
push eax
call fcn.1000e156
pop ecx
test eax, eax
je 0x10012d54
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10012d54
mov eax, dword [0x1002293c]
cmp eax, ebx
je 0x10012d54
push eax
call fcn.1000e156
pop ecx
test eax, eax
je 0x10012d54
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10022934]
call fcn.1000e156
pop ecx
test eax, eax
je 0x10012d74
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10012d76
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014190
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x100200d4], 0xc3a
mov dword [ebp - 0x10], 0
mov dword [0x100200d8], 0x969
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov dword [0x100200d4], 0x13b9
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [0x100200d8], 0x3b0
mov dword [ebp - 4], 0
jmp 0x1001422b
jmp 0x10014322
jmp 0x10014226
mov dword [0x100200d4], 0x375
mov dword [ebp - 8], 1
jmp 0x10014338
jmp 0x100141eb
mov dword [0x100200d4], 0x3e7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x10014265
jmp 0x10014327
jmp 0x10014327
cmp dword [ebp - 4], 0x104
jge 0x10014205
mov eax, dword [0x100200d8]
sub eax, 0x5f3
mov dword [0x100200d4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x10014256
jmp 0x10014205
jmp 0x10014258
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x1001422b
mov dword [0x100200d4], 0x58
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
jne 0x10014226
mov dword [0x100200d4], 0x964
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
jne 0x100141eb
mov dword [0x100200d4], 0x22b9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x10014203
mov dword [0x100200d8], 0x1401
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
jne 0x10014322
mov dword [0x100200d4], 0x1e25
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
jne 0x100141e6
mov dword [0x100200d4], 0x9f4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x100141ed
jmp 0x100141e6
jmp 0x10014203
mov dword [0x100200d4], 0xafd
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 0x10
pop ebp
ret

Function at 0x100146c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.100146c0]
mov dword [0x100200d8], 0x1db2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x10014702
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10014700
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10014735
jmp 0x10014702
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x100200d4], 0x1f68
mov al, 1
test al, 1
jne 0x100146d9
jmp 0x10014724
mov dword [0x100200d4], 0xe3c
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x77623553
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x566e264e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402640
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 0x402659
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402694
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x402690
lea ebx, [ebx]
cmp esi, eax
jae 0x402694
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x402680
cmp esi, eax
jb 0x40269a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4032d1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x570790]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x40336f
push 0x529f14
push 4
push eax
call fcn.00502603
push eax
call fcn.00402150
add esp, 0x10
push ebx
push edi
call fcn.0050277c
mov edi, dword [eax]
call fcn.0050277c
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00502719
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0050277c
cmp dword [eax], ebx
je 0x403386
call fcn.0050277c
push dword [eax]
call fcn.0040323f
pop ecx
jmp 0x40338d
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x403317
jmp 0x403414
call fcn.0050277c
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x403410
cmp dword [ebp - 0x11c], esi
jae 0x403410
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.005027d0
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x4033ff
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4033ff
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4033ff
push ebx
push ebx
push esi
jmp 0x403408
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x403412
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005010d0
leave
ret
Function at 0x405274
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4052bc
call fcn.00411285
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4052bc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4052ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4052e8
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4052e8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4052fc
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4067e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00411285
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x406820
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00406438
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x40687e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4068a2
cmp dword [edi + 0x54], 0
jne 0x4068a2
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00411285
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040683f
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x40fcd6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40fd1d
call fcn.00411285
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40fd1d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40fd39
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040f850
mov esi, eax
test edi, edi
je 0x40fd37
test ebx, ebx
je 0x40fd37
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x410525
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x524985
call fcn.005021c1
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41054a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x410590
lea ecx, [ebp - 0x10]
call fcn.00402350
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.00408799
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401220
mov eax, esi
call fcn.00502299
ret 8
Function at 0x417201
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x570790]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x41723a
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x417261
cmp dword [0x573eb8], 0
jne 0x417261
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x417254
push 0x12
call esi
test bx, ax
je 0x417258
mov eax, edi
jmp 0x4172cc
push edi
call fcn.0050563b
pop ecx
jmp 0x4172cc
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.004074db
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005010d0
leave
ret 4
Function at 0x427368
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x427382
call fcn.004094df
call fcn.00411285
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4273a2
xor eax, eax
jmp 0x4274bd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42739b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42739b
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402c7a
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x42737d
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x4273ff
mov ecx, edi
call fcn.0041fee5
jmp 0x427404
call fcn.0041fdcd
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x427416
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x427431
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x4274a9
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x427480
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x427473
test eax, eax
jbe 0x427473
push eax
mov ecx, 0x56cdbc
call fcn.0041ee69
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x42744a
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x4274a9
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.00402ca9
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42cec4
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x42d005
push esi
push edi
push 0x52fa88
call fcn.00412e2b
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x42cf54
mov esi, dword [ebx + 0x168]
jmp 0x42cf40
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42cf40
push edi
call fcn.0040c97b
push eax
push 0x56dcf8
call fcn.00412e49
pop ecx
pop ecx
test eax, eax
je 0x42cf40
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x42cf40
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x42cf00
lea ecx, [ebx + 0x164]
call fcn.004494d1
jmp 0x42d003
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x42d003
jmp 0x42cf6a
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004051ff
mov esi, dword [eax]
test esi, esi
jne 0x42cf83
xor ebx, ebx
jmp 0x42cf86
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42cff9
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42cff9
test edi, edi
je 0x42cfcb
push esi
push 0x56dcf8
call fcn.00412e49
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x538584
call fcn.00412e49
pop ecx
pop ecx
test eax, eax
je 0x42cff9
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.0042c47b
test eax, eax
jne 0x42cff9
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0042c3e6
cmp dword [ebp - 8], 0
jne 0x42cf67
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x431738
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x570790]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.004311f8
mov ebx, eax
cmp ebx, esi
je 0x4317a5
lea ecx, [ebp - 0x10c]
call fcn.00405ea2
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005010d0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x4317c3
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00431738
cmp eax, esi
jne 0x43180a
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x100
call ebx
test eax, eax
je 0x4317ad
lea ecx, [ebp - 0x10c]
call fcn.00405ea2
push dword [ebp - 0x114]
mov ecx, edi
call fcn.0043113d
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.00405ea2
mov eax, esi
jmp 0x431794
Function at 0x434dc8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x573c20], 0
mov dword [ebp - 4], ecx
jne 0x434dde
xor eax, eax
jmp 0x434e18
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x434dee
call fcn.00411285
mov esi, dword [eax + 0xc]
push edi
push dword [0x5749a0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x434e14
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x434e1c
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x434e3a
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x434e16
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00434ce9
mov esi, eax
jmp 0x434e2c
Function at 0x44a948
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
push str.UxTheme.dll
mov dword [esi], vtable.CMFCBaseVisualManager.0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.004695d1
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x44aa03
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenThemeData
push eax
call edi
push str.CloseThemeData
push dword [esi + 0x48]
mov dword [esi + 0x4c], eax
call edi
push str.DrawThemeBackground
push dword [esi + 0x48]
mov dword [esi + 0x50], eax
call edi
push str.GetThemeColor
push dword [esi + 0x48]
mov dword [esi + 0x54], eax
call edi
push str.GetThemeSysColor
push dword [esi + 0x48]
mov dword [esi + 0x58], eax
call edi
push str.GetCurrentThemeName
push dword [esi + 0x48]
mov dword [esi + 0x5c], eax
call edi
push str.GetWindowTheme
push dword [esi + 0x48]
mov dword [esi + 0x60], eax
call edi
mov ecx, esi
mov dword [esi + 0x64], eax
call fcn.0044a408
jmp 0x44aa18
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
pop edi
mov eax, esi
pop esi
ret