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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4078]
mov eax, 0x4178
call fcn.14007a500
sub rsp, rax
mov rax, qword [0x14009a010]
xor rax, rsp
mov qword [rbp + 0x4060], rax
mov qword [rsp + 0x30], r9
mov rdi, r8
mov r12, rdx
mov r15, rcx
mov qword [rsp + 0x38], rcx
mov byte [rbp - 0x20], 0
mov rbx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x1400121c8
mov rdi, qword [r8]
mov rax, qword [rdx]
xor r14d, r14d
cmp qword [rax + 0x28], 0xffffffffffffffff
jne 0x140012225
mov qword [rbp - 0x68], r14
movdqa xmm0, xmmword [0x14008f700]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], r14b
mov dword [rbp - 0x70], 0x2749
xor r8d, r8d
lea rdx, [0x14008d938]
lea rcx, [rbp - 0x68]
call fcn.140001f50
nop
mov byte [rsp + 0x40], 1
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x48], eax
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [rsp + 0x60], xmm1
jmp 0x140012266
test rbx, rbx
je 0x140012261
mov esi, 0x7fffffff
nop
mov r8, rbx
cmp rbx, rsi
cmova r8, rsi
mov rcx, qword [r12]
xor r9d, r9d
mov rdx, rdi
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400122db
cdqe
add rdi, rax
sub rbx, rax
jne 0x140012230
mov byte [rsp + 0x40], r14b
lea rcx, [rbp - 0x20]
call fcn.1400138e0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.140013950
movzx ecx, byte [rbp - 0x20]
movzx ebx, cl
cmp byte [rsp + 0x40], 0
je 0x140012299
lea rcx, [rsp + 0x48]
call fcn.140012a80
movzx ecx, byte [rbp - 0x20]
test bl, bl
je 0x1400122f2
lea rdx, [rbp - 0x10]
lea rax, [0x140342858]
test cl, cl
cmove rdx, rax
lea rcx, [rbp + 0x10]
call fcn.140003290
mov rdx, rax
mov rcx, r15
call fcn.1400135b0
nop
cmp byte [rbp - 0x20], 0
je 0x140012a45
lea rcx, [rbp - 0x18]
call fcn.140012a80
jmp 0x140012a45
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.14001b6d0
jmp 0x140012266
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], send
mov byte [rsp + 0x70], 0
xor edx, edx
mov r8d, 0x4000
lea rcx, [rbp + 0x60]
call fcn.140053d90
mov qword [rsp + 0x38], r14
lea rsi, str._r_n_r_n
jmp 0x14001232a
xor r14d, r14d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x60]
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.14001bc90
mov rbx, rax
lea rax, [rbp - 0x20]
cmp rbx, rax
je 0x1400123a0
lea rcx, [rbp - 0x20]
call fcn.1400138e0
movzx ecx, byte [rbx]
mov byte [rbp - 0x20], cl
test cl, cl
je 0x1400123a0
mov ecx, dword [rbx + 8]
mov dword [rbp - 0x18], ecx
mov qword [rbp - 0x10], r14
mov qword [rbp], r14
mov qword [rbp + 8], r14
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rbx + 0x20]
movups xmmword [rbp], xmm1
mov qword [rbx + 0x20], r14
mov qword [rbx + 0x28], send
mov byte [rbx + 0x10], 0
nop word [rax + rax]
cmp byte [rbp - 0x20], 0
setne bl
lea rcx, [rbp - 0x70]
call fcn.1400138e0
test bl, bl
jne 0x140012a09
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140012963
lea r8, [rbp + 0x60]
add r8, rax
lea rax, [rbp + 0x60]
sub r8, rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400020b0
lea rbx, [rsp + 0x70]
mov r14, qword [rsp + 0x70]
mov r13, qword [rbp - 0x78]
cmp r13, 0x10
cmovae rbx, r14
mov rax, qword [rbp - 0x80]
cmp rax, 4
jb 0x140012327
lea rdi, [rbx + rax]
lea r8, [rdi - 3]
sub r8, rbx
mov edx, recv
mov rcx, rbx
call fcn.140054710
test rax, rax
je 0x140012327
nop word [rax + rax]
xor ecx, ecx
movzx edx, byte [rax + rcx]
inc rcx
cmp dl, byte [rsi + rcx - 1]
jne 0x140012449
cmp rcx, 4
jne 0x140012432
xor ecx, ecx
jmp 0x14001244e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140012473
inc rax
lea r8, [rdi - 3]
sub r8, rax
mov edx, recv
mov rcx, rax
call fcn.140054710
test rax, rax
jne 0x140012430
jmp 0x140012327
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x140012327
lea rsi, [rax + 4]
lea rax, [rsp + 0x70]
cmp r13, 0x10
jb 0x140012495
lea rdx, [rsi + r14]
jmp 0x14001249e
lea rdx, [rax + rsi]
lea r14, [rsp + 0x70]
mov rcx, r14
call fcn.140011b90
mov r14d, eax
test eax, eax
jne 0x14001258e
movabs rax, 0x8ce3112038a42a7
mov qword [rbp + 0x10], rax
movabs rax, 0x27c0b0b3dc7d4504
mov qword [rbp + 0x18], rax
movabs rax, 0xf070d6e002b5cc61
mov qword [rbp + 0x20], rax
movabs rax, 0x43411b29758980de
mov qword [rbp + 0x28], rax
movabs rax, 0xbfdc3fbe955fb4ab
mov qword [rbp + 0x30], rax
movabs rax, 0x24d7073f5913c958
mov qword [rbp + 0x38], rax
movabs rcx, 0x6bee426777eb36d4
mov qword [rbp - 0x70], rcx
movabs rcx, 0x7b4dfddfc18216b
mov qword [rbp - 0x68], rcx
movabs rcx, 0x9e19f6846cc0a307
mov qword [rbp - 0x60], rcx
movabs rcx, 0x26333b7921ddc8fe
mov qword [rbp - 0x58], rcx
movabs rcx, 0xbfdc5acdfb30c4d8
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [rbp - 0x60]
pxor xmm1, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [rbp - 0x50]
pxor xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001ed0
jmp 0x140012a25
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
jb 0x1400125a5
mov rcx, qword [rsp + 0x70]
lea rdx, [rsi + rcx]
jmp 0x1400125ae
lea rdx, [rax + rsi]
lea rcx, [rsp + 0x70]
call fcn.140011e80
mov rdx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400126a7
movabs rax, 0x8ce3112038a42a7
mov qword [rbp + 0x10], rax
movabs rax, 0x27c0b0b3dc7d4504
mov qword [rbp + 0x18], rax
movabs rax, 0xf070d6e002b5cc61
mov qword [rbp + 0x20], rax
movabs rax, 0x43411b29758980de
mov qword [rbp + 0x28], rax
movabs rax, 0xbfdc3fbe955fb4ab
mov qword [rbp + 0x30], rax
movabs rax, 0x24d7073f5913c958
mov qword [rbp + 0x38], rax
movabs rax, 0x6dba5f7d40aa2dc9
mov qword [rbp - 0x70], rax
movabs rax, 0x53a7ded69050316a
mov qword [rbp - 0x68], rax
movabs rax, 0x8215b28167ddec09
mov qword [rbp - 0x60], rax
movabs rax, 0x13154f6155e7e9fe
mov qword [rbp - 0x58], rax
movabs rax, 0xccb250cee63ac68b
mov qword [rbp - 0x50], rax
movabs rax, 0x24d7073f5913c93d
mov qword [rbp - 0x48], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [rbp - 0x60]
pxor xmm1, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [rbp - 0x50]
pxor xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001ed0
jmp 0x140012a25
add rax, rsi
mov rcx, qword [rbp - 0x80]
cmp rax, rcx
jae 0x140012822
movabs rax, 0x8ce3112038a42a7
mov qword [rbp + 0x10], rax
movabs rax, 0x27c0b0b3dc7d4504
mov qword [rbp + 0x18], rax
movabs rax, 0xf070d6e002b5cc61
mov qword [rbp + 0x20], rax
movabs rax, 0x43411b29758980de
mov qword [rbp + 0x28], rax
movabs rax, 0xbfdc3fbe955fb4ab
mov qword [rbp + 0x30], rax
movabs rax, 0x24d7073f5913c958
mov qword [rbp + 0x38], rax
movabs rax, 0x3231c8fce1ee4395
mov qword [rbp + 0x40], rax
movabs rax, 0xc9c85785cd1f8252
mov qword [rbp + 0x48], rax
movabs rax, 0xb5073d5ac81dc4ef
mov qword [rbp + 0x50], rax
movabs rcx, 0x664426dbc2bbadac
mov qword [rbp + 0x58], rcx
movabs rax, 0x6cab477b66e927d5
mov qword [rbp - 0x70], rax
movabs rax, 0x44b5dd93b3123124
mov qword [rbp - 0x68], rax
movabs rax, 0x9650b79463d1ec09
mov qword [rbp - 0x60], rax
movabs rax, 0x13154f6155e4efac
mov qword [rbp - 0x58], rax
movabs rax, 0x9fae5ac8e73ac78b
mov qword [rbp - 0x50], rax
movabs rax, 0x4ba7624d7961a63e
mov qword [rbp - 0x48], rax
movabs rax, 0x5c5e8bdc858b37e7
mov qword [rbp - 0x40], rax
movabs rax, 0xa7ad1ba8b971e726
mov qword [rbp - 0x38], rax
movabs rax, 0xb5073d5ac875b088
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rcx
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [rbp - 0x60]
pxor xmm1, xmmword [rbp + 0x20]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [rbp - 0x50]
pxor xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [rbp - 0x40]
pxor xmm1, xmmword [rbp + 0x40]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [rbp - 0x30]
pxor xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001ed0
jmp 0x140012a25
mov rdi, rdx
sub rdi, rcx
add rdi, rsi
mov qword [0x140344988], rdx
mov r13d, 0
mov qword [0x140344978], r13
je 0x1400128b6
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x60]
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.14001bc90
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140013530
movzx ebx, byte [rax]
lea rcx, [rbp - 0x70]
call fcn.1400138e0
test bl, bl
jne 0x140012956
mov rbx, qword [rsp + 0x38]
lea r8, [rbp + 0x60]
add r8, rbx
lea rax, [rbp + 0x60]
sub r8, rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.1400020b0
sub rdi, rbx
mov qword [0x140344980], rdi
add qword [0x140344978], rbx
test rdi, rdi
jne 0x140012841
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x40], r13
movdqa xmm0, xmmword [0x14008f700]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
cmp rcx, rsi
jb 0x140012a6b
sub rcx, rsi
mov r8, 0xffffffffffffffff
cmp rcx, r8
cmovb r8, rcx
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
add rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140001f50
nop
mov dword [rbp - 0x70], r14d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140003290
mov dword [rbp - 0x48], r13d
mov eax, dword [rbp - 0x70]
mov rbx, qword [rsp + 0x30]
mov dword [rbx], eax
lea rcx, [rbx + 8]
lea rdx, [rbp - 0x68]
call fcn.140001e30
mov eax, dword [rbp - 0x48]
mov dword [rbx + 0x28], eax
lea rcx, [rbp - 0x70]
call fcn.140012a80
nop
lea rcx, [rsp + 0x40]
call fcn.140001dc0
mov byte [r15], 0
jmp 0x140012a31
cmp byte [rbp - 0x20], r13b
lea rcx, [rbp + 0x10]
jmp 0x140012a11
movabs rax, 0x8ce3112038a42a7
mov qword [rbp + 0x10], rax
movabs rax, 0x27c0b0b3dc7d4504
mov qword [rbp + 0x18], rax
movabs rax, 0xf070d6e002b5cc61
mov qword [rbp + 0x20], rax
movabs rax, 0x43411b29758980de
mov qword [rbp + 0x28], rax
movabs rax, 0x60ee54666ce727d5
mov qword [rsp + 0x40], rax
movabs rax, 0x54afdcd0fc09366b
mov qword [rsp + 0x48], rax
movabs rax, 0x951eb88f6195a804
mov qword [rsp + 0x50], rax
movabs rax, 0x43411b471ae0f4bd
mov qword [rsp + 0x58], rax
movdqa xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [rsp + 0x50]
pxor xmm1, xmmword [rbp + 0x20]
movdqa xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140001ed0
jmp 0x140012a25
cmp byte [rbp - 0x20], 0
lea rcx, [rbp - 0x70]
lea rdx, [rbp - 0x10]
lea rax, [0x140342858]
cmove rdx, rax
call fcn.140003290
mov rdx, rax
mov rcx, r15
call fcn.1400135b0
nop
lea rcx, [rsp + 0x70]
call fcn.140001dc0
nop
lea rcx, [rbp - 0x20]
call fcn.1400138e0
mov rax, r15
mov rcx, qword [rbp + 0x4060]
xor rcx, rsp
call fcn.14004f3c0
add rsp, 0x4178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140002150
nop
int3