joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040e78
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov rdi, rdx
call fcn.1400402c4
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rdi]
mov dword [rsp + 0x30], 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov rcx, rax
mov r9, rbp
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsi]
mov dword [rsp + 0x30], 2
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rbp + 0x10]
mov rcx, rax
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rax, qword [r14]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x140040f4c]
mov r9, rbp
xor edx, edx
xor ecx, ecx
mov qword [rbp + 8], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400412d4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15, rcx
mov rcx, qword [rcx]
mov rbp, rdx
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
mov edx, 0xb0
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x68], eax
jae 0x14004139a
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
mov rdi, rax
test eax, eax
je 0x14004139a
cmp eax, dword [rsp + 0x68]
jb 0x14004139a
cmp eax, dword [rsp + 0x60]
jb 0x14004139a
lea ebx, [rax + 1]
lea rcx, [rsi - 1]
lea eax, [rsi + 2]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140024ca8
mov rcx, qword [r15]
lea edx, [rsi + 0xd]
mov r9, rax
mov r8d, ebx
mov r14, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x14004138d
cmp dword [rsp + 0x60], edi
je 0x14004137a
mov ecx, dword [rsp + 0x60]
mov word [r14 + rcx*2], si
mov eax, dword [rsp + 0x68]
mov rcx, rbp
lea rdx, [r14 + rax*2]
call fcn.140012d0c
mov sil, 1
mov rcx, r14
call fcn.140024d50
mov al, sil
jmp 0x14004139c
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140042098
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdx, qword [rcx]
mov r8b, 1
mov rdi, rcx
call fcn.140043920
xor edx, edx
test ebx, ebx
lea ebx, [rdx + 0x25]
mov ecx, ebx
jns 0x1400420f5
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov r8d, ebx
shl eax, 0x10
mov edx, 0x100
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, ebx
jmp 0x140042131
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov rcx, qword [rdi]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov r9d, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r8d, reloc.OLEAUT32.dll_SafeArrayRedim
mov rcx, qword [rdi]
shl eax, 0x10
mov edx, 0x101
mov r9d, eax
mov eax, 0xc0000001
or r9, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, qword [rdi]
xor r8d, r8d
call fcn.140043920
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x140042bd8
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
mov rbx, rdx
mov rcx, rdx
cmp r8b, 1
jne 0x140042c36
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov dword [rsp + 0x28], 0x1388
mov dword [rsp + 0x20], 2
call qword [sym.imp.USER32.dll_SendMessageTimeoutW]
test rax, rax
je 0x140042c53
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x140042c49
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x40
pop rbx
ret

Function at 0x140043920
Capabilities:
Log keystrokes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
cmp r8b, 1
jne 0x140043953
call fcn.140001060
test al, al
jne 0x140043973
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov r8d, 1
jmp 0x140043969
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r8d, r8d
mov edx, ebx
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
add rsp, 0x20
pop rbx
ret
Function at 0x140043b84
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
mov r14, rcx
mov rcx, rdx
mov rsi, rdx
call fcn.140009e8c
mov rdx, qword [r14]
call fcn.140001060
test al, al
je 0x140043bbe
xor al, al
jmp 0x140043c53
mov rcx, r14
call fcn.140043c70
mov rcx, 0xffffffffffffffff
mov ebp, eax
mov eax, 0x7fff
test ebp, ebp
cmove ebp, eax
mov eax, 2
lea ebx, [rbp + 1]
mul rbx
cmovo rax, rcx
mov rcx, rax
call fcn.140024ca8
mov rcx, qword [r14]
mov r8d, ebx
mov r9, rax
mov edx, reloc.WSOCK32.dll_listen
mov rdi, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
jle 0x140043c49
mov rcx, rdi
call fcn.140025b40
mov ecx, ebp
mov rdx, rdi
cmp rax, rcx
jne 0x140043c41
lea rcx, [rsp + 0x20]
call fcn.1400438b8
lea rdx, [rsp + 0x20]
mov r8, rsi
call fcn.1400088e8
lea rcx, [rsp + 0x20]
call fcn.14000838c
jmp 0x140043c49
mov rcx, rsi
call fcn.140012d0c
mov rcx, rdi
call fcn.140024d50
mov al, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400458e0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x220
mov rbx, rcx
mov rcx, qword [rcx + 0x88]
mov edx, 0x3e9
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
test rax, rax
je 0x140045975
lea rdx, [rsp + 0x20]
mov r8d, 0x100
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test byte [rbx + 0x10], 1
je 0x140045934
cmp word [rsp + 0x20], di
jne 0x140045934
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x140045975
movsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmmword [0x1400c5b50]
jbe 0x140045955
mov rcx, qword [rbx + 0x88]
mov edx, 0x40a
call qword [sym.imp.USER32.dll_KillTimer]
lea rcx, [rbx + 0x48]
lea rdx, [rsp + 0x20]
call fcn.140012d0c
mov rcx, qword [rbx + 0x88]
mov edx, 1
call qword [sym.imp.USER32.dll_EndDialog]
mov rbx, qword [rsp + 0x230]
add rsp, 0x220
pop rdi
ret
Function at 0x14004a12c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov rcx, qword [r8]
mov rdi, rdx
mov rsi, r8
mov r14d, dword [rcx + rdx]
lea rax, [rcx + 4]
mov qword [r8], rax
lea eax, [r14 + 1]
movsxd rcx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140024ca8
mov rdx, qword [rsi]
lea ecx, [r14 + r14]
movsxd rbx, ecx
add rdx, rdi
mov rcx, rax
mov r8, rbx
mov r15, rax
call fcn.140024790
add qword [rsi], rbx
xor eax, eax
movsxd rcx, r14d
mov word [r15 + rcx*2], ax
test r14d, r14d
jle 0x14004a1bb
mov rax, r15
mov ecx, r14d
xor word [rax], r14w
lea rax, [rax + 2]
dec rcx
jne 0x14004a1ae
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rax, r15
add rsp, 0x20
pop r15
ret

Function at 0x14004a868
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
xor eax, eax
cmp qword [rcx + 0x28], rax
lea edx, [rax + 2]
cmovne eax, edx
mov edx, dword [rcx]
cmp edx, eax
jge 0x14004a87c
mov edx, eax
jmp fcn.14004bfe8

Function at 0x14004a884
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
xor eax, eax
cmp qword [rcx + 0x28], rax
lea edx, [rax + 2]
cmovne eax, edx
mov edx, dword [rcx + 4]
cmp edx, eax
jge 0x14004a899
mov edx, eax
jmp fcn.14004bfe8
Function at 0x14004a8a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x120
xor esi, esi
mov rbx, rdx
mov rdi, rcx
mov dword [rdx], esi
mov word [rdx + 4], si
cmp qword [rcx + 0x28], rsi
je 0x14004a93a
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004aa10
mov al, 0x80
cmp byte [rsp + 0xc0], al
je 0x14004a8ef
cmp byte [rsp + 0x30], al
jne 0x14004a8f8
cmp byte [rdi + 0x1e], sil
jne 0x14004a8f8
mov byte [rbx], 1
cmp byte [rsp + 0xc1], al
jne 0x14004a90b
cmp byte [rdi + 0x1f], sil
jne 0x14004a90b
mov byte [rbx + 1], 1
cmp byte [rsp + 0x31], al
jne 0x14004a91b
cmp byte [rdi + 0x20], sil
jne 0x14004a91b
mov byte [rbx + 2], 1
cmp byte [rsp + 0x32], al
jne 0x14004a92b
cmp byte [rdi + 0x21], sil
jne 0x14004a92b
mov byte [rbx + 3], 1
cmp byte [rsp + 0x7b], al
jne 0x14004aa10
jmp 0x14004aa06
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebp, 0x8000
test bp, ax
jne 0x14004a95f
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004a968
cmp byte [rdi + 0x1e], sil
jne 0x14004a968
mov byte [rbx], 1
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004a988
mov ecx, QueryPathOfRegTypeLib
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004a992
cmp byte [rdi + 0x1f], sil
jne 0x14004a992
mov byte [rbx + 1], 1
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004a9b2
mov ecx, reloc.WSOCK32.dll_recvfrom
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004a9bc
cmp byte [rdi + 0x20], sil
jne 0x14004a9bc
mov byte [rbx + 2], 1
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004a9dc
mov ecx, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004a9e6
cmp byte [rdi + 0x21], sil
jne 0x14004a9e6
mov byte [rbx + 3], 1
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test bp, ax
jne 0x14004aa06
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
test bp, ax
je 0x14004aa10
cmp byte [rdi + 0x22], sil
jne 0x14004aa10
mov byte [rbx + 4], 1
lea r11, [rsp + 0x120]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004b048
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, r8
mov r14, rdx
mov r8b, 1
mov rdx, rax
mov rbx, rcx
mov qword [rcx + 0x28], rax
call fcn.14004c078
xor r15d, r15d
cmp byte [rbx + 8], 1
mov bpl, r15b
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x54], r15w
jne 0x14004b0b1
xor r8d, r8d
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14004b7bc
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov bpl, al
call fcn.14004a8a0
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.14004a83c
mov edi, r15d
movsxd rdx, edi
mov rcx, r14
call fcn.140002b08
movzx esi, word [rax]
test si, si
je 0x14004b0ed
mov rcx, rbx
inc edi
call fcn.14004ab48
mov r8d, 1
movzx edx, si
mov rcx, rbx
call fcn.14004afb8
mov dword [rbx + 0x18], r15d
mov word [rbx + 0x1c], r15w
jmp 0x14004b0b4
cmp byte [rbx + 8], 1
jne 0x14004b10d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14004bb8c
mov r8b, bpl
mov dl, reloc.WSOCK32.dll_sendto
mov rcx, rbx
call fcn.14004b7bc
mov rdx, qword [rbx + 0x28]
xor r8d, r8d
mov rcx, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.14004c078

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
movzx esi, dl
mov r14, rcx
mov bl, r8b
mov ecx, esi
mov ebp, esi
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
and dil, 1
cmp bl, dil
je 0x14004b83d
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.14004c1b4
mov rcx, r14
call fcn.14004a884
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov r9d, 2
mov dl, sil
mov r8d, eax
mov rcx, r14
call fcn.14004c1b4
mov rcx, r14
call fcn.14004a868
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov al, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14004b85c
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x160
mov dil, byte [rdx]
mov sil, byte [rdx + 7]
movzx ebp, word [rdx + 8]
xor r15d, r15d
mov r14, rdx
mov rbx, rcx
mov r12d, 1
cmp qword [rcx + 0x28], r15
je 0x14004b95f
cmp dil, 0x14
je 0x14004b95f
lea eax, [rdi + 0x70]
cmp al, r12b
jbe 0x14004b95f
mov rcx, rdx
call fcn.14004ab40
test al, al
je 0x14004b947
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004b8e9
movzx eax, dil
lea rcx, [rsp + 0x60]
or byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, sil
mov rcx, r14
shl eax, 0x10
movsxd rsi, eax
or rsi, r12
call fcn.14004aaec
cmp al, r12b
jne 0x14004b908
bts rsi, 0x18
cmp byte [rbx + 0x1b], r15b
jne 0x14004b91a
cmp byte [rbx + 0x21], r15b
jne 0x14004b91a
cmp dil, 0x12
jne 0x14004b939
cmp byte [rbx + 0x1a], r15b
jne 0x14004b939
cmp byte [rbx + 0x20], r15b
jne 0x14004b939
bts rsi, 0x1d
movzx r8d, dil
mov edx, 0x104
mov r9, rsi
jmp 0x14004b953
movzx r8d, dil
mov r9, rsi
mov edx, 0x100
jmp 0x14004b953
movzx r8d, bp
mov r9, r12
mov edx, 0x102
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004b9c2
mov rcx, rdx
call fcn.14004ab40
test al, al
je 0x14004b990
mov rcx, r14
call fcn.14004aaec
mov r8b, sil
mov dl, dil
mov rcx, rbx
cmp al, r12b
jne 0x14004b986
mov r9d, r12d
jmp 0x14004b989
xor r9d, r9d
call fcn.14004c1b4
jmp 0x14004b9c2
lea rdx, [rsp + 0x30]
mov r8d, SafeArrayCreateEx
mov ecx, r12d
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x38], r15w
mov word [rsp + 0x3a], bp
mov qword [rsp + 0x3c], 4
mov qword [rsp + 0x48], r15
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
jmp fcn.14004a884
Function at 0x14004b9ec
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x160
mov dil, byte [rdx]
mov sil, byte [rdx + 7]
movzx ebp, word [rdx + 8]
xor r15d, r15d
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 0x28], r15
je 0x14004bad2
cmp dil, 0x14
je 0x14004bad2
lea eax, [rdi + 0x70]
cmp al, 1
jbe 0x14004bad2
mov rcx, rdx
call fcn.14004ab40
test al, al
je 0x14004bb3c
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004ba6d
movzx eax, dil
lea rcx, [rsp + 0x60]
xor byte [rsp + rax + 0x60], 0x80
call qword [sym.imp.USER32.dll_SetKeyboardState]
movzx eax, sil
mov rcx, r14
shl eax, 0x10
movsxd rsi, eax
mov eax, 0xc0000001
or rsi, rax
call fcn.14004aaec
cmp al, 1
jne 0x14004ba90
bts rsi, 0x18
cmp byte [rbx + 0x1b], r15b
jne 0x14004baa2
cmp byte [rbx + 0x21], r15b
jne 0x14004baa2
cmp dil, 0x12
jne 0x14004baba
cmp byte [rbx + 0x1a], r15b
jne 0x14004baba
cmp byte [rbx + 0x20], r15b
jne 0x14004baba
bts rsi, 0x1d
mov edx, 0x105
jmp 0x14004babf
mov edx, 0x101
mov rcx, qword [rbx + 0x28]
mov r9, rsi
movzx r8d, dil
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004bb3c
mov rcx, rdx
call fcn.14004ab40
test al, al
je 0x14004bb06
mov rcx, r14
call fcn.14004aaec
mov r8b, sil
mov dl, dil
mov rcx, rbx
mov r9d, 3
cmp al, 1
je 0x14004baff
mov r9d, 2
call fcn.14004c1b4
jmp 0x14004bb3c
mov r8d, SafeArrayCreateEx
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea ecx, [r8 - 0x27]
mov word [rsp + 0x38], r15w
mov word [rsp + 0x3a], bp
mov qword [rsp + 0x3c], 6
mov qword [rsp + 0x48], r15
call qword [sym.imp.USER32.dll_SendInput]
mov rcx, rbx
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
jmp fcn.14004a868

Function at 0x14004bb60
Capabilities:
Check for time delay via queryperformancecounter
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14004b85c
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14004b9ec
Function at 0x14004bb8c
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x38]
sub rsp, 0x130
xor esi, esi
mov rbx, rdx
mov rdi, rcx
cmp byte [rdx], sil
jne 0x14004bbd0
cmp byte [rdx + 1], sil
jne 0x14004bbd0
cmp byte [rdx + 2], sil
jne 0x14004bbd0
cmp byte [rdx + 3], sil
jne 0x14004bbd0
cmp byte [rdx + 4], sil
je 0x14004bd98
mov rcx, qword [rcx + 0x28]
test rcx, rcx
je 0x14004bd1e
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x14004bd1e
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x14004bc46
mov al, byte [rsp + 0x40]
mov cl, 0x80
cmp byte [rbx], sil
je 0x14004bc0f
or al, cl
or byte [rbp - 0x30], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 1], sil
je 0x14004bc1e
or al, cl
or byte [rbp - 0x2f], cl
mov byte [rsp + 0x40], al
cmp byte [rbx + 2], sil
je 0x14004bc28
or byte [rsp + 0x41], cl
cmp byte [rbx + 3], sil
je 0x14004bc32
or byte [rsp + 0x42], cl
cmp byte [rbx + 4], sil
je 0x14004bc3b
or byte [rbp - 0x75], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [rbx], sil
jne 0x14004bc51
cmp byte [rbx + 1], sil
je 0x14004bc74
movzx eax, byte [rdi + 0x32]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recv
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 2], sil
je 0x14004bc9d
movzx eax, byte [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, reloc.WSOCK32.dll_recvfrom
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
mov al, byte [rbx + 3]
test al, al
je 0x14004bcef
cmp byte [rbx + 2], sil
jne 0x14004bcc8
cmp byte [rdi + 0x20], sil
jne 0x14004bcc8
movzx eax, byte [rdi + 0x31]
mov edx, 0x104
shl eax, 0x10
movsxd r9, eax
or r9, 0x20000001
jmp 0x14004bcdf
test al, al
je 0x14004bcef
movzx eax, byte [rdi + 0x31]
mov edx, 0x100
shl eax, 0x10
movsxd r9, eax
or r9, 1
mov rcx, qword [rdi + 0x28]
mov r8d, reloc.WSOCK32.dll_select
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rbx + 4], sil
je 0x14004bd90
movzx eax, byte [rdi + 0x35]
mov rcx, qword [rdi + 0x28]
mov edx, 0x100
shl eax, 0x10
mov r8d, 0x5b
movsxd r9, eax
or r9, 1
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004bd90
cmp byte [rbx], sil
je 0x14004bd34
mov r8b, byte [rdi + 0x33]
xor r9d, r9d
mov dl, 0xa0
mov rcx, rdi
call fcn.14004c1b4
cmp byte [rbx + 1], sil
je 0x14004bd4b
mov r8b, byte [rdi + 0x34]
xor r9d, r9d
mov dl, 0xa1
mov rcx, rdi
call fcn.14004c1b4
cmp byte [rbx + 2], sil
je 0x14004bd62
mov r8b, byte [rdi + 0x30]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_recvfrom
mov rcx, rdi
call fcn.14004c1b4
cmp byte [rbx + 3], sil
je 0x14004bd79
mov r8b, byte [rdi + 0x31]
xor r9d, r9d
mov dl, reloc.WSOCK32.dll_select
mov rcx, rdi
call fcn.14004c1b4
cmp byte [rbx + 4], sil
je 0x14004bd90
mov r8b, byte [rdi + 0x35]
xor r9d, r9d
mov dl, 0x5b
mov rcx, rdi
call fcn.14004c1b4
mov rcx, rdi
call fcn.14004a884
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14004bfe8
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
test edx, edx
js 0x14004c077
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x40
movaps xmmword [rsp + 0x30], xmm6
mov ebx, edx
movaps xmmword [rsp + 0x20], xmm7
test edx, edx
jne 0x14004c00e
xor ecx, ecx
jmp 0x14004c062
cmp ebx, 0xf
jae 0x14004c060
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14004c060
xorps xmm7, xmm7
cvtsi2sd xmm7, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm6, xmm6
sub rax, qword [rsp + 0x60]
cvtsi2sd xmm6, rax
call fcn.1400232e8
divsd xmm6, xmm0
comisd xmm7, xmm6
ja 0x14004c02a
jmp 0x14004c068
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rbx
ret

Function at 0x14004c078
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15b, r8b
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jne 0x14004c0a7
cmp byte [rcx + 9], dl
je 0x14004c19a
xor r14d, r14d
xor ebp, ebp
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
test r15b, r15b
je 0x14004c156
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea r8d, [r14 + 1]
mov ecx, ebx
mov edx, eax
mov dword [0x1400deaa4], eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r15d, eax
test rdi, rdi
je 0x14004c12f
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [0x1400deaa4]
mov dword [0x1400deaa8], eax
cmp ecx, eax
je 0x14004c11d
lea r8d, [r14 + 1]
mov edx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r14d, eax
mov eax, dword [0x1400deaa8]
mov r8d, 1
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov ebp, eax
test r15d, r15d
jne 0x14004c19a
test r14d, r14d
jne 0x14004c19a
test ebp, ebp
jne 0x14004c19a
mov eax, dword [0x1400deaa4]
cmp ebx, eax
jne 0x14004c19a
cmp eax, dword [0x1400deaa8]
jne 0x14004c19a
and qword [rsi + 0x28], 0
jmp 0x14004c19a
test rdi, rdi
je 0x14004c187
mov edx, dword [0x1400deaa8]
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400deaa4]
mov edx, dword [0x1400deaa8]
cmp eax, edx
je 0x14004c18d
xor r8d, r8d
mov ecx, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x1400deaa4]
xor r8d, r8d
mov edx, eax
mov ecx, ebx
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret