Function at 0x14005c760
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x698
mov rax, qword [0x140131048]
xor rax, rsp
mov qword [rsp + 0x660], rax
movaps xmmword [rsp + 0x670], xmm6
call fcn.140047080
cmp dword [0x140132644], 0
movaps xmm6, xmm0
je 0x14005c8f1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], 0
lea rdx, [0x140132650]
mov r8d, 0x618
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x140132640]
lea rax, [rsp + 0x30]
inc ecx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x450]
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
je 0x14005c8e2
mov qword [rsp + 0x6b8], rbp
xor ebp, ebp
cmp dword [0x140132644], ebp
jle 0x14005c8d5
mov qword [rsp + 0x6b0], rbx
mov qword [rsp + 0x690], rsi
xor esi, esi
mov qword [rsp + 0x688], rdi
mov qword [rsp + 0x680], r14
nop dword [rax]
nop word [rax + rax]
mov rax, qword [0x140132c68]
lea rdx, [rsp + 0x40]
movsxd r14, dword [rsi + rax]
mov rcx, r14
call sub.WS2_32.dll___WSAFDIsSet
xor ebx, ebx
lea rdx, [rsp + 0x248]
test eax, eax
mov rcx, r14
setne bl
call sub.WS2_32.dll___WSAFDIsSet
movzx edi, bx
lea rdx, [rsp + 0x450]
or di, 4
mov rcx, r14
test eax, eax
cmove di, bx
call sub.WS2_32.dll___WSAFDIsSet
movzx edx, di
or dx, 8
test eax, eax
mov rax, qword [0x140132c68]
cmove dx, di
test word [rsi + rax + 4], dx
je 0x14005c8a3
mov rdx, qword [rsi + rax + 0x10]
mov rcx, r14
call qword [rsi + rax + 8]
inc ebp
add rsi, 0x18
cmp ebp, dword [0x140132644]
jl 0x14005c830
mov r14, qword [rsp + 0x680]
mov rdi, qword [rsp + 0x688]
mov rsi, qword [rsp + 0x690]
mov rbx, qword [rsp + 0x6b0]
mov rbp, qword [rsp + 0x6b8]
xorps xmm6, xmm6
jmp 0x14005c8f1
movsd xmm0, qword [0x140106a08]
minsd xmm0, xmm6
movaps xmm6, xmm0
cmp qword [0x140131f60], 0
jne 0x14005c904
cmp dword [0x140131f30], 0
je 0x14005c907
xorps xmm6, xmm6
call fcn.1400506f0
test rax, rax
jne 0x14005c920
ucomisd xmm6, qword [0x140105960]
jp 0x14005c920
jne 0x14005c920
xorps xmm6, xmm6
call qword [fcn.140043730]
movsd xmm0, qword [0x140106a18]
minsd xmm0, xmm6
call fcn.140082340
mulsd xmm0, qword [0x140106a10]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xff
xor ecx, ecx
addsd xmm0, qword [0x1400efff0]
cvttsd2si r9d, xmm0
call qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
call qword [fcn.140043730]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x1401325b8]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
movaps xmm6, xmmword [rsp + 0x670]
test eax, eax
jle 0x14005ca4b
lea rcx, [0x1401325b8]
call fcn.140050970
test eax, eax
jne 0x14005ca26
mov eax, dword [0x1401325c0]
cmp eax, 0x12
jne 0x14005c9c4
mov ecx, select
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_raise]
mov eax, dword [0x1401325c0]
cmp eax, dword [0x1401325b4]
jne 0x14005ca0c
mov rax, qword [0x1401325c8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov qword [0x140132c70], rax
call fcn.1400543e0
test eax, eax
jne 0x14005ca0c
nop dword [rax]
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400543e0
test eax, eax
je 0x14005c9f0
lea rcx, [0x1401325b8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1401325b8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x1401325b8]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jg 0x14005c994
call fcn.1400543a0
test al, al
jne 0x14005ca83
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400543e0
test eax, eax
jne 0x14005ca83
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400543e0
test eax, eax
je 0x14005ca67
call fcn.140050ad0
movsd xmm0, qword [0x1400f00c8]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1400ea730
add rsp, 0x698
ret