Function at 0x4180a0
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4b68d1
mov eax, dword fs:[0]
push eax
sub esp, 0x884
mov eax, dword [0x4de8bc]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de8bc]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
mov edi, dword [esp + 0x8a8]
mov ebp, dword [esp + 0x8ac]
xor ebx, ebx
mov eax, 0x4b8da8
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x418103
sub eax, edx
push eax
push 0x4b8da8
lea ecx, [esp + 0x28]
call fcn.00405590
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
mov dword [esp + 0x8ac], ebx
call fcn.004054b0
mov esi, 0x10
cmp dword [esp + 0x38], esi
mov dword [esp + 0x8a0], 0xffffffff
jb 0x418156
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0042e631
add esp, 4
cmp dword [0x4de470], esi
mov eax, dword [0x4de45c]
jae 0x418168
mov eax, 0x4de45c
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push ebx
push 0x84000000
push ebx
push ebx
mov esi, eax
push edi
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
cmp edi, ebx
je 0x41830a
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x7c]
push eax
push 0x13
push edi
mov dword [esp + 0x30], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x418303
lea ecx, [esp + 0x74]
push ecx
call fcn.0043107c
add esp, 4
cmp eax, 0xc8
jne 0x418303
mov dword [esp + 0x14], ebx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push 0x800
lea edx, [esp + 0x98]
push ebx
push edx
mov dword [esp + 0x8ac], 1
call fcn.0042f980
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x7ff
lea ecx, [esp + 0x9c]
push ecx
push edi
call esi
cmp eax, ebx
je 0x41828a
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x41828a
mov byte [esp + eax + 0x94], bl
lea eax, [esp + 0x94]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x418240
sub eax, edx
push eax
lea edx, [esp + 0x98]
push edx
mov ecx, ebp
call fcn.00417a60
push 0x800
lea eax, [esp + 0x98]
push ebx
push eax
call fcn.0042f980
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x7ff
lea edx, [esp + 0x9c]
push edx
push edi
call esi
cmp eax, ebx
jne 0x418223
mov esi, 0x10
cmp dword [ebp + 0x18], esi
jb 0x418299
mov ecx, dword [ebp + 4]
jmp 0x41829c
lea ecx, [ebp + 4]
mov al, byte [ecx]
cmp al, bl
je 0x4182b8
cmp al, 0x20
je 0x4182ae
cmp al, 0xd
je 0x4182ae
cmp al, 0xa
jne 0x4182b8
mov al, byte [ecx + 1]
add ecx, 1
cmp al, bl
jne 0x4182a2
push ecx
lea ecx, [esp + 0x40]
call fcn.00406160
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
mov byte [esp + 0x8ac], 2
call fcn.004054b0
cmp dword [esp + 0x54], esi
jb 0x4182ec
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042e631
add esp, 4
cmp dword [esp + 0x70], esi
jb 0x4182ff
mov edx, dword [esp + 0x5c]
push edx
call fcn.0042e631
add esp, 4
mov esi, dword [esp + 0x18]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, ebx
je 0x418315
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.0042e636
add esp, 0x890
ret