Function at 0x14009d5dc
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401080e0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], r14
cmp dword [rcx + 0xb0], 0xffffffff
jne 0x14009d63e
lea rdx, str.Sending_error_report_over_SMTP_is_disabled__negative_priority___skipping.
lea rcx, [rbp + 0x17]
jmp 0x14009d653
mov rax, qword [rcx + 0x38]
cmp dword [rax - 8], r14d
jne 0x14009d675
lea rdx, str.No_E_mail_address_is_specified_for_sending_error_report_over_SMTP__skipping.
lea rcx, [rbp + 0x1f]
call fcn.14006874c
mov r9b, 1
xor r8d, r8d
mov rdx, rax
lea rcx, [rdi + 0x5d8]
call fcn.14006caa0
mov ebx, r14d
jmp 0x14009dc31
mov edx, dword [rcx + 0x5c4]
add rcx, 8
call fcn.140077180
mov rcx, rax
lea rdx, [rbp - 0x11]
call fcn.140076828
mov rcx, qword [rax]
mov ebx, r14d
cmp dword [rcx - 8], r14d
sete bl
mov rcx, qword [rbp - 0x11]
add rcx, 0xfffffffffffffff4
or r15d, 0xffffffff
cmp rcx, qword [0x140108010]
je 0x14009d6cd
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009d6cd
mov rcx, qword [rbp - 0x11]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
test ebx, ebx
je 0x14009d811
mov rdx, qword [rdi + 0x38]
mov r8d, dword [rdx - 8]
lea rcx, [rbp - 0x29]
call fcn.140072dd8
nop
movabs rax, 0x20002c003b
mov qword [rbp + 0x2f], rax
mov qword [rbp - 9], r14
lea r8, [rbp - 9]
lea rdx, [rbp + 0x2f]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.MSVCR120.dll_wcstok_s]
test rax, rax
je 0x14009d72a
cmp word [rax], r14w
je 0x14009d72a
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.14006874c
nop
mov ebx, 1
jmp 0x14009d773
mov rbx, qword [rdi + 0x38]
cmp dword [rbx - 0xc], r14d
jl 0x14009d73e
mov qword [rbp - 0x69], rbx
lock inc dword [rbx - 0xc]
jmp 0x14009d76a
mov rax, qword [0x140108018]
mov qword [rbp - 0x69], rax
test rbx, rbx
jne 0x14009d753
mov eax, r14d
jmp 0x14009d75c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.140067304
lea rax, [rbp - 0x69]
mov ebx, 2
mov dword [rsp + 0x20], ebx
lea rsi, [rdi + 0x650]
mov rdx, qword [rax]
mov rcx, rsi
call fcn.1400ba688
nop
test bl, 2
je 0x14009d7be
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rcx, qword [rbp - 0x69]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009d7be
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009d7ba
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov ebx, dword [rsp + 0x20]
test bl, 1
je 0x14009d7f0
mov rcx, qword [rbp - 0x41]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009d7f0
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009d7f0
mov rcx, qword [rbp - 0x41]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rbp - 0x29]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009d86c
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009d86c
jmp 0x14009d867
mov edx, dword [rdi + 0x5c4]
lea rcx, [rdi + 8]
call fcn.140077180
mov rcx, rax
lea rdx, [rbp - 0x19]
call fcn.140076828
nop
lea rsi, [rdi + 0x650]
mov rdx, qword [rax]
mov rcx, rsi
call fcn.1400ba688
nop
mov rcx, qword [rbp - 0x19]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009d86c
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009d86c
mov rcx, qword [rbp - 0x19]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov rdx, qword [rdi + 0x38]
mov rcx, rsi
call fcn.1400b779c
mov rdx, qword [rdi + 0x40]
mov rcx, rsi
call fcn.1400ba724
mov rdx, qword [rdi + 0x48]
cmp dword [rdx - 8], r14d
jne 0x14009d8d5
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.14009a468
nop
mov rdx, qword [rax]
mov rcx, rsi
call fcn.1400ba75c
nop
mov rcx, qword [rbp - 0x31]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009d8dd
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009d8dd
mov rcx, qword [rbp - 0x31]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
jmp 0x14009d8dd
mov rcx, rsi
call fcn.1400ba75c
mov rdx, qword [rdi + 0x7f0]
mov rcx, rsi
call fcn.1400b76fc
mov rax, qword [0x140108018]
mov qword [rbp - 0x49], rax
mov rbx, qword [rdi + 0x7f0]
cmp dword [rbx - 0xc], r14d
jl 0x14009d90e
mov qword [rbp - 0x59], rbx
lock inc dword [rbx - 0xc]
jmp 0x14009d933
mov qword [rbp - 0x59], rax
test rbx, rbx
jne 0x14009d91c
mov eax, r14d
jmp 0x14009d925
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x59]
call fcn.140067304
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.140095098
mov rbx, qword [rdi + 0x7f0]
cmp dword [rbx - 0xc], r14d
jl 0x14009d95b
mov qword [rsp + 0x28], rbx
lock inc dword [rbx - 0xc]
jmp 0x14009d98a
mov rax, qword [0x140108018]
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x14009d971
mov eax, r14d
jmp 0x14009d97a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.140067304
nop
mov ebx, VarDateFromDisp
mov r8d, ebx
lea edx, [rbx - 0x2d]
lea rcx, [rsp + 0x28]
call fcn.14009bc28
mov edx, ebx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_wcsrchr]
test rax, rax
je 0x14009da0a
sub rax, qword [rsp + 0x28]
sar rax, 1
test eax, eax
js 0x14009da0a
lea r8d, [rax + 1]
lea rdx, [rbp - 0x21]
lea rcx, [rsp + 0x28]
call fcn.14006a8f0
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140068904
nop
mov rcx, qword [rbp - 0x21]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009da0a
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009da0a
mov rcx, qword [rbp - 0x21]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
lea rcx, str..md5
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, str..md5
mov edx, eax
lea rcx, [rsp + 0x28]
call fcn.140068ed8
mov rax, qword [0x140108018]
mov qword [rbp - 0x71], rax
lea rcx, [rbp - 0x71]
call fcn.14006bec4
lea r8, [0x1400c7534]
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x39]
call fcn.140068a74
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.140074ae0
nop
mov rcx, qword [rbp - 0x39]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009da91
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009da91
mov rcx, qword [rbp - 0x39]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
mov qword [rbp - 0x61], r14
lea r8, [0x1400c78f0]
mov rdx, qword [rbp - 0x79]
lea rcx, [rbp - 0x61]
call qword [sym.imp.MSVCR120.dll__wfopen_s]
cmp qword [rbp - 0x61], r14
je 0x14009dafe
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.140069bfc
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14007c9ac
mov rbx, rax
mov rcx, rax
call sub.MSVCR120.dll_strlen
mov rdx, rax
mov r9, qword [rbp - 0x61]
mov r8d, 1
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_fwrite]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.MSVCR120.dll_fclose]
mov rdx, qword [rbp - 0x79]
mov rcx, rsi
call fcn.1400b76fc
mov rax, qword [rdi + 0x58]
cmp dword [rax - 8], r14d
je 0x14009db5b
mov rbx, rax
cmp dword [rax - 0xc], r14d
jl 0x14009db1b
mov qword [rbp - 0x51], rax
lock inc dword [rax - 0xc]
jmp 0x14009db47
mov rax, qword [0x140108018]
mov qword [rbp - 0x51], rax
test rbx, rbx
jne 0x14009db30
mov eax, r14d
jmp 0x14009db39
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp - 0x51]
call fcn.140067304
lea rcx, [rdi + 0x698]
mov r8d, dword [rdi + 0x60]
lea rdx, [rbp - 0x51]
call fcn.1400ba6c0
lea rbx, [rdi + 0x698]
mov r8, qword [rdi + 0x70]
mov rdx, qword [rdi + 0x68]
mov rcx, rbx
call fcn.1400ba608
lea r8, [rdi + 0x5d8]
mov rdx, rsi
mov rcx, rbx
call fcn.1400b83a4
mov ebx, r14d
test eax, eax
sete bl
mov rcx, qword [rbp - 0x79]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009dbb9
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009dbb9
mov rcx, qword [rbp - 0x79]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rbp - 0x71]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009dbe6
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009dbe6
mov rcx, qword [rbp - 0x71]
add rcx, 0xfffffffffffffff4
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009dc0c
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
test eax, eax
jg 0x14009dc0c
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
mov rcx, qword [rbp - 0x49]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x140108010]
je 0x14009dc31
mov edx, r15d
lock xadd dword [rcx], edx
add edx, r15d
test edx, edx
jg 0x14009dc31
call sub.MSVCR120.dll_void___cdecl_operator_delete___void____ptr64_
nop
lea rcx, [rbp - 1]
call fcn.140068890
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400bf530
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret