Function at 0x1002e3ac
Capabilities:
Check if file exists
Delete file
Download url
Receive data

Disassembly:
push 0x14
mov eax, 0x10064076
call fcn.1005970d
push 0x10074b84
lea ecx, [ebp - 0x1c]
call dword [0x1006ce70]
and dword [ebp - 4], 0
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]
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.FALSE
call dword [0x1006ce70]
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 2
call dword [0x1006ce0c]
lea ebx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1002e8c1
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_class]
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call sym.SACOhelper.dll_bool___cdecl_ReturnAppDataFolder_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____
lea ecx, [ebp + 8]
mov dword [esp], str.status.ini
call dword [0x1006ce70]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call sym.SACOhelper.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 + 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]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x1002e46e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
call fcn.1002dd6d
xor ebx, ebx
cmp eax, ebx
je 0x1002e571
call fcn.1002dd38
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.1002dd26
mov ebx, 0x100751c0
call fcn.1002dd9e
call fcn.1002dc21
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
call esi
xor ebx, ebx
test eax, eax
jne 0x1002e568
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push ebx
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, ebx
jge 0x1002e568
cmp byte [ebp + 0xc], bl
jne 0x1002e552
lea ecx, [ebp + 0xc]
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 0x1007195c
lea eax, [ebp + 8]
push str.IDS_NOT_CONNECT_SERV
push eax
mov byte [ebp - 4], 6
call sym.SACOhelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 0x1006df6c
push eax
lea eax, [ebp + 0xc]
push eax
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, [ebp + 8]
mov byte [ebp - 4], 6
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 ebx
push ebx
push dword [ebp + 0xc]
call sub.mfc90u.dll_AfxMessageBox
lea ecx, [ebp + 0xc]
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]
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 - 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 al, bl
call fcn.100597b2
ret 8
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 - 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]
mov bl, 1
jmp 0x1002e53f
mov dword [ebp - 4], 3
jmp 0x1002e5e4
cmp byte [ebp + 0xc], bl
jne 0x1002e552
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_class]
push 0x1007195c
lea eax, [ebp + 0xc]
push str.IDS_NOT_CONNECT_SERV
push eax
mov byte [ebp - 4], 8
call sym.SACOhelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [eax]
push 0x1006df6c
push eax
lea eax, [ebp + 8]
push eax
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, [ebp + 0xc]
mov byte [ebp - 4], 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]
push ebx
push ebx
push dword [ebp + 8]
call sub.mfc90u.dll_AfxMessageBox
lea ecx, [ebp + 8]
jmp 0x1002e527
cmp dword [ebp - 0x20], ebx
je 0x1002e52d
push dword [ebp - 0x14]
call fcn.1002e602
test al, al
je 0x1002e52d
jmp 0x1002e552