Function at 0x180010bb0
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push r12
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1800b7160]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor esi, esi
mov dword [rsp + 0x68], 0xf689d7c8
mov r12d, esi
mov dword [rsp + 0x6c], 0x436b6f1f
mov r15d, esi
mov dword [rsp + 0x70], 0x4fe5538a
mov rbx, rcx
mov dword [rsp + 0x74], 0x22c351e3
mov dword [rsp + 0x50], 1
movzx eax, byte [0x1800b78f0]
test al, al
js 0x18003bb0a
mov r9d, dword [rbx + 0x234]
mov qword [rsp + 0x2d8], rdi
mov qword [rsp + 0x2e0], r13
mov qword [rsp + 0x2e8], r14
test r9d, r9d
je 0x18003bb3b
mov rax, qword [rbx + 0x10]
mov ecx, esi
mov dword [rbp - 0x80], ecx
test rax, rax
jne 0x18003bb59
mov r8, qword [rbx + 0x18]
test r8, r8
je 0x180010c7f
mov edx, esi
test ecx, ecx
jne 0x18003bb6a
cmp edx, ecx
jne 0x180010c7f
cmp ecx, 0x40
jae 0x180010c7f
mov eax, edx
mov qword [rbp + rax*8 - 0x78], r8
mov ecx, dword [rbp - 0x80]
inc ecx
mov dword [rbp - 0x80], ecx
test ecx, ecx
je 0x18003bb82
cmp r9d, 0x7530
ja 0x18003bba1
mov eax, dword [rbx + 0x210]
lea r13, [rbx + 0x26c]
cmp eax, 0x5c0
jb 0x18003bbb6
mov eax, 0x17
cmp qword [rbx + 0x118], rsi
je 0x18003bbe0
mov edi, esi
cmp ecx, 1
jne 0x18003bca0
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180010cee
lea rdx, [rbp - 0x80]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
nop dword [rax + rax]
test eax, eax
mov eax, 0x17
je 0x180010cee
lea edi, [rax - 0x16]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x18003bcc8
test edi, edi
je 0x18003bd0a
mov r14d, eax
mov rax, qword [rbx + 0x18]
mov qword [rbx + 0xb8], rax
mov rcx, qword [rbx + 0x110]
mov rsi, qword [rcx + 0x30]
cmp r14d, 2
je 0x18003bd21
mov rax, qword [rsi + 0x1b8]
mov edx, 0x120
mov qword [rsi + 0x1c0], rax
lea r12, [rdx + rsi]
mov r8d, dword [rbx + 0x234]
lea rax, [rsp + 0x50]
mov rdx, qword [rbx + 0xb8]
mov r15d, 1
mov qword [rsp + 0x20], rax
call fcn.180011490
mov edi, eax
test eax, eax
jne 0x18003bd32
mov rax, qword [rsi + 0x1c0]
cmp r14d, 2
je 0x18003bd59
mov qword [rsi + 0x1b8], rax
cmp dword [rsp + 0x50], 0
je 0x180010ea2
xor esi, esi
cmp dword [rbx + 0x200], 0
je 0x180010da3
cmp word [rbx + 0x2c], 2
je 0x18003bd65
test byte [0x1800b78f1], 4
jne 0x18003bd92
mov eax, dword [rbx + 0x210]
lea rdi, [rbx + 0xc8]
mov qword [rsp + 0x40], rsi
lea rcx, [rbx + 0x100]
mov dword [rcx], eax
lea r8, [rsp + 0x68]
lea rax, [rbx + 0x2c]
mov qword [rsp + 0x38], rsi
mov qword [rdi], rax
mov r9d, 0x10
mov eax, dword [rbx + 0x4c]
mov edx, 0xc8000006
mov dword [rdi + 8], eax
lea rax, [rbx + 0x160]
mov qword [rdi + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rdi + 0x10], rcx
mov dword [rdi + 0x18], 1
mov dword [rdi + 0x20], 0x40
mov dword [rdi + 0x30], esi
mov rcx, qword [rbx + 0xb8]
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
mov dword [rbx + 0x1a0], r14d
mov qword [rbx + 0x108], r13
call qword [sym.imp.WS2_32.dll_WSAIoctl]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x18003bdbb
test byte [0x1800b78f1], 4
jne 0x18003bdf0
mov rcx, qword [rbx + 0xb8]
lea r8, [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov r9, r12
mov rdx, rdi
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x20], rsi
call qword [case.0x180030b5c.0]
cmp eax, 0xffffffff
jne 0x180010eeb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x180010eed
test r15d, r15d
je 0x180010eb2
mov rcx, qword [rbx + 0x110]
mov edx, edi
call fcn.1800113a0
mov edi, eax
mov eax, edi
mov r14, qword [rsp + 0x2e8]
mov r13, qword [rsp + 0x2e0]
mov rdi, qword [rsp + 0x2d8]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18002d5c0
add rsp, 0x2a0
pop r15
pop r12
pop rsi
pop rbx
pop rbp
ret
mov edi, esi
test r12, r12
jne 0x180010e9d
jmp 0x18003be0a
mov eax, dword [rbx + 0x234]
lea rdx, [0x18009f1f8]
mov r9d, dword [rbx + 0x210]
mov ecx, 0x5b
mov r8, rbx
mov dword [rsp + 0x20], eax
call fcn.18008851c
movzx eax, byte [0x1800b78f0]
jmp 0x180010c1a
test al, al
jns 0x18003be2f
mov ecx, 0x5c
lea rdx, [0x18009f1f8]
call fcn.180087008
jmp 0x18003be2f
mov ecx, 1
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x80], ecx
jmp 0x180010c54
mov eax, edx
cmp qword [rbp + rax*8 - 0x78], r8
je 0x180010c67
inc edx
cmp edx, ecx
jb 0x18003bb6a
jmp 0x180010c67
test byte [0x1800b78f3], 0x40
je 0x18003bbd6
mov ecx, 0x5d
lea rdx, [0x18009f1f8]
mov r8, rbx
call fcn.1800879b4
jmp 0x18003bbd6
mov dword [rbx + 0x234], 0x7530
mov r9d, 0x7530
jmp 0x180010c94
test byte [0x1800b78f3], 0x40
je 0x18003bbd6
mov ecx, 0x5e
lea rdx, [0x18009f1f8]
mov r9d, eax
mov r8, rbx
call fcn.1800874d4
mov eax, 0x57
jmp 0x180010eb4
mov eax, 0x10624dd3
xor r8d, r8d
mul r9d
xor ecx, ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [rsp + 0x78], edx
lea rdx, [rbp - 0x80]
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
mov dword [rsp + 0x7c], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
nop dword [rax + rax]
test eax, eax
jg 0x18003bc84
jns 0x18003bc5d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov ebx, eax
test byte [0x1800b78f1], 4
je 0x18003bc56
mov ecx, 0x5f
lea rdx, [0x18009f1f8]
mov r8d, eax
call fcn.1800876bc
mov eax, ebx
jmp 0x180010eb4
test byte [0x1800b78f1], 4
je 0x18003bc7a
mov ecx, 0x60
lea rdx, [0x18009f1f8]
mov r8, rbx
call fcn.1800879b4
mov edi, 0x5b4
jmp 0x180010eb2
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.180058000
mov r14d, eax
test eax, eax
jne 0x180010d8f
jmp 0x18003be2f
test byte [0x1800b78f1], 4
je 0x180010cc9
mov ecx, 0x50
lea rdx, [0x18009f1f8]
call fcn.180087008
mov eax, 0x17
jmp 0x180010cc9
lea rdx, [rbp - 0x80]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
nop dword [rax + rax]
test eax, eax
je 0x18003bd00
mov esi, 1
test edi, edi
je 0x18003bd00
mov rax, qword [rbx + 0x20]
cmp qword [rbx + 0x18], rax
lea eax, [rsi + 0x16]
je 0x18003bcf9
xor esi, esi
jmp 0x180010cfb
xor edi, edi
jmp 0x180010cfb
mov eax, 0x17
jmp 0x180010cfb
test esi, esi
je 0x18003be24
mov rax, qword [rbx + 0x10]
mov r14d, 2
jmp 0x180010d0a
mov rax, qword [rsi + 0x1b0]
mov edx, 0x140
jmp 0x180010d32
test byte [0x1800b78f1], 4
je 0x180010ea2
mov ecx, 0x61
lea rdx, [0x18009f1f8]
mov r8d, eax
call fcn.1800876bc
nop
jmp 0x180010ea2
mov qword [rsi + 0x1b0], rax
jmp 0x180010d82
mov eax, dword [rbx + 0x30]
mov dword [rbx + 0x40], eax
mov eax, 0x17
mov word [rbx + 0x2c], ax
mov qword [rbx + 0x34], 0
mov dword [rbx + 0x3c], 0xffff0000
mov dword [rbx + 0x44], esi
mov dword [rbx + 0x4c], 0x1c
jmp 0x180010da3
mov eax, dword [rbx + 0x18]
lea rdx, [0x18009f1f8]
mov r9d, dword [rbx + 0x10]
mov ecx, 0x62
mov r8d, dword [rbx + 0x200]
mov dword [rsp + 0x20], eax
call fcn.180087cfc
nop
jmp 0x180010db0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
test byte [0x1800b78f1], 4
je 0x180010e9d
mov ecx, 0x63
lea rdx, [0x18009f1f8]
mov r8d, eax
call fcn.1800876bc
nop
jmp 0x180010e9d
mov ecx, 0x64
lea rdx, [0x18009f1f8]
mov r8, rbx
call fcn.1800879b4
nop
jmp 0x180010e60
movzx eax, word [rsp + 0x60]
mov rcx, rbx
mov word [rbx + 0x26a], ax
call fcn.180005480
nop
jmp 0x180010e9d
mov rax, qword [rbp - 0x78]
mov qword [rbx + 0xb8], rax
mov eax, 0x5b4
jmp 0x180010eb4