joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f88c
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push edx
in al, dx
jp 0x47f873
shr edx, 0x11
xchg esi, edx
mov ebx, ebx
xor edi, esi
rol edi, 7
not ebx
shl ebx, 0xe
or eax, ecx
ror ebx, 0x17
xor edx, edi
add ebx, 0xa8197a0b
sbb dword [eax - 0x1d3e39d5], ebp
add al, 0x81
cmp eax, 0x651633
push es
invalid
mov cs, eax
jns 0x47f8a4
mov eax, 0xbff24f5d
mov ecx, 0x34824e8d
or eax, edi
add edx, ebp
aad 0x48
xor esi, 0xe57b6647
cmp eax, 0xd608a656
jl 0x47f8c2
xor ebx, 0xef60fff6
or ebx, eax
sub ebx, esp
dec esi
invalid
invalid
invalid
invalid
invalid

Function at 0x47f8ac
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push edx
in al, dx
jp 0x47f873
shr edx, 0x11
xchg esi, edx
mov ebx, ebx
xor edi, esi
rol edi, 7
not ebx
shl ebx, 0xe
or eax, ecx
ror ebx, 0x17
xor edx, edi
add ebx, 0xa8197a0b
sbb dword [eax - 0x1d3e39d5], ebp
add al, 0x81
cmp eax, 0x651633
push es
invalid
mov cs, eax
jns 0x47f8a4
mov eax, 0xbff24f5d
mov ecx, 0x34824e8d
or eax, edi
add edx, ebp
aad 0x48
xor esi, 0xe57b6647
cmp eax, 0xd608a656
jl 0x47f8c2
xor ebx, 0xef60fff6
or ebx, eax
sub ebx, esp
dec esi
invalid
invalid
invalid
invalid
invalid

Function at 0x47f8cc
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
add byte [eax - 0x7b], cl
ljmp 0x1d21

Function at 0x47f8ec
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
jne 0x47f8f7
test eax, 0x8116c0c1
invalid
sbb bh, byte [ecx + 0x56993937]

Function at 0x47f90c
Capabilities:
Encode data using xor
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
shr esi, 0x11
inc edx
sub esi, ecx
inc edx
and eax, dword [0x64e974]
xor ebx, edx
mov eax, dword [0x651417]
or dword [0x653c15], esi
add esi, dword [0x651e44]
and dword [0x653c57], 0x70d54769
dec edx
call fcn.005934f5
adc dword [eax], eax
neg edx
xchg esi, eax
add ebx, 0x68c62955
or edi, 0xb5aeeff4
dec ecx
jne 0x47f8fd
mov esi, 0x709242ac
call fcn.0048905b

Function at 0x47f92c
Capabilities:
Hash data using murmur3

Disassembly:
shr esi, 0x11
inc edx
sub esi, ecx
inc edx
and eax, dword [0x64e974]
xor ebx, edx
mov eax, dword [0x651417]
or dword [0x653c15], esi
add esi, dword [0x651e44]
and dword [0x653c57], 0x70d54769
dec edx
call fcn.005934f5
adc dword [eax], eax
neg edx
xchg esi, eax
add ebx, 0x68c62955
or edi, 0xb5aeeff4
dec ecx
jne 0x47f8fd
mov esi, 0x709242ac
call fcn.0048905b

Function at 0x47f94c
Capabilities:
Hash data using murmur3

Disassembly:
add edi, esp
xor edx, 0xd9fb01e
add eax, 0xecbbe45c
call fcn.0045cec5
add edi, edx
dec edi
sub ebx, dword [0x653f15]
add dword [0x653dda], esi
add byte gs:[ebx], cl
xor eax, 0x653e35
xor dword [0x653cef], 0xeb3f772
rol ebx, 0x10
sub ebx, dword [0x653f0e]
rol eax, 0x18
call fcn.004c81eb
mov byte [eax + eax], al
call fcn.004cde75
ror eax, 0x18
ror ebx, 0x10
sub dword [0x653c63], 0xb1510187
inc edi
sub edi, edx
call fcn.004dc905
Function at 0x47f96c
Capabilities:
Hash data using murmur3

