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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009518c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x830
mov eax, dword [0x100ce00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x808], eax
push 0
push 0
push 0
push 1
mov dword [ebp - 0x808], eax
push str.Mozilla_5.0
mov dword [ebp - 0x808], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
xorps xmm0, xmm0
mov dword [ebp - 0x808], eax
xor esi, esi
mov dword [ebp - 0x7f0], 0xf
movups xmmword [ebp - 0x804], xmm0
mov dword [ebp - 0x7f4], esi
mov byte [ebp - 0x804], 0
mov dword [ebp - 4], esi
test eax, eax
je 0x10018f5b
push esi
push esi
push esi
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ecx, eax
mov dword [ebp - 0x810], ecx
test ecx, ecx
je 0x10018f55
lea eax, [ebp - 0x7ec]
push eax
push 0x7d0
lea eax, [ebp - 0x7e8]
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x7f0]
mov eax, ecx
mov edi, dword [ebp - 0x7ec]
sub eax, esi
push edi
cmp edi, eax
ja 0x10018db4
lea eax, [esi + edi]
cmp ecx, 0x10
mov dword [ebp - 0x7f4], eax
lea eax, [ebp - 0x804]
cmovae eax, dword [ebp - 0x804]
add esi, eax
lea eax, [ebp - 0x7e8]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x10018dcd
lea eax, [ebp - 0x7e8]
push eax
push dword [ebp - 0x80c]
lea ecx, [ebp - 0x804]
push edi
call fcn.1000ce60
push 0x7d0
lea eax, [ebp - 0x7e8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebp - 0x7ec], 0
je 0x10018dfd
mov esi, dword [ebp - 0x7f4]
mov ecx, dword [ebp - 0x810]
jmp 0x10018d54
push dword [ebp - 0x808]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x810]
call esi
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x830], 0
push 0x100b76b0
lea ecx, [ebp - 0x840]
mov dword [ebp - 0x82c], 0
movups xmmword [ebp - 0x840], xmm0
call fcn.1000cfc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
push 0x100b76b4
movups xmmword [ebp - 0x828], xmm0
mov dword [ebp - 0x814], 0
call fcn.1000cfc0
lea eax, [ebp - 0x840]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
lea eax, [ebp - 0x804]
mov ecx, esp
lea esi, [ebp - 0x828]
push eax
call fcn.1000b7c0
mov edx, esi
mov esi, dword [ebp - 0x80c]
mov ecx, esi
call fcn.10018bc0
mov ecx, dword [ebp - 0x814]
add esp, 0x1c
cmp ecx, 0x10
jb 0x10018ee1
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018ed7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f4f
push ecx
push edx
call fcn.10093968
add esp, 8
mov ecx, dword [ebp - 0x82c]
cmp ecx, 0x10
jb 0x10018f17
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018f0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f4f
push ecx
push edx
call fcn.10093968
add esp, 8
mov ecx, dword [ebp - 0x7f0]
cmp ecx, 0x10
jb 0x1001907b
mov edx, dword [ebp - 0x804]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10019071
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10019071
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x808]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x818], 0
push 0x100b76b0
lea ecx, [ebp - 0x828]
mov dword [ebp - 0x814], 0
movups xmmword [ebp - 0x828], xmm0
call fcn.1000cfc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x840]
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x830], 0
push 0x100b76b4
movups xmmword [ebp - 0x840], xmm0
mov dword [ebp - 0x82c], 0
call fcn.1000cfc0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 4
push eax
sub esp, 0x18
lea eax, [ebp - 0x804]
mov ecx, esp
lea esi, [ebp - 0x840]
push eax
call fcn.1000b7c0
mov edx, esi
mov esi, dword [ebp - 0x80c]
mov ecx, esi
call fcn.10018bc0
mov ecx, dword [ebp - 0x82c]
add esp, 0x1c
cmp ecx, 0x10
jb 0x10019034
mov edx, dword [ebp - 0x840]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001902a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f4f
push ecx
push edx
call fcn.10093968
add esp, 8
mov ecx, dword [ebp - 0x814]
cmp ecx, 0x10
jb 0x10018f17
mov edx, dword [ebp - 0x828]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10018f0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018f4f
jmp 0x10018f0d
push ecx
push edx
call fcn.10093968
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093402
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret