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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x1400f1200]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov ebx, edx
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov r15, rax
mov r8, rax
lea edx, [r12 + 4]
mov ecx, ebx
call qword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov r14d, eax
mov edx, 8
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400fcfa8], eax
jle 0x14000c2ec
lea rcx, [0x1400fcfa8]
call fcn.14007930c
cmp dword [0x1400fcfa8], 0xffffffff
jne 0x14000c2ec
mov dword [rsp + 0x50], 0x5d
mov dword [rsp + 0x54], 3
mov dword [rsp + 0x58], 0x2c
mov dword [rsp + 0x5c], 0x6f
mov dword [rsp + 0x60], 0x90
mov dword [rsp + 0x64], 0x5b
mov dword [rsp + 0x68], 0x5c
mov dword [rsp + 0x6c], 0xa5
mov dword [rsp + 0x70], 0xa3
mov dword [rsp + 0x74], 0xa1
mov dword [rsp + 0x78], 0xd
mov dword [rsp + 0x7c], 0x2d
mov dword [rbp - 0x80], 0x2e
mov dword [rbp - 0x7c], 0x21
mov dword [rbp - 0x78], 0x22
mov dword [rbp - 0x74], 0x24
mov dword [rbp - 0x70], 0x23
mov dword [rbp - 0x6c], 0x26
mov dword [rbp - 0x68], 0x28
mov dword [rbp - 0x64], 0x25
mov dword [rbp - 0x60], 0x27
xorps xmm0, xmm0
movdqu xmmword [0x1400fcfd0], xmm0
mov qword [0x1400fcfe0], r12
lea edx, [r12 + 0x15]
call fcn.14000cf20
mov qword [0x1400fcfd0], rax
mov qword [0x1400fcfd8], rax
lea rdi, [rax + 0x54]
mov qword [0x1400fcfe0], rdi
lea r8d, [r12 + 0x54]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.14007b320
mov qword [0x1400fcfd8], rdi
lea rcx, [0x1400b48d0]
call fcn.140079654
nop
lea rcx, [0x1400fcfa8]
call fcn.1400792ac
mov r8d, ebx
mov rdx, qword [0x1400fcfd8]
mov rcx, qword [0x1400fcfd0]
call fcn.140075e70
cmp rax, qword [0x1400fcfd8]
je 0x14000c310
bts r14d, 8
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x1f0]
call fcn.14007ba90
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0xff
lea r9, [rbp - 0x10]
lea r8, [rbp + 0x1f0]
mov edx, r14d
mov ecx, ebx
call qword [sym.imp.USER32.dll_ToUnicodeEx]
test eax, eax
jg 0x14000c427
shl r14d, 0x10
mov r8d, 0x100
lea rdx, [rbp - 0x10]
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetKeyNameTextW]
test eax, eax
jg 0x14000c427
lea r9, [rsp + 0x7a]
nop dword [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r9], bx
mov ebx, edx
test edx, edx
jne 0x14000c380
lea r8, [rsp + 0x7a]
mov rdx, r9
lea rcx, [rbp - 0x50]
call fcn.14000da00
nop
lea r8, [rbp - 0x50]
lea rdx, [0x1400c8218]
lea rcx, [rbp - 0x30]
call fcn.14000d270
nop
lea r8d, [rbx + 1]
lea rdx, [0x1400c8214]
mov rcx, rax
call fcn.14000ae00
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rcx, [rbp - 0x30]
call fcn.1400073a0
nop
lea rcx, [rbp - 0x50]
call fcn.1400073a0
jmp 0x14000c47a
mov eax, eax
mov word [rbp + rax*2 - 0x10], r12w
cmp eax, 1
jne 0x14000c44a
movzx ecx, word [rbp - 0x10]
lea eax, [rcx - 0x61]
cmp ax, 0x19
ja 0x14000c44a
call fcn.14008585c
mov word [rbp - 0x10], ax
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000c463
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.1400075d0
mov rax, rsi
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140078e50
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret