Function at 0x14004de00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14006b010]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rdx
mov qword [rbp - 0x50], rdx
mov ecx, dword [0x1400722b0]
mov r12d, 2
cmp byte [0x1400725d1], 0
cmovne ecx, r12d
mov r13d, 1
cmp byte [0x1400725d0], 0
cmovne ecx, r13d
mov eax, 0x14
cmp byte [0x1400725d9], 0
cmovne ecx, eax
mov eax, 0xa0
cmp byte [0x1400725f2], 0
cmovne ecx, eax
mov dword [0x1400722b0], ecx
xor r15d, r15d
ucomisd xmm0, qword [0x140062708]
jp 0x14004de98
je 0x14004e119
cmp byte [0x1400725ea], r15b
je 0x14004e119
mov rax, qword [0x1400726d0]
cmp qword [rax + 0xc0], r15
je 0x14004e119
lea rbx, [rbp + 0x98]
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 0x14004df16
lea r14, [rbp + 0x98]
mov qword [r14], r15
mov rbx, qword [0x1400724c0]
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], xmm0
movq rax, xmm0
shr rax, 0x30
mov qword [r14], rsi
test al, al
je 0x14004e119
xorps xmm1, xmm1
cmp byte [0x1400725ed], r15b
je 0x14004dfaf
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
lea rbx, [rbp + 0x98]
mov qword [rbx], r15
test rcx, rcx
je 0x14004df4c
mov r8d, 0x6d
lea rdx, [rsp + 0x70]
call fcn.14004a1a0
mov qword [rbx], rsi
mov rax, qword [rdi]
mov rcx, qword [rax + 8]
lea rax, [rbp + 0x98]
mov qword [rax], r15
test rcx, rcx
jne 0x14004df78
xorps xmm1, xmm1
movups xmmword [rsp + 0x50], xmm1
xorps xmm0, xmm0
movsd qword [rsp + 0x60], xmm0
jmp 0x14004df8d
mov r8d, 0x6d
lea rdx, [rsp + 0x50]
call fcn.14004a1a0
movups xmm1, xmmword [rsp + 0x50]
mov qword [rbx], rsi
movaps xmmword [rsp + 0x30], xmm1
movsd xmm0, qword [rsp + 0x60]
movsd qword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x10]
jmp 0x14004e102
cmp byte [0x1400725df], r15b
je 0x14004e002
mov rax, qword [rdi]
mov r8d, 0x42
lea rdx, [rsp + 0x70]
mov rcx, qword [rax + 8]
call fcn.14004a1a0
mov rax, qword [rdi]
mov r8d, 0x42
lea rdx, [rbp - 0x70]
mov rcx, qword [rax + 8]
call fcn.14004a1a0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rsp + 0x40], xmm1
lea rdx, [rsp + 0x30]
jmp 0x14004e0fd
cmp byte [0x1400725b0], r15b
je 0x14004e0b7
mov rax, qword [rdi]
mov r8d, 0x25
lea rdx, [rbp + 0x20]
mov rcx, qword [rax + 8]
call fcn.14004a1a0
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x60], xmm1
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.140044a70
mov rax, qword [rdi]
mov r8d, 8
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 8]
call fcn.14004a1a0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140044a70
mov rax, qword [rdi]
mov r8d, 8
lea rdx, [rbp - 0x18]
mov rcx, qword [rax + 8]
call fcn.14004a1a0
movsd xmm1, qword [rsp + 0x50]
subsd xmm1, qword [rsp + 0x30]
mulsd xmm1, qword [0x1400624d0]
addsd xmm1, qword [rsp + 0x30]
movsd xmm0, qword [rsp + 0x38]
unpcklpd xmm1, xmm0
jmp 0x14004e10b
cmp byte [0x1400725b4], r15b
je 0x14004e10b
mov rax, qword [rdi]
mov r8d, r12d
lea rdx, [rbp - 0x18]
mov rcx, qword [rax + 8]
call fcn.14004a1a0
mov rax, qword [rdi]
mov r8d, r12d
lea rdx, [rbp - 0x30]
mov rcx, qword [rax + 8]
call fcn.14004a1a0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x80], xmm1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140044a70
movupd xmm1, xmmword [rax]
movdqa xmmword [rbp - 0x40], xmm1
lea rcx, [rbp - 0x40]
call fcn.14004dad0
cmp byte [0x1400725e7], r15b
je 0x14004e225
mov rax, qword [0x1400726d0]
mov rcx, qword [rax + 0x18]
add rcx, 0x1840
call fcn.140058030
mov rcx, rax
call fcn.140058030
mov rsi, rax
movzx ecx, byte [0x1400722b0]
lea r14, [rbp + 0x98]
mov rbx, qword [r14]
mov qword [r14], r15
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt eax, 0xf
mov qword [r14], rbx
jae 0x14004e187
cmp byte [0x140072265], r15b
je 0x14004e199
mov rax, rsi
mov qword [0x1400723d0], rax
mov byte [0x140072265], r15b
jmp 0x14004e1a0
cmp byte [0x140072265], r15b
jne 0x14004e199
mov byte [0x140072265], r13b
jmp 0x14004e203
mov rax, qword [0x1400723d0]
test rax, rax
je 0x14004e20d
cmp rax, rsi
je 0x14004e225
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov dword [rbp + 0x38], r15d
mov dword [rbp + 0x4c], r12d
mov r8d, 0x28
lea rdx, [rbp + 0x38]
mov ecx, r13d
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3c], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
mov dword [rbp + 0x38], r15d
mov dword [rbp + 0x4c], 4
mov r8d, 0x28
lea rdx, [rbp + 0x38]
mov ecx, r13d
call qword [sym.imp.USER32.dll_SendInput]
mov rax, r15
mov qword [0x1400723d0], rax
cmp rax, rsi
je 0x14004e225
test rax, rax
je 0x14004e225
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
nop
mov rbx, qword [rdi + 8]
test rbx, rbx
je 0x14004e25a
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004e25a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14004e25a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400597a0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret