Function at 0x1401508d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0xa0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1402e8018]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rcx
mov ecx, 0x24
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [0x1402f0af0]
movss dword [rdi + 0x1a4], xmm8
mov rbx, qword [rdi + 0x80]
divss xmm8, dword [0x1402b87fc]
mulss xmm8, dword [0x1402b84e8]
movd xmm0, dword [rbx + 0x2b0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, dword [0x1402b86f4]
movss xmm6, dword [0x1402b86f8]
addss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si eax, xmm0
mov dword [rdi + 0x1a8], eax
movd xmm0, dword [rbx + 0x2b0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm8
addss xmm0, dword [0x1402b83c8]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, dword [0x1402b86f4]
addss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si eax, xmm0
mov dword [rdi + 0x1ac], eax
movd xmm0, dword [rbx + 0x2b0]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm8
addss xmm0, dword [0x1402b8590]
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, dword [0x1402b86f4]
addss xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_floorf
cvttss2si eax, xmm0
mov dword [rdi + 0x1b0], eax
mov rax, qword [rdi + 8]
movzx ecx, byte [rax + 0x2b2]
mov byte [rdi + 0x182], cl
mov rax, qword [0x1402f0bc0]
cmp byte [rax + 0x6c], 0
je 0x140150a0b
mov byte [rdi + 0x180], 1
mov byte [rdi + 0x183], 0
mov rcx, qword [rdi + 0x178]
xor r14d, r14d
test rcx, rcx
je 0x140150a35
mov rax, qword [rdi + 0x168]
test rax, rax
je 0x140150a35
mov eax, dword [rax + 0x14]
cmp dword [rcx + 0x14], eax
jne 0x140150a35
mov qword [rdi + 0x168], r14
mov rbx, qword [0x1402f0cc0]
cmp dword [rdi + 0x154], r14d
jne 0x140150a77
mov rcx, qword [rdi + 0x188]
test rcx, rcx
je 0x140150a77
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x2b0], r14b
je 0x140150a77
mov eax, dword [rcx + 0x14]
cmp dword [rbx + 0x210], eax
je 0x140150a77
mov byte [rdi + 0x180], 1
mov byte [rdi + 0x183], r14b
cmp byte [rbx + 0xe8], r14b
jne 0x140150ac8
movss xmm0, dword [0x1402f0cb0]
comiss xmm0, dword [0x1402f0af0]
jbe 0x140150ac8
cmp byte [rdi + 0x183], r14b
je 0x140150b0e
mov rcx, rdi
call fcn.1401537a0
test al, al
jne 0x140150ac1
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x2b0], r14b
jne 0x140150ac1
mov byte [rdi + 0x180], 1
mov byte [rdi + 0x183], r14b
mov rbx, qword [0x1402f0cc0]
cmp byte [rdi + 0x183], r14b
je 0x140150b0e
cmp byte [rbx + 0xe8], r14b
je 0x140150b07
cmp byte [rbx + 0x131], r14b
je 0x140150b07
mov rcx, rbx
call fcn.1400663b0
addss xmm0, dword [rdi + 0x184]
movss xmm1, dword [0x1402f0af0]
mov rbx, qword [0x1402f0cc0]
comiss xmm1, xmm0
jb 0x140150b0e
mov byte [rdi + 0x183], r14b
mov rbp, qword [0x1402f0c28]
mov rax, qword [rbp + 0x50]
cmp byte [rax + 0x2b0], r14b
je 0x140150bc5
mov rsi, qword [rbp + 0x68]
test rsi, rsi
je 0x140150bc5
movsd xmm0, qword [rsi + 8]
movss xmm1, dword [rbx + 8]
movsd qword [rsp + 0x30], xmm0
subss xmm1, xmm0
movss xmm2, dword [rbx + 0x10]
subss xmm2, dword [rsi + 0x10]
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm2, xmm1
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140150b6e
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140150b76
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [rbx + 0xd4]
comiss xmm1, dword [0x1402b8758]
jbe 0x140150b8f
movss xmm1, dword [0x1402b869c]
addss xmm1, dword [rbx + 0x4c]
comiss xmm1, xmm0
jbe 0x140150ba2
mov qword [rdi + 0x168], rsi
jmp 0x140150bc5
xorps xmm2, xmm2
mov edx, dword [rbp + 0x70]
mov rcx, rbp
call fcn.1401bb9f0
mov qword [rdi + 0x168], rax
mov rbx, qword [0x1402f0cc0]
mov rbp, qword [0x1402f0c28]
mov rax, qword [rbp + 0x50]
cmp byte [rax + 0x2b0], r14b
je 0x140150be1
cmp qword [rbp + 0x68], r14
je 0x140150be1
lea rsi, [rdi + 0x168]
jmp 0x140150c00
lea rsi, [rdi + 0x168]
xorps xmm2, xmm2
mov edx, dword [rbp + 0x70]
mov rcx, rbp
call fcn.1401bb9f0
mov qword [rsi], rax
mov rbx, qword [0x1402f0cc0]
mov rax, qword [rdi + 0x170]
test rax, rax
je 0x140150c0f
mov qword [rsi], rax
mov rax, qword [rdi + 8]
movzx ecx, byte [rax + 0x2b2]
test cl, cl
je 0x140150f8f
cmp byte [rbx + 0xa7], r14b
jne 0x140150c48
cmp dword [rbx + 0x208], 0x1ab33d75
jne 0x140150f8f
cmp byte [rbx + 0xa5], r14b
je 0x140150f8f
cmp byte [0x1402f0ad9], r14b
jne 0x140150fd6
cmp byte [0x1402f0ad8], r14b
jne 0x140150fd6
mov rax, qword [rdi + 0x38]
cmp byte [rax + 0x2b0], r14b
je 0x140150c7e
call fcn.140139a10
mov dl, 1
mov rcx, rax
call fcn.1400b9b70
mov rbx, qword [rsi]
test rbx, rbx
je 0x140150ea3
cmp byte [rbx + 0xa7], r14b
je 0x140150ea3
mov rcx, rbx
call fcn.140066ad0
test al, al
jne 0x140150ea3
cmp byte [rbx + 0xa5], r14b
je 0x140150ea3
cmp byte [rbx + 0xa4], r14b
je 0x140150ea3
cmp byte [rdi + 0x198], r14b
je 0x140150ea3
mov rcx, rdi
call fcn.140153900
test al, al
je 0x140150ea3
mov rax, qword [rsi]
movsd xmm0, qword [rax + 8]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [0x1402f0cc0]
movsd xmm0, qword [rax + 8]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x20], 4
movss xmm3, dword [0x1402b8654]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.1400687f0
test al, al
je 0x140150d3c
call fcn.140067640
test al, al
jne 0x140150ea3
call fcn.140139ee0
mov rbp, rax
mov rbx, qword [rsi]
movss xmm2, dword [0x1402f0ad4]
test rbx, rbx
je 0x140150e48
movss xmm0, dword [rax + 4]
addss xmm0, dword [0x1402b865c]
comiss xmm0, xmm2
ja 0x140150e48
cmp byte [0x1402f0ad8], r14b
jne 0x140150e48
cmp byte [0x1402f0ad9], r14b
jne 0x140150e48
mov rcx, qword [0x1402f10d8]
test rcx, rcx
jne 0x140150db5
mov ecx, 0x36e490
call fcn.14022033c
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.1401cf6f0
mov rcx, rax
mov qword [0x1402f10d8], rax
movsd xmm0, qword [rbx + 8]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.1401cec00
mov ecx, dword [rbx + 0x20]
shr ecx, 0xc
test cl, 1
jne 0x140150df0
call fcn.140139a10
xor edx, edx
mov rcx, rax
call fcn.1400b9b70
mov rdx, qword [rsp + 0x40]
call fcn.140069050
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x54], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x64], 8
lea r8, [rsp + 0x50]
mov rcx, rbp
call fcn.140068f80
mov dword [rsp + 0x64], reloc.WS2_32.dll_recv
lea r8, [rsp + 0x50]
mov rcx, rbp
call fcn.140068f80
movss xmm2, dword [0x1402f0ad4]
movss dword [rbp + 4], xmm2
mov rax, qword [rdi + 0x30]
cmp byte [rax + 0x2b0], 0
je 0x140150e8d
mov word [rdi + 0x180], 0
mov rax, qword [rdi + 0x78]
movd xmm1, dword [rax + 0x2b0]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1402f1154]
mulss xmm0, dword [0x1402b81e0]
addss xmm0, xmm2
addss xmm1, xmm0
movss dword [rdi + 0x158], xmm1
mov rax, qword [rsi]
mov qword [rdi + 0x188], rax
mov dword [rdi + 0x154], r14d
jmp 0x140150fd6
cmp byte [rdi + 0x199], r14b
je 0x140150fd6
cmp byte [rdi + 0x19a], r14b
je 0x140150fd6
mov rcx, rdi
call fcn.1401537a0
test al, al
je 0x140150fd6
movss xmm6, dword [0x1402f0ad4]
comiss xmm6, dword [rdi + 0x15c]
jbe 0x140150fd6
mov rax, qword [0x1402f0cc0]
movss xmm0, dword [rax + 8]
subss xmm0, dword [0x1402e8428]
movss xmm1, dword [rax + 0x10]
subss xmm1, dword [0x1402e8430]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x140150f20
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x140150f28
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
mov rax, qword [rdi + 0x98]
movd xmm1, dword [rax + 0x2b0]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jb 0x140150f54
call fcn.140139ee0
mov rcx, rax
call fcn.140069600
movss xmm6, dword [0x1402f0ad4]
mov rax, qword [rdi + 0x70]
movd xmm1, dword [rax + 0x2b0]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1402f1154]
mulss xmm0, dword [0x1402b81e0]
addss xmm0, xmm6
addss xmm1, xmm0
movss dword [rdi + 0x15c], xmm1
mov dword [rdi + 0x154], 1
jmp 0x140150fd6
mov rax, qword [rdi + 0x38]
cmp byte [rax + 0x2b0], r14b
je 0x140150fcc
test cl, cl
jne 0x140150fcc
mov rax, qword [0x1402f0c00]
cmp byte [rax + 0xc0], r14b
jne 0x140150fcc
mov rax, qword [0x1402f0bc0]
cmp byte [rax + 0x6c], r14b
jne 0x140150fcc
call fcn.140139a10
xor edx, edx
mov rcx, rax
call fcn.1400b9b70
mov dword [rdi + 0x154], 2
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140220090
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret