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

Disassembly:
push 0x14
mov eax, 0x10083c33
call fcn.1007522d
push 0x1009f454
lea ecx, [ebp - 0x1c]
call dword [0x10096f84]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [0x10096f98]
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 [0x10096f84]
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 2
call dword [0x10096f20]
lea ebx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1003a4dd
lea ecx, [ebp - 0x14]
call dword [0x10096f98]
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 [0x10096f84]
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 0x1003a019
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
call fcn.1003991b
xor ebx, ebx
cmp eax, ebx
je 0x1003a11c
call fcn.100398e6
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.100398d4
mov ebx, 0x100a0d88
call fcn.1003994c
call fcn.1003981f
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
call esi
xor ebx, ebx
test eax, eax
jne 0x1003a113
push ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push ebx
call sub.urlmon.dll_URLDownloadToFileW
cmp eax, ebx
jge 0x1003a113
cmp byte [ebp + 0xc], bl
jne 0x1003a0fd
lea ecx, [ebp + 0xc]
call dword [0x10096f98]
push 0x10098fdc
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 0x10097f60
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.100752d2
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 0x1003a0ea
mov dword [ebp - 4], 3
jmp 0x1003a18f
cmp byte [ebp + 0xc], bl
jne 0x1003a0fd
lea ecx, [ebp + 8]
call dword [0x10096f98]
push 0x10098fdc
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 0x10097f60
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 0x1003a0d2
cmp dword [ebp - 0x20], ebx
je 0x1003a0d8
push dword [ebp - 0x14]
call fcn.1003a1ad
test al, al
je 0x1003a0d8
jmp 0x1003a0fd