Function at 0x10035340
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x18
mov eax, 0x1007907a
call fcn.1006c26d
push str.http:__updates3.systweak.com_winzipslupdates_CompleteDatabase_getdatabase.asp
lea ecx, [ebp - 0x20]
call dword [0x10085f70]
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call dword [0x10085f84]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call sym.winzipsshelper.dll_int___cdecl_STGetExecutablePath_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
lea ecx, [ebp - 0x1c]
mov dword [esp], str.dbUpdate.ini
call dword [0x10085f70]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call sym.winzipsshelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_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____const__
pop ecx
pop ecx
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]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x100353b9
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 3
call fcn.10033f07
cmp eax, ebx
je 0x100354ef
call fcn.10033ed2
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call fcn.10033ec0
mov ebx, 0x10091104
call fcn.10033f38
call fcn.10033e0b
test eax, eax
je 0x10035500
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x100354e2
lea ecx, [ebp - 0x18]
call dword [0x10085f84]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 4
call sym.winzipsshelper.dll_int___cdecl_STGetExecutablePath_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
pop ecx
push str.Completedatabase.zip
lea ecx, [ebp - 0x24]
call dword [0x10085f70]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call sym.winzipsshelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_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____const__
pop ecx
pop ecx
lea ecx, [ebp - 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, [ebp - 0x1c]
call dword [0x10085f84]
lea eax, [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call dword [0x10085f0c]
mov edi, dword [ebp + 8]
call fcn.1003551c
test al, al
je 0x100354d0
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x100354d0
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call dword [0x10085f0c]
push ecx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call dword [0x10085f0c]
mov byte [ebp - 4], 6
call fcn.100355fb
test al, al
je 0x100354d0
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]
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 - 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]
mov bl, 1
lea ecx, [ebp - 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 al, bl
jmp 0x10035514
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]
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 - 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]
xor bl, bl
jmp 0x100354c3
lea ecx, [ebp - 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]
jmp 0x100354c3
lea ecx, [ebp - 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, [ebp - 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]
xor al, al
call fcn.1006c312
ret 4