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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
push ebx
push esi
push edi
push 0x66
pop esi
mov edi, eax
push esi
call fcn.0042236c
xor ebx, ebx
push 0x80000
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.004a0866
test al, al
je 0x4a8806
mov eax, dword [edi + 0x78]
cmp dword [eax + 4], ebx
jne 0x4a87f0
mov dword [esp + 0x10], ebx
push ebx
push esi
mov edx, str.Windows_Media_Video_8
mov eax, edi
call fcn.004223fb
mov dword [esp + 0x14], 1
push 0x90000
call fcn.004a0866
test al, al
je 0x4a8855
mov eax, dword [edi + 0x78]
cmp dword [eax + 4], 1
jne 0x4a8825
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
push 1
push esi
mov edx, str.Windows_Media_Video_9
mov eax, edi
call fcn.004223fb
mov eax, dword [edi + 0x78]
cmp dword [eax + 4], 2
jne 0x4a8846
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x10], eax
push 2
push esi
mov edx, 0x574808
mov eax, edi
call fcn.004223fb
push dword [esp + 0x10]
mov eax, edi
push esi
call fcn.00402ed9
push 0x68
pop esi
push esi
mov dword [esp + 0x20], 0x53d6c0
mov dword [esp + 0x24], str.1024
mov dword [esp + 0x28], str.2048
mov dword [esp + 0x2c], str.4096
mov dword [esp + 0x30], str.8192
mov dword [esp + 0x34], str.16384
mov dword [esp + 0x38], ebx
call fcn.0042236c
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00472cc9
push esi
mov eax, edi
call fcn.004224ca
mov eax, dword [edi + 0x78]
mov eax, dword [eax + 8]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ecx, 0x200
cmp eax, ecx
jl 0x4a88cb
mov ecx, eax
push 1
push ecx
push esi
push dword [edi + 4]
call dword [0x5227d8]
lea esi, [edi + 0x39]
push edi
xor eax, eax
mov byte [esi + 4], 1
call fcn.0046506a
fld qword [0x57d5d8]
mov eax, dword [edi + 0x78]
fstp qword [edi + 0x46]
fldz
fstp qword [edi + 0x3e]
fld1
fstp qword [edi + 0x4e]
mov eax, dword [eax + 0x15]
test eax, eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jge 0x4a8912
fadd qword [0x57d570]
push ecx
push ecx
fstp qword [esp]
call fcn.00464fa2
mov eax, dword [edi + 0x78]
push dword [eax + 0x15]
mov esi, dword [0x52273c]
push 1
push 0x405
push 0x6e
push dword [edi + 4]
call esi
push 0x74
call fcn.0042236c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
lea ebx, [edi + 0x80]
mov ecx, ebx
call fcn.0049fada
test eax, eax
jbe 0x4a89b7
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x1c]
mov ecx, ebx
call fcn.0049fb5e
test al, al
je 0x4a89a6
push dword [esp + 0x18]
mov ecx, ebx
call fcn.0049fb04
test eax, eax
je 0x4a89a6
push dword [esp + 0x18]
lea edx, [esp + 0x3c]
push 0x74
mov eax, edi
call fcn.004223fb
mov eax, dword [edi + 0x78]
mov eax, dword [eax + 0xc]
cmp eax, dword [esp + 0x18]
jne 0x4a89a2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
inc dword [esp + 0x14]
inc dword [esp + 0x18]
mov ecx, ebx
call fcn.0049fada
cmp dword [esp + 0x18], eax
jb 0x4a895a
push dword [esp + 0x10]
mov eax, edi
push 0x74
call fcn.00402ed9
mov eax, edi
call fcn.004a8bc0
push 0
push 0
push 0x14e
push 0x76
pop ebx
push ebx
push dword [edi + 4]
call esi
push ebx
mov eax, edi
xor esi, esi
call fcn.00422428
test eax, eax
jle 0x4a8a12
push esi
push ebx
mov eax, edi
call fcn.004223d7
mov ecx, dword [edi + 0x78]
cmp eax, dword [ecx + 0x10]
mov eax, edi
je 0x4a8a0b
push ebx
inc esi
call fcn.00422428
cmp esi, eax
jl 0x4a89eb
jmp 0x4a8a12
push esi
push ebx
call fcn.00402ed9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret