Function at 0x47fd03
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.004801cb
cmp eax, edi
jne 0x47fda8
cmp byte [ebp + 0x24], 0
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], eax
mov esi, 0x8440c000
je 0x47fd43
mov esi, 0x84c0c000
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x20], 0x4ffac8
mov dword [ebp - 0x1c], edi
call fcn.0041808f
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
je 0x47fd6f
push ecx
push eax
lea eax, [ebp - 4]
call fcn.0044678f
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.00480222
cmp eax, edi
je 0x47fdae
mov esi, eax
lea ecx, [ebp - 4]
call fcn.004029ae
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.00447480
mov esi, dword [ebp + 0x28]
cmp dword [esi], edi
jbe 0x47fdfa
lea eax, [ebp + 0x24]
push eax
call fcn.00447480
push dword [esi]
lea eax, [ebp + 0x24]
push str.Range:_bytes_u__r_n
push eax
call fcn.0044c153
mov eax, dword [ebp + 0x24]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x1c]
call fcn.0044678f
lea ecx, [ebp + 0x24]
call fcn.004029ae
mov eax, dword [ebx + 0x50]
cmp dword [eax - 0xc], edi
je 0x47fe0e
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x1c]
call fcn.0044678f
mov ecx, dword [ebx + 0x24]
cmp ecx, edi
je 0x47fe19
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 0x47fe63
mov esi, ebx
call fcn.004802d3
xor esi, esi
cmp eax, esi
je 0x47fe65
jmp 0x47fe72
xor esi, esi
cmp dword [ebx + 0x3c], esi
je 0x47fe6f
mov dword [ebp + 0x24], esi
jmp 0x47fe75
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 0x4800cc
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 0x47febf
mov dword [ebp + 0x18], eax
jmp 0x47fec2
mov eax, dword [ebp + 0x18]
cmp byte [ebx + 0x64], 0
je 0x47ff01
cmp dword [ebp + 0x10], 0x130
je 0x47ff01
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 0x47fefc
push 0x10
push eax
push esi
call fcn.004b4140
add esp, 0xc
mov eax, dword [ebp + 0x18]
xor esi, esi
mov edx, dword [ebp + 0x10]
mov ecx, 0x193
cmp edx, ecx
ja 0x48004d
je 0x48011d
mov ecx, edx
sub ecx, 0xc8
je 0x480031
sub ecx, 6
je 0x480018
sub ecx, 0x62
je 0x4800e9
sub ecx, 0x61
jne 0x48006d
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 0x48007c
cmp eax, 0x2f0c
je 0x48007c
cmp eax, 0x2f06
je 0x48007c
cmp eax, 0x2f05
je 0x48007c
cmp eax, 0xe0000012
jne 0x48017b
lea edi, [ebx + 4]
push 7
call fcn.0048cea3
push 5
mov eax, edi
call fcn.0048ce2e
lea eax, [ebp + 0x20]
push eax
call fcn.00447480
lea eax, [ebp + 0x14]
push eax
call fcn.00447480
lea eax, [ebp + 8]
push eax
call fcn.00447480
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebx + 0x14]
call fcn.0048081a
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.0048088d
push 4
test al, al
je 0x480141
mov eax, edi
call fcn.0048ce2e
lea ecx, [ebp + 8]
call fcn.004029ae
lea ecx, [ebp + 0x14]
call fcn.004029ae
lea ecx, [ebp + 0x20]
call fcn.004029ae
jmp 0x47fe19
cmp eax, esi
je 0x47ff47
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx]
add ecx, eax
mov eax, dword [ebp + 0x2c]
mov dword [eax], ecx
jmp 0x47ff51
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
cmp eax, esi
jbe 0x480045
mov ecx, dword [ebp + 0x28]
cmp dword [ecx], eax
jae 0x480103
mov eax, dword [ebp + 0x28]
jmp 0x47ff4f
mov ecx, edx
sub ecx, 0x194
je 0x4801a7
sub ecx, 3
je 0x47ff40
sub ecx, 3
je 0x4801a7
mov ecx, dword [ebp + 0x28]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
jmp 0x47ff51
lea edi, [ebx + 4]
push 6
call fcn.0048cea3
push 5
mov eax, edi
call fcn.0048ce2e
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jne 0x48009f
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 0x480187
mov eax, edi
call fcn.0048ce2e
lea esi, [ebp + 0x1c]
call fcn.004053da
jmp 0x47fe19
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x1c]
mov esi, eax
call fcn.004029ae
lea edi, [ebp - 0x10]
call fcn.004808e4
jmp 0x47fd8a
lea ecx, [ebp + 0x1c]
call fcn.004029ae
lea edi, [ebp - 0x10]
call fcn.004808e4
mov esi, 0xe0000013
jmp 0x47fd8a
lea ecx, [ebp + 0x1c]
call fcn.004029ae
lea edi, [ebp - 0x10]
call fcn.004808e4
mov esi, 0xe0000010
jmp 0x47fd8a
mov eax, dword [ebp + 0x28]
mov dword [eax], esi
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x1c]
mov dword [eax], esi
call fcn.004029ae
lea edi, [ebp - 0x10]
call fcn.004808e4
mov esi, 0xe0000016
jmp 0x47fd8a
lea eax, [ebx + 4]
call fcn.0048ce2e
lea ecx, [ebp + 8]
call fcn.004029ae
lea ecx, [ebp + 0x14]
call fcn.004029ae
lea ecx, [ebp + 0x20]
call fcn.004029ae
lea ecx, [ebp + 0x1c]
call fcn.004029ae
lea edi, [ebp - 0x10]
call fcn.004808e4
mov esi, 0xe0000012
jmp 0x47fd8a
cmp eax, esi
jne 0x48018f
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
jmp 0x48018f
lea eax, [ebx + 4]
call fcn.0048ce2e
lea ecx, [ebp + 0x1c]
call fcn.004029ae
lea edi, [ebp - 0x10]
call fcn.004808e4
mov esi, dword [ebp + 0x24]
jmp 0x47fd8a
mov eax, dword [ebp + 0x28]
mov dword [eax], esi
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x1c]
mov dword [eax], esi
call fcn.004029ae
lea edi, [ebp - 0x10]
call fcn.004808e4
mov esi, 0xe0000018
jmp 0x47fd8a