Function at 0x1800b7d90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x3860
call fcn.18012eb20
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 [0x1802b1080]
xor rax, rsp
mov qword [rsp + 0x3810], rax
cmp byte [0x1802b4386], 0
jne 0x1800b7de5
call fcn.1800b96c0
mov eax, dword [reloc.WS2_32.dll_getpeername]
lea edi, [rax + rax*4]
add edi, edi
call fcn.18000e580
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180096210
nop
movss xmm7, dword [rsp + 0x5c]
movss xmm9, dword [rsp + 0x58]
movss xmm6, dword [0x180138b38]
cmp byte [0x1802b4494], 0
je 0x1800b7e91
cmp byte [0x1802b4496], 0
je 0x1800b7e91
call fcn.18000ded0
mov rbx, rax
movdqa xmm0, xmmword [0x180184b30]
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call fcn.18000b470
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 [0x180138b60]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0x5a
mov r9d, eax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18001f8b0
movzx ecx, byte [0x1802b4490]
call fcn.1800cddc0
mov rbx, rax
mov rcx, qword [0x1802b4398]
cmp qword [rcx + 8], 0
je 0x1800b8014
test rax, rax
je 0x1800b7fff
mov rcx, qword [0x1801ae8f0]
mov rdx, qword [rcx + rax]
movzx ecx, byte [0x1802b4493]
test rdx, rdx
jne 0x1800b7edb
test cl, cl
jne 0x1800b7ef0
jmp 0x1800b8014
mov rax, qword [0x1801ae900]
cmp dword [rax + rdx], 0
jne 0x1800b7ef0
test cl, cl
je 0x1800b8014
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.1800ce4c0
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 [0x180184940]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
cvtps2pd xmm2, xmm9
subsd xmm8, xmm2
movsd xmm1, qword [0x180184940]
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 0x1800b7f7e
sqrtss xmm0, xmm0
jmp 0x1800b7f83
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, edi
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1800b7fff
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800b7faf
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800b7fff
mov rcx, rbx
call fcn.1800b9650
test al, al
je 0x1800b7fff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1800ae140
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.1800a7aa0
mov byte [0x1802b4b2c], 1
jmp 0x1800b8014
cmp byte [0x1802b4b2c], 0
je 0x1800b8014
call fcn.1800cb490
mov byte [0x1802b4b2c], 0
mov rcx, qword [rsp + 0x3800]
test rcx, rcx
je 0x1800b8027
call fcn.180011640
nop
mov rcx, qword [rsp + 0x3810]
xor rcx, rsp
call fcn.18012eac0
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