Function at 0x14008bf40
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x11860]
mov rbx, rcx
test eax, eax
jne 0x14008bf63
mov dword [rcx + 0x11860], 2
jmp 0x14008bf68
cmp eax, 2
jne 0x14008bfae
add rcx, 0x228
call fcn.1400b2fc0
test rax, rax
je 0x14008bfa2
nop dword [rax]
mov rcx, rax
call fcn.140090280
cmp eax, 0xffffffdb
je 0x14008c48f
lea rcx, [rbx + 0x228]
call fcn.1400b2fc0
test rax, rax
jne 0x14008bf80
mov dword [rbx + 0x11860], 3
jmp 0x14008bfb3
cmp eax, 3
jne 0x14008bff0
lea rcx, [rbx + 0x240]
call fcn.1400b2fc0
test rax, rax
je 0x14008bfe6
mov rcx, rax
call fcn.1400913b0
cmp eax, 0xffffffdb
je 0x14008c48f
lea rcx, [rbx + 0x240]
call fcn.1400b2fc0
test rax, rax
jne 0x14008bfc4
mov dword [rbx + 0x11860], 4
test byte [rbx + 0x80], 2
mov qword [rsp + 0x38], rsi
je 0x14008c109
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x14008c024
mov r8, qword [rax + 0x40]
test r8, r8
je 0x14008c024
lea rdx, [rbx + 0xc0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1c0]
test rax, rax
je 0x14008c046
mov r8, qword [rax + 0x30]
test r8, r8
je 0x14008c046
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1e8]
test rax, rax
je 0x14008c06d
mov r9, qword [rax + 0x28]
test r9, r9
je 0x14008c06d
lea r8, [rbx + 0x1f0]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x14008c08f
mov r8, qword [rax + 0x20]
test r8, r8
je 0x14008c08f
lea rdx, [rbx + 0x1e0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x150]
test rax, rax
je 0x14008c0b1
mov r8, qword [rax + 0x30]
test r8, r8
je 0x14008c0b1
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x14008c0d5
mov r9, qword [rax + 0x28]
test r9, r9
je 0x14008c0d5
lea r8, [rbx + 0x180]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x14008c0f7
mov r8, qword [rax + 0x20]
test r8, r8
je 0x14008c0f7
lea rdx, [rbx + 0x170]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14008c109
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x14008c11b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x14008c12d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x14008c13c
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14008c14b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x14008c15d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1f8]
test rcx, rcx
je 0x14008c16f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x200]
test rcx, rcx
je 0x14008c181
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x14008c193
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x210]
test rcx, rcx
je 0x14008c1a5
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x14008c1b7
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x14008c1c9
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x14008c1db
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x14008c1ed
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x14008c1ff
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14008c211
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x14008c223
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11560]
test rcx, rcx
je 0x14008c235
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11578]
test rcx, rcx
je 0x14008c247
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11990]
test rcx, rcx
je 0x14008c259
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119a0]
test rcx, rcx
je 0x14008c26b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119b8]
test rcx, rcx
je 0x14008c27d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119d0]
test rcx, rcx
je 0x14008c28f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a00]
test rcx, rcx
je 0x14008c2a1
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a10]
test rcx, rcx
je 0x14008c2b3
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119f0]
test rcx, rcx
je 0x14008c2c5
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a38]
test rcx, rcx
je 0x14008c2d7
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a48]
test rcx, rcx
je 0x14008c2e9
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a58]
test rcx, rcx
je 0x14008c2fb
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a88]
test rcx, rcx
je 0x14008c30d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a98]
test rcx, rcx
je 0x14008c31f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11ac0]
test rcx, rcx
je 0x14008c331
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b00]
test rcx, rcx
je 0x14008c343
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b10]
test rcx, rcx
je 0x14008c355
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b28]
test rcx, rcx
je 0x14008c367
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b50]
test rcx, rcx
je 0x14008c379
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b80]
test rcx, rcx
je 0x14008c38b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11d08]
test rcx, rcx
je 0x14008c39d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11e48]
test rcx, rcx
je 0x14008c3af
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11cd8]
test rcx, rcx
je 0x14008c3c1
mov rdx, rbx
call qword [rbx + 0x18]
cmp qword [rbx + 0x8b58], 0
je 0x14008c3d8
mov rcx, qword [rbx + 0x8b60]
mov rdx, rbx
call qword [rbx + 0x18]
lea rcx, [rbx + 0x218]
call fcn.1400b2fc0
mov rdi, rax
test rax, rax
je 0x14008c41f
nop dword [rax]
mov rcx, rdi
call fcn.1400b2fe0
mov rcx, qword [rdi + 0x18]
mov rdx, rbx
call qword [rbx + 0x18]
mov rdx, rbx
mov rcx, rdi
call qword [rbx + 0x18]
lea rcx, [rbx + 0x218]
call fcn.1400b2fc0
mov rdi, rax
test rax, rax
jne 0x14008c3f0
cmp dword [rbx + 0x260], 0
mov rsi, qword [rsp + 0x38]
je 0x14008c44c
mov rcx, qword [rbx + 0x250]
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov dword [rsp + 0x30], 0
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x14008c45e
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x268]
test rcx, rcx
je 0x14008c479
test byte [rbx + 0x274], 1
je 0x14008c479
mov rdx, rbx
call qword [rbx + 0x18]
mov rdx, rbx
mov rcx, rbx
call qword [rbx + 0x18]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffdb
add rsp, 0x20
pop rdi
ret