Function at 0x1400a2598
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.1401da3f0
sub rsp, rax
mov rax, qword [0x14030cf00]
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 qword [rbp - 0x60], rbx
mov r12, rcx
mov qword [rsp + 0x70], r8
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.1400a8360
mov qword [rbp - 0x68], rax
mov r15, rax
test rax, rax
je 0x1400a2a07
mov rcx, r15
call fcn.14009fccc
test eax, eax
je 0x1400a29ff
mov r15, qword [r15]
test r15, r15
je 0x1400a29ff
cmp qword [r15], 0
je 0x1400a29e6
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.14020e9d0
test eax, eax
jne 0x1400a26da
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x1d0]
call fcn.14020e9d0
test eax, eax
jne 0x1400a26da
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x3e0]
call fcn.14020e9d0
test eax, eax
je 0x1400a29e6
mov eax, dword [rbp - 0x40]
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x1400a2700
mov r8d, eax
lea rdx, [rbp - 0x38]
shl r8, 3
lea rcx, [rbp + 0xe30]
mov ebx, eax
mov edi, eax
call fcn.14020df90
xor r14d, r14d
cmp dword [rbp + 0x1d0], r14d
jle 0x1400a2744
lea rsi, [rbp + 0x1d8]
mov rcx, qword [rsi]
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a2734
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 0x1400a2713
xor esi, esi
cmp dword [rbp + 0x3e0], esi
jle 0x1400a279f
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 0x1400a2791
mov rcx, qword [rdi]
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a2791
mov rax, qword [rdi]
inc ebx
mov qword [r14], rax
add r14, 8
inc esi
add rdi, 8
cmp esi, dword [rbp + 0x3e0]
jl 0x1400a2760
xor eax, eax
movsxd rcx, ebx
xor r12d, r12d
mov dword [rsp + 0x64], eax
mov qword [rbp - 0x50], rcx
test ebx, ebx
jle 0x1400a29e2
mov rdx, qword [rbp - 0x80]
and dword [rsp + 0x60], 0
mov ecx, eax
mov ebx, eax
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rdi, qword [rsp + 0x70]
test eax, eax
jne 0x1400a285c
mov rdx, rdi
mov ecx, ebx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rsi, qword [rsp + 0x78]
test eax, eax
jne 0x1400a2861
mov rdx, rsi
mov ecx, ebx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a2861
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 - 0x60]
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 0x1400a2861
mov rsi, qword [rsp + 0x78]
mov rax, qword [r15 + 0x18]
test r13, r13
jne 0x1400a2928
test rax, rax
je 0x1400a288d
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 0x1400a2891
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, [0x14026eda8]
mov qword [rsp + 0x40], r14
lea r9, [0x140281894]
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
mov eax, ebx
call fcn.140001168
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 0x1400a27b7
jmp 0x1400a29e6
test rax, rax
je 0x1400a2944
mov r8d, dword [rbp + r12*8 + 0xe30]
lea r9, [rbp - 0x58]
mov rcx, qword [rbp - 0x78]
mov rdx, r15
call rax
jmp 0x1400a2948
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 - 0x70], 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 - 0x70]
lea rcx, [0x14026eda8]
mov rdx, qword [r13 - 0x18]
lea r9, [0x140281894]
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 eax, ebx
mov dword [rsp + 0x20], ebx
call fcn.140001114
test eax, eax
jle 0x1400a2908
mov ebx, dword [rsp + 0x50]
add ebx, eax
mov dword [rsp + 0x50], ebx
jmp 0x1400a290c
mov ebx, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x68]
call fcn.1400a8384
mov qword [rbp - 0x68], rax
mov r15, rax
test rax, rax
jne 0x1400a2628
mov r12, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x48]
xor esi, esi
cmp esi, dword [r12 + 0x9a0]
jge 0x1400a2ae0
mov r14, qword [rdi]
test r14, r14
je 0x1400a2aca
mov rax, qword [rdi + 0x200]
test rax, rax
je 0x1400a2aca
xor r8d, r8d
lea r15, [rax + 0x20]
xor edx, edx
mov rcx, r14
test r13, r13
jne 0x1400a2a7f
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov r9, qword [rdi]
lea r8, str._H__p___Signaled:__d_____s_n
xor ecx, ecx
mov qword [rsp + 0x28], r15
test eax, eax
sete cl
xor edx, edx
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call fcn.140001168
mov r14, qword [rsp + 0x58]
movsxd rcx, eax
add r14, rcx
mov qword [rsp + 0x58], r14
jmp 0x1400a2acf
movsxd rbx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rdx, qword [r13 - 0x18]
lea rcx, [rbx + r13]
xor r8d, r8d
mov qword [rsp + 0x28], r15
test eax, eax
mov r9, r14
sete r8b
sub rdx, rbx
mov dword [rsp + 0x20], r8d
lea r8, str._H__p___Signaled:__d_____s_n
call fcn.140001114
mov ebx, dword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
test eax, eax
jle 0x1400a2acf
add ebx, eax
mov dword [rsp + 0x50], ebx
jmp 0x1400a2acf
mov r14, qword [rsp + 0x58]
inc esi
add rdi, 8
cmp esi, 0x40
jl 0x1400a2a09
jmp 0x1400a2ae5
mov r14, qword [rsp + 0x58]
test r13, r13
jne 0x1400a2b64
lea rcx, [r14 + 0x400]
mov eax, 0xffffffff
cmp rcx, rax
jae 0x1400a2b20
mov eax, 0xfffffbff
cmp rax, r14
je 0x1400a2b20
mov eax, 0xffffffe7
cmp rcx, rax
jae 0x1400a2b20
lea rcx, [r14 + 0x418]
call fcn.1401ea40c
mov rcx, rax
jmp 0x1400a2b22
xor ecx, ecx
lea eax, [r14 + 0x400]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009faa0
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.140001114
add ebx, eax
lea rdi, [r12 + 0x520]
jmp 0x1400a2607
movsxd rax, ebx
mov byte [rax + r13], 0
mov rax, r13
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.1401d9e80
add rsp, 0x1148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret