Function at 0x14000db50
Capabilities:
Set socket configuration

Disassembly:
push rbx
push rbp
push rsi
push r15
sub rsp, 0x68
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rbx, r9
mov r15, rdx
mov rsi, rcx
cmp rcx, 0xffffffffffffffff
je 0x14000ddfb
movzx eax, byte [rdx]
mov qword [rsp + 0xa0], rdi
mov qword [rsp + 0x58], r13
mov r13d, 4
test al, 8
je 0x14000dc0e
or al, 8
mov dword [rsp + 0x40], ebp
mov byte [rdx], al
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000dc0e
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r13 + rcx]
cmp dword [0x140033574], eax
jle 0x14000dc08
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000dc08
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
test eax, eax
jne 0x14000dc24
mov dword [rbx], ebp
jmp 0x14000dd78
mov rax, qword gs:[0x58]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], r14
mov r12, qword [rax]
mov eax, dword [r13 + r12]
cmp dword [0x140033574], eax
jle 0x14000dc74
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000dc74
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
lea rax, [0x1400320c8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov edx, dword [0x140033574]
cmp edx, dword [r13 + r12]
jle 0x14000dcd4
lea rcx, [0x140033574]
call fcn.1400260b4
mov edx, dword [0x140033574]
cmp edx, 0xffffffff
jne 0x14000dcd4
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
mov edx, dword [0x140033574]
mov rcx, qword [rbx + 8]
mov rax, qword [0x1400320d0]
cmp qword [rcx + 8], rax
jne 0x14000dced
cmp dword [rbx], 0x2733
je 0x14000dd42
cmp edx, dword [r13 + r12]
jle 0x14000dd21
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000dd21
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
mov rdx, qword [rbx + 8]
mov rax, qword [0x1400320d0]
cmp qword [rdx + 8], rax
jne 0x14000ddf4
cmp dword [rbx], 0x4d5
jne 0x14000ddf4
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], ebp
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
and byte [r15], 0xfc
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov edi, eax
test eax, eax
jne 0x14000dd9c
mov dword [rbx], ebp
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0xa0]
mov r13, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140025fb0
add rsp, 0x68
pop r15
pop rsi
pop rbp
pop rbx
ret
mov edx, dword [r13 + r12]
cmp dword [0x140033574], edx
jle 0x14000ddd6
lea rcx, [0x140033574]
call fcn.1400260b4
cmp dword [0x140033574], 0xffffffff
jne 0x14000ddd6
lea rcx, [0x140027e00]
call fcn.140026424
lea rcx, [0x140033574]
call fcn.140026048
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
lea rax, [0x1400320c8]
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
mov eax, edi
jmp 0x14000dd6e
mov eax, ebp
jmp 0x14000dd85