Function at 0x101dd610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [ebx]
push edi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
movzx eax, byte [eax + 3]
push eax
call fcn.100e0e80
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov eax, dword [edx]
add eax, esi
mov dword [edx], eax
cmp eax, dword [ebp + 0x18]
jbe 0x101dd670
push eax
push 0x1e4
push str.C:Projectslibjxllib_jxl_splines.cc
push str._s:_d:_JXL_FAILURE:_Too_many_control_points:__u_n
lea eax, [ebp + 0x10]
push 1
push eax
call fcn.1000f820
mov eax, dword [ebp + 8]
add esp, 0x18
pop edi
pop esi
mov dword [eax], 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
sub edx, eax
sar edx, 4
cmp esi, edx
jae 0x101dd68b
shl esi, 4
add esi, eax
mov dword [ecx + 4], esi
jmp 0x101dd6bc
jbe 0x101dd6bc
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 4
cmp esi, eax
jbe 0x101dd6a8
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.101dd040
mov ecx, dword [ebp - 4]
jmp 0x101dd6bc
push dword [ebp + 0xc]
sub esi, edx
push esi
push dword [ecx + 4]
call fcn.101c6390
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp + 0x1c], eax
cmp esi, eax
je 0x101dd769
nop dword [eax]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
push edi
movzx eax, byte [eax + 4]
push eax
call fcn.100e0e80
mov ecx, eax
shr eax, 1
not ecx
and ecx, 1
dec ecx
xor eax, ecx
mov ecx, dword [ebp + 0x10]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [ebx]
push edi
movzx eax, byte [eax + 4]
push eax
call fcn.100e0e80
mov ecx, eax
shr eax, 1
not ecx
and ecx, 1
dec ecx
xor eax, ecx
mov ecx, dword [esi]
add ecx, 0x3fffffff
cdq
mov dword [ebp + 0xc], ecx
mov ecx, dword [esi + 4]
adc ecx, 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
ja 0x101dd7eb
jb 0x101dd73d
cmp dword [ebp + 0xc], 0x7ffffffe
ja 0x101dd7eb
add eax, 0x3fffffff
adc edx, 0
test edx, edx
ja 0x101dd7eb
jb 0x101dd75a
cmp eax, 0x7ffffffe
ja 0x101dd7eb
add esi, 0x10
cmp esi, dword [ebp + 0x1c]
jne 0x101dd6d0
mov ecx, dword [ebp - 4]
lea esi, [ecx + 0xc]
mov dword [ebp + 0xc], 3
mov edi, 0x20
mov eax, dword [ebx]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
movzx eax, byte [eax + 5]
push eax
call fcn.100e0e80
mov ecx, eax
shr eax, 1
not ecx
and ecx, 1
dec ecx
xor ecx, eax
mov dword [esi], ecx
add esi, 4
sub edi, 1
jne 0x101dd778
sub dword [ebp + 0xc], 1
jne 0x101dd773
mov esi, dword [ebp - 4]
mov edi, 0x20
add esi, 0x18c
mov eax, dword [ebx]
push dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
movzx eax, byte [eax + 5]
push eax
call fcn.100e0e80
mov ecx, eax
lea esi, [esi + 4]
not ecx
shr eax, 1
and ecx, 1
dec ecx
xor ecx, eax
mov dword [esi - 4], ecx
sub edi, 1
jne 0x101dd7b4
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x1f4
push str.C:Projectslibjxllib_jxl_splines.cc
push str._s:_d:_JXL_FAILURE:_Spline_delta_delta_is_out_of_bounds_n
lea eax, [ebp + 0x10]
push 1
push eax
call fcn.1000f820
mov eax, dword [ebp + 8]
add esp, 0x14
pop edi
pop esi
mov dword [eax], 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18