Function at 0x410480
Capabilities:
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 0x5820e0
mov eax, dword fs:[0]
push eax
mov eax, 0x1038
call fcn.00535fa0
mov eax, dword [0x6b2044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1034], 0
push 0
push 0
push 0
push 1
push str.WinINetGetURL
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x1038], eax
cmp dword [ebp - 0x1038], 0
jne 0x4104ff
push 0x5852cf
mov ecx, dword [ebp + 8]
call fcn.0040aa80
mov eax, dword [ebp - 0x1034]
or eax, 1
mov dword [ebp - 0x1034], eax
mov eax, dword [ebp + 8]
jmp 0x41070f
push 0
push 0
push 3
push 0
push 0
push 0x50
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x1038]
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x1040], eax
cmp dword [ebp - 0x1040], 0
jne 0x41055c
mov eax, dword [ebp - 0x1038]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x5852d2
mov ecx, dword [ebp + 8]
call fcn.0040aa80
mov ecx, dword [ebp - 0x1034]
or ecx, 1
mov dword [ebp - 0x1034], ecx
mov eax, dword [ebp + 8]
jmp 0x41070f
push 0
push 0x80000000
push 0
push 0
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0x58537c
mov eax, dword [ebp - 0x1040]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0
jne 0x4105cc
mov ecx, dword [ebp - 0x1040]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x1038]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x5852d3
mov ecx, dword [ebp + 8]
call fcn.0040aa80
mov eax, dword [ebp - 0x1034]
or eax, 1
mov dword [ebp - 0x1034], eax
mov eax, dword [ebp + 8]
jmp 0x41070f
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x103c]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov dword [ebp - 0x1044], eax
cmp dword [ebp - 0x1044], 0
jne 0x41063b
mov edx, dword [ebp - 0x103c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1040]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x1038]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x5852e3
mov ecx, dword [ebp + 8]
call fcn.0040aa80
mov edx, dword [ebp - 0x1034]
or edx, 1
mov dword [ebp - 0x1034], edx
mov eax, dword [ebp + 8]
jmp 0x41070f
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.00538df0
add esp, 0xc
mov dword [ebp - 0x1014], 0
lea ecx, [ebp - 0x1030]
call fcn.0040ab70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1014]
push ecx
push 0x1000
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp - 0x103c]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4106b5
cmp dword [ebp - 0x1014], 0
je 0x4106b5
mov ecx, dword [ebp - 0x1014]
push ecx
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1030]
call fcn.0041b590
jmp 0x41066d
mov eax, dword [ebp - 0x103c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x1040]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x1038]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a900
mov ecx, dword [ebp - 0x1034]
or ecx, 1
mov dword [ebp - 0x1034], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1030]
call fcn.0040ca50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00535f90
mov esp, ebp
pop ebp
ret