Function at 0x1000637f
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], esp
push 0
push 0
push 0
push 0
push str.HTTPREAD
xor eax, eax
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10006409
push 0x28
push 0x401966c
push 6
call fcn.1000e86c
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], esp
push 0
push 0x80000002
push 0
push 0
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x10006451
push 0xc8
push 0x401966c
push 6
call fcn.1000e86c
add esp, 0xc
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0
push 1
mov ebx, 0x9e0
call fcn.1000fc10
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x334
call fcn.1000fcb0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], esp
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000005
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x100064d7
push 0x193
push 0x401966c
push 6
call fcn.1000e86c
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x100064e1
cmp dword [ebp - 0xc], 0
je 0x10006590
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x1bc
call fcn.1000fb60
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000651a
push ebx
call fcn.1000e866
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10006532
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000655c
push 0x246
push 0x401966c
push 6
call fcn.1000e86c
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10006576
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1000e860
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006587
push ebx
call fcn.1000e866
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
jmp 0x100066ae
push 0x80000301
push 0
push 0x800
push 1
mov ebx, 0x1bc
call fcn.1000fb60
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100065c5
push ebx
call fcn.1000e866
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x100065dc
mov eax, 0x100282ec
push eax
push 1
mov ebx, 0x194
call fcn.1000fa20
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10006606
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetReadFile]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x10006630
push 0x374
push 0x401966c
push 6
call fcn.1000e86c
add esp, 0xc
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push dword [ebp - 0x1c]
push 0x80000005
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x10006650
mov eax, 0x100282ec
push eax
push 2
mov ebx, 0x1a0
call fcn.1000fd00
add esp, 0x1c
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
push dword [ebp - 0x20]
mov ecx, 2
call fcn.100053ca
add esp, 8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000668c
push ebx
call fcn.1000e866
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100066a0
push ebx
call fcn.1000e866
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x100065c9
cmp dword [ebp - 8], 0
je 0x100066e4
mov dword [ebp - 0x28], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x100066e4
push 0x46e
push 0x401966c
push 6
call fcn.1000e86c
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x1000671a
mov dword [ebp - 0x28], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000671a
push 0x4c0
push 0x401966c
push 6
call fcn.1000e86c
add esp, 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10006734
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1000e860
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10006739
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000674a
push ebx
call fcn.1000e866
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000675a
push ebx
call fcn.1000e866
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4