Function at 0x180025e28
Capabilities:
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r12
mov eax, 0x31e0
call fcn.180065650
sub rsp, rax
mov rax, qword [0x1800830c8]
xor rax, rsp
mov qword [rsp + 0x31d0], rax
and dword [rsp + 0x64], 0
mov rdi, rcx
lea rcx, [rsp + 0x81]
xor edx, edx
mov r8d, 0x143
mov byte [rsp + 0x80], 0
call fcn.180052810
lea rcx, [rsp + 0x1d1]
xor edx, edx
mov r8d, 0x2fff
mov byte [rsp + 0x1d0], 0
call fcn.180052810
xor eax, eax
lea rcx, [rsp + 0x80]
mov edx, 0x144
mov byte [rsp + 0x50], 0
mov word [rsp + 0x51], ax
mov byte [rsp + 0x53], al
mov byte [rsp + 0x58], al
mov word [rsp + 0x59], ax
mov byte [rsp + 0x5b], al
mov byte [rsp + 0x5c], al
mov word [rsp + 0x5d], ax
mov byte [rsp + 0x5f], al
mov byte [rsp + 0x60], al
mov word [rsp + 0x61], ax
mov byte [rsp + 0x63], al
mov byte [rsp + 0x54], al
mov word [rsp + 0x55], ax
mov byte [rsp + 0x57], al
call fcn.18000b2e4
test eax, eax
jne 0x180025f07
lea rcx, [rsp + 0x80]
mov edx, 0x103
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rdx, str.ErrorReport.Log
lea rcx, [rsp + 0x80]
call fcn.1800530d0
xor edx, edx
lea rcx, [rsp + 0x68]
lea r8d, [rdx + 0x10]
call fcn.180052810
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x6a]
lea r12, [0x180067f84]
mov ebx, 3
lea rbp, [0x180067848]
movzx r9d, ax
lea rcx, [rsp + 0x50]
mov r8, r12
mov rdx, rbx
cmp ax, 0xa
jb 0x180025f66
mov r8, rbp
call fcn.1800528fc
movzx eax, word [rsp + 0x6e]
mov rdx, rbx
lea rcx, [rsp + 0x58]
mov r8, r12
movzx r9d, ax
cmp ax, 0xa
jb 0x180025f88
mov r8, rbp
call fcn.1800528fc
movzx eax, word [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x5c]
mov r8, r12
movzx r9d, ax
cmp ax, 0xa
jb 0x180025faa
mov r8, rbp
call fcn.1800528fc
movzx eax, word [rsp + 0x72]
mov rdx, rbx
lea rcx, [rsp + 0x60]
mov r8, r12
movzx r9d, ax
cmp ax, 0xa
jb 0x180025fcc
mov r8, rbp
call fcn.1800528fc
movzx eax, word [rsp + 0x74]
mov rdx, rbx
lea rcx, [rsp + 0x54]
mov r8, r12
movzx r9d, ax
cmp ax, 0xa
jb 0x180025fee
mov r8, rbp
call fcn.1800528fc
movzx r9d, word [rsp + 0x68]
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x54]
lea r8, str._d__s__s__s:_s:_s_tError_Report:__s_r_n
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov edx, 0x2fff
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1800528fc
and qword [rsp + 0x30], 0
xor r9d, r9d
lea rcx, [rsp + 0x80]
mov edx, 0xc0000000
lea ebx, [r9 + 2]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x180026089
xor eax, eax
jmp 0x1800260d3
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rcx, [rsp + 0x1d0]
call fcn.1800529c0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x64]
lea rdx, [rsp + 0x1d0]
mov r8, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x31d0]
xor rcx, rsp
call fcn.1800527e0
lea r11, [rsp + 0x31e0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret