Function at 0x4223dc
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4280
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 - 0xfaf]
push esi
push edi
mov esi, 0x3e7
mov byte [ebp - 0xfb0], 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.bpftp.dat
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, str.RecoverBulletProofFtpPasswords
push esi
push str._s_entered
call fcn.00449974
push ebx
call fcn.00631510
xor edi, edi
add esp, 0x24
inc edi
cmp eax, edi
jae 0x42248d
lea eax, [ebp - 0x1780]
push eax
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x422480
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._s_Failed_to_find_appdata_folder__Error0x_.8x
jmp 0x42277e
mov eax, str._sBulletProof_SoftwareBulletProof_FTP_Client2010_sitesBookmarks_s
lea ebx, [ebp - 0x1780]
jmp 0x422492
mov eax, 0x66c218
lea ecx, [ebp - 0x10]
push ecx
push ebx
push eax
lea eax, [ebp - 0xfb0]
push 0x3e8
push eax
call fcn.00445d6d
lea eax, [ebp - 0xfb0]
push eax
push esi
push str._s_Final_setting_file__s
call fcn.00449974
xor ebx, ebx
lea eax, [ebp - 0x1397]
push 0x3e7
push ebx
push eax
mov byte [ebp - 0x1398], bl
call fcn.00626f50
push 0x3e7
lea eax, [ebp - 0xbc7]
mov byte [ebp - 0xbc8], bl
push ebx
push eax
call fcn.00626f50
push 0x3e7
lea eax, [ebp - 0x7df]
mov byte [ebp - 0x7e0], bl
push ebx
push eax
call fcn.00626f50
add esp, 0x44
mov byte [ebp - 0x3f8], bl
lea eax, [ebp - 0x3f7]
push 0x3e7
push ebx
push eax
call fcn.00626f50
push 0x670244
lea eax, [ebp - 0xfb0]
mov dword [ebp - 0x4280], ebx
push eax
lea eax, [ebp - 0x4280]
push eax
call fcn.00632119
add esp, 0x18
test eax, eax
jne 0x422771
cmp dword [ebp - 0x4280], ebx
je 0x422771
push str._n_opened_file__reading_start_of_data
call fcn.00449974
pop ecx
push dword [ebp - 0x4280]
lea eax, [ebp - 0x4279]
push edi
push edi
push eax
call fcn.00637a2b
add esp, 0x10
cmp eax, edi
jne 0x4225ab
push dword [ebp - 0x4280]
movzx eax, byte [ebp - 0x4279]
push eax
lea eax, [ebp - 0x4278]
push edi
push eax
call fcn.00637a2b
mov dl, byte [ebp - 0x4279]
add esp, 0x10
movzx ecx, dl
cmp eax, ecx
jne 0x4225ab
cmp dl, 1
jne 0x422560
push dword [ebp - 0x4280]
call fcn.006384ae
push eax
push str._n_Got_start_of_data_at_0x_.8x
call fcn.00449974
push dword [ebp - 0x4280]
call fcn.00637633
add esp, 0x10
jmp 0x422759
mov byte [ebp - 0x3f8], bl
mov byte [ebp - 0x1398], bl
mov byte [ebp - 0x7e0], bl
mov byte [ebp - 0xbc8], bl
push dword [ebp - 0x4280]
lea eax, [ebp - 0x4279]
push edi
push edi
push eax
call fcn.00637a2b
add esp, 0x10
cmp eax, edi
jne 0x4226b3
mov al, byte [ebp - 0x4279]
test al, al
je 0x4226a8
push dword [ebp - 0x4280]
movzx esi, al
movzx eax, al
push eax
lea eax, [ebp - 0x4278]
push edi
push eax
call fcn.00637a2b
add esp, 0x10
cmp eax, esi
jne 0x4226b3
lea eax, [ebp - 0x4278]
push esi
push eax
call fcn.004079af
movzx eax, bl
pop ecx
pop ecx
sub eax, 3
je 0x42268d
sub eax, 1
je 0x42267e
sub eax, 3
je 0x42266f
sub eax, 1
jne 0x4226a8
lea eax, [ebp - 0x4278]
push eax
lea eax, [ebp - 0xbc8]
jmp 0x42269a
lea eax, [ebp - 0x4278]
push eax
lea eax, [ebp - 0x3f8]
jmp 0x42269a
lea eax, [ebp - 0x4278]
push eax
lea eax, [ebp - 0x1398]
jmp 0x42269a
lea eax, [ebp - 0x4278]
push eax
lea eax, [ebp - 0x7e0]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0xc
inc bl
cmp bl, 0x20
jb 0x4225ec
lea eax, [ebp - 0xbc8]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x42274a
lea eax, [ebp - 0x3f8]
push eax
call fcn.00631510
pop ecx
test eax, eax
je 0x422702
lea eax, [ebp - 0x3f8]
push eax
lea eax, [ebp - 0x7e0]
push eax
push str._s:_s
lea eax, [ebp - 0x1b68]
push 0x3e8
push eax
call fcn.00445d6d
add esp, 0x14
jmp 0x42271d
lea eax, [ebp - 0x7e0]
push eax
lea eax, [ebp - 0x1b68]
push 0x3e8
push eax
call fcn.006311ec
add esp, 0xc
push 0xffffffffffffffff
mov esi, 0x66ae5d
lea eax, [ebp - 0xbc8]
push esi
push eax
lea eax, [ebp - 0x1398]
push eax
lea eax, [ebp - 0x1b68]
push eax
push esi
push 0x15c
push 4
call fcn.00412c85
add esp, 0x20
push dword [ebp - 0x4280]
call fcn.00637633
pop ecx
push 0
pop ebx
test eax, eax
je 0x4225d4
push dword [ebp - 0x4280]
call fcn.00637603
pop ecx
mov eax, edi
jmp 0x422788
lea eax, [ebp - 0xfb0]
push eax
push esi
push str._s_Unable_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