Function at 0x1401a6c40
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x11850]
mov rbx, rcx
test eax, eax
jne 0x1401a6c63
mov dword [rcx + 0x11850], 2
jmp 0x1401a6c68
cmp eax, 2
jne 0x1401a6cae
add rcx, 0x228
call fcn.140143070
test rax, rax
je 0x1401a6ca2
nop dword [rax]
mov rcx, rax
call fcn.1401b2130
cmp eax, 0xffffffdb
je 0x1401a7200
lea rcx, [rbx + 0x228]
call fcn.140143070
test rax, rax
jne 0x1401a6c80
mov dword [rbx + 0x11850], 3
jmp 0x1401a6cb3
cmp eax, 3
jne 0x1401a6cf0
lea rcx, [rbx + 0x240]
call fcn.140143070
test rax, rax
je 0x1401a6ce6
mov rcx, rax
call fcn.1401b1f80
cmp eax, 0xffffffdb
je 0x1401a7200
lea rcx, [rbx + 0x240]
call fcn.140143070
test rax, rax
jne 0x1401a6cc4
mov dword [rbx + 0x11850], 4
test byte [rbx + 0x80], 2
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
je 0x1401a6e0e
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x1401a6d29
mov r8, qword [rax + 0x40]
test r8, r8
je 0x1401a6d29
lea rdx, [rbx + 0xc0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1c0]
test rax, rax
je 0x1401a6d4b
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1401a6d4b
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1e8]
test rax, rax
je 0x1401a6d72
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1401a6d72
lea r8, [rbx + 0x1f0]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x1401a6d94
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1401a6d94
lea rdx, [rbx + 0x1e0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x150]
test rax, rax
je 0x1401a6db6
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1401a6db6
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x1401a6dda
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1401a6dda
lea r8, [rbx + 0x180]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x1401a6dfc
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1401a6dfc
lea rdx, [rbx + 0x170]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1401a6e0e
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x138]
lea rdi, [rbx + 0x18]
test rcx, rcx
je 0x1401a6e23
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x1401a6e34
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x70]
mov rsi, rdi
test rcx, rcx
je 0x1401a6e49
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1401a6e5a
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x1401a6e6b
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x1f8]
mov rsi, rdi
test rcx, rcx
je 0x1401a6e83
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x200]
test rcx, rcx
je 0x1401a6e97
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x1401a6ea8
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x210]
mov rsi, rdi
test rcx, rcx
je 0x1401a6ec0
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x1401a6ed4
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x1401a6ee5
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x190]
mov rsi, rdi
test rcx, rcx
je 0x1401a6efd
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x1401a6f11
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x1401a6f22
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x128]
mov rsi, rdi
test rcx, rcx
je 0x1401a6f3a
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x1401a6f4e
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x11560]
test rcx, rcx
je 0x1401a6f5f
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x11578]
mov rsi, rdi
test rcx, rcx
je 0x1401a6f77
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x11980]
test rcx, rcx
je 0x1401a6f8b
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x11990]
test rcx, rcx
je 0x1401a6f9c
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x119a8]
mov rsi, rdi
test rcx, rcx
je 0x1401a6fb4
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x119c0]
test rcx, rcx
je 0x1401a6fc8
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x119f0]
test rcx, rcx
je 0x1401a6fd9
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x11a00]
mov rsi, rdi
test rcx, rcx
je 0x1401a6ff1
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x119e0]
test rcx, rcx
je 0x1401a7005
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x11a28]
test rcx, rcx
je 0x1401a7016
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x11a38]
mov rsi, rdi
test rcx, rcx
je 0x1401a702e
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x11a48]
test rcx, rcx
je 0x1401a7042
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x11a78]
test rcx, rcx
je 0x1401a7053
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x11a88]
mov rsi, rdi
test rcx, rcx
je 0x1401a706b
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x11ab0]
test rcx, rcx
je 0x1401a707f
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x11af0]
test rcx, rcx
je 0x1401a7090
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x11b00]
mov rsi, rdi
test rcx, rcx
je 0x1401a70a8
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x11b18]
test rcx, rcx
je 0x1401a70bc
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x11b40]
test rcx, rcx
je 0x1401a70cd
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x11b70]
mov rsi, rdi
test rcx, rcx
je 0x1401a70e5
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x11cf8]
test rcx, rcx
je 0x1401a70f9
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
mov rcx, qword [rbx + 0x11e38]
test rcx, rcx
je 0x1401a710a
mov rdx, rbx
call qword [rdi]
mov rcx, qword [rbx + 0x11cc8]
mov rsi, rdi
test rcx, rcx
je 0x1401a7122
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
cmp qword [rbx + 0x8b58], 0
je 0x1401a713b
mov rcx, qword [rbx + 0x8b60]
mov rdx, rbx
call qword [rdi]
mov rdi, rsi
lea rcx, [rbx + 0x218]
call fcn.140143070
mov rsi, rax
test rax, rax
je 0x1401a7181
nop
mov rcx, rsi
call fcn.1401c1f40
mov rcx, qword [rsi + 0x18]
mov rdx, rbx
call qword [rdi]
mov rdx, rbx
mov rcx, rsi
call qword [rdi]
lea rcx, [rbx + 0x218]
call fcn.140143070
mov rsi, rax
test rax, rax
jne 0x1401a7150
lea rdi, [rbx + 0x18]
cmp dword [rbx + 0x260], 0
mov rbp, qword [rsp + 0x38]
je 0x1401a71ae
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]
mov rsi, rdi
test rcx, rcx
je 0x1401a71c6
mov rdx, rbx
call qword [rdi]
lea rsi, [rbx + 0x18]
mov rcx, qword [rbx + 0x268]
mov rax, rdi
test rcx, rcx
je 0x1401a71e6
test byte [rbx + 0x274], 1
je 0x1401a71e6
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