Function at 0x4196a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x41e9de
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x433028]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SolvusoftWMhelper.dll_public:_static_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_CSystweakApp::GetAppDataAppPath_void_]
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0
call dword [0x422924]
mov byte [esp + 0x44], 1
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push str._sEncryptedFileDetails.txt
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.0041cb90
lea ecx, [esp + 0x10]
call dword [0x422924]
push 0x42803c
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push 0
mov byte [esp + 0x48], 4
mov eax, dword [esp + 0x1c]
push 0x4000
push eax
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CStdioFile::Open
test eax, eax
je 0x419838
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CStdioFile::ReadString
test eax, eax
je 0x41982f
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov bl, 5
lea ebx, [ebx]
push 0
push str.path
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
cmp eax, 0xffffffff
je 0x419819
lea ecx, [esp + 0x14]
call dword [0x422924]
mov byte [esp + 0x44], bl
mov edx, dword [esp + 0x10]
mov esi, dword [edx - 0xc]
push 0
push 0x42aac4
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
push esi
inc eax
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
mov ecx, dword [esp + 0x14]
push ecx
call edi
test eax, eax
je 0x41980a
mov eax, dword [0x43d7b4]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, 0x43d7ac
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CStdioFile::ReadString
test eax, eax
jne 0x419770
lea ecx, [esp + 0x28]
call sub.mfc90u.dll_CStdioFile::Close
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call sub.mfc90u.dll_CStdioFile::CStdioFile
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret