Function at 0x47e0d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004044dc
lea eax, [ebp - 8]
call fcn.004049c4
mov eax, dword [ebp - 0xc]
call fcn.004044dc
xor eax, eax
push ebp
push 0x47e32a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47e2b7
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x483880]
call fcn.004766a8
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x47e338
call fcn.004059ac
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x47e348
call fcn.004059ac
mov eax, dword [ebp - 4]
call fcn.004044ec
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x130]
mov eax, dword [ebp - 4]
call fcn.00408b04
mov eax, dword [ebp - 0x130]
call fcn.004044ec
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
lea eax, [ebp - 0x1c]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x129]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
cmp dword [ebp - 0xc], 0
jne 0x47e1f4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x129]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 6
lea edx, [ebp - 0x138]
xor ecx, ecx
mov eax, 0x47e360
call fcn.0040934c
jmp 0x47e23b
lea eax, [ebp - 0x24]
push eax
push 0x47e360
push dword [ebp - 0xc]
push 0x47e36c
lea eax, [ebp - 0x13c]
mov edx, 3
call fcn.004043ac
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x129]
mov dword [ebp - 0x138], edx
mov byte [ebp - 0x134], 6
lea edx, [ebp - 0x138]
xor ecx, ecx
call fcn.0040934c
mov eax, dword [ebp - 0x24]
call fcn.004088e4
test al, al
jne 0x47e24f
mov eax, dword [ebp - 0x24]
call fcn.00408908
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x150], eax
mov byte [ebp - 0x14c], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x144], 0xf
lea edx, [ebp - 0x150]
mov ecx, 1
mov eax, 0x47e378
call fcn.0040934c
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 0x20]
call fcn.00404884
push 0
mov eax, dword [ebp - 0x20]
call fcn.00404894
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e2c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e331
lea eax, [ebp - 0x140]
mov edx, 2
call fcn.00404050
lea eax, [ebp - 0x130]
call fcn.0040402c
lea eax, [ebp - 0x24]
call fcn.0040402c
lea eax, [ebp - 0x20]
call fcn.00404738
lea eax, [ebp - 0x18]
call fcn.00405968
lea eax, [ebp - 0x14]
call fcn.00405968
lea eax, [ebp - 0x10]
call fcn.00405968
lea eax, [ebp - 0xc]
call fcn.0040402c
lea eax, [ebp - 8]
call fcn.00404738
lea eax, [ebp - 4]
call fcn.0040402c
ret