Function at 0x180009265
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x68
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.180009e0b
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x20]
call fcn.180009da1
add rsp, 0x20
sub rsp, 0x30
mov rcx, qword [rbp + 0x10]
mov rdx, 0
lea r8, [rbp - 0x60]
mov r9, 0
mov qword [rsp + 0x20], 0
call fcn.1800039d2
add rsp, 0x30
sub rsp, 0x30
mov rcx, 0
lea rdx, [rbp - 0x60]
mov r8, 0
mov r9, 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ws2_32.dll_select]
add rsp, 0x30
cmp rax, 1
jne 0x180009563
sub rsp, 0x20
mov rcx, qword [rbp + 0x10]
lea rdx, [rbp - 0x80]
mov r8, qword [rbp + 0x18]
call fcn.1800097e3
add rsp, 0x20
test eax, eax
jle 0x18000956a
mov rsi, rax
sub rsp, 0x20
lea rcx, [rbp - 0x88]
mov rdx, qword [rbp - 0x90]
mov r8, qword [rbp - 0x80]
mov r9, rax
call fcn.180009c21
add rsp, 0x20
sub rsp, 0x20
lea rcx, [rbp - 0x80]
call fcn.180009da1
add rsp, 0x20
add qword [rbp - 0x90], rsi
mov rax, qword [rbp - 0x90]
xor rdx, rdx
mov rcx, 0x202
div rcx
cmp rax, 0
jbe 0x180009561
cmp rdx, 0
jne 0x180009561
mov rsi, qword [rbp - 0x88]
mov rdi, qword [rbp - 0x88]
mov rbx, qword [rbp + 0x40]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
or dword [rbp - 0x98], 0x80000000
jmp 0x180009554
cmp dword [rsi], 0x1000080
jne 0x180009549
mov r12, qword [rbp + 0x30]
mov r13, qword [rbp + 0x38]
sub rsp, 0x40
mov rcx, qword [rbp + 0x28]
mov rdx, qword [r12 + 8]
mov r8, qword [r12 + 0x18]
mov r9, qword [r12 + 0x28]
lea rax, [rsi + 5]
mov qword [rsp + 0x20], rax
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x30], rax
call fcn.180008133
add rsp, 0x40
inc qword [rbx]
mov rax, qword [rbp + 0x58]
cmp byte [rsi + 4], 3
jne 0x180009549
cmp dword [rsi + 5], 2
jne 0x180009549
cmp dword [rsi + 9], eax
jne 0x180009549
movzx ecx, byte [rsi + 0xf]
mov ch, byte [rsi + 0xe]
add dword [rbp - 0x98], ecx
mov r12, rcx
sub rsp, 0x20
lea rcx, [rsi + 0x10]
mov rdx, rdi
mov r8, r12
call fcn.180009fab
add rsp, 0x20
add rdi, r12
mov rdx, qword [rbp + 0x50]
inc qword [rdx]
cmp qword [rdx], 0x64
je 0x18000947e
cmp qword [rdx], 0x32
jne 0x180009549
cmp qword [rdx], 0x64
jne 0x1800094ea
mov qword [rdx], 0
sub rsp, 0x60
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x60]
mov r9, 0
mov qword [rsp + 0x20], 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 5
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
call fcn.18000323e
add rsp, 0x60
sub rsp, 0x60
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x60]
mov r9, 0
mov qword [rsp + 0x20], 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 5
mov rax, qword [rbp + 0x48]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x50], rax
call fcn.18000323e
add rsp, 0x60
add rsi, 0x202
dec qword [rbp - 0x70]
cmp qword [rbp - 0x70], 0
ja 0x1800093cb
jmp 0x18000956a
jmp 0x180009565
jmp 0x18000956a
jmp 0x1800092b6
cmp dword [rbp - 0x98], 0x80000000
jbe 0x180009580
and dword [rbp - 0x98], 0x7fffffff
sub rsp, 0x20
lea rcx, [rbp - 0x88]
mov rdx, qword [rbp + 0x20]
mov r8, 8
call fcn.180009fab
add rsp, 0x20
mov eax, dword [rbp - 0x98]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret