Function at 0x442150
Capabilities:
Create http request
Delete file
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44853c
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x455014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x434]
xorps xmm0, xmm0
mov dword [ebp - 0x41c], 0
movups xmmword [ebp - 0x434], xmm0
movq qword [ebp - 0x424], xmm0
call dword [sym.imp.mfc140.dll_Ordinal_503]
mov ecx, 0x457bc8
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x457bc8]
mov dword [ebp - 0x418], 1
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x414]
push ecx
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
lea ecx, [ebp - 0x434]
push 0
push dword [ebp - 0x414]
call dword [sym.imp.mfc140.dll_Ordinal_4705]
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 2
mov esi, eax
call dword [sym.imp.mfc140.dll_Ordinal_1044]
cmp esi, 1
jne 0x442296
mov ecx, 0x457bc8
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x457bc8]
mov dword [ebp - 0x418], 2
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x414]
push ecx
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
add esp, 0x14
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_1044]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 1
push str.GetChartData
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x43c], eax
test eax, eax
je 0x4423c8
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
je 0x4423bc
mov ecx, 0x457bc8
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140.dll_Ordinal_5898]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.mfc140.dll_Ordinal_305]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x418], 4
push dword [eax - 0xc]
push eax
mov eax, dword [0x457bc8]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.mfc140.dll_Ordinal_3005]
push 0x44d670
push dword [ebp - 0x414]
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0x20
lea ecx, [ebp - 0x414]
mov esi, eax
call dword [sym.imp.mfc140.dll_Ordinal_1044]
test esi, esi
jne 0x4423b5
push 0
push 0
lea eax, [ebp - 0x414]
mov esi, 0xa
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
nop word [eax + eax]
lea eax, [ebp - 0x418]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
push dword [ebp - 0x438]
lea eax, [ebp - 0x410]
push 1
push dword [ebp - 0x418]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x418], 0
jne 0x442360
sub esi, 1
jne 0x442360
push dword [ebp - 0x438]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x43c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x434]
call dword [sym.imp.mfc140.dll_Ordinal_1142]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443559
mov esp, ebp
pop ebp
ret