Function at 0x440bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x61c0
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
mov esi, 0x3e7
mov dword [ebp - 0x61c0], eax
push esi
push eax
mov byte [ebp - 0x3fc], al
lea eax, [ebp - 0x3fb]
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x7e3]
mov byte [ebp - 0x7e4], 0
push 0
push eax
call fcn.00626f50
mov esi, str.XfireUser.ini
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, str.RecoverXfirePasswords
push esi
push str._s_entered
call fcn.00449974
push ebx
call fcn.00631510
add esp, 0x24
cmp eax, 1
jae 0x440c66
lea eax, [ebp - 0x7e4]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x440c59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x440e9d
mov eax, str._sXfire_s
lea ebx, [ebp - 0x7e4]
jmp 0x440c6b
mov eax, 0x66c218
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
mov ebx, 0x3e8
lea eax, [ebp - 0x3fc]
push ebx
push eax
call fcn.00445d6d
lea eax, [ebp - 0x3fc]
push eax
push esi
push str._s_Final_setting_file__s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x61c0]
push eax
call fcn.00632119
add esp, 0x2c
test eax, eax
jne 0x440e90
cmp dword [ebp - 0x61c0], eax
je 0x440e90
lea eax, [ebp - 0x3fc]
push eax
push esi
push str._s_successfully_opened_file__s
call fcn.00449974
push dword [ebp - 0x61c0]
mov edi, 0x2710
lea eax, [ebp - 0x3aac]
push edi
push eax
call fcn.00631f4f
add esp, 0x18
jmp 0x440e77
lea eax, [ebp - 0x3aac]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x440d25
lea eax, [ebp - 0x3aac]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, edi
jae 0x440eb6
mov byte [ebp + eax - 0x3aac], 0
lea eax, [ebp - 0x3aac]
push eax
lea eax, [ebp - 0x61bc]
push edi
push eax
call fcn.006311ec
lea eax, [ebp - 0x61bc]
push edi
push eax
call fcn.00631711
lea eax, [ebp - 0x61bc]
push str.encrypteduser
push eax
call fcn.00627320
add esp, 0x1c
test eax, eax
je 0x440dae
lea eax, [ebp - 0x3aac]
push eax
push esi
push str._s___Founder_new_username__s
call fcn.00449974
lea eax, [ebp - 0x3aac]
push 0x3d
push eax
call fcn.006270b0
add esp, 0x14
test eax, eax
je 0x440dae
push ebx
lea ecx, [ebp - 0xfb4]
inc eax
push ecx
push eax
call fcn.0040f06c
lea eax, [ebp - 0xfb4]
push eax
push esi
push str._s___Decrypted_username__s
call fcn.00449974
add esp, 0x18
jmp 0x440e61
lea eax, [ebp - 0x61bc]
push 0x679ef4
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x440e61
lea eax, [ebp - 0x3aac]
push eax
push esi
push str._s___Founder_new_password__s
call fcn.00449974
lea eax, [ebp - 0x3aac]
push 0x3d
push eax
call fcn.006270b0
add esp, 0x14
test eax, eax
je 0x440e61
push ebx
lea ecx, [ebp - 0xbcc]
inc eax
push ecx
push eax
call fcn.0040f06c
lea eax, [ebp - 0xbcc]
push eax
push esi
push str._s___Decrypted_password__s
call fcn.00449974
lea eax, [ebp - 0xbcc]
push eax
call fcn.00631510
add esp, 0x1c
test eax, eax
je 0x440e61
lea eax, [ebp - 0xbcc]
push eax
push str._SHA1_Hash___s
lea eax, [ebp - 0x139c]
push ebx
push eax
call fcn.00445d6d
push 0xffffffffffffffff
mov ecx, 0x66ae5d
lea eax, [ebp - 0x139c]
push ecx
push eax
lea eax, [ebp - 0xfb4]
push eax
push ecx
push ecx
push 0x79
push 3
call fcn.00412c85
add esp, 0x30
push dword [ebp - 0x61c0]
lea eax, [ebp - 0x3aac]
push edi
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x440cf6
push dword [ebp - 0x61c0]
call fcn.00637603
xor eax, eax
pop ecx
inc eax
jmp 0x440ea7
lea eax, [ebp - 0x3fc]
push eax
push esi
push str._s_Unable_to_open_xfire_password_file_:__s
call fcn.00449974
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret
call fcn.005fe87a
int3