Function at 0x1403287c0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14057c500]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor eax, eax
mov dword [rbp - 0x68], r8d
mov qword [rsp + 0x78], rax
lea rdi, [rbp - 0x30]
mov qword [rsp + 0x68], rax
mov rsi, r9
mov qword [rbp - 0x80], rax
xor r12d, r12d
mov qword [rbp - 0x78], rax
test r8, r8
mov qword [rbp - 0x70], rax
lea r8, [r9 + 8]
mov qword [rbp - 0x58], rax
lea r9, [rbp - 0x58]
mov qword [rbp - 0x50], rax
mov r14, rcx
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], eax
cmovne rax, rdx
movzx edx, word [rsi + 0x1e]
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x78], 1
call fcn.1403293e0
mov eax, dword [rsi + 0x14]
xor r15b, r15b
cmp dword [rsp + 0x68], 0x1c
mov dword [rsp + 0x54], r12d
jne 0x14032896c
cmp eax, 0xffffffff
je 0x140328899
add dword [rbp - 0x80], 0x18
lea rdi, [rbp - 0x18]
mov qword [rbp - 0x30], setsockopt
mov dword [rbp - 0x28], 0x29
mov dword [rbp - 0x24], reloc.WS2_32.dll_setsockopt
mov dword [rbp - 0x20], eax
mov rcx, rsi
call fcn.140303620
test al, al
jne 0x1403288e7
add dword [rbp - 0x80], 0x28
lea rdx, [rbp + 0x10]
xor eax, eax
mov rcx, rsi
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov eax, dword [rsi + 0x10]
mov qword [rdi], 0x24
mov dword [rdi + 8], 0x29
mov dword [rdi + 0xc], setsockopt
mov dword [rdi + 0x20], eax
call fcn.1403043d0
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rdi + 0x10], xmm0
jmp 0x1403289de
cmp dword [rsi + 0x10], r12d
je 0x1403289de
mov rcx, qword [r14 + 0xa8]
lea rax, [rsp + 0x58]
mov edx, 0x29
mov dword [rsp + 0x58], 4
lea r9, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 0x20]
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x140328952
mov rcx, qword [r14 + 0xa8]
lea r9, [rsi + 0x10]
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 0x20]
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140328952
mov r15b, 1
jmp 0x1403289de
mov edx, 7
mov rcx, r14
lea r8d, [rdx + 0xb]
call fcn.1403147c0
or rax, 0xffffffffffffffff
jmp 0x140328ac3
cmp eax, 0xffffffff
je 0x14032898f
add dword [rbp - 0x80], 0x18
lea rdi, [rbp - 0x18]
mov qword [rbp - 0x30], setsockopt
mov dword [rbp - 0x28], r12d
mov dword [rbp - 0x24], 4
mov dword [rbp - 0x20], eax
cmp dword [rsi + 0x10], r12d
jne 0x1403289a1
mov rcx, rsi
call fcn.140303620
test al, al
jne 0x1403289de
add dword [rbp - 0x80], 0x18
xor eax, eax
mov qword [rdi + 0x10], rax
mov rcx, rsi
mov eax, dword [rsi + 0x10]
mov qword [rdi], 0x18
mov dword [rdi + 8], r12d
mov dword [rdi + 0xc], setsockopt
mov dword [rdi + 0x14], eax
call fcn.140310450
mov rcx, qword [r14 + 0xa8]
lea r8, [rdi + 0x10]
mov edx, eax
call qword [sym.imp.WS2_32.dll_WSAHtonl]
cmp dword [rbp - 0x80], r12d
lea rax, [rbp - 0x30]
mov rcx, qword [r14 + 0xa8]
lea r9, [rsp + 0x50]
cmove rax, qword [rbp - 0x78]
mov qword [rbp - 0x78], rax
mov rax, qword [r14 + 0xc8]
mov dword [rsp + 0x50], r12d
test rax, rax
je 0x140328a22
mov qword [rsp + 0x28], r12
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], r12
call rax
jmp 0x140328a53
mov eax, dword [rsp + 0x68]
lea rdx, [rbp - 0x68]
mov qword [rsp + 0x40], r12
mov r8d, 1
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call qword [sym.imp.WS2_32.dll_WSASendTo]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x140328a94
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, r14
cmp eax, 0x2738
je 0x140328a80
mov edx, 7
lea r8d, [rdx + 0xb]
call fcn.1403147c0
or rbx, 0xffffffffffffffff
jmp 0x140328a98
mov edx, 6
lea r8d, [rdx + 0xb]
call fcn.1403147c0
or rbx, 0xffffffffffffffff
jmp 0x140328a98
mov ebx, dword [rsp + 0x50]
test r15b, r15b
je 0x140328ac0
mov rcx, qword [r14 + 0xa8]
lea r9, [rsp + 0x54]
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r8d, [rdx - 0x20]
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, rbx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1404e17d0
add rsp, 0x130
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret