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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
movzx edi, r9b
mov r14d, r8d
mov r12, rdx
mov r13, rcx
xor r15d, r15d
cmp qword [rcx + 8], r15
jne 0x14024707e
test r9b, r9b
je 0x14024707e
lea rax, [rbp - 0x28]
mov qword [rbp - 0x18], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildSendSocket.cpp
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str.SendExactSize::Encryption_not_initialized
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
lea r8d, [r15 + 0x2d]
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
xor eax, eax
jmp 0x1402471f2
lea rax, [rbp - 0x20]
mov qword [rbp - 0x10], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildSendSocket.cpp
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov r8d, r14d
lea rdx, str.START_SendExactSize_Total__d
lea rcx, [rbp - 0x28]
call fcn.14015b330
nop
mov r8d, gethostbyname
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
mov qword [rbp - 0x30], r12
mov dword [rbp + 0x30], r14d
mov esi, r15d
test dil, dil
je 0x140247157
mov rdi, qword [r13 + 8]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
lea rcx, [0x1403c55c8]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___2]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x20], rcx
mov r9, rax
mov r8d, r14d
mov rdx, r12
mov rcx, rdi
call rbx
test al, al
jne 0x140247153
lea rax, [rbp - 0x20]
mov qword [rbp - 0x10], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildSendSocket.cpp
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
lea rdx, str.SendExactSize::Failed_to_encrypt_data
lea rcx, [rbp - 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
nop
mov r8d, 0x50
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
jmp 0x1402471ef
mov r14d, dword [rbp + 0x30]
test r14d, r14d
jle 0x1402471d3
mov r8d, r14d
sub r8d, esi
movsxd rdx, esi
add rdx, qword [rbp - 0x30]
xor r9d, r9d
mov rcx, qword [r13 + 0x10]
call qword [sym.imp.WS2_32.dll_send]
mov ecx, eax
inc eax
cmp eax, 1
jbe 0x14024718c
add esi, ecx
cmp esi, r14d
jl 0x140247160
jmp 0x1402471d3
lea rax, [rbp - 0x20]
mov qword [rbp - 0x10], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildSendSocket.cpp
lea rcx, [rbp - 0x20]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, eax
lea rdx, str.lSize__SOCKET_ERROR___d
lea rcx, [rbp - 0x28]
call fcn.14015b330
nop
mov r8d, 0x41
mov rdx, rbx
mov rcx, rax
call fcn.14015b880
cmp esi, r14d
sete r15b
cmp qword [rbp - 0x30], r12
je 0x1402471ef
mov rcx, qword [r13 + 8]
mov r8, qword [rcx]
lea rdx, [rbp - 0x30]
call qword [r8 + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov eax, r15d
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp