Function at 0x140057e10
Capabilities:
Connect socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140284010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r9
mov r14, r8
xor r12d, r12d
mov qword [rbp + 7], r12
mov qword [rbp + 0x17], r12
mov qword [rbp + 0x1f], send
mov byte [rbp + 7], r12b
lea r9, [rbp + 7]
mov r8, rbx
call fcn.140057970
lea rdx, [rbx + 0x40]
lea rcx, [rbp - 0x19]
call fcn.14004f2b0
mov rdx, rax
call fcn.140058ec0
mov edi, eax
movzx ecx, word [rbx + 0x60]
call qword [sym.imp.WS2_32.dll_htons]
movzx ebx, ax
mov rcx, qword [r14]
lea esi, [r12 + 2]
cmp rcx, 0xffffffffffffffff
jne 0x140057eb5
xor r8d, r8d
lea edx, [rcx + 2]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [r14], rax
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x140058102
mov word [rbp - 0x19], si
mov dword [rbp - 0x15], edi
mov word [rbp - 0x17], bx
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x19]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140058102
mov r15b, 1
mov qword [rbp - 0x39], r12
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], r12
mov rdi, qword [rbp + 0x17]
lea rsi, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rsi, qword [rbp + 7]
cmp rdi, 0x10
jae 0x140057f0e
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x39], xmm0
mov ebx, send
jmp 0x140057f84
mov rbx, rdi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140057f62
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140058170
mov rcx, rax
call fcn.140059ec0
mov rcx, rax
test rax, rax
je 0x1400580a9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140057f71
test rcx, rcx
je 0x140057f6e
call fcn.140059ec0
jmp 0x140057f71
mov rax, r12
mov qword [rbp - 0x39], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x21], rbx
mov qword [rbp - 0x29], rdi
test rdi, rdi
je 0x14005807a
nop word [rax + rax]
lea rdx, [rbp - 0x39]
cmp rbx, 0x10
cmovae rdx, qword [rbp - 0x39]
xor r9d, r9d
mov r8d, dword [rbp - 0x29]
mov rcx, qword [r14]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140058073
jle 0x14005805c
movsxd rcx, eax
mov rax, qword [rbp - 0x29]
mov r8, rax
sub r8, rcx
mov qword [rbp - 0x19], r12
mov qword [rbp - 9], r12
mov qword [rbp - 1], send
cmp rax, rcx
jb 0x14005816a
sub rax, rcx
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdx, qword [rbp - 0x39]
add rdx, rcx
lea rcx, [rbp - 0x19]
call fcn.14003ccb0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x14005804c
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058047
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005806c
call fcn.14005a21c
movups xmm0, xmmword [rbp - 0x19]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rbp - 9]
movups xmmword [rbp - 0x29], xmm1
mov rbx, qword [rbp - 0x21]
cmp qword [rbp - 0x29], 0
jbe 0x14005807a
jmp 0x140057fa0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor r15b, r15b
mov rbx, qword [rbp - 0x21]
cmp rbx, 0x10
jb 0x1400580b5
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400580b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400580b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
mov qword [rbp - 0x29], r12
mov qword [rbp - 0x21], send
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x1400580fc
inc rdx
mov rcx, qword [rbp + 7]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400580f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140058134
call fcn.14005a21c
movzx eax, r15b
jmp 0x140058142
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140058140
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005813b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005813b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005a21c
xor al, al
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140059ea0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14003ce40
nop
call fcn.1400179b0
int3