Function at 0x14008db80
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x108
mov rbx, r9
mov r14, r8
mov rsi, rcx
movzx ebp, word [rdx]
movups xmm0, xmmword [rdx + 0x10]
movups xmmword [rsp + 0xee], xmm0
movups xmm0, xmmword [rdx + 2]
movaps xmmword [rsp + 0xe0], xmm0
test bp, bp
mov eax, 2
mov ecx, 0x17
cmove ecx, eax
mov eax, dword [0x14031a20c]
cmp eax, 3
jne 0x14008e21a
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov edx, 1
mov r8d, 6
xor r9d, r9d
call sub.ws2_32.dll_WSASocketW
cmp rax, 0xffffffffffffffff
je 0x14008dc96
mov rdi, rax
mov dword [rsp + 0x50], 1
lea r8, [rsp + 0x50]
mov rcx, rax
mov edx, 0x8004667e
call sub.ws2_32.dll_ioctlsocket
cmp eax, 0xffffffff
je 0x14008dd25
mov qword [rsp + 0xd8], rbx
mov r12, qword [r14 + 0x40]
mov ebx, dword [r14 + 0x48]
mov r15, qword [r14 + 0x50]
mov r13d, dword [r14 + 0x58]
cmp r13d, 0x3b9aca00
jne 0x14008dd74
cmp ebx, 0x3b9aca00
je 0x14008de92
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 8
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14008de8d
mov r13d, 0x3b9aca00
jmp 0x14008ddbc
call sub.kernel32.dll_GetLastError
mov edi, eax
movzx eax, byte [0x14031a2c8]
mov edx, 0xe
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14008e26a
mov rbx, rax
movabs rax, 0x726f727265206e65
mov qword [rbx + 6], rax
movabs rax, 0x6e65706f20706374
mov qword [rbx], rax
movzx eax, byte [0x14031a2c8]
mov edx, 8
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14008e25b
shl rdi, 0x20
or rdi, 2
mov qword [rax], rdi
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], 0xe
mov qword [rsi + 0x20], rax
lea rax, [0x14026c2c0]
mov qword [rsi + 0x28], rax
mov dword [rsi + 8], 0x3b9aca01
jmp 0x14008e205
call sub.kernel32.dll_GetLastError
mov r15d, eax
movzx eax, byte [0x14031a2c8]
mov r14d, 0x19
mov edx, 0x19
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14008e288
mov rbx, rax
shl r15, 0x20
or r15, 2
movups xmm0, xmmword [0x14026bdef]
movups xmmword [rax + 9], xmm0
movups xmm0, xmmword [0x14026bde6]
movups xmmword [rax], xmm0
jmp 0x14008e1c4
cmp r13d, 0x3b9aca01
je 0x14008de92
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 8
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x14008de8d
xor ecx, ecx
cmp ebx, 0x3b9aca00
je 0x14008ddff
mov ecx, 0x3e8
mov rax, r12
mul rcx
mov ecx, ebx
imul r8, rcx, 0x431bde83
shr r8, 0x32
add r8, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
xor eax, eax
neg rdx
mov ecx, 0
sbb ecx, ecx
or ecx, r8d
cmp r13d, 0x3b9aca00
je 0x14008de35
mov edx, 0x3e8
mov rax, r15
mul rdx
mov r8d, r13d
imul r8, r8, 0x431bde83
shr r8, 0x32
add r8, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
xor eax, eax
neg rdx
sbb eax, eax
or eax, r8d
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x4c], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x50]
mov rcx, rdi
mov edx, 0x98000004
mov r9d, 0xc
call sub.ws2_32.dll_WSAIoctl
cmp eax, 0xffffffff
jne 0x14008de92
call sub.kernel32.dll_GetLastError
test bp, bp
je 0x14008e066
cmp byte [r14 + 0x86], 0
je 0x14008e0f0
movups xmm0, xmmword [r14 + 0x87]
movups xmmword [rsp + 0x58], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0x50], 0x17
mov dword [rsp + 0xd0], 0x1c
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x1c
call sub.ws2_32.dll_bind
test eax, eax
jne 0x14008e175
xor r15d, r15d
test r15, r15
jne 0x14008e18e
cmp byte [r14 + 0x98], 0
je 0x14008df73
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 4
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14008df73
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.14008e2a0
test byte [r14], 1
je 0x14008dfc8
mov rax, qword [r14 + 8]
mov rcx, rax
shr rcx, 0x20
xor edx, edx
neg rcx
sbb edx, edx
or edx, eax
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 0x1001
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14008dfc8
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.14008e2a0
mov ebx, dword [rsp + 0x170]
cmp dword [r14 + 0x10], 1
jne 0x14008e025
mov rax, qword [r14 + 0x18]
mov rcx, rax
shr rcx, 0x20
xor edx, edx
neg rcx
sbb edx, edx
or edx, eax
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov rcx, rdi
mov edx, 0xffff
mov r8d, 0x1002
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x14008e025
call sub.kernel32.dll_GetLastError
shl rax, 0x20
lea rcx, [rax + 2]
call fcn.14008e2a0
movups xmm0, xmmword [rsp + 0xee]
movups xmmword [rsi + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsi + 0x12], xmm0
mov rax, qword [rsp + 0xd8]
mov qword [rsi], rax
mov dword [rsi + 8], ebx
mov word [rsi + 0x10], bp
mov qword [rsi + 0x30], rdi
mov byte [rsi + 0x88], 0
mov byte [rsi + 0x90], 0
jmp 0x14008e205
test byte [r14 + 0x81], 1
je 0x14008e0fc
mov eax, dword [r14 + 0x82]
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0xc8], 0
mov dword [rsp + 0x50], 2
mov dword [rsp + 0x54], eax
mov dword [rsp + 0xd0], 0x10
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0x10
call sub.ws2_32.dll_bind
test eax, eax
jne 0x14008e175
jmp 0x14008df1e
mov r8d, 0x1c
mov ax, 0x17
jmp 0x14008e106
mov r8d, 0x10
mov ax, 2
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0xc8], 0
mov word [rsp + 0x50], ax
mov word [rsp + 0x52], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0xd0], r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call sub.ws2_32.dll_bind
test eax, eax
je 0x14008df1e
call sub.kernel32.dll_GetLastError
mov r15d, eax
shl r15, 0x20
or r15, 2
test r15, r15
je 0x14008df2a
movzx eax, byte [0x14031a2c8]
mov r14d, 0x14
mov edx, 0x14
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14008e279
mov rbx, rax
movups xmm0, xmmword [0x14026bdff]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], 0x726f7272
movzx eax, byte [0x14031a2c8]
mov edx, 8
xor ecx, ecx
call fcn.1401dbaa0
test rax, rax
je 0x14008e25b
mov qword [rax], r15
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], r14
mov qword [rsi + 0x20], rax
lea rax, [0x14026c2c0]
mov qword [rsi + 0x28], rax
mov dword [rsi + 8], 0x3b9aca01
mov rcx, rdi
call sub.ws2_32.dll_closesocket
nop
add rsp, 0x108
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsp + 0x4c], 1
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x50], rax
lea rax, str._redacted_
mov qword [rsp + 0x20], rax
lea rax, [0x14031a20c]
lea r9, [0x1402d8e00]
lea r8, [rsp + 0x50]
mov edi, ecx
mov rcx, rax
xor edx, edx
call fcn.1401b2f70
mov ecx, edi
jmp 0x14008dbd6
mov ecx, 8
mov edx, 8
call fcn.140033f80
mov ecx, 1
mov edx, 0xe
call fcn.140033f20
mov ecx, 1
mov edx, 0x14
call fcn.140033f20
mov ecx, 1
mov edx, 0x19
call fcn.140033f20
int3