Function at 0x1401e0310
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 0x1401e0345
mov r9, qword [rcx + 0x120]
lea r8, str.Freeing_session_resource
lea edx, [rax + 2]
call fcn.1401dfc80
mov dword [rcx + 0xcf90], edx
jmp 0x1401e034a
cmp eax, 2
jne 0x1401e038e
add rcx, 0x210
call fcn.1401e5340
test rax, rax
je 0x1401e0382
nop dword [rax + rax]
mov rcx, rax
call fcn.1401e5bd0
cmp eax, 0xffffffdb
je 0x1401e08e0
lea rcx, [rbx + 0x210]
call fcn.1401e5340
test rax, rax
jne 0x1401e0360
mov dword [rbx + 0xcf90], 3
jmp 0x1401e0393
cmp eax, 3
jne 0x1401e03d0
lea rcx, [rbx + 0x228]
call fcn.1401e5340
test rax, rax
je 0x1401e03c6
mov rcx, rax
call fcn.1401e5a00
cmp eax, 0xffffffdb
je 0x1401e08e0
lea rcx, [rbx + 0x228]
call fcn.1401e5340
test rax, rax
jne 0x1401e03a4
mov dword [rbx + 0xcf90], 4
test byte [rbx + 0x68], 2
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
je 0x1401e04eb
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1401e0406
mov r8, qword [rax + 0x40]
test r8, r8
je 0x1401e0406
lea rdx, [rbx + 0xa8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1a8]
test rax, rax
je 0x1401e0428
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1401e0428
lea rdx, [rbx + 0x1b0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x1401e044f
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1401e044f
lea r8, [rbx + 0x1d8]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x1401e0471
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1401e0471
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x1401e0493
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1401e0493
lea rdx, [rbx + 0x140]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x1401e04b7
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1401e04b7
lea r8, [rbx + 0x168]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x148]
test rax, rax
je 0x1401e04d9
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1401e04d9
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x1401e04eb
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x120]
lea rdi, [rbx + 0x18]
test rcx, rcx
je 0x1401e0500
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x1401e0511
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x58]
mov rsi, rdi
test rcx, rcx
je 0x1401e0526
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1401e0537
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x1401e0548
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1e0]
mov rsi, rdi
test rcx, rcx
je 0x1401e0560
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x1401e0574
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x1401e0585
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1f8]
mov rsi, rdi
test rcx, rcx
je 0x1401e059d
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x1401e05b1
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x170]
test rcx, rcx
je 0x1401e05c2
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x178]
mov rsi, rdi
test rcx, rcx
je 0x1401e05da
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x180]
test rcx, rcx
je 0x1401e05ee
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x1401e05ff
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x110]
mov rsi, rdi
test rcx, rcx
je 0x1401e0617
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x1401e062b
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xcc90]
test rcx, rcx
je 0x1401e063c
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xcca8]
mov rsi, rdi
test rcx, rcx
je 0x1401e0654
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd0c0]
test rcx, rcx
je 0x1401e0668
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd0d0]
test rcx, rcx
je 0x1401e0679
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd0e8]
mov rsi, rdi
test rcx, rcx
je 0x1401e0691
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd100]
test rcx, rcx
je 0x1401e06a5
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd130]
test rcx, rcx
je 0x1401e06b6
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd140]
mov rsi, rdi
test rcx, rcx
je 0x1401e06ce
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd120]
test rcx, rcx
je 0x1401e06e2
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd168]
test rcx, rcx
je 0x1401e06f3
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd178]
mov rsi, rdi
test rcx, rcx
je 0x1401e070b
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd188]
test rcx, rcx
je 0x1401e071f
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd1b8]
test rcx, rcx
je 0x1401e0730
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd1c8]
mov rsi, rdi
test rcx, rcx
je 0x1401e0748
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd1f0]
test rcx, rcx
je 0x1401e075c
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd230]
test rcx, rcx
je 0x1401e076d
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd240]
mov rsi, rdi
test rcx, rcx
je 0x1401e0785
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd258]
test rcx, rcx
je 0x1401e0799
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd280]
test rcx, rcx
je 0x1401e07aa
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd2b0]
mov rsi, rdi
test rcx, rcx
je 0x1401e07c2
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd3f0]
test rcx, rcx
je 0x1401e07d6
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd528]
test rcx, rcx
je 0x1401e07e7
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd3c8]
mov rsi, rdi
test rcx, rcx
je 0x1401e07ff
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
cmp qword [rbx + 0x4288], 0
je 0x1401e0818
mov rcx, qword [rbx + 0x4290]
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
lea rcx, [rbx + 0x200]
call fcn.1401e5340
mov rsi, rax
test rax, rax
je 0x1401e0861
nop dword [rax]
mov rcx, rsi
call fcn.1401e5360
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.1401e5340
mov rsi, rax
test rax, rax
jne 0x1401e0830
lea rdi, [rbx + 0x18]
cmp dword [rbx + 0x248], 0
mov rbp, qword [rsp + 0x38]
je 0x1401e088e
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 0x1401e08a6
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x250]
mov rax, rdi
test rcx, rcx
je 0x1401e08c6
test byte [rbx + 0x25c], 1
je 0x1401e08c6
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