Function at 0x1400919d0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401740c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
xor r13d, r13d
mov qword [rbp + 0x58], r13
cmp dword [rcx + 0xb8], 0xffffffff
jne 0x140091a47
lea rdx, str.Sending_error_report_over_SMAPI_is_disabled__negative_priority___skipping.
lea rcx, [rbp + 0x38]
call fcn.140067e3c
lea rcx, [rdi + 0x5e0]
mov r9b, 1
xor r8d, r8d
jmp 0x140091b77
mov rax, qword [rcx + 0x38]
cmp dword [rax - 8], r13d
jne 0x140091a5e
lea rdx, str.No_E_mail_address_is_specified_for_sending_error_report_over_Simple_MAPI__skipping.
lea rcx, [rbp + 0x40]
jmp 0x140091a30
cmp dword [rcx + 0x80], r13d
je 0x140091a74
lea rdx, str.Simple_MAPI_may_require_user_interaction__not_acceptable_for_non_GUI_mode___skipping.
lea rcx, [rbp - 0x20]
jmp 0x140091a30
lea rdx, str.Sending_error_report_using_Simple_MAPI
lea rcx, [rbp - 0x18]
call fcn.140067e3c
lea r12, [rdi + 0x5e0]
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, r12
call fcn.14006b790
lea rdx, str.Initializing_MAPI
lea rcx, [rbp - 0x10]
call fcn.140067e3c
mov r9b, 1
mov r8d, 1
mov rdx, rax
mov rcx, r12
call fcn.14006b790
lea r14, [rdi + 0x730]
mov rcx, r14
call fcn.14009e27c
test eax, eax
jne 0x140091ae4
lea rdx, [rbp - 8]
mov rcx, r14
call fcn.14008f87c
jmp 0x140091b6d
cmp dword [rdi + 0x5d8], r13d
je 0x140091b54
cmp dword [rdi + 0x810], r13d
jne 0x140091b54
lea rdx, str._confirm_launch_email_client_
lea rcx, [rbp]
call fcn.140067e3c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
mov rcx, r12
call fcn.14006b790
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14006b8b8
cmp dword [rsp + 0x30], r13d
je 0x140091b4a
mov dword [rdi + 0x810], 2
lea rdx, str.Cancelled_by_user
lea rcx, [rbp + 8]
jmp 0x140091b68
mov dword [rdi + 0x810], 1
cmp dword [rdi + 0x810], 1
je 0x140091b87
lea rdx, str.Not_allowed_to_launch_E_mail_client.
lea rcx, [rbp + 0x10]
call fcn.140067e3c
xor r9d, r9d
lea r8d, [r9 + 0x64]
mov rcx, r12
mov rdx, rax
call fcn.14006b790
mov ebx, r13d
jmp 0x14009224c
mov rax, qword [0x140174018]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x60]
call fcn.14009e0c4
mov r8, qword [rbp - 0x60]
lea rdx, str.Launching_the_default_email_client___s_
lea rcx, [rbp - 0x30]
call fcn.14006895c
mov rbx, qword [rbp - 0x30]
lea r15, [rbx - 0xc]
cmp dword [r15], r13d
jl 0x140091bcb
mov qword [rsp + 0x48], rbx
lock inc dword [r15]
jmp 0x140091bef
mov rax, qword [0x140174018]
mov qword [rsp + 0x48], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1400670f0
mov r9b, 1
mov r8d, 0xa
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.14006b790
lea rcx, [rdi + 8]
mov edx, dword [rdi + 0x5cc]
call fcn.140072980
mov rcx, rax
lea rdx, [rbp + 0x18]
call fcn.140072008
mov rdx, rax
mov rcx, r14
call fcn.14009e728
mov rbx, qword [rdi + 0x38]
cmp dword [rbx - 0xc], r13d
jl 0x140091c40
mov qword [rsp + 0x38], rbx
lock inc dword [rbx - 0xc]
jmp 0x140091c6f
mov rax, qword [0x140174018]
mov qword [rsp + 0x38], rax
test rbx, rbx
jne 0x140091c56
mov eax, r13d
jmp 0x140091c5f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.1400670f0
nop
movabs rax, 0x20002c003b
mov qword [rbp + 0x68], rax
mov qword [rbp - 0x48], r13
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x68]
mov rcx, qword [rsp + 0x38]
call fcn.1400bda8c
or esi, 0xffffffff
jmp 0x140091cfd
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140067e3c
nop
mov r8, rax
lea rdx, str.SMTP:
lea rcx, [rbp + 0x20]
call fcn.1400897a0
mov rdx, rax
mov rcx, r14
call fcn.14009dfc0
nop
mov rcx, qword [rbp - 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140091cee
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x140091cee
mov rcx, qword [rbp - 0x28]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x68]
xor ecx, ecx
call fcn.1400bda8c
test rax, rax
jne 0x140091c98
mov rbx, qword [rdi + 0x40]
cmp dword [rbx - 0xc], r13d
jl 0x140091d17
mov qword [rsp + 0x50], rbx
lock inc dword [rbx - 0xc]
jmp 0x140091d45
mov rax, qword [0x140174018]
mov qword [rsp + 0x50], rax
test rbx, rbx
jne 0x140091d2d
mov eax, r13d
jmp 0x140091d36
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.1400670f0
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.14009e888
mov rbx, qword [rdi + 0x7f8]
cmp dword [rbx - 0xc], r13d
jl 0x140091d6a
mov qword [rsp + 0x20], rbx
lock inc dword [rbx - 0xc]
jmp 0x140091d99
mov rax, qword [0x140174018]
mov qword [rsp + 0x20], rax
test rbx, rbx
jne 0x140091d80
mov eax, r13d
jmp 0x140091d89
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400670f0
nop
mov ebx, VarDateFromDisp
mov r8d, ebx
lea edx, [rbx - 0x2d]
lea rcx, [rsp + 0x20]
call fcn.14009089c
mov edx, ebx
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.1400b2714
test rax, rax
je 0x140091e1c
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140091e1c
lea r8d, [rax + 1]
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call fcn.140069d14
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140067f7c
nop
mov rcx, qword [rbp - 0x40]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140091e17
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x140091e17
mov rcx, qword [rbp - 0x40]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
mov rbx, qword [rsp + 0x20]
mov rax, qword [rdi + 0x48]
cmp dword [rax - 8], r13d
jne 0x140091e3f
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.14008f060
mov rdx, rax
mov rcx, r14
call fcn.14009e7d8
jmp 0x140091e96
mov rsi, rax
cmp dword [rax - 0xc], r13d
jl 0x140091e58
mov qword [rsp + 0x58], rax
lock inc dword [rax - 0xc]
mov rbx, qword [rsp + 0x20]
jmp 0x140091e86
mov rax, qword [0x140174018]
mov qword [rsp + 0x58], rax
test rsi, rsi
jne 0x140091e6e
mov eax, r13d
jmp 0x140091e77
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rsi
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.1400670f0
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.14009e7d8
or esi, 0xffffffff
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
cmp dword [rbx - 0xc], r13d
jl 0x140091eb1
mov qword [rsp + 0x60], rbx
lock inc dword [rbx - 0xc]
jmp 0x140091ed6
mov rax, qword [0x140174018]
mov qword [rsp + 0x60], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.1400670f0
nop
mov rbx, qword [rdi + 0x7f8]
cmp dword [rbx - 0xc], r13d
jl 0x140091eee
mov qword [rsp + 0x68], rbx
lock inc dword [rbx - 0xc]
jmp 0x140091f1d
mov rax, qword [0x140174018]
mov qword [rsp + 0x68], rax
test rbx, rbx
jne 0x140091f04
mov eax, r13d
jmp 0x140091f0d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x68]
call fcn.1400670f0
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.14009de38
mov rax, qword [0x140174018]
mov qword [rbp - 0x50], rax
mov rbx, qword [rdi + 0x7f8]
cmp dword [rbx - 0xc], r13d
jl 0x140091f52
mov qword [rsp + 0x70], rbx
lock inc dword [rbx - 0xc]
jmp 0x140091f79
mov qword [rsp + 0x70], rax
test rbx, rbx
jne 0x140091f61
mov eax, r13d
jmp 0x140091f6a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.1400670f0
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.140089bf4
lea rcx, str..md5
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str..md5
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.1400683e0
mov rax, qword [0x140174018]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x68]
call fcn.14006adf0
lea r8, [0x1401202e4]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x38]
call fcn.1400680f0
nop
lea r8, [rsp + 0x20]
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400706e0
nop
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14009200f
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x14009200f
mov rcx, qword [rbp - 0x38]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
mov qword [rsp + 0x78], r13
lea r8, [0x140120690]
mov rdx, qword [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.1400d96bc
cmp qword [rsp + 0x78], r13
je 0x140092101
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140069064
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1400773c4
mov rbx, rax
mov rcx, rax
call fcn.1400d9890
mov rdx, rax
mov r9, qword [rsp + 0x78]
mov r8d, 1
mov rcx, rbx
call fcn.1400e027c
mov rcx, qword [rsp + 0x78]
call fcn.1400d9814
lea rax, [rbp - 0x80]
mov qword [rbp - 0x58], rax
mov rbx, qword [rsp + 0x20]
cmp dword [rbx - 0xc], r13d
jl 0x140092093
mov qword [rbp - 0x80], rbx
lock inc dword [rbx - 0xc]
jmp 0x1400920ba
mov rax, qword [0x140174018]
mov qword [rbp - 0x80], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, qword [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.1400670f0
nop
mov rbx, qword [rbp - 0x70]
cmp dword [rbx - 0xc], r13d
jl 0x1400920ce
mov qword [rbp - 0x78], rbx
lock inc dword [rbx - 0xc]
jmp 0x1400920f1
mov rax, qword [0x140174018]
mov qword [rbp - 0x78], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.1400670f0
nop
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x78]
mov rcx, r14
call fcn.14009de38
mov rcx, r14
call fcn.14009e42c
mov ebx, eax
test eax, eax
jne 0x14009211d
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.14008f87c
jmp 0x14009212e
lea rdx, str.Sent_OK
lea rcx, [rsp + 0x28]
call fcn.140067e3c
xor r9d, r9d
lea r8d, [r9 + 0x64]
mov rdx, rax
mov rcx, r12
call fcn.14006b790
nop
mov rcx, qword [rbp - 0x70]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14009216c
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x14009216c
mov rcx, qword [rbp - 0x70]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
nop
mov rcx, qword [rbp - 0x68]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140092197
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x140092197
mov rcx, qword [rbp - 0x68]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
nop
mov rcx, qword [rbp - 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400921ba
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x1400921ba
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x20]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x1400921de
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x1400921de
call fcn.1400b0230
nop
mov rcx, qword [rsp + 0x38]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x140092202
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x140092202
call fcn.1400b0230
nop
mov rcx, qword [rbp - 0x60]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140174010]
je 0x14009222d
mov eax, esi
lock xadd dword [rcx], eax
add eax, esi
test eax, eax
jg 0x14009222d
mov rcx, qword [rbp - 0x60]
add rcx, 0xfffffffffffffff4
call fcn.1400b0230
nop
cmp r15, qword [0x140174010]
je 0x14009224c
mov edx, esi
lock xadd dword [r15], edx
add edx, esi
test edx, edx
jg 0x14009224c
mov rcx, r15
call fcn.1400b0230
nop
lea rcx, [rbp + 0x48]
call fcn.140067f00
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400b0730
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret