Function at 0x140067860
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x670
xor edi, edi
cmp rcx, 0xffffffffffffffff
mov esi, r9d
mov r13, r8
mov rbp, rdx
mov r12, rcx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], edi
mov r14d, edi
jne 0x1400678d1
cmp rdx, rcx
jne 0x1400678d1
cmp r8, rcx
jne 0x1400678d1
test r9d, r9d
je 0x1400678ca
test r9d, r9d
jns 0x1400678c1
mov ecx, 0x2726
call qword [sym.imp.WS2_32.dll_WSASetLastError]
or edi, r12d
mov eax, edi
jmp 0x140067bca
mov ecx, r9d
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, edi
jmp 0x140067bca
test r9d, r9d
mov qword [rsp + 0x6a8], rbx
mov qword [rsp + 0x6b0], r15
jle 0x1400678f3
mov r14d, r9d
call fcn.140075010
mov rbx, rax
jmp 0x1400678f8
mov rbx, qword [rsp + 0x30]
or r8, 0xffffffffffffffff
mov ecx, edi
mov r9d, edi
cmp r12, r8
lea eax, [r8 + 2]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x250], edi
je 0x140067935
mov qword [rsp + 0x258], r12
mov r9d, eax
mov dword [rsp + 0x250], eax
mov qword [rsp + 0x48], r12
mov ecx, eax
mov dword [rsp + 0x40], eax
mov r8, r12
cmp rbp, 0xffffffffffffffff
je 0x1400679c8
test r9d, r9d
mov eax, edi
je 0x140067961
lea rdx, [rsp + 0x258]
nop
cmp qword [rdx], rbp
je 0x140067961
add eax, 1
add rdx, 8
cmp eax, r9d
jb 0x140067950
cmp eax, r9d
jne 0x140067988
cmp r9d, 0x40
jae 0x140067988
mov qword [rsp + rax*8 + 0x258], rbp
mov r9d, dword [rsp + 0x250]
add r9d, 1
mov dword [rsp + 0x250], r9d
test ecx, ecx
mov eax, edi
je 0x1400679a3
lea rdx, [rsp + 0x48]
cmp qword [rdx], rbp
je 0x1400679a3
add eax, 1
add rdx, 8
cmp eax, ecx
jb 0x140067993
cmp eax, ecx
jne 0x1400679bc
cmp ecx, 0x40
jae 0x1400679bc
mov qword [rsp + rax*8 + 0x48], rbp
mov ecx, dword [rsp + 0x40]
add ecx, 1
mov dword [rsp + 0x40], ecx
cmp rbp, r8
mov eax, 1
cmova r8, rbp
cmp r13, 0xffffffffffffffff
mov dword [rsp + 0x460], edi
je 0x140067a1a
test ecx, ecx
mov dword [rsp + 0x460], eax
mov qword [rsp + 0x468], r13
mov eax, edi
je 0x140067a00
lea rdx, [rsp + 0x48]
nop
cmp qword [rdx], r13
je 0x140067a00
add eax, 1
add rdx, 8
cmp eax, ecx
jb 0x1400679f0
cmp eax, ecx
jne 0x140067a13
cmp ecx, 0x40
jae 0x140067a13
mov qword [rsp + rax*8 + 0x48], r13
add dword [rsp + 0x40], 1
cmp r13, r8
cmova r8, r13
lea r15, [rsp + 0x30]
lea ecx, [r8 + 1]
test esi, esi
cmovs r15, rdi
mov dword [rsp + 0x38], ecx
nop
test esi, esi
jle 0x140067a61
mov eax, 0x10624dd3
imul r14d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r14d
mov dword [rsp + 0x30], edx
imul edx, edx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x34], eax
jmp 0x140067a6d
test esi, esi
jne 0x140067a6d
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], edi
cmp dword [rsp + 0x460], edi
lea r8, [rsp + 0x460]
lea rdx, [rsp + 0x250]
cmove r8, rdi
test r9d, r9d
lea r9, [rsp + 0x40]
cmove rdx, rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
mov r12d, eax
jne 0x140067b01
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x140067ac0
cmp dword [0x14023f428], edi
jne 0x140067b01
cmp eax, 0x2714
jne 0x140067b01
test esi, esi
jg 0x140067ad5
mov r9d, dword [rsp + 0x250]
mov ecx, dword [rsp + 0x38]
jmp 0x140067a30
call fcn.140075010
mov rdx, rbx
mov rcx, rax
call fcn.140075050
mov r14d, esi
sub r14d, eax
test r14d, r14d
jle 0x140067b13
mov r9d, dword [rsp + 0x250]
mov ecx, dword [rsp + 0x38]
jmp 0x140067a30
test r12d, r12d
jns 0x140067b0e
or eax, 0xffffffff
jmp 0x140067bba
test r12d, r12d
jne 0x140067b1a
xor eax, eax
jmp 0x140067bba
mov rbx, qword [rsp + 0x6a0]
cmp rbx, 0xffffffffffffffff
je 0x140067b56
lea rdx, [rsp + 0x250]
mov rcx, rbx
call sub.WS2_32.dll___WSAFDIsSet
lea rdx, [rsp + 0x40]
mov rcx, rbx
test eax, eax
mov eax, 1
cmovne edi, eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140067b56
or edi, 4
cmp rbp, 0xffffffffffffffff
je 0x140067b87
lea rdx, [rsp + 0x250]
mov rcx, rbp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140067b73
or edi, 8
lea rdx, [rsp + 0x40]
mov rcx, rbp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140067b87
or edi, 4
cmp r13, 0xffffffffffffffff
je 0x140067bb8
lea rdx, [rsp + 0x460]
mov rcx, r13
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140067ba4
or edi, 2
lea rdx, [rsp + 0x40]
mov rcx, r13
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x140067bb8
or edi, 4
mov eax, edi
mov rbx, qword [rsp + 0x6a8]
mov r15, qword [rsp + 0x6b0]
mov rbp, qword [rsp + 0x6b8]
add rsp, 0x670
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret