Function at 0x1800c6850
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov qword [rsp + 0x288], 0
mov qword [rsp + 0x270], 0
mov qword [rsp + 0x278], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x290], 0
xor eax, eax
mov word [rsp + 0x60], ax
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x280], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x2b8]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6934
mov rcx, qword [rsp + 0x2b0]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6934
mov rcx, qword [rsp + 0x2c0]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x1800c6944
mov dword [rsp + 0x290], 0xffffeff9
jmp 0x1800c6b73
lea rcx, [0x180228580]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x278], rax
cmp qword [rsp + 0x278], 0
jne 0x1800c6974
mov dword [rsp + 0x290], 0xffffefe0
jmp 0x1800c6b73
lea rdx, [0x180228598]
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
lea rdx, [0x1802285a8]
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
lea rdx, [0x1802285b8]
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x280], rax
lea rdx, [0x1802285c8]
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
lea rdx, str.WIMExtractImagePath
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x48]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6a51
mov rcx, qword [rsp + 0x40]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6a51
mov rcx, qword [rsp + 0x30]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6a51
mov rcx, qword [rsp + 0x280]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6a51
mov rcx, qword [rsp + 0x38]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x1800c6a61
mov dword [rsp + 0x290], 0xffffefe0
jmp 0x1800c6b73
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1800c6a85
mov dword [rsp + 0x290], 0xffffefe0
jmp 0x1800c6b73
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 3
mov edx, 0xa0000000
mov rcx, qword [rsp + 0x2b0]
call qword [rsp + 0x48]
mov qword [rsp + 0x288], rax
mov rcx, qword [rsp + 0x288]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x1800c6add
mov dword [rsp + 0x290], 0xffffefe0
jmp 0x1800c6b73
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x288]
call qword [rsp + MsiGetProductInfoW]
test eax, eax
jne 0x1800c6aff
mov dword [rsp + 0x290], 0xffffefe0
jmp 0x1800c6b73
mov edx, 1
mov rcx, qword [rsp + 0x288]
call qword [rsp + 0x30]
mov qword [rsp + 0x270], rax
mov rcx, qword [rsp + 0x270]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x1800c6b39
mov dword [rsp + 0x290], 0xffffefe0
jmp 0x1800c6b73
xor r9d, r9d
mov r8, qword [rsp + 0x2c0]
mov rdx, qword [rsp + 0x2b8]
mov rcx, qword [rsp + 0x270]
call qword [rsp + 0x38]
test eax, eax
jne 0x1800c6b69
mov dword [rsp + 0x290], 0xffffefe0
jmp 0x1800c6b73
xor eax, eax
test eax, eax
jne 0x1800c68f8
mov rcx, qword [rsp + 0x270]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6b96
mov rcx, qword [rsp + 0x270]
call qword [rsp + 0x280]
mov rcx, qword [rsp + 0x288]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6bb9
mov rcx, qword [rsp + 0x288]
call qword [rsp + 0x280]
mov rcx, qword [rsp + 0x278]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c6bdb
mov rcx, qword [rsp + 0x278]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x2a0
pop rdi
ret