Function at 0x14003e7b0
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 0x14003e7d3
mov dword [rcx + 0x11860], 2
jmp 0x14003e7d8
cmp eax, 2
jne 0x14003e81e
add rcx, 0x228
call fcn.14006c720
test rax, rax
je 0x14003e812
nop dword [rax]
mov rcx, rax
call fcn.140042af0
cmp eax, 0xffffffdb
je 0x14003ecff
lea rcx, [rbx + 0x228]
call fcn.14006c720
test rax, rax
jne 0x14003e7f0
mov dword [rbx + 0x11860], 3
jmp 0x14003e823
cmp eax, 3
jne 0x14003e860
lea rcx, [rbx + 0x240]
call fcn.14006c720
test rax, rax
je 0x14003e856
mov rcx, rax
call fcn.140043c20
cmp eax, 0xffffffdb
je 0x14003ecff
lea rcx, [rbx + 0x240]
call fcn.14006c720
test rax, rax
jne 0x14003e834
mov dword [rbx + 0x11860], 4
test byte [rbx + 0x80], 2
mov qword [rsp + 0x38], rsi
je 0x14003e979
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x14003e894
mov r8, qword [rax + 0x40]
test r8, r8
je 0x14003e894
lea rdx, [rbx + 0xc0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1c0]
test rax, rax
je 0x14003e8b6
mov r8, qword [rax + 0x30]
test r8, r8
je 0x14003e8b6
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1e8]
test rax, rax
je 0x14003e8dd
mov r9, qword [rax + 0x28]
test r9, r9
je 0x14003e8dd
lea r8, [rbx + 0x1f0]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x14003e8ff
mov r8, qword [rax + 0x20]
test r8, r8
je 0x14003e8ff
lea rdx, [rbx + 0x1e0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x150]
test rax, rax
je 0x14003e921
mov r8, qword [rax + 0x30]
test r8, r8
je 0x14003e921
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x14003e945
mov r9, qword [rax + 0x28]
test r9, r9
je 0x14003e945
lea r8, [rbx + 0x180]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x14003e967
mov r8, qword [rax + 0x20]
test r8, r8
je 0x14003e967
lea rdx, [rbx + 0x170]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14003e979
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x14003e98b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x14003e99d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x14003e9ac
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x14003e9bb
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x14003e9cd
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1f8]
test rcx, rcx
je 0x14003e9df
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x200]
test rcx, rcx
je 0x14003e9f1
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x14003ea03
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x210]
test rcx, rcx
je 0x14003ea15
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x14003ea27
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x14003ea39
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x14003ea4b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x14003ea5d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x14003ea6f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14003ea81
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x14003ea93
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11560]
test rcx, rcx
je 0x14003eaa5
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11578]
test rcx, rcx
je 0x14003eab7
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11990]
test rcx, rcx
je 0x14003eac9
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119a0]
test rcx, rcx
je 0x14003eadb
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119b8]
test rcx, rcx
je 0x14003eaed
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119d0]
test rcx, rcx
je 0x14003eaff
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a00]
test rcx, rcx
je 0x14003eb11
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a10]
test rcx, rcx
je 0x14003eb23
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119f0]
test rcx, rcx
je 0x14003eb35
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a38]
test rcx, rcx
je 0x14003eb47
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a48]
test rcx, rcx
je 0x14003eb59
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a58]
test rcx, rcx
je 0x14003eb6b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a88]
test rcx, rcx
je 0x14003eb7d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a98]
test rcx, rcx
je 0x14003eb8f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11ac0]
test rcx, rcx
je 0x14003eba1
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b00]
test rcx, rcx
je 0x14003ebb3
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b10]
test rcx, rcx
je 0x14003ebc5
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b28]
test rcx, rcx
je 0x14003ebd7
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b50]
test rcx, rcx
je 0x14003ebe9
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b80]
test rcx, rcx
je 0x14003ebfb
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11d08]
test rcx, rcx
je 0x14003ec0d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11e48]
test rcx, rcx
je 0x14003ec1f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11cd8]
test rcx, rcx
je 0x14003ec31
mov rdx, rbx
call qword [rbx + 0x18]
cmp qword [rbx + 0x8b58], 0
je 0x14003ec48
mov rcx, qword [rbx + 0x8b60]
mov rdx, rbx
call qword [rbx + 0x18]
lea rcx, [rbx + 0x218]
call fcn.14006c720
mov rdi, rax
test rax, rax
je 0x14003ec8f
nop dword [rax]
mov rcx, rdi
call fcn.14006c740
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.14006c720
mov rdi, rax
test rax, rax
jne 0x14003ec60
cmp dword [rbx + 0x260], 0
mov rsi, qword [rsp + 0x38]
je 0x14003ecbc
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 0x14003ecce
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x268]
test rcx, rcx
je 0x14003ece9
test byte [rbx + 0x274], 1
je 0x14003ece9
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