Function at 0x1401a2b00
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x60], r8
mov dword [rsp + 0x40], edx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
lea rbx, [rcx + 0x30]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x48], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r13b, 1
mov byte [rsp + 0x50], r13b
cmp byte [rbp + 0x198], 0
jne 0x1401a30af
lea rdi, [rbp + 0x148]
mov rax, qword [rdi]
xor r14d, r14d
mov dword [rax], r14d
mov qword [rdi + 0x10], 0xffffffffffffffff
mov rax, qword [rbp + 0x160]
mov dword [rax], r14d
mov qword [rbp + 0x170], 0xffffffffffffffff
mov rax, qword [rbx + 0x148]
mov dword [rax], r14d
mov qword [rbx + 0x158], 0xffffffffffffffff
mov rbx, qword [rbp + 0x58]
mov ecx, r14d
mov r8, qword [rdi]
mov edx, dword [r8]
test edx, edx
je 0x1401a2bcf
nop dword [rax]
mov eax, ecx
cmp qword [r8 + rax*8 + 8], rbx
je 0x1401a2be8
inc ecx
cmp ecx, edx
jb 0x1401a2bc0
inc edx
mov rcx, rdi
call fcn.14019e350
mov rcx, qword [rdi]
mov eax, dword [rcx]
mov qword [rcx + rax*8 + 8], rbx
mov rax, qword [rdi]
inc dword [rax]
mov r13, r14
mov rbx, qword [rbp + 0x190]
test rbx, rbx
je 0x1401a2c11
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x1401a2d21
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1401a2bf7
xor sil, sil
add rbp, 0x70
mov r14, rdi
mov qword [rsp + 0x58], 3
test sil, sil
jne 0x1401a2c30
cmp qword [rbp + 8], 0
je 0x1401a2c33
mov sil, 1
mov rax, qword [rbp]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401a2ce6
nop dword [rax]
nop word [rax + rax]
lea rdi, [rbx]
mov rbx, qword [rbx]
mov r15, qword [r14]
mov eax, dword [r15]
lea edx, [rax + 1]
mov ecx, dword [r14 + 8]
cmp edx, ecx
jbe 0x1401a2cce
mov eax, ecx
shr eax, 1
add ecx, eax
cmp ecx, edx
cmovae edx, ecx
mov r12d, edx
lea rcx, [rdx*8 + 8]
call fcn.140382738
mov r15, rax
mov rcx, qword [r14]
mov edx, dword [rcx]
mov dword [rax], edx
xor edx, edx
mov r8, qword [r14]
cmp dword [r8], edx
jbe 0x1401a2cbc
nop word [rax + rax]
lea rcx, [rdx*8]
mov rax, qword [rcx + r8 + 8]
mov qword [rcx + r15 + 8], rax
inc edx
mov r8, qword [r14]
cmp edx, dword [r8]
jb 0x1401a2ca0
mov rcx, r8
call fcn.1403831a0
mov qword [r14], r15
mov dword [r14 + 8], r12d
mov eax, dword [r15]
mov rcx, qword [rdi + 0x10]
mov qword [r15 + rax*8 + 8], rcx
mov rax, qword [r14]
inc dword [rax]
cmp rbx, qword [rbp]
jne 0x1401a2c50
cmp qword [r14 + 0x10], r13
cmova r13, qword [r14 + 0x10]
add rbp, 0x38
add r14, 0x18
sub qword [rsp + 0x58], 1
jne 0x1401a2c24
test sil, sil
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x38]
jne 0x1401a2d29
cmp qword [r12 + 0x120], 0
jne 0x1401a2d29
xor bl, bl
jmp 0x1401a2d2b
mov sil, 1
jmp 0x1401a2c14
mov bl, 1
mov r8, rsi
lea rdx, [r12 + 0x110]
lea rcx, [r12 + 0x160]
call fcn.1401a4cf0
mov rax, qword [r12 + 0x170]
cmp rax, r13
cmova r13, rax
lea r15, [r12 + 0x178]
mov r8, rsi
lea rdx, [r12 + 0x110]
mov rcx, r15
call fcn.1401a4cf0
mov rbp, qword [r12 + 0x188]
cmp rbp, r13
cmovbe rbp, r13
mov ecx, dword [rsp + 0x40]
test ecx, ecx
jne 0x1401a2d8c
test bl, bl
je 0x1401a30a7
mov qword [rsp + 0x80], 0
test ecx, ecx
je 0x1401a2df0
mov eax, 0x11e1a300
cmp ecx, eax
cmova ecx, eax
mov rbx, qword [r12 + 0x190]
test rbx, rbx
je 0x1401a2dc9
mov rax, qword [rbx]
mov edx, ecx
mov rcx, rbx
call qword [rax + 0x18]
mov ecx, eax
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1401a2db3
mov eax, 0x431bde83
imul ecx
sar edx, 0x12
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [rsp + 0x80], edx
imul eax, edx, 0xf4240
sub ecx, eax
mov dword [rsp + 0x84], ecx
lea rcx, [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r13b, r13b
mov byte [rsp + 0x50], r13b
mov r9, qword [r15]
mov r8, qword [r12 + 0x160]
mov rdx, qword [r12 + 0x148]
test rdx, rdx
jne 0x1401a2e5d
test r8, r8
jne 0x1401a2e5d
test r9, r9
jne 0x1401a2e5d
mov eax, 0x10624dd3
imul dword [rsp + 0x84]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul eax, dword [rsp + 0x80], 0x3e8
add ecx, eax
mov eax, 1
cmove ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
jmp 0x1401a2f1c
cmp dword [rsp + 0x80], 0
jne 0x1401a2e87
mov ecx, dword [rsp + 0x84]
lea eax, [rcx - 1]
mov r10d, 0x3e8
cmp eax, 0x3e6
cmovbe ecx, r10d
mov dword [rsp + 0x84], ecx
lea ecx, [rbp + 1]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
sets dl
lea rcx, [rsp + 0x68]
call fcn.140181890
test ebx, ebx
jle 0x1401a2f1c
mov rdx, qword [r12 + 0x148]
mov rcx, qword [r12 + 0x58]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1401a2f1c
lea rcx, [r12 + 0x58]
call fcn.1401a0a00
test al, al
jne 0x1401a2f15
lea rcx, [r12 + 0x30]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x50], 1
mov byte [r12 + 0x198], 1
mov rcx, qword [r12 + 0x28]
lock inc dword [rcx + 0x30]
lea rdx, [r12 + 0x1a8]
call fcn.140196480
movzx r13d, byte [rsp + 0x50]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
dec ebx
test r13b, r13b
jne 0x1401a2f2f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r13b, 1
mov byte [rsp + 0x50], r13b
test ebx, ebx
jle 0x1401a307a
mov r8, rsi
lea rdx, [r12 + 0x110]
mov rcx, r15
call fcn.140195f50
mov r8, rsi
lea rdx, [r12 + 0x110]
lea rcx, [r12 + 0x160]
call fcn.140195f50
mov r12d, 2
mov rbp, qword [rsp + 0x38]
add rbp, 0xe0
nop dword [rax]
nop dword [rax + rax]
xor r14d, r14d
mov rcx, qword [r15]
cmp dword [rcx], r14d
jbe 0x1401a3063
nop
mov r8, qword [rcx + r14*8 + 8]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x1401a3054
xor edx, edx
mov rax, r8
div rcx
add rdx, rdx
mov rax, qword [rbp + 0x20]
mov rbx, qword [rax + rdx*8]
cmp rbx, qword [rbp]
je 0x1401a3054
mov rax, qword [rax + rdx*8 + 8]
mov rcx, qword [rax]
cmp rbx, rcx
je 0x1401a3054
cmp qword [rbx + 0x10], r8
je 0x1401a2fe3
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rcx
jne 0x1401a2fd0
jmp 0x1401a3054
cmp rbx, qword [rbp]
je 0x1401a3054
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x1401a3048
mov rax, qword [rdi + 0x60]
mov rcx, rdi
call rax
test eax, eax
je 0x1401a3054
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401a3021
mov rax, qword [rcx + 0x20]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x1401a3019
mov qword [rbx + 0x20], rax
mov qword [rcx + 0x20], 0
mov qword [rdi + 0x20], 0
mov rax, qword [rsi + 8]
test rax, rax
je 0x1401a3038
mov qword [rax + 0x20], rdi
jmp 0x1401a303b
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov rdi, qword [rbx + 0x18]
test rdi, rdi
jne 0x1401a2ff2
lea rcx, [rbp - 8]
mov rdx, rbx
call fcn.140180500
inc r14d
mov rcx, qword [r15]
cmp r14d, dword [rcx]
jb 0x1401a2f90
sub r15, 0x18
sub rbp, 0x38
sub r12, 1
jns 0x1401a2f80
mov r12, qword [rsp + 0x38]
mov rbx, qword [r12 + 0x190]
test rbx, rbx
je 0x1401a30aa
nop word [rax + rax]
mov rax, qword [rbx]
mov rdx, rsi
mov rcx, rbx
call qword [rax + 0x20]
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1401a3090
jmp 0x1401a30aa
mov r13b, 1
mov rbx, qword [rsp + 0x30]
test r13b, r13b
je 0x1401a30bd
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140382da0
mov rbx, qword [rsp + 0xe8]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret