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

Disassembly:
push 0x14
mov eax, 0x1005b732
call fcn.100514ef
push 0x100693ec
lea ecx, [ebp - 0x1c]
call dword [0x10061e44]
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 [0x10061e44]
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 2
call dword [0x10061dd0]
lea ebx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1002f196
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.PCBRhelper.dll_Ordinal_953
lea ecx, [ebp + 8]
mov dword [esp], str.status.ini
call dword [0x10061e44]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call sym.PCBRhelper.dll_Ordinal_981
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 0x1002ed43
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
call fcn.1002e642
xor ebx, ebx
cmp eax, ebx
je 0x1002ee46
call fcn.1002e60d
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.1002e5fb
mov ebx, 0x10069a18
call fcn.1002e673
call fcn.1002e4f6
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
call esi
xor ebx, ebx
test eax, eax
jne 0x1002ee3d
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push ebx
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, ebx
jge 0x1002ee3d
cmp byte [ebp + 0xc], bl
jne 0x1002ee27
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 0x100661b4
lea eax, [ebp + 8]
push str.IDS_NOT_CONNECT_SERV
push eax
mov byte [ebp - 4], 6
call sym.PCBRhelper.dll_Ordinal_979
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 0x10062700
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.10051594
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 0x1002ee14
mov dword [ebp - 4], 3
jmp 0x1002eeb9
cmp byte [ebp + 0xc], bl
jne 0x1002ee27
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 0x100661b4
lea eax, [ebp + 0xc]
push str.IDS_NOT_CONNECT_SERV
push eax
mov byte [ebp - 4], 8
call sym.PCBRhelper.dll_Ordinal_979
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [eax]
push 0x10062700
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 0x1002edfc
cmp dword [ebp - 0x20], ebx
je 0x1002ee02
push dword [ebp - 0x14]
call fcn.1002eed7
test al, al
je 0x1002ee02
jmp 0x1002ee27