Function at 0x10091ba0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x442c
call fcn.1000120d
mov eax, dword [0x10266634]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x400
mov dword [ebp - 0x4420], eax
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 0x4424], ebx
mov dword [ebp - 0x441c], 0x102015c0
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x2410]
mov dword [ebp - 0x4428], 0
mov dword [ebp - 0x442c], edi
push dword [edi + 0x2040]
push 0x1000
push eax
lea eax, [ebp - 0x4414]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x400
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x10]
push 0xa
push eax
call sym.avformat_58.dll_av_url_split
push 0
push dword [ebp - 0x4414]
lea eax, [ebp - 0x410]
push eax
push 0
push 0
lea eax, [ebp - 0x1410]
push 0x400
push eax
call fcn.10001983
mov ebx, dword [edi + 0x2704]
add esp, 0x50
mov esi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov dword [ebp - 0x4418], ebx
test ebx, ebx
jne 0x10091c87
push str.http_proxy
call esi
add esp, 4
mov dword [ebp - 0x4418], eax
mov ebx, eax
lea eax, [ebp - 0x410]
push eax
push str.no_proxy
call esi
add esp, 4
push eax
call fcn.10001645
add esp, 8
test eax, eax
jne 0x10091cc3
test ebx, ebx
je 0x10091cc3
push eax
push str.http:__
push ebx
call sub.avutil_56.dll_av_strstart
add esp, 0xc
test eax, eax
je 0x10091cc3
mov ebx, 1
jmp 0x10091cc5
xor ebx, ebx
mov ecx, str.https
lea eax, [ebp - 0x10]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10091cf0
test dl, dl
je 0x10091cec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10091cf0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10091cd0
xor eax, eax
jmp 0x10091cf5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10091d42
mov eax, dword [ebp - 0x4414]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x441c], 0x10203268
mov ecx, 0x1bb
cmovs eax, ecx
mov dword [ebp - 0x4414], eax
mov ecx, dword [edi + 0x2704]
test ecx, ecx
je 0x10091d48
push ebx
push ecx
push str.http_proxy
push dword [ebp - 0x4420]
call sub.avutil_56.dll_av_dict_set
add esp, 0x10
test eax, eax
js 0x10091ec3
mov eax, dword [ebp - 0x4414]
test eax, eax
mov ecx, 0x50
push 0x23
cmovs eax, ecx
mov dword [ebp - 0x4414], eax
lea eax, [ebp - 0x2410]
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
je 0x10091d70
mov byte [eax], 0
mov al, byte [ebp - 0x2410]
test al, al
jne 0x10091d81
mov esi, 0x1020acb0
jmp 0x10091db3
cmp al, 0x3f
jne 0x10091dad
lea eax, [ebp - 0x2410]
push eax
push 0x1020acb4
lea eax, [ebp - 0x3410]
push 0x1000
push eax
call fcn.10001794
add esp, 0x10
lea esi, [ebp - 0x3410]
jmp 0x10091db3
lea esi, [ebp - 0x2410]
mov edi, esi
test ebx, ebx
je 0x10091e24
lea eax, [ebp - 0x2410]
push eax
push 0x101eea18
push dword [ebp - 0x4414]
lea eax, [ebp - 0x410]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4410]
push 0x1000
push eax
call fcn.10001983
push dword [ebp - 0x4418]
lea eax, [ebp - 0x4414]
push 0
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0
push 0
lea esi, [ebp - 0x4410]
call sym.avformat_58.dll_av_url_split
add esp, 0x48
push 0
push dword [ebp - 0x4414]
lea eax, [ebp - 0x410]
push eax
push 0
push dword [ebp - 0x441c]
lea eax, [ebp - 0xc10]
push 0x400
push eax
call fcn.10001983
mov ecx, dword [ebp - 0x442c]
add esp, 0x1c
add ecx, 4
cmp dword [ecx], 0
jne 0x10091e8a
mov eax, dword [ebp - 0x4424]
push eax
push dword [eax + 0x34]
push dword [eax + 0x30]
add eax, 0x20
push dword [ebp - 0x4420]
push eax
push 3
lea eax, [ebp - 0xc10]
push eax
push ecx
call fcn.10001ab9
add esp, 0x20
test eax, eax
js 0x10091ec3
lea eax, [ebp - 0x4428]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1410]
push eax
push edi
push esi
push dword [ebp - 0x4424]
call fcn.10090920
mov ecx, dword [ebp - 0x4428]
add esp, 0x1c
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100014c9
mov esp, ebp
pop ebp
ret