Function at 0x1400ae5f0
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 0x1400ae613
mov dword [rcx + 0x11860], 2
jmp 0x1400ae618
cmp eax, 2
jne 0x1400ae65e
add rcx, 0x228
call fcn.140118f60
test rax, rax
je 0x1400ae652
nop dword [rax]
mov rcx, rax
call fcn.1400b2930
cmp eax, 0xffffffdb
je 0x1400aeb3f
lea rcx, [rbx + 0x228]
call fcn.140118f60
test rax, rax
jne 0x1400ae630
mov dword [rbx + 0x11860], 3
jmp 0x1400ae663
cmp eax, 3
jne 0x1400ae6a0
lea rcx, [rbx + 0x240]
call fcn.140118f60
test rax, rax
je 0x1400ae696
mov rcx, rax
call fcn.1400b3a60
cmp eax, 0xffffffdb
je 0x1400aeb3f
lea rcx, [rbx + 0x240]
call fcn.140118f60
test rax, rax
jne 0x1400ae674
mov dword [rbx + 0x11860], 4
test byte [rbx + 0x80], 2
mov qword [rsp + 0x38], rsi
je 0x1400ae7b9
mov rax, qword [rbx + 0xb8]
test rax, rax
je 0x1400ae6d4
mov r8, qword [rax + 0x40]
test r8, r8
je 0x1400ae6d4
lea rdx, [rbx + 0xc0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1c0]
test rax, rax
je 0x1400ae6f6
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1400ae6f6
lea rdx, [rbx + 0x1c8]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x1e8]
test rax, rax
je 0x1400ae71d
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1400ae71d
lea r8, [rbx + 0x1f0]
mov edx, 1
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x1d0]
test rax, rax
je 0x1400ae73f
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1400ae73f
lea rdx, [rbx + 0x1e0]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x150]
test rax, rax
je 0x1400ae761
mov r8, qword [rax + 0x30]
test r8, r8
je 0x1400ae761
lea rdx, [rbx + 0x158]
mov rcx, rbx
call r8
mov rax, qword [rbx + 0x178]
test rax, rax
je 0x1400ae785
mov r9, qword [rax + 0x28]
test r9, r9
je 0x1400ae785
lea r8, [rbx + 0x180]
xor edx, edx
mov rcx, rbx
call r9
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x1400ae7a7
mov r8, qword [rax + 0x20]
test r8, r8
je 0x1400ae7a7
lea rdx, [rbx + 0x170]
mov rcx, rbx
call r8
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x1400ae7b9
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x138]
test rcx, rcx
je 0x1400ae7cb
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1a8]
test rcx, rcx
je 0x1400ae7dd
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x1400ae7ec
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1400ae7fb
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1b0]
test rcx, rcx
je 0x1400ae80d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1f8]
test rcx, rcx
je 0x1400ae81f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x200]
test rcx, rcx
je 0x1400ae831
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x1400ae843
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x210]
test rcx, rcx
je 0x1400ae855
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x1400ae867
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x188]
test rcx, rcx
je 0x1400ae879
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x190]
test rcx, rcx
je 0x1400ae88b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x1400ae89d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x1a0]
test rcx, rcx
je 0x1400ae8af
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x1400ae8c1
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x1400ae8d3
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11560]
test rcx, rcx
je 0x1400ae8e5
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11578]
test rcx, rcx
je 0x1400ae8f7
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11990]
test rcx, rcx
je 0x1400ae909
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119a0]
test rcx, rcx
je 0x1400ae91b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119b8]
test rcx, rcx
je 0x1400ae92d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119d0]
test rcx, rcx
je 0x1400ae93f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a00]
test rcx, rcx
je 0x1400ae951
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a10]
test rcx, rcx
je 0x1400ae963
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x119f0]
test rcx, rcx
je 0x1400ae975
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a38]
test rcx, rcx
je 0x1400ae987
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a48]
test rcx, rcx
je 0x1400ae999
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a58]
test rcx, rcx
je 0x1400ae9ab
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a88]
test rcx, rcx
je 0x1400ae9bd
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11a98]
test rcx, rcx
je 0x1400ae9cf
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11ac0]
test rcx, rcx
je 0x1400ae9e1
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b00]
test rcx, rcx
je 0x1400ae9f3
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b10]
test rcx, rcx
je 0x1400aea05
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b28]
test rcx, rcx
je 0x1400aea17
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b50]
test rcx, rcx
je 0x1400aea29
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11b80]
test rcx, rcx
je 0x1400aea3b
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11d08]
test rcx, rcx
je 0x1400aea4d
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11e48]
test rcx, rcx
je 0x1400aea5f
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x11cd8]
test rcx, rcx
je 0x1400aea71
mov rdx, rbx
call qword [rbx + 0x18]
cmp qword [rbx + 0x8b58], 0
je 0x1400aea88
mov rcx, qword [rbx + 0x8b60]
mov rdx, rbx
call qword [rbx + 0x18]
lea rcx, [rbx + 0x218]
call fcn.140118f60
mov rdi, rax
test rax, rax
je 0x1400aeacf
nop dword [rax]
mov rcx, rdi
call fcn.140118f70
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.140118f60
mov rdi, rax
test rax, rax
jne 0x1400aeaa0
cmp dword [rbx + 0x260], 0
mov rsi, qword [rsp + 0x38]
je 0x1400aeafc
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 0x1400aeb0e
mov rdx, rbx
call qword [rbx + 0x18]
mov rcx, qword [rbx + 0x268]
test rcx, rcx
je 0x1400aeb29
test byte [rbx + 0x274], 1
je 0x1400aeb29
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