joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427fa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4280c5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00427da8
mov esi, eax
mov eax, dword [0x6f8198]
cmp byte [eax], 0
je 0x42806d
mov eax, dword [0x6f7a64]
call fcn.004072a4
call fcn.004069bc
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x427f70]
call fcn.0040bf4c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4280e0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4280a9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x6f796c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6fbc54]
call fcn.0040c178
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4280cc
lea eax, [ebp - 4]
mov edx, dword [0x427f70]
call fcn.0040c070
ret

Function at 0x428fec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4290c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a224
lea eax, [ebp - 4]
call fcn.0040a3d0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa58
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4290ac
mov eax, ebx
call fcn.00406848
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4290a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aa58
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42908f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4290d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42908f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4290ac
mov eax, dword [ebp - 0x10]
call fcn.00406864
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4290c9
lea eax, [ebp - 4]
call fcn.00409dfc
ret
Function at 0x429cd0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.0040a310
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040dbe8
mov edi, eax
cmp edi, 0x104
jbe 0x429c7b
mov eax, edi
add eax, eax
call fcn.00406848
mov esi, eax
jmp 0x429c7d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040dbe8
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x429cb6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x429ca0
mov eax, esp
cmp esi, eax
je 0x429cc3
mov eax, esi
call fcn.00406864
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x429cfc
cmp bl, 0
je 0x429cf8
cmp bl, 0x41
jl 0x429cf3
cmp bl, 0x5a
jg 0x429cf3
or bl, 0x20
xor al, bl
inc esi
jmp 0x429cd7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429c3c

Function at 0x42a5c8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00409dfc
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040aa58
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42a60d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.00409f84
jmp 0x42a626
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040abec
push ebx
mov eax, dword [esi]
call fcn.0040aa58
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x435924
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x435976
test eax, edx
je 0x435979
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x435939
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x43595f
add ecx, 4
js 0x43594f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x43595c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x435985
test edx, edx
jne 0x43592c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x471160
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x471168
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4aa294
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4aa332
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4aa2f6
cmp byte [ebx + 0x11], 0
jne 0x4aa2f6
cmp byte [ebx + 0x3c], 0
jne 0x4aa2f6
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4aa317
lea edx, [ebp - 4]
mov eax, dword [0x6f8078]
call fcn.0040db54
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4803f0]
call fcn.00428110
call fcn.004094f8
jmp 0x4aa317
lea edx, [ebp - 8]
mov eax, dword [0x6f8078]
call fcn.0040db54
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4803f0]
call fcn.00428110
call fcn.004094f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa339
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409e5c
ret

Function at 0x4aa664
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4aa6b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004aa1e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aa6cb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4aa6d4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004aa1e0
dec esi
jne 0x4aa6f6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4acd00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6fe438
cmp dword [edi], 0
jne 0x4acd7c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6fe434]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6e6664
mov ecx, 2
call fcn.00406abc
mov edx, 0x4accd8
lea eax, [esi + 5]
call fcn.004accf8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004accf8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4acd51
mov dword [0x6fe434], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4c906c
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 0x4c9124
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.004c9000
test al, al
je 0x4c9106
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00409f84
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4c9106
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.0040aa58
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040aa58
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040aac0
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
dec ebx
jne 0x4c90bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c912b
lea eax, [ebp - 0x2c]
call fcn.00409dfc
lea eax, [ebp - 4]
call fcn.00409dfc
ret

Function at 0x4c93d4
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.0040aa58
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.004c8d58
test al, al
jne 0x4c9435
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6f8570]
mov dl, 1
mov eax, dword [0x4c7a8c]
call fcn.00428208
call fcn.004094f8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004c8cc0
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 0x4d1d58
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 0x4d1d5e
ret
Function at 0x4e8f8c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x6e880c
test edx, edx
jne 0x4e8fab
xor eax, eax
jmp 0x4e90c9
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4e8fc8
push esi
push edx
push eax
call fcn.004e90d0
add esp, 0xc
jmp 0x4e90c9
push esi
push edx
push eax
call fcn.004e9390
add esp, 0xc
jmp 0x4e90c9
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4f7504
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 - 8]
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 [0x6fe648], 0
je 0x4f7645
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x6f7ff8]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x4f7645
mov eax, dword [0x6fe64c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6fe648]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4f7614
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6fe648]
call fcn.00497b1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4f760c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x205], 0
je 0x4f760c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x4f760c
mov eax, dword [ebp - 0x14]
call fcn.00502e98
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4f760c
push ebp
call fcn.004f74c0
pop ecx
test al, al
jne 0x4f760c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.004084d4
test al, al
je 0x4f760c
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.004084d4
cmp byte [ebp - 9], 0
je 0x4f760c
lea edx, [ebp - 8]
lea eax, [ebp - 0x28]
call fcn.0040f2b8
test al, al
je 0x4f760c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6fe64c]
call fcn.004f6c08
inc edi
dec ebx
jne 0x4f7569
mov eax, dword [0x6fe64c]
cmp dword [eax + 8], 0
jle 0x4f762c
mov eax, dword [0x6fe64c]
call fcn.004f6cbc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4f7645
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004f7328
pop ecx
test al, al
jne 0x4f7645
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 0x4ffa80
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.0040f578
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.004f9b48
test ebx, ebx
jne 0x4ffad3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004ff8f8
mov ebx, eax
test ebx, ebx
je 0x4ffbc9
cmp esi, ebx
je 0x4ffafc
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 0x4ffb11
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 0x4ffb49
add eax, 0xffffff5f
sub eax, 2
jb 0x4ffb61
dec eax
sub eax, 2
jb 0x4ffb75
dec eax
sub eax, 2
jb 0x4ffb6b
jmp 0x4ffb7f
add eax, 0xfffffdff
sub eax, 2
jb 0x4ffb61
dec eax
sub eax, 2
jb 0x4ffb75
dec eax
sub eax, 2
jb 0x4ffb6b
jmp 0x4ffb7f
mov byte [esp + 0x120], 0
jmp 0x4ffb87
mov byte [esp + 0x120], 2
jmp 0x4ffb87
mov byte [esp + 0x120], 1
jmp 0x4ffb87
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.005889c0
mov esi, eax
call fcn.004f65b4
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.004fb438
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4ffbcb
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x524414
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00409ee0
xor eax, eax
push ebp
push 0x524551
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x524524
xor edx, edx
push ebp
push 0x52451d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x524461
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5244f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x5244e1
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5244a4
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040aa58
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.00406abc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5244e8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x6f7790]
mov dl, 1
mov eax, dword [0x41a050]
call fcn.004281cc
call fcn.004094f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524558
lea eax, [ebp - 4]
call fcn.00409dfc
ret

Function at 0x528e74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x528eb0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x528e8c
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x528e9c
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x528eac
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x547ef4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
push 0x101
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409f84
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x54fafc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.0054fbac
test eax, eax
je 0x54fb37
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.0054fbac
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409f84
jmp 0x54fb45
mov ecx, esi
mov edx, 0x54fb64
mov eax, ebx
call fcn.0054fa84
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040a1dc
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x5788a4
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.00409dfc
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x5788f6
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x5788ef
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040ab14
jmp 0x5788f6
mov eax, esi
call fcn.00409dfc
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x57de48
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 0x57dfa7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x6eafcc], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4c7cb0]
call fcn.004c8ce8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x57df7d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004c8d94
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040ab14
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x57dfc0
call fcn.0040acc4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004c8df8
test al, al
je 0x57df67
lea ecx, [ebp - 4]
mov edx, 0x57e034
mov eax, dword [ebp - 0xc]
call fcn.004c9358
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042a544
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x57df67
xor edx, edx
push ebp
push 0x57df60
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x57e04c
mov eax, dword [ebp - 8]
push eax
call fcn.004109f8
test eax, eax
je 0x57df49
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x57df49
call fcn.0057ddd4
test eax, eax
je 0x57df39
mov eax, dword [ebx + 0x50]
jmp 0x57df3c
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x6eafcc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57df67
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57df84
mov eax, dword [ebp - 0xc]
call fcn.00408214
ret

Function at 0x57e0b0
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 0x57e0f7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x57e0da
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x57e0eb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x57e0f7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5884cc
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 0x5884ed
test edi, 0x40000
je 0x588507
test bl, bl
jne 0x588588
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x588588
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 0x58853a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x58854f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x58855e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x58856f
cmp byte [esp + 2], 0
je 0x588588
cmp byte [esp + 2], 0
je 0x588580
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x588588
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x588830
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 0x588856
mov eax, esp
push eax
push 0x5887f8
call sub.user32.dll_EnumWindows
jmp 0x588869
mov eax, esp
push eax
push 0x5887d8
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x58892c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x58897c]
test bl, 4
je 0x588940
or si, 1
test bl, 8
je 0x588949
or si, 4
test bl, 1
je 0x588952
or si, 8
test bl, 2
je 0x58895b
or si, 0x10
test bl, 0x10
je 0x588964
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x588974
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x588980
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5889bc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x58899b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5889ab
or bx, 4
test esi, 0x20000000
je 0x5889b7
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret