Function at 0x47bfcc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2c
push 0
push 0
dec ecx
jne 0x47bfd5
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 0x47c413
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00447d10
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.00408e04
mov eax, dword [ebp - 0xc]
call fcn.00403f20
mov dl, 1
mov eax, dword [0x4158b0]
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.00408194
mov edx, dword [ebp - 0x130]
mov ecx, 0x47c42c
mov eax, dword [ebp - 4]
call fcn.0047c470
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 0x47c179
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.0047c744
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x14]
call fcn.00408194
cmp dword [ebp - 0x14], 0
je 0x47c16f
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, 0x47c43c
call fcn.0040432c
je 0x47c106
lea eax, [ebp - 0x14]
mov edx, 0x47c43c
call fcn.004041e8
lea eax, [ebp - 0x140]
mov ecx, 0x47c448
mov edx, dword [ebp - 0x14]
call fcn.0040422c
mov eax, dword [ebp - 0x140]
call fcn.00408904
test al, al
je 0x47c16f
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x47c460
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, 0x47c46c
call fcn.0040422c
mov edx, dword [ebp - 0x144]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov ecx, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xd4]
inc dword [ebp - 0x24]
dec ebx
jne 0x47c08d
mov eax, esi
call fcn.0040314c
mov dl, 1
mov eax, dword [0x4158b0]
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.0047c858
mov ecx, 0x47c42c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0047c470
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 0x47c2ad
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.0047c744
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x14]
call fcn.00408194
cmp dword [ebp - 0x14], 0
je 0x47c2a3
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, 0x47c43c
call fcn.0040432c
je 0x47c250
lea eax, [ebp - 0x14]
mov edx, 0x47c43c
call fcn.004041e8
lea eax, [ebp - 0x154]
mov ecx, 0x47c448
mov edx, dword [ebp - 0x14]
call fcn.0040422c
mov eax, dword [ebp - 0x154]
call fcn.00408904
test al, al
je 0x47c2a3
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x47c460
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.004042a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
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 0x47c1d7
mov eax, esi
call fcn.0040314c
mov dl, 1
mov eax, dword [0x4158b0]
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.0047c980
mov ecx, 0x47c42c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0047c470
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 0x47c3e1
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.0047c744
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x14]
call fcn.00408194
cmp dword [ebp - 0x14], 0
je 0x47c3d7
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, 0x47c43c
call fcn.0040432c
je 0x47c384
lea eax, [ebp - 0x14]
mov edx, 0x47c43c
call fcn.004041e8
lea eax, [ebp - 0x164]
mov ecx, 0x47c448
mov edx, dword [ebp - 0x14]
call fcn.0040422c
mov eax, dword [ebp - 0x164]
call fcn.00408904
test al, al
je 0x47c3d7
mov eax, dword [ebp - 0xc]
push dword [eax]
push 0x47c460
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.004042a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
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 0x47c30b
mov eax, esi
call fcn.0040314c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c41a
lea eax, [ebp - 0x164]
mov edx, 0xe
call fcn.00403f44
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00403f44
ret