Function at 0x140137800
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x140491ab8]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov r13d, r9d
mov rsi, r8
mov rdi, rdx
mov qword [rbp - 0x40], rcx
mov r14d, dword [rbp + 0x68]
mov r8d, dword [rbp + 0x70]
mov rbx, qword [rbp + 0x78]
xor r12d, r12d
cmp qword [rsi], 0xffffffffffffffff
je 0x1401378b3
mov dword [rbp - 0x34], r12d
movabs rdx, 0x4d54ee85da812030
mov rcx, qword [0x1404927b8]
add rcx, rdx
lea rsi, [0x1404927b0]
cmp rcx, 1
jbe 0x14013787d
mov rax, qword [0x1404927b0]
lea edx, [r12 + 1]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x14013787f
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x30], rsi
movups xmm2, xmmword [rbp - 0x38]
movups xmmword [rbx], xmm2
movsd xmm1, qword [rbp - 0x28]
movsd qword [rbx + 0x10], xmm1
movups xmmword [rdi], xmm2
movsd qword [rdi + 0x10], xmm1
jmp 0x140137a73
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov edx, r14d
mov ecx, r13d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r15, rax
cmp rax, 0xffffffffffffffff
sete dl
mov rcx, rbx
call fcn.140131be0
cmp r15, 0xffffffffffffffff
je 0x14013790f
cmp r13d, 0x17
jne 0x14013790f
mov dword [rbp - 0x20], r12d
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x20]
lea edx, [r13 + 0x12]
lea r8d, [r13 + 4]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
cmp r15, 0xffffffffffffffff
jne 0x140137925
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movsd xmm1, qword [rbx + 0x10]
jmp 0x140137a6e
mov rdx, qword [rbp - 0x40]
mov rdx, qword [rdx + 8]
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rdx + 0x28]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test rax, rax
jne 0x1401379b9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov dword [rbp - 0x34], r12d
movabs rdx, 0x4d54ee85da812030
add rdx, qword [0x1404926f0]
lea rax, [0x1404926e8]
cmp rdx, 1
jbe 0x140137986
mov rcx, qword [0x1404926e8]
mov r8, qword [rcx + 0x30]
mov edx, r13d
mov rcx, rax
call r8
jmp 0x14013798c
test r13d, r13d
setne al
movzx eax, al
add rax, 2
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x38], r13d
lea rax, [0x1404926e8]
mov qword [rbp - 0x30], rax
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rbx], xmm0
movsd xmm1, qword [rbp - 0x28]
movsd qword [rbx + 0x10], xmm1
jmp 0x1401379cd
xorps xmm0, xmm0
mov qword [rbp - 0x28], r12
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x28]
movsd qword [rbx + 0x10], xmm0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x38], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rbp - 0x28], xmm1
test byte [rbp - 0x28], 1
je 0x140137a27
cmp qword [rbp - 0x28], 1
jne 0x1401379f6
cmp dword [rbp - 0x38], 0
setne al
test al, al
je 0x140137a27
movups xmmword [rdi], xmm0
movsd xmm1, qword [rbx + 0x10]
movsd qword [rdi + 0x10], xmm1
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r12
mov byte [rbp - 0x48], 0
lea r9, [rbp - 0x38]
mov r8b, 1
lea rdx, [rbp - 0x48]
mov rcx, r15
call fcn.140131ca0
jmp 0x140137a73
mov qword [rbp - 0x40], 0xffffffffffffffff
mov qword [rsi], r15
sub r14d, 1
je 0x140137a4a
cmp r14d, 1
je 0x140137a44
mov byte [rsi + 8], 0
jmp 0x140137a4e
mov byte [rsi + 8], 0x20
jmp 0x140137a4e
mov byte [rsi + 8], reloc.WS2_32.dll_recv
lea rcx, [rsi + 0x10]
call fcn.14014b050
xorps xmm2, xmm2
mov qword [rbp - 0x28], r12
movups xmmword [rbx], xmm2
movsd xmm1, qword [rbp - 0x28]
movsd qword [rbx + 0x10], xmm1
movups xmmword [rdi], xmm2
movsd qword [rdi + 0x10], xmm1
mov rax, rdi
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14035b0c0
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret