joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c5c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x53248b
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x5847b0]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push esi
push edi
mov eax, dword [0x5847b0]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov esi, dword [0x58c33c]
xor ebx, ebx
push 0x103
lea eax, [esp + 0x69]
push ebx
push eax
mov byte [esp + 0x70], bl
call fcn.0050c890
add esp, 0xc
push 0x104
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x64]
dec eax
mov edi, edi
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x40c630
mov edx, dword [str.__sdtead.dll]
mov ecx, dword [0x5637d0]
mov dword [eax], edx
mov edx, dword [0x5637d4]
mov dword [eax + 4], ecx
mov cl, byte [0x5637d8]
mov dword [eax + 8], edx
lea edx, [esp + 0x64]
push edx
mov byte [eax + 0xc], cl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
add esi, 0x54
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00401610
mov esi, eax
mov dword [esp + 0x178], ebx
mov ebx, esi
call fcn.004016d0
cmp dword [esi + 0x18], 0x10
jb 0x40c691
mov ecx, dword [esi + 4]
jmp 0x40c694
lea ecx, [esi + 4]
call fcn.0040b9b0
mov dword [esp + 0x178], 0xffffffff
cmp dword [esp + 0x60], 8
jb 0x40c6b8
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0040cd6b
add esp, 4
push 0x401e70
push 2
push 0x1c
lea eax, [esp + 0x1c]
xor edx, edx
push eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], dx
call fcn.0050acd3
test edi, edi
je 0x40c6ed
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.0050ab27
add esp, 0x16c
ret

Function at 0x40d726
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.0041a778
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 0x40d75f
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.0040d372
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 0x413b78
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 0x413bbf
call fcn.0041a778
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x413bbf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x413bdb
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004136f0
mov esi, eax
test edi, edi
je 0x413bd9
test ebx, ebx
je 0x413bd9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x414b03
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x531b24
call fcn.0050ccf0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x414b28
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x414b6e
lea ecx, [ebp - 0x10]
call fcn.004053c0
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.00414300
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.00402470
mov eax, esi
call fcn.0050cdc8
ret 8

