Function at 0x180005150
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
movaps xmmword [rax - 0xa8], xmm14
movaps xmmword [rax - 0xb8], xmm15
mov rax, qword [0x18001d010]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xa0], rdx
inc dword [0x18001d984]
movss xmm1, dword [0x18001ff54]
movaps xmm6, xmm1
movss xmm15, dword [0x180019bb4]
addss xmm6, xmm15
addss xmm6, dword [0x18001d988]
movss xmm7, dword [0x18001ff50]
movss xmm0, dword [0x180019bc0]
addss xmm7, xmm0
addss xmm7, dword [0x18001d980]
movss xmm9, dword [rsp + 0xa4]
movss xmm13, dword [0x180019b4c]
cmp byte [0x18001d84d], 0
je 0x180005251
movss xmm7, dword [0x18001ff28]
addss xmm7, dword [0x18001ff68]
addss xmm7, xmm0
movss xmm6, dword [0x18001ff2c]
mulss xmm6, xmm13
addss xmm6, dword [0x18001ff6c]
movaps xmm0, xmm9
mulss xmm0, xmm13
subss xmm6, xmm0
xorps xmm12, xmm12
cmp byte [0x18001d82f], 0
je 0x180005286
movss xmm6, dword [0x18001d864]
mov byte [0x18001d82f], 0
mov dword [0x18001d864], 0
movaps xmm0, xmm6
subss xmm0, xmm1
movss dword [0x18001d988], xmm0
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm2, dword [rsp + 0xb4]
cvtdq2ps xmm2, xmm2
movd xmm0, dword [rsp + 0xb0]
cvtdq2ps xmm0, xmm0
movss xmm14, dword [rsp + 0xa0]
comiss xmm0, xmm7
jbe 0x180005373
comiss xmm2, xmm6
jbe 0x180005373
movaps xmm1, xmm7
addss xmm1, xmm14
comiss xmm1, xmm0
jbe 0x180005373
movaps xmm0, xmm6
addss xmm0, xmm9
comiss xmm0, xmm2
jbe 0x180005373
mov bpl, 1
movups xmm11, xmmword [0x180019a48]
xorps xmm8, xmm8
comiss xmm9, xmm12
jbe 0x180005367
movss dword [rsp + 0xa0], xmm1
movss dword [rsp + 0x60], xmm7
movss xmm10, dword [0x180019b58]
movaps xmm0, xmm6
addss xmm0, xmm8
movss dword [rsp + 0xa4], xmm0
movss dword [rsp + 0x64], xmm0
movdqa xmmword [rsp + 0x70], xmm11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm10
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x18001d870]
call fcn.180001750
addss xmm8, xmm10
comiss xmm9, xmm8
ja 0x180005317
mov byte [0x18001d84c], bpl
jmp 0x180005400
xor bpl, bpl
movups xmm11, xmmword [0x180019a28]
xorps xmm8, xmm8
comiss xmm9, xmm12
jbe 0x180005400
movaps xmm0, xmm7
addss xmm0, xmm14
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0xa0], xmm7
movss xmm10, dword [0x180019b58]
nop dword [rax + rax]
movaps xmm0, xmm6
addss xmm0, xmm8
movss dword [rsp + 0x64], xmm0
movss dword [rsp + 0xa4], xmm0
movdqa xmmword [rsp + 0x70], xmm11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm10
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [0x18001d870]
call fcn.180001750
addss xmm8, xmm10
comiss xmm9, xmm8
ja 0x1800053b0
cmp byte [0x18001d84d], 0
jne 0x180005426
movaps xmm0, xmm9
addss xmm0, xmm15
movss xmm1, dword [0x18001d988]
addss xmm1, xmm0
movss dword [0x18001d988], xmm1
mov eax, dword [0x18001d984]
cmp dword [0x18001d040], eax
jne 0x180005588
movaps xmm4, xmm14
mulss xmm4, xmm13
addss xmm4, xmm7
movaps xmm3, xmm9
mulss xmm3, xmm13
addss xmm3, xmm6
movss xmm2, dword [0x180019b5c]
subss xmm3, xmm15
mov dword [rsp + 0x68], 9
mov dword [rsp + 0x6c], 9
lea rax, str.PressKey
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [0x180019cc0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmm0, xmmword [0x18001a390]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x40], 1
movaps xmm0, xmm12
unpcklps xmm0, xmm12
movsd qword [rsp + 0x38], xmm0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm12
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
movaps xmm0, xmm2
unpcklps xmm0, xmm2
movq r9, xmm0
movaps xmm1, xmm4
unpcklps xmm1, xmm3
movq r8, xmm1
lea rdx, [rsp + 0x60]
mov rcx, qword [0x18001d870]
call fcn.180001a50
cmp byte [0x18001d878], 0
jne 0x180005547
cmp byte [0x18001d879], 0
jne 0x180005547
cmp byte [0x18001d87a], 0
jne 0x180005547
cmp byte [0x18001d87b], 0
jne 0x180005547
cmp byte [0x18001d87c], 0
jne 0x180005547
mov byte [0x18001d82e], 0
jmp 0x180005554
cmp byte [0x18001d82e], 0
jne 0x180005707
xor ebx, ebx
lea rsi, [rbx - 1]
nop word [rax + rax]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180005579
mov dword [0x18001d860], ebx
mov dword [0x18001d040], esi
inc ebx
cmp ebx, 0xff
jl 0x180005560
jmp 0x180005707
movaps xmm8, xmm9
mulss xmm8, xmm13
addss xmm8, xmm6
movaps xmm10, xmm14
mulss xmm10, xmm13
addss xmm10, xmm7
movzx edx, byte [0x18001d860]
lea rcx, [rsp + 0x80]
call fcn.180004f30
mov r14, rax
cmp qword [rax + 0x18], 0x10
jb 0x1800055c5
mov r14, qword [rax]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop
inc rdi
cmp byte [r14 + rdi], 0
jne 0x1800055d0
inc rdi
mov eax, 2
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.1800140dc
mov rbx, rax
mov r8, rdi
mov rdx, r14
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
subss xmm8, xmm15
movaps xmm2, xmm8
movaps xmm1, xmm10
mov rcx, rbx
call fcn.180002a10
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x18000565f
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000565a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000565a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800140d4
test bpl, bpl
je 0x1800056c6
movsxd rdx, dword [0x18001d984]
cmp byte [0x18001d878], 0
je 0x1800056ac
lea rax, [0x18001d880]
cmp byte [rdx + rax], 0
jne 0x180005707
mov byte [rdx + rax], 1
mov byte [0x18001d82e], 1
mov dword [0x18001d040], edx
xor ebx, ebx
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
inc ebx
cmp ebx, 0xff
jl 0x180005698
jmp 0x180005707
cmp rdx, 0x100
jae 0x1800057b0
lea rax, [0x18001d880]
mov byte [rdx + rax], 0
jmp 0x180005707
movsxd rcx, dword [0x18001d984]
cmp byte [0x18001d878], 0
je 0x1800056ef
lea rax, [0x18001d880]
cmp byte [rcx + rax], 0
jne 0x180005707
mov byte [rcx + rax], 1
mov dword [0x18001d040], esi
jmp 0x180005707
cmp rcx, 0x100
jae 0x1800057b0
lea rax, [0x18001d880]
mov byte [rcx + rax], 0
mov byte [0x18001d84d], 0
movss dword [0x18001ff68], xmm7
movss dword [0x18001ff6c], xmm6
movss dword [0x18001ff28], xmm14
movss dword [0x18001ff2c], xmm9
movss xmm0, dword [0x18001ff20]
ucomiss xmm0, xmm12
jp 0x180005750
jne 0x180005750
movss dword [0x18001ff20], xmm7
movss dword [0x18001ff24], xmm6
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.180013cf0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
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]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.180013efc
int3