Function at 0x484460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x48], 0
mov eax, esi
call fcn.00483a50
test eax, eax
je 0x484712
test byte [esp + 0x78], 1
mov edi, eax
je 0x48449a
mov eax, dword [eax + 0x14]
test eax, eax
je 0x484a21
test byte [esp + 0x78], 2
je 0x4844ac
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4849f5
mov dword [esp], esi
call sub.msvcrt.dll_strlen
add eax, 0x41
mov dword [esp], eax
call fcn.0056e410
test eax, eax
mov ebx, eax
mov dword [esp + 0x4c], eax
je 0x4846f0
mov dword [eax], str.URLContext
lea eax, [eax + 0x40]
mov dword [ebx + 0xc], eax
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.msvcrt.dll_strcpy
mov eax, dword [esp + 0x78]
mov dword [ebx + 4], edi
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x484810
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x48451f
mov eax, dword [esp + 0x7c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x20], eax
mov edi, dword [esp + 0x8c]
mov dword [ebp], ebx
test edi, edi
je 0x484540
mov eax, dword [esp + 0x8c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.005757a0
mov esi, dword [esp + 0x80]
test esi, esi
je 0x484781
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.00574d60
test eax, eax
mov esi, eax
js 0x48467c
mov eax, dword [ebp]
mov edx, dword [eax + 4]
mov edx, dword [edx + 0x40]
test edx, edx
je 0x48459c
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00574d60
test eax, eax
mov esi, eax
js 0x48467c
mov ebx, dword [esp + 0x84]
test ebx, ebx
je 0x4845f2
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.protocol_whitelist
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0055e860
test eax, eax
je 0x4845f2
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x484a4d
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x484648
mov eax, dword [esp + 0x80]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.protocol_blacklist
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0055e860
test eax, eax
je 0x484648
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x484b2b
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], 0
mov dword [esp + 4], str.protocol_whitelist
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0055e9c0
test eax, eax
mov esi, eax
jns 0x484791
mov ebx, dword [ebp]
test ebx, ebx
mov dword [esp + 0x4c], ebx
je 0x4846d8
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 4]
test edx, edx
je 0x4846a0
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4846a0
mov dword [esp], ebx
call edx
mov eax, dword [ebx + 4]
mov edi, dword [eax + 0x3c]
test edi, edi
je 0x4846c4
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4846b9
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.00572bc0
lea eax, [ebx + 8]
mov dword [esp], eax
call fcn.0056e3f0
mov dword [esp], ebx
call fcn.00572bc0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.0056e3f0
mov dword [ebp], 0
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [esp + 0x4c]
mov dword [ebp], 0
mov esi, 0xfffffff4
mov dword [esp], edi
call fcn.0056e3f0
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.https:
mov dword [esp], esi
call fcn.00558720
test eax, eax
jne 0x484756
mov dword [esp], esi
mov dword [esp + 8], 0
mov esi, 0xb0adaf08
mov dword [esp + 4], str.tls:
call fcn.00558720
test eax, eax
je 0x484708
mov dword [esp + 8], str.https_protocol_not_found__recompile_FFmpeg_with_openssl__gnutls_or_securetransport_enabled._n
mov dword [esp + 4], 0x18
mov esi, 0xb0adaf08
mov dword [esp], 0
call fcn.0056b9c0
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x48]
mov dword [esp + 0x80], eax
jmp 0x48459c
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], 0
mov dword [esp + 4], str.protocol_blacklist
mov dword [esp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0055e9c0
test eax, eax
mov esi, eax
js 0x48467c
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.00574d60
test eax, eax
mov esi, eax
js 0x48467c
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.00483be0
test eax, eax
mov esi, eax
jne 0x48467c
jmp 0x484708
mov dword [esp], eax
call fcn.0056e410
mov dword [ebx + 8], eax
mov ebx, dword [esp + 0x4c]
mov esi, dword [ebx + 8]
test esi, esi
je 0x484a90
mov edx, dword [edi + 0x40]
test edx, edx
mov dword [esp + 0x2c], edx
je 0x484508
mov eax, dword [edi]
mov dword [esp], eax
call sub.msvcrt.dll_strlen
mov dword [esp + 4], 0x2c
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov dword [esi], edx
mov eax, dword [ebx + 8]
mov dword [esp], eax
call fcn.00572a70
mov ebx, dword [esp + 0x4c]
mov esi, dword [edi]
mov edi, dword [esp + 0x30]
mov edx, dword [ebx + 0xc]
mov dword [esp], esi
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov dword [esp + 0x2c], edx
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x484508
mov edx, dword [esp + 0x2c]
add edi, edx
cmp dword [esp + 0x38], edi
jne 0x484508
mov edi, str.subfile
mov ecx, 8
repe cmpsb byte [esi], byte es:[edi]
jne 0x484992
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x70], ebp
movsx eax, byte [ecx + 1]
add ecx, 2
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x3f], al
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
mov ebx, eax
je 0x484aec
cmp eax, dword [esp + 0x2c]
jbe 0x484af9
lea edx, [eax + 1]
mov eax, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 0x34], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strchr
test eax, eax
mov ebp, eax
mov edx, dword [esp + 0x34]
je 0x484aec
mov esi, dword [esp + 0x2c]
mov byte [ebx], 0
mov edi, str.start
mov byte [ebp], 0
mov ecx, 6
repe cmpsb byte [esi], byte es:[edi]
je 0x484aa5
mov esi, dword [esp + 0x2c]
mov edi, 0x6890a8
mov ecx, 4
repe cmpsb byte [esi], byte es:[edi]
je 0x484aa5
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], 0x6890ac
mov dword [esp + 4], 0x10
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0056b9c0
movzx eax, byte [esp + 0x3f]
mov edx, dword [esp + 0x30]
mov byte [ebx], al
mov byte [edx], al
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
mov dword [esp], ebx
lea edi, [esp + 0x4c]
mov dword [esp + 8], str.Error_parsing_options_string__s_n
mov dword [esp + 4], 0x10
mov esi, 0xffffffea
mov dword [esp + 0xc], eax
call fcn.0056b9c0
mov eax, dword [esp + 0x4c]
add eax, 8
mov dword [esp], eax
call fcn.0056e3f0
mov dword [esp], edi
call fcn.0056e3f0
mov ebx, dword [esp + 0x4c]
mov dword [ebp], 0
test ebx, ebx
je 0x484700
add ebx, 8
mov dword [esp], ebx
call fcn.0056e3f0
jmp 0x484700
mov eax, dword [edi]
mov dword [esp + 8], str.Impossible_to_open_the__s_protocol_for_writing_n
mov esi, 0xfffffffb
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.0056b9c0
jmp 0x484708
mov eax, dword [edi]
mov dword [esp + 8], str.Impossible_to_open_the__s_protocol_for_reading_n
mov esi, 0xfffffffb
mov dword [esp + 4], 0x10
mov dword [esp], 0
mov dword [esp + 0xc], eax
call fcn.0056b9c0
jmp 0x484708
mov dword [esp + 0x14], 0x14b
mov dword [esp + 0x10], str.libavformat_avio.c
mov dword [esp + 0xc], str._whitelist____eav_dict_get_options___protocol_whitelist_____void__0___0_____strcmp_whitelist__e__value_
mov dword [esp + 8], 0x688ee6
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0056b9c0
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]
mov dword [ebp], 0
mov esi, 0xfffffff4
lea edi, [esp + 0x4c]
jmp 0x4849e5
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.00573870
cmp eax, 0xabafb008
je 0x484955
movzx ecx, byte [esp + 0x3f]
test eax, eax
mov byte [ebx], cl
mov byte [ebp], cl
lea ecx, [ebp + 1]
mov dword [esp + 0x2c], ecx
jns 0x4848d5
mov ebp, dword [esp + 0x70]
mov ebx, dword [esp + 0x4c]
jmp 0x484992
mov ebp, dword [esp + 0x70]
jne 0x484af0
mov edi, dword [esp + 0x2c]
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov dword [esp + 8], eax
lea eax, [edi + 1]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov ebx, dword [esp + 0x4c]
jmp 0x484508
mov dword [esp + 0x14], 0x14e
mov dword [esp + 0x10], str.libavformat_avio.c
mov dword [esp + 0xc], str._blacklist____eav_dict_get_options___protocol_blacklist_____void__0___0_____strcmp_blacklist__e__value_
jmp 0x484a65