Function at 0x41eabc
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.0041eff9
test eax, eax
jne 0x41eb6f
cmp byte [ebp + 0x24], 0
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], eax
mov esi, 0x8440c000
je 0x41eaff
mov esi, 0x84c0c000
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
and dword [ebp - 0x1c], 0
sub eax, 0x10
mov dword [ebp - 0x20], 0x452940
call fcn.00409cf0
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 0x41eb33
push ecx
push eax
lea eax, [ebp + 0x14]
call fcn.00402357
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.0041f050
test eax, eax
je 0x41eb75
mov esi, eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0040469f
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 [0x457fa0]
mov esi, 0x457fa0
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 0x41ebdd
mov eax, dword [0x457fa0]
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.004097ba
mov esi, dword [ebp + 0x1c]
add esp, 0xc
push dword [esi - 0xc]
lea eax, [ebp + 0x24]
push esi
call fcn.00402357
lea eax, [esi - 0x10]
call fcn.0040469f
mov edi, dword [ebp + 0x24]
mov eax, dword [ebx + 0x50]
cmp dword [eax - 0xc], 0
je 0x41ebf5
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x24]
call fcn.00402357
mov edi, dword [ebp + 0x24]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x41ec00
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 0x41ec46
mov esi, ebx
call fcn.0041f101
test eax, eax
jne 0x41ec55
cmp dword [ebx + 0x3c], 0
je 0x41ec52
and dword [ebp + 0x1c], 0
jmp 0x41ec58
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 0x41eee4
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 0x41eca8
xor ecx, ecx
mov dword [ebp + 0x18], ecx
jmp 0x41ecad
mov ecx, dword [ebp + 0x18]
xor eax, eax
cmp byte [ebx + 0x64], 0
je 0x41ecee
cmp dword [ebp + 0x10], 0x130
je 0x41ecee
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 0x41ece9
push 0x10
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.00430790
add esp, 0xc
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov esi, dword [ebp + 0x10]
mov edx, 0x193
cmp esi, edx
ja 0x41ee62
je 0x41ef35
mov edx, esi
sub edx, 0xc8
je 0x41ee46
sub edx, 6
je 0x41ee2d
sub edx, 0x62
je 0x41ef01
sub edx, 0x61
jne 0x41ee82
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 0x41ee91
cmp esi, 0x2f0c
je 0x41ee91
cmp esi, 0x2f06
je 0x41ee91
cmp esi, 0x2f05
je 0x41ee91
cmp esi, 0xe0000012
jne 0x41ef9f
lea edi, [ebx + 4]
push 7
call fcn.0042ec85
push 5
mov eax, edi
call fcn.0042ec10
mov eax, dword [0x457fa0]
mov esi, 0x457fa0
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [0x457fa0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x20], eax
mov eax, dword [0x457fa0]
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.0041f683
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.0041f704
push 4
test al, al
je 0x41ef59
mov eax, edi
call fcn.0042ec10
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040469f
jmp 0x41eedc
cmp ecx, eax
je 0x41ed34
mov edx, dword [ebp + 0x28]
mov edx, dword [edx]
add edx, ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], edx
jmp 0x41ed3e
mov edx, dword [ebp + 0x2c]
mov dword [edx], ecx
cmp ecx, eax
jbe 0x41ee5a
mov edx, dword [ebp + 0x28]
cmp dword [edx], ecx
jae 0x41ef1b
mov ecx, dword [ebp + 0x28]
jmp 0x41ed3c
mov edx, esi
sub edx, 0x194
je 0x41efd5
sub edx, 3
je 0x41ed2d
sub edx, 3
je 0x41efd5
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov edx, dword [ebp + 0x2c]
mov dword [edx], ecx
jmp 0x41ed3e
lea edi, [ebx + 4]
push 6
call fcn.0042ec85
push 5
mov eax, edi
call fcn.0042ec10
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jne 0x41eeb4
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 0x41efb2
mov eax, edi
call fcn.0042ec10
lea esi, [ebp + 0x24]
call fcn.00404613
mov edi, dword [ebp + 0x24]
jmp 0x41ec00
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [edi - 0x10]
call fcn.0040469f
lea edi, [ebp - 0x10]
call fcn.0041f75b
jmp 0x41eb4e
lea eax, [edi - 0x10]
call fcn.0040469f
lea edi, [ebp - 0x10]
call fcn.0041f75b
mov esi, 0xe0000013
jmp 0x41eb4e
lea eax, [edi - 0x10]
call fcn.0040469f
lea edi, [ebp - 0x10]
call fcn.0041f75b
mov esi, 0xe0000010
jmp 0x41eb4e
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
lea eax, [edi - 0x10]
call fcn.0040469f
lea edi, [ebp - 0x10]
call fcn.0041f75b
mov esi, 0xe0000016
jmp 0x41eb4e
lea eax, [ebx + 4]
call fcn.0042ec10
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.0040469f
lea edi, [ebp - 0x10]
call fcn.0041f75b
mov esi, 0xe0000012
jmp 0x41eb4e
cmp esi, eax
jne 0x41eeec
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
jmp 0x41eeec
lea eax, [ebx + 4]
call fcn.0042ec10
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.0040469f
lea edi, [ebp - 0x10]
call fcn.0041f75b
mov esi, dword [ebp + 0x1c]
jmp 0x41eb4e
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
lea eax, [edi - 0x10]
call fcn.0040469f
lea edi, [ebp - 0x10]
call fcn.0041f75b
mov esi, 0xe0000018
jmp 0x41eb4e