Function at 0x410b9a
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
push 0xffffffffffffffff
push 0x432839
mov eax, dword fs:[0]
push eax
mov eax, 0x4268
call fcn.0042c140
mov eax, dword [0x4441c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
xor ebx, ebx
mov dword [ebp - 0x422c], ecx
cmp esi, ebx
jne 0x410be4
xor eax, eax
jmp 0x410ec4
cmp word [esi], bx
je 0x410bdd
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x421c], eax
cmp eax, ebx
je 0x410bdd
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x4274]
push ebx
push eax
call fcn.0041ca70
lea eax, [ebp - 0x214]
mov dword [ebp - 0x4264], eax
lea eax, [ebp - 0x41fc]
mov dword [ebp - 0x4248], eax
lea eax, [ebp - 0x31fc]
add esp, 0xc
mov dword [ebp - 0x4240], eax
lea eax, [ebp - 0x4274]
push eax
push 0x90000000
push esi
mov dword [ebp - 0x4274], edi
mov dword [ebp - 0x4260], 0x100
mov dword [ebp - 0x4244], 0x800
mov dword [ebp - 0x423c], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x410ec1
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x421c]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4220], eax
cmp eax, ebx
jne 0x410cb3
push dword [ebp - 0x421c]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x410bdd
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp + 0x10]
push ecx
push 2
push eax
call edi
lea eax, [ebp - 0x41fc]
push eax
lea esi, [ebp - 0x4218]
call fcn.00405586
lea eax, [ebp - 0x31fc]
push eax
mov eax, esi
push eax
mov dword [ebp - 4], ebx
call fcn.0040561e
cmp dword [ebp - 0x4200], 8
mov eax, dword [ebp - 0x4214]
jae 0x410cfd
lea eax, [ebp - 0x4214]
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push eax
push ebx
push dword [ebp - 0x4220]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
je 0x410e9d
push 4
lea eax, [ebp + 0x10]
push eax
push 5
push esi
call edi
push 4
lea eax, [ebp + 0x10]
push eax
push 6
push esi
call edi
push ebx
push ebx
push ebx
push ebx
push esi
cmp dword [ebp + 0xc], ebx
je 0x410e7e
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x410e96
push ebx
lea eax, [ebp - 0x4230]
push eax
lea eax, [ebp - 0x4228]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x4228], ebx
mov dword [ebp - 0x4230], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x410e52
cmp dword [ebp - 0x4228], 0xc8
je 0x410d9f
cmp dword [ebp - 0x4228], 0xc9
jne 0x410e52
push 0x1f9f
lea eax, [ebp - 0x21b3]
push ebx
push eax
mov dword [ebp - 0x4224], ebx
mov byte [ebp - 0x21b4], bl
call fcn.0041ca70
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
add esp, 0xc
jmp 0x410e32
cmp dword [ebp - 0x4224], ebx
je 0x410e96
lea eax, [ebp - 0x21b4]
push eax
lea eax, [ebp - 0x4238]
push eax
call fcn.00401261
mov byte [ebp - 4], 1
push dword [eax]
push dword [ebp - 0x422c]
call fcn.0040561e
mov byte [ebp - 4], bl
push dword [ebp - 0x4238]
call fcn.0041a352
push dword [ebp - 0x4234]
call fcn.0041a352
push 0x1f9f
lea eax, [ebp - 0x21b3]
push ebx
push eax
mov dword [ebp - 0x4224], ebx
mov byte [ebp - 0x21b4], bl
call fcn.0041ca70
add esp, 0x14
lea eax, [ebp - 0x4224]
push eax
push 0x1fa0
lea eax, [ebp - 0x21b4]
push eax
push esi
call edi
test eax, eax
jne 0x410dc8
jmp 0x410e96
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x4220]
call esi
push dword [ebp - 0x421c]
call esi
push ebx
push 1
lea esi, [ebp - 0x4218]
call fcn.00405d7c
jmp 0x410bdd
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x410e52
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x410e52
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x4220]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x421c]
call esi
push ebx
push 1
lea esi, [ebp - 0x4218]
call fcn.00405d7c
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004195cf
leave
ret