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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ec0cf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
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 - 0x14], edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
movzx eax, byte [ebx + 0x14]
mov byte [edi + 0x14], al
movq xmm0, qword [ebx + 0x18]
movq qword [edi + 0x18], xmm0
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebx + 0x30]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], vtable.jxl::YCbCrChromaSubsampling.0
movq xmm0, qword [ebx + 0x3c]
movq qword [edi + 0x3c], xmm0
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x44], eax
movzx eax, byte [ebx + 0x48]
mov byte [edi + 0x48], al
movzx eax, byte [ebx + 0x49]
mov byte [edi + 0x49], al
movzx eax, byte [ebx + 0x4c]
mov byte [edi + 0x4c], al
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [ebx + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [ebx + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [ebx + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 0x68]
mov dword [edi + 0x68], eax
movzx eax, byte [ebx + 0x6c]
mov byte [edi + 0x6c], al
movzx eax, byte [ebx + 0x6d]
mov byte [edi + 0x6d], al
movzx eax, byte [ebx + 0x6e]
mov byte [edi + 0x6e], al
mov eax, dword [ebx + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [ebx + 0x74]
mov dword [edi + 0x74], eax
mov eax, dword [ebx + 0x78]
mov dword [edi + 0x78], eax
mov eax, dword [ebx + 0x7c]
mov dword [edi + 0x7c], eax
mov eax, dword [ebx + 0x80]
mov dword [edi + 0x80], eax
mov eax, dword [ebx + 0x84]
mov dword [edi + 0x84], eax
mov eax, dword [ebx + 0x88]
mov dword [edi + 0x88], eax
mov eax, dword [ebx + 0x8c]
mov dword [edi + 0x8c], eax
mov eax, dword [ebx + 0x90]
mov dword [edi + 0x90], eax
movzx eax, byte [ebx + 0x94]
mov byte [edi + 0x94], al
movzx eax, byte [ebx + 0x95]
mov byte [edi + 0x95], al
movq xmm0, qword [ebx + 0x98]
movq qword [edi + 0x98], xmm0
lea esi, [edi + 0xac]
mov eax, dword [ebx + 0xa0]
lea ecx, [esi + 0x10]
mov dword [edi + 0xa0], eax
movzx eax, byte [ebx + 0xa4]
mov byte [edi + 0xa4], al
mov eax, dword [ebx + 0xa8]
mov dword [edi + 0xa8], eax
mov eax, dword [ebx + 0xac]
mov dword [esi], eax
mov eax, dword [ebx + 0xb0]
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xb4]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xb8]
mov dword [esi + 0xc], eax
lea eax, [ebx + 0xbc]
push eax
mov dword [ebp + 8], esi
call fcn.10031790
mov eax, dword [ebx + 0xc8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xcc]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0xd0]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0xd4]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0xd8]
mov dword [esi + 0x2c], eax
mov eax, dword [ebx + 0xdc]
mov dword [esi + 0x30], eax
movzx eax, byte [ebx + 0xe0]
mov byte [esi + 0x34], al
mov eax, dword [ebx + 0xe4]
mov dword [esi + 0x38], eax
movzx eax, byte [ebx + 0xe8]
mov byte [esi + 0x3c], al
mov eax, dword [ebx + 0xec]
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov edx, dword [ebx + 0xf0]
mov ecx, dword [ebx + 0xf4]
mov dword [ebp - 4], 0
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], ecx
cmp edx, ecx
je 0x1003e7e5
mov esi, ecx
lea ecx, [edi + 0xf0]
sub esi, edx
sar esi, 4
push esi
call fcn.10039720
mov dword [edi + 0xf0], eax
shl esi, 4
add esi, eax
mov dword [edi + 0xf4], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xf8], esi
mov edx, dword [edi + 0xf0]
mov esi, edx
sub esi, eax
lea ecx, [eax + 5]
nop
mov dword [edx], vtable.jxl::SqueezeParams.0
lea ecx, [ecx + 0x10]
movzx eax, byte [ecx - 0x11]
mov byte [edx + 4], al
movzx eax, byte [ecx - 0x10]
mov byte [esi + ecx - 0x10], al
mov eax, dword [ecx - 0xd]
mov dword [edx + 8], eax
mov eax, dword [ecx - 9]
mov dword [edx + 0xc], eax
lea eax, [ecx - 5]
add edx, 0x10
cmp eax, dword [ebp - 0x10]
jne 0x1003e7b0
mov dword [edi + 0xf4], edx
mov eax, dword [ebx + 0xfc]
mov ecx, dword [ebx + 0x100]
mov dword [edi + 0xfc], eax
mov dword [edi + 0x100], ecx
lea ecx, [edi + 0x124]
mov eax, dword [ebx + 0x104]
mov dword [edi + 0x104], eax
mov eax, dword [ebx + 0x108]
mov dword [edi + 0x108], eax
mov eax, dword [ebx + 0x10c]
mov dword [edi + 0x10c], eax
mov eax, dword [ebx + 0x110]
mov dword [edi + 0x110], eax
movzx eax, byte [ebx + 0x114]
mov byte [edi + 0x114], al
movzx eax, byte [ebx + 0x115]
mov byte [edi + 0x115], al
mov eax, dword [ebx + 0x118]
mov dword [edi + 0x118], eax
mov eax, dword [ebx + 0x11c]
mov dword [edi + 0x11c], eax
movzx eax, byte [ebx + 0x120]
mov byte [edi + 0x120], al
lea eax, [ebx + 0x124]
push eax
mov byte [ebp - 4], 1
call fcn.1003e450
lea eax, [ebx + 0x130]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x130]
call fcn.1003e450
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4