Function at 0x1400fc0a0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x14032aa00]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov byte [rsp + 0x30], r9b
mov qword [rsp + 0x50], r8
mov rdi, rdx
mov rsi, rcx
lea r14, [rcx + 0x148]
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x68], 0
mov eax, dword [r14]
cmp eax, 0xffffffff
je 0x1400fc5c9
xor r15d, r15d
test eax, eax
je 0x1400fc125
cmp eax, 0xb
je 0x1400fc119
cmp eax, 0xc
je 0x1400fc511
xor al, al
jmp 0x1400fc2c0
lea r12, [rcx + 0x150]
jmp 0x1400fc20e
lea r12, [rcx + 0x150]
mov rbx, qword [r12]
movzx eax, byte [rbx + 0x10]
and al, 1
mov byte [rcx + 0x15c], al
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400fc15a
call fcn.14004cfa0
mov dword [rsp + 0x38], 0x2719
mov qword [rsp + 0x40], rax
jmp 0x1400fc196
mov dword [rsp + 0x38], 1
lea r8, [rsp + 0x38]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x1400fc17f
mov dword [rdi], r15d
or byte [rbx + 0x10], 1
jmp 0x1400fc19e
call fcn.14004cfa0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
cmp dword [rdi], r15d
jne 0x1400fc3ad
cmp dword [rsi + 0x158], 1
jne 0x1400fc205
mov rax, qword [r12]
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400fc1d2
call fcn.14004cfa0
mov dword [rsp + 0x38], 0x2719
mov qword [rsp + 0x40], rax
jmp 0x1400fc1fd
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
jne 0x1400fc1e6
mov dword [rdi], r15d
jmp 0x1400fc20e
call fcn.14004cfa0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
cmp dword [rdi], r15d
jne 0x1400fc3ad
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0x800
mov rax, qword [r12]
mov rcx, qword [rax]
add rcx, 0x28
lea rdx, [rax + 8]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x38]
call fcn.1400cfac0
call fcn.14004cfa0
mov r13, qword [rdi + 8]
mov rax, qword [rax + 8]
cmp qword [r13 + 8], rax
jne 0x1400fc25c
cmp dword [rdi], 0x2733
je 0x1400fc272
mov ebx, dword [rdi]
test ebx, ebx
jne 0x1400fc2f5
cmp qword [rsp + 0x50], r15
jne 0x1400fc220
jmp 0x1400fc32b
mov al, 1
mov byte [rsp + 0x30], al
mov byte [rsp + 0x68], al
mov dword [r14], ntohl
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x150]
lea r8, [rax + 0x68]
lea rdx, [rax + 8]
mov rcx, qword [rax]
add rcx, 0x28
mov qword [rsp + 0x20], r8
mov r9, rsi
xor r8d, r8d
call fcn.1400af430
cmp dword [r14], r15d
je 0x1400fc290
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x1400fc2cb
mov dword [r14], 0xffffffff
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1401ae6a0
mov rbx, qword [rsp + 0x940]
add rsp, 0x8f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14004cf30
nop
mov rcx, qword [rax + 8]
cmp qword [r13 + 8], rcx
jne 0x1400fc3ad
cmp ebx, 2
jne 0x1400fc3ad
mov dword [rsp + 0x50], r15d
lea rax, [0x1403275b8]
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
cmp dword [rsi + 0x158], r15d
jne 0x1400fc394
mov rax, qword [rsi + 0x150]
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400fc359
call fcn.14004cfa0
mov dword [rsp + 0x50], 0x2719
mov qword [rsp + 0x58], rax
jmp 0x1400fc38c
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
jne 0x1400fc375
mov dword [rdi], r15d
mov rax, qword [rdi + 8]
mov qword [rdi + 8], rax
jmp 0x1400fc399
call fcn.14004cfa0
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdi], xmm0
cmp dword [rdi], r15d
jne 0x1400fc3ad
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x150]
call fcn.14010c5a0
cmp byte [rsp + 0x30], r15b
jne 0x1400fc511
mov al, 1
mov byte [rsp + 0x30], al
mov byte [rsp + 0x68], al
mov dword [r14], ntohl
nop dword [rax]
cmp qword [rsi + 0x120], 0
je 0x1400fc404
mov rcx, qword [rsi + 0x118]
mov qword [rbp - 0x78], rcx
mov rax, qword [rsi + 0x128]
mov qword [rbp - 0x68], rax
mov rax, qword [rcx + 8]
lea rdx, [rsi + 0x100]
lea rcx, [rsp + 0x70]
call rax
jmp 0x1400fc410
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov rax, qword [rsi + 0x130]
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsi + 8]
call fcn.14011e5e0
nop
cmp qword [rbp - 0x70], 0
je 0x1400fc43f
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
lea rcx, [rsp + 0x70]
call rdx
nop
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.1400d5b70
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x140], xmm0
cmp qword [rbp - 0x38], 0
je 0x1400fc47d
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x78], rcx
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x68], rax
mov rax, qword [rcx + 8]
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x70]
call rax
jmp 0x1400fc489
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x60], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.14008acd0
nop
cmp qword [rbp - 0x70], 0
je 0x1400fc4bc
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
lea rcx, [rsp + 0x70]
call rdx
nop
cmp byte [rbp + 0x118], 0
je 0x1400fc4e3
cmp qword [rbp + 0x100], 0
je 0x1400fc4e3
mov rax, qword [rbp + 0xf8]
mov rdx, qword [rax]
lea rcx, [rbp + 0xe0]
call rdx
nop
lea rcx, [rbp - 0x18]
call fcn.1400df300
nop
cmp qword [rbp - 0x38], 0
je 0x1400fc502
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
lea rcx, [rbp - 0x58]
call rdx
nop
cmp dword [r14], 0
je 0x1400fc3d0
jmp 0x1400fc2bb
mov rbx, qword [rsi + 0x150]
movzx r12d, byte [rsi + 0x15c]
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400fc531
call fcn.14004cfa0
jmp 0x1400fc570
test r12b, r12b
setne r15b
mov dword [rsp + 0x38], r15d
lea r8, [rsp + 0x38]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jns 0x1400fc55e
call fcn.14004cfa0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1400fc570
movzx eax, byte [rbx + 0x10]
test r12b, r12b
je 0x1400fc56b
or al, 1
jmp 0x1400fc56d
and al, 0xfc
mov byte [rbx + 0x10], al
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
cmp byte [rsi + 0x138], 0
je 0x1400fc5a6
cmp qword [rsi + 0x120], 0
je 0x1400fc59f
mov rax, qword [rsi + 0x118]
mov rdx, qword [rax]
lea rcx, [rsi + 0x100]
call rdx
nop
mov byte [rsi + 0x138], 0
lea rcx, [rsi + 8]
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x50], xmm0
mov r9b, 1
xor r8d, r8d
lea rdx, [rsp + 0x50]
call fcn.1400f6720
xor al, al
jmp 0x1400fc2c0
mov al, 1
mov dword [r14], 0xffffffff
jmp 0x1400fc2c0