Function at 0x48ff44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x48ff4d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49038b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0044882c
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x129]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x129]
call fcn.00408e58
mov eax, dword [ebp - 0xc]
call fcn.00403f20
mov dl, 1
mov eax, dword [0x41591c]
call fcn.0040311c
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 0x18]
call fcn.004081e8
mov edx, dword [ebp - 0x130]
mov ecx, 0x4903a4
mov eax, dword [ebp - 4]
call fcn.004903e8
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
lea eax, [ebp - 0x14]
call fcn.00403f20
dec ebx
test ebx, ebx
jl 0x4900f1
inc ebx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x138]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x138]
lea ecx, [ebp - 0x134]
mov eax, dword [ebp - 4]
call fcn.004906bc
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x14]
call fcn.004081e8
cmp dword [ebp - 0x14], 0
je 0x4900e7
lea eax, [ebp - 0x13c]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004041e0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404440
mov eax, dword [ebp - 0x13c]
mov edx, 0x4903b4
call fcn.0040432c
je 0x49007e
lea eax, [ebp - 0x14]
mov edx, 0x4903b4
call fcn.004041e8
lea eax, [ebp - 0x140]
mov ecx, 0x4903c0
mov edx, dword [ebp - 0x14]
call fcn.0040422c
mov eax, dword [ebp - 0x140]
call fcn.00408958
test al, al
je 0x4900e7
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x4903d8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.004042a0
lea eax, [ebp - 0x144]
mov ecx, dword [ebp - 0x14]
mov edx, 0x4903e4
call fcn.0040422c
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov ecx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xd4]
inc dword [ebp - 0x24]
dec ebx
jne 0x490005
mov eax, esi
call fcn.0040314c
mov dl, 1
mov eax, dword [0x41591c]
call fcn.0040311c
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004907d0
mov ecx, 0x4903a4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004903e8
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
lea eax, [ebp - 0x14]
call fcn.00403f20
dec ebx
test ebx, ebx
jl 0x490225
inc ebx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x14c]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004906bc
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x14]
call fcn.004081e8
cmp dword [ebp - 0x14], 0
je 0x49021b
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004041e0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404440
mov eax, dword [ebp - 0x150]
mov edx, 0x4903b4
call fcn.0040432c
je 0x4901c8
lea eax, [ebp - 0x14]
mov edx, 0x4903b4
call fcn.004041e8
lea eax, [ebp - 0x154]
mov ecx, 0x4903c0
mov edx, dword [ebp - 0x14]
call fcn.0040422c
mov eax, dword [ebp - 0x154]
call fcn.00408958
test al, al
je 0x49021b
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x4903d8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.004042a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xd4]
inc dword [ebp - 0x24]
dec ebx
jne 0x49014f
mov eax, esi
call fcn.0040314c
mov dl, 1
mov eax, dword [0x41591c]
call fcn.0040311c
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004908f8
mov ecx, 0x4903a4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004903e8
mov esi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
lea eax, [ebp - 0x14]
call fcn.00403f20
dec ebx
test ebx, ebx
jl 0x490359
inc ebx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x15c]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
mov eax, dword [ebp - 4]
call fcn.004906bc
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x14]
call fcn.004081e8
cmp dword [ebp - 0x14], 0
je 0x49034f
lea eax, [ebp - 0x160]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004041e0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404440
mov eax, dword [ebp - 0x160]
mov edx, 0x4903b4
call fcn.0040432c
je 0x4902fc
lea eax, [ebp - 0x14]
mov edx, 0x4903b4
call fcn.004041e8
lea eax, [ebp - 0x164]
mov ecx, 0x4903c0
mov edx, dword [ebp - 0x14]
call fcn.0040422c
mov eax, dword [ebp - 0x164]
call fcn.00408958
test al, al
je 0x49034f
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x4903d8
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.004042a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x31c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xd4]
inc dword [ebp - 0x24]
dec ebx
jne 0x490283
mov eax, esi
call fcn.0040314c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490392
lea eax, [ebp - 0x164]
mov edx, 0xe
call fcn.00403f44
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00403f44
ret