Function at 0x1400b0160
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x698
mov rax, qword [0x1401b3658]
xor rax, rsp
mov qword [rsp + 0x660], rax
movaps xmmword [rsp + 0x670], xmm6
call fcn.14009e640
cmp dword [0x1401b49d4], 0
movaps xmm6, xmm0
je 0x1400b02f1
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], 0
lea rdx, [0x1401b49e0]
mov r8d, 0x618
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [0x1401b49d0]
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 0x1400b02e2
mov qword [rsp + 0x6b8], rbp
xor ebp, ebp
cmp dword [0x1401b49d4], ebp
jle 0x1400b02d5
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 [0x1401b4ff8]
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 [0x1401b4ff8]
cmove dx, di
test word [rsi + rax + 4], dx
je 0x1400b02a3
mov rdx, qword [rsi + rax + 0x10]
mov rcx, r14
call qword [rsi + rax + 8]
inc ebp
add rsi, 0x18
cmp ebp, dword [0x1401b49d4]
jl 0x1400b0230
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 0x1400b02f1
movsd xmm0, qword [0x140170f20]
minsd xmm0, xmm6
movaps xmm6, xmm0
cmp qword [0x1401b4200], 0
jne 0x1400b0304
cmp dword [0x1401b41d8], 0
je 0x1400b0307
xorps xmm6, xmm6
call fcn.140098fb0
test rax, rax
jne 0x1400b0320
ucomisd xmm6, qword [0x14016f728]
jp 0x1400b0320
jne 0x1400b0320
xorps xmm6, xmm6
call qword [fcn.140097ca0]
movsd xmm0, qword [0x140170f28]
minsd xmm0, xmm6
call fcn.1400dca70
mulsd xmm0, qword [0x14016ef88]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xff
xor ecx, ecx
addsd xmm0, qword [0x14016e1b0]
cvttsd2si r9d, xmm0
call qword [sym.imp.user32.dll_MsgWaitForMultipleObjects]
call qword [fcn.140097ca0]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x1401b4948]
xor edx, edx
call qword [sym.imp.user32.dll_PeekMessageW]
movaps xmm6, xmmword [rsp + 0x670]
test eax, eax
jle 0x1400b0442
lea rcx, [0x1401b4948]
call fcn.140099230
test eax, eax
jne 0x1400b041d
mov eax, dword [0x1401b4950]
cmp eax, 0x12
jne 0x1400b03be
lea ecx, [rax - 3]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_raise]
mov eax, dword [0x1401b4950]
cmp eax, dword [0x1401b4944]
jne 0x1400b0403
mov rax, qword [0x1401b4958]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
mov qword [0x1401b5000], rax
call fcn.1400a8ec0
test eax, eax
jne 0x1400b0403
mov rcx, qword [rsp + 0x30]
call qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400a8ec0
test eax, eax
je 0x1400b03e7
lea rcx, [0x1401b4948]
call qword [sym.imp.user32.dll_TranslateMessage]
lea rcx, [0x1401b4948]
call qword [sym.imp.user32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x1401b4948]
xor edx, edx
call qword [sym.imp.user32.dll_PeekMessageW]
test eax, eax
jg 0x1400b0394
call fcn.1400a8e80
test al, al
jne 0x1400b047c
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400a8ec0
test eax, eax
jne 0x1400b047c
nop
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400a8ec0
test eax, eax
je 0x1400b0460
call fcn.140099390
movsd xmm0, qword [0x14016e380]
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14012cd90
add rsp, 0x698
ret