Function at 0x47b351
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
sub esp, 0x20
push esi
push edi
xor edi, edi
push edi
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.0047b817
cmp eax, edi
jne 0x47b3f6
cmp byte [ebp + 0x24], 0
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], eax
mov esi, 0x8440c000
je 0x47b391
mov esi, 0x84c0c000
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x20], 0x4fb34c
mov dword [ebp - 0x1c], edi
call fcn.00425ecf
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
je 0x47b3bd
push ecx
push eax
lea eax, [ebp - 4]
call fcn.004434e9
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
mov eax, ebx
push dword [ebp + 0xc]
push dword [ebx + 0x18]
call fcn.0047b86e
cmp eax, edi
je 0x47b3fc
mov esi, eax
lea ecx, [ebp - 4]
call fcn.00402907
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
lea eax, [ebp + 0x1c]
push eax
mov dword [ebp - 0xc], ebx
call fcn.004441b6
mov esi, dword [ebp + 0x28]
cmp dword [esi], edi
jbe 0x47b448
lea eax, [ebp + 0x24]
push eax
call fcn.004441b6
push dword [esi]
lea eax, [ebp + 0x24]
push str.Range:_bytes_u__r_n
push eax
call fcn.004492b5
mov eax, dword [ebp + 0x24]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x1c]
call fcn.004434e9
lea ecx, [ebp + 0x24]
call fcn.00402907
mov eax, dword [ebx + 0x50]
cmp eax, edi
je 0x47b459
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.00443470
mov ecx, dword [ebx + 0x24]
cmp ecx, edi
je 0x47b464
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp + 0x1c]
mov edi, dword [eax - 0xc]
push dword [ebx + 0x68]
mov esi, edi
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x24], eax
mov dword [ebx + 0x40], 7
mov byte [ebx + 0x44], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push edi
push esi
push dword [ebp + 0x24]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x47b4ae
mov esi, ebx
call fcn.0047b91f
xor esi, esi
cmp eax, esi
je 0x47b4b0
jmp 0x47b4bd
xor esi, esi
cmp dword [ebx + 0x3c], esi
je 0x47b4ba
mov dword [ebp + 0x24], esi
jmp 0x47b4c0
mov eax, dword [ebx + 0x38]
mov dword [ebp + 0x24], eax
mov edi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
push 0x20000013
push dword [ebx + 0x14]
mov dword [ebp + 0x10], esi
mov dword [ebp + 0xc], 4
call edi
test eax, eax
je 0x47b718
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x18]
push eax
push 0x20000005
push dword [ebx + 0x14]
mov dword [ebp + 0x18], esi
call edi
test eax, eax
jne 0x47b50a
mov dword [ebp + 0x18], eax
jmp 0x47b50d
mov eax, dword [ebp + 0x18]
cmp byte [ebx + 0x64], 0
je 0x47b54c
cmp dword [ebp + 0x10], 0x130
je 0x47b54c
push 0
lea eax, [ebp - 8]
push eax
lea esi, [ebx + 0x54]
push esi
push 0x4000000b
push dword [ebx + 0x14]
mov dword [ebp - 8], 0x10
call edi
test eax, eax
jne 0x47b547
push 0x10
push eax
push esi
call fcn.004af810
add esp, 0xc
mov eax, dword [ebp + 0x18]
xor esi, esi
mov edx, dword [ebp + 0x10]
mov ecx, 0x193
cmp edx, ecx
ja 0x47b699
je 0x47b769
mov ecx, edx
sub ecx, 0xc8
je 0x47b67d
sub ecx, 6
je 0x47b664
sub ecx, 0x62
je 0x47b735
sub ecx, 0x61
jne 0x47b6b9
mov dword [ebp + 0x24], 0xe0000012
mov eax, dword [ebp + 0x28]
mov dword [eax], esi
mov eax, dword [ebp + 0x2c]
mov dword [eax], esi
mov eax, dword [ebp + 0x24]
cmp eax, 0x2f0d
je 0x47b6c8
cmp eax, 0x2f0c
je 0x47b6c8
cmp eax, 0x2f06
je 0x47b6c8
cmp eax, 0x2f05
je 0x47b6c8
cmp eax, 0xe0000012
jne 0x47b7c7
lea edi, [ebx + 4]
push 7
call fcn.00488845
push 5
mov eax, edi
call fcn.004887d0
lea eax, [ebp + 0x20]
push eax
call fcn.004441b6
lea eax, [ebp + 0x14]
push eax
call fcn.004441b6
lea eax, [ebp + 8]
push eax
call fcn.004441b6
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebx + 0x14]
push ebx
call fcn.0047be69
cmp dword [ebp + 0x10], 0x197
lea ecx, [ebp + 0x20]
sete al
movzx eax, al
push eax
lea eax, [ebp + 8]
push eax
push dword [ebx + 0x14]
lea eax, [ebp + 0x14]
mov esi, ebx
call fcn.0047bee0
push 4
test al, al
je 0x47b78d
mov eax, edi
call fcn.004887d0
lea ecx, [ebp + 8]
call fcn.00402907
lea ecx, [ebp + 0x14]
call fcn.00402907
lea ecx, [ebp + 0x20]
call fcn.00402907
jmp 0x47b464
cmp eax, esi
je 0x47b592
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx]
add ecx, eax
mov eax, dword [ebp + 0x2c]
mov dword [eax], ecx
jmp 0x47b59c
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
cmp eax, esi
jbe 0x47b691
mov ecx, dword [ebp + 0x28]
cmp dword [ecx], eax
jae 0x47b74f
mov eax, dword [ebp + 0x28]
jmp 0x47b59a
mov ecx, edx
sub ecx, 0x194
je 0x47b7f3
sub ecx, 3
je 0x47b58b
sub ecx, 3
je 0x47b7f3
mov ecx, dword [ebp + 0x28]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
jmp 0x47b59c
lea edi, [ebx + 4]
push 6
call fcn.00488845
push 5
mov eax, edi
call fcn.004887d0
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jne 0x47b6eb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push 7
push dword [ebp + 0x24]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
push 4
test eax, eax
jne 0x47b7d3
mov eax, edi
call fcn.004887d0
lea esi, [ebp + 0x1c]
call fcn.00404602
jmp 0x47b464
push ebx
call fcn.0047bf37
lea ecx, [ebp + 0x1c]
mov esi, eax
call fcn.00402907
lea edi, [ebp - 0x10]
call fcn.0047bf4a
jmp 0x47b3d8
lea ecx, [ebp + 0x1c]
call fcn.00402907
lea edi, [ebp - 0x10]
call fcn.0047bf4a
mov esi, 0xe0000013
jmp 0x47b3d8
lea ecx, [ebp + 0x1c]
call fcn.00402907
lea edi, [ebp - 0x10]
call fcn.0047bf4a
mov esi, 0xe0000010
jmp 0x47b3d8
mov eax, dword [ebp + 0x28]
mov dword [eax], esi
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x1c]
mov dword [eax], esi
call fcn.00402907
lea edi, [ebp - 0x10]
call fcn.0047bf4a
mov esi, 0xe0000016
jmp 0x47b3d8
lea eax, [ebx + 4]
call fcn.004887d0
lea ecx, [ebp + 8]
call fcn.00402907
lea ecx, [ebp + 0x14]
call fcn.00402907
lea ecx, [ebp + 0x20]
call fcn.00402907
lea ecx, [ebp + 0x1c]
call fcn.00402907
lea edi, [ebp - 0x10]
call fcn.0047bf4a
mov esi, 0xe0000012
jmp 0x47b3d8
cmp eax, esi
jne 0x47b7db
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
jmp 0x47b7db
lea eax, [ebx + 4]
call fcn.004887d0
lea ecx, [ebp + 0x1c]
call fcn.00402907
lea edi, [ebp - 0x10]
call fcn.0047bf4a
mov esi, dword [ebp + 0x24]
jmp 0x47b3d8
mov eax, dword [ebp + 0x28]
mov dword [eax], esi
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x1c]
mov dword [eax], esi
call fcn.00402907
lea edi, [ebp - 0x10]
call fcn.0047bf4a
mov esi, 0xe0000018
jmp 0x47b3d8