Function at 0x14006e200
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0xcf90]
mov rbx, rcx
test eax, eax
jne 0x14006e235
mov r9, qword [rcx + 0x120]
lea r8, str.Freeing_session_resource
lea edx, [rax + 2]
call fcn.14006b310
mov dword [rcx + 0xcf90], edx
jmp 0x14006e23a
cmp eax, 2
jne 0x14006e27e
add rcx, 0x210
call fcn.140073230
test rax, rax
je 0x14006e272
nop dword [rax + rax]
mov rcx, rax
call fcn.140073ac0
cmp eax, 0xffffffdb
je 0x14006e7d0
lea rcx, [rbx + 0x210]
call fcn.140073230
test rax, rax
jne 0x14006e250
mov dword [rbx + 0xcf90], 3
jmp 0x14006e283
cmp eax, 3
jne 0x14006e2c0
lea rcx, [rbx + 0x228]
call fcn.140073230
test rax, rax
je 0x14006e2b6
mov rcx, rax
call fcn.1400738f0
cmp eax, 0xffffffdb
je 0x14006e7d0
lea rcx, [rbx + 0x228]
call fcn.140073230
test rax, rax
jne 0x14006e294
mov dword [rbx + 0xcf90], 4
test byte [rbx + 0x68], 2
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
je 0x14006e3db
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x14006e2f6
mov r8, qword [rax + 0x40]
test r8, r8
je 0x14006e2f6
lea rdx, [rbx + 0xa8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1a8]
test rax, rax
je 0x14006e318
mov r8, qword [rax + 0x30]
test r8, r8
je 0x14006e318
lea rdx, [rbx + 0x1b0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x14006e33f
mov r9, qword [rax + 0x28]
test r9, r9
je 0x14006e33f
lea r8, [rbx + 0x1d8]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x14006e361
mov r8, qword [rax + 0x20]
test r8, r8
je 0x14006e361
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x14006e383
mov r8, qword [rax + 0x30]
test r8, r8
je 0x14006e383
lea rdx, [rbx + 0x140]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x14006e3a7
mov r9, qword [rax + 0x28]
test r9, r9
je 0x14006e3a7
lea r8, [rbx + 0x168]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x148]
test rax, rax
je 0x14006e3c9
mov r8, qword [rax + 0x20]
test r8, r8
je 0x14006e3c9
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x14006e3db
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x120]
lea rdi, [rbx + 0x18]
test rcx, rcx
je 0x14006e3f0
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x14006e401
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x58]
mov rsi, rdi
test rcx, rcx
je 0x14006e416
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x14006e427
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x14006e438
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1e0]
mov rsi, rdi
test rcx, rcx
je 0x14006e450
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x14006e464
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x14006e475
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1f8]
mov rsi, rdi
test rcx, rcx
je 0x14006e48d
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x14006e4a1
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x170]
test rcx, rcx
je 0x14006e4b2
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x178]
mov rsi, rdi
test rcx, rcx
je 0x14006e4ca
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x180]
test rcx, rcx
je 0x14006e4de
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x14006e4ef
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x110]
mov rsi, rdi
test rcx, rcx
je 0x14006e507
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x14006e51b
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xcc90]
test rcx, rcx
je 0x14006e52c
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xcca8]
mov rsi, rdi
test rcx, rcx
je 0x14006e544
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd0c0]
test rcx, rcx
je 0x14006e558
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd0d0]
test rcx, rcx
je 0x14006e569
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd0e8]
mov rsi, rdi
test rcx, rcx
je 0x14006e581
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd100]
test rcx, rcx
je 0x14006e595
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd130]
test rcx, rcx
je 0x14006e5a6
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd140]
mov rsi, rdi
test rcx, rcx
je 0x14006e5be
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd120]
test rcx, rcx
je 0x14006e5d2
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd168]
test rcx, rcx
je 0x14006e5e3
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd178]
mov rsi, rdi
test rcx, rcx
je 0x14006e5fb
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd188]
test rcx, rcx
je 0x14006e60f
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd1b8]
test rcx, rcx
je 0x14006e620
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd1c8]
mov rsi, rdi
test rcx, rcx
je 0x14006e638
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd1f0]
test rcx, rcx
je 0x14006e64c
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd230]
test rcx, rcx
je 0x14006e65d
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd240]
mov rsi, rdi
test rcx, rcx
je 0x14006e675
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd258]
test rcx, rcx
je 0x14006e689
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd280]
test rcx, rcx
je 0x14006e69a
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd2b0]
mov rsi, rdi
test rcx, rcx
je 0x14006e6b2
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd3f0]
test rcx, rcx
je 0x14006e6c6
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd528]
test rcx, rcx
je 0x14006e6d7
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd3c8]
mov rsi, rdi
test rcx, rcx
je 0x14006e6ef
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
cmp qword [rbx + 0x4288], 0
je 0x14006e708
mov rcx, qword [rbx + 0x4290]
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
lea rcx, [rbx + 0x200]
call fcn.140073230
mov rsi, rax
test rax, rax
je 0x14006e751
nop dword [rax]
mov rcx, rsi
call fcn.140073250
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call qword [rdi]
mov rdx, rbx
mov rcx, rsi
call qword [rdi]
lea rcx, [rbx + 0x200]
call fcn.140073230
mov rsi, rax
test rax, rax
jne 0x14006e720
lea rdi, [rbx + 0x18]
cmp dword [rbx + 0x248], 0
mov rbp, qword [rsp + 0x38]
je 0x14006e77e
mov rcx, qword [rbx + 0x238]
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
mov dword [rsp + 0x30], 0
call qword [sym.imp.ws2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 0xb0]
mov rsi, rdi
test rcx, rcx
je 0x14006e796
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x250]
mov rax, rdi
test rcx, rcx
je 0x14006e7b6
test byte [rbx + 0x25c], 1
je 0x14006e7b6
mov rdx, rbx
call qword [rdi]
mov rax, rsi
mov rdx, rbx
mov rcx, rbx
call qword [rax]
mov rsi, qword [rsp + 0x40]
xor eax, eax
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov eax, 0xffffffdb
add rsp, 0x20
pop rdi
ret