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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x49c
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], ecx
mov edx, eax
and edx, 0xfffffff7
cmp edx, 6
je 0x1003bdfc
test eax, eax
mov ebp, dword [esp + 0x4b0]
jne 0x1003bc20
lea esi, [esi]
lea edi, [edi]
movzx edx, byte [ebp]
lea eax, [edx - 0x2b]
and eax, 0xfd
jne 0x1003bc60
movsx eax, dl
movzx edx, byte [ebp + 1]
add ebp, 1
mov dword [esp + 0x70], eax
lea eax, [edx - 0x2b]
and eax, 0xfffffffd
test dl, dl
je 0x1003be52
test al, al
je 0x1003be52
mov byte [esp + 0x190], dl
mov edi, 1
jmp 0x1003b94e
test al, al
je 0x1003b95e
mov byte [esp + edi + 0x190], al
add edi, 1
cmp edi, 0xff
je 0x1003bd5a
movzx eax, byte [ebp + edi]
lea edx, [eax - 0x2b]
and edx, 0xfd
jne 0x1003b934
mov esi, dword [esp + 0x48]
lea edx, [esp + 0x190]
mov byte [esp + edi + 0x190], 0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
shr eax, 0x12
and eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym.avutil_56.dll_av_opt_find2
test eax, eax
je 0x1003b9b7
cmp dword [eax + 0xc], 0xa
je 0x1003bce0
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x2c]
test eax, eax
mov dword [esp + 0x4c], eax
je 0x1003bd31
mov edx, dword [esp + 0x50]
test edx, edx
je 0x1003bd31
mov eax, dword [esp + 0x50]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x3c], eax
setne cl
xor ebx, ebx
xor edx, edx
lea esi, [esi]
test ebx, ebx
jne 0x1003ba60
test cl, cl
je 0x1003ba60
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x1003ba70
mov eax, dword [ebx]
test eax, eax
je 0x1003ba70
cmp dword [ebx + 0xc], 0xa
mov esi, eax
jne 0x1003b9f0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x1003b9f0
mov byte [esp + 0x44], cl
mov ecx, dword [esp + 0x4c]
mov dword [esp], eax
mov dword [esp + 0x40], edx
mov dword [esp + 4], ecx
call sub.msvcrt.dll_strcmp
test eax, eax
mov edx, dword [esp + 0x40]
movzx ecx, byte [esp + 0x44]
jne 0x1003b9f0
cmp edx, 0x39
jg 0x1003bdc8
mov dword [esp + edx*4 + 0x90], esi
fild qword [ebx + 0x10]
fstp qword [esp + edx*8 + 0x290]
add edx, 1
test ebx, ebx
je 0x1003b9f4
nop
test ebx, ebx
je 0x1003ba70
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1003ba70
add ebx, 0x30
jne 0x1003ba09
lea eax, [edx + 3]
lea esi, [edx + 1]
lea ebx, [edx + 2]
mov dword [esp + 0x3c], eax
lea eax, [edx + 4]
mov dword [esp + 0x40], eax
lea eax, [edx + 5]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
mov dword [esp + edx*4 + 0x90], str.default
mov eax, dword [eax + 0xc]
lea ecx, [eax - 9]
cmp ecx, 1
jbe 0x1003bc45
cmp eax, 2
jbe 0x1003bc45
mov eax, dword [esp + 0x48]
fld qword [eax + 0x10]
lea esi, [esi]
fstp qword [esp + edx*8 + 0x290]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov dword [esp + esi*4 + 0x90], 0x100e03fd
mov dword [esp + ebx*4 + 0x90], 0x100e0401
test edi, edi
fld qword [edx + 0x20]
mov dword [esp + eax*4 + 0x90], str.none
fstp qword [esp + esi*8 + 0x290]
mov esi, dword [esp + 0x40]
fld qword [edx + 0x18]
lea edx, [esp + 0x90]
mov dword [esp + esi*4 + 0x90], 0x100e0405
fstp qword [esp + ebx*8 + 0x290]
fldz
fst qword [esp + eax*8 + 0x290]
mov eax, dword [esp + 0x44]
mov dword [esp + eax*4 + 0x90], 0
fld1
fchs
fstp qword [esp + esi*8 + 0x290]
mov esi, dword [esp + 0x54]
fstp qword [esp + eax*8 + 0x290]
lea eax, [esp + 0x190]
mov dword [esp + 0x28], esi
lea esi, [esp + 0x290]
cmove eax, ebp
mov dword [esp + 8], edx
mov dword [esp + 0x24], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
call sym.avutil_56.dll_av_expr_parse_and_eval
test eax, eax
js 0x1003bcf7
fld qword [esp + 0x88]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1003bc70
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4b4]
fstp qword [esp]
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 8], 1
mov edx, esi
call fcn.10037760
test eax, eax
js 0x1003bd26
add ebp, edi
test edi, edi
je 0x1003be45
cmp byte [ebp], 0
je 0x1003be45
mov eax, dword [esi + 0xc]
test eax, eax
je 0x1003b8f0
mov ecx, dword [esp + 0x48]
mov edx, ebp
mov dword [esp + 0x70], 0
xor edi, edi
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x3c], eax
shr eax, 0x12
and eax, 1
jmp 0x1003b981
mov eax, dword [esp + 0x48]
fild qword [eax + 0x10]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
jmp 0x1003bac0
mov dword [esp + 0x70], 0
jmp 0x1003b916
cmp dword [esp + 0x70], 0x2b
mov eax, dword [esp + 0x4b4]
mov ecx, dword [eax]
je 0x1003bd82
cmp dword [esp + 0x70], 0x2d
jne 0x1003bbc8
fnstcw word [esp + 0x76]
movzx eax, word [esp + 0x76]
mov dword [esp + 0x64], 0
mov ah, 0xc
mov word [esp + 0x74], ax
fldcw word [esp + 0x74]
fistp qword [esp + 0x68]
fldcw word [esp + 0x76]
mov eax, dword [esp + 0x68]
not eax
and eax, ecx
mov dword [esp + 0x60], eax
fild qword [esp + 0x60]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
fst qword [esp + 0x88]
jmp 0x1003bbc8
fild qword [eax + 0x10]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
fst qword [esp + 0x88]
jmp 0x1003bbb9
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], str.Unable_to_parse_option_value___s__n
mov dword [esp + 4], 0x10
mov dword [esp + 0x4b0], ebp
mov dword [esp], eax
call sym.avutil_56.dll_av_log
mov eax, dword [esp + 0x3c]
add esp, 0x49c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x44], 5
mov dword [esp + 0x40], 4
mov ebx, 2
mov dword [esp + 0x3c], 3
mov esi, 1
xor edx, edx
jmp 0x1003ba8b
mov ecx, dword [esp + 0x48]
mov byte [esp + 0x28f], 0
lea edx, [esp + 0x190]
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [esp + 0x3c], eax
shr eax, 0x12
and eax, 1
jmp 0x1003b981
fnstcw word [esp + 0x76]
movzx eax, word [esp + 0x76]
mov ah, 0xc
mov word [esp + 0x74], ax
fldcw word [esp + 0x74]
fistp qword [esp + 0x68]
fldcw word [esp + 0x76]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
or ecx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ecx
fild qword [esp + 0x58]
fstp qword [esp + 0x78]
fld qword [esp + 0x78]
fst qword [esp + 0x88]
jmp 0x1003bbc8
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], str.const_values_array_too_small_for__s_n
mov dword [esp + 4], 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call sym.avutil_56.dll_av_log
add esp, 0x49c
mov eax, 0xbaa8beb0
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x90]
mov dword [esp + 4], str._d_1_:___d_c
mov dword [esp + 0x10], eax
lea eax, [esp + 0x290]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x190]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4b0]
mov dword [esp], eax
call fcn.10038040
cmp eax, 2
je 0x1003be77
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0xc]
jmp 0x1003b8d7
add esp, 0x49c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x48]
mov byte [esp + 0x190], 0
mov edx, ebp
xor edi, edi
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
shr eax, 0x12
and eax, 1
jmp 0x1003b981
mov eax, dword [esp + 0x190]
fld1
mov ecx, dword [esp + 0x4b4]
mov edx, dword [esp + 0x48]
fstp qword [esp]
mov dword [esp + 0xc], eax
sar eax, 0x1f
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x290]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
call fcn.10037760
test eax, eax
jns 0x1003bd26
jmp 0x1003be39