Disassembly:
add edi, esp
xor edx, 0xd9fb01e
add eax, 0xecbbe45c
call fcn.0045cec5
add edi, edx
dec edi
sub ebx, dword [0x653f15]
add dword [0x653dda], esi
add byte gs:[ebx], cl
xor eax, 0x653e35
xor dword [0x653cef], 0xeb3f772
rol ebx, 0x10
sub ebx, dword [0x653f0e]
rol eax, 0x18
call fcn.004c81eb
mov byte [eax + eax], al
call fcn.004cde75
ror eax, 0x18
ror ebx, 0x10
sub dword [0x653c63], 0xb1510187
inc edi
sub edi, edx
call fcn.004dc905

Function at 0x47f9ac
Capabilities:
Hash data using murmur3

Disassembly:
sub eax, 0xecbbe45c
xor edx, 0xd9fb01e
sub edi, esp
call fcn.004ae3dc
and esi, 0x9c251e36
xchg ebx, edx
sub dword [0x653c6a], esi
add byte [ebx], cl
or eax, 0x653f53
call fcn.0054853c
sub edi, 0xccd52df1
xchg edx, eax
not ebx
xchg ebx, esi
xor edx, ecx
sub dword [0x653c0c], esi

Function at 0x47f9cc
Capabilities:
Hash data using murmur3

Disassembly:
sub eax, 0xecbbe45c
xor edx, 0xd9fb01e
sub edi, esp
call fcn.004ae3dc
and esi, 0x9c251e36
xchg ebx, edx
sub dword [0x653c6a], esi
add byte [ebx], cl
or eax, 0x653f53
call fcn.0054853c
sub edi, 0xccd52df1
xchg edx, eax
not ebx
xchg ebx, esi
xor edx, ecx
sub dword [0x653c0c], esi

Function at 0x47f9ec
Capabilities:
Hash data using murmur3

Disassembly:
ror esi, 3
call fcn.0049df18
xor edx, ecx
xor esi, ecx
or esi, dword [0x653f09]
ror edx, 0x1a
neg ecx
xor edx, 0xd31cf5a1
call fcn.00496975
add dword [eax], eax
call fcn.005d274b
call fcn.00426578
xor edx, 0xd31cf5a1
neg ecx
rol edx, 0x1a
xor esi, ecx
xor edx, ecx
call fcn.0048905b

Function at 0x47fa2c
Capabilities:
Hash data using murmur3

Disassembly:
rol esi, 3
or dword [0x653d4c], esi
xor edx, ecx
xchg ebx, esi
not ebx
xchg edx, eax
add edi, 0xccd52df1
call fcn.0054853c
xchg ebx, edx
xor esi, 0x10000224
and al, 2
add byte [eax], dl
and dword [0x653dc6], ecx
dec esi
xor ebx, dword [0x653eff]
add dword [0x653c26], edi
mov dword [0x653daf], ecx
and dword [0x653c92], ecx
cmp al, 0x65
add byte [ebx + 0x4b], al
rol ecx, 0x15
mov dword [0x653c10], 0xcbeb397c
add dword [0x653cc0], ecx
sub esi, dword [0x653eee]
xchg ecx, edx

Function at 0x47fa4c
Capabilities:
Hash data using murmur3

Disassembly:
rol esi, 3
or dword [0x653d4c], esi
xor edx, ecx
xchg ebx, esi
not ebx
xchg edx, eax
add edi, 0xccd52df1
call fcn.0054853c
xchg ebx, edx
xor esi, 0x10000224
and al, 2
add byte [eax], dl
and dword [0x653dc6], ecx
dec esi
xor ebx, dword [0x653eff]
add dword [0x653c26], edi
mov dword [0x653daf], ecx
and dword [0x653c92], ecx
cmp al, 0x65
add byte [ebx + 0x4b], al
rol ecx, 0x15
mov dword [0x653c10], 0xcbeb397c
add dword [0x653cc0], ecx
sub esi, dword [0x653eee]
xchg ecx, edx
Function at 0x47fa6c
Capabilities:
Hash data using murmur3

Disassembly:
rol esi, 3
or dword [0x653d4c], esi
xor edx, ecx
xchg ebx, esi
not ebx
xchg edx, eax
add edi, 0xccd52df1
call fcn.0054853c
xchg ebx, edx
xor esi, 0x10000224
and al, 2
add byte [eax], dl
and dword [0x653dc6], ecx
dec esi
xor ebx, dword [0x653eff]
add dword [0x653c26], edi
mov dword [0x653daf], ecx
and dword [0x653c92], ecx
cmp al, 0x65
add byte [ebx + 0x4b], al
rol ecx, 0x15
mov dword [0x653c10], 0xcbeb397c
add dword [0x653cc0], ecx
sub esi, dword [0x653eee]
xchg ecx, edx

Function at 0x47fa8c
Capabilities:
Hash data using murmur3

Disassembly:
or esi, dword [0x653f1f]
xor edx, 0xaccc5b82
mov dword [0x653d58], edi
call fcn.00485472
call fcn.0057fed5
call fcn.004f9727
add byte [ecx], cl
add eax, 0x653d33
xor edx, 0xaccc5b82
xchg ecx, edx
sub dword [0x653c42], ecx
ror ecx, 0x15
inc ebx
dec ebx
xor dword [0x653d25], edx

Function at 0x47faac
Capabilities:
Hash data using murmur3

Disassembly:
or esi, dword [0x653f1f]
xor edx, 0xaccc5b82
mov dword [0x653d58], edi
call fcn.00485472
call fcn.0057fed5
call fcn.004f9727
add byte [ecx], cl
add eax, 0x653d33
xor edx, 0xaccc5b82
xchg ecx, edx
sub dword [0x653c42], ecx
ror ecx, 0x15
inc ebx
dec ebx
xor dword [0x653d25], edx

Function at 0x47facc
Capabilities:
Hash data using murmur3

Disassembly:
or dword [0x653c72], edx
inc esi
mov dword [0x653c3e], ecx
push esi
xchg ecx, esi
xor esi, dword [0x653f24]
ror edi, 8
xchg edi, esi
rol ecx, 0x1f
xor ebx, edi

Function at 0x47faec
Capabilities:
Hash data using murmur3

Disassembly:
rol edx, 0xb
xor dword [0x653c35], edx
not eax
add ebx, edi
or dword [0x653c43], esi
call fcn.0045180d
neg esi
call fcn.004b5882
invalid
Function at 0x480044
Capabilities:
Hash data using murmur3

Disassembly:
sub edx, 0xa810e8d8
inc eax
xor esi, esp
push eax

Function at 0x4b1858
Capabilities:
Encode data using xor

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 0x4b1860
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c87c8
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.004097c0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004c829c
test al, al
jne 0x4c8829
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x653a38]
mov dl, 1
mov eax, dword [0x4c6fd0]
call fcn.004266bc
call fcn.00407e08
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004c8204
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 0x4cfbe4
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 0x4cfbea
ret
Function at 0x4ed4d0
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 [0x65a048], 0
je 0x4ed611
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x653768]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x4ed611
mov eax, dword [0x65a04c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x65a048]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4ed5e0
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x65a048]
call fcn.0045a3a8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4ed5d8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x215], 0
je 0x4ed5d8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x4ed5d8
mov eax, dword [ebp - 0x14]
call fcn.004f91f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ed5d8
push ebp
call fcn.004ed48c
pop ecx
test al, al
jne 0x4ed5d8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.00406ce8
test al, al
je 0x4ed5d8
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.00406ce8
cmp byte [ebp - 1], 0
je 0x4ed5d8
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00410a50
test al, al
je 0x4ed5d8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x65a04c]
call fcn.004ecbfc
inc edi
dec ebx
jne 0x4ed535
mov eax, dword [0x65a04c]
cmp dword [eax + 8], 0
jle 0x4ed5f8
mov eax, dword [0x65a04c]
call fcn.004eccb0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ed611
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004ed2f4
pop ecx
test al, al
jne 0x4ed611
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 0x4f5ba8
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.00410c34
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.004efb34
test ebx, ebx
jne 0x4f5bfb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004f5a20
mov ebx, eax
test ebx, ebx
je 0x4f5cf1
cmp esi, ebx
je 0x4f5c24
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 0x4f5c39
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 0x4f5c71
add eax, 0xffffff5f
sub eax, 2
jb 0x4f5c89
dec eax
sub eax, 2
jb 0x4f5c9d
dec eax
sub eax, 2
jb 0x4f5c93
jmp 0x4f5ca7
add eax, 0xfffffdff
sub eax, 2
jb 0x4f5c89
dec eax
sub eax, 2
jb 0x4f5c9d
dec eax
sub eax, 2
jb 0x4f5c93
jmp 0x4f5ca7
mov byte [esp + 0x120], 0
jmp 0x4f5caf
mov byte [esp + 0x120], 2
jmp 0x4f5caf
mov byte [esp + 0x120], 1
jmp 0x4f5caf
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00589c94
mov esi, eax
call fcn.004ec278
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.004f154c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4f5cf3
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x556b4c
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.00556c14
test eax, eax
je 0x556b9e
mov edi, dword [ebx + 8]
test edi, edi
je 0x556b7a
test edi, edi
je 0x556b7a
mov edx, esi
mov eax, edi
call fcn.004f01a4
jmp 0x556bac
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00556c14
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00408894
jmp 0x556bac
mov ecx, esi
mov edx, 0x556bcc
mov eax, ebx
call fcn.00556ad4
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00408aec
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x578c84
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.0040870c
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x578cd6
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x578ccf
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00409864
jmp 0x578cd6
mov eax, esi
call fcn.0040870c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x57e5e0
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 0x57e73f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x6526ac], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4c71f4]
call fcn.004c822c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x57e715
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004c82d8
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00409864
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x57e758
call fcn.00409a14
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004c833c
test al, al
je 0x57e6ff
lea ecx, [ebp - 4]
mov edx, 0x57e7cc
mov eax, dword [ebp - 0xc]
call fcn.004c874c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00428574
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x57e6ff
xor edx, edx
push ebp
push 0x57e6f8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x57e7e4
mov eax, dword [ebp - 8]
push eax
call fcn.00412174
test eax, eax
je 0x57e6e1
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x57e6e1
call fcn.0057e56c
test eax, eax
je 0x57e6d1
mov eax, dword [ebx + 0x50]
jmp 0x57e6d4
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x6526ac]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e6ff
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57e71c
mov eax, dword [ebp - 0xc]
call fcn.004069c8
ret
Function at 0x57e848
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 0x57e88f
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x57e872
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x57e883
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x57e88f
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x5897a4
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 0x5897c5
test edi, 0x40000
je 0x5897df
test bl, bl
jne 0x589860
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x589860
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 0x589812
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x589827
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x589836
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x589847
cmp byte [esp + 2], 0
je 0x589860
cmp byte [esp + 2], 0
je 0x589858
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x589860
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x589b04
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 0x589b2a
mov eax, esp
push eax
push 0x589acc
call sub.user32.dll_EnumWindows
jmp 0x589b3d
mov eax, esp
push eax
push 0x589aac
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 0x589c00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x589c50]
test bl, 4
je 0x589c14
or si, 1
test bl, 8
je 0x589c1d
or si, 4
test bl, 1
je 0x589c26
or si, 8
test bl, 2
je 0x589c2f
or si, 0x10
test bl, 0x10
je 0x589c38
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x589c48
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x589c54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x589c90]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x589c6f
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x589c7f
or bx, 4
test esi, 0x20000000
je 0x589c8b
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x592b6c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x592b7e
add esp, 0xfffffff0
call fcn.00406f84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0046b29c
mov eax, dword [0x653390]
mov dword [eax + 4], ebx
mov dword [eax], 0x593038
mov eax, dword [0x65339c]
mov dword [eax + 4], ebx
mov dword [eax], 0x593044
mov eax, ebx
call fcn.00593050
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x437fb0]
call fcn.00406998
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x437fb0]
call fcn.00406998
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x437fb0]
call fcn.00406998
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x437fb0]
call fcn.00406998
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x437fb0]
call fcn.00406998
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, 0x58da98
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4cb714]
call fcn.004d0528
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4cb714]
call fcn.004d0528
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4cb714]
call fcn.004d0528
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4cb714]
call fcn.004d0528
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4cb714]
call fcn.004d0528
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.0059362c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59345c
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59345c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59345c
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59345c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x59345c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x592cfe
call fcn.00406fdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5931fc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5933a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x593388
mov dl, 1
mov eax, dword [0x43b94c]
call fcn.0045e56c
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040870c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x593377
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004ffa44
test al, al
je 0x59336a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5933b8
lea eax, [ebp - 0x394]
call fcn.00421ad4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x59336a
xor eax, eax
push ebp
push 0x593363
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x593428
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x59334c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409864
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x59334c
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409864
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59336a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x59326d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.0045e494
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5933ae
lea eax, [ebp - 0x3a0]
call fcn.0040870c
ret

Function at 0x593fb4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x65a16c]
cmp byte [eax + 0xc5], 0
jne 0x594026
cmp dword [0x65a190], 0
jne 0x593fe6
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6527c0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x65a190], eax
cmp dword [0x65a18c], 0
jne 0x594001
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x65a18c], eax
cmp dword [0x65a194], 0
jne 0x594026
push esp
push 0
push 0
mov eax, dword [0x6527bc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x65a194], eax
pop edx
ret