Function at 0x1800293d0
Capabilities:
Get socket status

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x670
xor edi, edi
mov esi, r9d
mov r12, r8
mov rbp, rdx
mov r15, rcx
mov dword [rax + 8], edi
mov dword [rax + 0xc], edi
mov r13d, edi
cmp rcx, 0xffffffffffffffff
jne 0x18002941a
cmp rdx, rcx
jne 0x18002941a
cmp r8, rcx
jne 0x18002941a
mov ecx, r9d
call fcn.1800293a0
jmp 0x180029713
mov qword [rsp + 0x6a8], rbx
mov qword [rsp + 0x6b0], r14
test r9d, r9d
jle 0x18002943c
mov r13d, r9d
call fcn.180033510
mov rbx, rax
jmp 0x180029444
mov rbx, qword [rsp + 0x6a0]
or r8, 0xffffffffffffffff
mov ecx, edi
mov r9d, edi
lea eax, [r8 + 2]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x250], edi
cmp r15, r8
je 0x180029481
mov qword [rsp + 0x258], r15
mov r9d, eax
mov dword [rsp + 0x250], eax
mov qword [rsp + 0x48], r15
mov ecx, eax
mov dword [rsp + 0x40], eax
mov r8, r15
cmp rbp, 0xffffffffffffffff
je 0x180029514
mov eax, edi
test r9d, r9d
je 0x1800294b0
lea rdx, [rsp + 0x258]
nop word [rax + rax]
cmp qword [rdx], rbp
je 0x1800294b0
inc eax
add rdx, 8
cmp eax, r9d
jb 0x1800294a0
cmp eax, r9d
jne 0x1800294d6
cmp r9d, 0x40
jae 0x1800294d6
mov qword [rsp + rax*8 + 0x258], rbp
mov r9d, dword [rsp + 0x250]
inc r9d
mov dword [rsp + 0x250], r9d
mov eax, edi
test ecx, ecx
je 0x1800294f0
lea rdx, [rsp + 0x48]
cmp qword [rdx], rbp
je 0x1800294f0
inc eax
add rdx, 8
cmp eax, ecx
jb 0x1800294e1
cmp eax, ecx
jne 0x180029508
cmp ecx, 0x40
jae 0x180029508
mov qword [rsp + rax*8 + 0x48], rbp
mov ecx, dword [rsp + 0x40]
inc ecx
mov dword [rsp + 0x40], ecx
cmp rbp, r8
mov eax, 1
cmova r8, rbp
mov dword [rsp + 0x460], edi
cmp r12, 0xffffffffffffffff
je 0x180029568
mov dword [rsp + 0x460], eax
mov qword [rsp + 0x468], r12
mov eax, edi
test ecx, ecx
je 0x18002954f
lea rdx, [rsp + 0x48]
nop dword [rax + rax]
cmp qword [rdx], r12
je 0x18002954f
inc eax
add rdx, 8
cmp eax, ecx
jb 0x180029540
cmp eax, ecx
jne 0x180029561
cmp ecx, 0x40
jae 0x180029561
mov qword [rsp + rax*8 + 0x48], r12
inc dword [rsp + 0x40]
cmp r12, r8
cmova r8, r12
lea r14, [rsp + 0x30]
lea ecx, [r8 + 1]
test esi, esi
cmovs r14, rdi
mov dword [rsp + 0x6a0], ecx
nop
test esi, esi
jle 0x1800295b1
mov eax, 0x10624dd3
imul r13d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, r13d
mov dword [rsp + 0x30], edx
imul edx, edx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x34], eax
jmp 0x1800295bd
test esi, esi
jne 0x1800295bd
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], r14
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x180029654
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x18002960d
cmp dword [0x1800ae518], edi
jne 0x180029658
cmp eax, 0x2714
jne 0x180029658
test esi, esi
jg 0x180029625
mov r9d, dword [rsp + 0x250]
mov ecx, dword [rsp + 0x6a0]
jmp 0x180029580
call fcn.180033510
mov rdx, rbx
mov rcx, rax
call fcn.180033550
mov r13d, esi
sub r13d, eax
test r13d, r13d
jle 0x180029664
mov r9d, dword [rsp + 0x250]
mov ecx, dword [rsp + 0x6a0]
jmp 0x180029580
test eax, eax
jns 0x180029660
or eax, 0xffffffff
jmp 0x180029703
test eax, eax
jne 0x18002966b
xor eax, eax
jmp 0x180029703
cmp r15, 0xffffffffffffffff
je 0x18002969f
lea rdx, [rsp + 0x250]
mov rcx, r15
call sub.WS2_32.dll___WSAFDIsSet
lea rdx, [rsp + 0x40]
mov rcx, r15
test eax, eax
mov eax, 1
cmovne edi, eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x18002969f
or edi, 4
cmp rbp, 0xffffffffffffffff
je 0x1800296d0
lea rdx, [rsp + 0x250]
mov rcx, rbp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1800296bc
or edi, 8
lea rdx, [rsp + 0x40]
mov rcx, rbp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1800296d0
or edi, 4
cmp r12, 0xffffffffffffffff
je 0x180029701
lea rdx, [rsp + 0x460]
mov rcx, r12
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1800296ed
or edi, 2
lea rdx, [rsp + 0x40]
mov rcx, r12
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x180029701
or edi, 4
mov eax, edi
mov rbx, qword [rsp + 0x6a8]
mov r14, qword [rsp + 0x6b0]
mov rbp, qword [rsp + 0x6b8]
add rsp, 0x670
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret