Function at 0x41b40b
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.0041b945
test eax, eax
jne 0x41b4be
cmp byte [ebp + 0x24], 0
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], eax
mov esi, 0x8440c000
je 0x41b44e
mov esi, 0x84c0c000
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
and dword [ebp - 0x1c], 0
sub eax, 0x10
mov dword [ebp - 0x20], 0x44f4c0
call fcn.00409a5a
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 0x41b482
push ecx
push eax
lea eax, [ebp + 0x14]
call fcn.00402360
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.0041b99c
test eax, eax
je 0x41b4c4
mov esi, eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.004046a2
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 [0x455ee0]
mov esi, 0x455ee0
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 0x41b52c
mov eax, dword [0x455ee0]
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.00409558
mov esi, dword [ebp + 0x1c]
add esp, 0xc
push dword [esi - 0xc]
lea eax, [ebp + 0x24]
push esi
call fcn.00402360
lea eax, [esi - 0x10]
call fcn.004046a2
mov edi, dword [ebp + 0x24]
mov eax, dword [ebx + 0x50]
test eax, eax
je 0x41b540
push eax
lea eax, [ebp + 0x24]
push eax
call fcn.0040217a
mov edi, dword [ebp + 0x24]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x41b54b
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 0x41b591
mov esi, ebx
call fcn.0041ba4d
test eax, eax
jne 0x41b5a0
cmp dword [ebx + 0x3c], 0
je 0x41b59d
and dword [ebp + 0x1c], 0
jmp 0x41b5a3
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 0x41b830
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 0x41b5f3
xor ecx, ecx
mov dword [ebp + 0x18], ecx
jmp 0x41b5f8
mov ecx, dword [ebp + 0x18]
xor eax, eax
cmp byte [ebx + 0x64], 0
je 0x41b639
cmp dword [ebp + 0x10], 0x130
je 0x41b639
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 0x41b634
push 0x10
push eax
lea eax, [ebx + 0x54]
push eax
call fcn.0042e8b0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
xor eax, eax
mov esi, dword [ebp + 0x10]
mov edx, 0x193
cmp esi, edx
ja 0x41b7ae
je 0x41b881
mov edx, esi
sub edx, 0xc8
je 0x41b792
sub edx, 6
je 0x41b779
sub edx, 0x62
je 0x41b84d
sub edx, 0x61
jne 0x41b7ce
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 0x41b7dd
cmp esi, 0x2f0c
je 0x41b7dd
cmp esi, 0x2f06
je 0x41b7dd
cmp esi, 0x2f05
je 0x41b7dd
cmp esi, 0xe0000012
jne 0x41b8eb
lea edi, [ebx + 4]
push 7
call fcn.0042d248
push 5
mov eax, edi
call fcn.0042d1d3
mov eax, dword [0x455ee0]
mov esi, 0x455ee0
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [0x455ee0]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x20], eax
mov eax, dword [0x455ee0]
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]
push ebx
call fcn.0041bfd6
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.0041c05b
push 4
test al, al
je 0x41b8a5
mov eax, edi
call fcn.0042d1d3
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004046a2
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
call fcn.004046a2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004046a2
jmp 0x41b828
cmp ecx, eax
je 0x41b67f
mov edx, dword [ebp + 0x28]
mov edx, dword [edx]
add edx, ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], edx
jmp 0x41b689
mov edx, dword [ebp + 0x2c]
mov dword [edx], ecx
cmp ecx, eax
jbe 0x41b7a6
mov edx, dword [ebp + 0x28]
cmp dword [edx], ecx
jae 0x41b867
mov ecx, dword [ebp + 0x28]
jmp 0x41b687
mov edx, esi
sub edx, 0x194
je 0x41b921
sub edx, 3
je 0x41b678
sub edx, 3
je 0x41b921
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov edx, dword [ebp + 0x2c]
mov dword [edx], ecx
jmp 0x41b689
lea edi, [ebx + 4]
push 6
call fcn.0042d248
push 5
mov eax, edi
call fcn.0042d1d3
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jne 0x41b800
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 0x41b8fe
mov eax, edi
call fcn.0042d1d3
lea esi, [ebp + 0x24]
call fcn.00404616
mov edi, dword [ebp + 0x24]
jmp 0x41b54b
push ebx
call fcn.0041c0b2
mov esi, eax
lea eax, [edi - 0x10]
call fcn.004046a2
lea edi, [ebp - 0x10]
call fcn.0041c0c5
jmp 0x41b49d
lea eax, [edi - 0x10]
call fcn.004046a2
lea edi, [ebp - 0x10]
call fcn.0041c0c5
mov esi, 0xe0000013
jmp 0x41b49d
lea eax, [edi - 0x10]
call fcn.004046a2
lea edi, [ebp - 0x10]
call fcn.0041c0c5
mov esi, 0xe0000010
jmp 0x41b49d
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
lea eax, [edi - 0x10]
call fcn.004046a2
lea edi, [ebp - 0x10]
call fcn.0041c0c5
mov esi, 0xe0000016
jmp 0x41b49d
lea eax, [ebx + 4]
call fcn.0042d1d3
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004046a2
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
call fcn.004046a2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004046a2
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.004046a2
lea edi, [ebp - 0x10]
call fcn.0041c0c5
mov esi, 0xe0000012
jmp 0x41b49d
cmp esi, eax
jne 0x41b838
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
jmp 0x41b838
lea eax, [ebx + 4]
call fcn.0042d1d3
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.004046a2
lea edi, [ebp - 0x10]
call fcn.0041c0c5
mov esi, dword [ebp + 0x1c]
jmp 0x41b49d
mov ecx, dword [ebp + 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
lea eax, [edi - 0x10]
call fcn.004046a2
lea edi, [ebp - 0x10]
call fcn.0041c0c5
mov esi, 0xe0000018
jmp 0x41b49d