joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4545e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x4545f8
add esp, 0xfffffff0
call fcn.00409c68
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x44e680]
call fcn.004720d8
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x453620]
call fcn.00474ea8
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x453620]
call fcn.00474ea8
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x45464d
call fcn.00409cc0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c4424
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4c4467
cmp byte [ebx + 0x11], 0
jne 0x4c4467
cmp byte [ebx + 0x24], 0
jne 0x4c4467
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 0x4c447e
mov ecx, dword [0x682470]
mov dl, 1
mov eax, dword [0x48f764]
call fcn.0042f8d4
call fcn.0040ab20
pop ebx
ret
mov ecx, dword [0x682470]
mov dl, 1
mov eax, dword [0x48f764]
call fcn.0042f8d4
call fcn.0040ab20
pop ebx
ret

Function at 0x4c4df0
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 0x4c4e3e
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.004c42d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c4e57
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c4e60
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.004c42d0
dec esi
jne 0x4c4e82
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4c7b1c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x68990c
cmp dword [edi], 0
jne 0x4c7b98
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x689908]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x67b4e4
mov ecx, 2
call fcn.004071f0
mov edx, 0x4c7af4
lea eax, [esi + 5]
call fcn.004c7b14
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c7b14
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 0x4c7b6d
mov dword [0x689908], 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 0x4e14cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x4e14e3
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x4e14d3
mov eax, ecx
pop ebx
ret

Function at 0x50d97c
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
xor ebx, ebx
cmp dword [esp], 0
je 0x50d9e1
mov eax, dword [esp]
call fcn.0050dc30
test al, al
je 0x50d9e1
mov eax, dword [esp]
call fcn.0050da3c
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
dec esi
mov eax, dword [esp]
movzx eax, word [eax + esi*2]
mov edx, eax
mov ecx, eax
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x50d9c4
mov edx, eax
and dx, 0xffdf
mov eax, edx
cmp ax, 0x41
jb 0x50d9e1
cmp ax, 0x5a
ja 0x50d9e1
sub al, 0x41
mov ecx, eax
shr edi, cl
and edi, 1
cmp edi, 1
sete bl
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x516900
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x516abf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040b89c
mov eax, dword [ebp - 4]
call fcn.0051624c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x516952
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040c418
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00517554
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x516a33
xor eax, eax
push ebp
push 0x516a2c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005164ec
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00516af4
test al, al
je 0x516a08
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040b5fc
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x516a08
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040bffc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0051644c
test al, al
je 0x516a02
mov eax, dword [ebp - 8]
call fcn.0040bffc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040c05c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00516900
dec ebx
cmp ebx, 0xffffffff
jne 0x5169b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x516a33
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005164ec
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x689968], 0
je 0x516a73
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040bffc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005164d8
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0051644c
mov ebx, eax
jmp 0x516a9a
mov eax, dword [ebp - 4]
call fcn.0040bffc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005164d8
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0051644c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x516ac6
lea eax, [ebp - 0x3c]
call fcn.0040b464
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040b4c4
pop eax
jmp eax
Function at 0x517430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00516264
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040bffc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0051644c
test al, al
jne 0x517498
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x682350]
mov dl, 1
mov eax, dword [0x515030]
call fcn.0042f9a8
call fcn.0040ab20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x5174a4
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.0040bffc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0051644c
test al, al
jne 0x517505
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x682750]
mov dl, 1
mov eax, dword [0x515030]
call fcn.0042f9a8
call fcn.0040ab20
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00516294
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 0x540150
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x67dd6c]
cmp edx, 4
mov eax, ecx
jl 0x540158
pop ebp
ret

Function at 0x540174
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x67e16c]
cmp edx, 4
mov eax, ecx
jl 0x54017c
pop ebp
ret
Function at 0x54e67c
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 [0x689b50], 0
je 0x54e7bd
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x682434]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x54e7bd
mov eax, dword [0x689b54]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x689b50]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x54e78c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x689b50]
call fcn.004aecf8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x54e784
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x54e784
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x7c]
test al, al
je 0x54e784
mov eax, dword [ebp - 0x14]
call fcn.0055b178
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x54e784
push ebp
call fcn.0054e638
pop ecx
test al, al
jne 0x54e784
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00409a4c
test al, al
je 0x54e784
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, 0xffba
call fcn.00409a4c
cmp byte [ebp - 1], 0
je 0x54e784
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00414704
test al, al
je 0x54e784
mov edx, dword [ebp - 0x14]
mov eax, dword [0x689b54]
call fcn.0054ddb8
inc edi
dec ebx
jne 0x54e6e1
mov eax, dword [0x689b54]
cmp dword [eax + 8], 0
jle 0x54e7a4
mov eax, dword [0x689b54]
call fcn.0054de6c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x54e7bd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0054e4a0
pop ecx
test al, al
jne 0x54e7bd
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 0x5a2380
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.0040b558
xor eax, eax
push ebp
push 0x5a24c3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5a2494
xor edx, edx
push ebp
push 0x5a248d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x5a23cd
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 0x5a2460
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 0x5a244f
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5a2410
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040bffc
mov ecx, ebx
add ecx, ecx
add ecx, 2
mov edx, esi
call fcn.004071f0
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 0x5a2456
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
pop eax
jmp eax
mov ecx, dword [0x681fa8]
mov dl, 1
mov eax, dword [0x41f9d0]
call fcn.0042f8d4
call fcn.0040ab20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a24ca
lea eax, [ebp - 4]
call fcn.0040b464
pop eax
jmp eax

