Function at 0x1800185c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x180285a70]
mov rdi, qword [0x180285a68]
add rax, 0x40cbe0
call rax
test rax, rax
je 0x180018a3d
test rdi, rdi
je 0x180018a3d
mov rax, qword [0x180285a70]
add rax, 0x40cbe0
call rax
mov rcx, rax
call fcn.1800145c0
test rax, rax
je 0x180018a3d
mov rcx, rdi
call fcn.180012b10
test al, al
jne 0x180018a3d
cmp byte [0x180285b73], al
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], rsi
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x80], xmm10
movaps xmmword [rsp + 0x70], xmm11
je 0x1800186ce
mov ecx, dword [0x180285ba4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800186ce
mov rax, qword [0x180285a70]
add rax, 0x40cbe0
call rax
mov ebx, 0x2f
lea rdx, [rbp - 0x29]
mov r8d, ebx
mov rcx, rax
call fcn.180014250
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
addss xmm1, dword [0x180265db0]
movss dword [rbp - 0x49], xmm0
movss xmm0, dword [rax + 8]
lea rax, [rbp - 0x49]
movss dword [rbp - 0x41], xmm0
movss dword [rbp - 0x45], xmm1
jmp 0x1800186f1
mov rax, qword [0x180285a70]
add rax, 0x40cbe0
call rax
mov ebx, 0x2f
lea rdx, [rbp - 0x39]
mov r8d, ebx
mov rcx, rax
call fcn.180014250
cmp byte [0x180285ac6], 0
movsd xmm6, qword [rax]
mov esi, dword [rax + 8]
movsd qword [rbp - 0x19], xmm6
je 0x180018711
lea rdx, [rbp - 0x29]
mov ebx, 0x12
jmp 0x180018715
lea rdx, [rbp - 0x39]
mov r8d, ebx
mov rcx, rdi
call fcn.180014250
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
mov dword [rbp - 0x41], eax
mov rax, qword [0x180285a70]
add rax, 0x40cbe0
movsd qword [rbp - 0x49], xmm0
call rax
mov rcx, rax
call fcn.1800145c0
mov rcx, rax
call fcn.180013c20
mov ecx, eax
call fcn.180018080
movaps xmm7, xmm0
call fcn.1800180d0
add rdi, 0x4a8
movaps xmm3, xmm0
xorps xmm8, xmm8
movabs rbx, 0x7fffffff0000
cmp rdi, 0x40000
jbe 0x1800187ac
lea rax, [rdi + 8]
cmp rax, rbx
jae 0x1800187ac
mov rcx, qword [rdi]
add rcx, 0x1fc
cmp rcx, 0x40000
jbe 0x1800187ac
lea rax, [rcx + 0xc]
cmp rax, rbx
jae 0x1800187ac
movsd xmm0, qword [rcx]
mov eax, dword [rcx + 8]
jmp 0x1800187b8
xorps xmm0, xmm0
movd eax, xmm8
unpcklps xmm0, xmm8
lea r8, [rbp - 0x39]
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp - 0x49]
movsd qword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x31], eax
movsd qword [rbp - 0x29], xmm6
mov dword [rbp - 0x21], esi
call fcn.180017cf0
movss xmm0, dword [rbp - 0x15]
subss xmm0, dword [rbp - 0x45]
movss xmm7, dword [rbp - 0x19]
subss xmm7, dword [rbp - 0x49]
movd xmm6, esi
subss xmm6, dword [rbp - 0x41]
movaps xmm3, xmm0
mulss xmm3, xmm0
movaps xmm1, xmm7
movaps xmm2, xmm6
mulss xmm1, xmm7
mulss xmm2, xmm6
addss xmm3, xmm1
addss xmm3, xmm2
xorps xmm2, xmm2
sqrtss xmm2, xmm3
divss xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_asinf
xorps xmm6, xmmword [0x180266850]
movaps xmm10, xmm0
mulss xmm10, dword [0x180266114]
movaps xmm1, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
mov rax, qword [0x180285a70]
movaps xmm7, xmm0
mulss xmm7, dword [0x1802662d8]
add rax, 0x40cbe0
call rax
mov rsi, qword [rsp + 0xf0]
add rax, 0x4c8
cmp rax, 0x40000
jbe 0x1800188a5
lea rcx, [rax + 8]
cmp rcx, rbx
jae 0x1800188a5
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x1800188a5
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x1800188a5
movss xmm0, dword [rcx]
movss xmm1, dword [rcx + 4]
jmp 0x1800188ab
xorps xmm1, xmm1
xorps xmm0, xmm0
movss xmm11, dword [0x1802662dc]
subss xmm10, xmm0
subss xmm7, xmm1
comiss xmm10, xmm11
jae 0x1800188c9
movaps xmm10, xmm11
jmp 0x1800188d2
minss xmm10, dword [0x180266138]
comiss xmm7, dword [0x1802662f8]
movaps xmmword [rsp + 0x90], xmm9
movss xmm9, dword [0x1802661b8]
jae 0x1800188f4
addss xmm7, xmm9
jmp 0x1800188ff
comiss xmm7, xmm9
jbe 0x1800188ff
subss xmm7, xmm9
mov rax, qword [0x180285a70]
add rax, 0x40cbe0
call rax
add rax, 0x4c8
cmp rax, 0x40000
jbe 0x18001894a
lea rcx, [rax + 8]
cmp rcx, rbx
jae 0x18001894a
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x18001894a
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x18001894a
movss xmm8, dword [rcx]
movss xmm6, dword [rcx + 4]
jmp 0x18001894d
xorps xmm6, xmm6
cmp byte [0x180285ab9], 0
addss xmm8, xmm10
movaps xmm10, xmmword [rsp + 0x80]
addss xmm6, xmm7
movaps xmm7, xmmword [rsp + 0xb0]
movss dword [rbp + 0x67], xmm8
movss dword [rbp + 0x6b], xmm6
je 0x18001898f
lea rcx, [rbp + 0x67]
call fcn.180018320
movss xmm6, dword [rbp + 0x6b]
movss xmm8, dword [rbp + 0x67]
comiss xmm8, xmm11
jae 0x18001899b
movaps xmm8, xmm11
jmp 0x1800189ae
comiss xmm8, dword [0x180266138]
jbe 0x1800189ae
movss xmm8, dword [0x180266138]
comiss xmm6, dword [0x1802662f8]
movaps xmm11, xmmword [rsp + 0x70]
jae 0x1800189c4
addss xmm6, xmm9
jmp 0x1800189d2
comiss xmm6, xmm9
jbe 0x1800189d2
addss xmm6, dword [0x1802662f8]
mov rax, qword [0x180285a70]
add rax, 0x40cbe0
call rax
movaps xmm9, xmmword [rsp + 0x90]
add rax, 0x4c8
cmp rax, 0x40000
jbe 0x180018a24
lea rcx, [rax + 8]
cmp rcx, rbx
jae 0x180018a24
mov rcx, qword [rax]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x180018a24
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x180018a24
movss dword [rcx], xmm8
movss dword [rcx + 4], xmm6
movaps xmm6, xmmword [rsp + 0xc0]
mov rbx, qword [rsp + 0xe8]
movaps xmm8, xmmword [rsp + 0xa0]
mov rdi, qword [rsp + 0xf8]
add rsp, 0xd0
pop rbp
ret