Function at 0x1400ae680
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x11860]
mov rbx, rcx
test eax, eax
jne 0x1400ae6a3
mov dword [rcx + 0x11860], 2
jmp 0x1400ae6a8
cmp eax, 2
jne 0x1400ae6ee
add rcx, 0x228
call fcn.140118ff0
test rax, rax
je 0x1400ae6e2
nop dword [rax]
mov rcx, rax
call fcn.1400b29c0
cmp eax, 0xffffffdb
je 0x1400aebcf
lea rcx, [rbx + 0x228]
call fcn.140118ff0
test rax, rax
jne 0x1400ae6c0
mov dword [rbx + 0x11860], 3
jmp 0x1400ae6f3
cmp eax, 3
jne 0x1400ae730
lea rcx, [rbx + 0x240]
call fcn.140118ff0
test rax, rax
je 0x1400ae726
mov rcx, rax
call fcn.1400b3af0
cmp eax, 0xffffffdb
je 0x1400aebcf
lea rcx, [rbx + 0x240]
call fcn.140118ff0
test rax, rax
jne 0x1400ae704
mov dword [rbx + 0x11860], 4
test byte [rbx + 0x80], 2
mov qword [rsp + 0x38], rsi
je 0x1400ae849
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x1400ae764
mov r8, qword [rax + 0x40]
test r8, r8
je 0x1400ae764
lea rdx, [rbx + 0xc0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1c0]
test rax, rax
je 0x1400ae786
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1400ae786
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1e8]
test rax, rax
je 0x1400ae7ad
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1400ae7ad
lea r8, [rbx + 0x1f0]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x1400ae7cf
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1400ae7cf
lea rdx, [rbx + 0x1e0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x150]
test rax, rax
je 0x1400ae7f1
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1400ae7f1
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x1400ae815
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1400ae815
lea r8, [rbx + 0x180]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x1400ae837
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1400ae837
lea rdx, [rbx + 0x170]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1400ae849
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x1400ae85b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x1400ae86d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x1400ae87c
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1400ae88b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x1400ae89d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1f8]
test rcx, rcx
je 0x1400ae8af
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x200]
test rcx, rcx
je 0x1400ae8c1
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x1400ae8d3
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x210]
test rcx, rcx
je 0x1400ae8e5
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x1400ae8f7
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x1400ae909
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x1400ae91b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x1400ae92d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x1400ae93f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x1400ae951
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x1400ae963
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11560]
test rcx, rcx
je 0x1400ae975
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11578]
test rcx, rcx
je 0x1400ae987
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11990]
test rcx, rcx
je 0x1400ae999
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119a0]
test rcx, rcx
je 0x1400ae9ab
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119b8]
test rcx, rcx
je 0x1400ae9bd
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119d0]
test rcx, rcx
je 0x1400ae9cf
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a00]
test rcx, rcx
je 0x1400ae9e1
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a10]
test rcx, rcx
je 0x1400ae9f3
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119f0]
test rcx, rcx
je 0x1400aea05
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a38]
test rcx, rcx
je 0x1400aea17
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a48]
test rcx, rcx
je 0x1400aea29
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a58]
test rcx, rcx
je 0x1400aea3b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a88]
test rcx, rcx
je 0x1400aea4d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a98]
test rcx, rcx
je 0x1400aea5f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11ac0]
test rcx, rcx
je 0x1400aea71
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b00]
test rcx, rcx
je 0x1400aea83
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b10]
test rcx, rcx
je 0x1400aea95
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b28]
test rcx, rcx
je 0x1400aeaa7
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b50]
test rcx, rcx
je 0x1400aeab9
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b80]
test rcx, rcx
je 0x1400aeacb
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11d08]
test rcx, rcx
je 0x1400aeadd
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11e48]
test rcx, rcx
je 0x1400aeaef
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11cd8]
test rcx, rcx
je 0x1400aeb01
mov rdx, rbx
call qword [rbx + 0x18]
cmp qword [rbx + 0x8b58], 0
je 0x1400aeb18
mov rcx, qword [rbx + 0x8b60]
mov rdx, rbx
call qword [rbx + 0x18]
lea rcx, [rbx + 0x218]
call fcn.140118ff0
mov rdi, rax
test rax, rax
je 0x1400aeb5f
nop dword [rax]
mov rcx, rdi
call fcn.140119000
mov rcx, qword [rdi + 0x18]
mov rdx, rbx
call qword [rbx + 0x18]
mov rdx, rbx
mov rcx, rdi
call qword [rbx + 0x18]
lea rcx, [rbx + 0x218]
call fcn.140118ff0
mov rdi, rax
test rax, rax
jne 0x1400aeb30
cmp dword [rbx + 0x260], 0
mov rsi, qword [rsp + 0x38]
je 0x1400aeb8c
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]
test rcx, rcx
je 0x1400aeb9e
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x268]
test rcx, rcx
je 0x1400aebb9
test byte [rbx + 0x274], 1
je 0x1400aebb9
mov rdx, rbx
call qword [rbx + 0x18]
mov rdx, rbx
mov rcx, rbx
call qword [rbx + 0x18]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffffdb
add rsp, 0x20
pop rdi
ret