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

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x5c
mov edx, dword [eax + 0x88]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
test edi, edi
jle 0x6c48d722
cmp dword [esp + 0x84], 2
je 0x6c48da0b
movzx ecx, byte [esp + 0x84]
mov eax, 1
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
shl eax, cl
sub eax, 1
and edx, eax
and eax, esi
shl edx, 7
add edx, eax
mov eax, edi
shl eax, 0xe
add eax, dword [esp + 0x38]
add eax, edx
movzx edx, byte [ebx + 0x2d116]
mov byte [eax + 0x1647c], 0
mov byte [eax + 0x247c], 0
test dl, dl
je 0x6c48da71
cmp edi, 1
je 0x6c48dfef
mov ebx, dword [esp + 0x38]
mov byte [ebx + 0x2a47c], 1
mov eax, dword [ebp + 0xb4]
mov eax, dword [eax + 0x3320]
test eax, eax
je 0x6c48da83
mov byte [ebx + 0x2a47d], 0
mov eax, dword [ebp + 0xb4]
mov ecx, dword [esp + 0x84]
cmp ecx, dword [eax + 0x3314]
jbe 0x6c48e338
mov ebx, 1
cmp dword [esp + 0x84], 2
jle 0x6c48d870
test edi, edi
je 0x6c48dfa8
movzx ecx, byte [esp + 0x84]
mov eax, 1
lea edx, [edi - 1]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x70]
shl eax, cl
sub eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
and eax, dword [esp + 0x34]
and edx, dword [esp + 0x34]
shl eax, 7
add edx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], edx
shl eax, 0xe
add eax, dword [esp + 0x38]
cmp byte [edx + eax + 0x247c], 0
je 0x6c48d856
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
and eax, dword [esp + 0x34]
mov dword [esp + 4], edi
mov dword [esp], ebp
shl eax, 7
and edx, esi
add edx, eax
mov dword [esp + 0x4c], edx
call fcn.6c498160
mov edx, edi
mov ecx, dword [esp + 0x4c]
shl edx, 0xe
add edx, dword [esp + 0x38]
mov byte [ecx + edx + 0x247c], al
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
shl eax, 0xe
add eax, dword [esp + 0x38]
cmp byte [edx + eax + 0x1647c], 0
jne 0x6c48df08
nop
test bl, bl
jne 0x6c48dd63
mov eax, dword [ebp + 0xb4]
mov ebx, dword [esp + 0x38]
mov ecx, dword [eax + 0x3310]
mov eax, dword [eax + 0x3344]
cmp dword [ebx + 0x2d10c], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
je 0x6c48d8a7
test edi, edi
je 0x6c48dbc8
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.6c498250
mov ebx, dword [esp + 0x38]
mov byte [ebx + 0x2a47c], al
mov ebx, dword [ebp + 0x88]
cmp dword [ebx + 0x2d10c], 1
je 0x6c48e094
movzx eax, byte [ebx + 0x2a47c]
test al, al
je 0x6c48dae0
mov edx, dword [ebp + 0xb8]
cmp byte [edx + 0x16], 0
je 0x6c48d8f8
cmp byte [ebx + 0x2a48c], 0
je 0x6c48e009
xor edx, edx
cmp dword [ebx + 0x2d10c], 1
mov dword [esp + 0x34], 0
je 0x6c48df44
test al, al
jne 0x6c48deca
cmp dword [esp + 0x84], 2
jle 0x6c48db37
movzx ecx, byte [esp + 0x84]
mov eax, 1
mov edx, dword [esp + 0x3c]
shl eax, cl
sub eax, 1
and edx, eax
and eax, esi
shl edx, 7
add edx, eax
mov eax, edi
shl eax, 0xe
add eax, ebx
cmp byte [edx + eax + 0x247c], 0
jne 0x6c48e1cd
mov eax, edi
shl eax, 0xe
add ebx, eax
cmp byte [edx + ebx + 0x1647c], 0
jne 0x6c48e196
mov ebx, dword [esp + 0x38]
cmp byte [ebx + 0x2a47c], 0
je 0x6c48d9f4
movzx ecx, byte [esp + 0x84]
mov eax, 1
mov ebx, eax
shl ebx, cl
test ebx, ebx
jle 0x6c48d9f4
movzx ecx, byte [esp + 0x44]
mov dword [esp + 0x30], ebx
shl eax, cl
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x44]
nop
lea esi, [esi]
mov edi, dword [esp + 0x34]
mov eax, esi
sar edi, cl
imul edi, dword [esp + 0x40]
lea esi, [esi]
mov ebx, dword [ebp + 0x1cb4]
mov edx, eax
add eax, dword [esp + 0x2c]
sar edx, cl
add ebx, edi
mov byte [ebx + edx], 1
mov edx, eax
sub edx, esi
cmp edx, dword [esp + 0x30]
jl 0x6c48d9c0
mov eax, dword [esp + 0x2c]
add dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x30]
jl 0x6c48d9b0
cmp byte [ebp + 0xbd1], 0
je 0x6c48dc59
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ecx
mov edx, dword [esp + 0x74]
mov ecx, esi
and eax, 3
mov ebx, dword [esp + 0x70]
and ecx, 3
shl eax, 7
add ecx, eax
lea eax, [edi - 1]
and edx, 3
shl eax, 0xe
and ebx, 3
add eax, dword [esp + 0x38]
shl edx, 7
add edx, ebx
add eax, edx
mov edx, edi
movzx ebx, byte [eax + 0x247c]
shl edx, 0xe
add edx, dword [esp + 0x38]
movzx eax, byte [eax + 0x1647c]
add edx, ecx
mov byte [edx + 0x247c], bl
mov ebx, dword [esp + 0x38]
mov byte [edx + 0x1647c], al
movzx edx, byte [ebx + 0x2d116]
test dl, dl
jne 0x6c48d76d
movzx eax, byte [ebx + 0x2d124]
mov dword [ebx + 0x2a488], eax
jmp 0x6c48d776
mov eax, ebx
xor ebx, ebx
mov ecx, dword [eax + 0x2d10c]
test ecx, ecx
je 0x6c48dc41
mov ecx, dword [esp + 0x38]
mov byte [ecx + 0x2a47d], bl
mov eax, dword [ebp + 0xb4]
mov ecx, dword [esp + 0x84]
cmp ecx, dword [eax + 0x3314]
ja 0x6c48d7b5
cmp dword [eax + 0x3310], ecx
jb 0x6c48dc08
test dl, dl
je 0x6c48d7ba
test edi, edi
je 0x6c48d7b5
jmp 0x6c48d7ba
movzx ecx, byte [esp + 0x84]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x3c]
sub edx, 1
and ecx, edx
and edx, esi
shl ecx, 7
add ecx, edx
mov edx, edi
shl edx, 0xe
add edx, ebx
add edx, ecx
cmp byte [edx + 0x247c], 0
jne 0x6c48d8df
cmp byte [edx + 0x1647c], 0
je 0x6c48d96e
mov edx, dword [ebp + 0xb8]
cmp byte [edx + 0x16], 0
je 0x6c48d8f8
jmp 0x6c48d8eb
cmp dword [esp + 0x8c], 3
jne 0x6c48d96e
movzx ecx, byte [esp + 0x84]
mov eax, 1
mov edx, dword [esp + 0x74]
shl eax, cl
sub eax, 1
and edx, eax
and eax, dword [esp + 0x70]
shl edx, 7
add edx, eax
mov eax, edi
shl eax, 0xe
add eax, ebx
cmp byte [edx + eax + 0x247c], 0
jne 0x6c48e21d
mov eax, edi
shl eax, 0xe
add ebx, eax
cmp byte [edx + ebx + 0x1647c], 0
je 0x6c48d96e
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x70]
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edi
mov dword [esp], ebp
mov dword [esp + 8], ebx
call fcn.6c498450
jmp 0x6c48d96e
movzx ecx, byte [esp + 0x84]
mov eax, 1
mov edx, dword [esp + 0x3c]
shl eax, cl
sub eax, 1
and edx, eax
and eax, esi
shl edx, 7
add edx, eax
cmp byte [ebx + edx + 0x247c], 0
jne 0x6c48d8a7
cmp byte [ebx + edx + 0x1647c], 0
je 0x6c48d8bd
jmp 0x6c48d8a7
mov ecx, dword [esp + 0x38]
movzx eax, byte [ecx + 0x2d117]
cmp edi, eax
jge 0x6c48dac4
test dl, dl
je 0x6c48dc27
test edi, edi
je 0x6c48d7b5
mov ecx, dword [esp + 0x84]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.6c498060
mov ebx, eax
jmp 0x6c48d7ba
mov eax, dword [eax + 0x2d110]
test eax, eax
je 0x6c48da95
test edi, edi
sete bl
jmp 0x6c48da95
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x84]
movzx eax, byte [edx + 0x2d148]
mov dword [esp + 0x14], eax
movzx eax, byte [edx + 0x2d149]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], esi
mov dword [esp], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
call fcn.6c49d550
mov eax, dword [ebp + 0xb8]
cmp byte [eax + 0x28], 0
je 0x6c48da01
mov ebx, dword [esp + 0x38]
cmp byte [ebx + 0x2d118], 0
je 0x6c48da01
mov eax, dword [ebp + 0xb4]
mov edx, 1
movzx ecx, byte [esp + 0x84]
lea ebx, [ebp + 0x1cb8]
mov edi, dword [eax + 0x334c]
shl edx, cl
mov ecx, dword [eax + 0x331c]
lea ebp, [esi + edx]
mov dword [esp + 0x38], edi
mov edi, dword [eax + 0x3328]
mov eax, dword [eax + 0x332c]
cmp ebp, edi
cmovle edi, ebp
mov ebp, dword [esp + 0x3c]
add edx, dword [esp + 0x3c]
sar ebp, cl
cmp edx, eax
cmovg edx, eax
sar edx, cl
cmp ebp, edx
jge 0x6c48da01
sar esi, cl
mov dword [esp + 0x30], esi
mov esi, edi
mov edi, dword [esp + 0x38]
sar esi, cl
mov eax, esi
sub eax, dword [esp + 0x30]
imul edi, ebp
add edi, dword [esp + 0x30]
mov dword [esp + 0x34], eax
lea esi, [esi]
mov ecx, dword [esp + 0x34]
mov eax, edi
add ecx, edi
cmp dword [esp + 0x30], esi
jge 0x6c48dd53
mov dword [esp + 0x2c], edx
mov edx, dword [ebx]
mov byte [edx + eax], 2
add eax, 1
cmp ecx, eax
jne 0x6c48dd42
mov edx, dword [esp + 0x2c]
add ebp, 1
add edi, dword [esp + 0x38]
cmp ebp, edx
jne 0x6c48dd30
jmp 0x6c48da01
mov ecx, dword [esp + 0x78]
add edi, 1
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3c]
sub edi, 1
mov dword [esp + 0x10], eax
mov eax, ebp
mov dword [esp + 0xc], edx
mov edx, esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.6c48d6f0
test eax, eax
js 0x6c48da03
movzx ecx, byte [esp + 0x84]
mov ebx, 1
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edi
shl ebx, cl
mov ecx, dword [esp + 0x2c]
sar ebx, 1
lea edx, [ebx + esi]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, ebp
mov dword [esp], esi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.6c48d6f0
test eax, eax
js 0x6c48da03
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
add ebx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov edx, esi
mov dword [esp + 0x1c], 2
mov dword [esp + 8], eax
mov eax, ebp
mov dword [esp + 4], ecx
mov ecx, ebx
mov dword [esp + 0x14], edi
mov dword [esp], esi
call fcn.6c48d6f0
test eax, eax
js 0x6c48da03
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, ebp
mov dword [esp + 0x1c], 3
mov dword [esp + 4], ecx
mov ecx, ebx
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.6c48d6f0
mov edx, eax
xor eax, eax
test edx, edx
cmovle eax, edx
jmp 0x6c48da03
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov dword [esp + 4], esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ebp
mov dword [esp + 8], ecx
call fcn.6c498450
cmp dword [esp + 0x84], 2
jle 0x6c48db37
jmp 0x6c48d925
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
and eax, dword [esp + 0x34]
and edx, esi
shl eax, 7
add edx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.6c498160
mov edx, edi
mov ecx, dword [esp + 0x40]
shl edx, 0xe
add edx, dword [esp + 0x38]
mov byte [ecx + edx + 0x1647c], al
jmp 0x6c48d870
cmp dword [esp + 0x84], 3
jg 0x6c48d90f
mov ecx, dword [ebx + 0x2a488]
lea edx, [ecx - 6]
mov dword [esp + 0x34], edx
mov edx, 2
cmp dword [esp + 0x34], 8
ja 0x6c48e20c
movzx ecx, byte [ebx + 0x2d12d]
mov dword [esp + 0x34], 2
mov byte [esp + 0x2c], cl
sub ecx, 6
cmp cl, 8
jbe 0x6c48d90f
movzx ecx, byte [esp + 0x2c]
sub ecx, 0x16
cmp cl, 9
setb cl
movzx ecx, cl
mov dword [esp + 0x34], ecx
jmp 0x6c48d90f
movzx ecx, byte [esp + 0x84]
mov eax, 1
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp], ebp
shl eax, cl
sub eax, 1
and edx, eax
and eax, esi
shl edx, 7
add eax, edx
mov dword [esp + 0x40], eax
call fcn.6c498160
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov byte [ecx + edx + 0x247c], al
jmp 0x6c48df1f
mov ecx, dword [esp + 0x8c]
movzx eax, byte [ebx + ecx + 0x2d124]
mov dword [ebx + 0x2a488], eax
jmp 0x6c48d776
mov dword [esp], ebp
call fcn.6c496340
xor ecx, ecx
test eax, eax
mov dword [ebx + 0x2a484], eax
jne 0x6c48e2e3
mov byte [ebx + 0x2a48c], 1
mov eax, dword [ebp + 0xb4]
mov eax, dword [eax + 0x336c]
mov edx, eax
shr edx, 0x1f
add edx, eax
mov eax, edx
sar eax, 1
neg eax
sar edx, 1
sub eax, 0x1a
add edx, 0x19
cmp eax, ecx
jg 0x6c48e307
cmp edx, ecx
jl 0x6c48e307
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
mov dword [esp + 4], esi
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov dword [esp], ebp
mov dword [esp + 8], ecx
call fcn.6c49d3b0
movzx eax, byte [ebx + 0x2a47c]
jmp 0x6c48d8f8
movzx ecx, byte [esp + 0x84]
mov eax, 1
mov dword [esp + 4], esi
mov dword [esp], ebp
shl eax, cl
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], eax
mov dword [esp + 8], ecx
call fcn.6c49e920
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x10], 0
mov dword [esp + 4], esi
mov dword [esp], ebp
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call dword [ebp + 0x16bc]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x84], 2
jg 0x6c48e25d
cmp dword [esp + 0x8c], 3
jne 0x6c48d8d0
mov edx, dword [ebp + 0xb4]
mov ecx, dword [edx + 0x3358]
mov edx, dword [esp + 0x70]
mov dword [esp], ebp
shl eax, cl
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.6c49e920
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebp
call dword [ebp + 0x16bc]
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], ebp
call dword [ebp + 0x16bc]
jmp 0x6c48d8d0
mov eax, dword [esp + 0x84]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], 2
sub eax, 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.6c498450
jmp 0x6c48d96e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x14], 1
mov dword [esp + 4], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], ecx
mov dword [esp], ebp
mov dword [esp + 0x28], edx
sub eax, 1
mov dword [esp + 0xc], eax
call fcn.6c498450
mov edx, dword [esp + 0x28]
jmp 0x6c48d959
lea edx, [ecx - 0x16]
cmp edx, 8
setbe dl
movzx edx, dl
jmp 0x6c48df6f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], 1
mov dword [esp], ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], edx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.6c498450
mov edx, dword [esp + 0x28]
jmp 0x6c48db7b
mov edx, dword [ebp + 0xb4]
mov ecx, dword [edx + 0x3358]
mov dword [esp + 4], esi
mov dword [esp], ebp
sub ecx, 1
shl eax, cl
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.6c49e920
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], 1
mov dword [esp + 4], esi
sub eax, 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x28], eax
mov dword [esp], ebp
call dword [ebp + 0x16bc]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], 2
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp], ebp
call dword [ebp + 0x16bc]
jmp 0x6c48d8d0
mov dword [esp], ebp
call fcn.6c4968b0
mov ecx, dword [ebx + 0x2a484]
cmp eax, 1
jne 0x6c48e021
neg ecx
mov dword [ebx + 0x2a484], ecx
jmp 0x6c48e021
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str.The_cu_qp_delta__d_is_outside_the_valid_range___d___d_._n
mov dword [esp + 4], 0x10
mov eax, dword [ebp + 4]
mov dword [esp], eax
call sub.avutil_52.dll_av_log
mov eax, 0xbebbb1b7
jmp 0x6c48da03
xor ebx, ebx
mov ecx, dword [esp + 0x84]
jmp 0x6c48dab8