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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x65a8
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 - 0x2ef3]
push esi
push edi
mov esi, 0x3e7
mov byte [ebp - 0x2ef4], 0
push esi
push 0
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x3e93]
mov byte [ebp - 0x3e94], 0
push 0
push eax
call fcn.00626f50
mov esi, str.profiles.txt
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
cmp eax, 1
jae 0x43002a
lea eax, [ebp - 0x3e94]
push eax
xor eax, eax
push eax
push eax
push 0x26
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x43001c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RecoverMailCommanderPasswords
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x430609
movsx ebx, byte [ebp - 0x3e94]
mov eax, str._c:mailcomdb_s
jmp 0x43002f
mov eax, 0x66c218
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
lea eax, [ebp - 0x2ef4]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0x2ef4]
push eax
push str._n_Final_file_path_is____s
call fcn.00449974
push 0x66ca20
lea eax, [ebp - 0x2ef4]
xor ebx, ebx
push eax
lea eax, [ebp - 0x65a8]
mov dword [ebp - 0x65a8], ebx
push eax
call fcn.00632119
add esp, 0x28
test eax, eax
jne 0x4305f8
cmp dword [ebp - 0x65a8], ebx
je 0x4305f8
mov esi, 0x3e7
mov byte [ebp - 0x7e4], bl
push esi
lea eax, [ebp - 0x7e3]
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x32db]
mov byte [ebp - 0x32dc], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x139b]
mov byte [ebp - 0x139c], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0xfb3]
mov byte [ebp - 0xfb4], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0xbcb]
mov byte [ebp - 0xbcc], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x36c3]
mov byte [ebp - 0x36c4], bl
push ebx
push eax
call fcn.00626f50
add esp, 0x48
mov byte [ebp - 0x1f54], bl
lea eax, [ebp - 0x1f53]
push esi
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x1b6b]
mov byte [ebp - 0x1b6c], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x1783]
mov byte [ebp - 0x1784], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x3aab]
mov byte [ebp - 0x3aac], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x2b0b]
mov byte [ebp - 0x2b0c], bl
push ebx
push eax
call fcn.00626f50
push esi
lea eax, [ebp - 0x2723]
mov byte [ebp - 0x2724], bl
push ebx
push eax
call fcn.00626f50
add esp, 0x48
mov byte [ebp - 0x233c], bl
lea eax, [ebp - 0x233b]
push esi
push ebx
push eax
call fcn.00626f50
push dword [ebp - 0x65a8]
mov esi, 0x2710
lea eax, [ebp - 0x65a4]
push esi
push eax
call fcn.00631f4f
add esp, 0x18
test eax, eax
je 0x4305e7
lea eax, [ebp - 0x65a4]
mov byte [ebp - 0xbcc], bl
push eax
mov byte [ebp - 0xfb4], bl
mov byte [ebp - 0x139c], bl
mov byte [ebp - 0x32dc], bl
mov byte [ebp - 0x1784], bl
mov byte [ebp - 0x1b6c], bl
mov byte [ebp - 0x1f54], bl
mov byte [ebp - 0x36c4], bl
mov byte [ebp - 0x233c], bl
mov byte [ebp - 0x2724], bl
mov byte [ebp - 0x2b0c], bl
mov byte [ebp - 0x3aac], bl
call fcn.00631510
pop ecx
test eax, eax
je 0x430236
lea eax, [ebp - 0x65a4]
push eax
call fcn.00631510
dec eax
pop ecx
cmp eax, esi
jae 0x430622
mov byte [ebp + eax - 0x65a4], bl
lea eax, [ebp - 0x65a4]
push eax
call fcn.00449da7
lea eax, [ebp - 0x65a4]
push eax
push str._n_n_n_Reading_line__s
call fcn.00449974
lea ebx, [ebp - 0x65a4]
mov eax, ebx
push 0x5e
push eax
call fcn.006270b0
add esp, 0x14
xor edi, edi
jmp 0x4303e9
mov eax, esi
sub eax, ebx
push eax
push ebx
lea eax, [ebp - 0x3fc]
push 0x3e8
push eax
call fcn.00631360
lea eax, [ebp - 0x3fc]
push eax
call fcn.00449da7
lea eax, [ebp - 0x3fc]
inc edi
push eax
lea ebx, [esi + 1]
call fcn.00631510
add esp, 0x18
cmp eax, 1
jb 0x4303df
lea eax, [ebp - 0x3fc]
push eax
push edi
push str._n_Checking_current_token__d___s_
call fcn.00449974
add esp, 0xc
cmp edi, 0xb
jg 0x43036d
je 0x43035e
lea eax, [edi - 1]
sub eax, 1
je 0x43034f
sub eax, 1
je 0x43033d
sub eax, 3
je 0x43032b
sub eax, 1
je 0x430319
sub eax, 1
je 0x430307
sub eax, 1
jne 0x4303df
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x139c]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0xfb4]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x2724]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x32dc]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0xbcc]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x233c]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x3aac]
jmp 0x4303d1
mov eax, edi
sub eax, 0xc
je 0x4303c4
sub eax, 8
je 0x4303b5
sub eax, 1
je 0x4303a6
sub eax, 1
je 0x430397
sub eax, 1
jne 0x4303df
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x1f54]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x36c4]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x1b6c]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x1784]
jmp 0x4303d1
lea eax, [ebp - 0x3fc]
push eax
lea eax, [ebp - 0x2b0c]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0xc
push 0x5e
push ebx
call fcn.006270b0
pop ecx
pop ecx
mov esi, eax
test esi, esi
jne 0x43026d
lea eax, [ebp - 0x139c]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x43048d
lea eax, [ebp - 0xbcc]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x430442
lea eax, [ebp - 0xbcc]
push eax
lea eax, [ebp - 0xfb4]
push eax
push str._s:_s
lea eax, [ebp - 0x7e4]
push 0x3e8
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x43045d
lea eax, [ebp - 0xfb4]
push eax
lea eax, [ebp - 0x7e4]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push 0x66ae5d
lea eax, [ebp - 0x139c]
push eax
lea eax, [ebp - 0x32dc]
push eax
lea eax, [ebp - 0x7e4]
push eax
push str.POP3
push 0x10a
push 2
call fcn.00412c85
add esp, 0x20
lea eax, [ebp - 0x1f54]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x430527
lea eax, [ebp - 0x1784]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x4304dc
lea eax, [ebp - 0x1784]
push eax
lea eax, [ebp - 0x1b6c]
push eax
push str._s:_s
lea eax, [ebp - 0x7e4]
push 0x3e8
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x4304f7
lea eax, [ebp - 0x1b6c]
push eax
lea eax, [ebp - 0x7e4]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push 0x66ae5d
lea eax, [ebp - 0x1f54]
push eax
lea eax, [ebp - 0x36c4]
push eax
lea eax, [ebp - 0x7e4]
push eax
push str.IMAP
push 0x10a
push 2
call fcn.00412c85
add esp, 0x20
lea eax, [ebp - 0x2b0c]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x4305c1
lea eax, [ebp - 0x233c]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x430576
lea eax, [ebp - 0x233c]
push eax
lea eax, [ebp - 0x2724]
push eax
push str._s:_s
lea eax, [ebp - 0x7e4]
push 0x3e8
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x430591
lea eax, [ebp - 0x2724]
push eax
lea eax, [ebp - 0x7e4]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
push 0x66ae5d
lea eax, [ebp - 0x2b0c]
push eax
lea eax, [ebp - 0x3aac]
push eax
lea eax, [ebp - 0x7e4]
push eax
push str.SMTP
push 0x10a
push 2
call fcn.00412c85
add esp, 0x20
push dword [ebp - 0x65a8]
mov esi, 0x2710
lea eax, [ebp - 0x65a4]
push esi
push eax
call fcn.00631f4f
add esp, 0xc
test eax, eax
je 0x4305e7
xor ebx, ebx
jmp 0x4301c0
push dword [ebp - 0x65a8]
call fcn.00637603
xor eax, eax
pop ecx
inc eax
jmp 0x430613
lea eax, [ebp - 0x2ef4]
push eax
push str.RecoverMailCommanderPasswords
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