Function at 0x1400094e0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rdi
lea rbp, [rax - 0xb8]
sub rsp, 0x1a0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rbx, rdx
movaps xmm9, xmm0
ucomisd xmm0, qword [0x1400c75c8]
jp 0x140009521
je 0x1400097f0
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400097f0
mov rax, qword [0x1400f4608]
cmp qword [rax + 0x20], 0
je 0x1400097f0
movzx ecx, byte [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400097f0
xorps xmm6, xmm6
mov eax, dword [0x1400f45cc]
test eax, eax
jne 0x1400095ac
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x140009582
xorps xmm1, xmm1
movups xmmword [rsp + 0x40], xmm1
xorps xmm0, xmm0
movsd qword [rsp + 0x50], xmm0
jmp 0x140009597
mov r8d, WSAGetLastError
lea rdx, [rsp + 0x40]
call fcn.140004470
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x70]
jmp 0x1400095dc
cmp eax, 1
jne 0x1400095fd
mov rax, qword [rbx]
mov r8d, 0x42
lea rdx, [rbp + 0x10]
mov rcx, qword [rax + 8]
call fcn.140004470
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x50], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x40], xmm1
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.1400040d0
movsd xmm8, qword [rax]
movsd xmm7, qword [rax + 8]
movaps xmm6, xmm8
unpcklpd xmm6, xmm7
jmp 0x1400096a9
cmp eax, 2
jne 0x14000969e
mov rax, qword [rbx]
mov r8d, Ordinal_41
lea rdx, [rbp + 0x28]
mov rcx, qword [rax + 8]
call fcn.140004470
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x30], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp - 0x20], xmm1
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.1400040d0
mov rax, qword [rbx]
mov r8d, 8
lea rdx, [rbp + 0x40]
mov rcx, qword [rax + 8]
call fcn.140004470
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x10], xmm0
movsd xmm1, qword [rax + 0x10]
movsd qword [rbp], xmm1
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x30]
call fcn.1400040d0
movsd xmm8, qword [rsp + 0x30]
subsd xmm8, qword [rsp + 0x58]
mulsd xmm8, qword [0x1400c7438]
addsd xmm8, qword [rsp + 0x58]
movsd xmm7, qword [rsp + 0x60]
movaps xmm6, xmm8
unpcklpd xmm6, xmm7
jmp 0x1400096a9
xorps xmm7, xmm7
unpckhpd xmm7, xmm6
xorps xmm8, xmm8
cmp byte [0x1400f45d0], 0
je 0x140009768
mov rax, qword [0x1400f43e0]
mov rax, qword [rax + 0x4088]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.140016b70
mov r10, rax
movaps xmm0, xmmword [0x1400c7860]
movups xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x68]
call fcn.140013d40
mov r9d, eax
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm7
cvtpd2ps xmm0, xmm8
movss dword [rbp + 0xc0], xmm0
movss dword [rbp + 0xc4], xmm1
mov eax, dword [0x1400f4724]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x1400f4720]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0xd0], xmm0
movss dword [rbp + 0xd4], xmm1
movss xmm1, dword [0x1400c7418]
movss dword [rsp + 0x20], xmm1
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0xd0]
mov rcx, r10
call fcn.140033ef0
mov ecx, dword [0x1400f45e4]
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmmword [rbp - 0x80], xmm6
lea rcx, [rbp - 0x80]
call fcn.1400047e0
movsd xmm0, qword [0x1400c74a8]
comisd xmm0, xmm9
jbe 0x1400097f0
mov rax, qword [rbx]
cmp dword [rax + 0x3c], 0xf
jge 0x1400097f0
mov rcx, qword [0x1400f4608]
add rcx, 0x48
cmp qword [rcx + 0x18], 0xf
jbe 0x1400097af
mov rcx, qword [rcx]
lea rdx, str.Shotgun
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x1400097f0
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 4]
call qword [sym.imp.USER32.dll_mouse_event]
nop
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x140009825
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140009825
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140009825
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea r11, [rsp + 0x1a0]
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
pop rbx
pop rbp
ret