Function at 0x14004bb30
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 [0x140092040]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov qword [rbp + 7], rdx
cmp byte [0x14014799f], 0
je 0x14004bb7b
mov ecx, 2
mov dword [0x140147810], ecx
jmp 0x14004bb81
mov ecx, dword [0x140147810]
cmp byte [0x14014799d], 0
je 0x14004bb95
mov ecx, 1
mov dword [0x140147810], ecx
cmp byte [0x1401479a2], 0
je 0x14004bba9
mov ecx, 0x14
mov dword [0x140147810], ecx
cmp byte [0x1401479e7], 0
je 0x14004bbbd
mov ecx, 0xa0
mov dword [0x140147810], ecx
xor r15d, r15d
ucomisd xmm0, qword [0x1400883c8]
jp 0x14004bbd0
je 0x14004be06
cmp byte [0x1401479c3], r15b
je 0x14004be06
mov rax, qword [0x140147a68]
cmp qword [rax + 0xc0], r15
je 0x14004be06
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 0x14004bc48
lea r14, [rbp + 0x5f]
mov qword [r14], r15
mov rbx, qword [0x140147878]
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 0x14004be06
xorps xmm1, xmm1
cmp byte [0x1401479d8], r15b
je 0x14004bcc6
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
lea rbx, [rbp + 0x5f]
mov qword [rbx], r15
test rcx, rcx
je 0x14004bc76
mov r8d, 0x6e
lea rdx, [rbp - 0x59]
call fcn.140047fe0
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 0x14004bc9d
xorps xmm1, xmm1
movups xmmword [rbp - 0x31], xmm1
xorps xmm0, xmm0
movsd qword [rbp - 0x21], xmm0
jmp 0x14004bcb0
mov r8d, 0x6e
lea rdx, [rbp - 0x31]
call fcn.140047fe0
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 0x14004bde7
cmp byte [0x1401479ac], r15b
je 0x14004bcf4
mov rax, qword [rsi]
mov r8d, 0x42
lea rdx, [rbp - 0x59]
mov rcx, qword [rax + 8]
call fcn.140047fe0
mov r8d, 0x42
lea rdx, [rbp - 0x31]
jmp 0x14004bdca
cmp byte [0x1401479f8], r15b
je 0x14004bda1
mov rax, qword [rsi]
mov r8d, 0x25
lea rdx, [rbp - 0x19]
mov rcx, qword [rax + 8]
call fcn.140047fe0
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.140047fe0
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.140047fe0
movsd xmm1, qword [rbp - 0x19]
subsd xmm1, qword [rbp - 0x31]
mulsd xmm1, qword [0x140088100]
addsd xmm1, qword [rbp - 0x31]
movsd xmm0, qword [rbp - 0x29]
unpcklpd xmm1, xmm0
jmp 0x14004bdf8
cmp byte [0x1401479fe], r15b
je 0x14004bdf8
mov rax, qword [rsi]
mov r8d, 2
lea rdx, [rbp + 0xf]
mov rcx, qword [rax + 8]
call fcn.140047fe0
mov r8d, 2
lea rdx, [rbp + 0xf]
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
call fcn.140047fe0
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.14004b800
cmp byte [0x1401479b9], r15b
je 0x14004bf1a
mov rax, qword [0x140147a68]
mov rcx, qword [rax + 0x18]
add rcx, 0x1840
call fcn.14005c850
mov rcx, rax
call fcn.14005c850
mov rdi, rax
movzx ecx, byte [0x140147810]
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 0x14004be71
cmp byte [0x140146a19], r15b
je 0x14004be83
mov rax, rdi
mov qword [0x140147780], rax
mov byte [0x140146a19], r15b
jmp 0x14004be8a
cmp byte [0x140146a19], r15b
jne 0x14004be83
mov byte [0x140146a19], 1
jmp 0x14004bef8
mov rax, qword [0x140147780]
test rax, rax
je 0x14004bf02
cmp rax, rdi
je 0x14004bf1a
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 [0x140147780], rax
cmp rax, rdi
je 0x14004bf1a
test rax, rax
je 0x14004bf1a
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14004bf4f
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004bf4f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004bf4f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14005f920
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