Function at 0x418bbd
Capabilities:
Get common file path

Disassembly:
push 0xc20
mov eax, 0x659bde
call fcn.005fe9c8
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x28]
push 6
pop ecx
mov esi, str.BitCometdownloads.xml
mov dword [ebp - 0xbe4], eax
rep movsd dword es:[edi], dword [esi]
mov esi, 0x3e7
lea eax, [ebp - 0xbdf]
xor ebx, ebx
push esi
push ebx
push eax
mov byte [ebp - 0xbe0], bl
call fcn.00626f50
push esi
lea eax, [ebp - 0x40f]
mov byte [ebp - 0x410], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x7f7]
mov byte [ebp - 0x7f8], bl
push ebx
push eax
call fcn.00626f50
mov esi, dword [ebp - 0xbe4]
push esi
call fcn.00631510
add esp, 0x28
cmp eax, 1
jae 0x418c93
lea eax, [ebp - 0x7f8]
push eax
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x418c61
push str._n_Failed_to_get_current_users_appdata_folder
call fcn.00449974
pop ecx
xor eax, eax
jmp 0x418e36
push str.BitComet
lea eax, [ebp - 0x7f8]
mov edi, 0x66ea84
push eax
push edi
mov esi, 0x3e8
lea eax, [ebp - 0xbe0]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
lea eax, [ebp - 0x7f8]
lea ecx, [ebp - 0x28]
jmp 0x418cb9
push esi
mov esi, 0x3e8
lea eax, [ebp - 0xbe0]
push esi
push eax
call fcn.006311ec
mov eax, dword [ebp - 0xbe4]
add esp, 0xc
mov edi, 0x66c218
mov ecx, str.downloads.xml
push ecx
push eax
push edi
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x410]
mov edi, str.PerformBitCometPasswordRecovery
push eax
push edi
push str._s_Final_BitComet_pass_file_path_is__s
call fcn.00449974
lea eax, [ebp - 0x410]
push eax
call fcn.00449791
add esp, 0x24
test eax, eax
jne 0x418d14
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
push edi
push str._s_BitComet_pass_file_path__s_does_not_exist__Error0x_.8x
call fcn.00449974
add esp, 0x10
jmp 0x418c5a
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0xc2c]
call fcn.00600bf0
push ebx
lea ecx, [ebp - 0xc2c]
mov dword [ebp - 4], ebx
call fcn.00601d30
test al, al
jne 0x418d53
lea eax, [ebp - 0x410]
push eax
push edi
push str._s___Failed_to_load_the_bitcomet_download_file____s
call fcn.00449974
add esp, 0xc
jmp 0x418e29
push 0x66e8a0
lea ecx, [ebp - 0xc2c]
call fcn.00601a80
test eax, eax
jne 0x418d77
push edi
push str._s____Invalid_Bitcomet_download_File.__Root_element__BitComet_...__not_found.
call fcn.00449974
jmp 0x418e27
push str.Torrents
mov ecx, eax
call fcn.00601a80
mov esi, eax
test esi, esi
jne 0x418d91
push edi
push str._s____Invalid_Bitcomet_download_File.__Root_element__Torrents_...__not_found.
jmp 0x418d6d
lea eax, [ebp - 0x410]
push eax
push edi
push str._s___Initial_verification_completed__now_parsing_thru_the_Downloads_file...__s
call fcn.00449974
add esp, 0xc
mov ecx, esi
push str.Download
call fcn.00601a80
mov esi, eax
test esi, esi
je 0x418e0e
push str.OriginalUrl
mov ecx, esi
call fcn.006012b0
push str.DetailFile
mov ecx, esi
mov ebx, eax
call fcn.006012b0
mov edi, eax
push ebx
push edi
push str.Found_Item___s______s_
call fcn.00449974
add esp, 0xc
test ebx, ebx
je 0x418dfc
test edi, edi
je 0x418dfc
push ebx
lea eax, [ebp - 0xbe0]
push edi
push eax
call fcn.0040f858
add esp, 0xc
mov ecx, esi
call fcn.00601dd0
mov esi, eax
test esi, esi
jne 0x418db8
mov edi, str.PerformBitCometPasswordRecovery
lea ecx, [ebp - 0xc2c]
call fcn.006012e0
push edi
push str._s__Finished_parsing_thru_Bitcomet_Download_file....
call fcn.00449974
xor ebx, ebx
inc ebx
pop ecx
pop ecx
lea ecx, [ebp - 0xc2c]
call fcn.00404392
mov eax, ebx
call fcn.005fe977
ret