Function at 0x1401e8160
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 0x1401e8195
mov r9, qword [rcx + 0x120]
lea r8, str.Freeing_session_resource
lea edx, [rax + 2]
call fcn.1401e5260
mov dword [rcx + 0xcf90], edx
jmp 0x1401e819a
cmp eax, 2
jne 0x1401e81de
add rcx, 0x210
call fcn.1401ed1a0
test rax, rax
je 0x1401e81d2
nop dword [rax + rax]
mov rcx, rax
call fcn.1401eda30
cmp eax, 0xffffffdb
je 0x1401e8730
lea rcx, [rbx + 0x210]
call fcn.1401ed1a0
test rax, rax
jne 0x1401e81b0
mov dword [rbx + 0xcf90], 3
jmp 0x1401e81e3
cmp eax, 3
jne 0x1401e8220
lea rcx, [rbx + 0x228]
call fcn.1401ed1a0
test rax, rax
je 0x1401e8216
mov rcx, rax
call fcn.1401ed860
cmp eax, 0xffffffdb
je 0x1401e8730
lea rcx, [rbx + 0x228]
call fcn.1401ed1a0
test rax, rax
jne 0x1401e81f4
mov dword [rbx + 0xcf90], 4
test byte [rbx + 0x68], 2
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
je 0x1401e833b
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1401e8256
mov r8, qword [rax + 0x40]
test r8, r8
je 0x1401e8256
lea rdx, [rbx + 0xa8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1a8]
test rax, rax
je 0x1401e8278
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1401e8278
lea rdx, [rbx + 0x1b0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x1401e829f
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1401e829f
lea r8, [rbx + 0x1d8]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x1401e82c1
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1401e82c1
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x1401e82e3
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1401e82e3
lea rdx, [rbx + 0x140]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x1401e8307
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1401e8307
lea r8, [rbx + 0x168]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x148]
test rax, rax
je 0x1401e8329
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1401e8329
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x1401e833b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x120]
lea rdi, [rbx + 0x18]
test rcx, rcx
je 0x1401e8350
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x1401e8361
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x58]
mov rsi, rdi
test rcx, rcx
je 0x1401e8376
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1401e8387
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x1401e8398
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1e0]
mov rsi, rdi
test rcx, rcx
je 0x1401e83b0
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x1401e83c4
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x1401e83d5
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1f8]
mov rsi, rdi
test rcx, rcx
je 0x1401e83ed
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x1401e8401
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x170]
test rcx, rcx
je 0x1401e8412
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x178]
mov rsi, rdi
test rcx, rcx
je 0x1401e842a
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x180]
test rcx, rcx
je 0x1401e843e
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x1401e844f
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x110]
mov rsi, rdi
test rcx, rcx
je 0x1401e8467
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x1401e847b
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xcc90]
test rcx, rcx
je 0x1401e848c
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xcca8]
mov rsi, rdi
test rcx, rcx
je 0x1401e84a4
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd0c0]
test rcx, rcx
je 0x1401e84b8
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd0d0]
test rcx, rcx
je 0x1401e84c9
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd0e8]
mov rsi, rdi
test rcx, rcx
je 0x1401e84e1
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd100]
test rcx, rcx
je 0x1401e84f5
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd130]
test rcx, rcx
je 0x1401e8506
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd140]
mov rsi, rdi
test rcx, rcx
je 0x1401e851e
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd120]
test rcx, rcx
je 0x1401e8532
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd168]
test rcx, rcx
je 0x1401e8543
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd178]
mov rsi, rdi
test rcx, rcx
je 0x1401e855b
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd188]
test rcx, rcx
je 0x1401e856f
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd1b8]
test rcx, rcx
je 0x1401e8580
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd1c8]
mov rsi, rdi
test rcx, rcx
je 0x1401e8598
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd1f0]
test rcx, rcx
je 0x1401e85ac
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd230]
test rcx, rcx
je 0x1401e85bd
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd240]
mov rsi, rdi
test rcx, rcx
je 0x1401e85d5
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd258]
test rcx, rcx
je 0x1401e85e9
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd280]
test rcx, rcx
je 0x1401e85fa
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd2b0]
mov rsi, rdi
test rcx, rcx
je 0x1401e8612
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd3f0]
test rcx, rcx
je 0x1401e8626
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd528]
test rcx, rcx
je 0x1401e8637
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd3c8]
mov rsi, rdi
test rcx, rcx
je 0x1401e864f
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
cmp qword [rbx + 0x4288], 0
je 0x1401e8668
mov rcx, qword [rbx + 0x4290]
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
lea rcx, [rbx + 0x200]
call fcn.1401ed1a0
mov rsi, rax
test rax, rax
je 0x1401e86b1
nop dword [rax]
mov rcx, rsi
call fcn.1401ed1c0
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.1401ed1a0
mov rsi, rax
test rax, rax
jne 0x1401e8680
lea rdi, [rbx + 0x18]
cmp dword [rbx + 0x248], 0
mov rbp, qword [rsp + 0x38]
je 0x1401e86de
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 0x1401e86f6
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x250]
mov rax, rdi
test rcx, rcx
je 0x1401e8716
test byte [rbx + 0x25c], 1
je 0x1401e8716
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