Function at 0x14003a200
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0xe8]
sub rsp, 0x1e0
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rbp + 0x28], rax
movsxd rax, dword [0x14004b7f0]
xor ecx, ecx
mov qword [rbp - 0x68], rax
mov rax, qword [0x14004b7f8]
mov qword [r11 + 0x18], rdi
add rax, 0x10aec0b8
mov qword [rbp - 0x60], rax
lea rdi, [rbp - 0x70]
lea rax, [rbp - 0x10]
mov qword [r11 - 0x18], r13
mov qword [rbp - 0x58], rax
xor r13d, r13d
xor eax, eax
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [r11 - 0x20], r14
mov qword [rbp - 0x10], r13
call qword [0x14004b7e8]
mov rcx, qword [rbp - 0x10]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x14004b7f0]
mov qword [rbp - 0x68], rax
mov qword [0x14004b8b8], rcx
lea rax, [rcx + 0x1b8]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x10], r13
call qword [0x14004b7e8]
mov rcx, qword [rbp - 0x10]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x14004b7f0]
mov qword [rbp - 0x68], rax
mov qword [0x14004b8a8], rcx
lea rax, [rcx + 0x38]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp - 0x10], r13
call qword [0x14004b7e8]
movsxd rax, dword [0x14004b7f0]
lea rdi, [rbp - 0x40]
mov qword [rbp - 0x38], rax
xor ecx, ecx
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [rbp]
mov qword [rbp - 0x28], rax
xor eax, eax
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x20], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x40]
mov qword [rbp], r13
call qword [0x14004b7e8]
mov rcx, qword [rbp]
movsxd rax, dword [0x14004b7f0]
mov qword [rbp - 0x68], rax
mov qword [0x14004b878], rcx
lea rax, [rcx + 0x30]
mov qword [rbp], r13
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x60], rax
lea rdi, [rbp - 0x70]
lea rax, [rbp]
mov qword [rbp - 0x50], 8
mov qword [rbp - 0x58], rax
xor ecx, ecx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
call qword [0x14004b7e8]
mov rcx, qword [rbp]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x14004b7f0]
mov qword [rbp - 0x68], rax
mov qword [0x14004b8b0], rcx
lea rax, [rcx + 0x338]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x14004b7e8]
mov rcx, qword [rbp]
mov qword [0x14004b880], rcx
test rcx, rcx
je 0x14003a520
movsxd rax, dword [0x14004b7f0]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
lea rax, [rcx + 0x198]
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp + 0x20]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp + 0x20], r13
call qword [0x14004b7e8]
movsxd rax, dword [0x14004b7f0]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov rax, qword [0x14004b880]
add rax, 0x2b0
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x14004b7e8]
mov rcx, qword [rbp]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x14004b7f0]
mov qword [rbp - 0x68], rax
mov qword [0x14004b868], rcx
lea rax, [rcx + 0x10e0]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x10], r13d
call qword [0x14004b7e8]
mov eax, dword [rbp - 0x10]
mov dword [0x14004b890], eax
movsxd rax, dword [0x14004b7f0]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov rax, qword [0x14004b8b8]
add rax, 0x158
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x14004b7e8]
mov rcx, qword [rbp]
lea rdi, [rbp - 0x70]
movsxd rax, dword [0x14004b7f0]
mov qword [rbp - 0x68], rax
mov qword [0x14004b898], rcx
lea rax, [rcx + 0x2a8]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp]
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x14004b7e8]
mov rax, qword [rbp]
lea rdi, [rbp - 0x70]
mov qword [0x14004b888], rax
xor ecx, ecx
movsxd rax, dword [0x14004b7f0]
mov qword [rbp - 0x68], rax
mov rax, qword [0x14004b898]
add rax, 0x2b0
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x10], r13d
call qword [0x14004b7e8]
mov eax, dword [rbp - 0x10]
mov r14d, r13d
mov dword [0x14004b870], eax
mov dword [0x14004b8a0], 0x7f7fffff
mov qword [0x14004b860], r13
test eax, eax
jle 0x14003ac14
mov qword [rsp + 0x1f0], rbx
movaps xmmword [rsp + 0x160], xmm11
movss xmm11, dword [0x1400444fc]
movaps xmmword [rsp + 0x150], xmm12
movss xmm12, dword [0x1400444dc]
movaps xmmword [rsp + 0x140], xmm13
movsd xmm13, qword [0x140044780]
movaps xmmword [rsp + 0x130], xmm14
xorps xmm14, xmm14
mov qword [rsp + 0x1f8], rsi
mov qword [rsp + 0x1d8], r12
mov qword [rsp + 0x1c0], r15
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1a0], xmm7
movaps xmmword [rsp + 0x190], xmm8
movaps xmmword [rsp + 0x180], xmm9
movaps xmmword [rsp + 0x170], xmm10
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [0x14004b7f0]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
mov rax, qword [0x14004b888]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
movsxd rcx, r14d
mov qword [rbp], r13
lea rcx, [rax + rcx*8]
mov qword [rbp - 0x60], rcx
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xor ecx, ecx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
call qword [0x14004b7e8]
mov rbx, qword [rbp]
test rbx, rbx
je 0x14003ab95
movsxd rax, dword [0x14004b7f0]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbx + 0x10e0]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 4
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov dword [rbp - 0x10], r13d
call qword [0x14004b7e8]
mov eax, dword [0x14004b890]
cmp dword [rbp - 0x10], eax
je 0x14003ab95
movsxd rax, dword [0x14004b7f0]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor ecx, ecx
lea rax, [rbx + 0x308]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x60], rax
lea rax, [rbp]
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x14004b7e8]
mov rcx, qword [rbp]
test rcx, rcx
je 0x14003ab95
cmp rcx, qword [0x14004b880]
je 0x14003ab95
movsxd rax, dword [0x14004b7f0]
lea rdi, [rbp - 0x70]
mov qword [rbp - 0x68], rax
lea rax, [rcx + 0x318]
mov qword [rbp - 0x60], rax
xor ecx, ecx
lea rax, [rbp]
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x58], rax
xor eax, eax
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x50], 8
rep stosb byte [rdi], al
lea rcx, [rbp - 0x70]
mov qword [rbp], r13
call qword [0x14004b7e8]
mov rsi, qword [rbp]
test rsi, rsi
je 0x14003ab95
mov r8d, 0x6d
lea rcx, [rsp + 0x78]
mov rdx, rsi
call fcn.1400390f0
movups xmm0, xmmword [rsp + 0x78]
lea rdx, [rbp]
movsd xmm1, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
movaps xmmword [rbp], xmm0
movsd qword [rbp + 0x10], xmm1
call fcn.140038d90
xor r8d, r8d
lea rcx, [rbp - 0x40]
mov rdx, rsi
call fcn.1400390f0
movups xmm0, xmmword [rbp - 0x40]
lea rdx, [rbp - 0x70]
movsd xmm1, qword [rbp - 0x30]
lea rcx, [rsp + 0x58]
movaps xmmword [rbp - 0x70], xmm0
movsd qword [rbp - 0x60], xmm1
call fcn.140038d90
cmp byte [0x14004b850], r13b
movsd xmm6, qword [rsp + 0x70]
movsd xmm10, qword [rsp + 0x60]
movaps xmm0, xmm6
movsd xmm8, qword [rsp + 0x68]
subsd xmm0, xmm10
andps xmm0, xmm13
cvtpd2ps xmm9, xmm0
movaps xmm7, xmm9
mulss xmm7, xmm11
je 0x14003ab22
cmp byte [0x14004b852], r13b
je 0x14003aa0f
mov rcx, rsi
call fcn.140039300
cvttss2si r12d, xmm7
test al, al
lea rax, [rbp]
mov qword [rsp + 0x20], rax
cvttss2si r15d, xmm9
mov r8d, r12d
mulss xmm7, xmm11
mov r9d, r15d
cvttsd2si edx, xmm6
cvtps2pd xmm7, xmm7
je 0x14003a940
movaps xmm0, xmmword [0x140044740]
jmp 0x14003a947
movaps xmm0, xmmword [0x140044700]
movaps xmmword [rbp], xmm0
movaps xmm0, xmm8
subsd xmm0, xmm7
cvttsd2si ecx, xmm0
call fcn.140039e40
cmp byte [0x14004b84e], r13b
je 0x14003aa0f
mov rax, qword [0x14004b730]
lea r8, str.Foreground
movaps xmm0, xmmword [0x1400446e0]
movaps xmm1, xmm8
subsd xmm1, xmm7
movaps xmmword [rbp], xmm0
mov edx, 1
mov rcx, qword [rax + 0x48b0]
cvttsd2si ebx, xmm6
mov rcx, qword [rcx]
cvttsd2si edi, xmm1
call fcn.140006780
lea ecx, [r12 + rdi]
mov r10, rax
movd xmm0, ecx
lea ecx, [r15 + rbx]
cvtdq2ps xmm0, xmm0
movd xmm1, ecx
lea rcx, [rbp]
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
movd xmm1, ebx
movd xmm0, edi
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rsp + 0x3c], xmm1
movss dword [rsp + 0x38], xmm0
call fcn.1400030d0
mov r9d, eax
mov dword [rsp + 0x28], r13d
lea rdx, [rsp + 0x38]
movss dword [rsp + 0x20], xmm14
lea r8, [rsp + 0x30]
mov rcx, r10
call fcn.140025d90
cmp byte [0x14004b84f], r13b
je 0x14003ab22
mov rcx, rsi
call fcn.140039300
test al, al
lea r8, str.Foreground
mov rax, qword [0x14004b730]
mov edx, 1
mov rcx, qword [rax + 0x48b0]
mov rcx, qword [rcx]
je 0x14003aab0
movaps xmm0, xmmword [0x140044740]
movaps xmmword [rbp], xmm0
call fcn.140006780
movsd xmm0, qword [rsp + 0x58]
lea rcx, [rbp]
cvtpd2ps xmm0, xmm0
mov rdi, rax
cvtpd2ps xmm1, xmm10
movss dword [rsp + 0x40], xmm0
movd xmm0, dword [0x14004b8d0]
movss dword [rsp + 0x44], xmm1
movd xmm1, dword [0x14004b8dc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x4c], xmm1
call fcn.1400030d0
lea rdx, [rsp + 0x48]
lea r8, [rsp + 0x40]
jmp 0x14003ab10
movaps xmm0, xmmword [0x140044700]
movaps xmmword [rbp], xmm0
call fcn.140006780
movsd xmm0, qword [rsp + 0x58]
lea rcx, [rbp]
cvtpd2ps xmm0, xmm0
mov rdi, rax
cvtpd2ps xmm1, xmm10
movss dword [rsp + 0x50], xmm0
movd xmm0, dword [0x14004b8d0]
movss dword [rsp + 0x54], xmm1
movd xmm1, dword [0x14004b8dc]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbp + 0x20], xmm0
movss dword [rbp + 0x24], xmm1
call fcn.1400030d0
lea rdx, [rbp + 0x20]
lea r8, [rsp + 0x50]
mov r9d, eax
movss dword [rsp + 0x20], xmm12
mov rcx, rdi
call fcn.140025b20
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2sd xmm0, dword [0x14004b8d0]
cvtsi2sd xmm1, dword [0x14004b8d8]
subsd xmm8, xmm0
xorps xmm0, xmm0
subsd xmm6, xmm1
mulsd xmm8, xmm8
mulsd xmm6, xmm6
addsd xmm6, xmm8
cvtpd2ps xmm1, xmm6
ucomiss xmm0, xmm1
ja 0x14003ab64
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x14003ab6c
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x14004b0b8]
comiss xmm1, xmm0
jb 0x14003ab95
movss xmm1, dword [0x14004b8a0]
comiss xmm1, xmm0
jbe 0x14003ab95
movss dword [0x14004b8a0], xmm0
mov qword [0x14004b860], rsi
inc r14d
cmp r14d, dword [0x14004b870]
jl 0x14003a6e0
movaps xmm14, xmmword [rsp + 0x130]
movaps xmm13, xmmword [rsp + 0x140]
movaps xmm12, xmmword [rsp + 0x150]
movaps xmm11, xmmword [rsp + 0x160]
movaps xmm10, xmmword [rsp + 0x170]
movaps xmm9, xmmword [rsp + 0x180]
movaps xmm8, xmmword [rsp + 0x190]
movaps xmm7, xmmword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x1b0]
mov r15, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
cmp byte [0x14004b84d], 0
mov r14, qword [rsp + 0x1c8]
mov r13, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x200]
je 0x14003ac4b
mov ecx, dword [0x14004b0d0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003ac4b
call fcn.140039bf0
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.14003bc70
add rsp, 0x1e0
pop rbp
ret