Function at 0x14004bcd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov qword [rbp + 7], rdx
cmp byte [0x140078fd7], 0
je 0x14004bd1b
mov ecx, 2
mov dword [0x140078e48], ecx
jmp 0x14004bd21
mov ecx, dword [0x140078e48]
cmp byte [0x140078fd5], 0
je 0x14004bd35
mov ecx, 1
mov dword [0x140078e48], ecx
cmp byte [0x140078fda], 0
je 0x14004bd49
mov ecx, 0x14
mov dword [0x140078e48], ecx
cmp byte [0x140079015], 0
je 0x14004bd5d
mov ecx, 0xa0
mov dword [0x140078e48], ecx
xor r15d, r15d
ucomisd xmm0, qword [0x140067bd0]
jp 0x14004bd70
je 0x14004bfc6
cmp byte [0x140078ffb], r15b
je 0x14004bfc6
mov rax, qword [0x140079090]
cmp qword [rax + 0xc0], r15
je 0x14004bfc6
lea rbx, [rbp + 0x5f]
mov rsi, qword [rbx]
mov qword [rbx], r15
movzx ecx, cl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
mov qword [rbx], rsi
jb 0x14004bde4
lea r14, [rbp + 0x5f]
mov qword [r14], r15
mov rbx, qword [0x140078eb0]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rdx, rbx
mov ecx, dword [rbx + 0x10]
call qword [sym.imp.XINPUT1_4.dll_Ordinal_2]
movups xmm0, xmmword [rbx]
mov qword [r14], rsi
movq rax, xmm0
shr rax, 0x30
test al, al
je 0x14004bfc6
xorps xmm1, xmm1
cmp byte [0x140079006], r15b
je 0x14004be65
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
lea rbx, [rbp + 0x5f]
mov qword [rbx], r15
test rcx, rcx
je 0x14004be12
mov r8d, 0x6e
lea rdx, [rbp - 0x39]
call fcn.140047ff0
mov qword [rbx], rsi
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
lea rax, [rbp + 0x5f]
mov qword [rax], r15
test rcx, rcx
jne 0x14004be38
xorps xmm1, xmm1
xorps xmm0, xmm0
movsd qword [rbp - 0x29], xmm0
xorps xmm2, xmm2
jmp 0x14004be50
mov r8d, 0x6e
lea rdx, [rbp - 0x59]
call fcn.140047ff0
movups xmm1, xmmword [rbp - 0x59]
movsd xmm2, qword [rbp - 0x49]
mov qword [rbx], rsi
movaps xmmword [rbp - 0x59], xmm1
movsd qword [rbp - 0x49], xmm2
lea rdx, [rbp - 0x59]
jmp 0x14004bfab
cmp byte [0x140078fe4], r15b
je 0x14004beb4
mov rax, qword [rdi]
mov r8d, 0x42
lea rdx, [rbp - 0x39]
mov rcx, qword [rax + 8]
call fcn.140047ff0
mov rax, qword [rdi]
mov r8d, 0x42
lea rdx, [rbp - 0x39]
mov rcx, qword [rax + 8]
call fcn.140047ff0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x59], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x49], xmm1
lea rdx, [rbp - 0x59]
jmp 0x14004bfab
cmp byte [0x140079028], r15b
je 0x14004bf61
mov rax, qword [rdi]
mov r8d, 0x25
lea rdx, [rbp - 0x39]
mov rcx, qword [rax + 8]
call fcn.140047ff0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x19], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 9], xmm1
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x59]
call fcn.140042ba0
mov rax, qword [rdi]
mov r8d, 8
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 8]
call fcn.140047ff0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x39], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x29], xmm1
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.140042ba0
mov rax, qword [rdi]
mov r8d, 8
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 8]
call fcn.140047ff0
movsd xmm1, qword [rbp - 0x19]
subsd xmm1, qword [rbp - 0x59]
mulsd xmm1, qword [0x140067908]
addsd xmm1, qword [rbp - 0x59]
movsd xmm0, qword [rbp - 0x51]
unpcklpd xmm1, xmm0
jmp 0x14004bfb8
cmp byte [0x14007902e], r15b
je 0x14004bfb8
mov rax, qword [rdi]
mov r8d, 2
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 8]
call fcn.140047ff0
mov rax, qword [rdi]
mov r8d, 2
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 8]
call fcn.140047ff0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x39], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x29], xmm1
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.140042ba0
movupd xmm1, xmmword [rax]
movdqa xmmword [rbp - 0x19], xmm1
lea rcx, [rbp - 0x19]
call fcn.14004b9a0
cmp byte [0x140078ff1], r15b
je 0x14004c0da
mov rax, qword [0x140079090]
mov rcx, qword [rax + 0x18]
add rcx, 0x1840
call fcn.14005bcd0
mov rcx, rax
call fcn.14005bcd0
mov rsi, rax
movzx ecx, byte [0x140078e48]
lea r14, [rbp + 0x5f]
mov rbx, qword [r14]
mov qword [r14], r15
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
mov qword [r14], rbx
jae 0x14004c031
cmp byte [0x140078059], r15b
je 0x14004c043
mov rax, rsi
mov qword [0x140078dc0], rax
mov byte [0x140078059], r15b
jmp 0x14004c04a
cmp byte [0x140078059], r15b
jne 0x14004c043
mov byte [0x140078059], 1
jmp 0x14004c0b8
mov rax, qword [0x140078dc0]
test rax, rax
je 0x14004c0c2
cmp rax, rsi
je 0x14004c0da
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x13], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov dword [rbp + 0xf], r15d
mov dword [rbp + 0x23], 2
mov r8d, 0x28
lea rdx, [rbp + 0xf]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x13], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x27], xmm1
mov dword [rbp + 0xf], r15d
mov dword [rbp + 0x23], 4
mov r8d, 0x28
lea rdx, [rbp + 0xf]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov rax, r15
mov qword [0x140078dc0], rax
cmp rax, rsi
je 0x14004c0da
test rax, rax
je 0x14004c0da
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14004c10f
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004c10f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004c10f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14005dba0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret