Function at 0x415ce0
Capabilities:
Query remote server for available data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435f50
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x441400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x18]
call fcn.00403600
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403600
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0x80008000
mov eax, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x415e3e
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.Range:bytes_I64u_
lea eax, [ebp - 0x10]
push eax
call fcn.0040cae0
add esp, 0x10
mov ecx, dword [ebp - 0x38]
add ecx, 0x14
call fcn.0040c0d0
movzx ecx, al
test ecx, ecx
je 0x415d82
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
push ecx
push str.http:___s__s
lea edx, [ebp - 0x18]
push edx
call fcn.0040cae0
add esp, 0x10
jmp 0x415da5
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x10]
push ecx
push str.http:___s__s__s
lea edx, [ebp - 0x18]
push edx
call fcn.0040cae0
add esp, 0x14
push 0
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403d10
push eax
lea ecx, [ebp - 0x10]
call fcn.0040c3b0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c3b0
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0xc], 0
jne 0x415e14
mov ecx, dword [ebp - 0x38]
call fcn.00416690
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040de10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040de10
mov eax, dword [ebp - 0x20]
jmp 0x415fcb
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040de10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040de10
mov eax, dword [ebp - 0x24]
jmp 0x415fcb
mov ecx, dword [ebp - 0x38]
add ecx, 0x14
call fcn.0040c0d0
movzx eax, al
test eax, eax
je 0x415e67
mov ecx, dword [ebp + 8]
push ecx
push 0x43844c
lea edx, [ebp - 0x18]
push edx
call fcn.0040cae0
add esp, 0xc
jmp 0x415e83
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x14]
push edx
push str.__s__s
lea eax, [ebp - 0x18]
push eax
call fcn.0040cae0
add esp, 0x10
cmp dword [ebp + 0x18], 0
je 0x415e95
mov ecx, dword [ebp - 0x1c]
or ecx, 0x4000000
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.0040c3b0
push eax
push 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0xc], 0
jne 0x415efc
mov ecx, dword [ebp - 0x38]
call fcn.00416690
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040de10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040de10
mov eax, dword [ebp - 0x28]
jmp 0x415fcb
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x415f51
mov ecx, dword [ebp - 0x38]
call fcn.00416690
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040de10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040de10
mov eax, dword [ebp - 0x2c]
jmp 0x415fcb
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x415fa6
mov ecx, dword [ebp - 0x38]
call fcn.00416690
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040de10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040de10
mov eax, dword [ebp - 0x30]
jmp 0x415fcb
mov dword [ebp - 0x34], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040de10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040de10
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14