joyce8/EMBER2024-capa huggingface dataset:
Function at 0x81296c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x812a23
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.008128e4
mov edx, dword [ebp - 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
test byte [ebp - 0xc], 0x10
je 0x8129b7
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.00812a34
test byte [ebp - 0xc], 0x80
je 0x8129ca
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.00812a78
jmp 0x812a06
push 0
call sub.user32.dll_GetKeyboardLayout
and eax, 0xffff
cmp eax, 0x412
jne 0x812a06
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
test eax, eax
je 0x8129f3
sub eax, 4
mov eax, dword [eax]
cmp eax, 1
jge 0x8129fd
mov eax, 1
mov edx, eax
mov eax, esi
call fcn.00806eb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x812a2a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409cd8
pop eax
jmp eax

Function at 0x812a34
Capabilities:
Log keystrokes via input method manager

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push 0
push 0
push 0x10
push esi
call sub.imm32.dll_ImmGetCompositionStringW
mov ebx, eax
test ebx, ebx
jle 0x812a71
push ebx
lea eax, [edi + 0x3c]
mov ecx, 1
mov edx, dword [0x7f725c]
call fcn.0040ccf8
add esp, 4
push ebx
mov eax, dword [edi + 0x3c]
push eax
push 0x10
push esi
call sub.imm32.dll_ImmGetCompositionStringW
pop edi
pop esi
pop ebx
ret

Function at 0x8308f4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x8309bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00409c78
push 0
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x83099c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x830987
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
lea eax, [ebp - 4]
call fcn.0040a9d8
xor eax, eax
push ebp
push 0x830980
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a058
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x830987
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8309a3
call sub.user32.dll_CloseClipboard
pop eax
jmp eax
Function at 0x8309c8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
push 0
call sub.user32.dll_OpenClipboard
call sub.user32.dll_EmptyClipboard
xor edx, edx
push ebp
push 0x830aa6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x8309f6
sub eax, 4
mov eax, dword [eax]
inc eax
add eax, eax
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x830a79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x830a68
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalSize
push eax
mov eax, ebx
call fcn.0040a974
mov edx, esi
pop ecx
call fcn.004072d4
mov eax, dword [ebp - 4]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x830a6f
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax

Function at 0x830ac4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 4], eax
push 0
call sub.user32.dll_OpenClipboard
xor edx, edx
push ebp
push 0x830b48
push dword fs:[edx]
mov dword fs:[edx], esp
push 8
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x830b33
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x830b2c
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.005fac3c
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x830b33
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x830b4f
call sub.user32.dll_CloseClipboard
pop eax
jmp eax
Function at 0x830b58
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov ebx, edx
push 0
call sub.user32.dll_OpenClipboard
call sub.user32.dll_EmptyClipboard
xor ecx, ecx
push ebp
push 0x830d18
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x28
call fcn.004077ac
mov dword [ebp - 0x38], 0x28
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x30], edx
mov ecx, dword [ebx + 0x18]
imul ecx, eax
imul ecx, edx
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x34], 0
jg 0x830bc9
mov dword [ebp - 0x34], 1
cmp dword [ebp - 0x30], 0
jg 0x830bd6
mov dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
cdq
xor eax, edx
sub eax, edx
imul dword [ebp - 0x34]
add eax, eax
add eax, eax
add eax, 0x28
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x830ceb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x830ccf
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
lea eax, [ebp - 0x38]
mov ecx, 0x28
call fcn.004072d4
lea eax, [esi + 0x28]
mov dword [ebp - 8], eax
cmp dword [ebx + 0x14], 4
jne 0x830c71
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl 0x830cb6
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004fb8ac
mov edx, dword [ebx + 0x10]
dec edx
sub edx, esi
mov edi, dword [ebx + 0xc]
imul edx, edi
mov ecx, dword [ebp - 8]
lea edx, [ecx + edx*4]
mov ecx, edi
add ecx, ecx
add ecx, ecx
call fcn.004072d4
inc esi
dec dword [ebp - 0xc]
jne 0x830c43
jmp 0x830cb6
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl 0x830cb6
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
mov eax, dword [ebx + 0xc]
dec eax
test eax, eax
jl 0x830cb0
inc eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov ecx, esi
mov edx, edi
mov eax, ebx
call fcn.004fb8dc
mov edx, dword [ebx + 0x10]
dec edx
sub edx, esi
imul edx, dword [ebx + 0xc]
add edx, edi
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4], eax
inc edi
dec dword [ebp - 0x10]
jne 0x830c8d
inc esi
dec dword [ebp - 0xc]
jne 0x830c7f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x830cd6
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
Function at 0x892a8c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x892b46
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x48]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00892a1c
test al, al
je 0x892b26
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409e00
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x892b26
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a974
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040a974
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040a9d8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x892adf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x892b4d
lea eax, [ebp - 0x2c]
call fcn.00409c78
lea eax, [ebp - 4]
call fcn.00409c78
pop eax
jmp eax

Function at 0x892e28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040a974
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.00892794
test al, al
jne 0x892e89
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0xa780e0]
mov dl, 1
mov eax, dword [0x8914c8]
call fcn.0042f128
call fcn.00409370
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.008926fc
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x899a9c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x899aa2
ret
Function at 0x89fd48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.0089fbd8
lea edx, [ebp - 0x22]
mov ecx, 0x16
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x22], 0x9ac6cdd7
jne 0x89fd8a
lea eax, [ebp - 0x22]
call fcn.0089d6d0
cmp ax, word [ebp - 0xe]
je 0x89fd8f
call fcn.0089c668
sub dword [ebp - 8], 0x16
mov eax, dword [ebp - 8]
call fcn.00407094
mov dword [ebp - 0xc], eax
mov ebx, dword [esi + 0x30]
xor eax, eax
push ebp
push 0x89feb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [esi + 0x30]
movzx edx, word [ebp - 0x14]
mov word [eax + 0x18], dx
cmp word [ebp - 0x14], 0
jne 0x89fdd5
mov word [ebp - 0x14], 0x60
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x18]
movsx edx, word [ebp - 0x1c]
sub eax, edx
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0xc], eax
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x16]
movsx edx, word [ebp - 0x1a]
sub eax, edx
push eax
call sub.kernel32.dll_MulDiv
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x34], 8
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetWinMetaFileBits
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x89fe46
call fcn.0089c668
lea eax, [ebp - 0xa0]
push eax
push 0x6c
mov eax, dword [ebx + 8]
push eax
call sub.gdi32.dll_GetEnhMetaFileHeader
mov dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
push eax
call sub.gdi32.dll_DeleteEnhMetaFile
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetWinMetaFileBits
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x89fe9a
call fcn.0089c668
mov byte [esi + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x89fec0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.004070b0
pop eax
jmp eax
Function at 0x8b4500
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0xa94108], 0
je 0x8b4641
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0xa77a8c]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x8b4641
mov eax, dword [0xa9410c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0xa94108]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x8b4610
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0xa94108]
call fcn.004a9860
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x8b4608
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x8b4608
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x8b4608
mov eax, dword [ebp - 0x14]
call fcn.008c09c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x8b4608
push ebp
call fcn.008b44bc
pop ecx
test al, al
jne 0x8b4608
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.004082b8
test al, al
je 0x8b4608
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.004082b8
cmp byte [ebp - 1], 0
je 0x8b4608
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00413710
test al, al
je 0x8b4608
mov edx, dword [ebp - 0x14]
mov eax, dword [0xa9410c]
call fcn.008b3c3c
inc edi
dec ebx
jne 0x8b4565
mov eax, dword [0xa9410c]
cmp dword [eax + 8], 0
jle 0x8b4628
mov eax, dword [0xa9410c]
call fcn.008b3cf0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x8b4641
push ebp
mov eax, dword [ebp - 0x18]
call fcn.008b4324
pop ecx
test al, al
jne 0x8b4641
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8bcf68
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00413b44
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.008b6b64
test ebx, ebx
jne 0x8bcfbb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.008bce88
mov ebx, eax
test ebx, ebx
je 0x8bd0b1
cmp esi, ebx
je 0x8bcfe4
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x8bcff9
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x8bd031
add eax, 0xffffff5f
sub eax, 2
jb 0x8bd049
dec eax
sub eax, 2
jb 0x8bd05d
dec eax
sub eax, 2
jb 0x8bd053
jmp 0x8bd067
add eax, 0xfffffdff
sub eax, 2
jb 0x8bd049
dec eax
sub eax, 2
jb 0x8bd05d
dec eax
sub eax, 2
jb 0x8bd053
jmp 0x8bd067
mov byte [esp + 0x120], 0
jmp 0x8bd06f
mov byte [esp + 0x120], 2
jmp 0x8bd06f
mov byte [esp + 0x120], 1
jmp 0x8bd06f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00935af4
mov esi, eax
call fcn.008b32c0
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.008b8534
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x8bd0b3
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x8ffe48
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.008fff10
test eax, eax
je 0x8ffe9a
mov edi, dword [ebx + 8]
test edi, edi
je 0x8ffe76
test edi, edi
je 0x8ffe76
mov edx, esi
mov eax, edi
call fcn.008b71d8
jmp 0x8ffea8
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.008fff10
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409e00
jmp 0x8ffea8
mov ecx, esi
mov edx, 0x8ffec8
mov eax, ebx
call fcn.008ffdd0
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040a058
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x91ffc8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00409c78
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x92001a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x920013
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040aa2c
jmp 0x92001a
mov eax, esi
call fcn.00409c78
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x925a80
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x925be5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0xa73390], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x8916ec]
call fcn.00892724
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x925bb9
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.008927d0
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040aa2c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x925c00
call fcn.0040abdc
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00892834
test al, al
je 0x925ba1
lea ecx, [ebp - 4]
mov edx, 0x925c74
mov eax, dword [ebp - 0xc]
call fcn.00892d7c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00431de4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x925ba1
xor edx, edx
push ebp
push 0x925b9a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x925c8c
mov eax, dword [ebp - 8]
push eax
call fcn.00417790
test eax, eax
je 0x925b81
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x925b81
call fcn.00925a0c
test eax, eax
je 0x925b71
mov eax, dword [ebx + 0x50]
jmp 0x925b74
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0xa73390]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x925ba1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x925bc0
mov eax, dword [ebp - 0xc]
call fcn.00407f70
pop eax
jmp eax

Function at 0x925cf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x925d37
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x925d1a
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x925d2b
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x925d37
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x935610
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x935631
test edi, 0x40000
je 0x93564b
test bl, bl
jne 0x9356cc
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x9356cc
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x93567e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x935693
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x9356a2
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x9356b3
cmp byte [esp + 2], 0
je 0x9356cc
cmp byte [esp + 2], 0
je 0x9356c4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x9356cc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x935970
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x935996
mov eax, esp
push eax
push 0x935938
call sub.user32.dll_EnumWindows
jmp 0x9359a9
mov eax, esp
push eax
push 0x935918
call sub.kernel32.dll_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x935a6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
xor eax, eax
mov si, ax
test bl, 4
je 0x935a7e
or si, 1
test bl, 8
je 0x935a87
or si, 4
test bl, 1
je 0x935a90
or si, 8
test bl, 2
je 0x935a99
or si, 0x10
test bl, 0x10
je 0x935aa2
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x935ab2
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x935ab8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x935ad1
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x935ae1
or bx, 4
test esi, 0x20000000
je 0x935aed
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x93efc4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x93efd6
add esp, 0xfffffff0
call fcn.004084dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004be29c
mov eax, dword [0xa77378]
mov dword [eax + 4], ebx
mov dword [eax], 0x93f498
mov eax, dword [0xa7738c]
mov dword [eax + 4], ebx
mov dword [eax], 0x93f4a4
mov eax, ebx
call fcn.0093f4b0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x480e48]
call fcn.00407f40
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x480e48]
call fcn.00407f40
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x480e48]
call fcn.00407f40
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x480e48]
call fcn.00407f40
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x480e48]
call fcn.00407f40
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x9399ec
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x893a44]
call fcn.0089a3f0
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x893a44]
call fcn.0089a3f0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x893a44]
call fcn.0089a3f0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x893a44]
call fcn.0089a3f0
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x893a44]
call fcn.0089a3f0
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.0093f9f8
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x93f878
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x93f878
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x93f878
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x93f878
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x93f878
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x93f156
call fcn.00408534
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret