Function at 0x41e86f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4668
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 - 0x1b6b]
push esi
push edi
mov esi, 0x3e7
mov byte [ebp - 0x1b6c], 0
push esi
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x1f53]
mov byte [ebp - 0x1f54], 0
push 0
push eax
call fcn.00626f50
mov esi, str.32BitFtp.ini
lea edi, [ebp - 0x14]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.00631510
add esp, 0x1c
mov esi, 0x3e8
cmp eax, 1
jae 0x41e90a
push esi
lea eax, [ebp - 0x1f54]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x41e904
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Recover32bitFTPPasswords
push str._s_Failed_to_find_Windows_path__Error0x_.8x
jmp 0x41ed9e
lea ebx, [ebp - 0x1f54]
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x66c218
lea eax, [ebp - 0x1b6c]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x1b6c]
push eax
push str._n_Final_FTP_settings_file_is____s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x1b6c]
xor ebx, ebx
push eax
lea eax, [ebp - 0x4668]
mov dword [ebp - 0x4668], ebx
push eax
call fcn.00632119
add esp, 0x28
test eax, eax
jne 0x41ed8d
cmp dword [ebp - 0x4668], ebx
je 0x41ed8d
mov edi, 0x3e7
mov byte [ebp - 0xbcc], bl
push edi
lea eax, [ebp - 0xbcb]
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x1783]
mov byte [ebp - 0x1784], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0xfb3]
mov byte [ebp - 0xfb4], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x7e3]
mov byte [ebp - 0x7e4], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x3fb]
mov byte [ebp - 0x3fc], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x139b]
mov byte [ebp - 0x139c], bl
push ebx
push eax
call fcn.00626f50
add esp, 0x48
lea eax, [ebp - 0x4664]
push dword [ebp - 0x4668]
push 0x2710
push eax
call fcn.00631f4f
mov edi, 0x66ae5d
jmp 0x41eceb
lea eax, [ebp - 0x4664]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41ea3b
lea eax, [ebp - 0x4664]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x2710
jae 0x41edb7
mov byte [ebp + eax - 0x4664], bl
lea eax, [ebp - 0x4664]
push eax
call fcn.00449da7
lea eax, [ebp - 0x4664]
push 0x5b
push eax
call fcn.006270b0
add esp, 0xc
test eax, eax
je 0x41eb21
lea eax, [ebp - 0x4664]
push 0x5d
push eax
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x41eb21
lea eax, [ebp - 0xbcc]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41eafe
lea eax, [ebp - 0x3fc]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41eabf
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x7e4]
push eax
push str._s:_s
lea eax, [ebp - 0x139c]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x41ead6
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x139c]
push esi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0xfb4]
push eax
lea eax, [ebp - 0x139c]
push eax
push edi
push 0x14d
push 4
call fcn.00412c85
add esp, 0x20
mov byte [ebp - 0xfb4], bl
mov byte [ebp - 0x3fc], bl
mov byte [ebp - 0x7e4], bl
mov byte [ebp - 0x1784], bl
mov byte [ebp - 0xbcc], bl
jmp 0x41ecd4
push str.hostaddress
call fcn.00631510
push eax
lea eax, [ebp - 0x4664]
push str.hostaddress
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41eb89
push str.hostaddress
call fcn.00631510
lea ecx, [ebp - 0x4664]
add eax, ecx
push eax
lea eax, [ebp - 0x7e4]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x7e4]
push eax
call fcn.00449da7
lea eax, [ebp - 0x7e4]
push eax
push str._n_Found_host_s
call fcn.00449974
add esp, 0x1c
jmp 0x41ecd4
push str.hostport
call fcn.00631510
push eax
lea eax, [ebp - 0x4664]
push str.hostport
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41ebe6
push str.hostport
call fcn.00631510
lea ecx, [ebp - 0x4664]
add eax, ecx
push eax
lea eax, [ebp - 0x3fc]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x3fc]
push eax
call fcn.00449da7
lea eax, [ebp - 0x3fc]
push eax
push str._n_Found_port_s
jmp 0x41eb7c
push str.hostusername
call fcn.00631510
push eax
lea eax, [ebp - 0x4664]
push str.hostusername
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41ec46
push str.hostusername
call fcn.00631510
lea ecx, [ebp - 0x4664]
add eax, ecx
push eax
lea eax, [ebp - 0xfb4]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0xfb4]
push eax
call fcn.00449da7
lea eax, [ebp - 0xfb4]
push eax
push str._n_Found_user_s
jmp 0x41eb7c
push str.hostpassword
call fcn.00631510
push eax
lea eax, [ebp - 0x4664]
push str.hostpassword
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41ecd4
push str.hostpassword
call fcn.00631510
lea ecx, [ebp - 0x4664]
add eax, ecx
push eax
lea eax, [ebp - 0x1784]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x1784]
push eax
call fcn.00449da7
lea eax, [ebp - 0x1784]
push eax
push str._n_Found_Encoded_Password_s
call fcn.00449974
push esi
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0x1784]
push eax
call fcn.00407603
add esp, 0x28
test eax, eax
je 0x41ecd4
lea eax, [ebp - 0xbcc]
push eax
push str._n_Success:_Decoded_Password_s
call fcn.00449974
pop ecx
pop ecx
push dword [ebp - 0x4668]
lea eax, [ebp - 0x4664]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x41ea0a
push dword [ebp - 0x4668]
call fcn.00637603
lea eax, [ebp - 0xbcc]
push eax
call fcn.00631510
pop ecx
pop ecx
test eax, eax
je 0x41ed88
lea eax, [ebp - 0x3fc]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41ed49
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x7e4]
push eax
push str._s:_s
lea eax, [ebp - 0x139c]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x41ed60
lea eax, [ebp - 0x7e4]
push eax
lea eax, [ebp - 0x139c]
push esi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0xfb4]
push eax
lea ecx, [ebp - 0x139c]
push ecx
push edi
push 0x14d
push 4
call fcn.00412c85
add esp, 0x20
xor eax, eax
inc eax
jmp 0x41eda8
lea eax, [ebp - 0x1b6c]
push eax
push str.Recover32bitFTPPasswords
push str._s_Failed_to_open_FTP_settings_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