Function at 0x1800bcb10
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 [0x180150028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx + 0x78]
cmp byte [rax], 0
jne 0x1800bcb70
mov qword [rsp + 0x20], 0xfa
jmp 0x1800bd18d
cmp byte [0x180153343], 0
je 0x1800bcde2
mov rax, qword [rdx]
movss xmm9, dword [0x18013780c]
comiss xmm9, dword [rax + 0x5c]
ja 0x1800bd197
cmp byte [0x180153342], 0
je 0x1800bcbbf
movss xmm1, dword [rax + 0x60]
addss xmm1, dword [rax + 0x58]
andps xmm1, xmmword [0x180137ca0]
movss xmm0, dword [0x1801375c8]
comiss xmm0, xmm1
ja 0x1800bd197
cmp byte [0x180153341], 0
je 0x1800bcbdc
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800bd197
mov rax, qword [rsi]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
jle 0x1800bcdc9
cmp byte [0x18015334c], 0
jne 0x1800bd184
nop word [rax + rax]
lea rcx, [0x180153390]
call fcn.180066000
mov r8d, eax
mov eax, 0x446f8657
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
cmp ecx, 0x288df0c
jae 0x1800bcc00
mov eax, 0x446f8657
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub r8d, eax
cmp dword [0x18015039c], r8d
jl 0x1800bcdbd
cmp byte [0x180153340], 0
je 0x1800bccd4
mov rbx, qword [rsi]
movss xmm0, dword [rbx + 0x48]
subss xmm0, dword [0x180137778]
movss xmm6, dword [0x1801377b0]
addss xmm0, xmm6
movss xmm8, dword [0x1801377c4]
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 0x1800bcc99
addss xmm7, xmm8
subss xmm7, xmm6
mulss xmm7, dword [0x1801376e8]
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 0x1800bcdbd
mov byte [0x18015334c], 1
xor ebx, ebx
mov qword [0x180150288], 0x20
mov dword [0x180150290], ebx
mov qword [0x180150298], rbx
lea r8d, [rbx + 0x28]
lea rdx, [0x180150280]
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_SendInput]
nop dword [rax]
lea rcx, [0x180153390]
call fcn.180066000
mov r9d, eax
mov eax, 0x8421085
mul r9d
mov ecx, r9d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 4
cmp ecx, 0x8421084
jae 0x1800bcd10
mov eax, 0x8421085
mul r9d
mov eax, r9d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
imul eax, eax, 0x1f
sub r9d, eax
add r9d, 0x80000028
mov r10d, 0x80000000
lea eax, [r9 + r10]
lea ecx, [r9 - 0x80000000]
cmp r9d, r10d
cmovae ecx, eax
movsxd rax, ecx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.18008ef60
mov dword [0x180150288], 0x20
mov qword [0x18015028c], 2
mov qword [0x180150298], rbx
mov r8d, 0x28
lea rdx, [0x180150280]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
jmp 0x1800bd184
mov byte [0x18015334c], 1
jmp 0x1800bd197
movzx eax, byte [0x18015334c]
xor ebx, ebx
test ecx, ecx
cmove eax, ebx
mov byte [0x18015334c], al
jmp 0x1800bd184
movss xmm11, dword [0x180137ca0]
cmp byte [0x180153342], 0
je 0x1800bce16
mov rax, qword [rdx]
movss xmm1, dword [rax + 0x60]
addss xmm1, dword [rax + 0x58]
andps xmm1, xmm11
movss xmm0, dword [0x1801375c8]
comiss xmm0, xmm1
ja 0x1800bd197
cmp byte [0x180153341], 0
je 0x1800bce33
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800bd197
mov rax, qword [rsi]
mov ecx, dword [rax + 0x3c]
test ecx, ecx
jle 0x1800bd175
cmp byte [0x18015334c], 0
jne 0x1800bd184
mov eax, dword [0x180153348]
cmp eax, ecx
cmovl eax, ecx
mov dword [0x180153348], eax
sub eax, dword [0x18015333c]
cmp ecx, eax
jne 0x1800bd184
nop dword [rax]
lea rcx, [0x180153390]
call fcn.180066000
mov r8d, eax
mov eax, 0x446f8657
mul r8d
mov ecx, r8d
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 6
cmp ecx, 0x288df0c
jae 0x1800bce70
mov eax, 0x446f8657
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub r8d, eax
cmp r8d, dword [0x180150398]
jle 0x1800bceca
mov byte [0x18015334c], 1
jmp 0x1800bd184
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x20]
mov rcx, qword [rbx + 0x180]
call fcn.18009ae10
nop
mov rdi, qword [rsp + 0x20]
mov r8, qword [rdi]
mov edx, 0x11
mov rcx, qword [rdi + 0x10]
call fcn.18009d4a0
mov r8, rax
xorps xmm8, xmm8
test rax, rax
jne 0x1800bcf0c
xorps xmm10, xmm10
jmp 0x1800bcf29
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.18009d4a0
mov r8, rax
test rax, rax
jne 0x1800bcf48
xorps xmm9, xmm9
jmp 0x1800bcf65
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov r9, qword [rax + 0x338]
mov rdx, qword [rdi + 0x10]
call r9
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
cmp byte [0x180153340], 0
je 0x1800bd042
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x48]
subss xmm0, dword [0x180137778]
movss xmm12, dword [0x1801377b0]
addss xmm0, xmm12
movss xmm6, dword [0x1801377c4]
movaps xmm1, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movaps xmm7, xmm0
comiss xmm8, xmm7
jbe 0x1800bcfad
addss xmm7, xmm6
subss xmm7, xmm12
mulss xmm7, dword [0x1801376e8]
divss xmm7, xmm12
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movaps xmm6, xmm0
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sinf
mulss xmm0, xmm9
mulss xmm6, xmm10
addss xmm0, xmm6
movss xmm1, dword [0x18013780c]
comiss xmm1, xmm0
jbe 0x1800bd042
mov byte [0x18015334c], 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800bd197
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bd197
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 0x1800bd197
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1800bd197
movss xmm6, dword [0x180150394]
movss xmm12, dword [0x180137788]
divss xmm6, xmm12
movaps xmm7, xmm6
mulss xmm7, xmm10
mulss xmm6, xmm9
andps xmm10, xmm11
comiss xmm10, xmm8
jbe 0x1800bd09d
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x11
mov rcx, qword [rdi + 0x10]
call fcn.18009d4a0
mov r8, qword [rbx]
mov r9, qword [r8 + 0x380]
cvtps2pd xmm3, xmm7
mov r8, rax
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
call r9
andps xmm9, xmm11
comiss xmm9, xmm8
jbe 0x1800bd0d5
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x13
mov rcx, qword [rdi + 0x10]
call fcn.18009d4a0
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 [0x180137784]
movss xmm6, dword [0x180150390]
comiss xmm0, xmm6
jb 0x1800bd12f
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x5c]
comiss xmm0, xmm8
jbe 0x1800bd12f
divss xmm6, xmm12
mulss xmm6, xmm0
mov rbx, qword [rdi]
mov r8, rbx
mov edx, 0x12
mov rcx, qword [rdi + 0x10]
call fcn.18009d4a0
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 [0x18015334c], 1
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1800bd184
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800bd184
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 0x1800bd184
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1800bd184
mov byte [0x18015334c], 0
xor ebx, ebx
mov dword [0x180153348], ebx
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x20]
call fcn.18008ef60
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800d26f0
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