joyce8/EMBER2024-capa huggingface dataset:
Function at 0x515c54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
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 [0x5fe620], 0
je 0x515da1
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5f7e9c]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x515da1
mov eax, dword [0x5fe624]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5fe620]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x515d70
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5fe620]
call fcn.004a86f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x515d64
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x205], 0
je 0x515d64
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x6c]
test al, al
je 0x515d64
mov eax, dword [ebp - 0x14]
call fcn.00524f44
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x515d64
push ebp
call fcn.00515c08
pop ecx
test al, al
jne 0x515d64
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00407d9c
test al, al
je 0x515d64
mov byte [ebp - 9], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 9]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00407d9c
cmp byte [ebp - 9], 0
je 0x515d64
lea edx, [ebp - 8]
lea eax, [ebp - 0x30]
call fcn.00410470
test al, al
je 0x515d64
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5fe624]
call fcn.0051501c
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x515cc0
mov eax, dword [0x5fe624]
cmp dword [eax + 8], 0
jle 0x515d88
mov eax, dword [0x5fe624]
call fcn.005150f4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x515da1
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00515a40
pop ecx
test al, al
jne 0x515da1
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x520be8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.user32.dll_GetMessagePos
call fcn.00410960
mov dword [ebp - 0x1c], eax
movsx eax, word [ebp - 0x1c]
mov dword [ebp - 0x24], eax
movsx eax, word [ebp - 0x1a]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00518d70
cmp dword [ebp - 0xc], 0
jne 0x520c3e
push 0
push 0
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.00520a18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x520d45
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
je 0x520c70
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 0x50]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 0x54]
mov dword [ebp - 0x134], eax
jmp 0x520c82
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
cmp eax, 0x201
jge 0x520cc1
add eax, 0xffffff5f
sub eax, 2
jb 0x520cd9
dec eax
sub eax, 2
jb 0x520ceb
dec eax
sub eax, 2
jb 0x520ce2
jmp 0x520cf4
add eax, 0xfffffdff
sub eax, 2
jb 0x520cd9
dec eax
sub eax, 2
jb 0x520ceb
dec eax
sub eax, 2
jb 0x520ce2
jmp 0x520cf4
mov byte [ebp - 0x12c], 0
jmp 0x520cfb
mov byte [ebp - 0x12c], 2
jmp 0x520cfb
mov byte [ebp - 0x12c], 1
jmp 0x520cfb
mov byte [ebp - 0x12c], 0
lea eax, [ebp - 0x124]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x124]
call fcn.005ca600
mov ebx, eax
call fcn.00514838
or bx, ax
mov word [ebp - 0x12b], bx
lea eax, [ebp - 0x138]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, dword [ebp - 0xc]
call fcn.0051b114
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov byte [ebp - 0xd], 1
jmp 0x520d49
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54bf9c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00409844
xor eax, eax
push ebp
push 0x54c0f9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x54c0cc
xor eax, eax
push ebp
push 0x54c0c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x54bff5
mov eax, dword [ebp - 0x14]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x54c09a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x54c089
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x54c04a
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
call fcn.0040a2a0
mov ecx, dword [ebp - 0x18]
add ecx, ecx
add ecx, 2
mov edx, dword [ebp - 0x10]
call fcn.00406be8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0xc]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c090
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5f7ae4]
mov dl, 1
mov eax, dword [0x41b960]
call fcn.004289bc
call fcn.00408e5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54c100
lea eax, [ebp - 8]
call fcn.00409760
ret

Function at 0x55300c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ax, word [0x553054]
mov word [ebp - 2], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55302b
or word [ebp - 2], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55303c
or word [ebp - 2], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55304d
or word [ebp - 2], 2
mov ax, word [ebp - 2]
pop ecx
pop ebp
ret

