Function at 0x1401e7240
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 0x1401e7275
mov r9, qword [rcx + 0x120]
lea r8, str.Freeing_session_resource
lea edx, [rax + 2]
call fcn.1401e4350
mov dword [rcx + 0xcf90], edx
jmp 0x1401e727a
cmp eax, 2
jne 0x1401e72be
add rcx, 0x210
call fcn.1401ec270
test rax, rax
je 0x1401e72b2
nop dword [rax + rax]
mov rcx, rax
call fcn.1401ecb00
cmp eax, 0xffffffdb
je 0x1401e7810
lea rcx, [rbx + 0x210]
call fcn.1401ec270
test rax, rax
jne 0x1401e7290
mov dword [rbx + 0xcf90], 3
jmp 0x1401e72c3
cmp eax, 3
jne 0x1401e7300
lea rcx, [rbx + 0x228]
call fcn.1401ec270
test rax, rax
je 0x1401e72f6
mov rcx, rax
call fcn.1401ec930
cmp eax, 0xffffffdb
je 0x1401e7810
lea rcx, [rbx + 0x228]
call fcn.1401ec270
test rax, rax
jne 0x1401e72d4
mov dword [rbx + 0xcf90], 4
test byte [rbx + 0x68], 2
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
je 0x1401e741b
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1401e7336
mov r8, qword [rax + 0x40]
test r8, r8
je 0x1401e7336
lea rdx, [rbx + 0xa8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1a8]
test rax, rax
je 0x1401e7358
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1401e7358
lea rdx, [rbx + 0x1b0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x1401e737f
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1401e737f
lea r8, [rbx + 0x1d8]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1b8]
test rax, rax
je 0x1401e73a1
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1401e73a1
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x138]
test rax, rax
je 0x1401e73c3
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1401e73c3
lea rdx, [rbx + 0x140]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x1401e73e7
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1401e73e7
lea r8, [rbx + 0x168]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x148]
test rax, rax
je 0x1401e7409
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1401e7409
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0x88]
test rcx, rcx
je 0x1401e741b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x120]
lea rdi, [rbx + 0x18]
test rcx, rcx
je 0x1401e7430
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x1401e7441
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x58]
mov rsi, rdi
test rcx, rcx
je 0x1401e7456
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1401e7467
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x1401e7478
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1e0]
mov rsi, rdi
test rcx, rcx
je 0x1401e7490
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
je 0x1401e74a4
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x1f0]
test rcx, rcx
je 0x1401e74b5
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1f8]
mov rsi, rdi
test rcx, rcx
je 0x1401e74cd
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x1401e74e1
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x170]
test rcx, rcx
je 0x1401e74f2
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x178]
mov rsi, rdi
test rcx, rcx
je 0x1401e750a
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x180]
test rcx, rcx
je 0x1401e751e
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x1401e752f
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x110]
mov rsi, rdi
test rcx, rcx
je 0x1401e7547
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x118]
test rcx, rcx
je 0x1401e755b
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xcc90]
test rcx, rcx
je 0x1401e756c
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xcca8]
mov rsi, rdi
test rcx, rcx
je 0x1401e7584
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd0c0]
test rcx, rcx
je 0x1401e7598
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd0d0]
test rcx, rcx
je 0x1401e75a9
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd0e8]
mov rsi, rdi
test rcx, rcx
je 0x1401e75c1
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd100]
test rcx, rcx
je 0x1401e75d5
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd130]
test rcx, rcx
je 0x1401e75e6
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd140]
mov rsi, rdi
test rcx, rcx
je 0x1401e75fe
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd120]
test rcx, rcx
je 0x1401e7612
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd168]
test rcx, rcx
je 0x1401e7623
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd178]
mov rsi, rdi
test rcx, rcx
je 0x1401e763b
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd188]
test rcx, rcx
je 0x1401e764f
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd1b8]
test rcx, rcx
je 0x1401e7660
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd1c8]
mov rsi, rdi
test rcx, rcx
je 0x1401e7678
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd1f0]
test rcx, rcx
je 0x1401e768c
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd230]
test rcx, rcx
je 0x1401e769d
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd240]
mov rsi, rdi
test rcx, rcx
je 0x1401e76b5
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd258]
test rcx, rcx
je 0x1401e76c9
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd280]
test rcx, rcx
je 0x1401e76da
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd2b0]
mov rsi, rdi
test rcx, rcx
je 0x1401e76f2
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0xd3f0]
test rcx, rcx
je 0x1401e7706
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0xd528]
test rcx, rcx
je 0x1401e7717
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0xd3c8]
mov rsi, rdi
test rcx, rcx
je 0x1401e772f
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
cmp qword [rbx + 0x4288], 0
je 0x1401e7748
mov rcx, qword [rbx + 0x4290]
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
lea rcx, [rbx + 0x200]
call fcn.1401ec270
mov rsi, rax
test rax, rax
je 0x1401e7791
nop dword [rax]
mov rcx, rsi
call fcn.1401ec290
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.1401ec270
mov rsi, rax
test rax, rax
jne 0x1401e7760
lea rdi, [rbx + 0x18]
cmp dword [rbx + 0x248], 0
mov rbp, qword [rsp + 0x38]
je 0x1401e77be
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 0x1401e77d6
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x250]
mov rax, rdi
test rcx, rcx
je 0x1401e77f6
test byte [rbx + 0x25c], 1
je 0x1401e77f6
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