Function at 0x1004ebcd
Capabilities:
Check if file exists

Disassembly:
push 0x20
mov eax, 0x100a2256
call fcn.1008f84a
mov esi, ecx
push 1
xor ebx, ebx
push 0x101176c8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call sub.mfc90u.dll_CSingleLock::CSingleLock
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [ebp - 4], 3
call sub.mfc90u.dll_AfxGetModuleState
cmp dword [eax + 4], ebx
jne 0x1004ec41
xor esi, esi
lea ecx, [ebp - 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, [ebp - 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, [ebp - 0x2c]
mov byte [ebp - 4], bl
call sub.mfc90u.dll_CSingleLock::Unlock
lea ecx, [ebp + 8]
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, esi
call fcn.1008f922
ret 8
mov ecx, esi
call sym.ASOHelper.dll_public:_void___thiscall_CRegistrationClient::ReadMsgStringsFromINI_void_
cmp byte [sym.ASOHelper.dll_bool_CRegistrationClient::m_bIsSubscriptionChecked], bl
je 0x1004ec68
cmp byte [sym.ASOHelper.dll_bool_CRegistrationClient::m_bForceRefreshRegistration], bl
jne 0x1004ec68
mov eax, dword [ebp + 0xc]
mov ecx, dword [sym.ASOHelper.dll_enum_REGISTRATION_STATUS_CRegistrationClient::REG_STATUS]
xor esi, esi
mov dword [eax], ecx
inc esi
jmp 0x1004ec11
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov dword [sym.ASOHelper.dll_enum_REGISTRATION_STATUS_CRegistrationClient::REG_STATUS], 0x3e8616
call dword [0x100b6030]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call sym.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CRegistrationClient::GetURL_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
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 eax, [ebp - 0x1c]
push eax
mov ecx, esi
call sym.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CRegistrationClient::GetFileSavePath_void_
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x5c
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::ReverseFind]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid_1]
mov byte [ebp - 4], 6
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004ed0f
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x100b6030]
call sym.ASOHelper.dll_enum_PCO_ERROR_CODES___cdecl_RecrusivelyCreateDirectory_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
pop ecx
mov edi, dword [ebp + 0xc]
push edi
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call dword [0x100b6030]
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x100b6030]
mov ecx, esi
mov byte [ebp - 4], 6
call sym.ASOHelper.dll_public:_enum_PCO_ERROR_CODES___thiscall_CRegistrationClient::DownloadStatusDotINIFile_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____enum_REGISTRATION_STATUS__
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x1004ee06
cmp dword [edi], 0x3e8af0
jne 0x1004ee3c
cmp byte [sym.ASOHelper.dll_bool_CRegistrationClient::m_bCheckingStatusBeforeDownload], bl
je 0x1004ed96
push 0x100b80dc
lea eax, [ebp - 0x1c]
push str.IDS_INTERNET_ERROR
push eax
call sym.ASOHelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
push 1
push ebx
push ebx
mov byte [ebp - 4], 8
mov eax, dword [eax]
push ebx
push eax
call sym.ASOHelper.dll_public:_static_int___cdecl_CSystweakApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_
add esp, 0x20
lea ecx, [ebp - 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]
jmp 0x1004ee3c
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004edac
mov dword [ebp + 0xc], 1
jmp 0x1004ee0b
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call sym.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CRegistrationClient::GetRegisteredKey_void_
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
lea ecx, [ebp - 0x1c]
setg byte [ebp + 0xf]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp byte [ebp + 0xf], bl
je 0x1004ede6
mov eax, 0x3e87f7
push eax
mov ecx, esi
mov dword [ebp + 0xc], 1
mov dword [edi], eax
call sym.ASOHelper.dll_public:_void___thiscall_CRegistrationClient::SetRegistrationInfo_enum_REGISTRATION_STATUS_
jmp 0x1004ede9
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x14]
mov byte [sym.ASOHelper.dll_bool_CRegistrationClient::m_bForceRefreshRegistration], bl
mov byte [sym.ASOHelper.dll_bool_CRegistrationClient::m_bCheckingStatusBeforeDownload], 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 esi, dword [ebp + 0xc]
jmp 0x1004ec11
cmp eax, 1
jne 0x1004ee3c
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x100b6030]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 9
call dword [0x100b6030]
mov ecx, esi
mov byte [ebp - 4], 6
call sym.ASOHelper.dll_public:_enum_REGISTRATION_STATUS___thiscall_CRegistrationClient::ParseStatusDotINI_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____
mov dword [edi], eax
mov eax, dword [edi]
mov dword [sym.ASOHelper.dll_enum_REGISTRATION_STATUS_CRegistrationClient::REG_STATUS], eax
jmp 0x1004ede9