Function at 0x100f6e90
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c3c9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x898
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 1
push 0x10314a84
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x44]
call fcn.100250a0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], 0
je 0x100f701b
push 0
push 0x80800000
push 0
push 0
lea ecx, [ebp + 0xc]
call fcn.10013020
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100f701b
lea ecx, [ebp - 0x1c]
push ecx
push 0x7d0
lea edx, [ebp - 0x8a4]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x8a4]
push edx
lea ecx, [ebp - 0x44]
call fcn.1002c550
push 0x7d0
push 0
lea eax, [ebp - 0x8a4]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x100f6f13
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x10314a90
lea ecx, [ebp - 0x74]
call fcn.100130b0
mov byte [ebp - 4], 2
push 0x10314a70
lea ecx, [ebp - 0x5c]
call fcn.100130b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x5c]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x20], esp
lea edx, [ebp - 0x44]
push edx
call fcn.10025000
lea eax, [ebp - 0x8c]
push eax
call fcn.100f6de0
add esp, 0x24
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.1000c760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.1000c760
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10013040
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x8c]
call fcn.1000c760
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.1000c760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000c760
mov eax, dword [ebp + 8]
jmp 0x100f70dd
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x10314a74
lea ecx, [ebp - 0xbc]
call fcn.100130b0
mov byte [ebp - 4], 4
push 0x10314a78
lea ecx, [ebp - 0xa4]
call fcn.100130b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
push ecx
lea edx, [ebp - 0xa4]
push edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x44]
push eax
call fcn.10025000
lea ecx, [ebp - 0xd4]
push ecx
call fcn.100f6de0
add esp, 0x24
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.1000c760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.1000c760
lea edx, [ebp - 0xd4]
push edx
mov ecx, dword [ebp + 8]
call fcn.10013040
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xd4]
call fcn.1000c760
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.1000c760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.1000c760
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret