Function at 0x42d730
Capabilities:
Check http status code
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3cf4
call fcn.0049c9e0
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
mov dword [ebp - 0x3cf4], ecx
mov dword [ebp - 8], 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42db88
mov byte [ebp - 0x1010], 0
push 0x7ff
push 0
lea ecx, [ebp - 0x100f]
push ecx
call fcn.0049ca10
add esp, 0xc
mov byte [ebp - 0x810], 0
push 0x7ff
push 0
lea edx, [ebp - 0x80f]
push edx
call fcn.0049ca10
add esp, 0xc
mov dword [ebp - 0x104c], 0
push 0x38
push 0
lea eax, [ebp - 0x1048]
push eax
call fcn.0049ca10
add esp, 0xc
mov dword [ebp - 0x104c], 0x3c
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x103c], ecx
mov dword [ebp - 0x1038], 0x800
lea edx, [ebp - 0x810]
mov dword [ebp - 0x1020], edx
mov dword [ebp - 0x101c], 0x800
lea eax, [ebp - 0x104c]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push 0
push 0
push 3
push 0x4d6a35
push 0x4d6a36
movzx edx, word [ebp - 0x1034]
push edx
mov eax, dword [ebp - 0x103c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x1050], eax
cmp dword [ebp - 0x1050], 0
je 0x42db7e
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x1020]
push edx
push 0x4dbb24
mov eax, dword [ebp - 0x1050]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x1054], eax
cmp dword [ebp - 0x1054], 0
je 0x42db71
mov eax, 0x4dbb30
lea ecx, [ebp - 0x1070]
call fcn.00405520
push 0x20000000
lea ecx, [ebp - 0x1070]
call fcn.0042dbc0
push eax
lea eax, [ebp - 0x1070]
call fcn.004032d0
push eax
mov ecx, dword [ebp - 0x1054]
push ecx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov dword [ebp - 0x1098], 0
xor edx, edx
mov dword [ebp - 0x1094], edx
mov dword [ebp - 0x1090], edx
mov dword [ebp - 0x108c], edx
mov dword [ebp - 0x1088], edx
mov dword [ebp - 0x1084], edx
mov dword [ebp - 0x1080], edx
mov dword [ebp - 0x107c], edx
mov dword [ebp - 0x1078], edx
mov dword [ebp - 0x1074], edx
mov dword [ebp - 0x1098], 0x28
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x107c], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x1098]
push ecx
mov edx, dword [ebp - 0x1054]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
je 0x42db59
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1054]
push edx
call fcn.0042c4c0
add esp, 0xc
push 0
push 0
push 0
mov eax, dword [ebp - 0x1054]
push eax
call dword [sym.imp.WININET.dll_HttpEndRequestW]
mov byte [ebp - 0x14a0], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x149f]
push ecx
call fcn.0049ca10
add esp, 0xc
mov dword [ebp - 0x109c], 0x400
mov dword [ebp - 0x14a4], 0
lea edx, [ebp - 0x14a4]
push edx
lea eax, [ebp - 0x109c]
push eax
lea ecx, [ebp - 0x14a0]
push ecx
push 0x13
mov edx, dword [ebp - 0x1054]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x42d9d0
lea eax, [ebp - 0x14a0]
push eax
call fcn.0049b115
add esp, 4
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov edx, dword [ebp + 0x18]
cmp dword [edx], 0xc8
jne 0x42db59
mov dword [ebp - 0x14a8], 0
push 0x4fc728
push 0x100000
call fcn.0049cf0f
add esp, 8
mov dword [ebp - 0x3cb8], eax
mov eax, dword [ebp - 0x3cb8]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42db59
mov dword [ebp - 0x14ac], 0
mov ecx, 1
test ecx, ecx
je 0x42db4e
mov dword [ebp - 0x3cb4], 0
mov byte [ebp - 0x3cb0], 0
push 0x27ff
push 0
lea edx, [ebp - 0x3caf]
push edx
call fcn.0049ca10
add esp, 0xc
lea eax, [ebp - 0x3cb4]
push eax
push 0x2800
lea ecx, [ebp - 0x3cb0]
push ecx
mov edx, dword [ebp - 0x1054]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x42dab5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3cbc], eax
mov ecx, dword [ebp - 0x3cbc]
push ecx
call fcn.00498b08
add esp, 4
mov dword [ebp - 8], 0
mov dword [ebp - 0x3cc0], 0
lea esi, [ebp - 0x1070]
call fcn.00403250
mov eax, dword [ebp - 0x3cc0]
jmp 0x42db8b
mov edx, 0x100000
sub edx, dword [ebp - 0x3cb4]
sub edx, 1
cmp dword [ebp - 0x14a8], edx
jbe 0x42db0a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3cc4], eax
mov ecx, dword [ebp - 0x3cc4]
push ecx
call fcn.00498b08
add esp, 4
mov dword [ebp - 8], 0
mov dword [ebp - 0x3cc8], 0
lea esi, [ebp - 0x1070]
call fcn.00403250
mov eax, dword [ebp - 0x3cc8]
jmp 0x42db8b
cmp dword [ebp - 0x3cb4], 0
jne 0x42db17
jmp 0x42db4e
mov edx, dword [ebp - 0x3cb4]
push edx
lea eax, [ebp - 0x3cb0]
push eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x14a8]
push ecx
call fcn.0049c670
add esp, 0xc
mov edx, dword [ebp - 0x14a8]
add edx, dword [ebp - 0x3cb4]
mov dword [ebp - 0x14a8], edx
jmp 0x42da1e
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x14a8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1054]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea esi, [ebp - 0x1070]
call fcn.00403250
mov eax, dword [ebp - 0x1050]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 8]
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret 0x18