Function at 0x1800bbfc0
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 [0x18014f040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx + 0x78]
cmp byte [rax], 0
jne 0x1800bc020
mov qword [rsp + 0x20], 0xfa
jmp 0x1800bc5d7
cmp byte [0x180152363], 0
je 0x1800bc23c
mov rax, qword [rdx]
movss xmm9, dword [0x180136a54]
comiss xmm9, dword [rax + 0x5c]
ja 0x1800bc5e1
cmp byte [0x180152362], 0
je 0x1800bc06f
movss xmm1, dword [rax + 0x60]
addss xmm1, dword [rax + 0x58]
andps xmm1, xmmword [0x180136c50]
movss xmm0, dword [0x180136818]
comiss xmm0, xmm1
ja 0x1800bc5e1
cmp byte [0x180152361], 0
je 0x1800bc08c
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800bc5e1
mov rax, qword [rsi]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
jle 0x1800bc231
cmp byte [0x18015236c], 0
jne 0x1800bc5ce
lea rcx, [0x1801523b0]
call fcn.180065ac0
mov ecx, eax
imul rax, rcx, 0x65
cmp eax, 0x43
ja 0x1800bc0d7
nop
lea rcx, [0x1801523b0]
call fcn.180065ac0
mov ecx, eax
imul rax, rcx, 0x65
cmp eax, 0x44
jb 0x1800bc0c0
shr rax, 0x20
cmp dword [0x18014f3fc], eax
jl 0x1800bc225
cmp byte [0x180152360], 0
je 0x1800bc169
mov rbx, qword [rsi]
movss xmm0, dword [rbx + 0x48]
subss xmm0, dword [0x1801369c8]
movss xmm6, dword [0x1801369f8]
addss xmm0, xmm6
movss xmm8, dword [0x180136a0c]
movaps xmm1, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movaps xmm7, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm7
jbe 0x1800bc12e
addss xmm7, xmm8
subss xmm7, xmm6
mulss xmm7, dword [0x180136938]
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 xmm9, xmm6
ja 0x1800bc225
mov byte [0x18015236c], 1
xor ebx, ebx
mov qword [0x18014f2e8], 0x20
mov dword [0x18014f2f0], ebx
mov qword [0x18014f2f8], rbx
lea r8d, [rbx + 0x28]
lea rdx, [0x18014f2e0]
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_SendInput]
lea rcx, [0x1801523b0]
call fcn.180065ac0
mov ecx, eax
imul rax, rcx, 0x1f
cmp eax, 3
ja 0x1800bc1d7
nop word [rax + rax]
lea rcx, [0x1801523b0]
call fcn.180065ac0
mov ecx, eax
imul rax, rcx, 0x1f
cmp eax, 4
jb 0x1800bc1c0
shr rax, 0x20
lea ecx, [rax + 0x28]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
call fcn.18008e7b0
mov dword [0x18014f2e8], 0x20
mov qword [0x18014f2ec], 2
mov qword [0x18014f2f8], rbx
mov r8d, 0x28
lea rdx, [0x18014f2e0]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x1800bc5ce
mov byte [0x18015236c], 1
jmp 0x1800bc5e1
jne 0x1800bc5ce
jmp 0x1800bc5c7
movss xmm11, dword [0x180136c50]
cmp byte [0x180152362], 0
je 0x1800bc270
mov rax, qword [rdx]
movss xmm1, dword [rax + 0x60]
addss xmm1, dword [rax + 0x58]
andps xmm1, xmm11
movss xmm0, dword [0x180136818]
comiss xmm0, xmm1
ja 0x1800bc5e1
cmp byte [0x180152361], 0
je 0x1800bc28d
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800bc5e1
mov rax, qword [rsi]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
jle 0x1800bc5bf
cmp byte [0x18015236c], 0
jne 0x1800bc5ce
mov eax, dword [0x180152368]
cmp eax, ecx
jge 0x1800bc2ba
mov eax, ecx
mov dword [0x180152368], ecx
sub eax, dword [0x18015235c]
cmp ecx, eax
jne 0x1800bc5ce
lea rcx, [0x1801523b0]
call fcn.180065ac0
mov ecx, eax
imul rax, rcx, 0x65
cmp eax, 0x43
ja 0x1800bc2f7
nop
lea rcx, [0x1801523b0]
call fcn.180065ac0
mov ecx, eax
imul rax, rcx, 0x65
cmp eax, 0x44
jb 0x1800bc2e0
shr rax, 0x20
cmp eax, dword [0x18014f3f8]
jle 0x1800bc30f
mov byte [0x18015236c], 1
jmp 0x1800bc5ce
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, qword [rbx + 0x180]
call fcn.18009a1e0
nop
mov rdi, qword [rsp + 0x20]
mov r8, qword [rdi]
mov edx, 0x11
mov rcx, qword [rdi + 0x10]
call fcn.18009c8b0
mov r8, rax
xorps xmm7, xmm7
test rax, rax
jne 0x1800bc350
xorps xmm10, xmm10
jmp 0x1800bc36d
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.18009c8b0
mov r8, rax
test rax, rax
jne 0x1800bc38c
xorps xmm8, xmm8
jmp 0x1800bc3a9
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 [0x180152360], 0
je 0x1800bc48b
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x48]
subss xmm0, dword [0x1801369c8]
movss xmm12, dword [0x1801369f8]
addss xmm0, xmm12
movss xmm6, dword [0x180136a0c]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movaps xmm9, xmm0
comiss xmm7, xmm9
jbe 0x1800bc3f3
addss xmm9, xmm6
subss xmm9, xmm12
mulss xmm9, dword [0x180136938]
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 xmm0, xmm8
mulss xmm6, xmm10
addss xmm0, xmm6
movss xmm1, dword [0x180136a54]
comiss xmm1, xmm0
jbe 0x1800bc48b
mov byte [0x18015236c], 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800bc5e1
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bc5e1
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 0x1800bc5e1
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1800bc5e1
movss xmm6, dword [0x18014f3f4]
movss xmm12, dword [0x1801369d8]
divss xmm6, xmm12
movaps xmm9, xmm6
mulss xmm9, xmm10
mulss xmm6, xmm8
andps xmm10, xmm11
comiss xmm10, xmm7
jbe 0x1800bc4e8
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x11
mov rcx, qword [rdi + 0x10]
call fcn.18009c8b0
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 0x1800bc520
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x13
mov rcx, qword [rdi + 0x10]
call fcn.18009c8b0
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 [0x1801369d4]
movss xmm6, dword [0x18014f3f0]
comiss xmm0, xmm6
jb 0x1800bc579
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x5c]
comiss xmm0, xmm7
jbe 0x1800bc579
divss xmm6, xmm12
mulss xmm6, xmm0
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x12
mov rcx, qword [rdi + 0x10]
call fcn.18009c8b0
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 [0x18015236c], 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800bc5ce
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bc5ce
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 0x1800bc5ce
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1800bc5ce
xor ebx, ebx
mov dword [0x180152368], ebx
mov byte [0x18015236c], 0
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x20]
call fcn.18008e7b0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800d1810
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