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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
cmp dword [ecx + 0x18], 0
mov ebx, ecx
je 0x10033024
xor eax, eax
mov ecx, 0x80000000
mov dword [esp + 0x3c], 0
mov dword [esp + 0x48], 0x80000000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], 0x80000000
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ebx
add eax, 0xffffffff
adc ecx, 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
xor esi, esi
mov eax, 0x80000000
xor edx, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x10], ecx
mov ecx, 0x80000000
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x5c], edx
mov esi, 0x80000000
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx + 0xb0]
mov edi, ecx
mov eax, dword [eax]
and eax, 0xfffffffe
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov edx, ecx
xor edx, esi
or edx, eax
je 0x10032e14
mov esi, dword [edi + 0x14]
test esi, esi
je 0x10032e14
mov ebx, dword [edi + 0x10]
mov edx, 0xf4240
mov dword [esp + 0x30], ebx
push edx
xor edx, edx
inc edx
push edx
push esi
push ebx
push ecx
push eax
call sym.ffmpeg.dll_av_rescale_q
add esp, 0x18
cmp eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], edi
mov edi, eax
mov eax, edx
mov dword [esp + 8], esi
mov esi, edx
mov ecx, edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], esi
sbb eax, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov ebx, edx
setl byte [esp + 0x24]
cmp edi, eax
sbb ecx, edx
mov ecx, eax
cmovl ecx, edi
cmovl ebx, esi
cmp dword [esp + 0x54], 2
cmovne eax, ecx
sete cl
cmovne edx, ebx
mov dword [esp + 0x38], eax
test byte [esp + 0x24], cl
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], edx
mov dword [esp + 0x24], edi
cmovne eax, esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
cmovne esi, edi
push 0x2005
mov eax, 0xf4240
push eax
xor eax, eax
inc eax
push eax
push dword [esp + 0x14]
push dword [esp + 0x40]
mov eax, dword [esp + 0x60]
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.10061d50
add esp, 0x1c
mov ecx, edx
mov edi, 0x80000000
mov dword [esp + 0x2c], esi
xor ecx, edi
or ecx, eax
je 0x10033138
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x10033148
mov ecx, edx
mov esi, dword [esp + 0x24]
not ecx
add ecx, edi
mov edi, eax
not edi
cmp edi, esi
mov edi, dword [esp + 0x44]
sbb ecx, edi
mov ebx, dword [esp + 0xc]
jl 0x10032e02
add eax, esi
adc edx, edi
cmp dword [esp + 0x54], 2
je 0x10033168
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
cmp esi, eax
mov ecx, edi
sbb ecx, edx
cmovl edi, edx
cmovl esi, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], esi
mov ecx, dword [ebx + 0x468]
mov edi, dword [esp + 0x4c]
test ecx, ecx
jne 0x1003318d
mov esi, dword [esp + 0x20]
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
mov ebx, 0x80000000
mov edx, ecx
xor edx, ebx
or edx, eax
je 0x10033220
push 0xf4240
push 1
push dword [edi + 0x14]
push dword [edi + 0x10]
push ecx
push eax
call sym.ffmpeg.dll_av_rescale_q
add esp, 0x18
cmp dword [esp + 0x54], 2
je 0x1003322d
mov ebx, dword [esp + 0x34]
cmp esi, eax
mov ecx, ebx
sbb ecx, edx
cmovl esi, eax
mov eax, dword [esp + 4]
cmovl ebx, edx
mov ecx, ebx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xc]
inc edx
cmp edx, dword [ebx + 0x18]
jb 0x10032ca2
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov ecx, 0x80000000
mov dword [esp + 0x20], esi
add eax, 0xffffffff
adc ecx, 0xffffffff
xor eax, edx
xor ecx, edi
or ecx, eax
je 0x10032edd
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x38], edx
cmp ebx, edx
mov eax, esi
mov edx, edi
sbb eax, edi
setl al
sub ecx, ebx
sbb edx, esi
cmp ecx, 0xf4240
sbb edx, 0
setb cl
test al, cl
cmove ebx, dword [esp + 0x38]
cmove esi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov edi, 0x80000000
mov ebx, dword [esp + 0x28]
mov eax, esi
xor eax, edi
or eax, edx
mov eax, dword [esp + 0x1c]
je 0x10032f2f
mov ecx, dword [esp + 0x1c]
cmp edx, eax
mov eax, esi
mov dword [esp + 0x3c], edx
sbb eax, ebx
setl al
sub ecx, edx
mov edx, ebx
sbb edx, esi
cmp ecx, 0xf4240
sbb edx, 0
setb cl
test al, cl
mov eax, dword [esp + 0x1c]
cmove ebx, esi
mov dword [esp + 0x28], ebx
cmove eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
mov eax, ebx
xor eax, edi
mov edi, dword [esp + 0x20]
or eax, edi
je 0x10032f78
mov esi, dword [esp + 4]
cmp edi, edx
mov eax, ebx
mov ecx, edx
sbb eax, esi
mov edx, esi
setl al
sub ecx, edi
sbb edx, ebx
cmp ecx, 0xf4240
sbb edx, 0
mov edx, dword [esp + 0x14]
setl cl
test al, cl
cmove esi, ebx
cmove edx, edi
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
xor eax, eax
mov ecx, 0x80000000
mov edi, dword [esp + 0xc]
add eax, 0xffffffff
adc ecx, 0xffffffff
xor eax, ebx
xor ecx, esi
or ecx, eax
je 0x1003312a
mov eax, dword [esp + 0x28]
mov ecx, 0x80000000
mov dword [edi + 0x428], ebx
mov dword [edi + 0x42c], esi
xor eax, ecx
mov ecx, dword [esp + 0x1c]
or eax, ecx
je 0x1003312a
mov eax, dword [edi + 0x468]
cmp eax, 2
jae 0x10033254
cmp ecx, ebx
mov edi, ebx
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov eax, ebx
sbb eax, esi
jl 0x1003312a
sub ecx, edi
sbb ebx, esi
js 0x1003312a
mov edi, dword [esp + 4]
cmp edx, ecx
mov esi, 0x80000000
mov eax, edi
sbb eax, ebx
cmovl edi, ebx
cmovl edx, ecx
mov ebx, dword [esp + 0xc]
cmp edx, 1
mov eax, edi
sbb eax, 0
jl 0x10033024
xor esi, dword [ebx + 0x434]
or esi, dword [ebx + 0x430]
je 0x10033119
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10033111
push eax
call fcn.10034e60
add esp, 4
cmp eax, 1
mov ecx, edx
sbb ecx, 0
jl 0x10033111
mov ecx, dword [ebx + 0x430]
mov esi, dword [ebx + 0x434]
cmp ecx, 1
mov edi, esi
sbb edi, 0
jl 0x10033111
movd xmm0, eax
movd xmm1, edx
movd xmm2, esi
punpckldq xmm0, xmm1
movd xmm1, ecx
movq qword [esp + 0x88], xmm0
punpckldq xmm1, xmm2
fild qword [esp + 0x88]
fstp qword [esp + 0x80]
movsd xmm0, qword [esp + 0x80]
movq qword [esp + 0x78], xmm1
pxor xmm1, xmm1
fild qword [esp + 0x78]
fstp qword [esp + 0x70]
mulsd xmm0, qword [0x102266a0]
mulsd xmm0, qword [0x102266a8]
divsd xmm0, qword [esp + 0x70]
ucomisd xmm0, xmm1
jb 0x10033111
movsd xmm1, qword [0x102266b0]
ucomisd xmm1, xmm0
jb 0x10033111
movsd qword [esp + 0x60], xmm0
fld qword [esp + 0x60]
fnstcw word [esp + 0x42]
movzx eax, word [esp + 0x42]
or eax, 0xc00
mov word [esp + 0x5a], ax
fldcw word [esp + 0x5a]
fistp qword [esp + 0x60]
fldcw word [esp + 0x42]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [ebx + 0x43c], ecx
mov dword [ebx + 0x438], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebx + 0x430], edx
mov dword [ebx + 0x434], edi
jmp 0x10033024
mov edi, dword [esp + 4]
mov esi, 0x80000000
jmp 0x10033004
mov ebx, dword [esp + 0xc]
xor eax, eax
mov edx, 0x80000000
jmp 0x10032e02
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x44]
mov ecx, eax
mov edi, 0x80000000
neg ecx
sbb edi, edx
cmp esi, ecx
mov ecx, ebx
sbb ecx, edi
mov edi, ebx
jmp 0x10032dd1
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
cmp edi, eax
mov ecx, ebx
sbb ecx, edx
cmovl ebx, edx
cmovl edi, eax
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x1c], edi
jmp 0x10032e02
mov dword [esp + 8], 0
mov esi, dword [esp + 8]
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 0x30]
mov ebx, dword [ebx + 0x46c]
mov esi, dword [ebx + esi*4]
cmp esi, dword [esp + 0x18]
mov dword [esp + 8], esi
je 0x100331fc
cmp dword [esp + 0x18], 0
jne 0x10033204
mov esi, dword [esp + 8]
mov dword [esp + 0x18], 0
mov esi, dword [esi + 0x10]
test esi, esi
mov dword [esp + 0x6c], esi
jne 0x100332cf
jmp 0x10033204
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x18]
cmp dword [edi + ebx*4], esi
je 0x100332e1
inc ebx
cmp ebx, dword [esp + 0x6c]
jb 0x100331e4
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0x30]
inc esi
cmp esi, ecx
mov edi, esi
mov dword [esp + 0x30], esi
jb 0x100331a5
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
jmp 0x10032e18
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
jmp 0x10032e67
mov edi, esi
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 4]
cmp esi, eax
mov ecx, ebx
sbb ecx, edx
mov ecx, dword [esp + 0x34]
cmovl esi, eax
cmovl ebx, edx
mov dword [esp + 0x14], esi
mov esi, edi
mov eax, ebx
jmp 0x10032e67
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 4]
mov ecx, dword [ecx + 0x46c]
mov ebx, dword [ecx]
mov dword [esp + 0x14], edx
mov dword [esp + 4], edi
mov esi, 0x80000000
mov edx, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x28]
mov dword [esp + 0x10], edx
xor edx, esi
or edx, edi
je 0x100332b7
mov edx, dword [ebx + 0x30]
mov ebx, dword [ebx + 0x34]
mov esi, dword [esp + 0x10]
cmp edi, edx
sbb esi, ebx
jge 0x100332b7
sub edx, edi
sbb ebx, dword [esp + 0x10]
js 0x100332b7
mov edi, dword [esp + 4]
cmp dword [esp + 0x14], edx
mov esi, edi
sbb esi, ebx
mov esi, dword [esp + 0x14]
cmovl edi, ebx
mov dword [esp + 4], edi
cmovl esi, edx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 4]
add ecx, 4
dec eax
mov esi, 0x80000000
jne 0x10033262
jmp 0x10033004
mov esi, dword [esp + 8]
xor ebx, ebx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x18], esi
jmp 0x100331e4
mov ecx, dword [esp + 8]
mov esi, dword [ecx + 0x2c]
mov edi, dword [ecx + 0x28]
mov ecx, 0x80000000
mov ebx, esi
xor ebx, ecx
or ebx, edi
je 0x10033304
cmp dword [esp + 0x24], edi
mov ecx, dword [esp + 0x44]
sbb ecx, esi
jge 0x10033316
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x44]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], edi
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0x34]
cmp dword [esi + 0x30], eax
sbb ecx, edx
jge 0x1003332e
mov ecx, dword [esp + 8]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x468]
test ecx, ecx
je 0x10033213
jmp 0x10033195