Function at 0x14009cb20
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, 0x100
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, r8
mov r15, rdx
mov qword [rsp + 0x30], rdx
mov r14, rcx
mov qword [rbp - 0x11], r8
mov rax, qword [0x140174018]
mov qword [rsp + 0x20], rax
mov rbx, qword [r8]
xor r12d, r12d
cmp dword [rbx - 0xc], r12d
jl 0x14009cb88
mov qword [rsp + 0x40], rbx
lock inc dword [rbx - 0xc]
jmp 0x14009cbaf
mov qword [rsp + 0x40], rax
test rbx, rbx
jne 0x14009cb97
mov eax, r12d
jmp 0x14009cba0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.1400670f0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14009b6f8
test eax, eax
jne 0x14009cbf6
lea rdx, str.Error_formatting_text_part_header.
lea rcx, [rbp - 0x59]
call fcn.140067e3c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r14 + 0x28]
call fcn.14006b790
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xfffffffffffffff4
jmp 0x14009cf8e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x79], r12
mov rbx, qword [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400773c4
mov rdi, rax
test rax, rax
jne 0x14009cc44
lea rdx, str.Error_converting_text_part_header_to_ASCII.
lea rcx, [rbp - 0x51]
call fcn.140067e3c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r14 + 0x28]
call fcn.14006b790
jmp 0x14009cf7f
mov dword [rsp + 0x28], r12d
mov rcx, rdi
call fcn.1400d9890
mov r8, rax
lea r9, [rsp + 0x28]
mov rdx, rdi
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x14009cc76
lea rdx, str.Error_uploading_text_part_header.
lea rcx, [rbp - 0x49]
jmp 0x14009cc28
mov edx, dword [rsp + 0x28]
mov rcx, r14
call fcn.14009c568
mov r8, rsi
lea rdx, [rbp - 0x41]
lea rcx, [r14 + 8]
call fcn.14009d160
mov rax, qword [r14 + 8]
mov qword [rbp - 9], rax
mov rdi, qword [rbp - 0x41]
cmp rdi, rax
jne 0x14009ccb3
lea rdx, str.Error_searching_for_text_part_header_name.
lea rcx, [rbp - 0x39]
jmp 0x14009cc28
mov r13, qword [rdi + 0x38]
mov rcx, qword [r14 + 0x28]
call fcn.14006b688
test al, al
jne 0x14009cf7f
mov ecx, 0x400
movsxd r8, r12d
mov rax, r13
sub rax, r8
mov r15d, r13d
sub r15d, r12d
cmp rax, rcx
cmova r15d, ecx
test r15d, r15d
je 0x14009cdc2
mov r9d, r15d
lea rcx, [rdi + 0x28]
lea rdx, [rbp - 1]
call fcn.14009d1e8
nop
and dword [rsp + 0x38], 0
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 0x10
cmovae rdx, qword [rbp - 1]
lea r9, [rsp + 0x38]
mov r8d, r15d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x14009cd6d
mov edx, dword [rsp + 0x38]
mov rcx, r14
call fcn.14009c568
add r12d, r15d
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x14009cd52
inc rdx
mov r8d, 1
mov rcx, qword [rbp - 1]
call fcn.140067584
mov rcx, qword [r14 + 0x28]
call fcn.14006b688
test al, al
mov ecx, 0x400
je 0x14009cccd
jmp 0x14009cf7f
lea rdx, str.Error_uploading_text_part_data.
lea rcx, [rbp - 0x31]
call fcn.140067e3c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r14 + 0x28]
call fcn.14006b790
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x14009cdac
inc rdx
mov r8d, 1
mov rcx, qword [rbp - 1]
call fcn.140067584
mov qword [rbp + 0x17], reloc.WS2_32.dll_ntohs
and qword [rbp + 0xf], 0
mov byte [rbp - 1], 0
jmp 0x14009cf7f
mov rax, qword [0x140174018]
mov qword [rbp - 0x71], rax
mov rdi, qword [rsi]
cmp dword [rdi - 0xc], 0
jl 0x14009cde6
mov qword [rsp + 0x48], rdi
lock inc dword [rdi - 0xc]
mov rbx, qword [rsp + 0x20]
jmp 0x14009ce0c
mov qword [rsp + 0x48], rax
test rdi, rdi
jne 0x14009cdf4
xor eax, eax
jmp 0x14009cdfd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rdi
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1400670f0
lea r8, [rbp - 0x71]
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.14009b6a0
test eax, eax
jne 0x14009ce82
lea rdx, str.Error_formatting_text_part_footer.
lea rcx, [rbp - 0x29]
call fcn.140067e3c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r14 + 0x28]
call fcn.14006b790
nop
mov rcx, qword [rbp - 0x71]
add rcx, 0xfffffffffffffff4
or edi, 0xffffffff
cmp rcx, qword [0x140174010]
je 0x14009ce6e
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x14009ce69
call fcn.1400b0230
mov rbx, qword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140067f00
nop
lea rcx, [rbx - 0xc]
jmp 0x14009cf91
mov rdi, qword [rbp - 0x71]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.1400773c4
mov r15, rax
test rax, rax
jne 0x14009cec4
lea rdx, str.Error_converting_text_part_footer_to_ASCII.
lea rcx, [rbp - 0x21]
call fcn.140067e3c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [r14 + 0x28]
call fcn.14006b790
nop
lea rcx, [rdi - 0xc]
jmp 0x14009ce4c
mov rcx, r15
call fcn.1400d9890
mov r8, rax
lea r9, [rsp + 0x28]
mov rdx, r15
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x14009cef3
lea rdx, str.Error_uploading_text_part_footer.
lea rcx, [rbp - 0x61]
jmp 0x14009cea6
mov edx, dword [rsp + 0x28]
mov rcx, r14
call fcn.14009c568
nop
lea rcx, [rdi - 0xc]
or edi, 0xffffffff
cmp rcx, qword [0x140174010]
je 0x14009cf26
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x14009cf21
call fcn.1400b0230
mov rbx, qword [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140067f00
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x140174010]
je 0x14009cf50
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x14009cf50
call fcn.1400b0230
nop
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14009cf78
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x14009cf78
mov rcx, qword [rsi]
sub rcx, 0xc
call fcn.1400b0230
mov eax, 1
jmp 0x14009cfd6
lea rcx, [rsp + 0x50]
call fcn.140067f00
nop
lea rcx, [rbx - 0xc]
or edi, 0xffffffff
cmp rcx, qword [0x140174010]
je 0x14009cfac
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x14009cfac
call fcn.1400b0230
nop
mov rcx, qword [rsi]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14009cfd4
mov eax, edi
lock xadd dword [rcx], eax
add eax, edi
test eax, eax
jg 0x14009cfd4
mov rcx, qword [rsi]
sub rcx, 0xc
call fcn.1400b0230
xor eax, eax
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400b0730
mov rbx, qword [rsp + 0x158]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret