Function at 0x47ceec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x47cef4
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47d25c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0043568c
mov edx, dword [ebp - 0x18]
mov eax, 0x47d270
call fcn.004042ac
cmp eax, 2
jne 0x47d08d
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0043568c
mov eax, dword [ebp - 0x1c]
call fcn.00478ee8
test al, al
jne 0x47cf4f
call fcn.0040bb30
jmp 0x47d21a
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0043568c
mov eax, dword [ebp - 0x20]
call fcn.0047b468
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x47cf75
call fcn.0040bb30
jmp 0x47d21a
xor eax, eax
push ebp
push 0x47d086
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5c1a5c]
mov eax, dword [eax]
mov ecx, 0x47d27c
mov edx, dword [ebp - 8]
call fcn.00479924
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x260]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_ILIsEqual
test eax, eax
je 0x47d03f
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0047d598
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x258]
call fcn.004040d0
jne 0x47cfe3
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x25c]
call fcn.00403dd8
jmp 0x47d012
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0047d598
cmp dword [ebp - 0x28], 0
je 0x47d001
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0047d598
jmp 0x47d012
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x25c]
call fcn.00403dd8
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0043568c
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
call fcn.004040d0
je 0x47d035
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004356bc
mov eax, dword [ebp - 4]
call fcn.0042cdb0
jmp 0x47d04a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047c390
mov eax, dword [ebp - 4]
cmp word [eax + 0x282], 0
je 0x47d069
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x284]
call dword [ebx + 0x280]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d21a
mov eax, dword [0x5c1a5c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.0047994c
ret
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0043568c
mov edx, dword [ebp - 0x30]
mov eax, 0x47d2a4
call fcn.004042ac
dec eax
jne 0x47d142
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0043568c
mov eax, dword [ebp - 0x34]
call fcn.0047b468
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x47d0d2
call fcn.0040bb30
jmp 0x47d21a
xor eax, eax
push ebp
push 0x47d13b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5c1a5c]
mov eax, dword [eax]
mov ecx, 0x47d27c
mov edx, dword [ebp - 8]
call fcn.00479924
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047c390
mov eax, dword [ebp - 4]
cmp word [eax + 0x282], 0
je 0x47d11e
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x284]
call dword [ebx + 0x280]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d21a
mov eax, dword [0x5c1a5c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.0047994c
ret
mov eax, dword [ebp - 4]
cmp byte [eax + 0x26c], 0
je 0x47d21a
mov byte [ebp - 9], 0
lea eax, [ebp - 8]
push eax
mov al, byte [ebp - 9]
call fcn.00478ccc
push eax
mov eax, dword [ebp - 4]
call fcn.0043b7b4
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
xor eax, eax
push ebp
push 0x47d206
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5c1a5c]
mov eax, dword [eax]
mov ecx, 0x47d27c
mov edx, dword [ebp - 8]
call fcn.00479924
lea edx, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.00479740
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0043568c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
call fcn.00408750
test eax, eax
jne 0x47d1e9
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047c390
mov eax, dword [ebp - 4]
cmp word [eax + 0x282], 0
je 0x47d1e2
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x284]
call dword [ebx + 0x280]
call fcn.0040382c
jmp 0x47d21a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d20d
mov eax, dword [0x5c1a5c]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.0047994c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d263
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00403d64
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00403d64
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00403d64
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403d64
ret