Function at 0x1400029c0
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov dword [r8], 0
mov rbx, r8
mov qword [r8 + 8], 0
mov r10, qword [rdx]
mov qword [r8 + 0x10], 0
mov r11, qword [rdx + 8]
test r11, r11
je 0x140002a16
mov qword [rsp + 0x48], r11
xor eax, eax
xor r14d, r14d
mov r11, rcx
test al, 1
je 0x140002a30
cmp rax, 1
jne 0x140002a16
mov eax, dword [rbx]
test eax, eax
je 0x140002a30
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x48]
mov ecx, 0x10000
mov r13, qword [r11 + 8]
movzx r8d, byte [r11 + 0x10]
cmp rax, r14
mov rdx, rax
cmova rdx, r14
sub rax, rdx
cmp rax, rcx
cmova rax, rcx
add rdx, r10
mov qword [rsp + 0x88], rdx
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x90], rax
cmp r13, 0xffffffffffffffff
je 0x140002c20
and r8d, 1
jne 0x140002c5d
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x50], r10
mov r12, qword [sym.imp.WS2_32.dll_WSASend]
lea rdi, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
mov rbp, qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r15, [rsp + 0x80]
lea rsi, [0x140268c60]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x130], r11
jmp 0x140002b81
cmp eax, 0x4d2
jne 0x140002ae5
mov dword [rbx], 0x274d
mov qword [rbx + 0x10], 3
test r14d, r14d
jne 0x140002b10
movsxd rax, dword [rsp + 0xc0]
mov dword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
test eax, eax
jns 0x140002d38
mov rdx, rdi
mov rcx, rbx
mov dword [rsp + 0xc0], 0x2733
mov qword [rsp + 0xc8], rsi
mov qword [rsp + 0xd0], 3
call fcn.14024c2f0
test al, al
jne 0x140002b72
mov rdx, qword [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0xa0], 0x4d5
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], 3
call fcn.14024c2f0
test al, al
je 0x140002bf0
mov rdx, rbx
mov rcx, r13
call fcn.1400028f0
test eax, eax
js 0x140002bf0
mov rcx, r13
mov r9, rdi
mov r8d, 1
mov rdx, r15
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call r12
mov r14d, eax
call rbp
mov ecx, 2
mov qword [rbx + 8], rsi
cmp eax, 1
mov dword [rbx], eax
sbb rcx, 0xffffffffffffffff
mov qword [rbx + 0x10], rcx
cmp eax, 0x40
jne 0x140002ad0
mov dword [rbx], 0x2746
mov qword [rbx + 0x10], 3
jmp 0x140002ae5
mov r10, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
mov r11, qword [rsp + 0x130]
mov rax, qword [rsp + 0x48]
cmp r14, rax
jae 0x140002a16
mov rax, qword [rbx + 0x10]
jmp 0x140002a06
lea rcx, [rsp + 0x60]
mov edx, 0x2719
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x130], r11
call fcn.140238b20
movdqu xmm0, xmmword [rsp + 0x60]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x130]
movups xmmword [rbx], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
jmp 0x140002c02
lea r15, [rsp + 0x80]
mov qword [rsp + 0x40], r10
lea r9, [rsp + 0xc0]
mov r8d, 1
mov qword [rsp + 0x130], r11
mov rdx, r15
mov rcx, r13
lea rdi, [0x140268c60]
mov dword [rsp + 0xc0], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, 2
mov qword [rbx + 8], rdi
mov r10, qword [rsp + 0x40]
cmp eax, 1
mov dword [rbx], eax
mov r11, qword [rsp + 0x130]
sbb rdx, 0xffffffffffffffff
cmp eax, 0x40
mov qword [rbx + 0x10], rdx
je 0x140002d52
cmp eax, 0x4d2
jne 0x140002cfd
mov dword [rbx], 0x274d
mov qword [rbx + 0x10], 3
test esi, esi
jne 0x140002c02
movsxd rax, dword [rsp + 0xc0]
mov dword [rbx], 0
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0
test eax, eax
js 0x140002c02
add r14, rax
jmp 0x140002c02
mov r14, qword [rsp + 0x58]
mov r10, qword [rsp + 0x50]
mov r11, qword [rsp + 0x130]
add r14, rax
jmp 0x140002c02
mov dword [rbx], 0x2746
mov qword [rbx + 0x10], 3
jmp 0x140002cfd