Function at 0x14009ceb8
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1048]
mov eax, 0x1148
call fcn.1401cd3c0
sub rsp, rax
mov rax, qword [0x1402e0ed0]
xor rax, rsp
mov qword [rbp + 0x1030], rax
xor ebx, ebx
mov qword [rsp + 0x78], r9
and dword [rbp + 0x5f0], ebx
lea rdi, [rcx + 0x500]
and qword [rsp + 0x58], rbx
xor r13d, r13d
and dword [rbp - 0x70], ebx
mov r12, rcx
xor eax, eax
mov qword [rsp + 0x70], r8
mov dword [rbp - 0x6c], eax
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rcx
mov dword [rsp + 0x68], 0x5265c00
mov qword [rbp - 0x48], rdi
mov rcx, qword [r12 + 0x930]
mov dword [rsp + 0x50], ebx
call fcn.1400a20f8
mov qword [rbp - 0x60], rax
mov r15, rax
test rax, rax
je 0x14009d32c
mov rcx, r15
call fcn.14009abf8
test eax, eax
je 0x14009cf5d
mov r15, qword [r15]
jmp 0x14009cf60
xor r15d, r15d
test r15, r15
je 0x14009d324
cmp qword [r15], 0
je 0x14009d30b
and dword [rbp - 0x40], 0
lea rax, [rsp + 0x68]
and dword [rbp + 0x3e0], 0
lea r9, [rbp + 0x3e0]
and dword [rbp + 0x1d0], 0
lea r8, [rbp + 0x1d0]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov rcx, r15
call qword [r15]
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp - 0x40]
call fcn.1401ce4d0
test eax, eax
jne 0x14009cfff
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x1d0]
call fcn.1401ce4d0
test eax, eax
jne 0x14009cfff
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x3e0]
call fcn.1401ce4d0
test eax, eax
je 0x14009d30b
mov eax, dword [rbp - 0x40]
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x14009d025
mov r8d, eax
lea rdx, [rbp - 0x38]
shl r8, 3
lea rcx, [rbp + 0xe30]
mov ebx, eax
mov edi, eax
call fcn.1401cdcb0
xor r14d, r14d
cmp dword [rbp + 0x1d0], r14d
jle 0x14009d069
lea rsi, [rbp + 0x1d8]
mov rcx, qword [rsi]
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x14009d059
mov rax, qword [rsi]
inc ebx
mov qword [rbp + rdi*8 + 0xe30], rax
inc rdi
inc r14d
add rsi, 8
cmp r14d, dword [rbp + 0x1d0]
jl 0x14009d038
xor esi, esi
cmp dword [rbp + 0x3e0], esi
jle 0x14009d0c4
lea r14, [rbp + 0xe30]
lea r14, [r14 + rdi*8]
lea rdi, [rbp + 0x3e8]
mov rcx, qword [rdi]
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x14009d0b6
mov rcx, qword [rdi]
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x14009d0b6
mov rax, qword [rdi]
inc ebx
mov qword [r14], rax
add r14, 8
inc esi
add rdi, 8
cmp esi, dword [rbp + 0x3e0]
jl 0x14009d085
xor eax, eax
movsxd rcx, ebx
xor r12d, r12d
mov dword [rsp + 0x64], eax
mov qword [rbp - 0x50], rcx
test ebx, ebx
jle 0x14009d307
mov rdx, qword [rbp - 0x80]
and dword [rsp + 0x60], 0
movsxd rbx, eax
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rdi, qword [rsp + 0x70]
test eax, eax
jne 0x14009d185
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rsi, qword [rsp + 0x78]
test eax, eax
jne 0x14009d18a
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x14009d18a
and dword [rbp + 0xc20], eax
lea r9, [rbp + 0xa10]
and dword [rbp + 0xa10], eax
lea r8, [rbp + 0xc20]
mov rax, qword [rbp + r12*8 + 0xe30]
lea rdx, [rbp + 0x800]
mov qword [rbp + 0x808], rax
mov ecx, 0x40
lea rax, [rbp - 0x70]
mov dword [rbp + 0x800], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
xor edi, edi
cmp eax, 0xffffffff
sete dil
mov dword [rsp + 0x60], edi
mov rdi, qword [rsp + 0x70]
jmp 0x14009d18a
mov rsi, qword [rsp + 0x78]
mov rax, qword [r15 + 0x18]
test r13, r13
jne 0x14009d24f
test rax, rax
je 0x14009d1b6
mov r8d, dword [rbp + r12*8 + 0xe30]
lea r9, [rbp - 0x58]
mov rcx, qword [rbp - 0x78]
mov rdx, r15
call rax
mov r14, rax
jmp 0x14009d1ba
mov r14, qword [r15 + 0x30]
mov rbx, qword [rbp + r12*8 + 0xe30]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rdx, rdi
mov rcx, rbx
mov esi, eax
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
cmp dword [rsp + 0x60], 0
lea rcx, [0x1402592a8]
mov qword [rsp + 0x40], r14
lea r9, [0x14026abb4]
mov dword [rsp + 0x38], esi
lea r8, str.__sFD__d___R:__d__W:__d__E:__d_____s_n
cmove r9, rcx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], eax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call fcn.14000118c
movsxd rcx, eax
add qword [rsp + 0x58], rcx
mov ebx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x64]
inc r12
inc eax
mov dword [rsp + 0x64], eax
cmp r12, qword [rbp - 0x50]
jl 0x14009d0dc
jmp 0x14009d30b
test rax, rax
je 0x14009d26b
mov r8d, dword [rbp + r12*8 + 0xe30]
lea r9, [rbp - 0x58]
mov rcx, qword [rbp - 0x78]
mov rdx, r15
call rax
jmp 0x14009d26f
mov rax, qword [r15 + 0x30]
mov rbx, qword [rbp + r12*8 + 0xe30]
mov rdx, rsi
movsxd r14, dword [rsp + 0x50]
mov rcx, rbx
mov qword [rbp - 0x68], rax
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rdx, rdi
mov rcx, rbx
mov esi, eax
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov r8, qword [rbp - 0x68]
lea rcx, [0x1402592a8]
mov rdx, qword [r13 - 0x18]
lea r9, [0x14026abb4]
cmp dword [rsp + 0x60], 0
mov qword [rsp + 0x40], r8
lea r8, str.__sFD__d___R:__d__W:__d__E:__d_____s_n
mov dword [rsp + 0x38], esi
cmove r9, rcx
mov dword [rsp + 0x30], edi
lea rcx, [r14 + r13]
mov dword [rsp + 0x28], eax
sub rdx, r14
mov dword [rsp + 0x20], ebx
call fcn.140001138
test eax, eax
jle 0x14009d22f
mov ebx, dword [rsp + 0x50]
add ebx, eax
mov dword [rsp + 0x50], ebx
jmp 0x14009d233
mov ebx, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x60]
call fcn.1400a20f8
mov qword [rbp - 0x60], rax
mov r15, rax
test rax, rax
jne 0x14009cf4c
mov r12, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x48]
xor r14d, r14d
mov rsi, rdi
cmp r14d, dword [r12 + 0x980]
jge 0x14009d410
mov rcx, qword [rsi]
test rcx, rcx
je 0x14009d3f8
mov rdi, qword [rsi + 0x200]
test rdi, rdi
je 0x14009d3f8
xor r8d, r8d
xor edx, edx
test r13, r13
jne 0x14009d3a9
lea rbx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov r9, qword [rsi]
lea r8, str._H__p___Signaled:__d_____s_n
xor ecx, ecx
mov qword [rsp + 0x28], rbx
test eax, eax
sete cl
xor edx, edx
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call fcn.14000118c
mov rdi, qword [rsp + 0x58]
mov ebx, dword [rsp + 0x50]
movsxd rcx, eax
add rdi, rcx
mov qword [rsp + 0x58], rdi
jmp 0x14009d3fd
movsxd rbx, ebx
add rdi, 0x20
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rdx, qword [r13 - 0x18]
lea rcx, [rbx + r13]
mov r9, qword [rsi]
xor r8d, r8d
test eax, eax
mov qword [rsp + 0x28], rdi
sete r8b
sub rdx, rbx
mov dword [rsp + 0x20], r8d
lea r8, str._H__p___Signaled:__d_____s_n
call fcn.140001138
mov ebx, dword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
test eax, eax
jle 0x14009d3fd
add ebx, eax
mov dword [rsp + 0x50], ebx
jmp 0x14009d3fd
mov rdi, qword [rsp + 0x58]
inc r14d
add rsi, 8
cmp r14d, 0x40
jl 0x14009d332
jmp 0x14009d415
mov rdi, qword [rsp + 0x58]
test r13, r13
jne 0x14009d493
lea rcx, [rdi + 0x400]
mov eax, 0xffffffff
cmp rcx, rax
jae 0x14009d450
mov eax, 0xfffffbff
cmp rax, rdi
je 0x14009d450
mov eax, 0xffffffe7
cmp rcx, rax
jae 0x14009d450
lea rcx, [rdi + 0x418]
call fcn.1401d6c94
mov rcx, rax
jmp 0x14009d452
xor ecx, ecx
lea eax, [rdi + 0x400]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009a9c8
mov r9d, dword [r12 + 0x910]
lea r8, str._Chain_Timeout:__u_milliseconds_n
mov rcx, rax
mov r13, rax
mov rdx, qword [rax - 0x18]
call fcn.140001138
add ebx, eax
lea rdi, [r12 + 0x500]
jmp 0x14009cf2b
movsxd rax, ebx
mov byte [rax + r13], 0
mov rax, r13
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.1401cce50
add rsp, 0x1148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret