Function at 0x1400fc5e0
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 + 0x188]
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x68], 0
mov eax, dword [r14]
cmp eax, 0xffffffff
je 0x1400fcb09
xor r15d, r15d
test eax, eax
je 0x1400fc665
cmp eax, 0xb
je 0x1400fc659
cmp eax, 0xc
je 0x1400fca51
xor al, al
jmp 0x1400fc800
lea r12, [rcx + 0x190]
jmp 0x1400fc74e
lea r12, [rcx + 0x190]
mov rbx, qword [r12]
movzx eax, byte [rbx + 0x10]
and al, 1
mov byte [rcx + 0x19c], al
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400fc69a
call fcn.14004cfa0
mov dword [rsp + 0x38], 0x2719
mov qword [rsp + 0x40], rax
jmp 0x1400fc6d6
mov dword [rsp + 0x38], 1
lea r8, [rsp + 0x38]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x1400fc6bf
mov dword [rdi], r15d
or byte [rbx + 0x10], 1
jmp 0x1400fc6de
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 0x1400fc8ed
cmp dword [rsi + 0x198], 1
jne 0x1400fc745
mov rax, qword [r12]
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400fc712
call fcn.14004cfa0
mov dword [rsp + 0x38], 0x2719
mov qword [rsp + 0x40], rax
jmp 0x1400fc73d
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
jne 0x1400fc726
mov dword [rdi], r15d
jmp 0x1400fc74e
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 0x1400fc8ed
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 0x1400fc79c
cmp dword [rdi], 0x2733
je 0x1400fc7b2
mov ebx, dword [rdi]
test ebx, ebx
jne 0x1400fc835
cmp qword [rsp + 0x50], r15
jne 0x1400fc760
jmp 0x1400fc86b
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 + 0x190]
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.1400af690
cmp dword [r14], r15d
je 0x1400fc7d0
movzx eax, byte [rsp + 0x30]
test al, al
jne 0x1400fc80b
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 0x1400fc8ed
cmp ebx, 2
jne 0x1400fc8ed
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 + 0x198], r15d
jne 0x1400fc8d4
mov rax, qword [rsi + 0x190]
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400fc899
call fcn.14004cfa0
mov dword [rsp + 0x50], 0x2719
mov qword [rsp + 0x58], rax
jmp 0x1400fc8cc
mov edx, 1
call qword [sym.imp.WS2_32.dll_shutdown]
test eax, eax
jne 0x1400fc8b5
mov dword [rdi], r15d
mov rax, qword [rdi + 8]
mov qword [rdi + 8], rax
jmp 0x1400fc8d9
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 0x1400fc8ed
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi + 0x190]
call fcn.14010c5a0
cmp byte [rsp + 0x30], r15b
jne 0x1400fca51
mov al, 1
mov byte [rsp + 0x30], al
mov byte [rsp + 0x68], al
mov dword [r14], ntohl
nop dword [rax]
cmp qword [rsi + 0x160], 0
je 0x1400fc944
mov rcx, qword [rsi + 0x158]
mov qword [rbp - 0x78], rcx
mov rax, qword [rsi + 0x168]
mov qword [rbp - 0x68], rax
mov rax, qword [rcx + 8]
lea rdx, [rsi + 0x140]
lea rcx, [rsp + 0x70]
call rax
jmp 0x1400fc950
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r15
mov rax, qword [rsi + 0x170]
mov qword [rbp - 0x60], rax
lea rdx, [rbp - 0x58]
lea rcx, [rsi + 8]
call fcn.14011e720
nop
cmp qword [rbp - 0x70], 0
je 0x1400fc97f
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.1400d5c50
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x180], xmm0
cmp qword [rbp - 0x38], 0
je 0x1400fc9bd
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 0x1400fc9c9
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.14008af80
nop
cmp qword [rbp - 0x70], 0
je 0x1400fc9fc
mov rax, qword [rbp - 0x78]
mov rdx, qword [rax]
lea rcx, [rsp + 0x70]
call rdx
nop
cmp byte [rbp + 0x158], 0
je 0x1400fca23
cmp qword [rbp + 0x140], 0
je 0x1400fca23
mov rax, qword [rbp + 0x138]
mov rdx, qword [rax]
lea rcx, [rbp + 0x120]
call rdx
nop
lea rcx, [rbp - 0x18]
call fcn.1400df380
nop
cmp qword [rbp - 0x38], 0
je 0x1400fca42
mov rax, qword [rbp - 0x40]
mov rdx, qword [rax]
lea rcx, [rbp - 0x58]
call rdx
nop
cmp dword [r14], 0
je 0x1400fc910
jmp 0x1400fc7fb
mov rbx, qword [rsi + 0x190]
movzx r12d, byte [rsi + 0x19c]
mov rcx, qword [rbx + 8]
cmp rcx, 0xffffffffffffffff
jne 0x1400fca71
call fcn.14004cfa0
jmp 0x1400fcab0
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 0x1400fca9e
call fcn.14004cfa0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x1400fcab0
movzx eax, byte [rbx + 0x10]
test r12b, r12b
je 0x1400fcaab
or al, 1
jmp 0x1400fcaad
and al, 0xfc
mov byte [rbx + 0x10], al
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
cmp byte [rsi + 0x178], 0
je 0x1400fcae6
cmp qword [rsi + 0x160], 0
je 0x1400fcadf
mov rax, qword [rsi + 0x158]
mov rdx, qword [rax]
lea rcx, [rsi + 0x140]
call rdx
nop
mov byte [rsi + 0x178], 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.1400f7810
xor al, al
jmp 0x1400fc800
mov al, 1
mov dword [r14], 0xffffffff
jmp 0x1400fc800