joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dab0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x90], 0
je 0x41dbb7
mov ecx, dword [ebp - 0xc]
add ecx, 0x88
push ecx
mov edx, esp
mov dword [ebp - 4], esp
push ecx
mov ecx, edx
call fcn.0040a2e0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
add ecx, 0xd0
call fcn.00414bb0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xb8], 0
jne 0x41db12
mov ecx, dword [ebp - 0xc]
add ecx, 0x88
call fcn.004065e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xac], 1
je 0x41db36
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0xac], 0
je 0x41db36
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xac], 3
jne 0x41db6c
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x104], 0
je 0x41db6a
mov ecx, dword [ebp - 0xc]
add ecx, 0xf4
call fcn.00409e50
movzx edx, al
test edx, edx
jne 0x41db6a
push 0
mov ecx, dword [ebp - 0xc]
call fcn.0041dc20
test eax, eax
je 0x41db6a
jmp 0x41dc1a
jmp 0x41dbb5
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xac], 2
jne 0x41dbb5
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x108], 0
je 0x41dbb5
mov ecx, dword [ebp - 0xc]
add ecx, 0x118
call fcn.00409e50
movzx edx, al
test edx, edx
jne 0x41dbb5
mov ecx, dword [ebp - 0xc]
add ecx, 0xd0
call fcn.004150f0
test eax, eax
je 0x41dbb5
mov ecx, dword [ebp - 0xc]
call fcn.0041e540
jmp 0x41dc1a
jmp 0x41dc0d
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0xb8], 0
jne 0x41dc0d
mov ecx, dword [ebp - 0xc]
add ecx, 0x88
call fcn.004065e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str..down
mov ecx, dword [ebp - 0xc]
add ecx, 0x88
push ecx
lea edx, [ebp - 8]
push edx
call fcn.00409d80
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.004065e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 8]
call fcn.004049f0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x60]
call eax
mov esp, ebp
pop ebp
ret
Function at 0x41f7c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xa8], 8
jne 0x41f819
push 0x3e8
mov ecx, dword [ebp - 4]
call fcn.00413ca0
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x158], 0
je 0x41f80b
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x158], 0
mov ecx, dword [ebp - 4]
add ecx, 0xd0
call fcn.004150c0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x60]
call edx
push 0
call fcn.00522ef1
mov esp, ebp
pop ebp
ret
Function at 0x4200f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esp, ebp
pop ebp
ret

Function at 0x420a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x599690]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x114], 0
mov al, byte [0x574db2]
mov byte [ebp - 0x110], al
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.00523530
add esp, 0xc
lea edx, [ebp - 0x110]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x5c
lea eax, [ebp - 0x110]
push eax
call fcn.00422300
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x420aa4
mov ecx, dword [ebp - 4]
mov byte [ecx + 1], 0
lea edx, [ebp - 0x110]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404510
mov eax, dword [ebp - 0x114]
or eax, 1
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
jmp 0x420ac3
push 0x574db3
mov ecx, dword [ebp + 8]
call fcn.00404510
mov ecx, dword [ebp - 0x114]
or ecx, 1
mov dword [ebp - 0x114], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00520c7a
mov esp, ebp
pop ebp
ret

Function at 0x420ae0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549c70
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x599690]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040a2e0
mov byte [ebp - 4], 1
push 0
push 0x574db4
lea ecx, [ebp + 8]
call fcn.00403d90
add eax, 2
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0040ad90
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x420b74
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.004096b0
push 0
lea ecx, [ebp - 0x18]
call fcn.004065e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x18]
call fcn.004049f0
cmp dword [ebp - 0x14], 0xffffffff
jne 0x420b31
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004049f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x421310
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea ecx, [ebp + 8]
call fcn.004065e0
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x421351
mov byte [ebp - 0x19], 0
lea ecx, [ebp + 8]
call fcn.004049f0
lea ecx, [ebp + 0x10]
call fcn.004049f0
mov al, byte [ebp - 0x19]
jmp 0x421455
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x421382
mov byte [ebp - 0x1a], 0
lea ecx, [ebp + 8]
call fcn.004049f0
lea ecx, [ebp + 0x10]
call fcn.004049f0
mov al, byte [ebp - 0x1a]
jmp 0x421455
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4213b3
mov byte [ebp - 0x1b], 0
lea ecx, [ebp + 8]
call fcn.004049f0
lea ecx, [ebp + 0x10]
call fcn.004049f0
mov al, byte [ebp - 0x1b]
jmp 0x421455
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4213df
mov byte [ebp - 0x1c], 0
lea ecx, [ebp + 8]
call fcn.004049f0
lea ecx, [ebp + 0x10]
call fcn.004049f0
mov al, byte [ebp - 0x1c]
jmp 0x421455
lea ecx, [ebp + 0x10]
call fcn.004065e0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 0xd], 0
push 0x574dd4
lea ecx, [ebp + 0x10]
call fcn.004065e0
push eax
call fcn.005215bd
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42143c
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp - 4]
push eax
call fcn.0052198b
add esp, 0x10
cmp dword [ebp - 8], eax
jne 0x421430
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0052169e
add esp, 4
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0x1d], dl
lea ecx, [ebp + 8]
call fcn.004049f0
lea ecx, [ebp + 0x10]
call fcn.004049f0
mov al, byte [ebp - 0x1d]
mov esp, ebp
pop ebp
ret

