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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x9c]
mov ebx, ecx
mov ecx, dword [edi + 0x98]
push eax
push ecx
call fcn.0043d490
mov edx, dword [edi + 0x9c]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x98]
push edx
push eax
call fcn.0043cdc0
add esp, 0x10
test al, al
je 0x49976f
mov ecx, dword [ebx + 0x188]
mov dword [esp + 0x20], ecx
fld qword [0x7320d0]
lea eax, [ebx + 0x188]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x30], eax
cmp eax, 0x18
jne 0x4997b3
cmp dword [esp + 0x20], 0x19
jne 0x4997b9
cmp dword [esi + 0xa0], 3
jne 0x4997a4
fstp st(0)
fld qword [ebx + 0x180]
jmp 0x4997d5
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x72f1f0]
jmp 0x4997c4
fstp st(0)
fild dword [esp + 0x30]
sub esp, 0x10
fstp qword [esp + 8]
fild dword [esp + 0x30]
fstp qword [esp]
call fcn.0043cd70
fmul qword [ebx + 0x180]
add esp, 0x10
mov eax, dword [0x8a3ae4]
fstp qword [esp + 0x38]
mov edx, dword [eax + 0x18c]
shr edx, 0x1b
test dl, 1
je 0x499c16
cmp dword [eax + 0x160], 0
je 0x499c16
mov ecx, dword [eax + 0x160]
sub ecx, 1
je 0x499934
sub ecx, 1
je 0x499825
sub ecx, 1
je 0x49997b
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [esi + 0x158], 0
je 0x499840
mov ecx, dword [eax + 0x18c]
shr ecx, 4
test cl, 1
jne 0x499953
mov ecx, dword [edi + 0x98]
mov ebx, dword [edi + 0x9c]
mov edx, ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 0x18]
mov eax, ebx
mov dword [esp + 0x20], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x28], ecx
push eax
mov ecx, esi
call edx
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
push ebx
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call edx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov ecx, dword [0x8a3ae4]
push eax
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [ecx + 8]
push eax
push str._film_footage__d__editrate_override__d__d_____d__d_n
push edx
call fcn.00437100
fld qword [esp + 0x54]
mov eax, dword [edi + 0x134]
fadd qword [0x6eed50]
mov dword [esi + 0x43c], eax
mov cx, word [edi + 0x138]
add esp, 0x14
fstp qword [esp]
mov word [esi + 0x440], cx
call fcn.00640800
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x38], eax
add esp, 8
fldcw word [esp + 0x30]
fistp qword [esp + 0x38]
mov edx, dword [esp + 0x38]
add edx, dword [edi + 0x130]
mov dword [esi + 0x438], edx
mov ecx, dword [edi + 0x9c]
fldcw word [esp + 0x20]
mov edx, dword [edi + 0x98]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call edx
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp byte [esi + 0x158], 0
je 0x499ac1
mov ecx, dword [eax + 0x18c]
shr ecx, 4
test cl, 1
je 0x499ac1
mov edx, dword [esi + 0x18]
mov eax, dword [eax + 8]
push str.unsupportable
push edx
push str._film_footage__d__editrate_override__s_n
push eax
call fcn.00437100
mov edx, dword [ebx]
mov eax, dword [edx + 4]
add esp, 0x10
push 0x3f3
mov ecx, ebx
call eax
movzx eax, word [edi + 0x138]
test ax, ax
je 0x499996
mov ecx, dword [esp + 0x28]
movzx eax, ax
cmp eax, dword [ecx]
je 0x499996
mov dword [esp + 0x20], eax
mov edx, dword [edi + 0x134]
mov eax, 0x18
mov dword [esi + 0x43c], edx
mov word [esi + 0x440], ax
sub esp, 0x10
cmp word [edi + 0x138], 0x19
jne 0x499a41
fld qword [0x6fe560]
fstp qword [esp + 8]
fld qword [0x7320d0]
fstp qword [esp]
call fcn.0043cd70
mov ecx, dword [edi + 0x130]
fild dword [edi + 0x130]
test ecx, ecx
jge 0x4999ed
fadd qword [0x6ee4f8]
fadd qword [esp + 0x48]
add esp, 8
fmulp st(1)
fadd qword [0x6eed50]
fstp qword [esp]
call fcn.00640800
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x38], eax
add esp, 8
fldcw word [esp + 0x30]
fistp qword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [esi + 0x438], eax
or dword [esi + 0x5c], 0x10000000
xor al, al
fldcw word [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
fild dword [esp + 0x30]
fstp qword [esp + 8]
fld qword [0x7320d0]
fstp qword [esp]
call fcn.0043cd70
mov edx, dword [edi + 0x130]
fild dword [edi + 0x130]
test edx, edx
jge 0x499a6d
fadd qword [0x6ee4f8]
fadd qword [esp + 0x48]
add esp, 8
fmulp st(1)
fadd qword [0x6eed50]
fstp qword [esp]
call fcn.00640800
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x38], eax
add esp, 8
fldcw word [esp + 0x30]
fistp qword [esp + 0x38]
mov eax, dword [esp + 0x38]
mov dword [esi + 0x438], eax
or dword [esi + 0x5c], 0x10000000
xor al, al
fldcw word [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call edx
mov eax, dword [edi + 0x134]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x43c], eax
movzx eax, word [edi + 0x138]
mov word [esi + 0x440], ax
movzx edx, ax
fild dword [ecx]
sub esp, 0x10
mov dword [esp + 0x40], edx
fstp qword [esp + 8]
fild dword [esp + 0x40]
fstp qword [esp]
call fcn.0043cd70
fmul qword [ebx + 0x180]
add esp, 8
fadd qword [0x6eed50]
fstp qword [esp]
call fcn.00640800
fnstcw word [esp + 0x28]
movzx eax, word [esp + 0x28]
or eax, 0xc00
mov dword [esp + 0x38], eax
fldcw word [esp + 0x38]
fistp qword [esp + 0x38]
mov eax, dword [esp + 0x38]
add eax, dword [edi + 0x130]
mov dword [esi + 0x438], eax
mov ecx, dword [edi + 0x9c]
fldcw word [esp + 0x28]
mov edx, dword [edi + 0x98]
push ecx
push edx
call fcn.0043d490
add esp, 0x10
cmp eax, 0x18
je 0x499ba3
cmp eax, 0x1e
je 0x499ba3
cmp eax, 0x3c
je 0x499b8d
mov ecx, dword [edi + 0x9c]
mov edx, dword [edi + 0x98]
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x60]
push ecx
jmp 0x499bbd
push 0
push 0x3c
push 1
call fcn.0043c9e0
add esp, 0xc
push edx
push eax
lea eax, [esp + 0x68]
jmp 0x499bb7
push 0
push 0x1e
push 1
call fcn.0043c9e0
add esp, 0xc
push edx
push eax
lea eax, [esp + 0x70]
mov edi, dword [esi]
mov edx, dword [edi + 0x34]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax + 4]
mov ecx, dword [ebx]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [0x8a3ae4]
push edx
mov edx, dword [ecx + 8]
push eax
push edi
push str._film_footage__d__editrate_override__d__d_____d__d_n
push edx
call fcn.00437100
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
call fcn.0043cdc0
add esp, 8
test al, al
je 0x499c4a
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 1
fld qword [esp + 0x38]
sub esp, 8
fadd qword [0x6eed50]
fstp qword [esp]
call fcn.00640800
mov eax, dword [esp + 0x3c]
fst qword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov ebx, dword [edi]
add esp, 8
push eax
push ecx
call fcn.00640096
push edx
mov edx, dword [ebx + 0x24]
push eax
push esi
mov ecx, edi
call edx
test al, al
jne 0x499d0d
mov eax, dword [edi + 0x134]
mov dword [esi + 0x43c], eax
mov cx, word [edi + 0x138]
mov word [esi + 0x440], cx
mov edi, dword [edi + 0x130]
mov edx, edi
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
test edx, edx
jge 0x499cbd
fadd qword [0x6ee4f8]
fadd qword [esp + 0x38]
fcomp qword [0x6ee5b8]
fnstsw ax
test ah, 5
jp 0x499cdf
mov dword [esi + 0x438], edi
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
fld qword [esp + 0x28]
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp qword [esp + 0x38]
mov eax, dword [esp + 0x38]
add eax, edi
mov dword [esi + 0x438], eax
fldcw word [esp + 0x20]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8