Function at 0x41e47e
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.0041e9bb
test eax, eax
jne 0x41e531
cmp byte [ebp + 0x24], 0
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], eax
mov esi, 0x8440c000
je 0x41e4c1
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 0x41e4f5
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.0041ea12
test eax, eax
je 0x41e537
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 0x41e59f
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 0x41e5b7
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 0x41e5c2
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 0x41e608
mov esi, ebx
call fcn.0041eac3
test eax, eax
jne 0x41e617
cmp dword [ebx + 0x3c], 0
je 0x41e614
and dword [ebp + 0x1c], 0
jmp 0x41e61a
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 0x41e8a6
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 0x41e66a
xor ecx, ecx
mov dword [ebp + 0x18], ecx
jmp 0x41e66f
mov ecx, dword [ebp + 0x18]
xor eax, eax
cmp byte [ebx + 0x64], 0
je 0x41e6b0
cmp dword [ebp + 0x10], 0x130
je 0x41e6b0
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 0x41e6ab
push 0x10
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.004302b0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov esi, dword [ebp + 0x10]
mov edx, 0x193
cmp esi, edx
ja 0x41e824
je 0x41e8f7
mov edx, esi
sub edx, 0xc8
je 0x41e808
sub edx, 6
je 0x41e7ef
sub edx, 0x62
je 0x41e8c3
sub edx, 0x61
jne 0x41e844
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 0x41e853
cmp esi, 0x2f0c
je 0x41e853
cmp esi, 0x2f06
je 0x41e853
cmp esi, 0x2f05
je 0x41e853
cmp esi, 0xe0000012
jne 0x41e961
lea edi, [ebx + 4]
push 7
call fcn.0042e7f4
push 5
mov eax, edi
call fcn.0042e77f
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.0041f049
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.0041f0ca
push 4
test al, al
je 0x41e91b
mov eax, edi
call fcn.0042e77f
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 0x41e89e
cmp ecx, eax
je 0x41e6f6
mov edx, dword [ebp + 0x28]
mov edx, dword [edx]
add edx, ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], edx
jmp 0x41e700
mov edx, dword [ebp + 0x2c]
mov dword [edx], ecx
cmp ecx, eax
jbe 0x41e81c
mov edx, dword [ebp + 0x28]
cmp dword [edx], ecx
jae 0x41e8dd
mov ecx, dword [ebp + 0x28]
jmp 0x41e6fe
mov edx, esi
sub edx, 0x194
je 0x41e997
sub edx, 3
je 0x41e6ef
sub edx, 3
je 0x41e997
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov edx, dword [ebp + 0x2c]
mov dword [edx], ecx
jmp 0x41e700
lea edi, [ebx + 4]
push 6
call fcn.0042e7f4
push 5
mov eax, edi
call fcn.0042e77f
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jne 0x41e876
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 0x41e974
mov eax, edi
call fcn.0042e77f
lea esi, [ebp + 0x24]
call fcn.00404630
mov edi, dword [ebp + 0x24]
jmp 0x41e5c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [edi - 0x10]
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f121
jmp 0x41e510
lea eax, [edi - 0x10]
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f121
mov esi, 0xe0000013
jmp 0x41e510
lea eax, [edi - 0x10]
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f121
mov esi, 0xe0000010
jmp 0x41e510
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.0041f121
mov esi, 0xe0000016
jmp 0x41e510
lea eax, [ebx + 4]
call fcn.0042e77f
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.0041f121
mov esi, 0xe0000012
jmp 0x41e510
cmp esi, eax
jne 0x41e8ae
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
jmp 0x41e8ae
lea eax, [ebx + 4]
call fcn.0042e77f
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.004046b1
lea edi, [ebp - 0x10]
call fcn.0041f121
mov esi, dword [ebp + 0x1c]
jmp 0x41e510
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.0041f121
mov esi, 0xe0000018
jmp 0x41e510