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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8b4
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x12
pop ecx
mov esi, str.JDownloader_2.0cfgorg.jdownloader.settings.AccountSettings.accounts.ejs
mov ebx, dword [ebp + 8]
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.00626f50
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [ebp - 0x8b4]
add esp, 0xc
push eax
push 0
push 0
push 0x1c
push 0
call esi
mov edi, 0x66c218
test eax, eax
jne 0x4115fb
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
jne 0x411731
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
jne 0x411791
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
jne 0x4117d0
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, 0x3e8
test eax, eax
jne 0x4116b4
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
jne 0x411731
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
jne 0x411791
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
jne 0x4117d0
cmp dword [0x716864], 0
je 0x4117e6
push str.GetJDownloaderAccountFile
push str._s_We_are_on_64_bit_path...getting_another_path
call fcn.00449974
lea eax, [ebp - 0x8b4]
push 0x20
push eax
call fcn.006271e0
add esp, 0x10
test eax, eax
je 0x4117e6
mov byte [eax], 0
lea eax, [ebp - 0x8b4]
push eax
push str.GetJDownloaderAccountFile
push str._s__Final_Program_files_path_is__s
call fcn.00449974
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x24
test eax, eax
je 0x411762
lea eax, [ebp - 0x4cc]
push eax
push str.GetJDownloaderAccountFile
push str._s_Found_JDownloader_account_file__s
call fcn.00449974
lea eax, [ebp - 0x4cc]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.006311ec
xor eax, eax
add esp, 0x18
inc eax
jmp 0x4117e8
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
je 0x4117a4
lea eax, [ebp - 0x4cc]
push eax
push str.GetJDownloaderAccountFile
push str._s_Found_JDownloader_2nd_account_file__s
jmp 0x411742
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x8b4]
push eax
push edi
lea eax, [ebp - 0x4cc]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x4cc]
push eax
call fcn.00449791
add esp, 0x18
test eax, eax
je 0x4117e6
lea eax, [ebp - 0x4cc]
push eax
push str.GetJDownloaderAccountFile
push str._s_Found_JDownloader_3rd_account_file__s
jmp 0x411742
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret