Function at 0x1003ba60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ebe4b
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x102289dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x1c]
mov dword [edi], vtable.jxl::ImageMetadata.0
mov dword [ebp - 0x18], ecx
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
mov dword [edi + 8], vtable.jxl::BitDepth.0
movzx eax, byte [esi + 0xc]
mov byte [edi + 0xc], al
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x19], al
mov dword [ecx], vtable.jxl::ColorEncoding.0
movzx eax, byte [esi + 0x20]
mov byte [ecx + 4], al
mov eax, dword [esi + 0x24]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], vtable.jxl::CustomTransferFunction.0
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x14], eax
movzx eax, byte [esi + 0x34]
mov byte [ecx + 0x18], al
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x40]
mov dword [ecx + 0x24], eax
movzx eax, byte [esi + 0x44]
mov byte [ecx + 0x28], al
movzx eax, byte [esi + 0x45]
mov byte [ecx + 0x29], al
add ecx, 0x2c
mov dword [ebp - 0x10], ecx
mov eax, dword [esi + 0x48]
mov dword [ecx], eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov edx, eax
mov dword [ebp - 4], 0
xor eax, eax
test edx, edx
je 0x1003bb4b
push edx
call fcn.100dea20
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
test eax, eax
je 0x1003bb5d
push dword [ecx]
push dword [esi + 0x50]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
movzx eax, byte [esi + 0x58]
mov byte [edi + 0x58], al
mov dword [edi + 0x5c], vtable.jxl::Customxy.0
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], vtable.jxl::Customxy.0
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], vtable.jxl::Customxy.0
mov eax, dword [esi + 0x78]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x7c]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], vtable.jxl::Customxy.0
mov eax, dword [esi + 0x84]
mov dword [edi + 0x84], eax
mov eax, dword [esi + 0x88]
mov dword [edi + 0x88], eax
mov eax, dword [esi + 0x8c]
mov dword [edi + 0x8c], eax
movzx eax, byte [esi + 0x90]
mov byte [edi + 0x90], al
movzx eax, byte [esi + 0x91]
mov byte [edi + 0x91], al
movzx eax, byte [esi + 0x92]
mov byte [edi + 0x92], al
mov dword [edi + 0x94], vtable.jxl::SizeHeader.0
movzx eax, byte [esi + 0x98]
mov byte [edi + 0x98], al
mov eax, dword [esi + 0x9c]
mov dword [edi + 0x9c], eax
mov eax, dword [esi + 0xa0]
mov dword [edi + 0xa0], eax
mov eax, dword [esi + 0xa4]
mov dword [edi + 0xa4], eax
mov eax, dword [esi + 0xa8]
mov dword [edi + 0xa8], eax
mov eax, dword [esi + 0xac]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], vtable.jxl::ToneMapping.0
movzx eax, byte [esi + 0xb4]
mov byte [edi + 0xb4], al
mov eax, dword [esi + 0xb8]
mov dword [edi + 0xb8], eax
mov eax, dword [esi + 0xbc]
mov dword [edi + 0xbc], eax
movzx eax, byte [esi + 0xc0]
mov byte [edi + 0xc0], al
mov eax, dword [esi + 0xc4]
mov dword [edi + 0xc4], eax
mov eax, dword [esi + 0xc8]
mov dword [edi + 0xc8], eax
lea eax, [edi + 0xcc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov edx, dword [esi + 0xcc]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xd0]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
cmp edx, eax
je 0x1003bde0
mov ecx, eax
mov eax, 0x66666667
sub ecx, edx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 0x3333333
ja 0x1003bea8
lea esi, [eax + eax*4]
shl esi, 4
cmp esi, 0x1000
jb 0x1003bd36
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1003bea8
push eax
call fcn.101e8bc4
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x1003bd30
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x1003bd47
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test esi, esi
je 0x1003bd45
push esi
call fcn.101e8bc4
add esp, 4
jmp 0x1003bd47
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov dword [ecx], eax
mov dword [ecx + 4], eax
add eax, esi
mov dword [ecx + 8], eax
mov esi, dword [ecx]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ecx
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
add edi, 8
nop dword [eax]
mov dword [esi], vtable.jxl::ExtraChannelInfo.0
lea ecx, [esi + 0x20]
movzx eax, byte [edi - 4]
mov byte [esi + 4], al
mov eax, dword [edi]
mov dword [esi + 8], eax
mov dword [esi + 0xc], vtable.jxl::BitDepth.0
movzx eax, byte [edi + 8]
mov byte [esi + 0x10], al
mov eax, dword [edi + 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [edi + 0x18]
push eax
call fcn.1003b9d0
movzx eax, byte [edi + 0x30]
lea edi, [edi + 0x50]
mov byte [esi + 0x38], al
movups xmm0, xmmword [edi - 0x1c]
movups xmmword [esi + 0x3c], xmm0
mov eax, dword [edi - 0xc]
mov dword [esi + 0x4c], eax
add esi, 0x50
lea eax, [edi - 8]
mov dword [ebp - 0x28], esi
cmp eax, dword [ebp - 0x18]
jne 0x1003bd70
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov dword [eax + 4], esi
mov esi, dword [ebp + 8]
mov dword [edi + 0xd8], vtable.jxl::PreviewHeader.0
movzx eax, byte [esi + 0xdc]
mov byte [edi + 0xdc], al
mov eax, dword [esi + 0xe0]
mov dword [edi + 0xe0], eax
mov eax, dword [esi + 0xe4]
mov dword [edi + 0xe4], eax
mov eax, dword [esi + 0xe8]
mov dword [edi + 0xe8], eax
mov eax, dword [esi + 0xec]
mov dword [edi + 0xec], eax
mov eax, dword [esi + 0xf0]
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], vtable.jxl::AnimationHeader.0
mov eax, dword [esi + 0xf8]
mov dword [edi + 0xf8], eax
mov eax, dword [esi + 0xfc]
mov dword [edi + 0xfc], eax
mov eax, dword [esi + 0x100]
mov dword [edi + 0x100], eax
movzx eax, byte [esi + 0x104]
mov byte [edi + 0x104], al
mov eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x10c]
mov dword [edi + 0x108], eax
mov dword [edi + 0x10c], ecx
movzx eax, byte [esi + 0x110]
mov byte [edi + 0x110], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.1000fae0
int3