Function at 0x1800da830
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x3860
call fcn.180157e80
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 [0x1802dd180]
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.18001a950
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1800ac540
nop
movss xmm7, dword [rsp + 0x5c]
movss xmm9, dword [rsp + 0x58]
movss xmm6, dword [0x180164c18]
cmp byte [0x1802e04e5], 0
je 0x1800da923
cmp byte [0x1802e04e7], 0
je 0x1800da923
call fcn.18001a240
mov rbx, rax
movdqa xmm0, xmmword [0x1801aecb0]
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.1800177e0
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 [0x180164c40]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x5a
mov r9d, eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18002bd10
movzx ecx, byte [0x1802e0494]
call fcn.1800f6410
mov rbx, rax
mov rcx, qword [0x1802e04a8]
cmp qword [rcx + 8], 0
je 0x1800daaa6
test rax, rax
je 0x1800daa91
mov rcx, qword [0x1801da8f0]
mov rdx, qword [rcx + rax]
movzx ecx, byte [0x1802e0497]
test rdx, rdx
jne 0x1800da96d
test cl, cl
jne 0x1800da982
jmp 0x1800daaa6
mov rax, qword [0x1801da900]
cmp dword [rax + rdx], 0
jne 0x1800da982
test cl, cl
je 0x1800daaa6
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.1800f7820
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 [0x1801aeae0]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
cvtps2pd xmm2, xmm9
subsd xmm8, xmm2
movsd xmm1, qword [0x1801aeae0]
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 0x1800daa10
sqrtss xmm0, xmm0
jmp 0x1800daa15
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, edi
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1800daa91
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800daa41
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800daa91
mov rcx, rbx
call fcn.1800dc130
test al, al
je 0x1800daa91
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1800d0b30
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.1800c8bd0
mov byte [0x1802e0ef4], 1
jmp 0x1800daaa6
cmp byte [0x1802e0ef4], 0
je 0x1800daaa6
call fcn.1800f20e0
mov byte [0x1802e0ef4], 0
mov rcx, qword [rsp + 0x3800]
test rcx, rcx
je 0x1800daab9
call fcn.18001da10
nop
mov rcx, qword [rsp + 0x3810]
xor rcx, rsp
call fcn.180157e20
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