Function at 0x1800a6de0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
mov rax, qword [0x18014a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx + 0x78]
cmp byte [rax], 0
jne 0x1800a6e40
mov qword [rsp + 0x20], 0xfa
jmp 0x1800a737f
cmp byte [0x18014d683], 0
je 0x1800a700b
mov rax, qword [rdx]
movss xmm8, dword [0x180130a58]
comiss xmm8, dword [rax + 0x5c]
ja 0x1800a7389
cmp byte [0x18014d682], 0
je 0x1800a6e8f
movss xmm1, dword [rax + 0x60]
addss xmm1, dword [rax + 0x58]
andps xmm1, xmmword [0x180130eb0]
movss xmm0, dword [0x180130824]
comiss xmm0, xmm1
ja 0x1800a7389
cmp byte [0x18014d681], 0
je 0x1800a6eac
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800a7389
mov rax, qword [rsi]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
jle 0x1800a7000
cmp byte [0x18014d68c], 0
jne 0x1800a7376
mov edx, 0x64
xor ecx, ecx
call fcn.1800631c0
cmp dword [0x18014a41c], eax
jl 0x1800a6ff4
cmp byte [0x18014d680], 0
je 0x1800a6f61
mov rbx, qword [rsi]
movss xmm0, dword [rbx + 0x48]
subss xmm0, dword [0x1801309d0]
movss xmm6, dword [0x180130a00]
addss xmm0, xmm6
movss xmm9, dword [0x180130a14]
movaps xmm1, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movaps xmm7, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm7
jbe 0x1800a6f26
addss xmm7, xmm9
subss xmm7, xmm6
mulss xmm7, dword [0x180130940]
divss xmm7, xmm6
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
movaps xmm6, xmm0
mulss xmm6, dword [rbx + 0x60]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
mulss xmm0, dword [rbx + 0x58]
addss xmm6, xmm0
comiss xmm8, xmm6
ja 0x1800a6ff4
mov byte [0x18014d68c], 1
xor ebx, ebx
mov qword [0x18014a2e8], 0x20
mov dword [0x18014a2f0], ebx
mov qword [0x18014a2f8], rbx
mov r8d, 0x28
lea rdx, [0x18014a2e0]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov edx, 0x46
mov ecx, 0x28
call fcn.1800631c0
movsxd rcx, eax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
call fcn.1800653f0
mov dword [0x18014a2e8], 0x20
mov qword [0x18014a2ec], 2
mov qword [0x18014a2f8], rbx
mov r8d, 0x28
lea rdx, [0x18014a2e0]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x1800a7376
mov byte [0x18014d68c], 1
jmp 0x1800a7389
jne 0x1800a7376
jmp 0x1800a736f
movss xmm11, dword [0x180130eb0]
cmp byte [0x18014d682], 0
je 0x1800a703f
mov rax, qword [rdx]
movss xmm1, dword [rax + 0x60]
addss xmm1, dword [rax + 0x58]
andps xmm1, xmm11
movss xmm0, dword [0x180130824]
comiss xmm0, xmm1
ja 0x1800a7389
cmp byte [0x18014d681], 0
je 0x1800a705c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800a7389
mov rax, qword [rsi]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
jle 0x1800a7367
cmp byte [0x18014d68c], 0
jne 0x1800a7376
mov eax, dword [0x18014d688]
cmp eax, ecx
jge 0x1800a7089
mov eax, ecx
mov dword [0x18014d688], ecx
sub eax, dword [0x18014d67c]
cmp ecx, eax
jne 0x1800a7376
mov edx, 0x64
xor ecx, ecx
call fcn.1800631c0
cmp eax, dword [0x18014a418]
jle 0x1800a70b7
mov byte [0x18014d68c], 1
jmp 0x1800a7376
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, qword [rbx + 0x180]
call fcn.180081d70
nop
mov rdi, qword [rsp + 0x20]
mov r8, qword [rdi]
mov edx, 0x11
mov rcx, qword [rdi + 0x10]
call fcn.180084570
mov r8, rax
xorps xmm7, xmm7
test rax, rax
jne 0x1800a70f8
xorps xmm10, xmm10
jmp 0x1800a7115
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x338]
mov rdx, qword [rdi + 0x10]
call r9
xorps xmm10, xmm10
cvtsd2ss xmm10, xmm0
mov r8, qword [rdi]
mov edx, 0x13
mov rcx, qword [rdi + 0x10]
call fcn.180084570
mov r8, rax
test rax, rax
jne 0x1800a7134
xorps xmm8, xmm8
jmp 0x1800a7151
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x338]
mov rdx, qword [rdi + 0x10]
call r9
xorps xmm8, xmm8
cvtsd2ss xmm8, xmm0
cmp byte [0x18014d680], 0
je 0x1800a7233
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x48]
subss xmm0, dword [0x1801309d0]
movss xmm12, dword [0x180130a00]
addss xmm0, xmm12
movss xmm6, dword [0x180130a14]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movaps xmm9, xmm0
comiss xmm7, xmm9
jbe 0x1800a719b
addss xmm9, xmm6
subss xmm9, xmm12
mulss xmm9, dword [0x180130940]
divss xmm9, xmm12
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm6, xmm10
mulss xmm0, xmm8
addss xmm6, xmm0
movss xmm1, dword [0x180130a58]
comiss xmm1, xmm6
jbe 0x1800a7233
mov byte [0x18014d68c], 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800a7389
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800a7389
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1800a7389
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1800a7389
movss xmm6, dword [0x18014a414]
movss xmm12, dword [0x1801309e0]
divss xmm6, xmm12
movaps xmm9, xmm6
mulss xmm9, xmm10
mulss xmm6, xmm8
andps xmm10, xmm11
comiss xmm10, xmm7
jbe 0x1800a7290
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x11
mov rcx, qword [rdi + 0x10]
call fcn.180084570
mov r8, qword [rbx]
mov r9, qword [r8 + 0x380]
cvtps2pd xmm3, xmm9
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
andps xmm8, xmm11
comiss xmm8, xmm7
jbe 0x1800a72c8
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x13
mov rcx, qword [rdi + 0x10]
call fcn.180084570
mov r8, qword [rbx]
mov r9, qword [r8 + 0x380]
cvtps2pd xmm3, xmm6
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
movss xmm0, dword [0x1801309dc]
movss xmm6, dword [0x18014a410]
comiss xmm0, xmm6
jb 0x1800a7321
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x5c]
comiss xmm0, xmm7
jbe 0x1800a7321
divss xmm6, xmm12
mulss xmm6, xmm0
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x12
mov rcx, qword [rdi + 0x10]
call fcn.180084570
mov r8, qword [rbx]
mov r9, qword [r8 + 0x380]
cvtps2pd xmm3, xmm6
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
mov byte [0x18014d68c], 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800a7376
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800a7376
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1800a7376
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1800a7376
xor ebx, ebx
mov dword [0x18014d688], ebx
mov byte [0x18014d68c], 0
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x20]
call fcn.1800653f0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800cc250
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop rdi
ret