Function at 0x47fa26
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.0047feee
cmp eax, edi
jne 0x47facb
cmp byte [ebp + 0x24], 0
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x18], eax
mov esi, 0x8440c000
je 0x47fa66
mov esi, 0x84c0c000
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x20], 0x4ffa48
mov dword [ebp - 0x1c], edi
call fcn.0041804a
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
je 0x47fa92
push ecx
push eax
lea eax, [ebp - 4]
call fcn.00446332
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.0047ff45
cmp eax, edi
je 0x47fad1
mov esi, eax
lea ecx, [ebp - 4]
call fcn.00402964
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.004029ba
mov esi, dword [ebp + 0x28]
cmp dword [esi], edi
jbe 0x47fb1d
lea eax, [ebp + 0x24]
push eax
call fcn.004029ba
push dword [esi]
lea eax, [ebp + 0x24]
push str.Range:_bytes_u__r_n
push eax
call fcn.0044bda7
mov eax, dword [ebp + 0x24]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x1c]
call fcn.00446332
lea ecx, [ebp + 0x24]
call fcn.00402964
mov eax, dword [ebx + 0x50]
cmp dword [eax - 0xc], edi
je 0x47fb31
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x1c]
call fcn.00446332
mov ecx, dword [ebx + 0x24]
cmp ecx, edi
je 0x47fb3c
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 0x47fb86
mov esi, ebx
call fcn.0047fff6
xor esi, esi
cmp eax, esi
je 0x47fb88
jmp 0x47fb95
xor esi, esi
cmp dword [ebx + 0x3c], esi
je 0x47fb92
mov dword [ebp + 0x24], esi
jmp 0x47fb98
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 0x47fdef
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 0x47fbe2
mov dword [ebp + 0x18], eax
jmp 0x47fbe5
mov eax, dword [ebp + 0x18]
cmp byte [ebx + 0x64], 0
je 0x47fc24
cmp dword [ebp + 0x10], 0x130
je 0x47fc24
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 0x47fc1f
push 0x10
push eax
push esi
call fcn.004b3b00
add esp, 0xc
mov eax, dword [ebp + 0x18]
xor esi, esi
mov edx, dword [ebp + 0x10]
mov ecx, 0x193
cmp edx, ecx
ja 0x47fd70
je 0x47fe40
mov ecx, edx
sub ecx, 0xc8
je 0x47fd54
sub ecx, 6
je 0x47fd3b
sub ecx, 0x62
je 0x47fe0c
sub ecx, 0x61
jne 0x47fd90
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 0x47fd9f
cmp eax, 0x2f0c
je 0x47fd9f
cmp eax, 0x2f06
je 0x47fd9f
cmp eax, 0x2f05
je 0x47fd9f
cmp eax, 0xe0000012
jne 0x47fe9e
lea edi, [ebx + 4]
push 7
call fcn.0048cb55
push 5
mov eax, edi
call fcn.0048cae0
lea eax, [ebp + 0x20]
push eax
call fcn.004029ba
lea eax, [ebp + 0x14]
push eax
call fcn.004029ba
lea eax, [ebp + 8]
push eax
call fcn.004029ba
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebx + 0x14]
call fcn.0048053d
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.004805b0
push 4
test al, al
je 0x47fe64
mov eax, edi
call fcn.0048cae0
lea ecx, [ebp + 8]
call fcn.00402964
lea ecx, [ebp + 0x14]
call fcn.00402964
lea ecx, [ebp + 0x20]
call fcn.00402964
jmp 0x47fb3c
cmp eax, esi
je 0x47fc6a
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx]
add ecx, eax
mov eax, dword [ebp + 0x2c]
mov dword [eax], ecx
jmp 0x47fc74
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
cmp eax, esi
jbe 0x47fd68
mov ecx, dword [ebp + 0x28]
cmp dword [ecx], eax
jae 0x47fe26
mov eax, dword [ebp + 0x28]
jmp 0x47fc72
mov ecx, edx
sub ecx, 0x194
je 0x47feca
sub ecx, 3
je 0x47fc63
sub ecx, 3
je 0x47feca
mov ecx, dword [ebp + 0x28]
mov dword [ecx], esi
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
jmp 0x47fc74
lea edi, [ebx + 4]
push 6
call fcn.0048cb55
push 5
mov eax, edi
call fcn.0048cae0
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jne 0x47fdc2
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 0x47feaa
mov eax, edi
call fcn.0048cae0
lea esi, [ebp + 0x1c]
call fcn.004053cd
jmp 0x47fb3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 0x1c]
mov esi, eax
call fcn.00402964
lea edi, [ebp - 0x10]
call fcn.00480607
jmp 0x47faad
lea ecx, [ebp + 0x1c]
call fcn.00402964
lea edi, [ebp - 0x10]
call fcn.00480607
mov esi, 0xe0000013
jmp 0x47faad
lea ecx, [ebp + 0x1c]
call fcn.00402964
lea edi, [ebp - 0x10]
call fcn.00480607
mov esi, 0xe0000010
jmp 0x47faad
mov eax, dword [ebp + 0x28]
mov dword [eax], esi
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x1c]
mov dword [eax], esi
call fcn.00402964
lea edi, [ebp - 0x10]
call fcn.00480607
mov esi, 0xe0000016
jmp 0x47faad
lea eax, [ebx + 4]
call fcn.0048cae0
lea ecx, [ebp + 8]
call fcn.00402964
lea ecx, [ebp + 0x14]
call fcn.00402964
lea ecx, [ebp + 0x20]
call fcn.00402964
lea ecx, [ebp + 0x1c]
call fcn.00402964
lea edi, [ebp - 0x10]
call fcn.00480607
mov esi, 0xe0000012
jmp 0x47faad
cmp eax, esi
jne 0x47feb2
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
jmp 0x47feb2
lea eax, [ebx + 4]
call fcn.0048cae0
lea ecx, [ebp + 0x1c]
call fcn.00402964
lea edi, [ebp - 0x10]
call fcn.00480607
mov esi, dword [ebp + 0x24]
jmp 0x47faad
mov eax, dword [ebp + 0x28]
mov dword [eax], esi
mov eax, dword [ebp + 0x2c]
lea ecx, [ebp + 0x1c]
mov dword [eax], esi
call fcn.00402964
lea edi, [ebp - 0x10]
call fcn.00480607
mov esi, 0xe0000018
jmp 0x47faad