Function at 0x419300
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 0x419348
call fcn.0041a778
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x419348
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41938b
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 0x419374
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 0x419374
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x419388
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 0x422b31
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 [0x5847b0]
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 0x422b6a
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x422b91
cmp dword [0x5889b0], 0
jne 0x422b91
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x422b84
push 0x12
call esi
test bx, ax
je 0x422b88
mov eax, edi
jmp 0x422c00
push edi
call fcn.0050f7cb
pop ecx
jmp 0x422c00
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0050c890
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x422bba
call fcn.004158a6
call fcn.00417eff
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.0050ab27
leave
ret 4
Function at 0x432b53
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 0x432b6d
call fcn.004158a6
call fcn.0041a778
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x432b8d
xor eax, eax
jmp 0x432ca8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x432b86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x432b86
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.0040cd3c
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x432b68
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 0x432bea
mov ecx, edi
call fcn.0042b6d9
jmp 0x432bef
call fcn.0042b5c3
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x432c01
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x432c1c
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x432c94
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x432c6b
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 0x432c5e
test eax, eax
jbe 0x432c5e
push eax
mov ecx, 0x5810a4
call fcn.0042a659
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 0x432c35
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 0x432c94
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0040cd6b
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 0x438691
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 0x4387d2
push esi
push edi
push 0x53ba00
call fcn.0041c950
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x438721
mov esi, dword [ebx + 0x168]
jmp 0x43870d
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 0x43870d
push edi
call fcn.00410740
push eax
push 0x581e18
call fcn.0041c96e
pop ecx
pop ecx
test eax, eax
je 0x43870d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x43870d
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x4386cd
lea ecx, [ebx + 0x164]
call fcn.005058c7
jmp 0x4387d0
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x4387d0
jmp 0x438737
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.00415f3d
mov esi, dword [eax]
test esi, esi
jne 0x438750
xor ebx, ebx
jmp 0x438753
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4387c6
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4387c6
test edi, edi
je 0x438798
push esi
push 0x581e18
call fcn.0041c96e
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x547014
call fcn.0041c96e
pop ecx
pop ecx
test eax, eax
je 0x4387c6
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.00437c48
test eax, eax
jne 0x4387c6
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00437b77
cmp dword [ebp - 8], 0
jne 0x438734
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43cdc4
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5847b0]
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.0043c872
mov ebx, eax
cmp ebx, esi
je 0x43ce31
lea ecx, [ebp - 0x20c]
call fcn.00419e01
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ab27
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x43ce4f
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0043cdc4
cmp eax, esi
jne 0x43ce96
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], pe_nt_image_headers32
call ebx
test eax, eax
je 0x43ce39
lea ecx, [ebp - 0x20c]
call fcn.00419e01
push dword [ebp - 0x214]
mov ecx, edi
call fcn.0043c813
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.00419e01
mov eax, esi
jmp 0x43ce20
Function at 0x440451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x588718], 0
mov dword [ebp - 4], ecx
jne 0x440467
xor eax, eax
jmp 0x4404a1
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x440477
call fcn.0041a778
mov esi, dword [eax + 0xc]
push edi
push dword [0x589498]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x44049d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4404a5
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 0x4404c3
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x44049f
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00440373
mov esi, eax
jmp 0x4404b5
Function at 0x441dbe
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x527597
call fcn.0050cd23
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.0041bf1c
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041b707
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0041a839
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.00420061
cmp eax, ebx
jne 0x441e55
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00418dd5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0041ac22
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041be74
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041bf70
xor eax, eax
call fcn.0050cdc8
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041a85f
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x588634
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.0041b6cf
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.0043fa35
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.00441258
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0043e1ae
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.0041a85f
call fcn.0040cf1a
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x441e18
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x441f07
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00418dd5
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x441e25
lea ecx, [ebp - 0x20]
call fcn.0041c0f3
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x441f29
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00418dd5
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.0041ac22
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041be74
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.0041bf70
xor eax, eax
inc eax
jmp 0x441e4d
Function at 0x450fcd
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.0041ff6f
pop ecx
mov dword [esi + 0x48], eax
cmp eax, edi
je 0x451088
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.00450b5a
jmp 0x45109d
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 0x46ad47
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x52ab72
call fcn.0050cd23
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov ecx, dword [ebp + 0xc]
call fcn.0042c29c
test eax, eax
je 0x46af16
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.0046ab07
test eax, eax
je 0x46ad8d
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.004053c0
mov esi, 0x104
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.004058b0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0040a850
lea ecx, [ebp - 0x14]
call fcn.004053c0
xor ebx, ebx
inc ebx
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004058b0
push eax
push edi
push 0x53fbd0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040a850
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 0x46af00
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00442c21
push edi
push 0x1000
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0041ee2a
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.0041e739
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x88]
mov dword [eax + 0x20], edi
mov byte [ebp - 4], 3
call fcn.0041edec
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00442d42
mov ecx, dword [ebp - 0x24]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ebx
call fcn.0046ace0
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [eax], esi
call fcn.00402470
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402470
mov eax, ebx
jmp 0x46af18
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402470
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402470
xor eax, eax
call fcn.0050cdc8
ret 8
Function at 0x47d8c5
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x74
mov eax, 0x52b43b
call fcn.0050cd59
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
call fcn.004053c0
mov esi, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
cmp esi, 0x13
jne 0x47d8f3
push 0x542018
jmp 0x47d936
push 0x66
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.0050c890
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 0x47d925
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.004059e0
lea ecx, [ebp - 0x7c]
call fcn.00451bbe
mov esi, dword [ebp - 0x7c]
cmp dword [esi - 0xc], edi
jle 0x47d987
push edi
lea ecx, [ebp - 0x7c]
call fcn.0040a500
movzx ebx, ax
push ebx
call dword [sym.imp.USER32.dll_IsCharLowerW]
test eax, eax
jne 0x47d96d
inc edi
cmp edi, dword [esi - 0xc]
jl 0x47d94e
jmp 0x47d987
movzx eax, bx
push eax
call fcn.0050f7cb
pop ecx
movzx eax, ax
push eax
push edi
lea ecx, [ebp - 0x7c]
call fcn.00442748
mov esi, dword [ebp - 0x7c]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x80]
push esi
call fcn.004052d0
cmp dword [ebp + 0x10], 0
jne 0x47d9a3
mov ecx, dword [ebp - 0x80]
push 0x2b
call fcn.00412342
lea ecx, [esi - 0x10]
call fcn.00402470
call fcn.0050cddc
ret 0xc
Function at 0x47dbf6
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x48
mov eax, 0x52b47b
call fcn.0050cd23
mov dword [ebp - 0x14], ecx
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.0041bf1c
mov edi, dword [0x5886b0]
mov ebx, dword [0x5886b4]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0041b707
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0041a839
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.00420061
test eax, eax
jne 0x47dc96
push 0xffffffffffffffff
push 0
push 0x3e8a
call fcn.00418dd5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.0041ac22
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0041be74
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.0041bf70
xor eax, eax
call fcn.0050cdc8
ret
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041a85f
and dword [ebp - 0x40], 0
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], eax
push 0x588634
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], ebx
call fcn.0041b6cf
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0047da5f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
call fcn.0041a85f
call fcn.0040cf1a
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x47dc59
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x47dd17
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.00418dd5
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x47dc67
lea ecx, [ebp - 0x20]
call fcn.0041c0f3
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x47dd39
push 0xffffffffffffffff
push eax
push 0x3e8a
call fcn.00418dd5
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], esi
call fcn.0041ac22
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0041be74
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.0041bf70
xor eax, eax
inc eax
jmp 0x47dc90