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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10266634]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0
mov ebx, dword [esi + 0xb0]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 1
cmp dword [ebx], 4
mov ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x1c], 1
je 0x100bc274
cmp dword [ebx + 4], 0x15002
jne 0x100bb7f8
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
push edx
push dword [ebp + 8]
call fcn.100b7260
add esp, 0x18
test eax, eax
js 0x100bc276
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp + 0x18]
mov eax, 0xaf
bsr esi, eax
lea esi, [esi + 7]
shr esi, 3
test esi, esi
je 0x100bb832
lea ebx, [esi*8]
sub ebx, 8
mov eax, 0xae
mov ecx, ebx
shr eax, cl
push eax
push edi
call sym.avformat_58.dll_avio_w8
add esp, 8
sub esi, 1
jne 0x100bb814
mov ebx, dword [ebp - 0x20]
push 8
push edi
call fcn.100bd6c0
push 1
push 0
push 0
push edi
call sym.avformat_58.dll_avio_seek
mov esi, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push dword [esi + 0x10]
mov dword [ebp - 0x40], 8
push 0xd7
push edi
call fcn.100bd7e0
push dword [esi + 0xc]
push dword [esi + 8]
push 0x73c5
push edi
call fcn.100bd780
push 0
push 0
push 0x9c
push edi
call fcn.100bd7e0
mov esi, dword [ebp + 0x10]
add esp, 0x48
push 0
push 0
push 0x101ea560
push dword [esi + 0x40]
call sub.avutil_56.dll_av_dict_get
add esp, 0x10
test eax, eax
je 0x100bb8ca
mov edx, dword [eax + 4]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xc], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bb8b0
sub ecx, dword [ebp - 0xc]
push ecx
push edx
push 0x536e
push edi
call fcn.100bd2c0
add esp, 0x10
push 0
push 0
push str.language
push dword [esi + 0x40]
call sub.avutil_56.dll_av_dict_get
add esp, 0x10
test eax, eax
je 0x100bb8ea
mov edx, dword [eax + 4]
cmp byte [edx], 0
jne 0x100bb8ef
mov edx, 0x1021129c
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bb8f7
sub ecx, dword [ebp - 0xc]
push ecx
push edx
push 0x22b59c
push edi
call fcn.100bd2c0
add esp, 0x10
cmp dword [ebp + 0x1c], 0
jne 0x100bb929
push 0
push 0
push 0x88
push edi
call fcn.100bd7e0
add esp, 0x10
test byte [esi + 0x30], 0x40
je 0x100bb941
push 0
push 1
push 0x55aa
push edi
call fcn.100bd7e0
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 2
jne 0x100bba35
cmp dword [ebx], 3
je 0x100bb9bb
mov eax, dword [0x10213498]
xor ecx, ecx
test eax, eax
je 0x100bb97a
mov edx, dword [ebx + 4]
cmp eax, edx
je 0x100bb9a2
inc ecx
lea eax, [ecx*8]
sub eax, ecx
mov eax, dword [eax*4 + 0x10213498]
test eax, eax
jne 0x100bb961
push str.Only_VP8_or_VP9_or_AV1_video_and_Vorbis_or_Opus_audio_and_WebVTT_subtitles_are_supported_for_WebM._n
push 0x10
push dword [ebp + 8]
call sub.avutil_56.dll_av_log
add esp, 0xc
mov eax, 0xffffffea
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100014c9
mov esp, ebp
pop ebp
ret
lea eax, [ecx*8]
mov dword [ebp - 8], 1
sub eax, ecx
lea edx, [eax*4 + str.V_VP8]
jmp 0x100bba0b
cmp dword [ebx + 4], 0x17809
jne 0x100bb97a
mov eax, dword [esi + 0x30]
test eax, 0x10000
je 0x100bb9d5
mov edx, str.D_WEBVTT_CAPTIONS
jmp 0x100bba04
test eax, 0x20000
je 0x100bb9ea
mov edx, str.D_WEBVTT_DESCRIPTIONS
mov dword [ebp - 8], 0x21
jmp 0x100bba0b
test eax, 0x40000
je 0x100bb9ff
mov edx, str.D_WEBVTT_METADATA
mov dword [ebp - 8], 0x21
jmp 0x100bba0b
mov edx, str.D_WEBVTT_SUBTITLES
mov dword [ebp - 8], 0x11
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xc], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bba13
sub ecx, dword [ebp - 0xc]
push ecx
push edx
push 0x86
push edi
call fcn.100bd2c0
mov ecx, dword [ebp - 8]
add esp, 0x10
jmp 0x100bbb00
mov eax, dword [esi + 0x30]
test al, 8
je 0x100bba51
push 0
push 1
push 0x55af
push edi
call fcn.100bd7e0
mov eax, dword [esi + 0x30]
add esp, 0x10
test al, al
jns 0x100bba6a
push 0
push 1
push 0x55ab
push edi
call fcn.100bd7e0
mov eax, dword [esi + 0x30]
add esp, 0x10
test eax, 0x100
je 0x100bba86
push 0
push 1
push 0x55ac
push edi
call fcn.100bd7e0
mov eax, dword [esi + 0x30]
add esp, 0x10
mov ecx, eax
and ecx, 6
je 0x100bbaa9
cmp ecx, 6
je 0x100bbaa9
shr eax, 2
push 0
and eax, 1
push eax
push 0x55ae
push edi
call fcn.100bd7e0
add esp, 0x10
mov edx, dword [ebx + 4]
cmp edx, 0xd
jne 0x100bbad4
cmp dword [ebx + 8], 0
jne 0x100bbad4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x138], 0
je 0x100bbaca
xor ecx, ecx
mov dword [ebp - 8], ecx
jmp 0x100bbb03
push str.Raw_RGB_is_not_supported_Natively_in_Matroska__you_can_use_AVI_or_NUT_or_nIf_you_would_like_to_store_it_anyway_using_VFW_mode__enable_allow_raw_vfw___allow_raw_vfw_1__n
jmp 0x100bb97f
mov eax, dword [0x10212cf0]
xor ecx, ecx
test eax, eax
je 0x100bbafe
nop
cmp eax, edx
jne 0x100bbae9
cmp edx, 0x21
jne 0x100bbb26
inc ecx
lea eax, [ecx*8]
sub eax, ecx
mov eax, dword [eax*4 + 0x10212cf0]
test eax, eax
jne 0x100bbae0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx]
sub eax, 0
je 0x100bbdcc
sub eax, 1
je 0x100bbbee
sub eax, 2
je 0x100bbb64
push str.Only_audio__video__and_subtitles_are_supported_for_Matroska._n
jmp 0x100bb97f
lea eax, [ecx*8]
sub eax, ecx
lea edx, [eax*4 + str.A_AAC]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xc], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bbb40
sub ecx, dword [ebp - 0xc]
push ecx
push edx
push 0x86
push edi
call fcn.100bd2c0
mov ecx, 1
add esp, 0x10
mov dword [ebp - 8], ecx
jmp 0x100bbb00
test ecx, ecx
jne 0x100bbb93
push dword [ebx + 4]
push str.Subtitle_codec__d_is_not_supported._n
push 0x10
push dword [ebp + 8]
call sub.avutil_56.dll_av_log
add esp, 0x10
mov eax, 0xffffffd8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100014c9
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 4]
cmp eax, 2
je 0x100bbbc4
test dword [esi + 0x30], 0x20000
je 0x100bbbcd
push 0
push 1
push 0x55ad
push edi
call fcn.100bd7e0
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 4]
cmp eax, 2
jne 0x100bbbcd
cmp dword [ebx + 4], 0x17809
je 0x100bbbd5
mov ecx, 0x11
mov dword [ebp - 8], ecx
push 0
push ecx
push 0x83
push edi
call fcn.100bd7e0
mov esi, dword [ebp + 8]
add esp, 0x10
jmp 0x100bc223
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x100bbc3b
cmp dword [ebx + 4], 0x1503c
jne 0x100bbc59
push 0x3b9aca00
push 1
push 0xbb80
cdq
push 1
push edx
push eax
call sub.avutil_56.dll_av_rescale_q
add esp, 0x18
test edx, edx
jg 0x100bbc2b
jl 0x100bbc21
test eax, eax
jae 0x100bbc2b
push str.Initial_padding_is_invalid_n
jmp 0x100bb97f
push edx
push eax
push 0x56aa
push edi
call fcn.100bd7e0
add esp, 0x10
cmp dword [ebx + 4], 0x1503c
jne 0x100bbc59
push 0
push 0x4c4b400
push 0x56bb
push edi
call fcn.100bd7e0
add esp, 0x10
push 0
push 2
push 0x83
push edi
call fcn.100bd7e0
add esp, 0x10
cmp dword [ebp - 8], 0
jne 0x100bbc86
push 8
push str.A_MS_ACM
push 0x86
push edi
call fcn.100bd2c0
add esp, 0x10
xor ecx, ecx
mov edx, 0x2b
xor ebx, ebx
nop
shrd edx, ecx, 7
inc ebx
shr ecx, 7
mov eax, edx
or eax, ecx
jne 0x100bbc90
mov ecx, 0xe1
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x20]
bsr esi, ecx
lea esi, [esi + 7]
shr esi, 3
test esi, esi
je 0x100bbce0
lea ebx, [esi*8]
nop dword [eax]
mov eax, ecx
sub ebx, 8
mov ecx, ebx
shr eax, cl
push eax
push edi
call sym.avformat_58.dll_avio_w8
add esp, 8
mov ecx, 0xe1
sub esi, 1
jne 0x100bbcc0
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc]
push esi
push edi
call fcn.100bd6c0
push 1
push 0
push 0
push edi
call sym.avformat_58.dll_avio_seek
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x34], edx
cdq
push edx
push eax
push 0x9f
push edi
mov dword [ebp - 0x30], esi
call fcn.100bd7e0
push 1
push 0
push 0
push edi
call sym.avformat_58.dll_avio_seek
movd xmm0, dword [ebp - 0x18]
add esp, 0x30
mov ecx, dword [ebp + 0x14]
cvtdq2pd xmm0, xmm0
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
movsd qword [esp], xmm0
push 0xb5
push edi
call fcn.100bd370
mov eax, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
je 0x100bbd69
movd xmm0, eax
sub esp, 8
cvtdq2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x78b5
push edi
call fcn.100bd370
add esp, 0x10
push dword [ebx + 4]
call sub.avcodec_58.dll_av_get_bits_per_sample
add esp, 4
test eax, eax
jne 0x100bbda1
cmp dword [ebx + 4], 0x1100b
je 0x100bbd9a
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x100bbda1
push dword [ebx + 0x14]
call sub.avutil_56.dll_av_get_bytes_per_sample
shl eax, 3
add esp, 4
test eax, eax
jne 0x100bbda1
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x100bbdb2
cdq
push edx
push eax
push 0x6264
push edi
call fcn.100bd7e0
add esp, 0x10
movups xmm0, xmmword [ebp - 0x38]
sub esp, 0x10
mov eax, esp
push edi
movups xmmword [eax], xmm0
call fcn.100b6f40
mov esi, dword [ebp + 8]
jmp 0x100bc220
push 0
push 1
push 0x83
push edi
mov dword [edx + 0x108], 1
call fcn.100bd7e0
mov eax, dword [esi + 0x44]
add esp, 0x10
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x100bbe20
mov eax, dword [esi + 0x48]
test eax, eax
jle 0x100bbe20
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0x44]
push eax
call fcn.100b6d50
add esp, 0x10
test eax, eax
jle 0x100bbe20
mov eax, dword [esi + 0x48]
mov ecx, 0x3b9aca00
imul ecx
mov esi, eax
mov eax, dword [ebp - 0x18]
jmp 0x100bbe61
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x100bbe7d
cmp dword [esi + 0xa8], 0
jle 0x100bbe7d
push dword [esi + 0x14]
push dword [esi + 0x10]
push eax
push dword [esi + 0xa8]
call fcn.100b6d50
add esp, 0x10
test eax, eax
jle 0x100bbe7d
mov eax, dword [esi + 0xa8]
mov ecx, 0x3b9aca00
imul ecx
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.10001c1c
push edx
push eax
push 0x23e383
push edi
call fcn.100bd7e0
add esp, 0x10
cmp dword [ebp - 8], 0
jne 0x100bbf15
push dword [ebx + 4]
push 0x10211380
call fcn.10001924
add esp, 8
test eax, eax
je 0x100bbee7
push dword [ebx + 4]
push 0x10236948
call fcn.10001924
add esp, 8
test eax, eax
jne 0x100bbeba
cmp dword [ebx + 4], 0xd
jne 0x100bbecc
mov eax, dword [ebx + 4]
jmp 0x100bbec2
mov eax, dword [ebx + 4]
cmp eax, 0x16
je 0x100bbecc
cmp eax, 0x17
je 0x100bbecc
cmp eax, 0x2b
jne 0x100bbee7
push 0xb
push str.V_QUICKTIME
push 0x86
push edi
mov dword [ebp - 0x28], 1
call fcn.100bd2c0
jmp 0x100bbf12
push 0xf
push str.V_MS_VFW_FOURCC
push 0x86
push edi
call fcn.100bd2c0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [ecx], 1
mov eax, dword [eax + 0x50c]
mov dword [eax + 0x50], 0
add esp, 0x10
mov eax, 0xe1
bsr esi, eax
lea esi, [esi + 7]
shr esi, 3
test esi, esi
je 0x100bbf4e
lea ebx, [esi*8]
nop
sub ebx, 8
mov eax, 0xe0
mov ecx, ebx
shr eax, cl
push eax
push edi
call sym.avformat_58.dll_avio_w8
add esp, 8
sub esi, 1
jne 0x100bbf30
mov ebx, dword [ebp - 0x20]
push 8
push edi
call fcn.100bd6c0
push 1
push 0
push 0
push edi
call sym.avformat_58.dll_avio_seek
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x34], edx
cdq
push edx
push eax
push 0xb0
push edi
mov dword [ebp - 0x30], 8
call fcn.100bd7e0
mov eax, dword [ebx + 0x34]
cdq
push edx
push eax
push 0xba
push edi
call fcn.100bd7e0
mov eax, dword [ebp + 0xc]
add esp, 0x38
mov esi, dword [ebx + 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
lea eax, [esi - 1]
cmp eax, 4
ja case.default.0x100bbfda
jmp dword [eax*4 + 0x100bc288]
push 0
push 2
push 0x9a
jmp 0x100bbffc
push 0
push 1
push 0x9a
push edi
call fcn.100bd7e0
add esp, 0x10
cmp dword [ebp - 0x10], 2
je case.default.0x100bbfda
lea eax, [esi - 2]
cmp eax, 3
ja case.default.0x100bbfda
jmp dword [eax*4 + 0x100bc29c]
push 0
push 1
jmp 0x100bbff7
push 0
push 6
jmp 0x100bbff7
push 0
push 9
jmp 0x100bbff7
push 0
push 0xe
push 0x9d
push edi
call fcn.100bd7e0
add esp, 0x10
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push esi
push edi
push dword [ebp + 8]
call fcn.100bab80
add esp, 0x18
test eax, eax
js 0x100bc276
push 0
push 0
push str.alpha_mode
push dword [esi + 0x40]
call sub.avutil_56.dll_av_dict_get
add esp, 0x10
test eax, eax
je 0x100bc053
push dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
jne 0x100bc087
mov eax, dword [ebp + 8]
push 0
push 0
push str.alpha_mode
push dword [eax + 0x48c]
call sub.avutil_56.dll_av_dict_get
add esp, 0x10
test eax, eax
je 0x100bc081
push dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
test eax, eax
jne 0x100bc087
cmp dword [ebx + 0x14], 0x21
jne 0x100bc099
push 0
push 1
push 0x53c0
push edi
call fcn.100bd7e0
add esp, 0x10
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100bc185
mov eax, dword [esi + 0x3c]
cdq
push edx
push eax
mov eax, ecx
cdq
push edx
push eax
mov eax, dword [ebx + 0x30]
cdq
push edx
push eax
call sub.avutil_56.dll_av_rescale
mov ecx, eax
add esp, 0x18
mov eax, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x100bc0df
jg 0x100bc0d5
cmp ecx, 0x7fffffff
jbe 0x100bc0df
push str.Overflow_in_display_width_n
jmp 0x100bb97f
mov eax, dword [ebx + 0x30]
cdq
cmp ecx, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
jne 0x100bc0ff
cmp dword [ebp - 0x10], edx
jne 0x100bc0ff
cmp eax, 1
jne 0x100bc0ff
cmp ecx, eax
je 0x100bc1db
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 2
je 0x100bc175
cmp eax, 1
jne 0x100bc175
cmp ecx, eax
jne 0x100bc175
mov eax, dword [ebx + 0x34]
imul dword [esi + 0x3c]
push 0
push 0x100000
push edx
push eax
mov eax, dword [ebx + 0x30]
imul dword [esi + 0x38]
push edx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.avutil_56.dll_av_reduce
mov eax, dword [ebp - 0x14]
cdq
push edx
push eax
push 0x54b0
push edi
call fcn.100bd7e0
mov eax, dword [ebp - 0x10]
cdq
push edx
push eax
push 0x54ba
push edi
call fcn.100bd7e0
add esp, 0x40
push 0
push 3
push 0x54b2
push edi
call fcn.100bd7e0
add esp, 0x10
jmp 0x100bc1db
cdq
push edx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.10001c1c
jmp 0x100bc1b6
mov ecx, dword [ebp - 0x24]
cmp ecx, 1
jne 0x100bc1af
cmp dword [ebp - 0x1c], ecx
jne 0x100bc1af
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 2
je 0x100bc1db
push 0
push 4
push 0x54b2
push edi
call fcn.100bd7e0
add esp, 0x10
jmp 0x100bc1db
mov eax, dword [ebx + 0x30]
cdq
idiv ecx
cdq
push edx
push eax
push 0x54b0
push edi
call fcn.100bd7e0
mov eax, dword [ebx + 0x34]
cdq
idiv dword [ebp - 0x1c]
cdq
push edx
push eax
push 0x54ba
push edi
call fcn.100bd7e0
add esp, 0x20
cmp dword [ebx + 4], 0xd
jne 0x100bc1fb
mov eax, dword [ebx + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 4
push eax
push 0x2eb524
push edi
call fcn.100bd2c0
add esp, 0x10
push ebx
push esi
push edi
call fcn.100bc770
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.100bcd00
movups xmm0, xmmword [ebp - 0x38]
add esp, 8
mov eax, esp
push edi
movups xmmword [eax], xmm0
call fcn.100b6f40
add esp, 0x14
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 2
jne 0x100bc235
cmp dword [ebx + 4], 0x17809
je 0x100bc25f
push 1
push 0
push 0
push edi
call sym.avformat_58.dll_avio_seek
push dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
push dword [ebp - 8]
push ebx
push edi
push esi
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], edx
call fcn.100b96f0
add esp, 0x24
test eax, eax
js 0x100bc276
movups xmm0, xmmword [ebp - 0x48]
sub esp, 0x10
mov eax, esp
push edi
movups xmmword [eax], xmm0
call fcn.100b6f40
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100014c9
mov esp, ebp
pop ebp
ret