Function at 0x401820
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x41425b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70c
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x730]
mov edx, dword [esp + 0x738]
mov eax, 0x20
xor ebx, ebx
cmp eax, ebp
mov eax, dword [esp + 0x72c]
sbb ecx, ecx
push str.Info
not ecx
and ecx, ebp
and edx, 0xffff
push ecx
push edx
push eax
lea ecx, [esp + 0x238]
push str._s_c_u_s
push ecx
mov dword [esp + 0x73c], ebx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x18
lea edx, [esp + 0x228]
push edx
push str.CheckUUIDPassword_found_info_file_at__s
push 0x42079c
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x41c198
call fcn.00413dc4
push ecx
mov byte [esp + 0x730], 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x42079c
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x730], bl
call fcn.00406ff0
add esp, 0xc
mov ecx, 0xbb
xor eax, eax
lea edi, [esp + 0x430]
push ebx
push ebx
push 3
push ebx
rep stosd dword es:[edi], eax
push 7
lea eax, [esp + 0x23c]
push SysReAllocString
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4019dc
push ecx
lea edx, [esp + 0x22c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00413dc4
push ecx
mov byte [esp + 0x72c], 2
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x41c354
call fcn.00413dc4
push ebx
mov byte [esp + 0x730], bl
call fcn.00406a10
mov eax, dword [esp + 0x740]
add esp, 0xc
cmp eax, 0x10
jne 0x4019bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4cf
jne 0x4019bb
mov eax, dword [0x4207ac]
cmp eax, 0xa
jae 0x4019bb
mov esi, eax
push 0x2710
inc esi
mov dword [0x4207ac], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x738]
lea edx, [esp + 0x72c]
push eax
push 0x10
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42u.DLL_CString::CString_2
call fcn.00401820
add esp, 0x10
mov esi, eax
jmp 0x401cf5
lea ecx, [esp + 0x72c]
mov dword [esp + 0x724], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, 0x509
jmp 0x401d0e
lea eax, [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x438]
push 0x2ec
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401a04
mov esi, 0x50a
jmp 0x401ca1
mov eax, dword [esp + 0x668]
xor edx, edx
cmp eax, ebx
mov ecx, dword [esp + 0x18]
setne dl
push edx
mov edx, dword [esp + 0x670]
xor eax, eax
cmp edx, ebx
setne al
push eax
push 0x2ec
push ecx
push str.bytesread_d__d_uuid_d_pwd_d
push 0x42079c
call sub.MFC42u.DLL_CString::Format
add esp, 0x18
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c198
call fcn.00413dc4
push ecx
mov byte [esp + 0x730], 3
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x42079c
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x730], bl
call fcn.00406ff0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 0x2ec
je 0x401ade
lea edx, [esp + 0x228]
push edx
push str.The_restore_could_not_be_executed.__There_was_an_error_reading__s.
push 0x4207a0
call sub.MFC42u.DLL_CString::Format
lea eax, [esp + 0x20]
push eax
call fcn.004075a0
mov eax, dword [eax]
mov ecx, dword [0x4207a0]
push 0x40000
push eax
push ecx
push ebx
mov byte [esp + 0x744], 4
call fcn.00401710
add esp, 0x20
lea ecx, [esp + 0x14]
mov byte [esp + 0x724], bl
call sub.MFC42u.DLL_CString::CString
mov esi, 0x50a
jmp 0x401ca1
mov edx, dword [esp + 0x72c]
push str.pu.dat
push edx
lea eax, [esp + 0x28]
push 0x41c15c
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
mov eax, dword [esp + 0x67c]
add esp, 0x10
cmp eax, ebx
je 0x401bd3
lea ecx, [esp + 0x20]
push ecx
push str.CompareUUID__s_
push 0x42079c
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c198
call fcn.00413dc4
push ecx
mov byte [esp + 0x730], 5
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x42079c
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x730], bl
call fcn.00406ff0
add esp, 8
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00413dc4
call fcn.0040b840
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401bd3
push esi
push str.CompareUUID_return__d
push 0x42079c
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c198
call fcn.00413dc4
push ecx
mov byte [esp + 0x730], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x42079c
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x730], bl
call fcn.00406ff0
add esp, 0xc
mov esi, 0x570
jmp 0x401ca1
cmp dword [esp + 0x668], ebx
je 0x401ca1
lea eax, [esp + 0x20]
push eax
push str.ComparePwd__s_
push 0x42079c
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c198
call fcn.00413dc4
push ecx
mov byte [esp + 0x730], 7
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x42079c
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x730], bl
call fcn.00406ff0
add esp, 8
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00413dc4
call fcn.0040b380
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x401ca1
push esi
push str.ComparePwd_return__d
push 0x42079c
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c198
call fcn.00413dc4
push ecx
mov byte [esp + 0x730], 8
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x42079c
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x730], bl
call fcn.00406ff0
add esp, 0xc
mov esi, 0x571
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x41c19c
push 0x42079c
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x41c198
call fcn.00413dc4
push ecx
mov byte [esp + 0x730], 9
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x42079c
call sub.MFC42u.DLL_CString::CString_2
mov byte [esp + 0x730], bl
call fcn.00406ff0
add esp, 0xc
lea ecx, [esp + 0x72c]
mov dword [esp + 0x724], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x71c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x718
ret