Function at 0x1400a1a94
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.1401d9480
sub rsp, rax
mov rax, qword [0x1402feed0]
xor rax, rsp
mov qword [rbp + 0x1030], rax
xor ebx, ebx
mov qword [rsp + 0x78], r9
and dword [rbp + 0x5f0], ebx
lea rdi, [rcx + 0x520]
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 + 0x950]
mov dword [rsp + 0x50], ebx
call fcn.1400a6eb8
mov qword [rbp - 0x60], rax
mov r15, rax
test rax, rax
je 0x1400a1f08
mov rcx, r15
call fcn.14009f278
test eax, eax
je 0x1400a1b39
mov r15, qword [r15]
jmp 0x1400a1b3c
xor r15d, r15d
test r15, r15
je 0x1400a1f00
cmp qword [r15], 0
je 0x1400a1ee7
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.1401da590
test eax, eax
jne 0x1400a1bdb
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x1d0]
call fcn.1401da590
test eax, eax
jne 0x1400a1bdb
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x3e0]
call fcn.1401da590
test eax, eax
je 0x1400a1ee7
mov eax, dword [rbp - 0x40]
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x1400a1c01
mov r8d, eax
lea rdx, [rbp - 0x38]
shl r8, 3
lea rcx, [rbp + 0xe30]
mov ebx, eax
mov edi, eax
call fcn.1401d9d70
xor r14d, r14d
cmp dword [rbp + 0x1d0], r14d
jle 0x1400a1c45
lea rsi, [rbp + 0x1d8]
mov rcx, qword [rsi]
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a1c35
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 0x1400a1c14
xor esi, esi
cmp dword [rbp + 0x3e0], esi
jle 0x1400a1ca0
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 0x1400a1c92
mov rcx, qword [rdi]
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a1c92
mov rax, qword [rdi]
inc ebx
mov qword [r14], rax
add r14, 8
inc esi
add rdi, 8
cmp esi, dword [rbp + 0x3e0]
jl 0x1400a1c61
xor eax, eax
movsxd rcx, ebx
xor r12d, r12d
mov dword [rsp + 0x64], eax
mov qword [rbp - 0x50], rcx
test ebx, ebx
jle 0x1400a1ee3
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 0x1400a1d61
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rsi, qword [rsp + 0x78]
test eax, eax
jne 0x1400a1d66
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a1d66
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 0x1400a1d66
mov rsi, qword [rsp + 0x78]
mov rax, qword [r15 + 0x18]
test r13, r13
jne 0x1400a1e2b
test rax, rax
je 0x1400a1d92
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 0x1400a1d96
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, [0x140265288]
mov qword [rsp + 0x40], r14
lea r9, [0x1402776b4]
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 0x1400a1cb8
jmp 0x1400a1ee7
test rax, rax
je 0x1400a1e47
mov r8d, dword [rbp + r12*8 + 0xe30]
lea r9, [rbp - 0x58]
mov rcx, qword [rbp - 0x78]
mov rdx, r15
call rax
jmp 0x1400a1e4b
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, [0x140265288]
mov rdx, qword [r13 - 0x18]
lea r9, [0x1402776b4]
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 0x1400a1e0b
mov ebx, dword [rsp + 0x50]
add ebx, eax
mov dword [rsp + 0x50], ebx
jmp 0x1400a1e0f
mov ebx, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x60]
call fcn.1400a6edc
mov qword [rbp - 0x60], rax
mov r15, rax
test rax, rax
jne 0x1400a1b28
mov r12, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x48]
xor r14d, r14d
mov rsi, rdi
cmp r14d, dword [r12 + 0x9a0]
jge 0x1400a1fec
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400a1fd4
mov rdi, qword [rsi + 0x200]
test rdi, rdi
je 0x1400a1fd4
xor r8d, r8d
xor edx, edx
test r13, r13
jne 0x1400a1f85
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 0x1400a1fd9
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 0x1400a1fd9
add ebx, eax
mov dword [rsp + 0x50], ebx
jmp 0x1400a1fd9
mov rdi, qword [rsp + 0x58]
inc r14d
add rsi, 8
cmp r14d, 0x40
jl 0x1400a1f0e
jmp 0x1400a1ff1
mov rdi, qword [rsp + 0x58]
test r13, r13
jne 0x1400a206f
lea rcx, [rdi + 0x400]
mov eax, 0xffffffff
cmp rcx, rax
jae 0x1400a202c
mov eax, 0xfffffbff
cmp rax, rdi
je 0x1400a202c
mov eax, 0xffffffe7
cmp rcx, rax
jae 0x1400a202c
lea rcx, [rdi + 0x418]
call fcn.1401e2d40
mov rcx, rax
jmp 0x1400a202e
xor ecx, ecx
lea eax, [rdi + 0x400]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009f048
mov r9d, dword [r12 + 0x930]
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 + 0x520]
jmp 0x1400a1b07
movsxd rax, ebx
mov byte [rax + r13], 0
mov rax, r13
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.1401d8f10
add rsp, 0x1148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret