Function at 0x10036cf4
Capabilities:
Check if file exists

Disassembly:
push 0x20
mov eax, 0x10078e98
call fcn.1006c23a
mov esi, ecx
push 1
xor ebx, ebx
push 0x100d307c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call sub.mfc90u.dll_CSingleLock::CSingleLock
lea ecx, [ebp - 0x18]
call dword [0x10085f84]
lea ecx, [ebp - 0x10]
call dword [0x10085f84]
mov byte [ebp - 4], 3
call sub.mfc90u.dll_AfxGetModuleState
cmp dword [eax + 4], ebx
jne 0x10036d68
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.1006c312
ret 8
mov ecx, esi
call sym.winzipsshelper.dll_public:_void___thiscall_CRegistrationClient::ReadMsgStringsFromINI_void_
cmp byte [sym.winzipsshelper.dll_bool_CRegistrationClient::m_bIsSubscriptionChecked], bl
je 0x10036d8f
cmp byte [sym.winzipsshelper.dll_bool_CRegistrationClient::m_bForceRefreshRegistration], bl
jne 0x10036d8f
mov eax, dword [ebp + 0xc]
mov ecx, dword [sym.winzipsshelper.dll_enum_REGISTRATION_STATUS_CRegistrationClient::REG_STATUS]
xor esi, esi
mov dword [eax], ecx
inc esi
jmp 0x10036d38
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov dword [sym.winzipsshelper.dll_enum_REGISTRATION_STATUS_CRegistrationClient::REG_STATUS], 0x3e8616
call dword [0x10085f0c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call sym.winzipsshelper.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 [0x10085f74]
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.winzipsshelper.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 [0x10085f74]
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 0x10036e36
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x10085f0c]
call sym.winzipsshelper.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 [0x10085f0c]
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x10085f0c]
mov ecx, esi
mov byte [ebp - 4], 6
call sym.winzipsshelper.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 0x10036f2d
cmp dword [edi], 0x3e8af0
jne 0x10036f63
cmp byte [sym.winzipsshelper.dll_bool_CRegistrationClient::m_bCheckingStatusBeforeDownload], bl
je 0x10036ebd
push 0x10088288
lea eax, [ebp - 0x1c]
push str.IDS_INTERNET_ERROR
push eax
call sym.winzipsshelper.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.winzipsshelper.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 0x10036f63
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10036ed3
mov dword [ebp + 0xc], 1
jmp 0x10036f32
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call sym.winzipsshelper.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 0x10036f0d
mov eax, 0x3e87f7
push eax
mov ecx, esi
mov dword [ebp + 0xc], 1
mov dword [edi], eax
call sym.winzipsshelper.dll_public:_void___thiscall_CRegistrationClient::SetRegistrationInfo_enum_REGISTRATION_STATUS_
jmp 0x10036f10
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x14]
mov byte [sym.winzipsshelper.dll_bool_CRegistrationClient::m_bForceRefreshRegistration], bl
mov byte [sym.winzipsshelper.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 0x10036d38
cmp eax, 1
jne 0x10036f63
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x10085f0c]
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 9
call dword [0x10085f0c]
mov ecx, esi
mov byte [ebp - 4], 6
call sym.winzipsshelper.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.winzipsshelper.dll_enum_REGISTRATION_STATUS_CRegistrationClient::REG_STATUS], eax
jmp 0x10036f10