Function at 0x1800bb810
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 [0x180150040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx + 0x78]
cmp byte [rax], 0
jne 0x1800bb870
mov qword [rsp + 0x20], 0xfa
jmp 0x1800bbdaf
cmp byte [0x180153383], 0
je 0x1800bba3b
mov rax, qword [rdx]
movss xmm8, dword [0x180136ac4]
comiss xmm8, dword [rax + 0x5c]
ja 0x1800bbdb9
cmp byte [0x180153382], 0
je 0x1800bb8bf
movss xmm1, dword [rax + 0x60]
addss xmm1, dword [rax + 0x58]
andps xmm1, xmmword [0x180136f20]
movss xmm0, dword [0x180136888]
comiss xmm0, xmm1
ja 0x1800bbdb9
cmp byte [0x180153381], 0
je 0x1800bb8dc
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800bbdb9
mov rax, qword [rsi]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
jle 0x1800bba30
cmp byte [0x18015338c], 0
jne 0x1800bbda6
mov edx, 0x64
xor ecx, ecx
call fcn.1800631e0
cmp dword [0x180150424], eax
jl 0x1800bba24
cmp byte [0x180153380], 0
je 0x1800bb991
mov rbx, qword [rsi]
movss xmm0, dword [rbx + 0x48]
subss xmm0, dword [0x180136a38]
movss xmm6, dword [0x180136a68]
addss xmm0, xmm6
movss xmm9, dword [0x180136a7c]
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 0x1800bb956
addss xmm7, xmm9
subss xmm7, xmm6
mulss xmm7, dword [0x1801369a8]
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 0x1800bba24
mov byte [0x18015338c], 1
xor ebx, ebx
mov qword [0x180150310], 0x20
mov dword [0x180150318], ebx
mov qword [0x180150320], rbx
mov r8d, 0x28
lea rdx, [0x180150308]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov edx, 0x46
mov ecx, 0x28
call fcn.1800631e0
movsxd rcx, eax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
call fcn.18008de20
mov dword [0x180150310], 0x20
mov qword [0x180150314], 2
mov qword [0x180150320], rbx
mov r8d, 0x28
lea rdx, [0x180150308]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x1800bbda6
mov byte [0x18015338c], 1
jmp 0x1800bbdb9
jne 0x1800bbda6
jmp 0x1800bbd9f
movss xmm11, dword [0x180136f20]
cmp byte [0x180153382], 0
je 0x1800bba6f
mov rax, qword [rdx]
movss xmm1, dword [rax + 0x60]
addss xmm1, dword [rax + 0x58]
andps xmm1, xmm11
movss xmm0, dword [0x180136888]
comiss xmm0, xmm1
ja 0x1800bbdb9
cmp byte [0x180153381], 0
je 0x1800bba8c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800bbdb9
mov rax, qword [rsi]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
jle 0x1800bbd97
cmp byte [0x18015338c], 0
jne 0x1800bbda6
mov eax, dword [0x180153388]
cmp eax, ecx
jge 0x1800bbab9
mov eax, ecx
mov dword [0x180153388], ecx
sub eax, dword [0x18015337c]
cmp ecx, eax
jne 0x1800bbda6
mov edx, 0x64
xor ecx, ecx
call fcn.1800631e0
cmp eax, dword [0x180150420]
jle 0x1800bbae7
mov byte [0x18015338c], 1
jmp 0x1800bbda6
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, qword [rbx + 0x180]
call fcn.180099970
nop
mov rdi, qword [rsp + 0x20]
mov r8, qword [rdi]
mov edx, 0x11
mov rcx, qword [rdi + 0x10]
call fcn.18009c110
mov r8, rax
xorps xmm7, xmm7
test rax, rax
jne 0x1800bbb28
xorps xmm10, xmm10
jmp 0x1800bbb45
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.18009c110
mov r8, rax
test rax, rax
jne 0x1800bbb64
xorps xmm8, xmm8
jmp 0x1800bbb81
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 [0x180153380], 0
je 0x1800bbc63
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x48]
subss xmm0, dword [0x180136a38]
movss xmm12, dword [0x180136a68]
addss xmm0, xmm12
movss xmm6, dword [0x180136a7c]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movaps xmm9, xmm0
comiss xmm7, xmm9
jbe 0x1800bbbcb
addss xmm9, xmm6
subss xmm9, xmm12
mulss xmm9, dword [0x1801369a8]
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 [0x180136ac4]
comiss xmm1, xmm6
jbe 0x1800bbc63
mov byte [0x18015338c], 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800bbdb9
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bbdb9
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 0x1800bbdb9
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1800bbdb9
movss xmm6, dword [0x18015041c]
movss xmm12, dword [0x180136a48]
divss xmm6, xmm12
movaps xmm9, xmm6
mulss xmm9, xmm10
mulss xmm6, xmm8
andps xmm10, xmm11
comiss xmm10, xmm7
jbe 0x1800bbcc0
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x11
mov rcx, qword [rdi + 0x10]
call fcn.18009c110
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 0x1800bbcf8
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x13
mov rcx, qword [rdi + 0x10]
call fcn.18009c110
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 [0x180136a44]
movss xmm6, dword [0x180150418]
comiss xmm0, xmm6
jb 0x1800bbd51
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x5c]
comiss xmm0, xmm7
jbe 0x1800bbd51
divss xmm6, xmm12
mulss xmm6, xmm0
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x12
mov rcx, qword [rdi + 0x10]
call fcn.18009c110
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 [0x18015338c], 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800bbda6
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bbda6
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 0x1800bbda6
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1800bbda6
xor ebx, ebx
mov dword [0x180153388], ebx
mov byte [0x18015338c], 0
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x20]
call fcn.18008de20
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800d11c0
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