Function at 0x6e11e4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x4d
push 0
push 0
dec ecx
jne 0x6e11ed
push ecx
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 0x6e15b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, 0x2a
call fcn.006e114c
lea edx, [ebp - 0x2c]
mov eax, 0x1a
call fcn.006e114c
mov edx, 0x6fcd38
xor eax, eax
call fcn.006e114c
lea eax, [ebp - 0x38]
call fcn.00408eec
cmp dword [ebp - 0xc], 0
je 0x6e1327
push 0xff00
push dword [ebp - 0x2c]
push 0x6e15cc
push dword [ebp - 4]
push 0x6e15dc
lea eax, [ebp - 0x25c]
mov edx, 4
call fcn.00409fac
mov ecx, dword [ebp - 0x25c]
mov dl, 1
mov eax, dword [0x47b3d8]
call fcn.0049bb10
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6dc8a4]
call fcn.00682ed8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x148], 1
mov edx, 0xbb8
mov eax, dword [ebp - 0x30]
call fcn.006a7904
xor eax, eax
push ebp
push 0x6e12ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
call fcn.006dd29c
push dword [ebp - 0x2c]
push 0x6e15f4
push dword [ebp - 4]
push 0x6e1604
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00409fac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6e1301
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
call fcn.004072c8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x4c]
call fcn.004072c8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.00409314
lea edx, [ebp - 0x10]
mov eax, dword [0x6fd4d4]
call fcn.004e89f0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x6e1610
call fcn.0040c9c4
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x6e1620
call fcn.0040c9c4
mov eax, dword [ebp - 0x20]
call fcn.00409cb8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov eax, dword [ebp - 0x20]
call fcn.00409cb8
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
mov eax, dword [ebp - 4]
call fcn.00409cb8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
cmp dword [ebp - 0x38], 0
jne 0x6e14e5
mov dl, 1
mov eax, dword [0x4c6f50]
call fcn.004c84fc
mov dword [ebp - 0x3c], eax
mov edx, 0x80000000
mov eax, dword [ebp - 0x3c]
call fcn.004c85e4
xor ecx, ecx
mov edx, 0x6e163c
mov eax, dword [ebp - 0x3c]
call fcn.004c864c
test al, al
je 0x6e13e8
lea ecx, [ebp - 0x40]
xor edx, edx
mov eax, dword [ebp - 0x3c]
call fcn.004c8ce0
mov eax, dword [ebp - 0x3c]
call fcn.004c85b4
mov eax, dword [ebp - 0x3c]
call fcn.004072c8
cmp dword [ebp - 0x40], 0
je 0x6e14b9
mov dl, 1
mov eax, dword [0x478548]
call fcn.0049b2c0
mov dword [ebp - 0x44], eax
mov dx, 0x2c
mov eax, dword [ebp - 0x44]
call fcn.0049a8d0
mov dl, 1
mov eax, dword [ebp - 0x44]
call fcn.0049a984
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
call fcn.0049a644
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jne 0x6e1485
lea ecx, [ebp - 0x260]
mov edx, 1
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x260]
call fcn.00420474
push eax
lea ecx, [ebp - 0x264]
xor edx, edx
mov eax, dword [ebp - 0x44]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x264]
call fcn.00409cb8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
jmp 0x6e14af
push 1
lea eax, [ebp - 0x268]
mov ecx, 0x6e166c
mov edx, dword [ebp - 0x28]
call fcn.00409f24
mov eax, dword [ebp - 0x268]
call fcn.00409cb8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
mov eax, dword [ebp - 0x44]
call fcn.004072c8
jmp 0x6e14f9
push 1
lea eax, [ebp - 0x26c]
mov ecx, 0x6e16b8
mov edx, dword [ebp - 0x28]
call fcn.00409f24
mov eax, dword [ebp - 0x26c]
call fcn.00409cb8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
jmp 0x6e14f9
push 0
mov eax, dword [ebp - 0x38]
call fcn.00409cb8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
lea eax, [ebp - 0x256]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
push dword [0x6fcd38]
push 0x6e1704
push dword [ebp - 4]
push 0x6e1714
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.00409fac
mov edx, dword [ebp - 0x270]
lea eax, [ebp - 0x24]
call fcn.00409dc4
push 0
mov eax, dword [ebp - 0x24]
call fcn.00409b28
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
push 0x6e15b8
lea eax, [ebp - 0x270]
mov edx, 6
call fcn.00408f4c
lea eax, [ebp - 0x40]
call fcn.00408eec
lea eax, [ebp - 0x38]
call fcn.00408eec
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00408f4c
lea eax, [ebp - 0x24]
call fcn.00408f34
lea eax, [ebp - 0x20]
call fcn.00408eec
lea eax, [ebp - 0x18]
call fcn.0040c980
lea eax, [ebp - 0x14]
call fcn.0040c980
lea eax, [ebp - 0x10]
call fcn.0040c980
ret