Function at 0x14000d400
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
push r13
push r14
push r15
sub rsp, 0xd8
mov rdx, qword [0x1411dfde0]
movabs r13, 0x3159721ed7e75347
mov rbx, qword [0x1411dfdd8]
mov rax, r13
sub rdx, rbx
movaps xmmword [r11 - 0x68], xmm9
movss xmm9, dword [0x140cd2280]
xor r15d, r15d
imul rdx
mov r14, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14000d8fe
mov qword [r11 + 8], rbp
mov ebp, dword [0x1411def40]
mov qword [r11 + 0x10], rsi
mov esi, dword [0x1411def3c]
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 [0x140cd1f8c]
movaps xmmword [rsp + 0x70], xmm11
movsd xmm11, qword [0x140cd2060]
movaps xmmword [rsp + 0x60], xmm12
movss xmm12, dword [0x140cd1f24]
movaps xmmword [rsp + 0x50], xmm13
xorps xmm13, xmm13
movaps xmmword [rsp + 0x40], xmm14
movss xmm14, dword [0x140cd1fdc]
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movaps xmmword [r11 - 0x58], xmm8
cmp byte [0x1411dfcae], 1
jne 0x14000d50b
comiss xmm13, dword [rdi + rbx + 0x24]
jb 0x14000d50b
mov ecx, dword [reloc.WS2_32.dll_accept]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rbx, qword [0x1411dfdd8]
mov esi, dword [0x1411def3c]
mov ebp, dword [0x1411def40]
test ax, ax
js 0x14000d870
cmp byte [0x1411dfcaf], 1
jne 0x14000d51f
cmp byte [rdi + rbx + 4], 1
je 0x14000d870
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 [0x1411df5ac]
movaps xmm0, xmm5
mulss xmm0, dword [0x1411df58c]
addss xmm1, dword [0x1411df5bc]
shufps xmm4, xmm4, 0x55
movaps xmm2, xmm4
mulss xmm2, dword [0x1411df59c]
addss xmm2, xmm0
addss xmm2, xmm1
comiss xmm12, xmm2
ja 0x14000d870
movaps xmm6, xmm4
movaps xmm0, xmm5
mulss xmm6, dword [0x1411df590]
movaps xmm1, xmm7
mov eax, ebp
mulss xmm4, dword [0x1411df594]
movaps xmm3, xmm14
cdq
mulss xmm0, dword [0x1411df580]
sub eax, edx
sar eax, 1
mulss xmm5, dword [0x1411df584]
xorps xmm8, xmm8
mulss xmm1, dword [0x1411df5a0]
addss xmm6, xmm0
mulss xmm7, dword [0x1411df5a4]
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 [0x1411dfcb5], 0
addss xmm4, xmm7
addss xmm6, dword [0x1411df5b0]
cvtsi2ss xmm8, eax
addss xmm4, dword [0x1411df5b4]
mulss xmm6, xmm3
mulss xmm4, xmm3
mulss xmm6, xmm2
mulss xmm4, xmm8
addss xmm6, xmm2
subss xmm8, xmm4
je 0x14000d6ee
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 [0x1411d6fd8]
mulss xmm0, xmm0
subss xmm2, xmm1
mulss xmm3, xmm3
mulss xmm2, xmm2
addss xmm2, xmm3
comiss xmm0, xmm2
jb 0x14000d870
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 0x14000d6cd
xorps xmm0, xmm0
sqrtsd xmm0, xmm7
jmp 0x14000d6d5
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 0x14000d870
movaps xmm0, xmm6
jmp 0x14000d85f
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 [0x1411df5ac]
movaps xmm0, xmm5
mulss xmm0, dword [0x1411df58c]
addss xmm1, dword [0x1411df5bc]
shufps xmm4, xmm4, 0x55
movaps xmm2, xmm4
mulss xmm2, dword [0x1411df59c]
addss xmm2, xmm0
addss xmm2, xmm1
comiss xmm12, xmm2
ja 0x14000d870
movaps xmm7, xmm4
movaps xmm0, xmm5
mulss xmm7, dword [0x1411df590]
movaps xmm1, xmm6
mov eax, ebp
mulss xmm4, dword [0x1411df594]
xorps xmm8, xmm8
cdq
mulss xmm0, dword [0x1411df580]
sub eax, edx
sar eax, 1
mulss xmm1, dword [0x1411df5a0]
movaps xmm3, xmm14
mulss xmm5, dword [0x1411df584]
addss xmm7, xmm0
mulss xmm6, dword [0x1411df5a4]
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 [0x1411df5b0]
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 [0x1411df5b4]
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 0x14000d847
xorps xmm0, xmm0
sqrtsd xmm0, xmm6
jmp 0x14000d84f
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 0x14000d870
movaps xmm0, xmm7
unpcklps xmm0, xmm8
movaps xmm9, xmm2
movsd qword [r14], xmm0
mov dword [r14 + 8], r12d
mov rcx, qword [0x1411dfde0]
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 0x14000d4d2
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