Function at 0x10007130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ea6e4
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x102289dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xec], ebx
mov ecx, dword [ebp + 8]
lea esi, [ebx + 0x18]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xec], 0
mov dword [ebx], vtable.jxl::ButteraugliComparator.0
mov eax, dword [ecx]
push fcn.100075e0
mov dword [ebx + 4], eax
mov eax, dword [ecx + 4]
push 0x10007050
mov dword [ebx + 8], eax
movq xmm0, qword [edx]
push 2
movq qword [ebx + 0xc], xmm0
mov eax, dword [edx + 8]
push 0x18
push esi
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xf8], edx
mov dword [ebx + 0x14], eax
mov dword [ebp - 0xfc], esi
call fcn.101e8a3b
push fcn.100075e0
push 0x10007050
push 2
push 0x18
lea eax, [esi + 0x30]
mov dword [ebp - 4], 0
push eax
call fcn.101e8a3b
lea ecx, [esi + 0x60]
call fcn.10006fa0
lea ecx, [esi + 0xa8]
call fcn.10006fa0
mov esi, dword [ebx + 8]
lea eax, [ebx + 0x108]
mov edi, dword [ebx + 4]
mov ecx, eax
push 4
push esi
push edi
mov dword [ebp - 4], 1
mov dword [ebp - 0xfc], eax
call fcn.10199ce0
push 4
push esi
lea ecx, [ebx + 0x120]
mov byte [ebp - 4], 2
push edi
mov dword [ebp - 0xf4], ecx
call fcn.10199ce0
push 4
push esi
lea ecx, [ebx + 0x138]
mov byte [ebp - 4], 3
push edi
mov dword [ebp - 0xf4], ecx
call fcn.10199ce0
lea esi, [ebx + 0x154]
mov dword [ebx + 0x150], 0
lea ecx, [ebx + 0x150]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [ebx + 0x16c], 0
cmp dword [ebx + 4], 8
mov byte [ebp - 4], 6
jb 0x100073fb
cmp dword [ebx + 8], 8
jb 0x100073fb
mov eax, 1
xchg dword [ecx], eax
test eax, eax
setne al
test al, al
jne 0x1000741b
call fcn.101e81d0
mov eax, dword [eax]
nop
mov edi, dword [ebp - 0xf8]
lea ecx, [ebx + 0x108]
and eax, 0x981
bsf eax, eax
push esi
mov esi, dword [ebp - 0xf0]
push ecx
push edi
mov eax, dword [eax*4 + 0x101f4524]
lea ecx, [ebp - 0xa0]
push esi
push ecx
call eax
add esp, 0x14
lea ecx, [ebp - 0x58]
push eax
call fcn.10006e50
push fcn.100075e0
push 3
push 0x18
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 8
push eax
call fcn.101e8aaf
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x150]
xor eax, eax
xchg dword [ecx], eax
call fcn.101e81d0
mov eax, dword [eax]
nop
and eax, 0x981
lea ecx, [ebx + 0x18]
push ecx
bsf eax, eax
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebx + 0x154]
push ecx
mov eax, dword [eax*4 + 0x101f43a4]
lea ecx, [ebx + 0xc]
push ecx
push dword [ebx + 8]
push dword [ebx + 4]
call eax
push 0x170
call fcn.101e8bc4
add esp, 0x1c
mov dword [ebp - 0xf0], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x100073a4
lea eax, [ebp - 0xe8]
push esi
push eax
call fcn.1000f830
add esp, 8
mov ecx, dword [ebp - 0xf0]
push edi
push eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xec], 1
call fcn.10007130
jmp 0x100073a6
xor eax, eax
mov ecx, dword [ebx + 0x16c]
mov dword [ebx + 0x16c], eax
test ecx, ecx
je 0x100073bc
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp - 0xec], 1
mov dword [ebp - 4], 7
je 0x100073e5
push fcn.100075e0
push 3
push 0x18
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xc
push eax
call fcn.101e8aaf
push fcn.100075e0
push 3
push 0x18
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xd
push eax
call fcn.101e8aaf
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret 8
push str._was_in_use
push 0x62b
push str.C:Projectslibjxllib_jxl_butteraugli_butteraugli.cc
push str._s:_d:_JXL_ASSERT:__s_n
call fcn.100def30
add esp, 0x10
call fcn.100def20
int3