Function at 0x180004d80
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 [0x18001c010]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xa0], rdx
inc dword [0x18001ca40]
movss xmm1, dword [0x18001ef24]
movaps xmm6, xmm1
addss xmm6, dword [0x1800196c4]
addss xmm6, dword [0x18001ca44]
movss xmm7, dword [0x18001ef20]
movss xmm0, dword [0x1800196ec]
addss xmm7, xmm0
addss xmm7, dword [0x18001c934]
movss xmm9, dword [rsp + 0xa4]
movss xmm13, dword [0x180019678]
cmp byte [0x18001c816], 0
je 0x180004e73
movss xmm7, dword [0x18001eee8]
addss xmm7, dword [0x18001ef38]
addss xmm7, xmm0
movss xmm6, dword [0x18001eeec]
mulss xmm6, xmm13
addss xmm6, dword [0x18001ef3c]
movaps xmm0, xmm9
mulss xmm0, xmm13
subss xmm6, xmm0
xorps xmm12, xmm12
cmp byte [0x18001c814], 0
je 0x180004ea8
movss xmm6, dword [0x18001c930]
mov byte [0x18001c814], 0
mov dword [0x18001c930], 0
movaps xmm0, xmm6
subss xmm0, xmm1
movss dword [0x18001ca44], 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 0x180004f9c
comiss xmm2, xmm6
jbe 0x180004f9c
movaps xmm1, xmm7
addss xmm1, xmm14
comiss xmm1, xmm0
jbe 0x180004f9c
movaps xmm0, xmm6
addss xmm0, xmm9
comiss xmm0, xmm2
jbe 0x180004f9c
mov bpl, 1
movups xmm11, xmmword [0x180019548]
xorps xmm8, xmm8
comiss xmm9, xmm12
jbe 0x180004f90
movss dword [rsp + 0xa0], xmm1
movss dword [rsp + 0x60], xmm7
movss xmm10, dword [0x180019680]
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 [0x18001c818]
call fcn.180001810
addss xmm8, xmm10
comiss xmm9, xmm8
ja 0x180004f40
mov byte [0x18001c815], bpl
jmp 0x180005021
xor bpl, bpl
movups xmm11, xmmword [0x180019528]
xorps xmm8, xmm8
comiss xmm9, xmm12
jbe 0x180005021
movaps xmm0, xmm7
addss xmm0, xmm14
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0xa0], xmm7
movss xmm10, dword [0x180019680]
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 [0x18001c818]
call fcn.180001810
addss xmm8, xmm10
comiss xmm9, xmm8
ja 0x180004fd1
cmp byte [0x18001c816], 0
jne 0x18000504a
movaps xmm0, xmm9
addss xmm0, dword [0x1800196c4]
movss xmm1, dword [0x18001ca44]
addss xmm1, xmm0
movss dword [0x18001ca44], xmm1
mov eax, dword [0x18001ca40]
cmp dword [0x18001c060], eax
jne 0x1800051ae
movaps xmm4, xmm14
mulss xmm4, xmm13
addss xmm4, xmm7
movaps xmm3, xmm9
mulss xmm3, xmm13
addss xmm3, xmm6
movss xmm2, dword [0x180019684]
subss xmm3, dword [0x1800196dc]
mov dword [rsp + 0x68], 9
mov dword [rsp + 0x6c], 9
lea rax, str.PressKey
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [0x180019800]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmm0, xmmword [0x180019ee0]
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 + 0x50], 0
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 [0x18001c818]
call fcn.180001b00
cmp byte [0x18001c820], 0
jne 0x180005173
cmp byte [0x18001c821], 0
jne 0x180005173
cmp byte [0x18001c822], 0
jne 0x180005173
cmp byte [0x18001c823], 0
jne 0x180005173
cmp byte [0x18001c824], 0
jne 0x180005173
mov byte [0x18001c7e7], 0
jmp 0x180005180
cmp byte [0x18001c7e7], 0
jne 0x180005330
xor ebx, ebx
lea rsi, [rbx - 1]
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000519f
mov dword [0x18001c804], ebx
mov dword [0x18001c060], esi
inc ebx
cmp ebx, 0xff
jl 0x180005186
jmp 0x180005330
movaps xmm8, xmm9
mulss xmm8, xmm13
addss xmm8, xmm6
movaps xmm10, xmm14
mulss xmm10, xmm13
addss xmm10, xmm7
movzx edx, byte [0x18001c804]
lea rcx, [rsp + 0x80]
call fcn.180004b60
mov r14, rax
cmp qword [rax + 0x18], 0x10
jb 0x1800051eb
mov r14, qword [rax]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp byte [r14 + rdi], 0
jne 0x1800051f5
inc rdi
mov eax, 2
mul rdi
cmovo rax, rsi
mov rcx, rax
call fcn.180013414
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, dword [0x1800196dc]
movaps xmm2, xmm8
movaps xmm1, xmm10
mov rcx, rbx
call fcn.180002b30
nop
mov rdx, qword [rsp + 0x98]
cmp rdx, 0x10
jb 0x180005288
inc rdx
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005283
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005283
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001340c
test bpl, bpl
je 0x1800052ef
movsxd rdx, dword [0x18001ca40]
cmp byte [0x18001c820], 0
je 0x1800052d5
lea rax, [0x18001c830]
cmp byte [rdx + rax], 0
jne 0x180005330
mov byte [rdx + rax], 1
mov byte [0x18001c7e7], 1
mov dword [0x18001c060], edx
xor ebx, ebx
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
inc ebx
cmp ebx, 0xff
jl 0x1800052c1
jmp 0x180005330
cmp rdx, 0x100
jae 0x1800053d1
lea rax, [0x18001c830]
mov byte [rdx + rax], 0
jmp 0x180005330
movsxd rcx, dword [0x18001ca40]
cmp byte [0x18001c820], 0
je 0x180005318
lea rax, [0x18001c830]
cmp byte [rcx + rax], 0
jne 0x180005330
mov byte [rcx + rax], 1
mov dword [0x18001c060], esi
jmp 0x180005330
cmp rcx, 0x100
jae 0x1800053d1
lea rax, [0x18001c830]
mov byte [rcx + rax], 0
mov byte [0x18001c816], 0
movss dword [0x18001ef38], xmm7
movss dword [0x18001ef3c], xmm6
movss dword [0x18001eee8], xmm14
movss dword [0x18001eeec], xmm9
movss xmm0, dword [0x18001eee0]
ucomiss xmm0, xmm12
jp 0x180005379
jne 0x180005379
movss dword [0x18001eee0], xmm7
movss dword [0x18001eee4], xmm6
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.180013030
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.18001323c
int3