Function at 0x1400422c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
push r13
push r14
push r15
sub rsp, 0xd8
mov rdx, qword [0x141256368]
movabs r13, 0x3159721ed7e75347
mov rbx, qword [0x141256360]
mov rax, r13
sub rdx, rbx
movaps xmmword [r11 - 0x68], xmm9
movss xmm9, dword [0x140d62348]
xor r15d, r15d
imul rdx
mov r14, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400427be
mov qword [r11 + 8], rbp
mov ebp, dword [0x141255ac4]
mov qword [r11 + 0x10], rsi
mov esi, dword [0x141255ac0]
mov qword [r11 + 0x18], rdi
mov edi, r15d
mov qword [r11 - 0x28], r12
mov r12d, dword [rsp + 0x38]
movaps xmmword [r11 - 0x78], xmm10
movss xmm10, dword [0x140d62054]
movaps xmmword [rsp + 0x70], xmm11
movsd xmm11, qword [0x140d62128]
movaps xmmword [rsp + 0x60], xmm12
movss xmm12, dword [0x140d61fe8]
movaps xmmword [rsp + 0x50], xmm13
xorps xmm13, xmm13
movaps xmmword [rsp + 0x40], xmm14
movss xmm14, dword [0x140d620a4]
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
cmp byte [0x141256238], 1
jne 0x1400423cb
comiss xmm13, dword [rdi + rbx + 0x24]
jb 0x1400423cb
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [0x141256360]
mov esi, dword [0x141255ac0]
mov ebp, dword [0x141255ac4]
test ax, ax
js 0x140042730
cmp byte [0x141256239], 1
jne 0x1400423df
cmp byte [rdi + rbx + 4], 1
je 0x140042730
movsd xmm0, qword [rdi + rbx + 0x1a0]
movss xmm7, dword [rdi + rbx + 0x1a8]
movaps xmm4, xmm0
movsd qword [rsp + 0x20], xmm0
movaps xmm1, xmm7
movss xmm5, dword [rsp + 0x20]
mulss xmm1, dword [0x14125612c]
movaps xmm0, xmm5
mulss xmm0, dword [0x14125610c]
addss xmm1, dword [0x14125613c]
shufps xmm4, xmm4, 0x55
movaps xmm2, xmm4
mulss xmm2, dword [0x14125611c]
addss xmm2, xmm0
addss xmm2, xmm1
comiss xmm12, xmm2
ja 0x140042730
movaps xmm6, xmm4
movaps xmm0, xmm5
mulss xmm6, dword [0x141256110]
movaps xmm1, xmm7
mov eax, ebp
mulss xmm4, dword [0x141256114]
movaps xmm3, xmm14
cdq
mulss xmm0, dword [0x141256100]
sub eax, edx
sar eax, 1
mulss xmm5, dword [0x141256104]
xorps xmm8, xmm8
mulss xmm1, dword [0x141256120]
addss xmm6, xmm0
mulss xmm7, dword [0x141256124]
addss xmm4, xmm5
divss xmm3, xmm2
addss xmm6, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp byte [0x14125623b], 0
addss xmm4, xmm7
addss xmm6, dword [0x141256130]
cvtsi2ss xmm8, eax
addss xmm4, dword [0x141256134]
mulss xmm6, xmm3
mulss xmm4, xmm3
mulss xmm6, xmm2
mulss xmm4, xmm8
addss xmm6, xmm2
subss xmm8, xmm4
je 0x1400425ae
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, ebp
cvtsi2ss xmm1, esi
mulss xmm0, xmm10
movaps xmm3, xmm6
mulss xmm1, xmm10
movaps xmm2, xmm8
subss xmm3, xmm0
movss xmm0, dword [0x14124d9d8]
mulss xmm0, xmm0
subss xmm2, xmm1
mulss xmm3, xmm3
mulss xmm2, xmm2
addss xmm2, xmm3
comiss xmm0, xmm2
jb 0x140042730
movaps xmm1, xmm8
mov eax, esi
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movaps xmm1, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
movaps xmm1, xmm6
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm7
ja 0x14004258d
xorps xmm0, xmm0
sqrtsd xmm0, xmm7
jmp 0x140042595
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
comiss xmm9, xmm2
jbe 0x140042730
movaps xmm0, xmm6
jmp 0x14004271f
movsd xmm0, qword [rdi + rbx + 0x1a0]
movss xmm6, dword [rdi + rbx + 0x1a8]
movaps xmm4, xmm0
movsd qword [rsp + 0x30], xmm0
movaps xmm1, xmm6
movss xmm5, dword [rsp + 0x30]
mulss xmm1, dword [0x14125612c]
movaps xmm0, xmm5
mulss xmm0, dword [0x14125610c]
addss xmm1, dword [0x14125613c]
shufps xmm4, xmm4, 0x55
movaps xmm2, xmm4
mulss xmm2, dword [0x14125611c]
addss xmm2, xmm0
addss xmm2, xmm1
comiss xmm12, xmm2
ja 0x140042730
movaps xmm7, xmm4
movaps xmm0, xmm5
mulss xmm7, dword [0x141256110]
movaps xmm1, xmm6
mov eax, ebp
mulss xmm4, dword [0x141256114]
xorps xmm8, xmm8
cdq
mulss xmm0, dword [0x141256100]
sub eax, edx
sar eax, 1
mulss xmm1, dword [0x141256120]
movaps xmm3, xmm14
mulss xmm5, dword [0x141256104]
addss xmm7, xmm0
mulss xmm6, dword [0x141256124]
xorps xmm0, xmm0
divss xmm3, xmm2
addss xmm7, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
addss xmm4, xmm5
addss xmm7, dword [0x141256130]
cvtsi2ss xmm8, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
addss xmm4, xmm6
mulss xmm7, xmm3
cvtsi2ss xmm0, eax
addss xmm4, dword [0x141256134]
mulss xmm7, xmm2
mulss xmm4, xmm3
addss xmm7, xmm2
mulss xmm4, xmm8
subss xmm8, xmm4
movaps xmm1, xmm8
subss xmm1, xmm0
cvtps2pd xmm0, xmm1
movaps xmm1, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm7
xorps xmm0, xmm0
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
subss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
movaps xmm1, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm6, xmm0
xorps xmm1, xmm1
ucomisd xmm1, xmm6
ja 0x140042707
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x14004270f
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrt
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
comiss xmm9, xmm2
jbe 0x140042730
movaps xmm0, xmm7
unpcklps xmm0, xmm8
movaps xmm9, xmm2
movsd qword [r14], xmm0
mov dword [r14 + 8], r12d
mov rcx, qword [0x141256368]
inc r15d
sub rcx, rbx
mov rax, r13
imul rcx
add rdi, 0x298
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r15d
cmp rax, rdx
jb 0x140042392
movaps xmm14, xmmword [rsp + 0x40]
movaps xmm13, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
mov r12, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x108]
mov rbp, qword [rsp + 0x100]
movaps xmm9, xmmword [rsp + 0x90]
mov rax, r14
add rsp, 0xd8
pop r15
pop r14
pop r13
pop rbx
ret