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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
mov eax, dword [edi + 0x80f8]
mov ebx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [eax*2 + 0x51]
and eax, 0xfffffff0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x30], eax
call fcn.101d72de
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0xd54]
mov dword [ebp + 8], eax
emms
cmp dword [0x104042a0], 0
jne 0x101e91c0
call fcn.101ecbfd
cmp ebx, dword [ebp - 0xc]
jne 0x101e91d5
cmp esi, dword [ebp - 0x10]
jne 0x101e91d5
mov dword [ebp - 0x1c], 1
xor esi, esi
jmp 0x101e91da
xor esi, esi
mov dword [ebp - 0x1c], esi
lea ebx, [edi + 0x38]
push ebx
call fcn.101e7a37
or dword [edi + 0x605c], eax
lea edx, [edi + 0x34]
push edx
call fcn.101e7a37
or dword [edi + 0x6060], eax
mov eax, dword [ebp - 0x34]
pop ecx
pop ecx
cmp eax, dword [ebx]
jne 0x101e9208
mov eax, dword [ebp - 0x30]
cmp eax, dword [edx]
je 0x101e9218
push str.deprecated_pixel_format_used__make_sure_you_did_set_range_correctly_n
push 0x18
push edi
call fcn.101ceb2e
add esp, 0xc
mov eax, 0x10000
cmp dword [edi + 0x6030], esi
jne 0x101e9251
cmp dword [edi + 0x6038], esi
jne 0x101e9251
cmp dword [edi + 0x3c], esi
jne 0x101e9251
push eax
push eax
push esi
push dword [edi + 0x6060]
mov eax, 0x1029afc0
push eax
push dword [edi + 0x605c]
push eax
push edi
call fcn.101ea513
add esp, 0x20
push edi
call fcn.101e79d6
mov esi, dword [ebx]
mov ebx, dword [edi + 0x34]
push esi
mov dword [ebp - 0x24], esi
call fcn.101d30d2
push ebx
mov dword [ebp - 0x30], eax
call fcn.101d30d2
mov dword [ebp - 0x34], eax
add esp, 0xc
xor eax, eax
cmp dword [edi + 0x6064], eax
je 0x101e9284
mov dword [edi + 0x9208], eax
cmp dword [ebp - 0x1c], eax
je 0x101e929f
push esi
call fcn.101ea4b7
pop ecx
test eax, eax
je 0x101e929f
push esi
call fcn.101d311d
pop ecx
cmp eax, ebx
je 0x101e92df
push esi
call fcn.101ea4d7
pop ecx
test eax, eax
jne 0x101e92c6
push esi
call fcn.101d3048
push eax
push str._s_is_not_supported_as_input_pixel_format_n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0x14
jmp 0x101ea489
push ebx
call fcn.101ea4f4
pop ecx
test eax, eax
jne 0x101e92df
push ebx
call fcn.101d3048
push eax
push str._s_is_not_supported_as_output_pixel_format_n
jmp 0x101e92b6
mov eax, dword [ebp + 8]
mov ecx, eax
and ecx, 0x7ff
jne 0x101e92fa
or eax, 4
mov dword [ebp + 8], eax
mov dword [edi + 0xd54], eax
jmp 0x101e931a
lea eax, [ecx - 1]
test ecx, eax
je 0x101e9317
push ecx
push str.Exactly_one_scaler_algorithm_must_be_chosen__got__X_n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0x10
jmp 0x101ea489
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
xor ecx, ecx
inc ecx
cmp edx, ecx
jl 0x101ea46f
cmp dword [ebp - 8], ecx
jl 0x101ea46f
mov esi, dword [ebp - 0xc]
cmp esi, ecx
jl 0x101ea46f
cmp dword [ebp - 0x10], ecx
jl 0x101ea46f
push 8
pop ecx
test al, 1
je 0x101e9360
cmp edx, ecx
jl 0x101e9354
cmp esi, ecx
jge 0x101e9360
xor eax, 3
mov dword [ebp + 8], eax
mov dword [edi + 0xd54], eax
cmp dword [ebp + 0x10], 0
lea eax, [ebp - 0x54]
cmovne eax, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
cmovne eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, esi
sar eax, 1
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [ebp - 4]
mov edx, 0x10000
imul edx
add esi, eax
mov eax, dword [ebp - 0xc]
adc ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.10230b30
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x10]
sar eax, 1
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [ebp - 8]
mov edx, 0x10000
imul edx
add esi, eax
mov eax, dword [ebp - 0x10]
adc ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.10230b30
push dword [ebp - 0x34]
mov dword [edi + 0x2c], eax
call fcn.101d2f59
push dword [ebp - 0x30]
mov dword [edi + 0x3c], eax
call fcn.101d2f59
mov esi, dword [ebp - 0x18]
mov dword [edi + 0x40], eax
mov eax, 0x40004
mov dword [edi + 0x8108], eax
mov dword [edi + 0x810c], eax
xor eax, eax
pop ecx
pop ecx
mov ecx, dword [esi + 4]
inc eax
test ecx, ecx
je 0x101e940a
cmp dword [ecx + 4], eax
jg 0x101e9531
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x101e941a
cmp dword [ecx + 4], eax
jg 0x101e9531
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x101e942d
cmp dword [ecx + 4], eax
jg 0x101e9534
mov ecx, dword [edx + 0xc]
test ecx, ecx
je 0x101e943d
cmp dword [ecx + 4], eax
jg 0x101e9534
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x101e944d
cmp dword [ecx + 4], eax
jg 0x101e9472
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x101e9459
cmp dword [ecx + 4], eax
jg 0x101e9472
mov ecx, dword [edx]
test ecx, ecx
je 0x101e9464
cmp dword [ecx + 4], eax
jg 0x101e9472
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x101e9470
cmp dword [ecx + 4], eax
jg 0x101e9472
xor eax, eax
mov esi, dword [ebp - 0x24]
lea ecx, [edi + 0x4c]
mov dword [ebp - 0x28], eax
lea eax, [edi + 0x50]
push eax
push ecx
push esi
call fcn.101d30f0
lea ecx, [edi + 0x58]
push ecx
lea eax, [edi + 0x54]
push eax
push ebx
call fcn.101d30f0
push ebx
call fcn.101d30d2
add esp, 0x1c
test eax, eax
je 0x101ea468
mov eax, dword [eax + 8]
xor ecx, ecx
and eax, 0x20
or eax, ecx
push 2
pop eax
jne 0x101e94be
cmp ebx, 0xa
je 0x101e94be
cmp ebx, 9
jne 0x101e953c
test dword [ebp + 8], 0x2000
jne 0x101e953c
test byte [ebp - 0xc], 1
je 0x101e94f3
push str.Forcing_full_internal_H_chroma_due_to_odd_output_size_n
push 0x30
push edi
call fcn.101ceb2e
mov eax, dword [ebp + 8]
add esp, 0xc
or eax, 0x2000
xor ecx, ecx
mov dword [ebp + 8], eax
mov dword [edi + 0xd54], eax
push 2
pop eax
cmp dword [edi + 0x4c], ecx
jne 0x101e953c
cmp dword [edi + 0x50], ecx
jne 0x101e953c
cmp dword [edi + 0x9204], eax
je 0x101e953c
test byte [edi + 0xd54], 1
jne 0x101e953c
push str.Forcing_full_internal_H_chroma_due_to_input_having_non_subsampled_chroma_n
push 0x30
push edi
call fcn.101ceb2e
mov eax, dword [ebp + 8]
add esp, 0xc
or eax, 0x2000
mov dword [ebp + 8], eax
mov dword [edi + 0xd54], eax
jmp 0x101e953f
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x101e9442
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x9204]
xor ecx, ecx
inc ecx
cmp edx, ecx
jne 0x101e955e
mov edx, ecx
test eax, 0x800000
je 0x101e955e
push 3
pop edx
mov dword [edi + 0x9204], edx
cmp ebx, 0x13
je 0x101e9576
cmp ebx, 0x16
je 0x101e9576
cmp ebx, 0x11
je 0x101e9576
cmp ebx, 0x14
jne 0x101e95fd
cmp edx, ecx
mov ecx, 0x2000
jne 0x101e9592
mov edx, eax
and edx, ecx
or edx, 0x4000
shr edx, 0xd
mov dword [edi + 0x9204], edx
test ecx, eax
jne 0x101e95d3
cmp edx, 3
je 0x101e95a5
cmp edx, 4
je 0x101e95a5
cmp edx, 5
jne 0x101e95cf
push ebx
call fcn.101d3048
push eax
push str.Desired_dithering_only_supported_in_full_chroma_interpolation_for_destination_format__s_n
push 0x30
push edi
call fcn.101ceb2e
mov eax, dword [ebp + 8]
mov ecx, 0x2000
add esp, 0x14
or eax, ecx
mov dword [ebp + 8], eax
mov dword [edi + 0xd54], eax
test ecx, eax
je 0x101e95fd
cmp dword [edi + 0x9204], 2
jne 0x101e95fd
push ebx
call fcn.101d3048
push eax
push str.Ordered_dither_is_not_supported_in_full_chroma_interpolation_for_destination_format__s_n
push 0x30
push edi
call fcn.101ceb2e
add esp, 0x14
mov dword [edi + 0x9204], 3
push ebx
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea461
mov eax, dword [eax + 8]
and eax, 0x30
cmp eax, 0x30
mov eax, dword [ebp + 8]
jne 0x101e9649
test eax, 0x2000
jne 0x101e9654
push ebx
call fcn.101d3048
push eax
push str._s_output_is_not_supported_with_half_chroma_resolution__switching_to_full_n
push 0x30
push edi
call fcn.101ceb2e
mov eax, dword [ebp + 8]
add esp, 0x14
or eax, 0x2000
mov dword [ebp + 8], eax
mov dword [edi + 0xd54], eax
test eax, 0x2000
je 0x101e971f
push ebx
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea468
mov eax, dword [eax + 8]
xor ecx, ecx
and eax, 0x20
or eax, ecx
jne 0x101e967d
cmp ebx, 0xa
je 0x101e967d
cmp ebx, 9
jne 0x101e971f
push ebx
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea461
mov eax, dword [eax + 8]
and eax, 0x30
cmp eax, 0x30
je 0x101e971f
cmp ebx, 0x6b
je 0x101e971f
cmp ebx, 0x6a
je 0x101e971f
cmp ebx, 0x6d
je 0x101e971f
cmp ebx, 0x6c
je 0x101e971f
push 0x23
pop eax
cmp ebx, eax
je 0x101e971f
cmp ebx, 0x22
je 0x101e971f
cmp ebx, 0x3c
je 0x101e971f
cmp ebx, 0x3b
je 0x101e971f
cmp ebx, 0x1a
je 0x101e971f
cmp ebx, 0x19
je 0x101e971f
cmp ebx, 0x1c
je 0x101e971f
cmp ebx, 0x1b
je 0x101e971f
cmp ebx, 2
je 0x101e971f
cmp ebx, 3
je 0x101e971f
cmp ebx, 0x13
je 0x101e971f
cmp ebx, 0x16
je 0x101e971f
cmp ebx, 0x11
je 0x101e971f
cmp ebx, 0x14
je 0x101e971f
push ebx
call fcn.101d3048
push eax
push str.full_chroma_interpolation_for_destination_format__s_not_yet_implemented_n
push 0x18
push edi
call fcn.101ceb2e
mov eax, dword [ebp + 8]
add esp, 0x14
and eax, 0xffffdfff
mov dword [ebp + 8], eax
mov dword [edi + 0xd54], eax
push ebx
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea468
mov eax, dword [eax + 8]
xor ecx, ecx
and eax, 0x20
or eax, ecx
jne 0x101e9744
cmp ebx, 0xa
je 0x101e9744
cmp ebx, 9
jne 0x101e9757
mov eax, dword [ebp + 8]
test eax, 0x2000
jne 0x101e975a
mov dword [edi + 0x54], 1
jmp 0x101e975a
mov eax, dword [ebp + 8]
sar eax, 0x10
and eax, 3
add dword [edi + 0x50], eax
push esi
mov dword [edi + 0x5c], eax
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea468
mov eax, dword [eax + 8]
xor ecx, ecx
and eax, 0x20
or eax, ecx
jne 0x101e978f
cmp esi, 0xa
je 0x101e978f
cmp esi, 9
jne 0x101e9890
test dword [ebp + 8], 0x4000
jne 0x101e9890
cmp esi, 0x14
je 0x101e9890
cmp esi, 0x11
je 0x101e9890
cmp esi, 0x15
je 0x101e9890
cmp esi, 0x12
je 0x101e9890
cmp esi, 0x16
je 0x101e9890
cmp esi, 0x13
je 0x101e9890
cmp esi, 0x4a
je 0x101e9890
cmp esi, 0x4b
je 0x101e9890
cmp esi, 0x4c
je 0x101e9890
cmp esi, 0x4d
je 0x101e9890
cmp esi, 0xa5
je 0x101e9890
cmp esi, 0xa6
je 0x101e9890
cmp esi, 0x88
je 0x101e9890
cmp esi, 0x89
je 0x101e9890
cmp esi, 0xa3
je 0x101e9890
cmp esi, 0xa4
je 0x101e9890
cmp esi, 0x8a
je 0x101e9890
cmp esi, 0x8b
je 0x101e9890
cmp esi, 0x4e
je 0x101e9890
cmp esi, 0x4f
je 0x101e9890
cmp esi, 0x72
je 0x101e9890
cmp esi, 0x73
je 0x101e9890
cmp esi, 0xb1
je 0x101e9890
cmp esi, 0xb2
je 0x101e9890
cmp esi, 0xb3
je 0x101e9890
cmp esi, 0xb4
je 0x101e9890
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [edi + 0x54]
sar edx, cl
sar eax, 1
cmp edx, eax
jle 0x101e9889
test byte [ebp + 8], 1
je 0x101e9890
mov dword [edi + 0x4c], 1
mov edx, dword [ebp - 4]
mov eax, edx
mov ecx, dword [edi + 0x4c]
neg eax
sar eax, cl
mov ecx, dword [edi + 0x50]
neg eax
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 8]
neg eax
sar eax, cl
mov ecx, dword [edi + 0x54]
neg eax
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0xc]
neg eax
sar eax, cl
mov ecx, dword [edi + 0x58]
neg eax
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
neg eax
sar eax, cl
neg eax
mov dword [edi + 0x20], eax
lea eax, [edx*2 + 0x5d]
and eax, 0xfffffff0
add eax, eax
push 1
push eax
call fcn.101d0520
mov dword [edi + 0xd00], eax
pop ecx
pop ecx
test eax, eax
je 0x101e9c3d
mov eax, dword [ebp - 0x30]
push 8
pop ecx
push esi
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x20]
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x44], eax
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea468
mov eax, dword [eax + 8]
xor edx, edx
and eax, 0x20
or eax, edx
jne 0x101e993b
cmp esi, 0xa
je 0x101e993b
cmp esi, 9
je 0x101e993b
cmp esi, 0xb
jne 0x101e9942
mov dword [edi + 0x48], 0x10
mov ecx, dword [ebp - 0x3c]
cmp dword [edi + 0x44], 0x10
mov dword [edi + 0xd48], edx
lea eax, [ecx + ecx]
cmovne eax, ecx
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x1c]
sar eax, 1
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [edi + 0x14]
mov edx, 0x10000
imul edx
add esi, eax
mov eax, dword [edi + 0x1c]
adc ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.10230b30
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x20]
sar eax, 1
cdq
mov esi, eax
mov ecx, edx
mov eax, dword [edi + 0x18]
mov edx, 0x10000
imul edx
add esi, eax
mov eax, dword [edi + 0x20]
adc ecx, edx
cdq
push edx
push eax
push ecx
push esi
call fcn.10230b30
cmp dword [ebp - 0x1c], 0
movsd xmm0, qword [0x1029aca0]
mov esi, dword [ebp - 0x24]
mov dword [edi + 0x30], eax
movsd qword [edi + 0xc8], xmm0
jne 0x101e9b4e
xor eax, eax
cmp dword [edi + 0xd0], eax
je 0x101e9b4e
cmp esi, 0x6b
jne 0x101e99e0
cmp ebx, esi
je 0x101e9b4e
push 0x40
push 0x6b
push dword [ebp - 8]
mov dword [edi + 0x78], eax
lea eax, [edi + 0x84]
push dword [ebp - 4]
push eax
lea eax, [edi + 0x94]
push eax
call fcn.101d17a7
add esp, 0x18
test eax, eax
js 0x101ea48c
mov ecx, dword [ebp - 8]
lea eax, [edi + 0x68]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push 0x6b
push ecx
push eax
push esi
push ecx
push eax
call fcn.101e9109
add esp, 0x28
mov dword [edi + 0x78], eax
test eax, eax
je 0x101e9c3d
lea eax, [edi + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push dword [ebp + 8]
push 0x6b
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0x6b
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.101e9109
mov esi, eax
add esp, 0x28
mov dword [edi + 0x7c], esi
test esi, esi
je 0x101e9c3d
push ecx
mov dword [esi + 0xd4], 1
movsd xmm0, qword [edi + 0xc8]
push ecx
movsd qword [esp], xmm0
call fcn.101e7145
movsd xmm0, qword [0x102d0c08]
mov dword [esi + 0xd8], eax
divsd xmm0, qword [edi + 0xc8]
movsd qword [esp], xmm0
call fcn.101e7145
pop ecx
pop ecx
xor ecx, ecx
mov dword [esi + 0xdc], eax
cmp dword [esi + 0xd8], ecx
je 0x101e9c3d
test eax, eax
je 0x101e9c3d
push esi
call fcn.10204abd
push esi
call fcn.10204b7d
mov dword [ebp - 0x3c], eax
pop ecx
pop ecx
test eax, eax
jns 0x101e9aef
push esi
call fcn.101e8ffb
xor eax, eax
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x3c]
pop ecx
jmp 0x101ea48c
xor eax, eax
mov dword [edi + 0x80], eax
cmp ebx, 0x6b
je 0x101e9e0d
mov esi, dword [ebp - 0x10]
lea eax, [edi + 0xa4]
push 0x40
push 0x6b
push esi
push dword [ebp - 0xc]
push eax
lea eax, [edi + 0xb4]
push eax
call fcn.101d17a7
add esp, 0x18
test eax, eax
js 0x101ea48c
lea eax, [edi + 0x68]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0xc]
push ebx
push esi
push eax
push 0x6b
push esi
push eax
call fcn.101e9109
mov dword [edi + 0x80], eax
jmp 0x101e9c32
push esi
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea491
mov eax, dword [eax + 8]
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
and eax, 0x100
or eax, ecx
mov eax, 0xba
je 0x101e9c44
test edx, edx
je 0x101e9b95
cmp ebx, 2
je 0x101e9c48
test ebx, ebx
je 0x101e9c48
cmp ebx, 0x23
je 0x101e9c48
push esi
call fcn.101d30d2
pop ecx
test eax, eax
jne 0x101e9baa
push 0x302
jmp 0x101ea496
cmp dword [eax + 0x40], 8
push 2
pop eax
push 0x23
pop ecx
cmove eax, ecx
push 0x40
push eax
push dword [ebp - 8]
mov dword [ebp - 0x34], eax
lea eax, [edi + 0x84]
push dword [ebp - 4]
push eax
lea eax, [edi + 0x94]
push eax
call fcn.101d17a7
add esp, 0x18
test eax, eax
js 0x101ea48c
mov ecx, dword [ebp - 8]
lea eax, [edi + 0x68]
push eax
xor eax, eax
push eax
mov eax, dword [ebp - 0x18]
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [ebp - 0x34]
push ecx
push eax
push esi
push ecx
push eax
call fcn.101e9109
add esp, 0x28
mov dword [edi + 0x78], eax
test eax, eax
je 0x101e9c3d
lea eax, [edi + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x34]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.101e9109
mov dword [edi + 0x7c], eax
add esp, 0x28
test eax, eax
jne 0x101e9e0d
push 0xfffffffffffffff4
jmp 0x101ea48b
test edx, edx
je 0x101e9c7d
cmp dword [edi + 0x48], 8
jne 0x101e9c7d
cmp ebx, eax
jne 0x101e9c7d
mov eax, ecx
lea ecx, [edi + 0x8f8]
movd xmm0, eax
inc eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x102d0be8]
movss dword [ecx], xmm0
lea ecx, [ecx + 4]
cmp eax, 0x100
jl 0x101e9c5a
mov eax, 0xba
cmp esi, 0xb9
je 0x101e9c89
cmp esi, eax
jne 0x101e9ca1
test edx, edx
je 0x101e9c9a
cmp ebx, esi
je 0x101e9ca1
cmp esi, eax
jne 0x101e9c9a
cmp ebx, 8
je 0x101e9ca1
mov dword [edi + 0x48], 0x10
push esi
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea45a
cmp esi, 0xb
je 0x101e9cc3
mov eax, dword [eax + 8]
and eax, 0x80
je 0x101e9e14
push ebx
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea45a
cmp ebx, 0xb
je 0x101e9e14
mov eax, dword [eax + 8]
and eax, 0x80
jne 0x101e9e14
push esi
call fcn.101e71ab
pop ecx
mov ecx, eax
mov dword [ebp - 0x34], ecx
cmp ecx, 0xffffffff
je 0x101e9e14
xor eax, eax
cmp dword [edi + 0x9208], eax
je 0x101e9e14
cmp dword [ebp - 0x1c], eax
je 0x101e9d31
cmp ebx, ecx
jne 0x101e9d31
cmp dword [ebp - 0x28], eax
jne 0x101e9d31
cmp dword [ebp - 0x2c], eax
jne 0x101e9d31
mov eax, dword [edi + 0x605c]
cmp eax, dword [edi + 0x6060]
je 0x101e9e14
push 0x40
push ecx
push dword [ebp - 8]
lea eax, [edi + 0x84]
mov dword [edi + 0xc4], 1
push dword [ebp - 4]
push eax
lea eax, [edi + 0x94]
push eax
call fcn.101d17a7
add esp, 0x18
test eax, eax
js 0x101ea48c
mov ecx, dword [ebp - 8]
lea eax, [edi + 0x68]
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 4]
push dword [ebp - 0x34]
push ecx
push eax
push esi
push ecx
push eax
call fcn.101e8f9d
add esp, 0x20
mov dword [edi + 0x78], eax
test eax, eax
je 0x101ea489
mov ecx, dword [edi + 0x9208]
mov dword [eax + 0x9208], ecx
xor eax, eax
push eax
push eax
push dword [edi + 0x78]
call fcn.101e9158
add esp, 0xc
test eax, eax
js 0x101ea48c
lea eax, [edi + 0x68]
push eax
push dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x34]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.101e8f9d
add esp, 0x20
mov dword [edi + 0x7c], eax
test eax, eax
je 0x101ea489
mov ecx, dword [edi + 0x605c]
mov dword [eax + 0x605c], ecx
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 0x6060]
mov dword [ecx + 0x6060], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push dword [edi + 0x7c]
call fcn.101e9158
add esp, 0xc
test eax, eax
js 0x101ea48c
xor eax, eax
jmp 0x101ea48c
mov ecx, dword [ebp - 0x20]
lea edx, [edi + 0x68]
xor eax, eax
inc eax
and ecx, eax
push 4
mov dword [ebp - 0x3c], ecx
pop ecx
cmove ecx, eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 8]
mov eax, ecx
and eax, 0x40
mov dword [ebp - 0x34], eax
mov eax, ecx
or eax, 4
cmp dword [ebp - 0x34], 0
cmovne ecx, eax
mov eax, 0x80
push eax
push eax
mov eax, dword [ebp - 0x14]
push edx
mov dword [ebp - 0x24], ecx
push dword [eax]
mov eax, dword [ebp - 0x18]
push dword [eax]
lea eax, [edi + 0xd28]
push dword [ebp - 0x20]
push ecx
push 0x4000
push dword [ebp - 0x30]
push dword [ebp - 0xc]
push dword [ebp - 4]
push dword [edi + 0x24]
push eax
lea eax, [edi + 0xd18]
push eax
lea eax, [edi + 0xd08]
push eax
call fcn.101e7afb
add esp, 0x3c
test eax, eax
js 0x101ea330
mov ecx, dword [ebp + 8]
mov eax, ecx
or eax, 2
cmp dword [ebp - 0x34], 0
cmovne ecx, eax
xor eax, eax
push eax
push dword [edi + 0x6078]
mov dword [ebp - 0x34], ecx
push dword [edi + 0x54]
push edi
call fcn.101e7969
add esp, 0x10
push eax
xor eax, eax
push eax
push dword [edi + 0x6074]
push dword [edi + 0x4c]
push edi
call fcn.101e7969
add esp, 0x10
push eax
lea eax, [edi + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 8]
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
lea eax, [edi + 0xd2c]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
push 0x4000
push dword [ebp - 0x30]
push dword [edi + 0x1c]
push dword [edi + 0x14]
push dword [edi + 0x28]
push eax
lea eax, [edi + 0xd1c]
push eax
lea eax, [edi + 0xd0c]
push eax
call fcn.101e7afb
add esp, 0x3c
test eax, eax
js 0x101ea330
mov ecx, dword [ebp - 0x3c]
mov eax, 0x80
push eax
push eax
lea eax, [edi + 0x68]
inc ecx
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
push dword [eax + 4]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
lea eax, [edi + 0xd30]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x1000
push ecx
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [edi + 0x2c]
push eax
lea eax, [edi + 0xd20]
push eax
lea eax, [edi + 0xd10]
push eax
call fcn.101e7afb
add esp, 0x3c
test eax, eax
js 0x101ea330
push 1
push dword [edi + 0x6080]
push dword [edi + 0x58]
push edi
call fcn.101e7969
add esp, 0x10
push eax
push 1
push dword [edi + 0x607c]
push dword [edi + 0x50]
push edi
call fcn.101e7969
add esp, 0x10
push eax
lea eax, [edi + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 0xc]
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
lea eax, [edi + 0xd34]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
push 0x1000
push dword [ebp - 0x3c]
push dword [edi + 0x20]
push dword [edi + 0x18]
push dword [edi + 0x30]
push eax
lea eax, [edi + 0xd24]
push eax
lea eax, [edi + 0xd14]
push eax
call fcn.101e7afb
add esp, 0x3c
test eax, eax
js 0x101ea330
xor eax, eax
mov dword [ebp - 0x34], eax
lea eax, [edi + 0x6020]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x80f8]
add eax, 2
push 4
push eax
call fcn.101d0520
pop ecx
pop ecx
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
test eax, eax
je 0x101e9c3d
mov eax, dword [ebp - 0x34]
add ecx, 4
inc eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
cmp eax, 4
jl 0x101e9ff7
mov eax, dword [edi + 0x38]
push eax
mov dword [ebp - 0x3c], eax
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea45a
cmp dword [ebp - 0x3c], 0xb
je 0x101ea04e
mov eax, dword [eax + 8]
and eax, 0x80
je 0x101ea073
mov eax, dword [edi + 0x34]
push eax
mov dword [ebp - 0x3c], eax
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea45a
cmp dword [ebp - 0x3c], 0xb
je 0x101ea077
mov eax, dword [eax + 8]
and eax, 0x80
jne 0x101ea077
xor eax, eax
jmp 0x101ea07a
xor eax, eax
inc eax
mov ecx, dword [edi + 0x44]
mov dword [edi + 0xd04], eax
and ecx, 0xfffffff8
push 0x40
pop eax
cdq
idiv ecx
mov edx, dword [ebp - 0x44]
mov ecx, edx
sar ecx, 1
add eax, ecx
mov dword [edi + 0x9128], eax
lea eax, [edx + 0x10]
mov dword [edi + 0x9130], eax
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x20], eax
jle 0x101ea0c0
push 0x6ea
push str.libswscale_utils.c
push str.c__chrDstH___dstH
jmp 0x101ea4a0
mov eax, dword [ebp + 8]
mov ecx, eax
and ecx, 0x1000
mov dword [ebp - 0x30], ecx
je 0x101ea1c6
xor ecx, ecx
mov edx, ecx
test dword [ecx + 0x1029a528], eax
jne 0x101ea0ee
add ecx, 0xc
inc edx
cmp ecx, 0x84
jb 0x101ea0d8
jmp 0x101ea0fe
imul eax, edx, 0xc
mov eax, dword [eax + 0x1029a52c]
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x101ea105
mov dword [ebp - 0x34], str.ehh_flags_invalid__
cmp ebx, 0x2b
je 0x101ea12a
cmp ebx, 0x29
je 0x101ea12a
cmp ebx, 0x37
je 0x101ea12a
cmp ebx, 0x36
je 0x101ea12a
cmp ebx, 0x39
je 0x101ea12a
mov dword [ebp + 8], 0x102affba
cmp ebx, 0x38
jne 0x101ea131
mov dword [ebp + 8], str.dithered
push ebx
call fcn.101d3048
pop ecx
push eax
push dword [ebp + 8]
push esi
call fcn.101d3048
pop ecx
push eax
push dword [ebp - 0x34]
push str._s_scaler__from__s_to__s_s
push 0x20
push edi
call fcn.101ceb2e
push 0x1029ab4c
push str.using__s_n
push 0x20
push edi
call fcn.101ceb2e
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
push str._dx_d_____dx_d_n
push 0x28
push edi
call fcn.101ceb2e
add esp, 0x48
push dword [edi + 0x2c]
push dword [edi + 0x24]
push dword [edi + 0x10]
push dword [edi + 0x80f8]
push dword [edi + 0xc]
push dword [edi + 8]
push str.lum_srcW_d_srcH_d_dstW_d_dstH_d_xInc_d_yInc_d_n
push 0x30
push edi
call fcn.101ceb2e
push dword [edi + 0x30]
push dword [edi + 0x28]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0x14]
push str.chr_srcW_d_srcH_d_dstW_d_dstH_d_xInc_d_yInc_d_n
push 0x30
push edi
call fcn.101ceb2e
add esp, 0x48
cmp dword [ebp - 0x1c], 0
je 0x101ea31a
cmp dword [ebp - 0x28], 0
jne 0x101ea31a
cmp dword [ebp - 0x2c], 0
jne 0x101ea31a
xor eax, eax
cmp dword [edi + 0x9208], eax
je 0x101ea284
push esi
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea45a
cmp esi, 0xb
je 0x101ea210
mov eax, dword [eax + 8]
and eax, 0x80
je 0x101ea284
mov eax, dword [edi + 0x605c]
cmp eax, dword [edi + 0x6060]
je 0x101ea243
push ebx
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea468
mov eax, dword [eax + 8]
xor ecx, ecx
and eax, 0x20
or eax, ecx
jne 0x101ea243
cmp ebx, 0xa
je 0x101ea243
cmp ebx, 9
jne 0x101ea284
push esi
call fcn.101e71ab
pop ecx
cmp eax, ebx
jne 0x101ea284
cmp dword [ebp - 0x30], 0
mov dword [edi + 4], 0x10203fb2
je 0x101e9e0d
push ebx
call fcn.101d3048
pop ecx
push eax
push esi
call fcn.101d3048
pop ecx
push eax
push str.using_alpha_blendaway__s_____s_special_converter_n
push 0x20
push edi
call fcn.101ceb2e
add esp, 0x14
jmp 0x101e9e0d
mov eax, dword [edi + 0x605c]
cmp eax, dword [edi + 0x6060]
je 0x101ea2df
push ebx
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea468
mov eax, dword [eax + 8]
xor ecx, ecx
and eax, 0x20
or eax, ecx
jne 0x101ea2df
cmp ebx, 0xa
je 0x101ea2df
cmp ebx, 9
je 0x101ea2df
push esi
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea310
test dword [eax + 8], 0x200
jne 0x101ea2df
push ebx
call fcn.101d30d2
pop ecx
test eax, eax
je 0x101ea310
test dword [eax + 8], 0x200
je 0x101ea31a
push edi
call fcn.101fce3a
xor eax, eax
pop ecx
cmp dword [edi + 4], eax
je 0x101ea31a
cmp dword [ebp - 0x30], eax
je 0x101e9e0d
push ebx
call fcn.101d3048
pop ecx
push eax
push esi
call fcn.101d3048
pop ecx
push eax
push str.using_unscaled__s_____s_special_converter_n
jmp 0x101ea274
push 0x311
jmp 0x101ea496
push edi
call fcn.101eac3b
push edi
mov dword [edi + 4], eax
call fcn.10204b7d
pop ecx
pop ecx
jmp 0x101ea48c
cmp eax, 0xffffcfc7
jne 0x101ea48c
mov eax, dword [ebp - 0xc]
imul dword [ebp - 4]
mov ecx, eax
call fcn.10231160
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.10232580
mov eax, dword [ebp - 0x10]
imul dword [ebp - 8]
fstp qword [ebp - 0x38]
pop ecx
pop ecx
mov ecx, eax
call fcn.10231160
push ecx
push ecx
movsd qword [esp], xmm0
call fcn.10232580
push esi
fstp qword [ebp - 0x40]
call fcn.101d30d2
add esp, 0xc
test eax, eax
je 0x101ea45a
cmp esi, 0xb
jne 0x101ea390
xor eax, eax
inc eax
jmp 0x101ea398
mov eax, dword [eax + 8]
and eax, 0x80
neg eax
sbb eax, eax
and eax, 0x21
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
imul dword [ebp - 0xc]
mov ecx, edx
shld ecx, eax, 2
shl eax, 2
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
imul dword [ebp - 4]
cmp edx, ecx
jg 0x101ea3cd
jl 0x101ea489
cmp eax, dword [ebp - 0x44]
jbe 0x101ea489
cvttsd2si eax, qword [ebp - 0x40]
push 0x40
push dword [ebp - 0x2c]
push eax
cvttsd2si eax, qword [ebp - 0x38]
push eax
lea eax, [edi + 0x84]
push eax
lea eax, [edi + 0x94]
push eax
call fcn.101d17a7
add esp, 0x18
test eax, eax
js 0x101ea48c
lea eax, [edi + 0x68]
push eax
xor eax, eax
push eax
push dword [ebp - 0x18]
cvttsd2si eax, qword [ebp - 0x40]
push dword [ebp + 8]
push dword [ebp - 0x2c]
push eax
cvttsd2si eax, qword [ebp - 0x38]
push eax
push esi
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.101e9109
add esp, 0x28
mov dword [edi + 0x78], eax
test eax, eax
je 0x101e9c3d
lea eax, [edi + 0x68]
push eax
push dword [ebp - 0x14]
xor eax, eax
push eax
push dword [ebp + 8]
cvttsd2si eax, qword [ebp - 0x40]
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 0x2c]
push eax
cvttsd2si eax, qword [ebp - 0x38]
push eax
jmp 0x101e9c2a
push 0x318
jmp 0x101ea496
push 0x338
jmp 0x101ea496
push 0x309
jmp 0x101ea496
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push dword [ebp - 8]
push edx
push str._dx_d_____dx_d_is_invalid_scaling_dimension_n
push 0x10
push edi
call fcn.101ceb2e
add esp, 0x1c
push 0xffffffffffffffea
pop eax
pop edi
pop esi
pop ebx
leave
ret
push 0x2fb
push 0x1029a648
push str.desc
xor eax, eax
push str.Assertion__s_failed_at__s:_d_n
push eax
push eax
call fcn.101ceb2e
add esp, 0x18
call fcn.1009dc33
int3