Function at 0x1800a9710
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x1610
call fcn.18011ed00
sub rsp, rax
movaps xmmword [rsp + 0x1600], xmm6
movaps xmmword [rsp + 0x15f0], xmm7
movaps xmmword [rsp + 0x15e0], xmm8
movaps xmmword [rsp + 0x15d0], xmm9
mov rax, qword [0x18029b200]
xor rax, rsp
mov qword [rsp + 0x15c0], rax
cmp byte [0x18029e436], 0
jne 0x1800a9765
call fcn.1800ab050
mov eax, dword [reloc.WS2_32.dll_getpeername]
lea edi, [rax + rax*4]
add edi, edi
call fcn.18000d2e0
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18008e470
nop
movss xmm7, dword [rsp + 0x5c]
movss xmm9, dword [rsp + 0x58]
movss xmm6, dword [0x180127a30]
cmp byte [0x18029e428], 0
je 0x1800a9811
cmp byte [0x18029e42a], 0
je 0x1800a9811
call fcn.18000cd20
mov rbx, rax
movdqa xmm0, xmmword [0x18016f240]
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.18000a980
movaps xmm1, xmm7
mulss xmm1, xmm6
movaps xmm0, xmm9
mulss xmm0, xmm6
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss xmm0, dword [0x180127a58]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x5a
mov r9d, eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18001cbe0
movzx ecx, byte [0x18029e424]
call fcn.1800bd3f0
mov rbx, rax
mov rcx, qword [0x18029e460]
cmp qword [rcx + 8], 0
je 0x1800a9994
test rax, rax
je 0x1800a997f
mov rcx, qword [0x1801ffc58]
mov rdx, qword [rcx + rax]
movzx ecx, byte [0x18029e427]
test rdx, rdx
jne 0x1800a985b
test cl, cl
jne 0x1800a9870
jmp 0x1800a9994
mov rax, qword [0x18029b038]
cmp dword [rax + rdx], 0
jne 0x1800a9870
test cl, cl
je 0x1800a9994
movsd xmm0, qword [rbx + 0x90]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [rbx + 0x98]
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1800bdaf0
mulss xmm9, xmm6
mulss xmm7, xmm6
movss xmm0, dword [rsp + 0x34]
cvtps2pd xmm0, xmm0
movss xmm8, dword [rsp + 0x30]
cvtps2pd xmm8, xmm8
cvtps2pd xmm1, xmm7
subsd xmm0, xmm1
movsd xmm1, qword [0x18016f0c0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
cvtps2pd xmm2, xmm9
subsd xmm8, xmm2
movsd xmm1, qword [0x18016f0c0]
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
xorps xmm1, xmm1
ucomiss xmm1, xmm0
ja 0x1800a98fe
sqrtss xmm0, xmm0
jmp 0x1800a9903
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, edi
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1800a997f
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800a992f
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800a997f
mov rcx, rbx
call fcn.1800aafe0
test al, al
je 0x1800a997f
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.18009ff30
movss xmm1, dword [rsp + 0x34]
movss xmm2, dword [rsp + 0x38]
movss xmm0, dword [rsp + 0x30]
unpcklps xmm0, xmm1
movsd qword [rsp + 0x40], xmm0
movss dword [rsp + 0x48], xmm2
lea rcx, [rsp + 0x40]
call fcn.180099c50
mov byte [0x18029eb3c], 1
jmp 0x1800a9994
cmp byte [0x18029eb3c], 0
je 0x1800a9994
call fcn.1800baac0
mov byte [0x18029eb3c], 0
mov rcx, qword [rsp + 0x15b0]
test rcx, rcx
je 0x1800a99a7
call fcn.18000ff70
nop
mov rcx, qword [rsp + 0x15c0]
xor rcx, rsp
call fcn.18011eca0
lea r11, [rsp + 0x1610]
mov rbx, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
ret