Function at 0x1400bae50
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [rcx + 0x34]
mov rsi, rcx
lea r14, [0x140208860]
lea rbp, str.ContactSheet
add rcx, 0x654
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbp
call fcn.1400ee550
lea r9, [rsp + 0x30]
lea r8, str.16777215
lea rdx, str.BackColor
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
call fcn.1400fa308
lea r8, str.1024
lea rdx, [0x140188bf8]
mov r9, r14
mov rcx, rbp
mov dword [rsi + 0x30], eax
call fcn.1400ee4b0
lea r8, [0x14018de50]
lea rdx, [0x140188c08]
mov r9, r14
mov rcx, rbp
movss dword [rsi], xmm0
call fcn.1400ee4b0
lea rdx, str.Units
mov r9, r14
xor r8d, r8d
mov rcx, rbp
movss dword [rsi + 4], xmm0
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [0x140185fb8]
mov r9, r14
mov r8d, 0x48
mov rcx, rbp
mov dword [rsi + 8], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [0x14018a548]
mov r9, r14
mov r8d, 1
mov rcx, rbp
mov dword [rsi + 0xc], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.Columns
mov r9, r14
mov r8d, 5
mov rcx, rbp
mov dword [rsi + 0x10], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.Rows
mov r9, r14
mov r8d, 5
mov rcx, rbp
mov dword [rsi + 0x14], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.HMargin
mov r9, r14
mov r8d, 0x1e
mov rcx, rbp
mov dword [rsi + 0x18], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.VMargin
mov r9, r14
mov r8d, 0x1e
mov rcx, rbp
mov dword [rsi + 0x28], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.HSpacing
mov r9, r14
mov r8d, 0x1e
mov rcx, rbp
mov dword [rsi + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r9, r14
mov dword [rsi + 0x20], eax
lea rdx, str.VSpacing
mov r8d, 0x1e
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.Enlarge
mov r9, r14
xor r8d, r8d
mov rcx, rbp
mov dword [rsi + 0x24], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, str.FileNames
mov r9, r14
mov r8d, 1
mov rcx, rbp
mov dword [rsi + 0x1c], eax
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea r9, [rsi + 0x3c]
lea r8, [0x14018dedc]
lea rdx, str.FileText
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov dword [rsi + 0x38], eax
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsi + 0x3c]
call fcn.1400e8f30
lea r9, [rsi + 0x244]
lea r8, [0x140181e34]
lea rdx, str.HeadText
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsi + 0x244]
call fcn.1400e8f30
lea r9, [rsi + 0x44c]
lea r8, [0x1401832a4]
lea rdx, str.FootText
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsi + 0x44c]
call fcn.1400e8f30
lea rdx, str.Output
mov r9, r14
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [rsp + 0x30]
mov ecx, 0x104
mov dword [rsi + 0x6b0], eax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsi + 0x8bc]
lea r8, [rsp + 0x30]
lea rdx, str.SaveFolder
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rbx, str.Sheet_
lea r9, [rsi + 0x6b4]
lea rdx, str.SheetName
mov rcx, rbp
mov r8, rbx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rsi + rax*2 + 0x6b4], 0
jne 0x1400bb170
test rax, rax
jne 0x1400bb1a4
mov rdx, rsi
sub rdx, rbx
nop dword [rax]
movzx eax, word [rbx]
lea rbx, [rbx + 2]
mov word [rdx + rbx + 0x6b2], ax
test ax, ax
jne 0x1400bb190
lea r9, [rsi + 0xac4]
lea r8, [0x1401894a0]
lea rdx, str.SaveExt
mov rcx, rbp
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x104
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400f9a80
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret