Function at 0x4d4154
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d4558
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
xor edx, edx
call fcn.00433384
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x384]
xor edx, edx
call fcn.00433384
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x370]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x354]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x37c]
call fcn.004033fc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x37c], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x398]
call fcn.004033fc
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x398], edx
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3e0]
mov eax, dword [ebx + 0x40]
cmp eax, 1
je 0x4d4226
test eax, eax
jne 0x4d4332
mov edx, dword [ebx + 0x14]
lea eax, [ebp - 0x11c]
mov ecx, 0x4d4570
call fcn.004045bc
mov eax, dword [ebp - 0x11c]
call fcn.004095fc
test al, al
je 0x4d4332
lea edx, [ebp - 0x10]
mov eax, dword [0x49b0dc]
call fcn.0049b22c
cmp dword [ebp - 0x10], 0
jne 0x4d42a9
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0044a780
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x115]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x115]
call fcn.00409b1c
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0xc]
mov ecx, 0x4d4590
call fcn.004045bc
jmp 0x4d42b9
lea eax, [ebp - 0xc]
mov ecx, 0x4d4590
mov edx, dword [ebp - 0x10]
call fcn.004045bc
mov eax, dword [ebp - 0xc]
call fcn.004095fc
test al, al
je 0x4d42ef
xor eax, eax
push ebp
push 0x4d42e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00409718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d42ef
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x4d45a8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x124]
mov ecx, 0x4d4570
call fcn.004045bc
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [eax + 0x14]
mov eax, dword [0x49b0dc]
call fcn.0049bc00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
cmp dword [eax + 0x40], 0
je 0x4d4423
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
mov dl, 1
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
call fcn.00443fc8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
mov eax, dword [eax + 0x68]
mov edx, 0xc
call fcn.00425908
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
mov dl, 1
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
mov dl, 1
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
cmp dword [eax + 0x40], 4
jne 0x4d43de
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
call fcn.00443708
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
cmp dword [eax + 0x40], 5
jne 0x4d4493
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
xor edx, edx
call fcn.00443eb8
jmp 0x4d4493
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c0]
mov dl, 1
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d0]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x36c]
mov dl, 1
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3d4]
xor edx, edx
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
mov dl, 1
call fcn.00443eb8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3f4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov eax, dword [eax + 0x68]
call fcn.00425668
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x68]
call fcn.00425928
mov dl, byte [0x4d45b4]
not edx
and dl, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
mov eax, dword [eax + 0x68]
call fcn.00425934
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3fc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x68]
call fcn.00425668
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov eax, dword [eax + 0x68]
call fcn.00425928
mov edx, eax
or dl, byte [0x4d45b4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x330]
mov eax, dword [eax + 0x68]
call fcn.00425934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d455f
lea eax, [ebp - 0x124]
mov edx, 3
call fcn.004042d4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004042d4
ret