Function at 0x42e452
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b8
mov eax, dword [0x6ffe74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x12
mov ebx, ecx
mov eax, dword [ebp + 8]
pop ecx
mov esi, str.JDownloader_2.0cfgorg.jdownloader.settings.AccountSettings.accounts.ejs
mov dword [ebp - 0x8b8], eax
lea edi, [ebp - 0x98]
mov byte [ebp - 0x8b4], 0
rep movsd dword es:[edi], dword [esi]
push 0x12
pop ecx
push 0x11
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x8b3]
mov esi, str.JDownloader_v2.0cfgorg.jdownloader.settings.AccountSettings.accounts.ejs
lea edi, [ebp - 0xe4]
rep movsd dword es:[edi], dword [esi]
pop ecx
push 0x3e7
push 0
movsw word es:[edi], word [esi]
push eax
movsb byte es:[edi], byte [esi]
mov esi, str.JDownloadercfgorg.jdownloader.settings.AccountSettings.accounts.ejs
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.006390b0
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x8b4]
add esp, 0xc
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call esi
mov edi, 0x3e8
test eax, eax
jne 0x42e586
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8b4]
push eax
push 0x6c643c
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
jne 0x42e6eb
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x8b4]
push eax
push 0x6c643c
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
jne 0x42e6eb
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x8b4]
push eax
push 0x6c643c
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
jne 0x42e6eb
xor ecx, ecx
lea eax, [ebp - 0x8b4]
push eax
push ecx
push ecx
push 0x26
push ecx
mov byte [ebp - 0x8b4], cl
call esi
mov esi, 0x6c643c
test eax, eax
jne 0x42e63c
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8b4]
push eax
push esi
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
jne 0x42e6eb
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x8b4]
push eax
push esi
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
jne 0x42e6eb
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x8b4]
push eax
push esi
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
jne 0x42e6eb
cmp dword [ebx + 0x5b87c], 0
je 0x42e706
lea eax, [ebp - 0x8b4]
push 0x20
push eax
call fcn.00639770
pop ecx
pop ecx
test eax, eax
je 0x42e706
mov byte [eax], 0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8b4]
push eax
push esi
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
jne 0x42e6eb
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x8b4]
push eax
push esi
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
jne 0x42e6eb
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x8b4]
push eax
push esi
lea eax, [ebp - 0x4cc]
push edi
push eax
call fcn.00402e0a
add esp, 0x14
lea ecx, [ebp - 0x4cc]
call fcn.00405670
test eax, eax
je 0x42e706
lea eax, [ebp - 0x4cc]
push eax
push edi
push dword [ebp - 0x8b8]
call fcn.006494f3
xor eax, eax
add esp, 0xc
inc eax
jmp 0x42e708
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006122f0
leave
ret 8