Function at 0x1400b8290
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x598]
sub rsp, 0x698
mov rax, qword [0x1402581e0]
xor rax, rsp
mov qword [rbp + 0x580], rax
xor ebx, ebx
mov r15d, r9d
mov rdi, r8
mov r12, rcx
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], ebx
mov r14d, ebx
cmp rcx, 0xffffffffffffffff
jne 0x1400b8307
cmp r8, rcx
jne 0x1400b8307
test r9d, r9d
je 0x1400b8300
jns 0x1400b82f7
mov ecx, 0x2726
call qword [sym.imp.WS2_32.dll_WSASetLastError]
or ebx, r12d
mov eax, ebx
jmp 0x1400b857c
mov ecx, r9d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, ebx
jmp 0x1400b857c
mov qword [rsp + 0x6d8], rsi
mov qword [rsp + 0x690], r13
test r9d, r9d
jle 0x1400b8361
mov r14d, r9d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [rsp + 0x30], edx
imul eax, edx, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
or r8, 0xffffffffffffffff
mov edx, ebx
mov dword [rbp + 0x370], ebx
lea eax, [r8 + 2]
mov dword [rsp + 0x50], ebx
cmp r12, r8
je 0x1400b83a0
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x50], eax
mov qword [rbp + 0x378], r12
mov edx, eax
mov dword [rbp + 0x370], eax
mov r8, r12
nop word [rax + rax]
mov dword [rbp + 0x160], ebx
cmp rdi, 0xffffffffffffffff
je 0x1400b83f2
mov qword [rbp + 0x168], rdi
mov dword [rbp + 0x160], eax
mov ecx, ebx
test edx, edx
je 0x1400b83d2
nop
mov eax, ecx
cmp qword [rbp + rax*8 + 0x378], rdi
je 0x1400b83d2
inc ecx
cmp ecx, edx
jb 0x1400b83c0
cmp ecx, edx
jne 0x1400b83eb
cmp edx, 0x40
jae 0x1400b83eb
mov eax, ecx
mov qword [rbp + rax*8 + 0x378], rdi
inc dword [rbp + 0x370]
cmp rdi, r8
cmova r8, rdi
lea r13, [rsp + 0x40]
lea r10d, [r8 + 1]
test r15d, r15d
cmovs r13, rbx
mov dword [rsp + 0x30], r10d
test r15d, r15d
jle 0x1400b8439
mov eax, 0x10624dd3
mov ecx, r14d
imul r14d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x40], edx
imul eax, edx, 0x3e8
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x44], eax
jmp 0x1400b8440
jne 0x1400b8440
mov qword [rsp + 0x40], rbx
cmp dword [rbp + 0x160], ebx
lea r8, [rbp + 0x160]
lea rdx, [rsp + 0x50]
cmove r8, rbx
cmp dword [rsp + 0x50], ebx
lea r9, [rbp + 0x370]
mov ecx, r10d
cmove rdx, rbx
mov qword [rsp + 0x20], r13
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x1400b84f2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x1400b8491
cmp dword [0x1402ddb08], ebx
jne 0x1400b84f6
cmp eax, 0x2714
jne 0x1400b84f6
mov r10d, dword [rsp + 0x30]
test r15d, r15d
jle 0x1400b8439
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
sub ecx, eax
mov eax, dword [rsp + 0x3c]
sub eax, edx
imul ecx, ecx, 0x3e8
sub ecx, dword [rsp + 0x38]
imul r14d, eax, 0x3e8
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
sub r14d, edx
add r14d, r15d
test r14d, r14d
jle 0x1400b84fd
mov r10d, dword [rsp + 0x30]
jmp 0x1400b8407
test eax, eax
jns 0x1400b84fb
or eax, 0xffffffff
jmp 0x1400b856c
jne 0x1400b8501
xor eax, eax
jmp 0x1400b856c
cmp r12, 0xffffffffffffffff
je 0x1400b8536
lea rdx, [rsp + 0x50]
mov rcx, r12
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea rdx, [rbp + 0x370]
mov rcx, r12
test eax, eax
mov eax, 1
cmovne ebx, eax
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400b8536
or ebx, 4
cmp rdi, 0xffffffffffffffff
je 0x1400b856a
lea rdx, [rbp + 0x160]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400b8553
or ebx, 2
lea rdx, [rbp + 0x370]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400b856a
or ebx, 4
mov eax, ebx
mov rsi, qword [rsp + 0x6d8]
mov r13, qword [rsp + 0x690]
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.1401bddc0
add rsp, 0x698
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret