Function at 0x140007d60
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xe0
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
cmp byte [0x14005e0b8], 0
je 0x140008142
mov qword [r11 + 0x18], rdi
lea rcx, [rbp - 0x21]
mov qword [r11 + 0x20], r14
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
call fcn.140005530
mov rax, qword [rbp - 0x21]
sub rax, qword [0x14005ec20]
cmp rax, 0xef5f4c0
jl 0x140007dc4
mov byte [0x14005ecd0], 1
mov ecx, dword [0x14005e0b0]
xor edx, edx
mov edi, edx
test ecx, ecx
je 0x140007dfb
sub ecx, 1
je 0x140007de6
sub ecx, 1
je 0x140007df4
sub ecx, 1
je 0x140007ded
cmp ecx, 1
jne 0x140007e00
mov edi, 0x43
jmp 0x140007e00
mov edi, 2
jmp 0x140007e00
mov edi, 7
jmp 0x140007e00
mov edi, 0x6d
mov rax, qword [0x14005ed20]
xor r9d, r9d
mov rcx, qword [0x14005ebc0]
add rax, 0x1b0
mov qword [rbp - 0x11], rax
xor r8d, r8d
cmp byte [0x14005ebe0], dl
lea rax, [rbp - 0x21]
mov qword [rbp - 9], rax
mov eax, dword [0x14005ebb0]
mov dword [rbp - 0x19], eax
lea rax, [rbp - 0x19]
mov dword [rsp + 0x48], 0x20
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x19]
mov dword [rsp + 0x38], 0x20
mov qword [rsp + 0x30], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x21], rdx
mov dword [rbp - 0x15], edx
mov qword [rbp - 1], 8
je 0x140007e76
mov dword [rsp + 0x28], 0x222660
jmp 0x140007e7e
mov dword [rsp + 0x28], 0x222664
mov qword [rsp + 0x20], rax
call fcn.14004a300
mov rcx, qword [rbp - 0x21]
lea rdx, [rbp - 0x39]
xorps xmm0, xmm0
xorps xmm8, xmm8
add rcx, 0x120
movsd qword [rbp - 0x29], xmm8
mov r8d, 0x18
movups xmmword [rbp - 0x39], xmm0
call fcn.140005610
movsd xmm0, qword [rbp - 0x31]
subsd xmm0, qword [0x14005e148]
movss xmm6, dword [0x140054668]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm7, xmm0
movaps xmm1, xmm6
movsd xmm0, qword [rbp - 0x39]
subsd xmm0, qword [0x14005e140]
cvtpd2ps xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movsd xmm2, qword [rbp - 0x29]
addss xmm7, xmm0
subsd xmm2, qword [0x14005e150]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm7, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm7
ja 0x140007f22
xorps xmm0, xmm0
sqrtss xmm0, xmm7
jmp 0x140007f2a
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
cmp byte [0x14005e0ba], 0
xorps xmm6, xmm6
cvtss2sd xmm0, xmm0
mov qword [rsp + 0xf8], rsi
movaps xmm7, xmmword [rsp + 0xc0]
divsd xmm0, qword [0x1400546b0]
cvtsd2ss xmm6, xmm0
je 0x140007f67
mov ecx, dword [0x14005e0c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx esi, ax
jmp 0x140007f6c
mov esi, 1
mov r14, qword [0x14005ed20]
test r14, r14
je 0x140008119
movss xmm0, dword [0x140054768]
comiss xmm0, xmm6
jb 0x140008119
mov rcx, qword [0x14005ebf8]
lea rdx, [rbp + 7]
xorps xmm0, xmm0
mov qword [rsp + 0xf0], rbx
mov rbx, qword [0x14005ec28]
add rcx, 0x26a0
mov r8d, 0x18
movsd qword [rbp + 0x17], xmm8
movups xmmword [rbp + 7], xmm0
call fcn.140005610
mov rcx, r14
call fcn.140005a40
mov r9d, edi
lea rdx, [rbp - 0x19]
mov r8, rbx
mov rcx, rax
call fcn.140007730
movsd xmm2, qword [rbp - 0x19]
movsd xmm1, qword [0x140054690]
movaps xmm0, xmm2
movsd xmm3, qword [rbp + 7]
subsd xmm0, xmm1
mov rbx, qword [rsp + 0xf0]
comisd xmm3, xmm0
jb 0x140008119
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140008119
movsd xmm2, qword [rbp - 0x11]
movsd xmm3, qword [rbp + 0xf]
movaps xmm0, xmm2
subsd xmm0, xmm1
comisd xmm3, xmm0
jb 0x140008119
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140008119
movsd xmm2, qword [rbp - 9]
movsd xmm3, qword [rbp + 0x17]
movaps xmm0, xmm2
subsd xmm0, xmm1
comisd xmm3, xmm0
jb 0x140008119
addsd xmm2, xmm1
comisd xmm2, xmm3
jb 0x140008119
test esi, esi
je 0x140008119
cmp byte [0x14005e0b9], 0
je 0x140008089
cmp byte [0x14005ebf0], 2
jne 0x140008119
cmp byte [0x14005ec1c], 0
je 0x1400080ac
lea rcx, [rbp - 0x21]
call fcn.140005530
mov byte [0x14005ec1c], 0
mov rcx, qword [rax]
mov qword [0x14005ec38], rcx
lea rcx, [rbp - 0x21]
call fcn.140005530
mov rcx, qword [rax]
movabs rax, 0x431bde82d7b634db
mov qword [0x14005ec30], rcx
sub rcx, qword [0x14005ec38]
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edx, dword [0x14005e0bc]
mov dword [0x14005ec18], edx
jl 0x140008119
cmp byte [0x14005ecd0], 0
je 0x140008119
lea rcx, [rbp - 0x21]
mov byte [0x14005ec1c], 1
mov byte [0x14005ecd0], 0
call fcn.140005530
mov rcx, qword [rax]
mov qword [0x14005ec20], rcx
mov rsi, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x108]
mov rdi, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0xb0]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14004a3a0
add rsp, 0xe0
pop rbp
ret