Function at 0x4c7080
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x57eab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xab0
push ebx
push esi
push edi
push 0x73768c
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], 0
call fcn.0055ae5f
mov eax, dword [0x733f14]
mov dword [esp + 0xac4], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov bl, 4
mov byte [esp + 0xac4], bl
call fcn.004f71b0
push eax
lea ecx, [esp + 0x28]
call fcn.0055af82
mov eax, dword [esp + 0x24]
push 0x73768c
push eax
call fcn.0053fb55
mov esi, dword [0x73639c]
add esp, 8
test eax, eax
je 0x4c729d
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Assessment_and_Deployment_KitDeployment_Tools_
call fcn.0055ae5f
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0xad0], 5
call fcn.0055ab58
lea eax, [esp + 0x18]
mov byte [esp + 0xacc], bl
push eax
call fcn.004f7b50
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xac8], 6
call fcn.0055af32
lea ecx, [esp + 0x10]
mov byte [esp + 0xac4], bl
call fcn.0055adeb
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.x86_
call fcn.0055ae5f
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xad0], 9
call fcn.0055ab58
lea eax, [esp + 0x18]
mov byte [esp + 0xacc], bl
push eax
call fcn.004f7b50
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xac8], 0xa
call fcn.0055af32
lea ecx, [esp + 0x10]
mov byte [esp + 0xac4], bl
call fcn.0055adeb
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DISM
call fcn.0055ae5f
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xad0], 0xb
call fcn.0055ab58
lea eax, [esp + 0x18]
mov byte [esp + 0xacc], bl
push eax
call fcn.004f7b50
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xac8], 0xc
call fcn.0055af32
lea ecx, [esp + 0x10]
mov byte [esp + 0xac4], bl
call fcn.0055adeb
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DISMdism.exe
call fcn.0055ae5f
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xad0], 0xd
call fcn.0055ab58
lea eax, [esp + 0x18]
mov byte [esp + 0xacc], bl
push eax
call fcn.004f7b50
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xac8], 0xe
call fcn.0055af32
lea ecx, [esp + 0x10]
mov byte [esp + 0xac4], bl
call fcn.0055adeb
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
cmp eax, 0xffffffff
jne 0x4c7470
mov word [esp + 0x27c], 0
call fcn.00570dc8
mov eax, dword [eax + 8]
lea edx, [esp + 0x27c]
push 0x400
push edx
push eax
call dword [0x7363dc]
cmp word [esp + 0x27c], 0
je 0x4c73c9
lea eax, [esp + 0x27c]
push 0x5c
push eax
call fcn.0053f4dd
add esp, 8
test eax, eax
je 0x4c72ee
mov word [eax + 2], 0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DISM
call fcn.0055ae5f
push ecx
lea edx, [esp + 0x284]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xad0], 0xf
call fcn.0055ae5f
lea eax, [esp + 0x18]
mov byte [esp + 0xacc], bl
push eax
call fcn.004f7b50
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xac8], 0x10
call fcn.0055af32
lea ecx, [esp + 0x10]
mov byte [esp + 0xac4], bl
call fcn.0055adeb
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DISMdism.exe
call fcn.0055ae5f
push ecx
lea edx, [esp + 0x284]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xad0], 0x11
call fcn.0055ae5f
lea eax, [esp + 0x18]
mov byte [esp + 0xacc], bl
push eax
call fcn.004f7b50
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xac8], 0x12
call fcn.0055af32
lea ecx, [esp + 0x10]
mov byte [esp + 0xac4], bl
call fcn.0055adeb
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
cmp eax, 0xffffffff
jne 0x4c7470
xor eax, eax
lea edx, [esp + 0x27c]
push eax
mov ecx, 0x210
lea edi, [esp + 0x280]
push 0x25
push edx
push eax
rep stosd dword es:[edi], eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x27c]
lea ecx, [esp + 0x14]
push eax
call fcn.0055af82
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.dism.exe
call fcn.0055ae5f
push ecx
lea edx, [esp + 0x284]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xad0], 0x13
call fcn.0055ae5f
lea eax, [esp + 0x18]
mov byte [esp + 0xacc], bl
push eax
call fcn.004f7b50
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xac8], 0x14
call fcn.0055af32
lea ecx, [esp + 0x10]
mov byte [esp + 0xac4], bl
call fcn.0055adeb
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
push ecx
push edx
call esi
cmp eax, 0xffffffff
je 0x4c7490
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
call fcn.0055af32
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x73644c]
mov esi, dword [esp + 0xacc]
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0055ab58
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0xac4], 3
call fcn.0055adeb
lea ecx, [esp + 0xc]
mov byte [esp + 0xac4], 2
call fcn.0055adeb
lea ecx, [esp + 0x24]
mov byte [esp + 0xac4], 1
call fcn.0055adeb
lea ecx, [esp + 0x20]
mov byte [esp + 0xac4], 0
call fcn.0055adeb
mov ecx, dword [esp + 0xabc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xabc
ret