Function at 0x14015b6b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rsi, rdx
mov rdx, qword [0x14022c040]
mov r12, rcx
mov rdi, r8
mov qword [rsp + 0x50], 0
mov rbx, r9
lea rcx, [rsi + 4]
mov rax, qword [rdx]
mov qword [rsp + 0x88], rax
xor eax, eax
mov rax, qword [0x14022c910]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], rax
test byte [r12 + 0x125], 2
jne 0x14015b9f8
call fcn.140029ec0
mov r14, qword [r12 + 0x1d0]
mov dword [rbx], 0
mov r13, rax
test r14, r14
je 0x14015b739
cmp byte [r14], 0
jne 0x14015b9d8
mov rcx, qword [r12 + 0x778]
mov r8, r13
lea rdx, str.From__s_Mon_Sep_17_00:00:00_2001_n
call sub.libintl_8.dll_libintl_fprintf
mov rcx, qword [r12 + 0x570]
call fcn.14014b5d0
mov r8, qword [r12 + 0x178]
test r8, r8
je 0x14015b78b
mov rcx, qword [r12 + 0x778]
lea rdx, str.Message_ID:___s__n
call sub.libintl_8.dll_libintl_fprintf
mov rcx, qword [r12 + 0x570]
call fcn.14014b5d0
mov rax, qword [r12 + 0x1c0]
test rax, rax
je 0x14015b7a5
mov r9, qword [rax + 8]
test r9, r9
jne 0x14015b930
mov r10d, dword [rsp + 0x100]
mov r9, qword [r12 + 0x158]
test r10d, r10d
je 0x14015b7bf
test r9, r9
jne 0x14015b800
xor eax, eax
cmp qword [rsp + 0x58], 0
jne 0x14015b918
mov qword [rdi], rax
mov rdi, qword [0x14022c040]
mov rax, qword [rsp + 0x88]
sub rax, qword [rdi]
jne 0x14015ba4b
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x14022c910]
mov dword [rbx], 0xffffffff
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x80], rax
mov rax, qword [0x1401e7df0]
mov qword [rsp + 0x78], 0
cmp rax, qword [0x14022c910]
mov qword [0x1401e7de8], 0
je 0x14015ba08
mov byte [rax], 0
mov r9, qword [r12 + 0x158]
mov qword [rsp + 0x28], r9
mov r8, qword [str.P___]
lea rcx, [rsp + 0x50]
lea rdx, str.MIME_Version:_1.0_nContent_Type:_multipart_mixed__boundary__s_s__n_nThis_is_a_multi_part_message_in_MIME_format._n___s_s_nContent_Type:_text_plain__charsetUTF_8__formatfixed_nContent_Transfer_Encoding:_8bit_n_n
lea rbx, [rsp + 0x70]
mov qword [rsp + 0x20], r8
call fcn.14008fc00
mov r8d, dword [r12 + 0x168]
test r8d, r8d
je 0x14015ba38
mov r8d, dword [r12 + 0x150]
lea rdx, [0x14021702e]
mov rcx, rbx
call fcn.14008fc00
mov ecx, dword [r12 + 0x1ec]
mov rax, qword [rsp + 0x80]
lea rdx, str.inline
test ecx, ecx
je 0x14015b8c2
lea rdx, str.attachment
mov qword [rsp + 0x30], rax
mov r8, qword [str.P___]
lea rcx, [0x1401e7de0]
mov qword [rsp + 0x28], rdx
lea rdx, str._n___s_s_nContent_Type:_text_x_patch__name__s__nContent_Transfer_Encoding:_8bit_nContent_Disposition:__s__filename__s__n_n
mov qword [rsp + 0x20], rax
mov r9, qword [r12 + 0x158]
call fcn.14008fc00
mov rax, qword [0x1401e7df0]
mov rcx, rbx
mov qword [r12 + 0x718], rax
call fcn.14008e580
xor eax, eax
cmp qword [rsp + 0x58], 0
je 0x14015b7cd
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.14008e600
jmp 0x14015b7cd
movsxd rdx, r9d
mov qword [rsp + 0x48], r9
xor ebp, ebp
lea r14, str._s__s__n
shl rdx, 4
add rdx, qword [rax]
mov rcx, qword [r12 + 0x778]
lea r13, [0x140216eee]
mov r8, qword [rdx - 0x10]
lea rdx, str.In_Reply_To:___s__n
call sub.libintl_8.dll_libintl_fprintf
mov r9, qword [rsp + 0x48]
lea r15d, [r9 - 1]
test r9d, r9d
jg 0x14015b983
jmp 0x14015b9bf
mov rbp, rax
mov rdx, qword [r12 + 0x1c0]
mov rax, rbp
lea r8, str.References:
mov rcx, qword [r12 + 0x778]
shl rax, 4
add rax, qword [rdx]
test rbp, rbp
mov rdx, r14
mov r9, qword [rax]
cmovne r8, r13
call sub.libintl_8.dll_libintl_fprintf
lea rax, [rbp + 1]
cmp r15, rbp
jne 0x14015b980
mov rcx, qword [r12 + 0x570]
call fcn.14014b5d0
jmp 0x14015b7a5
mov rcx, r14
call sub.msvcrt.dll_strlen
lea rcx, [rsp + 0x50]
mov rdx, r14
mov r8, rax
call fcn.14008f5f0
jmp 0x14015b739
call fcn.14002fb90
mov rcx, rax
jmp 0x14015b714
mov rax, qword [0x14022c910]
cmp byte [rax], 0
je 0x14015b851
mov r8d, 0xac
lea rdx, [0x140216e9c]
lea rcx, [0x140216ea5]
call qword [sym.imp.msvcrt.dll__assert]
nop word [rax + rax]
mov r8, r12
mov rdx, rsi
mov rcx, rbx
call fcn.14015b530
jmp 0x14015b8a0
call fcn.1401d96b0
nop
nop word cs:[rax + rax]
nop dword [rax]