Function at 0x14004bad0
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, 0xc0
mov rax, qword [0x140093040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov qword [rbp + 7], rdx
cmp byte [0x14014899f], 0
je 0x14004bb1b
mov ecx, 2
mov dword [0x140148810], ecx
jmp 0x14004bb21
mov ecx, dword [0x140148810]
cmp byte [0x14014899d], 0
je 0x14004bb35
mov ecx, 1
mov dword [0x140148810], ecx
cmp byte [0x1401489a2], 0
je 0x14004bb49
mov ecx, 0x14
mov dword [0x140148810], ecx
cmp byte [0x1401489e7], 0
je 0x14004bb5d
mov ecx, 0xa0
mov dword [0x140148810], ecx
xor r15d, r15d
ucomisd xmm0, qword [0x140089498]
jp 0x14004bb70
je 0x14004bda6
cmp byte [0x1401489c3], r15b
je 0x14004bda6
mov rax, qword [0x140148a68]
cmp qword [rax + 0xc0], r15
je 0x14004bda6
lea rbx, [rbp + 0x5f]
mov rdi, qword [rbx]
mov qword [rbx], r15
movzx ecx, cl
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
mov qword [rbx], rdi
jb 0x14004bbe8
lea r14, [rbp + 0x5f]
mov qword [r14], r15
mov rbx, qword [0x140148878]
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]
movups xmmword [rbp - 0x19], xmm0
mov qword [r14], rdi
movq rax, xmm0
shr rax, 0x30
test al, al
je 0x14004bda6
xorps xmm1, xmm1
cmp byte [0x1401489d8], r15b
je 0x14004bc66
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
lea rbx, [rbp + 0x5f]
mov qword [rbx], r15
test rcx, rcx
je 0x14004bc16
mov r8d, 0x6e
lea rdx, [rbp - 0x59]
call fcn.140047f80
mov qword [rbx], rdi
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
lea rax, [rbp + 0x5f]
mov qword [rax], r15
test rcx, rcx
jne 0x14004bc3d
xorps xmm1, xmm1
movups xmmword [rbp - 0x31], xmm1
xorps xmm0, xmm0
movsd qword [rbp - 0x21], xmm0
jmp 0x14004bc50
mov r8d, 0x6e
lea rdx, [rbp - 0x31]
call fcn.140047f80
movups xmm1, xmmword [rbp - 0x31]
mov qword [rbx], rdi
movaps xmmword [rbp - 0x59], xmm1
movsd xmm0, qword [rbp - 0x21]
movsd qword [rbp - 0x49], xmm0
jmp 0x14004bd87
cmp byte [0x1401489ac], r15b
je 0x14004bc94
mov rax, qword [rsi]
mov r8d, 0x42
lea rdx, [rbp - 0x59]
mov rcx, qword [rax + 8]
call fcn.140047f80
mov r8d, 0x42
lea rdx, [rbp - 0x31]
jmp 0x14004bd6a
cmp byte [0x1401489f8], r15b
je 0x14004bd41
mov rax, qword [rsi]
mov r8d, 0x25
lea rdx, [rbp - 0x19]
mov rcx, qword [rax + 8]
call fcn.140047f80
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x59], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x49], xmm1
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.140042a60
mov rax, qword [rsi]
mov r8d, 8
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 8]
call fcn.140047f80
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x59], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x49], xmm1
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.140042a60
mov rax, qword [rsi]
mov r8d, 8
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 8]
call fcn.140047f80
movsd xmm1, qword [rbp - 0x19]
subsd xmm1, qword [rbp - 0x31]
mulsd xmm1, qword [0x1400891d0]
addsd xmm1, qword [rbp - 0x31]
movsd xmm0, qword [rbp - 0x29]
unpcklpd xmm1, xmm0
jmp 0x14004bd98
cmp byte [0x1401489fe], r15b
je 0x14004bd98
mov rax, qword [rsi]
mov r8d, 2
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 8]
call fcn.140047f80
mov r8d, 2
lea rdx, [rbp + 0xf]
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
call fcn.140047f80
movsd xmm1, qword [rax + 0x10]
movups xmm0, xmmword [rax]
movsd qword [rbp - 0x49], xmm1
movaps xmmword [rbp - 0x59], xmm0
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.140042a60
movupd xmm1, xmmword [rax]
movdqa xmmword [rbp - 0x19], xmm1
lea rcx, [rbp - 0x19]
call fcn.14004b7a0
cmp byte [0x1401489b9], r15b
je 0x14004beba
mov rax, qword [0x140148a68]
mov rcx, qword [rax + 0x18]
add rcx, 0x1840
call fcn.14005c830
mov rcx, rax
call fcn.14005c830
mov rdi, rax
movzx ecx, byte [0x140148810]
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 0x14004be11
cmp byte [0x140147a19], r15b
je 0x14004be23
mov rax, rdi
mov qword [0x140148780], rax
mov byte [0x140147a19], r15b
jmp 0x14004be2a
cmp byte [0x140147a19], r15b
jne 0x14004be23
mov byte [0x140147a19], 1
jmp 0x14004be98
mov rax, qword [0x140148780]
test rax, rax
je 0x14004bea2
cmp rax, rdi
je 0x14004beba
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 [0x140148780], rax
cmp rax, rdi
je 0x14004beba
test rax, rax
je 0x14004beba
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14004beef
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004beef
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004beef
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400602b0
lea r11, [rsp + 0xc0]
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