Function at 0x4d2d78
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d300f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00466c8c
xor edx, edx
push ebp
push 0x4d2fda
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00467a8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.004668a4
lea eax, [ebp - 8]
push eax
call sub.shell32.dll_SHGetDesktopFolder
mov eax, dword [ebp - 4]
cmp byte [eax + 0x303], 0x18
jne 0x4d2e46
mov eax, dword [ebp - 4]
cmp dword [eax + 0x304], 0
jne 0x4d2e0a
mov eax, dword [ebp - 4]
cmp dword [eax + 0x328], 0
je 0x4d2e0a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
mov dword [ebp - 0x10], eax
jmp 0x4d2e7b
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0043b7b4
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x304]
mov edx, dword [ebp - 8]
call fcn.00478e10
test al, al
jne 0x4d2e7b
mov ecx, 0x4d3024
mov dl, 1
mov eax, dword [0x407a70]
call fcn.0040b29c
call fcn.0040378c
jmp 0x4d2e7b
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x303]
call fcn.00478ccc
push eax
mov eax, dword [ebp - 4]
call fcn.0043b7b4
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
mov eax, dword [0x5c1a5c]
mov eax, dword [eax]
mov ecx, 0x4d3058
mov edx, dword [ebp - 0x10]
call fcn.00479924
mov eax, dword [ebp - 4]
cmp byte [eax + 0x303], 0
jne 0x4d2e94
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00405b4c
jmp 0x4d2ead
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x5c19e4]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004c7e30
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
xor edx, edx
call fcn.004668f0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
xor edx, edx
call fcn.0047950c
mov edx, eax
mov eax, dword [ebp - 0x14]
call fcn.00465ab4
lea eax, [ebp - 0x10]
mov dl, 1
call fcn.0047950c
mov edx, eax
mov eax, dword [ebp - 0x14]
call reloc.kernel32.dll_GetDateFormatA
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x38], eax
push eax
call sub.shell32.dll_ILFindLastID
mov ebx, eax
mov eax, dword [0x5c1a5c]
mov eax, dword [eax]
mov ecx, 0x4d3080
mov edx, ebx
call fcn.00479988
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x14]
add eax, 0x30
mov edx, dword [ebp - 0xc]
call fcn.00405b4c
mov eax, dword [ebp - 0x14]
call fcn.004c7a50
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x2c], 0
je 0x4d2f82
mov eax, dword [ebp - 0x14]
add eax, 0x34
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x2c]
mov ecx, 1
mov eax, 0x4000000
call fcn.004791c0
test al, al
je 0x4d2f76
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
call fcn.004794c4
cmp dword [ebp - 0x1c], 0
jne 0x4d2f7a
xor eax, eax
jmp 0x4d2f7c
mov al, 1
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x29], al
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.00465ef4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x308], 0
je 0x4d2fa9
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x308]
mov eax, dword [ebp - 0x14]
call fcn.0046594c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2fe1
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x328], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00466cd8
xor edx, edx
mov eax, dword [ebp - 0x14]
call reloc.version.dll_GetFileVersionInfoA
ret