Function at 0x571ba4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x101
lea eax, [ebp - 0x20a]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
lea edx, [ebp - 0x20a]
mov eax, dword [ebp - 8]
call fcn.004098e8
mov esp, ebp
pop ebp
ret
Function at 0x57bb78
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0057bc48
test eax, eax
je 0x57bbbf
push pe_nt_image_headers32
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebp - 4]
call fcn.0057bc48
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
lea edx, [ebp - 0x208]
mov eax, dword [ebp - 8]
call fcn.004098e8
jmp 0x57bbcf
mov ecx, dword [ebp - 8]
mov edx, 0x57bbf0
mov eax, dword [ebp - 4]
call fcn.0057badc
mov eax, dword [ebp - 4]
add eax, 0x1c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call fcn.00409b40
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00409760
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5b8753
push pe_nt_image_headers32
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x5b874b
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x20c]
mov ecx, pe_nt_image_headers32
call fcn.0040a344
jmp 0x5b8753
mov eax, dword [ebp - 8]
call fcn.00409760
mov esp, ebp
pop ebp
ret
Function at 0x5bef0c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5bf089
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x5f78a0], 0
mov word [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4e7420]
call fcn.004e856c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5bf05f
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004e8654
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x2c]
mov ecx, 0xa
call fcn.0040a344
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x5bf0a0
call fcn.0040a4f4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.004e88e0
test al, al
je 0x5bf049
lea ecx, [ebp - 4]
mov edx, 0x5bf114
mov eax, dword [ebp - 0xc]
call fcn.004e916c
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0042b384
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5bf049
xor eax, eax
push ebp
push 0x5bf042
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5bf12c
mov eax, dword [ebp - 8]
push eax
call fcn.00412884
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5bf02b
call dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5bf02b
mov eax, dword [ebp + 8]
push eax
call fcn.005bee98
pop ecx
test eax, eax
je 0x5bf012
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x10], eax
jmp 0x5bf01b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
and eax, 1
cmp eax, 1
sete byte [0x5f78a0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bf049
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 0x5bf066
mov eax, dword [ebp - 0xc]
call fcn.004079e0
ret

Function at 0x5bf154
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov byte [ebp - 1], 0
push 0xa5
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bf199
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [0x5f789c]
je 0x5bf191
push ebp
call fcn.005bef0c
pop ecx
mov eax, dword [ebp - 8]
mov dword [0x5f789c], eax
mov al, byte [0x5f78a0]
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop ebp
ret
Function at 0x5bf1a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
mov al, byte [ebp - 0x10]
mov word [ebp - 2], ax
cmp word [ebp - 2], 0
je 0x5bf1f1
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bf1d3
add word [ebp - 2], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5bf1e5
add word [ebp - 2], 0x4000
test byte [ebp - 9], 0x20
je 0x5bf1f1
add word [ebp - 2], 0x8000
mov ax, word [ebp - 2]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5c9fb8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
cmp byte [ebp - 5], 0
je 0x5c9fe7
test byte [ebp - 0xa], 4
je 0x5ca004
cmp byte [ebp - 5], 0
jne 0x5ca09d
mov eax, dword [ebp - 0xc]
and eax, 0x40000
cmp eax, 0x40000
jne 0x5ca09d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
or al, byte [ebp - 0xe]
je 0x5ca03b
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 5], 0
je 0x5ca05a
mov eax, dword [ebp - 0xc]
or eax, 0x40000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [ebp - 0x18], eax
jmp 0x5ca071
mov eax, dword [ebp - 0xc]
and eax, 0xfffbffff
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetWindowLongW
mov dword [ebp - 0x1c], eax
mov al, byte [ebp - 6]
and al, byte [ebp - 0xd]
jne 0x5ca07f
cmp byte [ebp - 0xe], 0
je 0x5ca09d
cmp byte [ebp - 0xe], 0
je 0x5ca092
push 6
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
jmp 0x5ca09d
push 5
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
mov esp, ebp
pop ebp
ret

Function at 0x5ca3f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 1], al
call sub.user32.dll_GetActiveWindow
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
cmp byte [ebp - 1], 0
je 0x5ca423
lea eax, [ebp - 0xc]
push eax
push 0x5ca3b4
call sub.user32.dll_EnumWindows
jmp 0x5ca437
lea eax, [ebp - 0xc]
push eax
push 0x5ca388
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
mov al, byte [ebp - 8]
mov byte [ebp - 2], al
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret
Function at 0x5ca54c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov ax, word [0x5ca5b0]
mov word [ebp - 4], ax
test byte [ebp - 2], 4
je 0x5ca569
or word [ebp - 4], 1
test byte [ebp - 2], 8
je 0x5ca574
or word [ebp - 4], 4
test byte [ebp - 2], 1
je 0x5ca57f
or word [ebp - 4], 8
test byte [ebp - 2], 2
je 0x5ca58a
or word [ebp - 4], 0x10
test byte [ebp - 2], 0x10
je 0x5ca595
or word [ebp - 4], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ca5a6
or word [ebp - 4], 2
mov ax, word [ebp - 4]
pop ecx
pop ebp
ret

Function at 0x5ca5b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov ax, word [0x5ca5fc]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ca5d8
or word [ebp - 6], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ca5e9
or word [ebp - 6], 4
test byte [ebp - 1], 0x20
je 0x5ca5f4
or word [ebp - 6], 2
mov ax, word [ebp - 6]
pop ecx
pop ecx
pop ebp
ret
Function at 0x5d5754
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x5d5766
add esp, 0xfffffff0
call fcn.0040804c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004bd70c
mov eax, dword [0x5f7b9c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x5d5e28
mov eax, dword [0x5f7bac]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x5d5e48
mov eax, dword [ebp - 4]
call fcn.005d5e74
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x486528]
call fcn.004079b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
mov dl, 1
mov eax, dword [0x486528]
call fcn.004079b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
mov dl, 1
mov eax, dword [0x486528]
call fcn.004079b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x64], eax
mov dl, 1
mov eax, dword [0x486528]
call fcn.004079b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
mov dl, 1
mov eax, dword [0x486528]
call fcn.004079b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
push eax
mov eax, 0x5cf038
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4ed0c0]
call fcn.004f33e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4ed0c0]
call fcn.004f33e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x90], eax
mov dl, 1
mov eax, dword [0x4ed0c0]
call fcn.004f33e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x4ed0c0]
call fcn.004f33e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x4ed0c0]
call fcn.004f33e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
mov eax, dword [ebp - 4]
call fcn.005d665c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x8c]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x5d636c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x5d636c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x5d636c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x5d636c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x5d636c
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x5d5943
call fcn.004080a4
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5d60e0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc58
push ebx
xor edx, edx
mov dword [ebp - 0x3a8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d62ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5d6289
mov dl, 1
mov eax, dword [0x489ce4]
call fcn.004ad050
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409760
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x5d6272
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0052d13c
test al, al
je 0x5d6266
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x3a4], eax
mov byte [ebp - 0x3a0], 0
lea ecx, [ebp - 0x3a4]
mov edx, 0x5d62bc
lea eax, [ebp - 0x39c]
call fcn.00423cac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5d6266
xor eax, eax
push ebp
push 0x5d625f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x200
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x31c]
push eax
push 0
push 0
push 0x5d632c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5d6248
lea eax, [ebp - 0x3a8]
lea edx, [ebp - 0x31c]
mov ecx, pe_nt_image_headers32
call fcn.0040a344
mov edx, dword [ebp - 0x3a8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5d6248
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x31c]
mov ecx, pe_nt_image_headers32
call fcn.0040a344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d6266
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x5d6155
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x39], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov dl, 1
call fcn.004acfa0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d62b2
lea eax, [ebp - 0x3a8]
call fcn.00409760
ret
Function at 0x5d70f8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5fe750]
cmp byte [eax + 0xc5], 0
jne 0x5d7170
cmp dword [0x5fe774], 0
jne 0x5d712d
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5f79b8]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5fe774], eax
cmp dword [0x5fe770], 0
jne 0x5d7148
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5fe770], eax
cmp dword [0x5fe778], 0
jne 0x5d7170
lea eax, [ebp - 4]
push eax
push 0
push 0
mov eax, dword [0x5f79b4]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5fe778], eax
pop ecx
pop ebp
ret

Function at 0x5d7268
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.005d7200
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x5d7289
xor eax, eax
call fcn.005d7238
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x5d72a3
mov al, 1
call fcn.005d7238
mov esp, ebp
pop ebp
ret

Function at 0x5d8050
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x188], 0
je 0x5d8123
mov eax, dword [ebp - 4]
cmp dword [eax + 0xac], 0
jne 0x5d811a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x5d7f64
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
cmp dword [eax + 8], 0
je 0x5d811a
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongW
mov dword [ebp - 0x18], eax
test byte [ebp - 0x18], 8
je 0x5d80d4
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x5d811a
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
call fcn.004a86f0
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x5d80e9
mov eax, dword [ebp - 4]
inc dword [eax + 0xac]
mov esp, ebp
pop ebp
ret