Function at 0x180005160
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, 0x150
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
mov rax, qword [0x18001d040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xa0], rdx
inc dword [0x18001da80]
movss xmm1, dword [0x18001ff54]
movaps xmm6, xmm1
addss xmm6, dword [0x1800198c8]
addss xmm6, dword [0x18001da84]
movss xmm7, dword [0x18001ff50]
movss xmm0, dword [0x1800198d4]
addss xmm7, xmm0
addss xmm7, dword [0x18001d974]
movss xmm9, dword [rsp + 0xa4]
movss xmm13, dword [0x180019868]
cmp byte [0x18001d7ff], 0
je 0x180005253
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 [0x18001d7fd], 0
je 0x180005288
movss xmm6, dword [0x18001d970]
mov byte [0x18001d7fd], 0
mov dword [0x18001d970], 0
movaps xmm0, xmm6
subss xmm0, xmm1
movss dword [0x18001da84], 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 0x18000537c
comiss xmm2, xmm6
jbe 0x18000537c
movaps xmm1, xmm7
addss xmm1, xmm14
comiss xmm1, xmm0
jbe 0x18000537c
movaps xmm0, xmm6
addss xmm0, xmm9
comiss xmm0, xmm2
jbe 0x18000537c
mov bpl, 1
movups xmm11, xmmword [0x180019748]
xorps xmm8, xmm8
comiss xmm9, xmm12
jbe 0x180005370
movss dword [rsp + 0xa0], xmm1
movss dword [rsp + 0x60], xmm7
movss xmm10, dword [0x180019874]
nop dword [rax]
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 [0x18001d858]
call fcn.180001750
addss xmm8, xmm10
comiss xmm9, xmm8
ja 0x180005320
mov byte [0x18001d7fe], bpl
jmp 0x180005401
xor bpl, bpl
movups xmm11, xmmword [0x180019728]
xorps xmm8, xmm8
comiss xmm9, xmm12
jbe 0x180005401
movaps xmm0, xmm7
addss xmm0, xmm14
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0xa0], xmm7
movss xmm10, dword [0x180019874]
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 [0x18001d858]
call fcn.180001750
addss xmm8, xmm10
comiss xmm9, xmm8
ja 0x1800053b1
cmp byte [0x18001d7ff], 0
jne 0x18000542a
movaps xmm0, xmm9
addss xmm0, dword [0x1800198c8]
movss xmm1, dword [0x18001da84]
addss xmm1, xmm0
movss dword [0x18001da84], xmm1
mov eax, dword [0x18001da80]
cmp dword [0x18001d0b0], eax
jne 0x180005588
movaps xmm4, xmm14
mulss xmm4, xmm13
addss xmm4, xmm7
movaps xmm3, xmm9
mulss xmm3, xmm13
addss xmm3, xmm6
movss xmm2, dword [0x180019878]
subss xmm3, dword [0x1800198c8]
mov dword [rsp + 0x68], 9
mov dword [rsp + 0x6c], 9
lea rax, str.PressKey
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [0x1800199f0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmm0, xmmword [0x18001a0c0]
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
unpcklps xmm4, xmm3
movq r8, xmm4
lea rdx, [rsp + 0x60]
mov rcx, qword [0x18001d858]
call fcn.180001a50
cmp byte [0x18001d860], 0
jne 0x18000554b
cmp byte [0x18001d861], 0
jne 0x18000554b
cmp byte [0x18001d862], 0
jne 0x18000554b
cmp byte [0x18001d863], 0
jne 0x18000554b
cmp byte [0x18001d864], 0
jne 0x18000554b
mov byte [0x18001d7fc], 0
jmp 0x180005558
cmp byte [0x18001d7fc], 0
jne 0x180005707
xor ebx, ebx
lea rsi, [rbx - 1]
nop
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180005579
mov dword [0x18001d84c], ebx
mov dword [0x18001d0b0], esi
inc ebx
cmp ebx, 0xff
jl 0x180005560
jmp 0x180005707
movaps xmm10, xmm9
mulss xmm10, xmm13
addss xmm10, xmm6
movaps xmm8, xmm14
mulss xmm8, xmm13
addss xmm8, xmm7
movzx edx, byte [0x18001d84c]
lea rcx, [rsp + 0x80]
call fcn.180004f40
mov r14, rax
cmp qword [rax + 0x18], 0xf
jbe 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.18001392c
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]
movaps xmm0, xmm8
unpcklps xmm0, xmm10
movq rdx, xmm0
mov rcx, rbx
call fcn.180002b20
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0xf
jbe 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.180013924
test bpl, bpl
je 0x1800056c6
movsxd rdx, dword [0x18001da80]
cmp byte [0x18001d860], 0
je 0x1800056ac
lea rax, [0x18001d870]
cmp byte [rdx + rax], 0
jne 0x180005707
mov byte [rdx + rax], 1
mov byte [0x18001d7fc], 1
mov dword [0x18001d0b0], 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 0x1800057a8
lea rax, [0x18001d870]
mov byte [rdx + rax], 0
jmp 0x180005707
movsxd rcx, dword [0x18001da80]
cmp byte [0x18001d860], 0
je 0x1800056ef
lea rax, [0x18001d870]
cmp byte [rcx + rax], 0
jne 0x180005707
mov byte [rcx + rax], 1
mov dword [0x18001d0b0], esi
jmp 0x180005707
cmp rcx, 0x100
jae 0x1800057a8
lea rax, [0x18001d870]
mov byte [rcx + rax], 0
mov byte [0x18001d7ff], 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.180013540
lea r11, [rsp + 0x150]
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]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.18001374c
int3