Function at 0x425ae9
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5442e6
call fcn.005239dc
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x425b0e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x425b54
lea ecx, [ebp - 0x10]
call fcn.0040a300
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.00422715
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.00403390
mov eax, esi
call fcn.00523ab4
ret 8
Function at 0x42c99b
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 0x42c9e2
call fcn.00431328
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42c9e2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42c9fe
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042c515
mov esi, eax
test edi, edi
je 0x42c9fc
test ebx, ebx
je 0x42c9fc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43089a
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.00431328
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 0x4308d3
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.004304eb
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 0x430931
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 0x430955
cmp dword [edi + 0x54], 0
jne 0x430955
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00431328
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.004308f2
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 0x434555
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 0x43459d
call fcn.00431328
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43459d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4345e0
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 0x4345c9
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 0x4345c9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4345dd
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 0x445706
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 [0x599690]
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 0x44573f
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x445766
cmp dword [0x59d758], 0
jne 0x445766
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x445759
push 0x12
call esi
test bx, ax
je 0x44575d
mov eax, edi
jmp 0x4457d1
push edi
call fcn.005226ba
pop ecx
jmp 0x4457d1
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.004350c1
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.00520c7a
leave
ret 4
Function at 0x4555f2
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 0x45560c
call fcn.004226ca
call fcn.00431328
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x45562c
xor eax, eax
jmp 0x455747
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x455625
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x455625
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.00422331
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x455607
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 0x455689
mov ecx, edi
call fcn.0044e178
jmp 0x45568e
call fcn.0044e062
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x4556a0
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x4556bb
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x455733
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x45570a
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 0x4556fd
test eax, eax
jbe 0x4556fd
push eax
mov ecx, 0x5966d4
call fcn.0047cff5
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 0x4556d4
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 0x455733
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0042236b
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 0x45b172
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 0x45b2b3
push esi
push edi
push 0x555ac8
call fcn.00436544
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x45b202
mov esi, dword [ebx + 0x168]
jmp 0x45b1ee
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 0x45b1ee
push edi
call fcn.00429665
push eax
push 0x596f78
call fcn.00436562
pop ecx
pop ecx
test eax, eax
je 0x45b1ee
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x45b1ee
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x45b1ae
lea ecx, [ebx + 0x164]
call fcn.00460815
jmp 0x45b2b1
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x45b2b1
jmp 0x45b218
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004323de
mov esi, dword [eax]
test esi, esi
jne 0x45b231
xor ebx, ebx
jmp 0x45b234
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45b2a7
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45b2a7
test edi, edi
je 0x45b279
push esi
push 0x596f78
call fcn.00436562
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x55e534
call fcn.00436562
pop ecx
pop ecx
test eax, eax
je 0x45b2a7
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.0045a6d5
test eax, eax
jne 0x45b2a7
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0045a6a5
cmp dword [ebp - 8], 0
jne 0x45b215
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45f951
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x599690]
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.0045f411
mov ebx, eax
cmp ebx, esi
je 0x45f9be
lea ecx, [ebp - 0x10c]
call fcn.004350a4
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00520c7a
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x45f9dc
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.0045f951
cmp eax, esi
jne 0x45fa23
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 0x45f9c6
lea ecx, [ebp - 0x10c]
call fcn.004350a4
push dword [ebp - 0x114]
mov ecx, edi
call fcn.0045f3b2
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.004350a4
mov eax, esi
jmp 0x45f9ad
Function at 0x462f3b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x59d4c0], 0
mov dword [ebp - 4], ecx
jne 0x462f51
xor eax, eax
jmp 0x462f8b
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x462f61
call fcn.00431328
mov esi, dword [eax + 0xc]
push edi
push dword [0x59e240]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x462f87
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x462f8f
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 0x462fad
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x462f89
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00462e5d
mov esi, eax
jmp 0x462f9f
Function at 0x4648b3
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x53fa1a
call fcn.00523a0f
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0042ddb6
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042d5a1
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0042e01f
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.00442e4d
cmp eax, ebx
jne 0x46494a
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004340d6
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00424ec4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042dd0e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0042de0a
xor eax, eax
call fcn.00523ab4
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0042e196
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x59d3dc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.0042d537
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.0046251f
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.00463d4d
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00460ba6
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0042e196
call fcn.00427f95
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46490d
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4649fc
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004340d6
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x46491a
lea ecx, [ebp - 0x20]
call fcn.0042df8d
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x464a1e
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004340d6
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00424ec4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0042dd0e
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0042de0a
xor eax, eax
inc eax
jmp 0x464942
Function at 0x46e04a
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.00427f07
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x46e105
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.0046db38
jmp 0x46e11a
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