Function at 0x1400015a5
Capabilities:
Write file on windows

Disassembly:
jmp 0x140088f30
mov qword [rsp + 8], rcx
sub rsp, 0x368
mov qword [rsp + 0x298], 0xfffffffffffffffe
mov rax, qword [0x14028c8d0]
xor rax, rsp
mov qword [rsp + 0x358], rax
lea rcx, [rsp + 0xc0]
call fcn.1400037e7
nop
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x370]
cmp dword [rcx + rax + 0xac], 0xffffffff
jne 0x140088ff7
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x1e8], rax
lea rdx, str.Sending_error_report_over_SMAPI_is_disabled__negative_priority___skipping.
mov rcx, qword [rsp + 0x1e8]
call fcn.140002b67
mov qword [rsp + 0x258], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x258]
mov rcx, rax
call fcn.140002a31
mov dword [rsp + 0xa0], 0
lea rcx, [rsp + 0xc0]
call fcn.140004179
mov eax, dword [rsp + 0xa0]
jmp 0x140089b93
mov rax, qword [rsp + 0x370]
add rax, 0x38
mov rcx, rax
call fcn.140001d9d
test eax, eax
je 0x14008907d
lea rax, [rsp + 0x328]
mov qword [rsp + 0xf8], rax
lea rdx, str.No_E_mail_address_is_specified_for_sending_error_report_over_Simple_MAPI__skipping.
mov rcx, qword [rsp + 0xf8]
call fcn.140002b67
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x228]
mov rcx, rax
call fcn.140002a31
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0xc0]
call fcn.140004179
mov eax, dword [rsp + 0x78]
jmp 0x140089b93
mov rax, qword [rsp + 0x370]
cmp dword [rax + 0x80], 0
je 0x1400890fc
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x108], rax
lea rdx, str.Simple_MAPI_may_require_user_interaction__not_acceptable_for_non_GUI_mode___skipping.
mov rcx, qword [rsp + 0x108]
call fcn.140002b67
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x278]
mov rcx, rax
call fcn.140002a31
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0xc0]
call fcn.140004179
mov eax, dword [rsp + 0x48]
jmp 0x140089b93
lea rax, [rsp + 0x308]
mov qword [rsp + 0x118], rax
lea rdx, str.Sending_error_report_using_Simple_MAPI
mov rcx, qword [rsp + 0x118]
call fcn.140002b67
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x238]
mov rcx, rax
call fcn.140002a31
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x128], rax
lea rdx, str.Initializing_MAPI
mov rcx, qword [rsp + 0x128]
call fcn.140002b67
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
mov r9b, 1
mov r8d, 1
mov rdx, qword [rsp + 0x1e0]
mov rcx, rax
call fcn.140002a31
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rcx, rax
call fcn.1400055fb
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 0
jne 0x140089241
lea rax, [rsp + 0x348]
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rdx, qword [rsp + 0x138]
mov rcx, rax
call fcn.140003af3
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
xor r9d, r9d
mov r8d, 0x64
mov rdx, qword [rsp + 0x1f0]
mov rcx, rax
call fcn.140002a31
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0xc0]
call fcn.140004179
mov eax, dword [rsp + 0x58]
jmp 0x140089b93
mov rax, qword [rsp + 0x370]
cmp dword [rax + 0x5f8], 0
je 0x140089386
mov rax, qword [rsp + 0x370]
cmp dword [rax + 0x880], 0
jne 0x140089386
lea rax, [rsp + 0x2d8]
mov qword [rsp + 0x148], rax
lea rdx, [0x140225e60]
mov rcx, qword [rsp + 0x148]
call fcn.140002b67
mov qword [rsp + 0x200], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x200]
mov rcx, rax
call fcn.140002a31
mov dword [rsp + 0x2c], 1
mov rax, qword [rsp + 0x370]
add rax, 0x600
lea rdx, [rsp + 0x2c]
mov rcx, rax
call fcn.1400027ed
cmp dword [rsp + 0x2c], 0
je 0x140089374
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x880], 2
lea rax, [rsp + 0x318]
mov qword [rsp + 0x158], rax
lea rdx, str.Cancelled_by_user
mov rcx, qword [rsp + 0x158]
call fcn.140002b67
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
xor r9d, r9d
mov r8d, 0x64
mov rdx, qword [rsp + 0x210]
mov rcx, rax
call fcn.140002a31
mov dword [rsp + 0x9c], 0
lea rcx, [rsp + 0xc0]
call fcn.140004179
mov eax, dword [rsp + 0x9c]
jmp 0x140089b93
mov rax, qword [rsp + 0x370]
mov dword [rax + 0x880], 1
mov rax, qword [rsp + 0x370]
cmp dword [rax + 0x880], 1
je 0x140089408
lea rax, [rsp + 0x2e8]
mov qword [rsp + 0x168], rax
lea rdx, str.Not_allowed_to_launch_E_mail_client.
mov rcx, qword [rsp + 0x168]
call fcn.140002b67
mov qword [rsp + 0x220], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
xor r9d, r9d
mov r8d, 0x64
mov rdx, qword [rsp + 0x220]
mov rcx, rax
call fcn.140002a31
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0xc0]
call fcn.140004179
mov eax, dword [rsp + 0x68]
jmp 0x140089b93
lea rcx, [rsp + 0x90]
call fcn.140002d51
nop
lea rcx, [rsp + 0x80]
call fcn.140002d51
nop
lea rcx, [rsp + 0x80]
call fcn.140005f01
mov r8, qword [rsp + 0x80]
lea rdx, str.Launching_the_default_email_client___s_
lea rcx, [rsp + 0x90]
call fcn.140001d8e
lea rax, [rsp + 0x338]
mov qword [rsp + 0x178], rax
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x178]
call fcn.140001a7d
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
mov r9b, 1
mov r8d, 0xa
mov rdx, qword [rsp + 0x230]
mov rcx, rax
call fcn.140002a31
lea rax, [rsp + 0x2f8]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x370]
add rax, 8
mov rcx, qword [rsp + 0x370]
mov edx, dword [rcx + 0x5ec]
mov rcx, rax
call fcn.140004c4b
mov rdx, qword [rsp + 0x188]
mov rcx, rax
call fcn.1400034a4
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rdx, qword [rsp + 0x240]
mov rcx, rax
call fcn.140004a3e
mov rax, qword [rsp + 0x370]
add rax, 0x38
mov rdx, rax
lea rcx, [rsp + 0xb8]
call fcn.140001a7d
nop
mov rax, qword [0x140226010]
mov qword [rsp + 0x350], rax
mov qword [rsp + 0xa8], 0
lea rcx, [rsp + 0xb8]
call fcn.140002b08
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x350]
mov rcx, rax
call qword [sym.imp.MSVCR120D.dll_wcstok_s]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140089624
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x1a8], rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x1b8]
call fcn.140002b67
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x250], rax
mov r8, qword [rsp + 0x250]
lea rdx, str.SMTP:
mov rcx, qword [rsp + 0x1a8]
call fcn.140003553
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rdx, qword [rsp + 0x260]
mov rcx, rax
call fcn.14000380a
nop
lea rcx, [rsp + 0x1b8]
call fcn.1400053e9
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x350]
xor ecx, ecx
call qword [sym.imp.MSVCR120D.dll_wcstok_s]
mov qword [rsp + 0x40], rax
jmp 0x14008956c
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x370]
add rax, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call fcn.140001a7d
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rdx, qword [rsp + 0x1c8]
mov rcx, rax
call fcn.1400029c8
mov rax, qword [rsp + 0x370]
add rax, 0x868
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140001a7d
nop
mov r8w, VarDateFromDisp
mov dx, 0x2f
lea rcx, [rsp + 0x20]
call fcn.14000297d
mov dx, VarDateFromDisp
lea rcx, [rsp + 0x20]
call fcn.14000370b
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jl 0x140089711
mov eax, dword [rsp + 0x28]
inc eax
mov r8d, eax
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x20]
call fcn.140001488
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x1d8], rax
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0x20]
call fcn.140001451
nop
lea rcx, [rsp + 0x280]
call fcn.1400053e9
mov rax, qword [rsp + 0x370]
add rax, 0x48
mov rcx, rax
call fcn.140001d9d
test eax, eax
je 0x140089776
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x290], rax
mov rdx, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x370]
call fcn.14000167c
mov qword [rsp + 0x268], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rdx, qword [rsp + 0x268]
mov rcx, rax
call fcn.140004f34
jmp 0x1400897c8
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x370]
add rax, 0x48
mov rdx, rax
mov rcx, qword [rsp + 0x1f8]
call fcn.140001a7d
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rdx, qword [rsp + 0x248]
mov rcx, rax
call fcn.140004f34
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x208], rax
lea rax, [rsp + 0x2f0]
mov qword [rsp + 0x218], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x208]
call fcn.140001a7d
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x370]
add rax, 0x868
mov rdx, rax
mov rcx, qword [rsp + 0x218]
call fcn.140001a7d
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov r8, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xf0]
mov rcx, rax
call fcn.140005a01
lea rcx, [rsp + 0x70]
call fcn.140002d51
nop
lea rax, [rsp + 0x300]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x370]
add rax, 0x868
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.140001a7d
mov qword [rsp + 0x110], rax
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x370]
call fcn.1400053d0
lea rdx, str..md5
lea rcx, [rsp + 0x20]
call fcn.140005461
lea rcx, [rsp + 0x60]
call fcn.140002d51
nop
lea rcx, [rsp + 0x60]
call fcn.140005141
lea r8, [0x140223cd4]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x140]
call fcn.140005506
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x130], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x50]
call fcn.1400054fc
nop
lea rcx, [rsp + 0x140]
call fcn.1400053e9
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x50]
call fcn.140002b08
lea r8, [0x1402260cc]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.MSVCR120D.dll__wfopen_s]
cmp qword [rsp + 0x38], 0
je 0x140089a4b
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140003d2d
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400023ce
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call sub.MSVCR120D.dll_strlen
mov r9, qword [rsp + 0x38]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.MSVCR120D.dll_fwrite]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120D.dll_fclose]
lea rax, [rsp + 0x310]
mov qword [rsp + 0x150], rax
lea rax, [rsp + 0x320]
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x150]
call fcn.140001a7d
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x180], rax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x170]
call fcn.140001a7d
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov r8, qword [rsp + 0x180]
mov rdx, qword [rsp + 0x190]
mov rcx, rax
call fcn.140005a01
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rcx, rax
call fcn.1400025ef
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140089acb
lea rax, [rsp + 0x330]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x370]
add rax, 0x778
mov rdx, qword [rsp + 0x1a0]
mov rcx, rax
call fcn.140003af3
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
xor r9d, r9d
mov r8d, 0x64
mov rdx, qword [rsp + 0x1b0]
mov rcx, rax
call fcn.140002a31
jmp 0x140089b1e
lea rax, [rsp + 0x340]
mov qword [rsp + 0x1c0], rax
lea rdx, str.Sent_OK
mov rcx, qword [rsp + 0x1c0]
call fcn.140002b67
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x370]
add rax, 0x600
xor r9d, r9d
mov r8d, 0x64
mov rdx, qword [rsp + 0x1d0]
mov rcx, rax
call fcn.140002a31
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x98], eax
lea rcx, [rsp + 0x50]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x60]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x70]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x20]
call fcn.1400053e9
nop
lea rcx, [rsp + 0xb8]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x80]
call fcn.1400053e9
nop
lea rcx, [rsp + 0x90]
call fcn.1400053e9
nop
lea rcx, [rsp + 0xc0]
call fcn.140004179
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x358]
xor rcx, rsp
call fcn.1401b0dd0
add rsp, 0x368
ret