Function at 0x14000d7c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
lea rbp, [rsp + 0x50]
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rbp + 0x88], rbx
mov rax, qword [0x14019cfa0]
xor rax, rbp
mov qword [rbp + 0x30], rax
mov rsi, r8
mov rdi, rdx
mov r14, rcx
xor r15d, r15d
mov qword [rbp + 0x10], r15
call fcn.140004ea0
mov rcx, rax
test rax, rax
je 0x14000dc4f
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x10], rax
lea rdx, str.Exception_r_n
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000d831
mov r8d, eax
lea rcx, [rbp + 0x10]
call fcn.140003cd0
lea rdx, str._r_n
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000d851
mov r8d, eax
lea rcx, [rbp + 0x10]
call fcn.140003cd0
lea rcx, [rbp]
call fcn.14000c8a0
nop
mov r8, qword [rax]
lea rdx, str.Application_:__s_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
nop
mov rdx, qword [rbp]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d8a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov r8, qword [rdi]
lea rdx, str.Dump_File___:__s_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rbp + 0x26]
movzx ecx, word [rbp + 0x24]
movzx edx, word [rbp + 0x22]
movzx r10d, word [rbp + 0x20]
movzx r11d, word [rbp + 0x18]
movzx r9d, word [rbp + 0x1a]
movzx r8d, word [rbp + 0x1e]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str.Date__Time_:__02d__02d__04d__02d:_02d:_02d._04d_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
mov rax, rbx
test rsi, rsi
je 0x14000daf4
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14000dac0
lea rdx, str.Segment_Registers_and_processor_flags_r_n
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000d930
mov r8d, eax
lea rcx, [rbp + 0x10]
call fcn.140003cd0
movzx eax, word [rdi + 0x3c]
movzx r9d, word [rdi + 0x3a]
movzx r8d, word [rdi + 0x38]
mov dword [rsp + 0x20], eax
lea rdx, str.__SegCs__0x_08X__SegCs__0x_08X__SegCs__0x_08X_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
movzx eax, word [rdi + 0x42]
movzx r9d, word [rdi + 0x40]
movzx r8d, word [rdi + 0x3e]
mov dword [rsp + 0x20], eax
lea rdx, str.__SegFs__0x_08X__SegGs__0x_08X__SegSs__0x_08X_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
mov r8d, dword [rdi + 0x44]
lea rdx, str.__EFlags_0x_08X_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
lea rdx, str._r_nRegisters_r_n
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000d9b0
mov r8d, eax
lea rcx, [rbp + 0x10]
call fcn.140003cd0
mov rax, qword [rdi + 0x90]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi + 0x80]
mov r8, qword [rdi + 0x78]
lea rdx, str.__Rax____0x_016lX__Rcx____0x_016lX__Rdx____0x_016lX__Rbx____0x_016lX_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
mov rax, qword [rdi + 0xb0]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0xa8]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi + 0xa0]
mov r8, qword [rdi + 0x98]
lea rdx, str.__Rsp____0x_016lX__Rbp____0x_016lX__Rsi____0x_016LX__Rdi____0x_016LX_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
mov rax, qword [rdi + 0xd0]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0xc8]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi + 0xc0]
mov r8, qword [rdi + 0xb8]
lea rdx, str.__R8_____0x_016lX__R9_____0x_016lX__R10____0x_016lX__R11____0x_016lX_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
mov rax, qword [rdi + 0xf0]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 0xe8]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi + 0xe0]
mov r8, qword [rdi + 0xd8]
lea rdx, str.__R12____0x_016lX__R13____0x_016lX__R14____0x_016lX__R15____0x_016lX_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
mov r8, qword [rdi + 0xf8]
lea rdx, str._r_n__Rip____0x_016lX_r_n
lea rcx, [rbp + 0x10]
call fcn.14000a3a0
mov rdx, qword [rsi]
lea rcx, [rbp + 0x10]
call fcn.14000d5c0
jmp 0x14000db16
lea rdx, str.End_of_exception_records._r_n
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000dad0
mov r8d, eax
lea rcx, [rbp + 0x10]
call fcn.140003cd0
mov rdx, qword [rsi]
lea rcx, [rbp + 0x10]
call fcn.14000d5c0
jmp 0x14000db16
lea rdx, str.Exception_information_was_not_provided.
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14000db00
mov r8d, eax
lea rcx, [rbp + 0x10]
call fcn.140004960
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000dc14
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp + 0x28], r15d
mov r8, qword [rbp + 0x10]
mov r14d, dword [r8 - 0x10]
test r8, r8
je 0x14000dbef
mov rax, rbx
inc rax
cmp word [r8 + rax*2], 0
jne 0x14000db74
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x14000dbef
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x14000dba7
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400dc9d0
sub rsp, rcx
lea rdi, [rsp + 0x50]
test rdi, rdi
je 0x14000dbef
mov byte [rdi], 0
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, ebx
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rdi, r15
jmp 0x14000dbf2
mov rdi, r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x28]
mov r8d, r14d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x10]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000dc30
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0x30]
xor rcx, rbp
call fcn.1400dbfd0
mov rbx, qword [rbp + 0x88]
lea rsp, [rbp + 0x40]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004d90
int3