Function at 0x4313a2
Capabilities:
Copy file
Delete file
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2774
call fcn.005fec20
mov eax, dword [0x708c34]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xa
pop ecx
mov esi, str.Maxthon5UsersguestMagicFillmxpwd.dat
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x13ac]
rep movsd dword es:[edi], dword [esi]
push 0x3be
lea eax, [ebp - 0x1382]
movsw word es:[edi], word [esi]
xor edi, edi
push edi
push eax
call fcn.00626f50
push ebx
push str.RecoverMaxthonBrowserPassword
push str._s_entered__s
call fcn.00449974
push ebx
call fcn.00631510
add esp, 0x1c
cmp eax, 1
lea eax, [ebp - 0x40c]
jbe 0x431418
push ebx
mov esi, 0x3e8
push esi
push eax
call fcn.006311ec
jmp 0x431451
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x431438
push str._n_Failed_to_get_current_users_appdata_folder
call fcn.00449974
pop ecx
jmp 0x43186d
lea eax, [ebp - 0x13ac]
mov esi, 0x3e8
push eax
lea eax, [ebp - 0x40c]
push esi
push eax
call fcn.00631246
add esp, 0xc
lea eax, [ebp - 0x40c]
mov ebx, str.RecoverMaxthonBrowserPassword
push eax
push ebx
push str._s_Final_Maxthon_password_file_is__s
call fcn.00449974
lea eax, [ebp - 0x40c]
push eax
call fcn.00449791
add esp, 0x10
test eax, eax
jne 0x431497
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x40c]
push eax
push ebx
push str._s_:_Specified_profile_FILE___s__does_not_exist__Error0x_.8x
jmp 0x431865
lea eax, [ebp - 0xfc4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
push 0x186a0
push edx
push eax
call fcn.005feba0
push edx
push eax
lea eax, [ebp - 0xfc4]
push eax
push str._smx_st_tmp__d
lea eax, [ebp - 0xbdc]
push esi
push eax
call fcn.00445d6d
add esp, 0x18
lea eax, [ebp - 0xbdc]
push edi
push eax
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x431520
call ebx
push eax
lea eax, [ebp - 0xbdc]
push eax
lea eax, [ebp - 0x40c]
push eax
push str.RecoverMaxthonBrowserPassword
push str._s:_Failed_to_copy_file__s__to_tmp_file__s__Error0x_.8x
call fcn.00449974
add esp, 0x14
lea edi, [ebp - 0x40c]
jmp 0x43153f
lea eax, [ebp - 0xbdc]
push eax
push str.RecoverMaxthonBrowserPassword
push str._s:_Successfully_copied_to_tmp_file__s
call fcn.00449974
add esp, 0xc
lea edi, [ebp - 0xbdc]
and dword [ebp - 0x2768], 0
lea eax, [ebp - 0x2768]
push 0x670244
push edi
push eax
call fcn.00632119
add esp, 0xc
cmp dword [ebp - 0x2768], 0
je 0x431859
test eax, eax
jne 0x431859
push edi
push str._nSuccessfully_opened_Maxthon_password_file__s
call fcn.00449974
pop ecx
pop ecx
lea eax, [ebp - 0xfc4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push 0
push 0x186a0
push edx
push eax
call fcn.005feba0
push edx
push eax
lea eax, [ebp - 0xfc4]
push eax
push str._smx_out_tmp__d
lea eax, [ebp - 0x7f4]
push esi
push eax
call fcn.00445d6d
and dword [ebp - 0x276c], 0
lea eax, [ebp - 0x7f4]
push 0x677954
push eax
lea eax, [ebp - 0x276c]
push eax
call fcn.00632119
add esp, 0x24
cmp dword [ebp - 0x276c], 0
je 0x431845
test eax, eax
jne 0x431845
lea eax, [ebp - 0x7f4]
push eax
push str._nSuccessfully_created_output_password_file__s
call fcn.00449974
xor eax, eax
mov dword [ebp - 0x24], 0xa5e304aa
mov dword [ebp - 0x1c], eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 6
stosd dword es:[edi], eax
push 0x10
mov dword [ebp - 0x2760], 0x208
mov dword [ebp - 0x275c], 0x6801
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push eax
mov dword [ebp - 0x2758], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2754]
push eax
call fcn.006269d0
add esp, 0x14
lea eax, [ebp - 0x2774]
xor esi, esi
push 0xf0000000
push 1
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x431686
call ebx
push eax
push str.RecoverMaxthonBrowserPassword
push str._s:_CryptAcquireContext_failed__Error0x_.8x
call fcn.00449974
add esp, 0xc
jmp 0x43186d
lea eax, [ebp - 0x2770]
push eax
push esi
push esi
push 0x2c
lea eax, [ebp - 0x2760]
push eax
push dword [ebp - 0x2774]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4316b7
call ebx
push eax
push str.RecoverMaxthonBrowserPassword
push str._s:_CryptImportKey_failed__Error0x_.8x
jmp 0x431679
push dword [ebp - 0x2768]
xor edi, edi
lea eax, [ebp - 0x2734]
push 0x400
inc edi
push edi
push eax
call fcn.00637a2b
add esp, 0x10
jmp 0x431795
cmp esi, 0x400
jae 0x4316f5
push esi
push str.RecoverMaxthonBrowserPassword
push str._s:_Less_bytes_read__d...Reached_last_block
call fcn.00449974
add esp, 0xc
lea eax, [ebp - 0x2764]
mov dword [ebp - 0x2764], esi
push eax
lea eax, [ebp - 0x2734]
push eax
push 0
push 1
push 0
push dword [ebp - 0x2770]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x431746
call ebx
mov ecx, 0x80090005
cmp eax, ecx
jne 0x4317a1
cmp dword [ebp - 0x2764], 1
jb 0x4317a1
push dword [ebp - 0x2764]
push ecx
push str.RecoverMaxthonBrowserPassword
push str._s:_CryptDecrypt_returned_Error0x_.8x__output_size___d__n
jmp 0x431757
push dword [ebp - 0x2764]
push esi
push str.RecoverMaxthonBrowserPassword
push str._s:_Successfully_decrypted_data__input__d__output_d_
call fcn.00449974
add esp, 0x10
lea eax, [ebp - 0x2734]
push dword [ebp - 0x276c]
push dword [ebp - 0x2764]
push 1
push eax
call fcn.006387a3
push dword [ebp - 0x2768]
lea eax, [ebp - 0x2734]
push 0x400
push 1
push eax
call fcn.00637a2b
add esp, 0x20
mov esi, eax
test esi, esi
jne 0x4316da
jmp 0x4317bc
push dword [ebp - 0x2764]
push eax
push str.RecoverMaxthonBrowserPassword
push str._s:_CryptDecrypt_failed__Error0x_.8x__output_size___d__n
call fcn.00449974
add esp, 0x10
xor edi, edi
push dword [ebp - 0x2768]
call fcn.00637603
push dword [ebp - 0x276c]
call fcn.00637603
lea eax, [ebp - 0x7f4]
push eax
push str.RecoverMaxthonBrowserPassword
push str._s:_Finished_decrypting_Maxthon_browser_pass_file.__Output_decrypted_file_is__s
call fcn.00449974
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0xbdc]
add esp, 0x14
push eax
call esi
cmp dword [ebp - 0x2770], 0
je 0x43180f
push dword [ebp - 0x2770]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 0x2774], 0
je 0x431826
push 0
push dword [ebp - 0x2774]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test edi, edi
je 0x43186d
lea ecx, [ebp - 0x7f4]
push ecx
call fcn.0043187e
pop ecx
lea ecx, [ebp - 0x7f4]
push ecx
call esi
xor eax, eax
inc eax
jmp 0x43186f
push eax
lea eax, [ebp - 0x7f4]
push eax
push str.RecoverMaxthonBrowserPassword
push str._s___Failed_to_create_output_file__s__Error0x_.8x
jmp 0x431865
push eax
push edi
push str.RecoverMaxthonBrowserPassword
push str._s___Failed_to_open_file__s__Error0x_.8x
call fcn.00449974
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005fe955
leave
ret