Function at 0x42b0d1
Capabilities:
Check http status code
Check internet connectivity via wininet
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49fb6d
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.00483cd0
mov eax, dword [0x4d0620]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
or dword [ebp - 0x101c], 0xffffffff
mov dword [ebp - 0x1018], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1038], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1040], eax
mov eax, dword [ebp + 0x18]
xor esi, esi
push esi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x1014], eax
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x42b49f
push 0x2000000
push esi
push esi
push 1
push edi
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, esi
mov dword [ebp - 0x1028], eax
je 0x42b49f
push esi
push esi
push 3
push esi
push esi
push 0x50
push edi
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, esi
mov dword [ebp - 0x102c], eax
je 0x42b493
push esi
push 0x4000000
push esi
push esi
push str.HTTP_1.1
push ebx
push 0x4b95fc
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x1020], ebx
je 0x42b487
mov eax, dword [ebp - 0x1014]
call fcn.00401c8a
cmp dword [ebp + 0x1c], esi
mov edi, eax
je 0x42b239
call fcn.0045db7e
push eax
lea ecx, [ebp - 0x1014]
call fcn.0040161b
push edi
lea eax, [ebp - 0x1014]
push str.Range:_bytes__d_
push eax
mov dword [ebp - 4], esi
call fcn.004063eb
mov edi, dword [ebp - 0x1014]
add esp, 0xc
push 0xa0000000
push 0xffffffffffffffff
push edi
push ebx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
cmp eax, esi
jne 0x42b22d
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [ebp - 0x102c]
call esi
push dword [ebp - 0x1028]
call esi
mov esi, dword [ebp - 0x101c]
lea ecx, [edi - 0x10]
neg esi
call fcn.00401325
mov eax, esi
jmp 0x42b4b2
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0x10]
call fcn.00401325
push esi
push esi
push esi
push esi
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x42b47b
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push esi
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x101c]
push eax
push 0x20000013
push ebx
mov dword [ebp - 0x1024], 4
call edi
cmp dword [ebp + 0x1c], esi
mov ebx, 0x7fe
je 0x42b35f
push ebx
lea eax, [ebp - 0x100e]
push esi
push eax
mov dword [ebp - 0x1014], esi
mov dword [ebp - 0x1034], esi
mov dword [ebp - 0x103c], esi
mov word [ebp - 0x1010], si
call fcn.0047e7d0
add esp, 0xc
push esi
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0x35
push dword [ebp - 0x1020]
mov dword [ebp - 0x1024], 0x400
call edi
lea eax, [ebp - 0x103c]
push eax
lea eax, [ebp - 0x1034]
push eax
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push str.bytes__ld__ld__ld_r_n
push eax
call fcn.004813d8
add esp, 0x14
cmp eax, 0xffffffff
je 0x42b33a
mov ecx, dword [ebp - 0x1018]
push dword [ebp - 0x1014]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x42b35f
push dword [ebp - 0x1020]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x102c]
call esi
push dword [ebp - 0x1028]
call esi
mov eax, dword [ebp - 0x101c]
jmp 0x42b4b0
push dword [ebp - 0x1020]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x102c]
call esi
push dword [ebp - 0x1028]
call esi
xor eax, eax
jmp 0x42b4b2
push ebx
lea eax, [ebp - 0x80e]
push esi
push eax
mov word [ebp - 0x810], si
call fcn.0047e7d0
add esp, 0xc
push esi
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x810]
push eax
push 0x14
push dword [ebp - 0x1020]
mov dword [ebp - 0x1024], 0x400
call edi
cmp dword [ebp - 0x101c], 0xc8
je 0x42b3b6
cmp dword [ebp - 0x101c], 0xce
jne 0x42b47b
mov edi, dword [ebp - 0x1018]
mov eax, dword [edi]
lea ecx, [ebp - 0x1030]
push ecx
mov ecx, edi
mov dword [ebp - 0x1030], esi
call dword [eax + 4]
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x1018], esi
mov dword [ebp - 0x1014], esi
jmp 0x42b457
cmp dword [ebp - 0x1018], esi
jbe 0x42b475
push dword [ebp - 0x1018]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
cmp dword [ebp - 0x1038], esi
je 0x42b449
mov eax, dword [ebp - 0x1014]
fild dword [ebp + 0x14]
add eax, dword [ebp - 0x1018]
sub esp, 0x10
test eax, eax
fstp qword [esp + 8]
mov dword [ebp - 0x1034], eax
fild dword [ebp - 0x1034]
mov dword [ebp - 0x1014], eax
jge 0x42b437
fadd qword [0x4bf138]
fstp qword [esp]
push dword [ebp - 0x1040]
call dword [ebp - 0x1038]
add esp, 0x14
mov eax, dword [edi]
lea ecx, [ebp - 0x1030]
push ecx
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp - 0x1018]
push ecx
push eax
push dword [ebp - 0x1030]
push dword [ebp - 0x1020]
call ebx
test eax, eax
jne 0x42b3e4
mov dword [ebp - 0x101c], esi
push dword [ebp - 0x1020]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x102c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1028]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x101c]
cmp eax, 0xffffffff
jne 0x42b4b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047b9fe
leave
ret