Function at 0x180015510
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rdi, qword [0x1800a9bc8]
call fcn.18000ebb0
test rax, rax
je 0x180015934
test rdi, rdi
je 0x180015934
call fcn.18000ebb0
mov rcx, rax
call fcn.18000e8d0
test rax, rax
je 0x180015934
mov rcx, rdi
call fcn.18000cd30
test al, al
jne 0x180015934
cmp byte [0x1800a9cb4], al
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rsi
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm8
movaps xmmword [rsp + 0x90], xmm10
movaps xmmword [rsp + 0x80], xmm11
je 0x180015603
mov ecx, dword [0x180098ab4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180015603
call fcn.18000ebb0
mov ebx, 0x2f
lea rdx, [rbp - 0x29]
mov r8d, ebx
mov rcx, rax
call fcn.18000e520
movss xmm1, dword [rax + 4]
movss xmm2, dword [rax + 8]
movss xmm0, dword [rax]
lea rax, [rbp - 0x51]
addss xmm1, dword [0x1800889e8]
movss dword [rbp - 0x51], xmm0
movss dword [rbp - 0x49], xmm2
movss dword [rbp - 0x4d], xmm1
jmp 0x18001561c
call fcn.18000ebb0
mov ebx, 0x2f
lea rdx, [rbp - 0x39]
mov r8d, ebx
mov rcx, rax
call fcn.18000e520
cmp byte [0x1800a9c16], 0
movsd xmm6, qword [rax]
mov esi, dword [rax + 8]
movsd qword [rbp - 0x19], xmm6
je 0x18001563c
lea rdx, [rbp - 0x29]
mov ebx, 0x12
jmp 0x180015640
lea rdx, [rbp - 0x39]
mov r8d, ebx
mov rcx, rdi
call fcn.18000e520
movsd xmm0, qword [rax]
mov eax, dword [rax + 8]
movsd qword [rbp - 0x51], xmm0
mov dword [rbp - 0x49], eax
call fcn.18000ebb0
mov rcx, rax
call fcn.18000e8d0
mov rcx, rax
call fcn.18000db00
mov ecx, eax
call fcn.180014f80
movaps xmm7, xmm0
call fcn.180014fd0
mov ecx, dword [0x1800a95a4]
movaps xmm8, xmm0
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1800aa204], eax
jg 0x180015945
mov rax, qword [0x1800aa570]
lea r8, [rbp - 0x39]
movaps xmm3, xmm8
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp - 0x51]
movsd qword [rbp - 0x29], xmm6
lea rcx, [rbp - 0x29]
mov dword [rbp - 0x21], esi
movsd xmm0, qword [rax + rdi]
mov eax, dword [rax + rdi + 8]
movsd qword [rbp - 0x39], xmm0
mov dword [rbp - 0x31], eax
call fcn.180014bf0
movss xmm0, dword [rbp - 0x15]
subss xmm0, dword [rbp - 0x4d]
movss xmm7, dword [rbp - 0x19]
subss xmm7, dword [rbp - 0x51]
movd xmm6, esi
subss xmm6, dword [rbp - 0x49]
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 [0x180089460]
movaps xmm10, xmm0
mulss xmm10, dword [0x180088d08]
movaps xmm1, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm6, xmm0
mulss xmm6, dword [0x180088eb4]
call fcn.18000ebb0
mov rsi, qword [rsp + 0x100]
xor edi, edi
movabs rbx, 0x7fffffff0000
lea rcx, [rax + 0x4f0]
cmp rcx, 0x40000
jbe 0x1800157a3
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x1800157a3
mov rcx, qword [rcx]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x1800157a3
lea rax, [rcx + 8]
cmp rax, rbx
jb 0x1800157ab
mov qword [rbp - 0x59], rdi
lea rcx, [rbp - 0x59]
subss xmm10, dword [rcx]
movss xmm11, dword [0x180088eb8]
subss xmm6, dword [rcx + 4]
comiss xmm10, xmm11
jae 0x1800157ca
movaps xmm10, xmm11
jmp 0x1800157d3
minss xmm10, dword [0x180088d28]
comiss xmm6, dword [0x180088ed0]
movaps xmmword [rsp + 0xa0], xmm9
movss xmm9, dword [0x180088dac]
jae 0x1800157f5
addss xmm6, xmm9
jmp 0x180015800
comiss xmm6, xmm9
jbe 0x180015800
subss xmm6, xmm9
call fcn.18000ebb0
lea rcx, [rax + 0x4f0]
cmp rcx, 0x40000
jbe 0x180015837
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x180015837
mov rcx, qword [rcx]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x180015837
lea rax, [rcx + 8]
cmp rax, rbx
jb 0x18001583f
mov qword [rbp + 0x67], rdi
lea rcx, [rbp + 0x67]
cmp byte [0x1800a9c11], dil
movss xmm8, dword [rcx]
movss xmm7, dword [rcx + 4]
addss xmm8, xmm10
movaps xmm10, xmmword [rsp + 0x90]
addss xmm7, xmm6
movaps xmm6, xmmword [rsp + 0xd0]
movss dword [rbp + 0x67], xmm8
movss dword [rbp + 0x6b], xmm7
je 0x18001588b
lea rcx, [rbp + 0x67]
call fcn.180015240
movss xmm7, dword [rbp + 0x6b]
movss xmm8, dword [rbp + 0x67]
comiss xmm8, xmm11
jae 0x180015897
movaps xmm8, xmm11
jmp 0x1800158aa
comiss xmm8, dword [0x180088d28]
jbe 0x1800158aa
movss xmm8, dword [0x180088d28]
comiss xmm7, dword [0x180088ed0]
movaps xmm11, xmmword [rsp + 0x80]
jae 0x1800158c3
addss xmm7, xmm9
jmp 0x1800158d1
comiss xmm7, xmm9
jbe 0x1800158d1
addss xmm7, dword [0x180088ed0]
call fcn.18000ebb0
movaps xmm9, xmmword [rsp + 0xa0]
lea rcx, [rax + 0x4f0]
cmp rcx, 0x40000
jbe 0x18001591b
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x18001591b
mov rcx, qword [rcx]
add rcx, 0x3c
cmp rcx, 0x40000
jbe 0x18001591b
lea rax, [rcx + 8]
cmp rax, rbx
jae 0x18001591b
movss dword [rcx], xmm8
movss dword [rcx + 4], xmm7
movaps xmm7, xmmword [rsp + 0xc0]
mov rbx, qword [rsp + 0xf8]
movaps xmm8, xmmword [rsp + 0xb0]
mov rdi, qword [rsp + 0x108]
add rsp, 0xe0
pop rbp
ret
lea rcx, [0x1800aa204]
call fcn.18007e230
cmp dword [0x1800aa204], 0xffffffff
jne 0x1800156a9
mov ecx, 0xcf100582
call fcn.180007230
lea rcx, [0x1800aa204]
mov qword [0x1800aa570], rax
call fcn.18007e1c4
jmp 0x1800156a9