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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xb0], 0
cmp dword [edi + 0x88], 0
jne 0x10024b8a
mov ecx, dword [edi + 4]
cmp dword [ecx + 0x44], 0
je 0x10024b18
movd xmm1, dword [ecx + 0x44]
movd xmm0, dword [ecx + 0x48]
cvtdq2pd xmm1, xmm1
mov eax, dword [edi + 0x14]
cvtdq2pd xmm0, xmm0
imul eax, dword [eax + 0x8c], 0xfff0bdc0
divsd xmm1, xmm0
movd xmm2, eax
cvtdq2pd xmm2, xmm2
divsd xmm2, xmm1
jmp 0x10024b1b
xorps xmm2, xmm2
movaps xmm0, xmm2
call fcn.10089990
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
test ebx, ebx
je 0x10024b80
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
test edx, edx
jne 0x10024b4d
cmp ecx, 0x80000000
je 0x10024b80
cmp dword [edi + 0x10], 0
jne 0x10024b80
mov eax, dword [edi + 4]
push 0xf4240
push 1
push dword [eax + 0x14]
push dword [eax + 0x10]
push ecx
push edx
call dword [sym.imp.avutil_56.dll_av_rescale_q]
add esp, 0x18
add dword [edi + 0x38], eax
mov eax, dword [edi + 0x38]
adc dword [edi + 0x3c], edx
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x88], 1
cmp dword [edi + 0x30], 0
jne 0x10024ba5
cmp dword [edi + 0x34], 0x80000000
jne 0x10024ba5
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
cmp dword [edi + 0x40], 0
jne 0x10024bc0
cmp dword [edi + 0x44], 0x80000000
jne 0x10024bc0
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
test ebx, ebx
jne 0x10024bdf
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.avcodec_58.dll_av_init_packet]
add esp, 4
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
jmp 0x10024c64
movups xmm0, xmmword [ebx]
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
movups xmmword [ebp - 0x98], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [ebx + 0x20]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [ebx + 0x30]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [ebx + 0x40]
movq qword [ebp - 0x58], xmm0
test edx, edx
jne 0x10024c20
cmp ecx, 0x80000000
je 0x10024c64
mov eax, dword [edi + 4]
push 0xf4240
push 1
push dword [eax + 0x14]
push dword [eax + 0x10]
push ecx
push edx
call dword [sym.imp.avutil_56.dll_av_rescale_q]
mov ecx, eax
mov dword [edi + 0x3c], edx
mov eax, dword [edi + 0x14]
add esp, 0x18
mov dword [edi + 0x38], ecx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], edx
cmp dword [eax + 8], 0
jne 0x10024c58
cmp dword [edi + 0x10], 0
jne 0x10024c64
mov dword [edi + 0x48], ecx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], edx
cmp dword [edi + 0x10], 0
mov dword [ebp - 0xac], 1
je 0x10024d31
mov dword [ebp - 0xac], 1
mov eax, dword [edi + 0x40]
xorps xmm0, xmm0
mov ecx, dword [edi + 0x44]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 0x38], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x4c], ecx
mov ecx, dword [edi + 0x34]
mov dword [ebp - 0x4c], 0
mov dword [edi + 0x3c], ecx
mov eax, dword [eax + 8]
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
mov dword [ebp - 0x9c], 0
sub eax, 0
je 0x10024e12
sub eax, 1
je 0x10024de0
sub eax, 2
jne 0x10024ff3
cmp dword [ebp - 0xa0], eax
jne 0x10024f9f
push esi
lea eax, [ebp - 0x9c]
mov ecx, edi
push eax
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x98]
call fcn.100246d0
add esp, 0xc
mov dword [ebp - 0xa4], eax
test ebx, ebx
jne 0x10024fa5
test eax, eax
js 0x10024fa5
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xac], 0
test ebx, ebx
jne 0x10025198
cmp dword [edi + 0x10], 0
je 0x100251a2
cmp dword [ebp - 0xb0], 0
je 0x10025198
cmp dword [ebp + 8], 0
jne 0x10025198
mov eax, dword [edi + 4]
push 0x2005
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xf4240
push 1
push dword [edi + 0x4c]
push dword [edi + 0x48]
call dword [sym.imp.avutil_56.dll_av_rescale_q_rnd]
xor ecx, ecx
mov dword [ebp - 0xb0], eax
add esp, 0x1c
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x9c], ecx
cmp dword [edi + 0xf8], ecx
jle 0x10025198
nop dword [eax + eax]
mov eax, dword [edi + 0xf4]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi]
mov dword [esi + 0x44], 1
test eax, eax
je 0x100250bb
push 4
push edx
push dword [ebp - 0xb0]
push eax
call dword [sym.imp.avfilter_7.dll_av_buffersrc_close]
add esp, 0x10
test eax, eax
js 0x10025159
mov ecx, dword [ebp - 0x9c]
jmp 0x10025126
push esi
lea eax, [ebp - 0x9c]
mov ecx, edi
push eax
lea eax, [ebp - 0x4c]
push eax
xor eax, eax
lea edx, [ebp - 0x98]
cmp dword [ebp - 0xa0], eax
cmovne edx, eax
call fcn.10023dc0
add esp, 0xc
mov dword [ebp - 0xa4], eax
jmp 0x10024fa5
push esi
lea eax, [ebp - 0x9c]
mov ecx, edi
push eax
xor eax, eax
lea edx, [ebp - 0x98]
test ebx, ebx
sete al
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x4c]
push eax
xor eax, eax
cmp dword [ebp - 0xa0], eax
cmovne edx, eax
call fcn.10024050
add esp, 0x14
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa0], 0
je 0x10024e65
test ebx, ebx
je 0x10024e97
cmp dword [ebp - 0x4c], 0
je 0x10024fa5
test ebx, ebx
je 0x10024e97
mov edx, dword [ebx + 0x30]
mov eax, edx
mov ecx, dword [ebx + 0x34]
or eax, ecx
je 0x10024e97
mov eax, dword [edi + 4]
push 0xf4240
push 1
push dword [eax + 0x14]
push dword [eax + 0x10]
push ecx
push edx
call dword [sym.imp.avutil_56.dll_av_rescale_q]
add esp, 0x18
mov ecx, eax
jmp 0x10024f2a
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x2f8], 0
je 0x10024f1e
cmp dword [eax + 0x2fc], 0
je 0x10024f1e
push dword [edi + 4]
mov esi, dword [sym.imp.avformat_58.dll_av_stream_get_parser]
call esi
add esp, 4
test eax, eax
je 0x10024ecf
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
add esp, 4
mov eax, dword [eax + 0x24]
inc eax
jmp 0x10024ed5
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0x54]
imul dword [ecx + 0x2fc]
push 0
push 0xf4240
push edx
push eax
call fcn.10089d70
mov esi, eax
mov ecx, edx
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x2f8]
cdq
push edx
push eax
push ecx
push esi
call fcn.10089be0
mov esi, eax
mov ecx, edx
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x54]
cdq
push edx
push eax
push ecx
push esi
call fcn.10089be0
mov esi, dword [ebp - 0xa8]
mov ecx, eax
jmp 0x10024f2a
mov edx, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
cmp dword [edi + 0x38], 0
jne 0x10024f39
cmp dword [edi + 0x3c], 0x80000000
je 0x10024f47
mov eax, ecx
or eax, edx
je 0x10024f47
add dword [edi + 0x30], ecx
adc dword [edi + 0x34], edx
jmp 0x10024f55
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0x80000000
cmp dword [ebp - 0x4c], 0
je 0x10024f9f
cmp dword [ebp - 0xb4], 0
jl 0x10024f99
jg 0x10024f6f
cmp dword [ebp - 0xb8], 0
jbe 0x10024f99
mov eax, dword [edi + 4]
push 0xf4240
push 1
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [ebp - 0xb4]
push dword [ebp - 0xb8]
call dword [sym.imp.avutil_56.dll_av_rescale_q]
add esp, 0x18
add dword [edi + 0x40], eax
jmp 0x10024f9c
add dword [edi + 0x40], ecx
adc dword [edi + 0x44], edx
mov eax, dword [ebp - 0xa4]
cmp eax, 0xdfb9b0bb
je 0x10024d1d
test eax, eax
js 0x10025007
cmp dword [ebp - 0x4c], 0
je 0x10024d31
mov dword [edi + 0x158], 1
test ebx, ebx
je 0x10024d39
cmp dword [edi + 0x10], 0
mov dword [ebp - 0xa0], 1
jne 0x10024c82
mov dword [ebp - 0xac], 1
jmp 0x10025198
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007fac0
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x9c], 0
je 0x1002506c
push 0x40
lea eax, [ebp - 0x48]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x48]
push 0x40
push eax
push dword [ebp - 0xa4]
call dword [sym.imp.avutil_56.dll_av_strerror]
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
mov eax, dword [edi + 4]
push dword [eax]
mov eax, dword [sym.imp.avutil_56.dll_av_log]
push dword [edi]
push str.Error_while_decoding_stream__d:_d:__s_n
push 0x10
push 0
call eax
add esp, 0x18
mov dword [ebp - 0xac], 1
cmp dword [0x100b63dc], 0
je 0x10024d31
jmp 0x10025086
mov eax, dword [edi + 4]
push dword [eax]
mov eax, dword [sym.imp.avutil_56.dll_av_log]
push dword [edi]
push str.Error_while_processing_the_decoded_data_for_stream__d:_d_n
push 8
push 0
call eax
add esp, 0x14
mov eax, dword [0x100b64d4]
test eax, eax
je 0x10025097
push esi
push 1
call eax
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
mov dword [ebp - 0xac], 1
jmp 0x10024d31
mov eax, dword [esi + 0x18]
test eax, eax
jns 0x10025126
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0xb0]
mov eax, dword [edx + 0x14]
mov dword [esi + 0x18], eax
mov dword [ebp - 0xa0], eax
mov eax, dword [edx + 0x6c]
mov dword [esi + 0x2c], eax
mov eax, dword [edx + 0x68]
mov dword [esi + 0x30], eax
mov eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x64]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ecx
mov eax, dword [edx + 0x30]
mov dword [esi + 0x1c], eax
mov eax, dword [edx + 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [edx + 0x38]
mov ecx, dword [edx + 0x3c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xa0]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebp - 0x9c]
test eax, eax
jns 0x10025126
mov eax, dword [esi + 0x10]
cmp eax, 1
je 0x1002513d
test eax, eax
je 0x1002513d
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, dword [edi + 0xf8]
jge 0x10025198
mov edx, dword [ebp - 0x4c]
jmp 0x10024da0
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
push dword [eax]
push dword [ecx]
push str.Cannot_determine_format_of_input_stream__d:_d_after_EOF_n
push 0x10
push 0
call dword [sym.imp.avutil_56.dll_av_log]
add esp, 0x14
push str.Error_marking_filters_as_finished_n
push 8
push 0
call dword [sym.imp.avutil_56.dll_av_log]
mov ecx, dword [0x100b64d4]
add esp, 0xc
test ecx, ecx
je 0x10025183
mov eax, dword [ebp - 0xa8]
push eax
push 1
call ecx
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
add esp, 4
mov dword [0x100b64d4], 0
cmp dword [edi + 0x10], 0
jne 0x10025352
test ebx, ebx
je 0x10025352
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xa0], edx
sub ecx, 0
je 0x10025244
sub ecx, 1
jne 0x10025340
mov ecx, dword [eax + 0x158]
mov dword [ebp - 0xb0], ecx
test ecx, ecx
je 0x10025220
mov eax, dword [eax + 0x164]
mov ecx, 0xf4240
imul ecx
mov esi, eax
mov ecx, edx
mov eax, dword [ebp - 0xb0]
cdq
push edx
push eax
push ecx
push esi
call fcn.10089be0
add eax, dword [ebp - 0x9c]
mov esi, eax
adc edx, dword [ebp - 0xa0]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], edx
jmp 0x10025340
mov eax, dword [edi + 4]
push 0xf4240
push 1
push dword [eax + 0x14]
push dword [eax + 0x10]
push dword [ebx + 0x34]
push dword [ebx + 0x30]
call dword [sym.imp.avutil_56.dll_av_rescale_q]
add esp, 0x18
jmp 0x10025334
cmp dword [edi + 0x90], 0
je 0x10025297
push dword [edi + 0x90]
push dword [edi + 0x94]
push 0xf4240
push 1
push edx
push esi
mov esi, dword [sym.imp.avutil_56.dll_av_rescale_q]
call esi
push 0xf4240
push 1
push dword [edi + 0x90]
add eax, 1
push dword [edi + 0x94]
adc edx, 0
push edx
push eax
call esi
add esp, 0x30
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], edx
mov esi, eax
jmp 0x10025340
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x34]
or eax, ecx
je 0x100252c0
mov eax, dword [edi + 4]
push 0xf4240
push 1
push dword [eax + 0x14]
push dword [eax + 0x10]
push ecx
push dword [ebx + 0x30]
call dword [sym.imp.avutil_56.dll_av_rescale_q]
add esp, 0x18
jmp 0x10025334
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x2f8], 0
je 0x10025340
push dword [edi + 4]
mov esi, dword [sym.imp.avformat_58.dll_av_stream_get_parser]
call esi
add esp, 4
test eax, eax
je 0x100252ef
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0x14]
add esp, 4
mov eax, dword [eax + 0x24]
inc eax
jmp 0x100252f5
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 0x54]
imul dword [ecx + 0x2fc]
push 0
push 0xf4240
push edx
push eax
call fcn.10089d70
mov esi, eax
mov ecx, edx
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x2f8]
cdq
push edx
push eax
push ecx
push esi
call fcn.10089be0
mov esi, eax
mov ecx, edx
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x54]
cdq
push edx
push eax
push ecx
push esi
call fcn.10089be0
add dword [edi + 0x30], eax
mov esi, dword [edi + 0x30]
adc dword [edi + 0x34], edx
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x40], esi
mov dword [edi + 0x44], edx
mov eax, dword [ebp - 0xa8]
xor esi, esi
cmp dword [eax + 0x74], esi
jle 0x100253d8
nop
mov eax, dword [eax + 0x70]
mov ecx, dword [edi]
mov edx, dword [eax + esi*4]
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 0x68]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0xc]
add eax, dword [ecx]
cmp dword [edx + 8], eax
jne 0x100253cc
cmp dword [edx + 0x12c], 0
jne 0x100253cc
mov eax, dword [ebp - 0xa8]
mov ecx, dword [edx]
mov eax, dword [eax + 0x78]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
test ecx, ecx
jne 0x100253a9
cmp eax, 0x80000000
je 0x100253b5
cmp dword [edi + 0x4c], eax
jl 0x100253cc
jg 0x100253b5
cmp dword [edi + 0x48], ecx
jb 0x100253cc
cmp dword [edx + 0x10], 0
jne 0x100253cc
push dword [ebp - 0xa8]
mov ecx, edi
push ebx
call fcn.10023430
add esp, 8
mov eax, dword [ebp - 0xa8]
inc esi
cmp esi, dword [eax + 0x74]
jl 0x10025360
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xac]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1007fac0
mov esp, ebp
pop ebp
ret