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

Disassembly:
push 0x14
mov eax, 0x100a37b4
call fcn.1008f87d
push 0x100be7bc
lea ecx, [ebp - 0x1c]
call dword [0x100b6094]
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_4]
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.FALSE
call dword [0x100b6094]
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 2
call dword [0x100b6030]
lea ebx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10048826
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.ASOHelper.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 [0x100b6094]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 4
call sym.ASOHelper.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 0x10048360
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
call fcn.10046668
xor ebx, ebx
cmp eax, ebx
je 0x10048465
call fcn.10046633
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.10046621
mov ebx, 0x100bf4d8
call fcn.10046699
xor edi, edi
call fcn.10046509
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
call esi
xor ebx, ebx
test eax, eax
jne 0x1004845c
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push ebx
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, ebx
jge 0x1004845c
cmp byte [ebp + 0xc], bl
jne 0x10048446
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 0x100b80dc
lea eax, [ebp + 8]
push str.IDS_NOT_CONNECT_SERV
push eax
mov byte [ebp - 4], 6
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__
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 0x100b7000
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.1008f922
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 0x10048433
mov dword [ebp - 4], 3
jmp 0x100484d8
cmp byte [ebp + 0xc], bl
jne 0x10048446
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 0x100b80dc
lea eax, [ebp + 0xc]
push str.IDS_NOT_CONNECT_SERV
push eax
mov byte [ebp - 4], 8
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__
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [eax]
push 0x100b7000
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 0x1004841b
cmp dword [ebp - 0x20], ebx
je 0x10048421
push dword [ebp - 0x14]
call fcn.100484f6
test al, al
je 0x10048421
jmp 0x10048446