Function at 0x180027d50
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 [0x180075010]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
xor r14d, r14d
mov rbx, rcx
mov dword [rcx + 0x28], r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x180]
lea esi, [r14 + 1]
call fcn.18002ddc0
xor eax, eax
lea rdx, [0x18004aa10]
mov r8d, 0x7600
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.180010140
movups xmm0, xmmword [str.__GOODZIP_ZIP__]
lea rcx, [rbp + 0x180]
movups xmm1, xmmword [0x18004f580]
sub rcx, 2
movaps xmmword [rbp + 0x180], xmm0
movaps xmmword [rbp + 0x190], xmm1
cmp word [rcx + 2], r14w
lea rcx, [rcx + 2]
jne 0x180027df4
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 0x180027e10
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 + 0x18], rax
test rax, rax
jne 0x18002802d
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 + 0x18], rax
test rax, rax
jne 0x18002802d
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x208
call fcn.18002ddc0
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.18002ddc0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x208
call fcn.18002ddc0
lea rdx, [rbp + 0x390]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rax, [rsp + 0x40]
lea r9, [0x18004aa00]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x390]
lea rdx, str._s_s_s
lea rcx, [rbp + 0x5a0]
call fcn.180010140
movups xmm0, xmmword [str.__GOODZIP_ZIP__]
lea rcx, [rsp + 0x70]
movups xmm1, xmmword [0x18004f580]
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 0x180027f20
mov eax, dword [0x18004f5a8]
movsd xmm0, qword [str.TEMP__]
movsd qword [rcx], xmm0
mov dword [rcx + 8], eax
movzx eax, word [0x18004f5ac]
mov word [rcx + 0xc], ax
lea rcx, [rsp + 0x70]
sub rcx, 2
cmp word [rcx + 2], si
lea rcx, [rcx + 2]
jne 0x180027f53
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 0x180027f70
lea r8, [rsp + 0x70]
mov dword [rbx + 0x28], 1
mov edx, 1
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x18002802d
lea r8, [rsp + 0x70]
lea edx, [rax + 1]
lea ecx, [rax + 6]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x18002802d
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 0x18002807a
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 + 0x18], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18002807a
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov edx, 0xf001f
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x20], rax
test rax, rax
je 0x18002806c
mov qword [rbx + 0x50], rax
test esi, esi
jne 0x180028065
mov rcx, rax
call fcn.180026eb0
mov eax, 1
jmp 0x18002807c
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov qword [rbx + 0x18], r14
xor eax, eax
mov rdi, qword [rsp + 0x8e8]
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.18002bf10
mov rbx, qword [rsp + 0x8f0]
add rsp, 0x8c0
pop r14
pop rsi
pop rbp
ret