Function at 0x18000fca0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x18005d3f0]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
xor r14d, r14d
mov rbx, rcx
mov dword [rcx + 0x20], r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
lea esi, [r14 + 1]
call fcn.18001f6b0
xor eax, eax
lea rdx, [0x1800401fc]
mov r8d, 0x2b62
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.180009f60
movups xmm0, xmmword [str.__Pudding_zip__]
lea rcx, [rbp + 0x180]
movups xmm1, xmmword [0x180041cd8]
sub rcx, 2
movaps xmmword [rbp + 0x180], xmm0
movaps xmmword [rbp + 0x190], xmm1
cmp word [rcx + 2], r14w
lea rcx, [rcx + 2]
jne 0x18000fd44
lea r8, [rsp + 0x40]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x18000fd60
lea r8, [rbp + 0x180]
mov qword [rsp + 0x8e8], rdi
mov edx, esi
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x18000ff7d
xor r9d, r9d
lea rax, [rbp + 0x180]
mov qword [rsp + 0x28], rax
xor edx, edx
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], 0x1704
mov esi, r14d
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x18000ff7d
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.18001f6b0
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.18001f6b0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.18001f6b0
lea rdx, [rbp + 0x390]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, [rsp + 0x40]
lea r9, str.PuddingZip
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x390]
lea rdx, str._s_s_s
lea rcx, [rbp + 0x5a0]
call fcn.180009f60
movups xmm0, xmmword [str.__Pudding_zip__]
lea rcx, [rsp + 0x70]
movups xmm1, xmmword [0x180041cd8]
sub rcx, 2
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
nop dword [rax]
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x18000fe70
mov eax, dword [0x180041d00]
movsd xmm0, qword [str.TEMP__]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x180041d04]
mov word [rcx + 0xc], ax
lea rcx, [rsp + 0x70]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x18000fea3
lea r8, [rsp + 0x40]
xor edx, edx
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x18000fec0
lea r8, [rsp + 0x70]
mov dword [rbx + 0x20], 1
mov edx, 1
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x18000ff7d
lea r8, [rsp + 0x70]
lea edx, [rax + 1]
lea ecx, [rax + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x18000ff7d
mov qword [rsp + 0x30], r14
lea r8d, [rax + 3]
mov dword [rsp + 0x28], 0x80
lea rcx, [rbp + 0x5a0]
xor r9d, r9d
mov dword [rsp + 0x20], 4
mov edx, 0x10000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000ffca
xor r9d, r9d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x1704
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rdi
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000ffca
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov edx, 0xf001f
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x18000ffbc
mov qword [rbx + 0x48], rax
test esi, esi
jne 0x18000ffb5
mov rcx, rax
call fcn.18000e800
mov eax, 1
jmp 0x18000ffcc
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x10], r14
xor eax, eax
mov rdi, qword [rsp + 0x8e8]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.18001d7b0
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8c0
pop r14
pop rsi
pop rbp
ret