joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f2f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [0x58c950]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [str.1a2b3c4d]
mov edx, dword [0x56a60c]
mov dword [esp], eax
mov al, byte [0x56a610]
mov byte [esp + 8], al
xor eax, eax
mov dword [esp + 4], edx
test esi, esi
jbe 0x40f330
nop
mov edx, eax
and edx, 7
mov dl, byte [esp + edx]
xor byte [ecx + eax], dl
inc eax
cmp eax, esi
jb 0x40f320
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0050e8a6
add esp, 0x10
ret

Function at 0x414412
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 0x41445a
call fcn.00419c29
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41445a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41449d
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 0x414486
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 0x414486
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41449a
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 0x415d5f
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.00419c29
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 0x415d98
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.004159ab
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 0x420778
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 0x4207bf
call fcn.00419c29
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4207bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4207db
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004202f0
mov esi, eax
test edi, edi
je 0x4207d9
test ebx, ebx
je 0x4207d9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x420fdb
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5380a4
call fcn.00511d13
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x421000
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x421046
lea ecx, [ebp - 0x10]
call fcn.00407b20
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.00410eda
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.004011d0
mov eax, esi
call fcn.00511deb
ret 8
Function at 0x431e18
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 [0x58c950]
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 0x431e51
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x431e78
cmp dword [0x5911f0], 0
jne 0x431e78
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x431e6b
push 0x12
call esi
test bx, ax
je 0x431e6f
mov eax, edi
jmp 0x431ee7
push edi
call fcn.00514a9b
pop ecx
jmp 0x431ee7
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00513690
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x431ea1
call fcn.00410e8f
call fcn.00414cad
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.0050e8a6
leave
ret 4
Function at 0x441cdd
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 0x441cf7
call fcn.00410e8f
call fcn.00419c29
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x441d17
xor eax, eax
jmp 0x441e32
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x441d10
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x441d10
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.004104cd
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x441cf2
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 0x441d74
mov ecx, edi
call fcn.0043a8f5
jmp 0x441d79
call fcn.0043a7df
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x441d8b
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x441da6
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x441e1e
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x441df5
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 0x441de8
test eax, eax
jbe 0x441de8
push eax
mov ecx, 0x58970c
call fcn.0046b113
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 0x441dbf
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 0x441e1e
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.00410507
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 0x447857
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 0x447998
push esi
push edi
push 0x546980
call fcn.0042145c
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x4478e7
mov esi, dword [ebx + 0x168]
jmp 0x4478d3
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 0x4478d3
push edi
call fcn.0041d3b3
push eax
push 0x58a1b8
call fcn.0042147a
pop ecx
pop ecx
test eax, eax
je 0x4478d3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x4478d3
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x447893
lea ecx, [ebx + 0x164]
call fcn.004dcd50
jmp 0x447996
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x447996
jmp 0x4478fd
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.0047d285
mov esi, dword [eax]
test esi, esi
jne 0x447916
xor ebx, ebx
jmp 0x447919
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44798c
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x44798c
test edi, edi
je 0x44795e
push esi
push 0x58a1b8
call fcn.0042147a
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x550f6c
call fcn.0042147a
pop ecx
pop ecx
test eax, eax
je 0x44798c
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.00446da9
test eax, eax
jne 0x44798c
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00446d79
cmp dword [ebp - 8], 0
jne 0x4478fa
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44bf32
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x58c950]
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.0044b9e0
mov ebx, eax
cmp ebx, esi
je 0x44bf9f
lea ecx, [ebp - 0x20c]
call fcn.00413f5b
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050e8a6
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x44bfbd
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0044bf32
cmp eax, esi
jne 0x44c004
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 0x44bfa7
lea ecx, [ebp - 0x20c]
call fcn.00413f5b
push dword [ebp - 0x214]
mov ecx, edi
call fcn.0044b981
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.00413f5b
mov eax, esi
jmp 0x44bf8e
Function at 0x44f606
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x590f58], 0
mov dword [ebp - 4], ecx
jne 0x44f61c
xor eax, eax
jmp 0x44f656
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x44f62c
call fcn.00419c29
mov esi, dword [eax + 0xc]
push edi
push dword [0x591cd8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44f652
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x44f65a
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 0x44f678
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x44f654
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0044f528
mov esi, eax
jmp 0x44f66a
Function at 0x450f7e
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x52fcbb
call fcn.00511d46
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.004188d4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004180e1
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00418b3d
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.0042f4d6
cmp eax, ebx
jne 0x451015
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004137cd
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00416988
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041882c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00418928
xor eax, eax
call fcn.00511deb
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00418cb4
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x590e74
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.0041808f
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.0044ebea
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.00450418
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0044d31e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.00418cb4
call fcn.00412525
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x450fd8
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4510c7
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004137cd
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x450fe5
lea ecx, [ebp - 0x20]
call fcn.00418aab
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x4510e9
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.004137cd
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00416988
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041882c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.00418928
xor eax, eax
inc eax
jmp 0x45100d
Function at 0x45c30c
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.0042402c
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x45c3c7
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.0045be99
jmp 0x45c3dc
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 0x47601d
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x533175
call fcn.00511d46
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 0xc]
call fcn.0043b4b8
test eax, eax
je 0x4761ec
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.00475da3
test eax, eax
je 0x476063
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00407b20
mov esi, 0x104
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.00402ac0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.004105a6
lea ecx, [ebp - 0x14]
call fcn.00407b20
xor ebx, ebx
inc ebx
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00402ac0
push eax
push edi
push 0x54ab48
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004105a6
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 0x4761d6
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0042441c
push edi
push 0x1000
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.00421da3
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.004216a9
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0x20], edi
mov byte [ebp - 4], 3
call fcn.00421d65
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0042453d
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.004413ef
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], esi
call fcn.004011d0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004011d0
mov eax, ebx
jmp 0x4761ee
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004011d0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004011d0
xor eax, eax
call fcn.00511deb
ret 8
Function at 0x486004
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x53389a
call fcn.00511d7c
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.00407b20
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 0x13
jne 0x486032
push 0x54c6f8
jmp 0x486075
push 0x66
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.00513690
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 0x486064
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.00402d30
lea ecx, [ebp - 0x7c]
call fcn.00407c30
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 0xc], edi
jle 0x4860c6
push edi
lea ecx, [ebp - 0x7c]
call fcn.00440757
movzx ebx, ax
push ebx
call dword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x4860ac
inc edi
cmp edi, dword [esi - 0xc]
jl 0x48608d
jmp 0x4860c6
movzx eax, bx
push eax
call fcn.00514a9b
pop ecx
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.00423e10
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x80]
push esi
call fcn.00408410
cmp dword [ebp + 0x10], 0
jne 0x4860e2
mov ecx, dword [ebp - 0x80]
push 0x2b
call fcn.0041137e
lea ecx, [esi - 0x10]
call fcn.004011d0
call fcn.00511dff
ret 0xc
Function at 0x486335
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x5338da
call fcn.00511d46
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.004188d4
mov edi, dword [0x590ef0]
mov ebx, dword [0x590ef4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004180e1
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00418b3d
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.0042f4d6
test eax, eax
jne 0x4863d5
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.004137cd
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.00416988
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0041882c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00418928
xor eax, eax
call fcn.00511deb
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.00418cb4
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x590e74
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.0041808f
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048619e
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.00418cb4
call fcn.00412525
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x486398
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x486456
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.004137cd
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4863a6
lea ecx, [ebp - 0x20]
call fcn.00418aab
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x486478
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.004137cd
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.00416988
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0041882c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.00418928
xor eax, eax
inc eax
jmp 0x4863cf
Function at 0x486503
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x53390b
call fcn.00511d7c
mov esi, ecx
lea edi, [esi + 0x14]
push edi
lea ecx, [ebp - 0x4d0]
call fcn.00413862
xor ebx, ebx
push ebx
push 0x5680d8
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 4], ebx
call fcn.00407bf0
cmp eax, 0xffffffff
jne 0x4865e6
push ebx
push 0x56861c
lea ecx, [ebp - 0x4d0]
call fcn.00407bf0
cmp eax, 0xffffffff
jne 0x4865e6
push ebx
push 0x544950
lea ecx, [ebp - 0x4d0]
call fcn.00407bf0
cmp eax, 0xffffffff
jne 0x4865e6
push edi
lea ecx, [ebp - 0x4d4]
call fcn.00413862
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 0x4865c9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov esi, eax
call fcn.004011d0
mov ecx, dword [ebp - 0x4d0]
add ecx, 0xfffffff0
call fcn.004011d0
mov eax, esi
call fcn.00511dff
ret
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00402d30
lea ecx, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.004011d0
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 0x486610
mov esi, dword [ebp - 0x4cc]
jmp 0x4865b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, eax
jmp 0x4865b3