Function at 0x470ec0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb62b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f4
push ebx
push esi
push edi
lea eax, [ebp - 0x200]
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004ab6e0
add esp, 4
lea ecx, [ebp - 0x180]
push ecx
call fcn.00401350
add esp, 4
lea edx, [ebp - 0x280]
mov dword [ebp - 0x18], edi
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x18]
push eax
push 0xc37110
call fcn.004c6f80
add esp, 8
lea ecx, [ebp - 0x160]
push 1
call fcn.004f0653
mov ecx, dword [0x4fe4e8]
mov byte [ebp - 4], 1
push ecx
push 8
push str.c:endpcacheprocess_log.txt
lea ecx, [ebp - 0x160]
call fcn.004f0727
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
cmp edi, eax
jge 0x47122f
lea ebx, [edi + edi*2]
shl ebx, 7
lea edx, [ebx + 0xc37190]
push edx
call fcn.004fa6c0
mov esi, eax
mov byte [ebp - 0x500], 0
push esi
call fcn.00415640
add esp, 8
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x180]
push eax
mov eax, dword [ebp - 0x18]
push esi
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x200]
push eax
push edx
call fcn.004fa6c0
add esp, 4
push eax
lea eax, [ebp - 0x500]
push 0x522bc0
push eax
call fcn.004f175f
mov eax, dword [0xe56db0]
add esp, 0x1c
test eax, eax
jne 0x47102c
mov eax, dword [0xe56dbc]
mov edx, dword [ebp + 0x1b4]
lea ecx, [ebp - 0x500]
test eax, eax
mov eax, dword [ebp + 0x1b0]
push ecx
push edx
push eax
jne 0x47100c
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404170
jmp 0x471023
sub esp, 0x1a8
mov ecx, 0x6a
lea esi, [ebp + 8]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.00404560
mov edi, dword [ebp - 0x14]
add esp, 0x1b4
mov edx, dword [0xe56d34]
mov ecx, dword [0xe56d24]
inc edx
inc ecx
mov dword [0xe56d24], ecx
lea ecx, [ebp - 0x500]
push ecx
lea ecx, [ebp - 0x154]
mov dword [0xe56d34], edx
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea esi, [ebx + 0xc37110]
lea edx, [ebp - 0x118]
push esi
push str._sImagePath
push edx
call fcn.004f175f
lea eax, [ebp - 0x118]
push eax
call fcn.004bc2e0
add esp, 0x10
lea ecx, [ebp - 0x118]
push esi
push str._sDescription
push ecx
call fcn.004f175f
lea edx, [ebp - 0x118]
push edx
call fcn.004bc2e0
add esp, 0x10
lea eax, [ebp - 0x118]
push esi
push str._sDisplayName
push eax
call fcn.004f175f
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bc2e0
add esp, 0x10
lea edx, [ebp - 0x118]
push esi
push str._sErrorControl
push edx
call fcn.004f175f
lea eax, [ebp - 0x118]
push eax
call fcn.004bc2e0
add esp, 0x10
lea ecx, [ebp - 0x118]
push esi
push str._sObjectName
push ecx
call fcn.004f175f
lea edx, [ebp - 0x118]
push edx
call fcn.004bc2e0
add esp, 0x10
lea eax, [ebp - 0x118]
push esi
push str._sStart
push eax
call fcn.004f175f
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bc2e0
add esp, 0x10
lea edx, [ebp - 0x118]
push esi
push str._sType
push edx
call fcn.004f175f
lea eax, [ebp - 0x118]
push eax
call fcn.004bc2e0
add esp, 0x10
push esi
lea ecx, [ebp - 0x118]
push str._sEnum0
push ecx
call fcn.004f175f
lea edx, [ebp - 0x118]
push edx
call fcn.004bc2e0
add esp, 0x10
lea eax, [ebp - 0x118]
push esi
push str._sEnumCount
push eax
call fcn.004f175f
lea ecx, [ebp - 0x118]
push ecx
call fcn.004bc2e0
add esp, 0x10
lea edx, [ebp - 0x118]
push esi
push str._sEnumNextInstance
push edx
call fcn.004f175f
lea eax, [ebp - 0x118]
push eax
call fcn.004bc2e0
add esp, 0x10
lea ecx, [ebp - 0x118]
push esi
push str._sSecuritySecurity
push ecx
call fcn.004f175f
lea edx, [ebp - 0x118]
push edx
call fcn.004bc2e0
add esp, 0x10
lea eax, [ebp - 0x118]
push esi
push str._sEnum
push eax
call fcn.004f175f
lea ecx, [ebp - 0x118]
push ecx
call fcn.004b3be0
add esp, 0x10
lea edx, [ebp - 0x118]
push esi
push str._sSecurity
push edx
call fcn.004f175f
lea eax, [ebp - 0x118]
push eax
call fcn.004b3be0
add esp, 0x10
push esi
call fcn.004c0ed0
add esp, 4
inc edi
jmp 0x470f57
lea ecx, [ebp - 0x160]
call fcn.004f076e
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x14c]
call fcn.004f05fb
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret