Function at 0x469f3c
Capabilities:
Check http status code
Create http request
Delete file
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffa74
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58c], ebx
mov dword [ebp - 0x584], ebx
mov dword [ebp - 0x588], ebx
mov dword [ebp - 0x580], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00405874
mov eax, dword [ebp - 0x10]
call fcn.00405874
xor eax, eax
push ebp
push 0x46a1cb
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov byte [ebx + 4], 0
xor edx, edx
push ebp
push 0x46a196
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0
push 0
push 0x46a1dc
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 0xc]
call fcn.00405884
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x14
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000013
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x46a001
mov esi, dword [ebp - 0x24]
cmp esi, 0x194
jne 0x46a01a
mov byte [ebx + 4], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a1a0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.00402fa8
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push 5
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x580]
mov ecx, 0x46a1f4
call fcn.0040570c
mov edx, dword [ebp - 0x580]
lea eax, [ebp - 0x178]
call fcn.0040377c
mov edx, 1
lea eax, [ebp - 0x178]
call fcn.00403c44
call fcn.00403104
lea eax, [ebp - 0x20]
push eax
push 0x401
lea eax, [ebp - 0x579]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x46a10e
cmp dword [ebp - 0x20], 0
je 0x46a10e
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x579]
mov ecx, 0x401
call fcn.00405664
mov edx, dword [ebp - 0x14]
mov eax, 0x46a20c
call fcn.004059d0
test eax, eax
jg 0x46a10e
mov edx, dword [ebp - 0x14]
mov eax, 0x46a21c
call fcn.004059d0
test eax, eax
jg 0x46a10e
push 0
lea edx, [ebp - 0x579]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x178]
call fcn.004038dc
call fcn.00403104
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00469e00
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00405448
mov byte [ebx + 4], 1
jmp 0x46a07d
lea eax, [ebp - 0x178]
call fcn.004038fc
call fcn.00403104
mov eax, esi
call fcn.00402fc4
push ebp
call fcn.00469f1c
pop ecx
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x588]
push eax
mov ecx, 0x46a1f4
pop eax
call fcn.0040570c
mov eax, dword [ebp - 0x588]
call fcn.00405884
mov edx, eax
lea eax, [ebp - 0x584]
call fcn.004055ec
mov eax, dword [ebp - 0x584]
call fcn.0040a108
test al, al
je 0x46a18c
mov edx, dword [ebx + 0x10]
lea eax, [ebp - 0x58c]
mov ecx, 0x46a1f4
call fcn.0040570c
mov eax, dword [ebp - 0x58c]
call fcn.00405884
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a1a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a1d2
lea eax, [ebp - 0x58c]
mov edx, 4
call fcn.00405418
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405418
ret