Function at 0x41e48a
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
sub esp, 0x20
push esi
push edi
push 0
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
mov eax, ebx
call fcn.0041e9c7
test eax, eax
jne 0x41e53d
cmp byte [ebp + 0x24], 0
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], eax
mov esi, 0x8440c000
je 0x41e4cd
mov esi, 0x84c0c000
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
and dword [ebp - 0x1c], 0
sub eax, 0x10
mov dword [ebp - 0x20], 0x451374
call fcn.00409baf
add eax, 0x10
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x41e501
push ecx
push eax
lea eax, [ebp + 0x14]
call fcn.00402383
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
mov eax, ebx
push dword [ebp + 0xc]
push dword [ebx + 0x18]
call fcn.0041ea1e
test eax, eax
je 0x41e543
mov esi, eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.004046b1
push 0
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
pop edi
pop esi
leave
ret 0x28
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [0x456f60]
mov esi, 0x456f60
mov ecx, esi
mov dword [ebp - 0xc], ebx
call dword [eax + 0xc]
mov edi, eax
mov eax, dword [ebp + 0x28]
add edi, 0x10
cmp dword [eax], 0
mov dword [ebp + 0x24], edi
jbe 0x41e5ab
mov eax, dword [0x456f60]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x28]
push dword [eax]
lea eax, [ebp + 0x1c]
push str.Range:_bytes_u__r_n
push eax
call fcn.004096ad
mov esi, dword [ebp + 0x1c]
add esp, 0xc
push dword [esi - 0xc]
lea eax, [ebp + 0x24]
push esi
call fcn.00402383
lea eax, [esi - 0x10]
call fcn.004046b1
mov edi, dword [ebp + 0x24]
mov eax, dword [ebx + 0x50]
cmp dword [eax - 0xc], 0
je 0x41e5c3
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x24]
call fcn.00402383
mov edi, dword [ebp + 0x24]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x41e5ce
mov eax, dword [ecx]
call dword [eax]
mov esi, dword [edi - 0xc]
mov eax, dword [ebx + 0x14]
push dword [ebx + 0x68]
mov dword [ebp + 0x1c], esi
neg esi
sbb esi, esi
and esi, edi
mov dword [ebp - 8], eax
mov dword [ebx + 0x40], 7
mov byte [ebx + 0x44], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push dword [ebp + 0x1c]
push esi
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x41e614
mov esi, ebx
call fcn.0041eacf
test eax, eax
jne 0x41e623
cmp dword [ebx + 0x3c], 0
je 0x41e620
and dword [ebp + 0x1c], 0
jmp 0x41e626
mov eax, dword [ebx + 0x38]
mov dword [ebp + 0x1c], eax
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
and dword [ebp + 0x10], 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x10]
push eax
push 0x20000013
push dword [ebx + 0x14]
mov dword [ebp - 4], 4
call esi
test eax, eax
je 0x41e8b2
and dword [ebp + 0x18], 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x18]
push eax
push 0x20000005
push dword [ebx + 0x14]
call esi
test eax, eax
jne 0x41e676
xor ecx, ecx
mov dword [ebp + 0x18], ecx
jmp 0x41e67b
mov ecx, dword [ebp + 0x18]
xor eax, eax
cmp byte [ebx + 0x64], 0
je 0x41e6bc
cmp dword [ebp + 0x10], 0x130
je 0x41e6bc
push eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0x54]
push ecx
push 0x4000000b
push dword [ebx + 0x14]
mov dword [ebp - 8], 0x10
call esi
test eax, eax
jne 0x41e6b7
push 0x10
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.004302c0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov esi, dword [ebp + 0x10]
mov edx, 0x193
cmp esi, edx
ja 0x41e830
je 0x41e903
mov edx, esi
sub edx, 0xc8
je 0x41e814
sub edx, 6
je 0x41e7fb
sub edx, 0x62
je 0x41e8cf
sub edx, 0x61
jne 0x41e850
mov dword [ebp + 0x1c], 0xe0000012
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
mov esi, dword [ebp + 0x1c]
cmp esi, 0x2f0d
je 0x41e85f
cmp esi, 0x2f0c
je 0x41e85f
cmp esi, 0x2f06
je 0x41e85f
cmp esi, 0x2f05
je 0x41e85f
cmp esi, 0xe0000012
jne 0x41e96d
lea edi, [ebx + 4]
push 7
call fcn.0042e803
push 5
mov eax, edi
call fcn.0042e78e
mov eax, dword [0x456f60]
mov esi, 0x456f60
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [0x456f60]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x20], eax
mov eax, dword [0x456f60]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebx + 0x14]
call fcn.0041f055
cmp dword [ebp + 0x10], 0x197
lea ecx, [ebp + 0xc]
sete al
movzx eax, al
push eax
lea eax, [ebp + 8]
push eax
push dword [ebx + 0x14]
lea eax, [ebp + 0x20]
mov esi, ebx
call fcn.0041f0d6
push 4
test al, al
je 0x41e927
mov eax, edi
call fcn.0042e78e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004046b1
jmp 0x41e8aa
cmp ecx, eax
je 0x41e702
mov edx, dword [ebp + 0x28]
mov edx, dword [edx]
add edx, ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], edx
jmp 0x41e70c
mov edx, dword [ebp + 0x2c]
mov dword [edx], ecx
cmp ecx, eax
jbe 0x41e828
mov edx, dword [ebp + 0x28]
cmp dword [edx], ecx
jae 0x41e8e9
mov ecx, dword [ebp + 0x28]
jmp 0x41e70a
mov edx, esi
sub edx, 0x194
je 0x41e9a3
sub edx, 3
je 0x41e6fb
sub edx, 3
je 0x41e9a3
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov edx, dword [ebp + 0x2c]
mov dword [edx], ecx
jmp 0x41e70c
lea edi, [ebx + 4]
push 6
call fcn.0042e803
push 5
mov eax, edi
call fcn.0042e78e
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jne 0x41e882
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push 7
push dword [ebp + 0x1c]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
push 4
test eax, eax
jne 0x41e980
mov eax, edi
call fcn.0042e78e
lea esi, [ebp + 0x24]
call fcn.00404630
mov edi, dword [ebp + 0x24]
jmp 0x41e5ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [edi - 0x10]
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f12d
jmp 0x41e51c
lea eax, [edi - 0x10]
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f12d
mov esi, 0xe0000013
jmp 0x41e51c
lea eax, [edi - 0x10]
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f12d
mov esi, 0xe0000010
jmp 0x41e51c
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
lea eax, [edi - 0x10]
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f12d
mov esi, 0xe0000016
jmp 0x41e51c
lea eax, [ebx + 4]
call fcn.0042e78e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004046b1
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f12d
mov esi, 0xe0000012
jmp 0x41e51c
cmp esi, eax
jne 0x41e8ba
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
jmp 0x41e8ba
lea eax, [ebx + 4]
call fcn.0042e78e
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f12d
mov esi, dword [ebp + 0x1c]
jmp 0x41e51c
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
lea eax, [edi - 0x10]
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f12d
mov esi, 0xe0000018
jmp 0x41e51c