Function at 0x4f7284
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
call fcn.00404ed0
xor eax, eax
push ebp
push 0x4f74ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.004027dc
push 0xff
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [ebp + 0xc]
call fcn.0041bcbc
mov dl, 1
mov eax, dword [0x418888]
call fcn.00403bbc
mov dword [ebp - 0x20], eax
mov dl, 1
mov eax, dword [0x418888]
call fcn.00403bbc
mov dword [ebp - 0x1c], eax
mov dl, 1
mov eax, dword [0x418888]
call fcn.00403bbc
mov dword [ebp - 0x24], eax
mov dl, 1
mov eax, dword [0x441474]
call fcn.00441574
mov dword [ebp - 0x10], eax
mov dl, 1
mov eax, dword [0x441474]
call fcn.00441574
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x441474]
call fcn.00441574
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4f74d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0x10]
call fcn.00441614
mov edx, ebx
mov eax, dword [ebp - 0x14]
call fcn.00441614
mov edx, ebx
mov eax, dword [ebp - 0x18]
call fcn.00441614
xor ecx, ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.0044167c
test al, al
je 0x4f749f
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.004419a0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
call fcn.004f6890
mov eax, dword [ebp - 0x24]
call fcn.004f6a74
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4f749f
inc esi
xor ebx, ebx
mov eax, dword [0x581040]
mov eax, dword [eax]
call fcn.0048d8b8
mov eax, dword [0x580cd8]
cmp byte [eax], 2
je 0x4f749f
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x30]
call fcn.00404d2c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.0046cef4
call fcn.0057b47c
lea ecx, [ebp - 0x2c]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
lea ecx, [ebp - 0x38]
mov edx, ebx
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x38]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0044167c
test al, al
je 0x4f7487
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00441ba8
dec eax
sub al, 2
jae 0x4f743b
lea ecx, [ebp - 0x28]
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00441bf8
cmp dword [ebp - 0x28], 0
je 0x4f7487
mov edx, dword [ebp - 0x28]
mov eax, 0x4f7518
call fcn.00405024
test eax, eax
jne 0x4f7487
mov eax, dword [0x580a04]
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
call fcn.0057a5b8
test al, al
je 0x4f7487
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f6c7c
mov eax, dword [ebp - 0x14]
call fcn.004415e4
mov eax, dword [ebp - 0x18]
call fcn.004415e4
inc ebx
dec esi
jne 0x4f73ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f74dc
mov eax, dword [ebp - 0x10]
call fcn.00403bec
mov eax, dword [ebp - 0x14]
call fcn.00403bec
mov eax, dword [ebp - 0x18]
call fcn.00403bec
mov eax, dword [ebp - 0x20]
call fcn.00403bec
mov eax, dword [ebp - 0x1c]
call fcn.00403bec
ret