Function at 0x5ac244
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ac25a
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ac26a
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5ac27a
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x5ce580
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, esi
mov ecx, ebx
xor edx, edx
call fcn.0040b5fc
test ebx, ebx
je 0x5ce5d4
mov eax, dword [esi]
call fcn.0040bffc
push eax
lea eax, [ebx + 1]
push eax
push 0xd
push edi
call sub.user32.dll_SendMessageW
sub ebx, eax
test ebx, ebx
jle 0x5ce5d4
mov eax, dword [esi]
test eax, eax
je 0x5ce5c9
sub eax, 4
mov eax, dword [eax]
mov edx, eax
sub edx, ebx
mov eax, esi
call fcn.0040c188
pop edi
pop esi
pop ebx
ret
Function at 0x5d8094
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.005d815c
test eax, eax
je 0x5d80e6
mov edi, dword [ebx + 8]
test edi, edi
je 0x5d80c2
test edi, edi
je 0x5d80c2
mov edx, esi
mov eax, edi
call fcn.00551518
jmp 0x5d80f4
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.005d815c
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040b5fc
jmp 0x5d80f4
mov ecx, esi
mov edx, 0x5d8114
mov eax, ebx
call fcn.005d801c
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.0040b854
add esp, 0x200
pop edi
pop esi
pop ebx
ret

Function at 0x5f0314
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.0040b464
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x5f0366
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x5f035f
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.0040c0b0
jmp 0x5f0366
mov eax, esi
call fcn.0040b464
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5f61b4
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 0x5f6319
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x680fb0], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x515254]
call fcn.005163a0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5f62ed
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00516488
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.0040c0b0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x5f6334
call fcn.0040c260
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00516718
test al, al
je 0x5f62d5
lea ecx, [ebp - 4]
mov edx, 0x5f63a8
mov eax, dword [ebp - 0xc]
call fcn.00516fac
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00432dc0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5f62d5
xor edx, edx
push ebp
push 0x5f62ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x5f63c0
mov eax, dword [ebp - 8]
push eax
call fcn.00417260
test eax, eax
je 0x5f62b5
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x5f62b5
call fcn.005f6140
test eax, eax
je 0x5f62a5
mov eax, dword [ebx + 0x50]
jmp 0x5f62a8
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x680fb0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f62d5
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 0x5f62f4
mov eax, dword [ebp - 0xc]
call fcn.00409674
pop eax
jmp eax
Function at 0x60c8d0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x60c8e2
add esp, 0xfffffff0
call fcn.00409c68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c5124
mov eax, dword [0x682094]
mov dword [eax + 4], ebx
mov dword [eax], 0x60cda4
mov eax, dword [0x6820a4]
mov dword [eax + 4], ebx
mov dword [eax], 0x60cdb0
mov eax, ebx
call fcn.0060cdbc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x483fa4]
call fcn.00409644
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x483fa4]
call fcn.00409644
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x483fa4]
call fcn.00409644
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x483fa4]
call fcn.00409644
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x483fa4]
call fcn.00409644
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, 0x606b4c
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x51b004]
call fcn.00521b80
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x51b004]
call fcn.00521b80
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x51b004]
call fcn.00521b80
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x51b004]
call fcn.00521b80
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x51b004]
call fcn.00521b80
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.0060d39c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d1cc
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d1cc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d1cc
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d1cc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x60d1cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x60ca62
call fcn.00409cc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x60cf68
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 0x60d118
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x60d0f7
mov dl, 1
mov eax, dword [0x487cf0]
call fcn.004b3ed4
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040b464
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x60d0e6
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.00561b20
test al, al
je 0x60d0d9
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x60d128
lea eax, [ebp - 0x394]
call fcn.00429a00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x60d0d9
xor eax, eax
push ebp
push 0x60d0d2
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 0x60d198
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x60d0b9
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c0b0
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 0x60d0b9
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c0b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60d0d9
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x60cfd9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b3dfc
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 0x60d11f
lea eax, [ebp - 0x3a0]
call fcn.0040b464
pop eax
jmp eax

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

Disassembly:
push ecx
mov eax, dword [0x689ca8]
cmp byte [eax + 0xc5], 0
jne 0x60dda2
cmp dword [0x689cd0], 0
jne 0x60dd62
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6810c8]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x689cd0], eax
cmp dword [0x689ccc], 0
jne 0x60dd7d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x689ccc], eax
cmp dword [0x689cd4], 0
jne 0x60dda2
push esp
push 0
push 0
mov eax, dword [0x6810c4]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x689cd4], eax
pop edx
ret