Function at 0x1800767a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x100
mov r8d, dword [0x180119d7c]
mov rsi, rdx
movaps xmmword [rax - 0x78], xmm11
mov rdi, rcx
movaps xmmword [rax - 0x98], xmm14
xorps xmm14, xmm14
mov qword [rax + 0x18], rbp
mov rax, qword gs:[0x58]
mov ebp, 4
mov rbx, qword [rax + r8*8]
mov eax, dword [rbx + rbp]
cmp dword [0x18011cce8], eax
jle 0x180076822
lea rcx, [0x18011cce8]
call fcn.1800bc008
cmp dword [0x18011cce8], 0xffffffff
jne 0x180076822
lea rcx, [0x18011cce8]
mov qword [0x18011ccf0], 0
mov dword [0x18011ccf8], 0
call fcn.1800bbf9c
mov eax, dword [rbx + rbp]
cmp dword [0x18011ccfc], eax
jle 0x18007685a
lea rcx, [0x18011ccfc]
call fcn.1800bc008
cmp dword [0x18011ccfc], 0xffffffff
jne 0x18007685a
lea rcx, [0x1800c57a0]
call fcn.1800bc624
lea rcx, [0x18011ccfc]
call fcn.1800bbf9c
mov eax, dword [rbx + rbp]
cmp dword [0x18011cd00], eax
mov rbp, qword [rsp + 0x130]
jle 0x1800768a3
lea rcx, [0x18011cd00]
call fcn.1800bc008
cmp dword [0x18011cd00], 0xffffffff
jne 0x1800768a3
lea rcx, [0x18011cd00]
mov qword [0x18011cd08], 0
mov dword [0x18011cd10], 0
call fcn.1800bbf9c
mov rax, qword [rdi + 0x78]
movss xmm11, dword [0x180117320]
mulss xmm11, dword [0x1800ffd5c]
cmp byte [rax], 0
je 0x180076cce
movzx eax, byte [0x18011a0d5]
test al, al
jne 0x180076cce
cmp byte [0x18011a1db], al
jne 0x180076901
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x180076901
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x64
call fcn.180065060
jmp 0x180076ba8
cmp byte [0x18011a1da], 0
je 0x18007697e
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18007697e
mov rcx, qword [rdi + 0x180]
lea rdx, [rsp + 0x48]
call fcn.180072db0
cmp qword [rax + 0x18], 0xf
mov r8, qword [rax + 0x10]
jbe 0x180076939
mov rax, qword [rax]
cmp r8, 5
jne 0x180076974
lea rdx, str.BLOCK
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180076974
lea rcx, [rsp + 0x48]
call fcn.180066eb0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x32
call fcn.180065060
jmp 0x180076ba8
lea rcx, [rsp + 0x48]
call fcn.180066eb0
cmp byte [0x18011a1d8], 0
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm7
movss xmm7, dword [0x1800ffe20]
movaps xmmword [rsp + 0xd0], xmm8
movss xmm8, dword [0x1800ffe34]
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xb0], xmm10
movaps xmmword [rsp + 0x90], xmm12
movss xmm12, dword [0x180100300]
movaps xmmword [rsp + 0x70], xmm15
je 0x180076adb
mov rcx, qword [0x18011a1c8]
test rcx, rcx
je 0x180076adb
lea rdx, [rsp + 0x38]
call fcn.18006a960
movsd xmm0, qword [rax]
movsd qword [0x18011cd08], xmm0
mov ecx, dword [rax + 8]
movss xmm1, dword [0x18011cd08]
movss xmm9, dword [0x18011cd0c]
mov dword [0x18011cd10], ecx
movaps xmm6, xmm9
mov rbx, qword [rsi]
movd xmm0, ecx
subss xmm1, dword [rbx + 0x24]
subss xmm0, dword [rbx + 0x2c]
subss xmm6, dword [rbx + 0x28]
movaps xmm15, xmm1
movaps xmm10, xmm0
mulss xmm15, xmm1
mulss xmm10, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movss xmm2, dword [rbx + 0x48]
movaps xmm1, xmm8
mulss xmm0, xmm7
divss xmm0, dword [0x1800ffd60]
subss xmm0, dword [0x1800ffdf0]
subss xmm2, xmm0
xorps xmm2, xmm12
addss xmm2, xmm7
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
comiss xmm14, xmm0
jbe 0x180076a8c
addss xmm0, xmm8
movd xmm1, dword [0x180117328]
subss xmm0, xmm7
cvtdq2ps xmm1, xmm1
andps xmm0, xmmword [0x1801002d0]
comiss xmm1, xmm0
jb 0x180076adb
mulss xmm6, xmm6
xorps xmm0, xmm0
addss xmm6, xmm15
addss xmm6, xmm10
ucomiss xmm0, xmm6
ja 0x180076ac6
xorps xmm0, xmm0
sqrtss xmm0, xmm6
jmp 0x180076ace
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movss xmm1, dword [0x180117324]
comiss xmm1, xmm0
jae 0x180076af7
lea rcx, [rdi - 8]
mov r9, rsi
lea r8, [0x18011cd08]
call fcn.180076cf0
movss xmm9, dword [0x18011cd0c]
cmp qword [0x18011a1c8], 0
movaps xmm15, xmmword [rsp + 0x70]
je 0x180076b61
cmp dword [0x18011a19c], 3
jne 0x180076b22
addss xmm9, dword [0x1800ffd18]
movss dword [0x18011cd0c], xmm9
lea rax, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea r9, [0x18011cd08]
mov qword [rsp + 0x20], rax
mov r8, rsi
lea rdx, [rsp + 0x38]
call fcn.180077f30
cmp byte [rsp + 0x30], 0
movsd xmm0, qword [rax]
movsd qword [0x18011ccf0], xmm0
mov ecx, dword [rax + 8]
mov dword [0x18011ccf8], ecx
jne 0x180076bc1
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xa
call fcn.180065060
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm12, xmmword [rsp + 0x90]
lea r11, [rsp + 0x100]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm14, xmmword [r11 - 0x80]
mov rsp, r11
pop rdi
pop rsi
pop rbx
ret
mov rbx, qword [rsi]
movss xmm6, dword [0x18011ccf0]
movss xmm9, dword [0x18011ccf4]
movd xmm10, ecx
subss xmm6, dword [rbx + 0x24]
subss xmm10, dword [rbx + 0x2c]
subss xmm9, dword [rbx + 0x28]
movaps xmm0, xmm6
mulss xmm0, xmm6
movaps xmm1, xmm10
mulss xmm1, xmm10
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180076c10
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x180076c18
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm1, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movaps xmm9, xmm0
movaps xmm1, xmm6
xorps xmm9, xmm12
movaps xmm0, xmm10
mulss xmm9, xmm7
divss xmm9, dword [0x1800ffd60]
call sub.api_ms_win_crt_math_l1_1_0.dll_atan2f
movss xmm2, dword [rbx + 0x48]
movaps xmm1, xmm8
mulss xmm0, xmm7
divss xmm0, dword [0x1800ffd60]
subss xmm0, dword [0x1800ffdf0]
subss xmm2, xmm0
xorps xmm2, xmm12
addss xmm2, xmm7
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movaps xmm6, xmm0
comiss xmm14, xmm6
jbe 0x180076c85
addss xmm6, xmm8
movss xmm0, dword [rbx + 0x44]
subss xmm6, xmm7
subss xmm0, xmm9
movaps xmm1, xmm8
xorps xmm0, xmm12
addss xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
comiss xmm14, xmm0
jbe 0x180076caf
addss xmm0, xmm8
subss xmm0, xmm7
movss dword [rsp + 0x20], xmm11
lea rcx, [rdi - 8]
movaps xmm2, xmm6
movaps xmm3, xmm0
call fcn.180077370
jmp 0x180076b74
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xfa
call fcn.180065060
jmp 0x180076ba8