Function at 0x1401334b0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rbp, qword [rcx + 0x1d0]
mov rsi, rdx
mov rdx, qword [0x140207460]
mov r14, rcx
mov rdi, r8
mov rbx, r9
lea rcx, [rsi + 4]
mov rax, qword [rdx]
mov qword [rsp + 0x58], rax
xor eax, eax
test byte [r14 + 0x11d], 1
jne 0x140133778
call fcn.1400202e0
mov dword [rbx], 0
mov rcx, qword [r14 + 0x778]
lea rdx, str.From__s_Mon_Sep_17_00:00:00_2001_n
mov r8, rax
call sub.libintl_8.dll_libintl_fprintf
mov rcx, qword [r14 + 0x570]
call fcn.140123940
mov r8, qword [r14 + 0x178]
test r8, r8
je 0x14013354e
mov rcx, qword [r14 + 0x778]
lea rdx, str.Message_ID:___s__n
call sub.libintl_8.dll_libintl_fprintf
mov rcx, qword [r14 + 0x570]
call fcn.140123940
mov rax, qword [r14 + 0x1c0]
test rax, rax
je 0x140133567
mov r12, qword [rax + 8]
test r12, r12
jne 0x1401336e8
cmp qword [r14 + 0x158], 0
je 0x14013357c
mov ecx, dword [rsp + 0xd0]
test ecx, ecx
jne 0x1401335a8
mov qword [rdi], rbp
mov rdi, qword [0x140207460]
mov rax, qword [rsp + 0x58]
sub rax, qword [rdi]
jne 0x1401337c3
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x140207c90]
mov rdx, qword [0x1401c7770]
mov dword [rbx], 0xffffffff
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
mov qword [0x1401c7768], 0
cmp rdx, rax
je 0x140133788
mov byte [rdx], 0
mov rdx, qword [0x1401c7750]
mov qword [0x1401c7748], 0
cmp rdx, rax
je 0x1401337b8
mov byte [rdx], 0
mov rax, qword [r14 + 0x158]
test rbp, rbp
mov r9, qword [str.____________]
lea r8, [0x1401ef302]
cmovne r8, rbp
lea rdx, str._sMIME_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 + 0x40]
mov qword [rsp + 0x30], rax
lea rcx, [0x1401c7760]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rax
call fcn.14007ed40
mov edx, dword [r14 + 0x168]
mov rbp, qword [0x1401c7770]
test edx, edx
je 0x1401337a0
mov r8d, dword [r14 + 0x150]
lea rdx, [0x1401ef590]
mov rcx, rbx
call fcn.14007ed40
mov eax, dword [r14 + 0x1ec]
lea rcx, str.attachment
mov rdx, qword [rsp + 0x50]
mov r8, qword [str.____________]
test eax, eax
lea rax, str.inline
mov qword [rsp + 0x30], rdx
cmovne rax, rcx
mov qword [rsp + 0x20], rdx
lea rcx, [0x1401c7740]
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 + 0x28], rax
mov r9, qword [r14 + 0x158]
call fcn.14007ed40
mov rax, qword [0x1401c7750]
mov rcx, rbx
mov qword [r14 + 0x718], rax
call fcn.14007d7e0
jmp 0x14013357c
movsxd rdx, r12d
mov rcx, qword [r14 + 0x778]
shl rdx, 4
add rdx, qword [rax]
mov r8, qword [rdx - 0x10]
lea rdx, str.In_Reply_To:___s__n
call sub.libintl_8.dll_libintl_fprintf
test r12d, r12d
jle 0x140133762
lea r15d, [r12 - 1]
lea r13, str.References:
xor r12d, r12d
jmp 0x140133723
mov r12, rax
mov rdx, qword [r14 + 0x1c0]
mov rax, r12
lea r8, [0x1401ef44a]
mov rcx, qword [r14 + 0x778]
shl rax, 4
add rax, qword [rdx]
test r12, r12
lea rdx, str._s__s__n
mov r9, qword [rax]
cmove r8, r13
call sub.libintl_8.dll_libintl_fprintf
lea rax, [r12 + 1]
cmp r15, r12
jne 0x140133720
mov rcx, qword [r14 + 0x570]
call fcn.140123940
jmp 0x140133567
call fcn.140025cb0
mov rcx, rax
jmp 0x1401334f6
cmp byte [rax], 0
je 0x1401335ea
call fcn.140132290
nop word cs:[rax + rax]
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.140133320
jmp 0x140133677
cmp byte [rax], 0
je 0x140133608
jmp 0x140133791
call fcn.1401be670
nop
nop dword [rax]