Function at 0x408841
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f370
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x498d50]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x498d50]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, ecx
push str.Cleanup...
lea ecx, [esp + 0x18]
call fcn.00402060
xor esi, esi
push esi
lea eax, [esp + 0x18]
push eax
push 2
mov dword [esp + 0x24c], esi
call fcn.00411fb7
or dword [esp + 0x24c], 0xffffffff
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, edi
call fcn.0040b732
cmp dword [edi + 0xbc], esi
jne 0x408bc5
lea esi, [edi + 0xd4]
call fcn.00432aed
lea eax, [esp + 0x14]
lea ebx, [edi + 0x5c4]
push eax
mov eax, ebx
call fcn.004051ac
mov esi, eax
mov dword [esp + 0x240], 1
call fcn.00432aed
or dword [esp + 0x240], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.004051e2
mov esi, eax
mov dword [esp + 0x240], 2
call fcn.00432aed
or dword [esp + 0x240], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.004051fd
mov esi, eax
mov dword [esp + 0x240], 3
call fcn.00432aed
or dword [esp + 0x240], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.00405218
mov esi, eax
mov dword [esp + 0x240], 4
call fcn.00432aed
or dword [esp + 0x240], 0xffffffff
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [edi + 0x4b0]
xor esi, esi
cmp eax, esi
je 0x408a34
lea esi, [eax + 8]
call fcn.00432aed
lea eax, [esp + 0x18]
push eax
mov eax, ebx
call fcn.004051c7
push 0x49d438
push eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x24c], 5
call fcn.00401d7a
add esp, 0xc
mov byte [esp + 0x240], 7
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
lea esi, [esp + 0x14]
call fcn.00432aed
push ecx
lea eax, [edi + 0xd8]
mov dword [esp + 0x20], esp
mov ecx, esp
push eax
call fcn.004020a4
call fcn.0043297f
or dword [esp + 0x244], 0xffffffff
pop ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
xor esi, esi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x24]
push eax
push esi
push esi
push 0x8023
push esi
call ebx
cmp eax, esi
jl 0x408ad2
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00402060
push 0x49d440
lea eax, [esp + 0x1c]
push str.AdobeARM_
push eax
mov dword [esp + 0x24c], 8
call fcn.00401dd1
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x244], 9
call fcn.00401e6a
mov byte [esp + 0x240], 8
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.004020a4
call fcn.0043297f
or dword [esp + 0x244], 0xffffffff
pop ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
push 0x104
lea eax, [esp + 0x28]
push esi
push eax
call fcn.004462a0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push esi
push esi
push 0x2b
push esi
call ebx
cmp eax, esi
jl 0x408b92
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call fcn.00402060
push str.AdobeARM1.0Temp
lea ecx, [esp + 0x20]
mov dword [esp + 0x244], 0xa
call fcn.00409023
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.004020a4
call fcn.0043297f
pop ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
call fcn.00402060
push str.AdobeARM1.0Backup
lea ecx, [esp + 0x24]
mov byte [esp + 0x244], 0xb
call fcn.00409023
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.004020a4
call fcn.0043297f
pop ecx
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040253e
or dword [esp + 0x240], 0xffffffff
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [edi + 0x5b8], esi
je 0x408bc5
add edi, 0x4b4
xor ebx, ebx
cmp dword [edi + 8], esi
jle 0x408bc5
push ebx
mov ecx, edi
call fcn.00409086
mov eax, dword [eax]
cmp eax, esi
je 0x408bbf
lea esi, [eax + 8]
call fcn.00432aed
xor esi, esi
inc ebx
cmp ebx, dword [edi + 8]
jl 0x408ba7
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0044546a
mov esp, ebp
pop ebp
ret