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

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x140283aa8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, r8
mov rdi, rdx
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
xor esi, esi
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], sil
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x48]
call fcn.140020320
nop
nop word [rax + rax]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
xor r9d, r9d
mov r8d, dword [rbp - 0x38]
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_send]
mov r8d, eax
cmp r8, qword [rbp - 0x38]
jae 0x140199625
mov ecx, dword [rbp - 0x38]
sub ecx, eax
movsxd r9, ecx
inc r8
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.14001e550
mov rbx, rax
lea rax, [rbp - 0x48]
cmp rax, rbx
je 0x1401995a6
mov rcx, qword [rbp - 0x30]
cmp rcx, 0x10
jb 0x140199589
inc rcx
mov rdx, qword [rbp - 0x48]
cmp rcx, 0x1000
jb 0x140199581
test dl, 0x1f
jne 0x140199602
mov rax, qword [rdx - 8]
cmp rax, rdx
jae 0x1401995fb
sub rdx, rax
cmp rdx, 8
jb 0x1401995f4
cmp rdx, 0x27
ja 0x1401995ed
mov rdx, rax
mov rcx, rdx
call fcn.1401ab39c
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x38], rsi
mov byte [rbp - 0x48], 0
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400206c0
nop
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
jb 0x1401994f0
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, 0x1000
jb 0x1401995e3
test cl, 0x1f
jne 0x14019961e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140199617
sub rcx, rax
cmp rcx, 8
jb 0x140199610
cmp rcx, 0x27
ja 0x140199609
mov rcx, rax
call fcn.1401ab39c
jmp 0x1401994f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x14019967f
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x14019967a
test cl, 0x1f
je 0x14019964a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14019965a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x14019966a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140199677
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call fcn.1401ab39c
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401aad60
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret