Function at 0x41aaf0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x41fee5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ASOHelper.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
xor esi, esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x48], esi
call dword [0x42497c]
mov byte [esp + 0x48], 1
mov ecx, dword [esp + 0x20]
mov ebp, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push ecx
lea edx, [esp + 0x18]
push str._sEncryptedFileDetails.txt
push edx
call ebp
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.0041df90
push esi
mov byte [esp + 0x4c], 2
mov eax, dword [esp + 0x18]
push 0x5011
push eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CStdioFile::Open
test eax, eax
je 0x41ac52
mov eax, dword [0x4407e8]
cmp eax, esi
mov dword [esp + 0x28], eax
jle 0x41ac49
mov edi, dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
mov bl, 4
test esi, esi
jl 0x41ac88
cmp esi, dword [0x4407e8]
jge 0x41ac88
mov ecx, dword [0x4407e4]
lea eax, [ecx + esi*4]
push eax
lea ecx, [esp + 0x20]
call dword [0x424970]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ac2f
lea ecx, [esp + 0x18]
call dword [0x42497c]
push 0x42508c
push 0x42cc98
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x440670
mov byte [esp + 0x54], bl
call edi
mov byte [esp + 0x48], 5
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
call ebp
add esp, 0xc
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 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]
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CStdioFile::WriteString
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]
mov byte [esp + 0x48], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc esi
cmp esi, dword [esp + 0x28]
jl 0x41ab97
lea ecx, [esp + 0x2c]
call sub.mfc90u.dll_CStdioFile::Close
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call sub.mfc90u.dll_CStdioFile::CStdioFile
lea ecx, [esp + 0x14]
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 + 0x20]
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 + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
call sub.mfc90u.dll_AfxThrowInvalidArgException
int3