Function at 0x1000e010
Capabilities:
Check http status code
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push eax
xor eax, eax
xor eax, eax
je 0x1000e02a
push ebp
adc byte [ecx], 0x58
pop eax
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.2__SV1__.NET_CLR_1.1.4322_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000e04e
xor eax, eax
jmp 0x1000e240
push 0
push 0x80000100
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
jne 0x1000e087
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1000e240
mov byte [ebp - 0x208], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0xfa
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x208]
push edx
push 0x13
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1000e0ea
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
cmp eax, 0xc8
je 0x1000e108
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1000e240
mov dword [ebp - 4], 0xfa
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x2f
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0xffffffff
jne 0x1000e18a
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1000e240
mov byte [ebp - 0x410], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x40f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x20c], 0
mov eax, 1
test eax, eax
je 0x1000e217
lea ecx, [ebp - 0x20c]
push ecx
push 0x1fe
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1000e1dc
jmp 0x1000e217
cmp dword [ebp - 0x20c], 0
jne 0x1000e1e7
jmp 0x1000e217
mov dword [ebp - 0x41c], 0
push 0
lea ecx, [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 0x20c]
push edx
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1000e1ad
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret