Function at 0x1400aa0d0
Capabilities:
Send data

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1401080e0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, r8
mov rsi, rdx
mov qword [rbp - 0x69], rdx
mov r15, rcx
mov qword [rbp - 0x59], r8
mov rax, qword [0x140108018]
mov qword [rsp + 0x20], rax
mov rbx, qword [r8]
xor r12d, r12d
cmp dword [rbx - 0xc], r12d
jl 0x1400aa136
mov qword [rbp - 0x79], rbx
lock inc dword [rbx - 0xc]
jmp 0x1400aa15b
mov qword [rbp - 0x79], rax
test rbx, rbx
jne 0x1400aa144
mov eax, r12d
jmp 0x1400aa14d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x79]
call fcn.140067304
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x79]
mov rcx, r15
call fcn.1400a8cb8
test eax, eax
jne 0x1400aa1a1
lea rdx, str.Error_formatting_text_part_header.
lea rcx, [rbp - 0x11]
call fcn.14006874c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r15 + 0x28]
call fcn.14006caa0
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xfffffffffffffff4
jmp 0x1400aa517
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14007c9ac
mov rdi, rax
test rax, rax
jne 0x1400aa1f0
lea rdx, str.Error_converting_text_part_header_to_ASCII.
lea rcx, [rbp - 0x41]
call fcn.14006874c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r15 + 0x28]
call fcn.14006caa0
jmp 0x1400aa508
mov dword [rsp + 0x28], r12d
mov rcx, rax
call sub.MSVCR120.dll_strlen
mov r8, rax
lea r9, [rsp + 0x28]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x1400aa222
lea rdx, str.Error_uploading_text_part_header.
lea rcx, [rbp - 0x21]
jmp 0x1400aa1d4
mov edx, dword [rsp + 0x28]
mov rcx, r15
call fcn.1400a9b20
mov r8, r14
lea rdx, [rbp - 0x61]
lea rcx, [r15 + 8]
call fcn.1400aa6f8
mov rdi, qword [rbp - 0x61]
cmp rdi, qword [r15 + 8]
jne 0x1400aa258
lea rdx, str.Error_searching_for_text_part_header_name.
lea rcx, [rbp - 0x31]
jmp 0x1400aa1d4
mov r13, qword [rdi + 0x38]
mov rcx, qword [r15 + 0x28]
call fcn.14006c984
test al, al
jne 0x1400aa508
mov ecx, 0x400
movsxd r8, r12d
mov rax, r13
sub rax, r8
mov esi, r13d
sub esi, r12d
cmp rax, rcx
cmova esi, ecx
test esi, esi
je 0x1400aa34c
mov r9d, esi
lea rcx, [rdi + 0x28]
lea rdx, [rbp - 9]
call fcn.1400aa7a0
nop
and dword [rsp + 0x2c], 0
lea rdx, [rbp - 9]
cmp qword [rbp + 0xf], 0x10
cmovae rdx, qword [rbp - 9]
lea r9, [rsp + 0x2c]
mov r8d, esi
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x1400aa303
mov edx, dword [rsp + 0x2c]
mov rcx, r15
call fcn.1400a9b20
add r12d, esi
cmp qword [rbp + 0xf], 0x10
jb 0x1400aa2e8
mov rcx, qword [rbp - 9]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [r15 + 0x28]
call fcn.14006c984
test al, al
mov ecx, 0x400
je 0x1400aa272
jmp 0x1400aa508
lea rdx, str.Error_uploading_text_part_data.
lea rcx, [rbp - 0x51]
call fcn.14006874c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r15 + 0x28]
call fcn.14006caa0
nop
cmp qword [rbp + 0xf], 0x10
jb 0x1400aa336
mov rcx, qword [rbp - 9]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
and qword [rbp + 7], 0
mov byte [rbp - 9], 0
jmp 0x1400aa508
mov rax, qword [0x140108018]
mov qword [rbp - 0x71], rax
mov rdi, qword [r14]
cmp dword [rdi - 0xc], 0
jl 0x1400aa370
mov qword [rsp + 0x48], rdi
lock inc dword [rdi - 0xc]
mov rbx, qword [rsp + 0x20]
jmp 0x1400aa396
mov qword [rsp + 0x48], rax
test rdi, rdi
jne 0x1400aa37e
xor eax, eax
jmp 0x1400aa387
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140067304
lea r8, [rbp - 0x71]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.1400a8c68
test eax, eax
jne 0x1400aa40c
lea rdx, str.Error_formatting_text_part_footer.
lea rcx, [rbp - 0x49]
call fcn.14006874c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r15 + 0x28]
call fcn.14006caa0
nop
mov rcx, qword [rbp - 0x71]
add rcx, 0xfffffffffffffff4
or edi, 0xffffffff
cmp rcx, qword [0x140108010]
je 0x1400aa3f8
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400aa3f3
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov rbx, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140068890
nop
lea rcx, [rbx - 0xc]
jmp 0x1400aa51a
mov rdi, qword [rbp - 0x71]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.14007c9ac
mov rsi, rax
test rax, rax
jne 0x1400aa44e
lea rdx, str.Error_converting_text_part_footer_to_ASCII.
lea rcx, [rbp - 0x39]
call fcn.14006874c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r15 + 0x28]
call fcn.14006caa0
nop
lea rcx, [rdi - 0xc]
jmp 0x1400aa3d6
mov rcx, rax
call sub.MSVCR120.dll_strlen
mov r8, rax
lea r9, [rsp + 0x28]
mov rdx, rsi
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x1400aa47c
lea rdx, str.Error_uploading_text_part_footer.
lea rcx, [rbp - 0x29]
jmp 0x1400aa430
mov edx, dword [rsp + 0x28]
mov rcx, r15
call fcn.1400a9b20
nop
lea rcx, [rdi - 0xc]
or edi, 0xffffffff
cmp rcx, qword [0x140108010]
je 0x1400aa4af
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400aa4aa
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov rbx, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140068890
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140108010]
je 0x1400aa4d9
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400aa4d9
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [r14]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400aa501
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400aa501
mov rcx, qword [r14]
sub rcx, 0xc
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov eax, 1
jmp 0x1400aa55f
lea rcx, [rsp + 0x30]
call fcn.140068890
nop
lea rcx, [rbx - 0xc]
or edi, 0xffffffff
cmp rcx, qword [0x140108010]
je 0x1400aa535
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400aa535
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [r14]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x1400aa55d
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x1400aa55d
mov rcx, qword [r14]
sub rcx, 0xc
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400bf530
mov rbx, qword [rsp + 0x148]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret