joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408c20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push eax
push 0x101
push 0
push 0x55c9b0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408c80
mov eax, dword [esp + 4]
test eax, eax
je 0x408c8f
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 4]
push edx
push 0x583658
push 0
push 0x55c97c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
test eax, eax
je 0x408c8f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0xc
ret

Function at 0x40b74d
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 0x40b795
call fcn.00416268
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40b795
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40b7d8
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 0x40b7c1
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 0x40b7c1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40b7d5
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 0x40cc58
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.00416268
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40cc91
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.0040c8a4
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 0x414c9c
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 0x414ce3
call fcn.00416268
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414ce3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x414cff
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00414814
mov esi, eax
test edi, edi
je 0x414cfd
test ebx, ebx
je 0x414cfd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x415508
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x52da16
call fcn.00508474
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41552d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x415573
lea ecx, [ebp - 0x10]
call fcn.004040b0
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.00414d06
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404090
mov eax, esi
call fcn.0050854c
ret 8
Function at 0x41d6b5
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x57f970]
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 0x41d6ee
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x41d715
cmp dword [0x5857d8], 0
jne 0x41d715
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x41d708
push 0x12
call esi
test bx, ax
je 0x41d70c
mov eax, edi
jmp 0x41d784
push edi
call fcn.0050b49b
pop ecx
jmp 0x41d784
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00508a80
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x41d73e
call fcn.00417572
call fcn.0040d99a
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005072ec
leave
ret 4
Function at 0x42d867
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 0x42d881
call fcn.00417572
call fcn.00416268
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x42d8a1
xor eax, eax
jmp 0x42d9bc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42d89a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42d89a
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.00408cb2
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x42d87c
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 0x42d8fe
mov ecx, edi
call fcn.00426366
jmp 0x42d903
call fcn.00426250
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x42d915
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x42d930
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x42d9a8
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x42d97f
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 0x42d972
test eax, eax
jbe 0x42d972
push eax
mov ecx, 0x57bf94
call fcn.0041d074
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 0x42d949
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 0x42d9a8
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.00408cec
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 0x433365
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 0x4334a6
push esi
push edi
push 0x53952c
call fcn.0041778d
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x4333f5
mov esi, dword [ebx + 0x168]
jmp 0x4333e1
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 0x4333e1
push edi
call fcn.0041186c
push eax
push 0x57ced0
call fcn.004177ab
pop ecx
pop ecx
test eax, eax
je 0x4333e1
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x4333e1
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x4333a1
lea ecx, [ebx + 0x164]
call fcn.004d4e6e
jmp 0x4334a4
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x4334a4
jmp 0x43340b
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004719f5
mov esi, dword [eax]
test esi, esi
jne 0x433424
xor ebx, ebx
jmp 0x433427
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43349a
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43349a
test edi, edi
je 0x43346c
push esi
push 0x57ced0
call fcn.004177ab
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x543b14
call fcn.004177ab
pop ecx
pop ecx
test eax, eax
je 0x43349a
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.0043291c
test eax, eax
jne 0x43349a
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00432887
cmp dword [ebp - 8], 0
jne 0x433408
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x437b1b
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x57f970]
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 - 0x20c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.004375c9
mov ebx, eax
cmp ebx, esi
je 0x437b88
lea ecx, [ebp - 0x20c]
call fcn.0040c259
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005072ec
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x437ba6
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00437b1b
cmp eax, esi
jne 0x437bed
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], 0x100
call ebx
test eax, eax
je 0x437b90
lea ecx, [ebp - 0x20c]
call fcn.0040c259
push dword [ebp - 0x214]
mov ecx, edi
call fcn.0043750e
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.0040c259
mov eax, esi
jmp 0x437b77
Function at 0x43b22d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x585540], 0
mov dword [ebp - 4], ecx
jne 0x43b243
xor eax, eax
jmp 0x43b27d
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x43b253
call fcn.00416268
mov esi, dword [eax + 0xc]
push edi
push dword [0x5862c0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43b279
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x43b281
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 0x43b29f
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x43b27b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0043b14f
mov esi, eax
jmp 0x43b291
Function at 0x43cba5
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x524b0b
call fcn.005084a7
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.00418b2d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041833a
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00418d96
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.0041ab55
cmp eax, ebx
jne 0x43cc3c
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0040e9e1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00418f29
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00418a85
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00418b81
xor eax, eax
call fcn.0050854c
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00418f0d
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x58545c
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.004182d0
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.0043a811
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.0043c03f
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00438f45
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.00418f0d
call fcn.00408cf7
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43cbff
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x43ccee
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0040e9e1
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x43cc0c
lea ecx, [ebp - 0x20]
call fcn.00418d04
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x43cd10
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.0040e9e1
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00418f29
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00418a85
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00418b81
xor eax, eax
inc eax
jmp 0x43cc34
Function at 0x450ada
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.0041aa45
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x450b95
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.0045066b
jmp 0x450baa
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
Function at 0x46a892
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x52854e
call fcn.005084a7
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 0xc]
call fcn.00426f29
test eax, eax
je 0x46aa61
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 8]
lea ecx, [esi + 4]
xor edi, edi
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
call fcn.0042c289
test eax, eax
je 0x46a8d8
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.004040b0
mov esi, 0x104
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00404970
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040c276
lea ecx, [ebp - 0x14]
call fcn.004040b0
xor ebx, ebx
inc ebx
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00404970
push eax
push edi
push 0x53d6f0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040c276
push edi
push 0x4000100
push 2
push edi
push edi
push 0xc0000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, 0xffffffff
je 0x46aa4b
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00448256
push edi
push 0x1000
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0043e065
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [eax + 0x20], ebx
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 4
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.0043da39
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0x20], edi
mov byte [ebp - 4], 3
call fcn.0043e027
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00448377
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.0046a78a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], esi
call fcn.00404090
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00404090
mov eax, ebx
jmp 0x46aa63
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404090
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00404090
xor eax, eax
call fcn.0050854c
ret 8
Function at 0x47a698
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x528c3e
call fcn.005084dd
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.004040b0
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 0x13
jne 0x47a6c6
push 0x53f2a0
jmp 0x47a709
push 0x66
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.00508a80
add esp, 0xc
push edi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x47a6f8
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004049d0
lea ecx, [ebp - 0x7c]
call fcn.004516cb
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 0xc], edi
jle 0x47a75a
push edi
lea ecx, [ebp - 0x7c]
call fcn.0040c2a0
movzx ebx, ax
push ebx
call dword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x47a740
inc edi
cmp edi, dword [esi - 0xc]
jl 0x47a721
jmp 0x47a75a
movzx eax, bx
push eax
call fcn.0050b49b
pop ecx
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.00447d3e
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x80]
push esi
call fcn.0040a799
cmp dword [ebp + 0x10], 0
jne 0x47a776
mov ecx, dword [ebp - 0x80]
push 0x2b
call fcn.00413467
lea ecx, [esi - 0x10]
call fcn.00404090
call fcn.00508560
ret 0xc
Function at 0x47a9c9
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x528c7e
call fcn.005084a7
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.00418b2d
mov edi, dword [0x5854d8]
mov ebx, dword [0x5854dc]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0041833a
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00418d96
mov dword [ebp - 0x1c], esi
mov esi, vtable.CBitmap.0
mov dword [ebp - 0x20], esi
push ebx
push edi
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041ab55
test eax, eax
jne 0x47aa69
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.0040e9e1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.00418f29
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00418a85
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00418b81
xor eax, eax
call fcn.0050854c
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.00418f0d
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x58545c
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.004182d0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0047a832
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00418f0d
call fcn.00408cf7
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47aa2c
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x47aaea
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0040e9e1
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x47aa3a
lea ecx, [ebp - 0x20]
call fcn.00418d04
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x47ab0c
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.0040e9e1
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.00418f29
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00418a85
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00418b81
xor eax, eax
inc eax
jmp 0x47aa63
Function at 0x47ab97
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x528caf
call fcn.005084dd
mov esi, ecx
lea edi, [esi + 0x14]
push edi
lea ecx, [ebp - 0x4d0]
call fcn.0040a5aa
xor ebx, ebx
push ebx
push 0x533464
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 4], ebx
call fcn.0041b005
cmp eax, 0xffffffff
jne 0x47ac7a
push ebx
push 0x5378dc
lea ecx, [ebp - 0x4d0]
call fcn.0041b005
cmp eax, 0xffffffff
jne 0x47ac7a
push ebx
push 0x5378d8
lea ecx, [ebp - 0x4d0]
call fcn.0041b005
cmp eax, 0xffffffff
jne 0x47ac7a
push edi
lea ecx, [ebp - 0x4d4]
call fcn.0040a5aa
mov edi, dword [ebp - 0x4d4]
push ebx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ebx
push edi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x47ac5d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.00404090
mov ecx, dword [ebp - 0x4d0]
add ecx, 0xfffffff0
call fcn.00404090
mov eax, esi
call fcn.00508560
ret
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.004049d0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.00404090
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push ebx
push dword [ebp - 0x4d0]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x47aca4
mov esi, dword [ebp - 0x4cc]
jmp 0x47ac47
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, eax
jmp 0x47ac47