Function at 0x14002d4b8
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
mov dword [rsp + 0x44], 0
cmp qword [rsp + 0x130], 0xffffffffffffffff
je 0x14002d794
movzx eax, byte [rsp + 0x140]
test eax, eax
je 0x14002d56f
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax]
and eax, 8
test eax, eax
je 0x14002d56f
xor eax, eax
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x4a], ax
mov dword [rsp + 0xa0], 0
call fcn.140289da0
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x80
mov r8d, 0xffff
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.14002d238
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rsp + 0x60], eax
call fcn.140289da0
mov qword [rsp + 0x80], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x148]
movups xmm0, xmmword [rsp + 0xb0]
movdqu xmmword [rax], xmm0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x14002d794
call fcn.140289da0
mov qword [rsp + 0x88], rax
mov dword [rsp + 0xc0], 0x2733
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc8], rax
movups xmm0, xmmword [rsp + 0xc0]
movdqu xmmword [rsp + 0xd0], xmm0
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0xd8]
cmp qword [rax + 8], rcx
jne 0x14002d64e
mov rax, qword [rsp + 0x148]
mov ecx, dword [rsp + 0xd0]
cmp dword [rax], ecx
jne 0x14002d64e
mov dword [rsp + 0x4c], 1
jmp 0x14002d656
mov dword [rsp + 0x4c], 0
mov al, byte [rsp + 0x4c]
mov byte [rsp + 0x40], al
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x14002d6f4
call fcn.140289da0
mov qword [rsp + 0x90], rax
mov dword [rsp + 0xe0], 0x4d5
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe8], rax
movups xmm0, xmmword [rsp + 0xe0]
movdqu xmmword [rsp + 0xf0], xmm0
mov rax, qword [rsp + 0x148]
mov rcx, qword [rsp + 0xf8]
cmp qword [rax + 8], rcx
jne 0x14002d6d7
mov rax, qword [rsp + 0x148]
mov ecx, dword [rsp + 0xf0]
cmp dword [rax], ecx
jne 0x14002d6d7
mov dword [rsp + 0x50], 1
jmp 0x14002d6df
mov dword [rsp + 0x50], 0
mov al, byte [rsp + 0x50]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x14002d794
mov dword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, qword [rsp + 0x138]
movzx eax, byte [rax]
and eax, 0xfffffffc
mov rcx, qword [rsp + 0x138]
mov byte [rcx], al
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rcx, qword [rsp + 0x130]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rsp + 0x78], eax
call fcn.140289da0
mov qword [rsp + 0x98], rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x148]
movups xmm0, xmmword [rsp + 0x100]
movdqu xmmword [rax], xmm0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x14002d7c7
mov dword [rsp + 0x110], 0
call fcn.140289da0
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x148]
movups xmm0, xmmword [rsp + 0x110]
movdqu xmmword [rax], xmm0
mov eax, dword [rsp + 0x44]
add rsp, 0x128
ret