Function at 0x450a70
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 3
push dword [ebp + 0x1c]
mov edi, ecx
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
mov eax, edi
call fcn.00450ebb
cmp eax, ebx
jne 0x450b0a
mov eax, dword [edi]
mov dword [edi + 8], eax
mov esi, 0x8440c000
cmp byte [ebp + 0x28], bl
je 0x450aae
mov esi, 0x84c0c000
cmp byte [ebp + 0x24], bl
je 0x450ab9
or esi, 0x200000
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x10], 0x4a8818
mov dword [ebp - 0xc], ebx
call fcn.00416651
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
je 0x450ae5
push ecx
push eax
lea eax, [ebp + 8]
call fcn.0042e514
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov eax, edi
push dword [ebp + 0xc]
push dword [edi + 8]
call fcn.00450f10
cmp eax, ebx
je 0x450b11
mov esi, eax
lea ecx, [ebp + 8]
call fcn.004071b8
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x2c
lea eax, [ebp + 0x1c]
push eax
call fcn.00407441
mov esi, dword [ebp + 0x2c]
cmp dword [esi], ebx
jbe 0x450b54
lea eax, [ebp + 0x28]
push eax
call fcn.00407441
push dword [esi]
lea eax, [ebp + 0x28]
push str.Range:_bytes_u__r_n
push eax
call fcn.0042ec93
mov eax, dword [ebp + 0x28]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x1c]
call fcn.0042e514
lea ecx, [ebp + 0x28]
call fcn.004071b8
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x450b65
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.0042e49b
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x450b70
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax - 0xc]
push dword [edi + 0x5c]
mov dword [ebp + 0x18], esi
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov dword [edi + 0x34], 7
mov byte [edi + 0x38], bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push dword [ebp + 0x18]
push esi
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x450bb5
mov esi, edi
call fcn.00450fbd
cmp eax, ebx
jne 0x450bc2
cmp dword [edi + 0x30], ebx
je 0x450bbf
mov dword [ebp + 0x18], ebx
jmp 0x450bc5
mov eax, dword [edi + 0x2c]
mov dword [ebp + 0x18], eax
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x28]
push eax
push 0x20000013
push dword [edi]
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0xc], 4
call esi
test eax, eax
je 0x450e11
push ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x24]
push eax
push 0x20000005
push dword [edi]
call esi
test eax, eax
jne 0x450c0a
mov dword [ebp + 0x24], eax
jmp 0x450c0d
mov eax, dword [ebp + 0x24]
cmp byte [edi + 0x58], bl
je 0x450c4a
cmp dword [ebp + 0x28], 0x130
je 0x450c4a
push ebx
lea ecx, [ebp - 8]
push ecx
lea eax, [edi + 0x48]
push eax
push 0x4000000b
push dword [edi]
mov dword [ebp - 8], 0x10
call esi
test eax, eax
jne 0x450c47
push 0x10
lea eax, [edi + 0x48]
push ebx
push eax
call fcn.004773f0
add esp, 0xc
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov ecx, 0x193
cmp edx, ecx
ja 0x450d98
je 0x450e4a
mov ecx, edx
sub ecx, 0xc8
je 0x450d7c
sub ecx, 6
je 0x450d63
sub ecx, 0x62
je 0x450e26
sub ecx, 0x61
jne 0x450db8
mov dword [ebp + 0x18], 0xe0000012
mov eax, dword [ebp + 0x2c]
mov dword [eax], ebx
mov eax, dword [ebp + 0x30]
mov dword [eax], ebx
mov esi, dword [ebp + 0x18]
cmp esi, 0x2f0d
je 0x450dc7
cmp esi, 0x2f0c
je 0x450dc7
cmp esi, 0x2f06
je 0x450dc7
cmp esi, 0x2f05
je 0x450dc7
cmp esi, 0xe0000012
jne 0x450e19
push 7
call fcn.00451750
push 5
pop ecx
mov eax, edi
call fcn.004510ab
lea eax, [ebp + 0x20]
push eax
call fcn.00407441
lea eax, [ebp + 0x14]
push eax
call fcn.00407441
lea eax, [ebp + 0x10]
push eax
call fcn.00407441
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x28]
push dword [edi]
call fcn.00451687
cmp dword [ebp + 0x28], 0x197
lea ecx, [ebp + 0x20]
sete al
movzx eax, al
push eax
lea eax, [ebp + 0x10]
push eax
push dword [edi]
lea eax, [ebp + 0x14]
mov esi, edi
call fcn.004516fa
push 4
test al, al
pop ecx
mov eax, edi
je 0x450e66
call fcn.004510ab
lea ecx, [ebp + 0x10]
call fcn.004071b8
lea ecx, [ebp + 0x14]
call fcn.004071b8
lea ecx, [ebp + 0x20]
call fcn.004071b8
jmp 0x450b70
cmp eax, ebx
je 0x450c90
mov ecx, dword [ebp + 0x2c]
mov ecx, dword [ecx]
add ecx, eax
mov eax, dword [ebp + 0x30]
mov dword [eax], ecx
jmp 0x450c9a
mov ecx, dword [ebp + 0x30]
mov dword [ecx], eax
cmp eax, ebx
jbe 0x450d90
mov ecx, dword [ebp + 0x2c]
cmp dword [ecx], eax
jae 0x450e38
mov eax, dword [ebp + 0x2c]
jmp 0x450c98
mov ecx, edx
sub ecx, 0x194
je 0x450e9f
sub ecx, 3
je 0x450c89
sub ecx, 3
je 0x450e9f
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x30]
mov dword [ecx], eax
jmp 0x450c9a
push 6
call fcn.00451750
push 5
pop ecx
mov eax, edi
call fcn.004510ab
mov eax, dword [edi + 0x68]
cmp eax, ebx
jne 0x450de5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
push 7
push esi
push dword [edi]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
push 4
test eax, eax
pop ecx
mov eax, edi
jne 0x450e95
call fcn.004510ab
lea esi, [ebp + 0x1c]
call fcn.004071db
jmp 0x450b70
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp + 0x1c]
call fcn.004071b8
jmp 0x450b00
lea ecx, [ebp + 0x1c]
call fcn.004071b8
mov esi, 0xe0000013
jmp 0x450b00
lea ecx, [ebp + 0x1c]
call fcn.004071b8
mov esi, 0xe0000010
jmp 0x450b00
mov eax, dword [ebp + 0x2c]
mov dword [eax], ebx
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x1c]
mov dword [eax], ebx
call fcn.004071b8
mov esi, 0xe0000016
jmp 0x450b00
call fcn.004510ab
lea ecx, [ebp + 0x10]
call fcn.004071b8
lea ecx, [ebp + 0x14]
call fcn.004071b8
lea ecx, [ebp + 0x20]
call fcn.004071b8
lea ecx, [ebp + 0x1c]
call fcn.004071b8
mov esi, 0xe0000012
jmp 0x450b00
call fcn.004510ab
jmp 0x450e19
mov eax, dword [ebp + 0x2c]
mov dword [eax], ebx
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x1c]
mov dword [eax], ebx
call fcn.004071b8
mov esi, 0xe0000018
jmp 0x450b00