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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebx + 0x1c]
mov dword [esp], esi
call fcn.00562860
mov dword [esp], ebx
call fcn.004e86c0
test eax, eax
je 0x4a0790
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call fcn.004e3510
test eax, eax
je 0x4a0790
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax + 0xf8]
test ecx, ecx
je 0x4a05d0
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00562880
mov edx, dword [ebx + 8]
test edx, edx
je 0x4a05e8
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x168]
add eax, 1
and edx, 0x20
mov dword [ebx + 0x168], eax
je 0x4a05c0
cmp eax, 1
je 0x4a0733
jle 0x4a05c0
mov edx, dword [esi + 0x50]
cmp dword [edi + 0x78], edx
setne byte [esp + 0x4c]
movzx edx, byte [esp + 0x4c]
mov ecx, edx
mov edx, dword [ebx + 8]
test edx, edx
je 0x4a0704
cmp edx, 1
jne 0x4a0726
mov edx, dword [edi + 0x84]
cmp edx, dword [esi + 0xe8]
je 0x4a07a0
mov ecx, dword [edi + 0x74]
lea edx, [ecx + 1]
mov dword [edi + 0x74], edx
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.dropped_changed_frame__d_pts__lld_drop_count:__d__n
mov dword [esp + 4], 0x20
mov dword [esp], ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.0056b9c0
mov dword [esp], esi
call fcn.00562860
mov eax, 0x9c9198ff
jmp 0x4a05c2
mov eax, dword [esi + 0x44]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x80], eax
nop
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, esi
mov eax, ebx
call fcn.0049f3f0
test eax, eax
js 0x4a05c2
mov edx, dword [ebx + 8]
test edx, edx
jne 0x4a0508
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
mov edx, dword [esi + 0x18c]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x180]
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov eax, 0x7fffffff
mov ecx, eax
sub ecx, edx
cmp dword [esp + 0x4c], ecx
jae 0x4a0690
mov ecx, dword [esp + 0x44]
sub eax, ecx
cmp eax, dword [esp + 0x48]
jbe 0x4a0690
mov eax, dword [esp + 0x4c]
add eax, edx
cmp eax, dword [esp + 0x40]
jae 0x4a0690
mov eax, dword [esp + 0x48]
add eax, ecx
cmp eax, dword [esp + 0x3c]
jae 0x4a0690
mov eax, dword [ebx + 0x378]
mov edx, dword [ebx + 0x3c]
test eax, eax
je 0x4a050b
and edx, 1
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.005644a0
test eax, eax
jns 0x4a0508
mov dword [esp], esi
mov dword [esp + 0x4c], eax
call fcn.00562860
mov eax, dword [esp + 0x4c]
jmp 0x4a05c2
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 8], str.Invalid_cropping_information_set_by_a_decoder:__zu__zu__zu__zu__frame_size__dx_d_._This_is_a_bug__please_report_it_n
mov dword [esp + 4], 0x18
mov dword [esp], ebx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
call fcn.0056b9c0
mov dword [esi + 0x188], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x180], 0
mov dword [esi + 0x184], 0
mov edx, dword [ebx + 0x3c]
jmp 0x4a050b
mov edx, dword [esi + 0x44]
cmp dword [edi + 0x7c], edx
jne 0x4a056a
mov edx, dword [esi + 0x48]
cmp dword [edi + 0x80], edx
movzx ecx, byte [esp + 0x4c]
setne dl
or ecx, edx
movzx ecx, cl
test ecx, ecx
je 0x4a05c0
jmp 0x4a056a
mov eax, dword [esi + 0x50]
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 8]
test eax, eax
je 0x4a05b0
cmp eax, 1
jne 0x4a05c0
mov eax, dword [esi + 0xe8]
test eax, eax
jne 0x4a075d
mov eax, dword [ebx + 0x158]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x160]
mov edx, dword [esi + 0xf4]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 0xf0]
mov dword [edi + 0x94], edx
mov dword [edi + 0x90], eax
xor eax, eax
jmp 0x4a05c2
mov eax, 0xffffffea
jmp 0x4a05c2
cmp edx, dword [ebx + 0x158]
jne 0x4a056a
mov edx, dword [esi + 0x160]
cmp dword [edi + 0x88], edx
jne 0x4a056a
mov edx, dword [edi + 0x90]
xor edx, dword [esi + 0xf0]
mov ecx, edx
mov edx, dword [edi + 0x94]
xor edx, dword [esi + 0xf4]
or ecx, edx
movzx ecx, byte [esp + 0x4c]
setne dl
or ecx, edx
movzx ecx, cl
jmp 0x4a0726