Function at 0x10016933
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push edi
mov byte [ebp - 0x8c], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x8b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1008c6e0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jne 0x1001698c
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x8c]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x100169a5
mov eax, dword [ebp - 0x98]
add eax, 2
push eax
lea ecx, [ebp - 0x8c]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x1008c6e4
lea edx, [ebp - 0x8c]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
mov byte [eax], 0
push 0x4b000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc], eax
push 0x4b000
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x8c]
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x10016a2f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x10016c47
push 0
push 0x4080000
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0
jne 0x10016a86
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x10016c47
mov dword [ebp - 0x94], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x94]
push ecx
push 0x400
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xa0]
add ecx, dword [ebp - 0x94]
mov dword [ebp - 0xa0], ecx
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x94], 0
je 0x10016af6
cmp dword [ebp - 0xa0], 0x4b000
jl 0x10016aa1
push 0
mov edx, dword [ebp - 0xa0]
push edx
push 0x1008c6e8
mov eax, dword [ebp - 0xc]
push eax
call fcn.1001bfe0
add esp, 0x10
mov dword [ebp - 0xac], eax
push 0
mov ecx, dword [ebp - 0xa0]
push ecx
push str._tp_
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xc]
lea ecx, [eax + edx + 4]
push ecx
call fcn.1001bfe0
add esp, 0x10
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xac], 0xffffffff
je 0x10016b52
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x10016b8b
mov edx, dword [ebp - 0xb0]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x10016c47
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 4], eax
push 0x20
push 0
mov ecx, dword [ebp - 4]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax + 4]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x10
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret