Function at 0x1400a1ddc
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.1401d9d90
sub rsp, rax
mov rax, qword [0x140301ed0]
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.1400a7200
mov qword [rbp - 0x60], rax
mov r15, rax
test rax, rax
je 0x1400a2250
mov rcx, r15
call fcn.14009f5c0
test eax, eax
je 0x1400a1e81
mov r15, qword [r15]
jmp 0x1400a1e84
xor r15d, r15d
test r15, r15
je 0x1400a2248
cmp qword [r15], 0
je 0x1400a222f
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.1401daea0
test eax, eax
jne 0x1400a1f23
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x1d0]
call fcn.1401daea0
test eax, eax
jne 0x1400a1f23
mov r8d, 0x208
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0x3e0]
call fcn.1401daea0
test eax, eax
je 0x1400a222f
mov eax, dword [rbp - 0x40]
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x1400a1f49
mov r8d, eax
lea rdx, [rbp - 0x38]
shl r8, 3
lea rcx, [rbp + 0xe30]
mov ebx, eax
mov edi, eax
call fcn.1401da680
xor r14d, r14d
cmp dword [rbp + 0x1d0], r14d
jle 0x1400a1f8d
lea rsi, [rbp + 0x1d8]
mov rcx, qword [rsi]
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a1f7d
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 0x1400a1f5c
xor esi, esi
cmp dword [rbp + 0x3e0], esi
jle 0x1400a1fe8
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 0x1400a1fda
mov rcx, qword [rdi]
lea rdx, [rbp + 0x1d0]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a1fda
mov rax, qword [rdi]
inc ebx
mov qword [r14], rax
add r14, 8
inc esi
add rdi, 8
cmp esi, dword [rbp + 0x3e0]
jl 0x1400a1fa9
xor eax, eax
movsxd rcx, ebx
xor r12d, r12d
mov dword [rsp + 0x64], eax
mov qword [rbp - 0x50], rcx
test ebx, ebx
jle 0x1400a222b
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 0x1400a20a9
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov rsi, qword [rsp + 0x78]
test eax, eax
jne 0x1400a20ae
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x1400a20ae
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 0x1400a20ae
mov rsi, qword [rsp + 0x78]
mov rax, qword [r15 + 0x18]
test r13, r13
jne 0x1400a2173
test rax, rax
je 0x1400a20da
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 0x1400a20de
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, [0x1402662c8]
mov qword [rsp + 0x40], r14
lea r9, [0x1402789e4]
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 0x1400a2000
jmp 0x1400a222f
test rax, rax
je 0x1400a218f
mov r8d, dword [rbp + r12*8 + 0xe30]
lea r9, [rbp - 0x58]
mov rcx, qword [rbp - 0x78]
mov rdx, r15
call rax
jmp 0x1400a2193
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, [0x1402662c8]
mov rdx, qword [r13 - 0x18]
lea r9, [0x1402789e4]
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 0x1400a2153
mov ebx, dword [rsp + 0x50]
add ebx, eax
mov dword [rsp + 0x50], ebx
jmp 0x1400a2157
mov ebx, dword [rsp + 0x50]
mov rcx, qword [rbp - 0x60]
call fcn.1400a7224
mov qword [rbp - 0x60], rax
mov r15, rax
test rax, rax
jne 0x1400a1e70
mov r12, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x48]
xor r14d, r14d
mov rsi, rdi
cmp r14d, dword [r12 + 0x9a0]
jge 0x1400a2334
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400a231c
mov rdi, qword [rsi + 0x200]
test rdi, rdi
je 0x1400a231c
xor r8d, r8d
xor edx, edx
test r13, r13
jne 0x1400a22cd
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 0x1400a2321
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 0x1400a2321
add ebx, eax
mov dword [rsp + 0x50], ebx
jmp 0x1400a2321
mov rdi, qword [rsp + 0x58]
inc r14d
add rsi, 8
cmp r14d, 0x40
jl 0x1400a2256
jmp 0x1400a2339
mov rdi, qword [rsp + 0x58]
test r13, r13
jne 0x1400a23b7
lea rcx, [rdi + 0x400]
mov eax, 0xffffffff
cmp rcx, rax
jae 0x1400a2374
mov eax, 0xfffffbff
cmp rax, rdi
je 0x1400a2374
mov eax, 0xffffffe7
cmp rcx, rax
jae 0x1400a2374
lea rcx, [rdi + 0x418]
call fcn.1401e3650
mov rcx, rax
jmp 0x1400a2376
xor ecx, ecx
lea eax, [rdi + 0x400]
xor r9d, r9d
movsxd rdx, eax
xor r8d, r8d
call fcn.14009f390
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 0x1400a1e4f
movsxd rax, ebx
mov byte [rax + r13], 0
mov rax, r13
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.1401d9820
add rsp, 0x1148
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret