Function at 0x1800c7c90
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6d0
mov qword [rsp + 0x638], 0xfffffffffffffffe
mov rax, qword [0x180284030]
xor rax, rsp
mov qword [rsp + 0x6c0], rax
mov rcx, qword [rsp + 0x6e0]
call fcn.1800d0f90
movzx eax, al
test eax, eax
jne 0x1800c7d00
xor eax, eax
test eax, eax
jne 0x1800c7d00
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x19b
lea rdx, [0x180228868]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800c7d00
int3
lea rcx, str.Wimgapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x6e0]
mov qword [rcx + 0x218], rax
mov rax, qword [rsp + 0x6e0]
mov rcx, qword [rax + 0x218]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x1800c7d3e
xor al, al
jmp 0x1800c8210
lea rdx, str.WIMMountImage
mov rax, qword [rsp + 0x6e0]
mov rcx, qword [rax + 0x218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x6e0]
mov qword [rcx + 0x220], rax
lea rdx, str.WIMUnmountImage
mov rax, qword [rsp + 0x6e0]
mov rcx, qword [rax + 0x218]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x6e0]
mov qword [rcx + 0x228], rax
mov rax, qword [rsp + 0x6e0]
mov rcx, qword [rax + 0x220]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c7dca
mov rax, qword [rsp + 0x6e0]
mov rcx, qword [rax + 0x228]
call fcn.180001bf4
movzx eax, al
test eax, eax
jne 0x1800c7dd1
xor al, al
jmp 0x1800c8210
mov dword [rsp + 0x250], 0
lea rcx, [rsp + 0x470]
call fcn.180001997
nop
lea rdx, [rsp + 0x470]
lea rcx, [rsp + 0x250]
call fcn.1800c5ed0
test eax, eax
je 0x1800c7e34
xor eax, eax
test eax, eax
jne 0x1800c7e34
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x1b1
lea rdx, [0x1802288b8]
mov ecx, 2
call fcn.1800d5be0
cmp eax, 1
jne 0x1800c7e34
int3
lea rdx, [rsp + 0x4f0]
mov rcx, qword [rsp + 0x6e0]
call fcn.1800c8230
mov qword [rsp + 0x640], rax
mov rax, qword [rsp + 0x640]
mov qword [rsp + 0x648], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x78
mov rdx, qword [rsp + 0x648]
mov rcx, rax
call fcn.180001d6b
nop
lea rcx, [rsp + 0x4f0]
call fcn.18000165e
lea rdx, [0x1802288d0]
lea rcx, [rsp + 0x510]
call fcn.1800334a0
mov qword [rsp + 0x650], rax
mov rax, qword [rsp + 0x650]
mov qword [rsp + 0x658], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x78
mov r8, qword [rsp + 0x658]
mov rdx, rax
lea rcx, [rsp + 0x530]
call fcn.180033cc0
mov qword [rsp + 0x660], rax
mov rax, qword [rsp + 0x660]
mov qword [rsp + 0x668], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0xb8
mov rdx, qword [rsp + 0x668]
mov rcx, rax
call fcn.180001d6b
nop
lea rcx, [rsp + 0x530]
call fcn.18000165e
nop
lea rcx, [rsp + 0x510]
call fcn.18000165e
lea rdx, [0x180228900]
lea rcx, [rsp + 0x550]
call fcn.1800334a0
mov qword [rsp + 0x670], rax
mov rax, qword [rsp + 0x670]
mov qword [rsp + 0x678], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x78
mov r8, qword [rsp + 0x678]
mov rdx, rax
lea rcx, [rsp + 0x570]
call fcn.180033cc0
mov qword [rsp + 0x680], rax
mov rax, qword [rsp + 0x680]
mov qword [rsp + 0x688], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0xd8
mov rdx, qword [rsp + 0x688]
mov rcx, rax
call fcn.180001d6b
nop
lea rcx, [rsp + 0x570]
call fcn.18000165e
nop
lea rcx, [rsp + 0x550]
call fcn.18000165e
xor eax, eax
mov word [rsp + 0x40], ax
lea rax, [rsp + 0x42]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x590]
call fcn.1800334a0
mov qword [rsp + 0x690], rax
mov rax, qword [rsp + 0x690]
mov qword [rsp + 0x698], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x58
mov rdx, qword [rsp + 0x698]
mov rcx, rax
call fcn.180001d6b
nop
lea rcx, [rsp + 0x590]
call fcn.18000165e
lea rdx, str._reg.exe
lea rcx, [rsp + 0x5b0]
call fcn.1800334a0
mov qword [rsp + 0x6a0], rax
mov rax, qword [rsp + 0x6a0]
mov qword [rsp + 0x6a8], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0x58
mov r8, qword [rsp + 0x6a8]
mov rdx, rax
lea rcx, [rsp + 0x5d0]
call fcn.180033cc0
mov qword [rsp + 0x6b0], rax
mov rax, qword [rsp + 0x6b0]
mov qword [rsp + 0x6b8], rax
mov rax, qword [rsp + 0x6e0]
add rax, 0xf8
mov rdx, qword [rsp + 0x6b8]
mov rcx, rax
call fcn.180001d6b
nop
lea rcx, [rsp + 0x5d0]
call fcn.18000165e
nop
lea rcx, [rsp + 0x5b0]
call fcn.18000165e
xor eax, eax
mov word [rsp + 0x260], ax
lea rax, [rsp + 0x262]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x260]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x5c
lea rcx, [rsp + 0x260]
call fcn.1800d0f60
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.180001bf4
movzx eax, al
test eax, eax
je 0x1800c8152
xor eax, eax
mov rcx, qword [rsp + 0x30]
mov word [rcx], ax
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x5f0]
call fcn.1800334a0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 0x18
lea rdx, [rsp + 0x5f0]
mov rcx, rax
call fcn.180001d6b
nop
lea rcx, [rsp + 0x5f0]
call fcn.18000165e
xor eax, eax
mov word [rsp + 0x44], ax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x610]
call fcn.1800334a0
nop
mov rax, qword [rsp + 0x6e0]
add rax, 0x38
lea rdx, [rsp + 0x610]
mov rcx, rax
call fcn.180001d6b
nop
lea rcx, [rsp + 0x610]
call fcn.18000165e
mov rax, qword [rsp + 0x6e0]
mov rax, qword [rax]
lea rdx, [rsp + 0x470]
mov rcx, qword [rsp + 0x6e0]
call qword [rax + 0x20]
mov byte [rsp + 0x630], al
lea rcx, [rsp + 0x470]
call fcn.180001730
movzx eax, byte [rsp + 0x630]
mov rcx, qword [rsp + 0x6c0]
xor rcx, rsp
call fcn.1800d65d0
add rsp, 0x6d0
pop rdi
ret