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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ebx, dword [eax]
test ebx, ebx
je 0x46cd00
mov eax, dword [ebx]
test eax, eax
je 0x46ceab
test esi, esi
je 0x46c76e
mov dword [ebx + 4], esi
mov eax, dword [esp + 0x7c]
lea ebp, [esp + 0x34]
test eax, eax
je 0x46c794
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], 0
mov eax, dword [eax]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.0055f420
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46c7a5
or dword [ebx + 0x448], 0x80
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00574d60
test eax, eax
mov esi, eax
js 0x46c9c8
test edi, edi
mov esi, 0x6866f6
cmovne esi, edi
mov dword [esp], esi
call fcn.0056e530
test eax, eax
mov dword [ebx + 0x420], eax
je 0x46c9c3
lea eax, [ebx + 0x20]
mov dword [esp + 8], 0x400
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.005588f0
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], 0x19
test eax, eax
je 0x46cd20
mov edx, dword [ebx + 4]
or dword [ebx + 0x448], 0x80
test edx, edx
je 0x46ce73
test byte [edx + 8], 1
jne 0x46ca40
xor esi, esi
mov eax, dword [ebx + 0x544]
mov dword [ebx + 0x4fc], esi
test eax, eax
je 0x46ca60
mov esi, dword [ebx + 0x550]
test esi, esi
je 0x46ca94
mov eax, dword [ebx + 0x508]
test eax, eax
je 0x46c88f
mov dword [esp + 8], 0x2c
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.00559630
test eax, eax
jle 0x46ce25
mov eax, dword [ebx + 0x4e8]
mov edx, dword [ebx + 0x4ec]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0041a2c0
mov eax, dword [ebx + 4]
test byte [eax + 8], 2
jne 0x46ca20
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x428], 0
mov dword [ebx + 0x42c], 0x80000000
mov dword [ebx + 0x430], 0
mov dword [ebx + 0x434], 0x80000000
test eax, eax
jg 0x46c9b0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46c91a
lea edx, [esp + 0x38]
mov dword [esp + 8], 0x6867ad
mov dword [esp + 0xc], edx
mov ecx, dword [ebx + 0x50c]
mov dword [esp], eax
lea edx, [ecx + 0x60]
mov dword [esp + 4], edx
call fcn.004309e0
test byte [ebx + 0x44a], 2
jne 0x46c93c
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x46c93c
mov dword [esp], ebx
call eax
test eax, eax
mov esi, eax
js 0x46c9c8
mov ecx, dword [ebx + 0x48c]
mov eax, dword [ebx + 0x50c]
test ecx, ecx
mov edx, dword [eax + 0x60]
je 0x46cad0
test edx, edx
je 0x46cadd
mov eax, dword [ebx + 0x49c]
mov dword [esp + 8], str.Discarding_ID3_tags_because_more_suitable_tags_were_found._n
mov dword [esp], ebx
and eax, 0x20000
cmp eax, 1
sbb eax, eax
and eax, 8
add eax, 0x10
mov dword [esp + 4], eax
call fcn.0056b9c0
mov eax, dword [ebx + 0x50c]
add eax, 0x60
mov dword [esp], eax
call fcn.0055f3c0
test byte [ebx + 0x49c], 8
je 0x46cadd
mov esi, 0xbebbb1b7
jmp 0x46c9fd
mov dword [esp], eax
call fcn.0056e410
test eax, eax
mov dword [ebx + 0xc], eax
jne 0x46cda0
mov esi, 0xfffffff4
lea edx, [esp + 0x38]
mov dword [esp], edx
call fcn.00430a70
mov dword [esp], ebp
call fcn.0055f3c0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x46c9ec
test byte [ebx + 0x448], 0x80
je 0x46ca10
mov eax, ebx
call fcn.0046af20
mov eax, dword [esp + 0x70]
mov dword [eax], 0
add esp, 0x5c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.004234e0
jmp 0x46c9ec
test edi, edi
je 0x46ca33
mov eax, edi
call fcn.0046b4c0
test eax, eax
jne 0x46ce55
mov esi, 0xffffffea
lea edx, [esp + 0x38]
jmp 0x46c9cc
mov dword [esp + 8], str.Custom_AVIOContext_makes_no_sense_and_will_be_ignored_with_AVFMT_NOFILE_format._n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
call fcn.0056b9c0
jmp 0x46c840
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46c864
mov edx, dword [eax + 0x80]
test edx, edx
je 0x46ce60
mov dword [esp], edx
call fcn.0056e530
test eax, eax
mov dword [ebx + 0x544], eax
jne 0x46c856
jmp 0x46c9c3
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46c864
mov eax, dword [eax + 0x84]
test eax, eax
je 0x46c864
mov dword [esp], eax
call fcn.0056e530
test eax, eax
mov dword [ebx + 0x550], eax
jne 0x46c864
jmp 0x46c9c3
mov dword [ebx + 0x48c], edx
mov dword [eax + 0x60], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x46cb52
mov eax, dword [ebx + 4]
mov edi, 0x6867f0
mov ecx, 4
mov eax, dword [eax]
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x46cca0
mov edi, 0x68553a
mov ecx, 4
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x46cca0
mov edi, 0x6867f4
mov ecx, 4
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x46cca0
mov edi, 0x6867f8
mov ecx, 4
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x46cca0
mov dword [esp + 8], str.demuxer_does_not_support_additional_id3_data__skipping_n
mov dword [esp + 4], 0x30
mov dword [esp], ebx
call fcn.0056b9c0
lea edx, [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 0x2c], edx
call fcn.00430a70
mov dword [esp], ebx
call fcn.0046c650
test eax, eax
mov esi, eax
mov edx, dword [esp + 0x2c]
js 0x46c9cc
test byte [ebx + 0x44a], 2
mov esi, dword [ebx + 0x50c]
jne 0x46cb9a
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x46cb9a
mov edx, dword [esi + 0x14]
or edx, dword [esi + 0x10]
je 0x46ced1
mov dword [esi + 0x28], 0x2625a0
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x46cc70
xor edi, edi
nop
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x2b8]
mov ebp, dword [eax + 0x28]
test ebp, ebp
je 0x46cc40
mov ecx, dword [esi + 0xe8]
mov eax, dword [eax + 0x10]
mov edx, dword [esi + 0xb0]
test ecx, ecx
je 0x46cbff
mov ebp, dword [edx + 4]
cmp dword [eax + 0x10], ebp
je 0x46cbff
mov dword [esp], ecx
call fcn.004d2ea0
mov eax, dword [esi + 0x2b8]
mov edx, dword [esi + 0xb0]
mov dword [esi + 0xe8], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004e8db0
test eax, eax
js 0x46cea3
mov eax, dword [esi + 0xb0]
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.004e8db0
test eax, eax
js 0x46cea3
mov eax, dword [esi + 0x2b8]
mov dword [eax + 0x28], 0
mov edx, dword [ebx + 0x18]
add edi, 1
cmp edi, edx
jb 0x46cbb0
test edx, edx
je 0x46cc70
mov eax, dword [ebx + 0x1c]
lea esi, [eax + edx*4]
mov edx, dword [eax]
add eax, 4
cmp esi, eax
mov ecx, dword [edx + 0x2b8]
mov edx, dword [edx + 0xb0]
mov edx, dword [edx + 4]
mov dword [ecx + 0x18], edx
jne 0x46cc55
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x46cc8e
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.0055f3c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
mov eax, dword [esp + 0x70]
xor esi, esi
mov dword [eax], ebx
jmp 0x46c9fd
lea edx, [esp + 0x38]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 0x2c], edx
call fcn.00430b30
test eax, eax
mov esi, eax
mov edx, dword [esp + 0x2c]
js 0x46c9cc
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00430c60
test eax, eax
mov esi, eax
mov edx, dword [esp + 0x2c]
js 0x46c9cc
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00430f40
test eax, eax
mov esi, eax
mov edx, dword [esp + 0x2c]
jns 0x46cb56
jmp 0x46c9cc
call fcn.0045fa20
test eax, eax
mov ebx, eax
jne 0x46c75d
mov esi, 0xfffffff4
jmp 0x46c9fd
mov eax, dword [ebx + 4]
test eax, eax
je 0x46cde0
test byte [eax + 8], 1
jne 0x46ce10
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x4dc]
mov dword [esp + 8], edi
mov dword [esp], ebx
or eax, 1
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x10]
mov dword [esp + 4], eax
call dword [ebx + 0x548]
test eax, eax
mov esi, eax
js 0x46c9c8
mov eax, dword [ebx + 4]
test eax, eax
jne 0x46c840
mov eax, dword [ebx + 0x500]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 0x14], eax
lea eax, [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call fcn.0042df60
mov esi, eax
jmp 0x46ce14
mov edx, dword [ebx + 4]
mov edx, dword [edx + 0x14]
test edx, edx
je 0x46c8ee
mov dword [eax], edx
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00572a70
mov dword [esp + 4], ebp
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.00574d60
test eax, eax
mov esi, eax
jns 0x46c8ee
jmp 0x46c9c8
lea eax, [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.0042dee0
test eax, eax
mov dword [ebx + 4], eax
je 0x46cd35
mov esi, esi
lea edi, [edi]
mov esi, dword [esp + 0x3c]
test esi, esi
lea edx, [esp + 0x38]
js 0x46c9cc
jmp 0x46c842
mov eax, dword [ebx + 0x508]
mov dword [esp + 8], str.Format_not_on_whitelist__s_n
mov esi, 0xffffffea
mov dword [esp + 4], 0x10
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.0056b9c0
lea edx, [esp + 0x38]
jmp 0x46c9cc
mov eax, dword [ebx + 4]
jmp 0x46c8bb
mov edx, dword [ebx + 0x550]
test edx, edx
jne 0x46c864
jmp 0x46ca9f
mov edx, dword [ebx + 0x500]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 0x14], edx
lea edx, [ebx + 4]
mov dword [esp + 4], edx
call fcn.0042df60
mov esi, eax
jmp 0x46ce14
mov edx, dword [ebx + 0x18]
jmp 0x46cc4b
mov dword [esp + 8], str.Input_context_has_not_been_properly_allocated_by_avformat_alloc_context___and_is_not_NULL_either_n
mov dword [esp + 4], 0x10
mov esi, 0xffffffea
mov dword [esp], 0
call fcn.0056b9c0
jmp 0x46c9fd
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call fcn.00419560
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [ebx + 0x50c]
jmp 0x46cb9a