Function at 0x100d6087
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x1018dd18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], ecx
lea esi, [edi + 0x40]
cmp dword [esi], ecx
je 0x100d60bf
xor eax, eax
jmp 0x100d60dd
test ebx, ebx
jne 0x100d60ee
mov ebx, dword [edi + 0xc]
test ebx, ebx
jne 0x100d6115
push str.No_codec_provided_to_avcodec_open2___n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0xc
push 0xffffffffffffffea
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101141d4
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100d610f
cmp ebx, eax
je 0x100d610f
push dword [ebx]
push dword [eax]
push str.This_AVCodecContext_was_allocated_for__s__but__s_passed_to_avcodec_open2___n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0x14
jmp 0x100d60da
mov eax, dword [ebp - 0x28c]
cmp dword [edi + 0x64], ecx
jl 0x100d60da
cmp dword [edi + 0x64], 0xfffffe0
jge 0x100d60da
test eax, eax
je 0x100d6139
push ecx
push dword [eax]
lea eax, [ebp - 0x288]
push eax
call fcn.101089f9
add esp, 0xc
push edi
call fcn.100d797d
pop ecx
test eax, eax
js 0x100d60dd
push 0x38
call fcn.1010cffe
mov dword [esi], eax
pop ecx
test eax, eax
jne 0x100d615a
push 0xfffffffffffffff4
pop esi
jmp 0x100d6968
push 0x58
call fcn.1010cffe
pop ecx
mov ecx, dword [esi]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
cmp dword [eax + 0x18], 0
jne 0x100d6176
push 0xfffffffffffffff4
jmp 0x100d6926
call sym.ffmpegsumo.dll_av_frame_alloc
mov ecx, dword [esi]
mov dword [ecx + 0x14], eax
mov eax, dword [esi]
xor esi, esi
cmp dword [eax + 0x14], esi
je 0x100d616f
cmp dword [ebx + 0x34], esi
jle 0x100d61d7
cmp dword [edi + 0x3c], esi
jne 0x100d61b5
push dword [ebx + 0x34]
call fcn.1010cffe
mov dword [edi + 0x3c], eax
pop ecx
test eax, eax
je 0x100d6152
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x100d61b5
mov dword [eax], ecx
push dword [edi + 0x3c]
call fcn.1010d978
pop ecx
cmp dword [ebx + 0x2c], esi
je 0x100d61da
lea eax, [ebp - 0x288]
push eax
push dword [edi + 0x3c]
call fcn.1010db37
mov esi, eax
pop ecx
pop ecx
test esi, esi
js 0x100d6927
jmp 0x100d61da
mov dword [edi + 0x3c], esi
lea eax, [ebp - 0x288]
push eax
push edi
call fcn.1010db37
mov esi, eax
pop ecx
pop ecx
test esi, esi
js 0x100d6927
mov eax, dword [edi + 0x80]
test eax, eax
je 0x100d622f
xor ecx, ecx
cmp dword [edi + 0x84], ecx
je 0x100d621d
cmp dword [edi + 0x78], ecx
je 0x100d621d
cmp dword [edi + 0x7c], ecx
je 0x100d621d
cmp dword [edi + 0x30], 0x1c
je 0x100d6254
cmp dword [edi + 0x30], 0x5e
je 0x100d6254
test eax, eax
je 0x100d622f
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x100d622f
push ecx
push eax
jmp 0x100d6241
cmp dword [edi + 0x78], 0
je 0x100d624c
cmp dword [edi + 0x7c], 0
je 0x100d624c
push dword [edi + 0x7c]
push dword [edi + 0x78]
push edi
call fcn.100d7a22
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100d6927
mov eax, dword [edi + 0x80]
xor esi, esi
test eax, eax
jne 0x100d6272
cmp dword [edi + 0x84], esi
jne 0x100d6272
cmp dword [edi + 0x78], esi
jne 0x100d6272
cmp dword [edi + 0x7c], esi
je 0x100d62b3
push edi
push esi
push dword [edi + 0x84]
push eax
call sym.ffmpegsumo.dll_av_image_check_size
add esp, 0x10
test eax, eax
js 0x100d629b
push edi
push esi
push dword [edi + 0x7c]
push dword [edi + 0x78]
call sym.ffmpegsumo.dll_av_image_check_size
add esp, 0x10
test eax, eax
jns 0x100d62b3
push str.Ignoring_invalid_width_height_values_n
push 0x18
push edi
call fcn.1010c4f6
push esi
push esi
push edi
call fcn.100d7a22
add esp, 0x18
cmp dword [edi + 0x78], 0
jle 0x100d6309
cmp dword [edi + 0x7c], 0
jle 0x100d6309
push dword [edi + 0xe4]
push dword [edi + 0xe0]
push dword [edi + 0x7c]
push dword [edi + 0x78]
call fcn.1010bc6a
add esp, 0x10
test eax, eax
jns 0x100d6309
push dword [edi + 0xe4]
push dword [edi + 0xe0]
push str.ignoring_invalid_SAR:__u__u_n
push 0x18
push edi
call fcn.1010c4f6
add esp, 0x14
mov dword [edi + 0xe0], esi
mov dword [edi + 0xe4], 1
push ebx
call fcn.100d4939
pop ecx
test eax, eax
je 0x100d6321
lea eax, [edi + 0x34c]
push eax
call fcn.1010cfb6
pop ecx
cmp dword [edi + 0x1a0], 0x3f
ja 0x100d6924
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ebx
cmp eax, 0xffffffff
je 0x100d633e
cmp eax, dword [ebx + 8]
jne 0x100d634f
cmp dword [edi + 0x30], esi
jne 0x100d634f
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x30], eax
mov ecx, dword [edi + 0x30]
cmp ecx, dword [ebx + 0xc]
jne 0x100d6914
mov eax, dword [edi + 8]
cmp eax, dword [ebx + 8]
je 0x100d636c
cmp eax, 4
jne 0x100d6914
push ecx
mov dword [edi + 0x1ac], esi
call fcn.100c111d
mov dword [edi + 0x374], eax
mov eax, dword [edi + 0xc]
pop ecx
test dword [eax + 0x10], 0x200
je 0x100d63fe
cmp dword [edi + 0x298], 0xfffffffe
jle 0x100d63fe
push ebx
call fcn.100d494d
push 0xfffffffffffffffe
push dword [ebx]
test eax, eax
mov ecx, str.decoder
mov esi, str.encoder
cmove esi, ecx
push esi
push str.The__s__s_is_experimental_but_experimental_codecs_are_not_enabled__add__strict__d_if_you_want_to_use_it._n
push 0x10
push edi
call fcn.1010c4f6
push ebx
call fcn.100d494d
add esp, 0x20
test eax, eax
je 0x100d63cc
push 1
jmp 0x100d63ce
push 0
push dword [ebx + 0xc]
call fcn.100d7b77
pop ecx
pop ecx
test dword [eax + 0x10], 0x200
jne 0x100d63f4
push dword [eax]
push esi
push str.Alternatively_use_the_non_experimental__s__s._n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0x14
mov esi, 0xd44d5058
jmp 0x100d6927
xor eax, eax
xor ebx, ebx
inc eax
cmp dword [edi + 8], eax
jne 0x100d641e
cmp dword [edi + 0x68], ebx
je 0x100d6412
cmp dword [edi + 0x6c], ebx
jne 0x100d641e
mov dword [edi + 0x68], eax
mov eax, dword [edi + 0x19c]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x40]
cmp dword [eax + 0x2c], ebx
je 0x100d642f
test byte [edi + 0x320], 1
jne 0x100d6440
push edi
call fcn.100d2654
mov esi, eax
pop ecx
test esi, esi
js 0x100d6927
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x310]
movzx eax, byte [esi + 0x28]
cmp eax, ecx
jl 0x100d6909
test ecx, ecx
js 0x100d6909
push esi
call fcn.100d494d
pop ecx
test eax, eax
je 0x100d6774
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100d652a
cmp dword [eax], 0xffffffff
je 0x100d64d4
xor ecx, ecx
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x20]
mov eax, dword [ecx + eax]
cmp dword [edi + 0x1a4], eax
je 0x100d64d4
cmp dword [edi + 0x1a0], 1
jne 0x100d64b1
push eax
call fcn.1010f7fa
push dword [edi + 0x1a4]
mov esi, eax
call fcn.1010f7fa
pop ecx
pop ecx
cmp eax, esi
je 0x100d64c5
mov eax, dword [edi + 0xc]
inc ebx
mov ecx, ebx
shl ecx, 2
mov eax, dword [eax + 0x20]
cmp dword [ecx + eax], 0xffffffff
jne 0x100d647e
jmp 0x100d64d4
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + ebx*4]
mov dword [edi + 0x1a4], eax
mov esi, dword [edi + 0xc]
mov eax, dword [esi + 0x20]
cmp dword [eax + ebx*4], 0xffffffff
jne 0x100d6528
push dword [edi + 0x1a4]
lea eax, [ebp - 0x84]
push 0x10142a70
push 0x80
push eax
call fcn.10035030
push dword [edi + 0x1a4]
call fcn.1010f86f
test eax, eax
lea ecx, [ebp - 0x84]
cmovne ecx, eax
push ecx
push str.Specified_sample_format__s_is_invalid_or_not_supported_n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0x24
jmp 0x100d6924
xor ebx, ebx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100d65a0
mov ecx, dword [eax]
mov edx, ebx
jmp 0x100d6543
cmp dword [edi + 0x8c], ecx
je 0x100d6548
inc edx
mov ecx, dword [eax + edx*4]
cmp ecx, 0xffffffff
jne 0x100d6537
cmp dword [eax + edx*4], 0xffffffff
jne 0x100d65a0
cmp dword [edi + 0x30], 8
je 0x100d655a
cmp dword [edi + 0x30], 0xa
jne 0x100d6563
cmp dword [edi + 0x298], 0xffffffff
jle 0x100d65a0
push dword [edi + 0x8c]
lea eax, [ebp - 0x84]
push 0x10142a70
push 0x80
push eax
call fcn.10035030
push dword [edi + 0x8c]
call fcn.1010f078
test eax, eax
lea ecx, [ebp - 0x84]
cmovne ecx, eax
push ecx
push str.Specified_pixel_format__s_is_invalid_or_not_supported_n
jmp 0x100d6518
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100d65dd
mov ecx, dword [eax]
mov edx, ebx
jmp 0x100d65b9
cmp dword [edi + 0x19c], ecx
je 0x100d65bd
inc edx
mov ecx, dword [eax + edx*4]
test ecx, ecx
jne 0x100d65ad
cmp dword [eax + edx*4], ebx
jne 0x100d65dd
push dword [edi + 0x19c]
push str.Specified_sample_rate__d_is_not_supported_n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0x10
jmp 0x100d6924
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x100d6608
mov eax, dword [edi + 0x1c0]
mov ebx, dword [edi + 0x1c4]
or eax, ebx
jne 0x100d6685
push str.Channel_layout_not_specified_n
push 0x18
push edi
call fcn.1010c4f6
add esp, 0xc
mov ecx, dword [edi + 0x1c0]
xor ebx, ebx
mov edx, dword [edi + 0x1c4]
mov eax, ecx
or eax, edx
je 0x100d66f7
cmp dword [edi + 0x1a0], ebx
je 0x100d66f7
push edx
push ecx
call fcn.101083f1
mov esi, eax
pop ecx
pop ecx
cmp esi, dword [edi + 0x1a0]
je 0x100d670c
push dword [edi + 0x1c4]
lea eax, [ebp - 0x284]
push dword [edi + 0x1c0]
push 0xffffffffffffffff
push 0x200
push eax
call fcn.1010846d
push dword [edi + 0x1a0]
lea eax, [ebp - 0x284]
push esi
push eax
push str.Channel_layout__s_with__d_channels_does_not_match_number_of_specified_channels__d_n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0x2c
jmp 0x100d6924
mov eax, dword [ecx + 4]
xor edx, edx
mov esi, dword [ecx]
mov dword [ebp - 0x290], eax
mov eax, esi
or eax, dword [ecx + 4]
je 0x100d66bf
cmp dword [edi + 0x1c0], esi
jne 0x100d66a9
cmp ebx, dword [ebp - 0x290]
je 0x100d66bf
mov eax, dword [ecx + edx*8 + 0xc]
inc edx
mov dword [ebp - 0x290], eax
mov esi, dword [ecx + edx*8]
mov eax, esi
or eax, dword [ecx + edx*8 + 4]
jne 0x100d6699
mov eax, dword [ecx + edx*8]
or eax, dword [ecx + edx*8 + 4]
jne 0x100d6608
push ebx
push dword [edi + 0x1c0]
lea eax, [ebp - 0x284]
push 0xffffffffffffffff
push 0x200
push eax
call fcn.1010846d
lea eax, [ebp - 0x284]
push eax
push str.Specified_channel_layout__s_is_not_supported_n
jmp 0x100d6518
mov eax, ecx
or eax, edx
je 0x100d670c
push edx
push ecx
call fcn.101083f1
pop ecx
pop ecx
mov dword [edi + 0x1a0], eax
mov eax, dword [edi + 8]
test eax, eax
jne 0x100d6731
cmp dword [edi + 0x30], 0x3f
je 0x100d672d
cmp dword [edi + 0x78], ebx
jle 0x100d6723
cmp dword [edi + 0x7c], ebx
jg 0x100d672d
push str.dimensions_not_set_n
jmp 0x100d6919
test eax, eax
je 0x100d6736
cmp eax, 1
jne 0x100d6756
mov eax, dword [edi + 0x48]
test eax, eax
jle 0x100d6756
cmp eax, 0x3e8
jge 0x100d6756
push eax
push eax
push str.Bitrate__d_is_extremely_low__maybe_you_mean__dk_n
push 0x18
push edi
call fcn.1010c4f6
add esp, 0x14
cmp dword [edi + 0x228], ebx
jne 0x100d6774
imul eax, dword [edi + 0x200], 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [edi + 0x228], eax
mov eax, 0x80000000
mov dword [edi + 0x380], ebx
mov dword [edi + 0x394], eax
mov dword [edi + 0x38c], eax
mov eax, dword [edi + 0xc]
mov dword [edi + 0x384], ebx
mov dword [edi + 0x378], ebx
mov dword [edi + 0x37c], ebx
mov dword [edi + 0x390], ebx
mov dword [edi + 0x388], ebx
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x100d67d2
test byte [edi + 0x320], 1
je 0x100d67c4
mov eax, dword [edi + 0x40]
cmp dword [eax + 0x2c], ebx
je 0x100d67d2
push edi
call ecx
mov esi, eax
pop ecx
test esi, esi
js 0x100d6927
push dword [edi + 0xc]
mov esi, ebx
call fcn.100d4939
pop ecx
test eax, eax
je 0x100d6968
cmp dword [edi + 0x48], ebx
jne 0x100d67f4
push edi
call fcn.100d7bd0
pop ecx
mov dword [edi + 0x48], eax
mov ecx, dword [edi + 0x1c0]
mov eax, ecx
mov edx, dword [edi + 0x1c4]
or eax, edx
je 0x100d6823
push edx
push ecx
call fcn.101083f1
mov ebx, eax
mov eax, dword [edi + 0x1a0]
pop ecx
pop ecx
test eax, eax
jne 0x100d6858
mov dword [edi + 0x1a0], ebx
xor ebx, ebx
mov eax, dword [edi + 0x1a0]
test eax, eax
je 0x100d6833
js 0x100d6924
cmp eax, 0x3f
ja 0x100d6924
cmp dword [edi + 0x398], ebx
je 0x100d6968
cmp dword [edi + 8], 3
je 0x100d68ac
push str.Character_encoding_is_only_supported_with_subtitles_codecs_n
jmp 0x100d6919
cmp ebx, eax
je 0x100d6821
push dword [edi + 0x1c4]
lea eax, [ebp - 0x284]
push dword [edi + 0x1c0]
push 0xffffffffffffffff
push 0x200
push eax
call fcn.1010846d
push dword [edi + 0x1a0]
lea eax, [ebp - 0x284]
push ebx
push eax
push str.Channel_layout__s_with__d_channels_does_not_match_specified_number_of_channels__d:_ignoring_specified_channel_layout_n
push 0x18
push edi
call fcn.1010c4f6
add esp, 0x2c
xor ebx, ebx
mov dword [edi + 0x1c0], ebx
mov dword [edi + 0x1c4], ebx
jmp 0x100d6823
mov eax, dword [edi + 0x374]
test dword [eax + 0x10], 0x10000
je 0x100d68da
push dword [eax + 8]
push str.Codec__s_is_bitmap_based__subtitles_character_encoding_will_be_ignored_n
push 0x18
push edi
call fcn.1010c4f6
add esp, 0x10
or dword [edi + 0x39c], 0xffffffff
jmp 0x100d6968
cmp dword [edi + 0x39c], ebx
jne 0x100d68ec
mov dword [edi + 0x39c], 1
cmp dword [edi + 0x39c], 1
jne 0x100d6968
push str.Character_encoding_subtitles_conversion_needs_a_libavcodec_built_with_iconv_support_for_this_codec_n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0xc
push 0xffffffffffffffd8
jmp 0x100d6926
push eax
push str.The_maximum_value_for_lowres_supported_by_the_decoder_is__d_n
jmp 0x100d65cd
push str.Codec_type_or_id_mismatches_n
push 0x10
push edi
call fcn.1010c4f6
add esp, 0xc
push 0xffffffffffffffea
pop esi
lea eax, [ebp - 0x288]
push eax
call fcn.10108a3e
lea eax, [edi + 0x3c]
push eax
call fcn.1010cfb6
lea ebx, [edi + 0x40]
mov eax, dword [ebx]
pop ecx
pop ecx
test eax, eax
je 0x100d695d
add eax, 0x14
push eax
call sym.ffmpegsumo.dll_av_frame_free
mov eax, dword [ebx]
add eax, 0x18
push eax
call fcn.1010cfb6
pop ecx
pop ecx
push ebx
call fcn.1010cfb6
and dword [edi + 0xc], 0
pop ecx
call fcn.100d7b20
mov edi, dword [ebp - 0x28c]
test edi, edi
je 0x100d6986
push edi
call fcn.10108a3e
mov eax, dword [ebp - 0x288]
pop ecx
mov dword [edi], eax
mov eax, esi
jmp 0x100d60dd