Function at 0x100075b5
Capabilities:
Get http content length

Disassembly:
push 0x24
mov eax, 0x10031fac
call fcn.10022f29
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
xor edi, edi
push edi
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
mov eax, ebx
call fcn.10007b1a
cmp eax, edi
jne 0x10007675
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
cmp byte [ebp + 0x24], 0
mov esi, 0x8440c000
je 0x10007606
mov esi, 0x84c0c000
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
sub eax, 0x10
mov dword [ebp - 0x30], 0x10037974
mov dword [ebp - 0x2c], edi
call fcn.10002462
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
je 0x1000763d
push ecx
push eax
lea eax, [ebp + 8]
call fcn.10001efd
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
mov eax, ebx
push dword [ebx + 0x18]
call fcn.10007b71
cmp eax, edi
je 0x1000767d
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100024ba
push edi
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, esi
call fcn.10023001
ret 0x28
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
mov eax, dword [0x10043e48]
mov esi, 0x10043e48
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x28]
mov byte [ebp - 4], 3
cmp dword [eax], edi
jbe 0x100076ed
mov eax, dword [0x10043e48]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x28]
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp + 0x10]
push str.Range:_bytes_u__r_n
call fcn.10001e34
mov esi, dword [ebp + 0x10]
pop ecx
pop ecx
push dword [esi - 0xc]
lea eax, [ebp + 0x24]
push esi
call fcn.10001efd
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.100024ba
mov eax, dword [ebx + 0x50]
cmp dword [eax - 0xc], edi
je 0x10007701
push dword [eax - 0xc]
push eax
lea eax, [ebp + 0x24]
call fcn.10001efd
mov ecx, dword [ebx + 0x24]
cmp ecx, edi
je 0x1000770c
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax - 0xc]
push dword [ebx + 0x68]
mov esi, eax
neg esi
sbb esi, esi
and esi, eax
neg eax
sbb eax, eax
and eax, dword [ebp + 0x24]
mov dword [ebx + 0x40], 7
mov dword [ebp + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x18], eax
mov byte [ebx + 0x44], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x1000775c
mov esi, ebx
call fcn.10007c24
cmp eax, edi
jne 0x10007769
cmp dword [ebx + 0x3c], edi
je 0x10007766
mov dword [ebp + 0x10], edi
jmp 0x1000776c
mov eax, dword [ebx + 0x38]
mov dword [ebp + 0x10], eax
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
push 0x20000013
push dword [ebx + 0x14]
mov dword [ebp + 0x18], edi
mov dword [ebp - 0x14], 4
call esi
test eax, eax
je 0x100079fd
push edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x1c]
push eax
push 0x20000005
push dword [ebx + 0x14]
mov dword [ebp + 0x1c], edi
call esi
test eax, eax
jne 0x100077b6
mov dword [ebp + 0x1c], eax
jmp 0x100077b9
mov eax, dword [ebp + 0x1c]
cmp byte [ebx + 0x64], 0
je 0x100077f8
cmp dword [ebp + 0x18], 0x130
je 0x100077f8
push edi
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebx + 0x54]
push eax
push 0x4000000b
push dword [ebx + 0x14]
mov dword [ebp - 0x18], 0x10
call esi
test eax, eax
jne 0x100077f5
push 0x10
lea eax, [ebx + 0x54]
push edi
push eax
call fcn.10020bd0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov ecx, 0x193
cmp edx, ecx
ja 0x1000797c
je 0x10007a53
mov ecx, edx
sub ecx, 0xc8
je 0x10007960
sub ecx, 6
je 0x10007947
sub ecx, 0x62
je 0x10007a1f
sub ecx, 0x61
jne 0x1000799c
mov dword [ebp + 0x10], 0xe0000012
mov eax, dword [ebp + 0x28]
mov dword [eax], edi
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
mov esi, dword [ebp + 0x10]
cmp esi, 0x2f0d
je 0x100079ab
cmp esi, 0x2f0c
je 0x100079ab
cmp esi, 0x2f06
je 0x100079ab
cmp esi, 0x2f05
je 0x100079ab
cmp esi, 0xe0000012
jne 0x10007abd
lea edi, [ebx + 4]
push 7
call fcn.10008457
push 5
mov eax, edi
call fcn.100083e2
mov eax, dword [0x10043e48]
mov esi, 0x10043e48
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x20], eax
mov byte [ebp - 4], 5
mov eax, dword [0x10043e48]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
mov byte [ebp - 4], 6
mov eax, dword [0x10043e48]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 7
push dword [ebp + 0x18]
push dword [ebx + 0x14]
call fcn.10008236
cmp dword [ebp + 0x18], 0x197
lea ecx, [ebp + 0x20]
sete al
movzx eax, al
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebx + 0x14]
lea eax, [ebp + 0x14]
mov esi, ebx
call fcn.100082cd
push 4
test al, al
je 0x10007a77
mov eax, edi
call fcn.100083e2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.100024ba
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.100024ba
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
call fcn.100024ba
jmp 0x100079f6
cmp eax, edi
je 0x1000783e
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx]
add ecx, eax
mov eax, dword [ebp + 0x2c]
mov dword [eax], ecx
jmp 0x10007848
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
cmp eax, edi
jbe 0x10007974
mov ecx, dword [ebp + 0x28]
cmp dword [ecx], eax
jae 0x10007a39
mov eax, dword [ebp + 0x28]
jmp 0x10007846
mov ecx, edx
sub ecx, 0x194
je 0x10007af3
sub ecx, 3
je 0x10007837
sub ecx, 3
je 0x10007af3
mov ecx, dword [ebp + 0x28]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
jmp 0x10007848
lea edi, [ebx + 4]
push 6
call fcn.10008457
push 5
mov eax, edi
call fcn.100083e2
mov eax, dword [edi + 0xc]
mov esi, dword [ebx + 0x14]
test eax, eax
jne 0x100079ce
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
push 7
push dword [ebp + 0x10]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
push 4
test eax, eax
jne 0x10007ad0
mov eax, edi
call fcn.100083e2
lea esi, [ebp + 0x24]
call fcn.10002206
xor edi, edi
jmp 0x1000770c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.100024ba
lea edi, [ebp - 0x20]
call fcn.100083a8
xor edi, edi
jmp 0x10007655
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.100024ba
lea edi, [ebp - 0x20]
call fcn.100083a8
mov esi, 0xe0000013
jmp 0x10007a18
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.100024ba
lea edi, [ebp - 0x20]
call fcn.100083a8
mov esi, 0xe0000010
jmp 0x10007a18
mov eax, dword [ebp + 0x28]
mov dword [eax], edi
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.100024ba
lea edi, [ebp - 0x20]
call fcn.100083a8
mov esi, 0xe0000016
jmp 0x10007a18
lea eax, [ebx + 4]
call fcn.100083e2
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.100024ba
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.100024ba
mov eax, dword [ebp + 0x20]
add eax, 0xfffffff0
call fcn.100024ba
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.100024ba
lea edi, [ebp - 0x20]
call fcn.100083a8
mov esi, 0xe0000012
jmp 0x10007a18
cmp esi, edi
jne 0x10007a05
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
jmp 0x10007a05
lea eax, [ebx + 4]
call fcn.100083e2
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.100024ba
lea edi, [ebp - 0x20]
call fcn.100083a8
mov esi, dword [ebp + 0x10]
jmp 0x10007a18
mov eax, dword [ebp + 0x28]
mov dword [eax], edi
mov eax, dword [ebp + 0x2c]
mov dword [eax], edi
mov eax, dword [ebp + 0x24]
add eax, 0xfffffff0
call fcn.100024ba
lea edi, [ebp - 0x20]
call fcn.100083a8
mov esi, 0xe0000018
jmp 0x10007a18