Function at 0x45e274
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [eax]
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 3
push dword [ebp + 0x1c]
mov edi, ecx
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
mov eax, edi
call fcn.0045e6bf
cmp eax, ebx
jne 0x45e30e
mov eax, dword [edi]
mov dword [edi + 8], eax
mov esi, 0x8440c000
cmp byte [ebp + 0x28], bl
je 0x45e2b2
mov esi, 0x84c0c000
cmp byte [ebp + 0x24], bl
je 0x45e2bd
or esi, 0x200000
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x10], 0x4c8508
mov dword [ebp - 0xc], ebx
call fcn.00419e44
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
je 0x45e2e9
push ecx
push eax
lea eax, [ebp + 8]
call fcn.00434240
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov eax, edi
push dword [ebp + 0xc]
push dword [edi + 8]
call fcn.0045e714
cmp eax, ebx
je 0x45e315
mov esi, eax
lea ecx, [ebp + 8]
call fcn.00403d84
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x2c
lea eax, [ebp + 0x1c]
push eax
call fcn.00403dfc
mov esi, dword [ebp + 0x2c]
cmp dword [esi], ebx
jbe 0x45e358
lea eax, [ebp + 0x28]
push eax
call fcn.00403dfc
push dword [esi]
lea eax, [ebp + 0x28]
push str.Range:_bytes_u__r_n
push eax
call fcn.004399be
mov eax, dword [ebp + 0x28]
add esp, 0xc
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x1c]
call fcn.00434240
lea ecx, [ebp + 0x28]
call fcn.00403d84
mov eax, dword [edi + 0x44]
cmp eax, ebx
je 0x45e369
push eax
lea eax, [ebp + 0x1c]
push eax
call fcn.004341c7
mov ecx, dword [edi + 0x18]
cmp ecx, ebx
je 0x45e374
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax - 0xc]
push dword [edi + 0x5c]
mov dword [ebp + 0x18], esi
neg esi
sbb esi, esi
and esi, eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov dword [edi + 0x34], 7
mov byte [edi + 0x38], bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push dword [ebp + 0x18]
push esi
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x45e3b9
mov esi, edi
call fcn.0045e7c1
cmp eax, ebx
jne 0x45e3c6
cmp dword [edi + 0x30], ebx
je 0x45e3c3
mov dword [ebp + 0x18], ebx
jmp 0x45e3c9
mov eax, dword [edi + 0x2c]
mov dword [ebp + 0x18], eax
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x28]
push eax
push 0x20000013
push dword [edi]
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0xc], 4
call esi
test eax, eax
je 0x45e615
push ebx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x24]
push eax
push 0x20000005
push dword [edi]
call esi
test eax, eax
jne 0x45e40e
mov dword [ebp + 0x24], eax
jmp 0x45e411
mov eax, dword [ebp + 0x24]
cmp byte [edi + 0x58], bl
je 0x45e44e
cmp dword [ebp + 0x28], 0x130
je 0x45e44e
push ebx
lea ecx, [ebp - 8]
push ecx
lea eax, [edi + 0x48]
push eax
push 0x4000000b
push dword [edi]
mov dword [ebp - 8], 0x10
call esi
test eax, eax
jne 0x45e44b
push 0x10
lea eax, [edi + 0x48]
push ebx
push eax
call fcn.0048a3e0
add esp, 0xc
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov ecx, 0x193
cmp edx, ecx
ja 0x45e59c
je 0x45e64e
mov ecx, edx
sub ecx, 0xc8
je 0x45e580
sub ecx, 6
je 0x45e567
sub ecx, 0x62
je 0x45e62a
sub ecx, 0x61
jne 0x45e5bc
mov dword [ebp + 0x18], 0xe0000012
mov eax, dword [ebp + 0x2c]
mov dword [eax], ebx
mov eax, dword [ebp + 0x30]
mov dword [eax], ebx
mov esi, dword [ebp + 0x18]
cmp esi, 0x2f0d
je 0x45e5cb
cmp esi, 0x2f0c
je 0x45e5cb
cmp esi, 0x2f06
je 0x45e5cb
cmp esi, 0x2f05
je 0x45e5cb
cmp esi, 0xe0000012
jne 0x45e61d
push 7
call fcn.0045ef2c
push 5
pop ecx
mov eax, edi
call fcn.0045e8af
lea eax, [ebp + 0x20]
push eax
call fcn.00403dfc
lea eax, [ebp + 0x14]
push eax
call fcn.00403dfc
lea eax, [ebp + 0x10]
push eax
call fcn.00403dfc
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x28]
push dword [edi]
call fcn.0045ee63
cmp dword [ebp + 0x28], 0x197
lea ecx, [ebp + 0x20]
sete al
movzx eax, al
push eax
lea eax, [ebp + 0x10]
push eax
push dword [edi]
lea eax, [ebp + 0x14]
mov esi, edi
call fcn.0045eed6
push 4
test al, al
pop ecx
mov eax, edi
je 0x45e66a
call fcn.0045e8af
lea ecx, [ebp + 0x10]
call fcn.00403d84
lea ecx, [ebp + 0x14]
call fcn.00403d84
lea ecx, [ebp + 0x20]
call fcn.00403d84
jmp 0x45e374
cmp eax, ebx
je 0x45e494
mov ecx, dword [ebp + 0x2c]
mov ecx, dword [ecx]
add ecx, eax
mov eax, dword [ebp + 0x30]
mov dword [eax], ecx
jmp 0x45e49e
mov ecx, dword [ebp + 0x30]
mov dword [ecx], eax
cmp eax, ebx
jbe 0x45e594
mov ecx, dword [ebp + 0x2c]
cmp dword [ecx], eax
jae 0x45e63c
mov eax, dword [ebp + 0x2c]
jmp 0x45e49c
mov ecx, edx
sub ecx, 0x194
je 0x45e6a3
sub ecx, 3
je 0x45e48d
sub ecx, 3
je 0x45e6a3
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], ebx
mov ecx, dword [ebp + 0x30]
mov dword [ecx], eax
jmp 0x45e49e
push 6
call fcn.0045ef2c
push 5
pop ecx
mov eax, edi
call fcn.0045e8af
mov eax, dword [edi + 0x70]
cmp eax, ebx
jne 0x45e5e9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebx
push 7
push esi
push dword [edi]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
push 4
test eax, eax
pop ecx
mov eax, edi
jne 0x45e699
call fcn.0045e8af
lea esi, [ebp + 0x1c]
call fcn.0040a69a
jmp 0x45e374
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp + 0x1c]
call fcn.00403d84
jmp 0x45e304
lea ecx, [ebp + 0x1c]
call fcn.00403d84
mov esi, 0xe0000013
jmp 0x45e304
lea ecx, [ebp + 0x1c]
call fcn.00403d84
mov esi, 0xe0000010
jmp 0x45e304
mov eax, dword [ebp + 0x2c]
mov dword [eax], ebx
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x1c]
mov dword [eax], ebx
call fcn.00403d84
mov esi, 0xe0000016
jmp 0x45e304
call fcn.0045e8af
lea ecx, [ebp + 0x10]
call fcn.00403d84
lea ecx, [ebp + 0x14]
call fcn.00403d84
lea ecx, [ebp + 0x20]
call fcn.00403d84
lea ecx, [ebp + 0x1c]
call fcn.00403d84
mov esi, 0xe0000012
jmp 0x45e304
call fcn.0045e8af
jmp 0x45e61d
mov eax, dword [ebp + 0x2c]
mov dword [eax], ebx
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x1c]
mov dword [eax], ebx
call fcn.00403d84
mov esi, 0xe0000018
jmp 0x45e304