Function at 0x140091c01
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x40], xmm6
mov qword [rbp + 0x38], 0xfffffffffffffffe
test rcx, rcx
je 0x140091fe5
mov rsi, rcx
cmp byte [rcx], 0
je 0x140091fe5
mov r14d, r9d
mov r15, r8
mov rbx, rdx
test r9b, r9b
je 0x140091ce6
cmp dword [0x1401a0e4c], 0
jle 0x140091d0a
lea rdi, [rbp - 0x10]
mov qword [rdi], 0
lea rax, [fcn.140090a7c]
mov qword [rsp + 0x20], rax
lea rdx, str.third_partyglogglog_0.3.4_srclogging.cc
mov rcx, rdi
mov r8d, 0x6ae
xor r9d, r9d
call fcn.14009054a
mov ecx, 0x7538
add rcx, qword [rdi + 8]
lea rdx, str.Trying_to_send_TITLE:
call fcn.1400035ea
mov rcx, rax
mov rdx, rbx
call fcn.1400035ea
lea rdx, str._BODY:
mov rcx, rax
call fcn.1400035ea
mov rcx, rax
mov rdx, r15
call fcn.1400035ea
lea rdx, [0x14012f688]
mov rcx, rax
call fcn.1400035ea
mov rcx, rax
mov rdx, rsi
call fcn.1400035ea
lea rcx, [rbp - 0x10]
call fcn.1400911da
jmp 0x140091d0a
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov qword [rsp + 0x20], rsi
lea rdx, str.Trying_to_send_TITLE:__s_BODY:__s_to__s_n
mov rcx, rax
mov r8, rbx
mov r9, r15
call fcn.140005579
mov rdi, qword [0x14018af68]
movaps xmm6, xmmword [section..rdata]
lea rcx, [rbp - 0x50]
movups xmmword [rcx + 0x10], xmm6
mov byte [rcx], 0
mov rdx, qword [rdi + 0x10]
add rdx, 4
call fcn.14001175a
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140091d3e
mov rdi, qword [rdi]
lea rcx, [rbp - 0x50]
mov rdx, rdi
call fcn.1400052c6
lea rdx, str.__s_
lea rcx, [rbp - 0x50]
mov r8d, 4
call fcn.1400052c6
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rbp - 0x50]
mov rdx, rbx
mov r8, rax
call fcn.1400052c6
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rcx, [rbp - 0x30]
movaps xmmword [rcx + 0x10], xmm1
movaps xmmword [rcx], xmm0
movups xmmword [rax + 0x10], xmm6
mov byte [rax], 0
lea rdx, [0x1401301fd]
mov r8d, 2
call fcn.1400052c6
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rdi, [rbp + 0x10]
movaps xmmword [rdi + 0x10], xmm1
movaps xmmword [rdi], xmm0
movups xmmword [rax + 0x10], xmm6
mov byte [rax], 0
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rcx, rdi
mov rdx, rsi
mov r8, rax
call fcn.1400052c6
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp], xmm1
movaps xmmword [rbp - 0x10], xmm0
movups xmmword [rax + 0x10], xmm6
mov byte [rax], 0
lea rcx, [rbp + 0x10]
call fcn.140005a44
lea rcx, [rbp - 0x30]
call fcn.140005a44
lea rcx, [rbp - 0x50]
call fcn.140005a44
cmp qword [rbp + 8], 0xf
jbe 0x140091e0f
mov rcx, qword [rbp - 0x10]
jmp 0x140091e13
lea rcx, [rbp - 0x10]
lea rdx, [0x1401236ed]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__popen
mov rbx, rax
test rax, rax
je 0x140091f0d
test r15, r15
je 0x140091e4b
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov edx, 1
mov rcx, r15
mov r8, rax
mov r9, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__pclose
mov dil, 1
cmp eax, 0xffffffff
jne 0x140091fd7
test r14b, r14b
je 0x140091f8a
lea rcx, [rbp - 0x30]
mov qword [rcx], 0
lea rax, [fcn.140090a7c]
mov qword [rsp + 0x20], rax
lea rdx, str.third_partyglogglog_0.3.4_srclogging.cc
mov r8d, 0x6bf
mov r9d, 2
call fcn.14009054a
mov ecx, 0x7538
add rcx, qword [rbp - 0x28]
lea rdx, str.Problems_sending_mail_to
call fcn.1400035ea
mov rcx, rax
mov rdx, rsi
call fcn.1400035ea
lea rdx, [0x1401301dc]
mov rcx, rax
call fcn.1400035ea
mov rsi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edx, dword [rax]
lea rdi, [rbp + 0x10]
mov rcx, rdi
call fcn.140091b81
mov r8, qword [rbp + 0x20]
cmp qword [rbp + 0x28], 0xf
jbe 0x140091eeb
mov rdi, qword [rbp + 0x10]
mov rcx, rsi
mov rdx, rdi
call fcn.14000468b
lea rcx, [rbp + 0x10]
call fcn.140005a44
lea rcx, [rbp - 0x30]
call fcn.1400911da
jmp 0x140091fd5
test r14b, r14b
je 0x140091f6c
lea rcx, [rbp + 0x10]
mov qword [rcx], 0
lea rax, [fcn.140090a7c]
mov qword [rsp + 0x20], rax
lea rdx, str.third_partyglogglog_0.3.4_srclogging.cc
mov r8d, 0x6c9
mov r9d, 2
call fcn.14009054a
mov ecx, 0x7538
add rcx, qword [rbp + 0x18]
lea rdx, str.Unable_to_send_mail_to
call fcn.1400035ea
mov rcx, rax
mov rdx, rsi
call fcn.1400035ea
lea rcx, [rbp + 0x10]
call fcn.1400911da
jmp 0x140091fd7
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
lea rdx, str.Unable_to_send_mail_to__s_n
mov rcx, rax
mov r8, rsi
call fcn.140005579
jmp 0x140091fd7
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edx, dword [rax]
lea rdi, [rbp + 0x10]
mov rcx, rdi
call fcn.140091b81
mov r14, qword [rbp + 0x10]
mov r15, qword [rbp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
cmp r15, 0xf
cmova rdi, r14
lea rdx, str.Problems_sending_mail_to__s:__s_n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call fcn.140005579
lea rcx, [rbp + 0x10]
call fcn.140005a44
xor edi, edi
lea rcx, [rbp - 0x10]
call fcn.140005a44
test rbx, rbx
jne 0x140091fe7
xor edi, edi
and dil, 1
mov eax, edi
movaps xmm6, xmmword [rbp + 0x40]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret