Function at 0x1800c9390
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x3860
call fcn.18015a490
sub rsp, rax
movaps xmmword [rsp + 0x3850], xmm6
movaps xmmword [rsp + 0x3840], xmm7
movaps xmmword [rsp + 0x3830], xmm8
movaps xmmword [rsp + 0x3820], xmm9
mov rax, qword [0x1802e4040]
xor rax, rsp
mov qword [rsp + 0x3810], rax
mov eax, dword [reloc.WS2_32.dll_getpeername]
lea edi, [rax + rax*4]
add edi, edi
call fcn.180017790
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1800a86f0
nop
movss xmm7, dword [rsp + 0x5c]
movss xmm9, dword [rsp + 0x58]
movss xmm6, dword [0x180165b58]
cmp byte [0x1802e71c4], 0
je 0x1800c9483
cmp byte [0x1802e71c6], 0
je 0x1800c9483
call fcn.1800170e0
mov rbx, rax
movdqa xmm0, xmmword [0x1801adbb0]
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.180014680
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 [0x180165b80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x5a
mov r9d, eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180028ba0
movzx ecx, byte [0x1802e71c0]
call fcn.1800df3f0
mov rbx, rax
mov rcx, qword [0x1802e6fb8]
cmp qword [rcx + 8], 0
je 0x1800c9606
test rax, rax
je 0x1800c95f1
mov rcx, qword [0x1801e0e50]
mov rdx, qword [rcx + rax]
movzx ecx, byte [0x1802e71c3]
test rdx, rdx
jne 0x1800c94cd
test cl, cl
jne 0x1800c94e2
jmp 0x1800c9606
mov rax, qword [0x1801e0e60]
cmp dword [rax + rdx], 0
jne 0x1800c94e2
test cl, cl
je 0x1800c9606
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.1800dfaf0
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 [0x1801ada00]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
cvtps2pd xmm2, xmm9
subsd xmm8, xmm2
movsd xmm1, qword [0x1801ada00]
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 0x1800c9570
sqrtss xmm0, xmm0
jmp 0x1800c9575
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, edi
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1800c95f1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800c95a1
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800c95f1
mov rcx, rbx
call fcn.1800cac90
test al, al
je 0x1800c95f1
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1800bf490
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.1800b9370
mov byte [0x1802e78bc], 1
jmp 0x1800c9606
cmp byte [0x1802e78bc], 0
je 0x1800c9606
call fcn.1800dcd30
mov byte [0x1802e78bc], 0
mov rcx, qword [rsp + 0x3800]
test rcx, rcx
je 0x1800c9619
call fcn.18001a9b0
nop
mov rcx, qword [rsp + 0x3810]
xor rcx, rsp
call fcn.18015a430
lea r11, [rsp + 0x3860]
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