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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x102289dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov al, byte [ecx + 0xd]
mov esi, dword [ebp + 0x18]
mov byte [ebx + 0x1e0], al
mov al, byte [ecx + 0xc]
mov byte [ebx + 0x140], al
mov al, byte [ecx]
mov byte [ebx + 0x148], al
mov eax, dword [ecx + 4]
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0xc], eax
lea eax, [esi + 0x34]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
cmp ecx, eax
je 0x10074015
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x1007400c
mov edx, dword [eax]
push dword [eax + 0x10]
push edx
call fcn.10025ba0
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x5c], 0
mov eax, dword [edx]
mov dword [ebx + 0x58], eax
test eax, eax
je 0x100746df
mov dword [ebx + eax*4 + 0xb4], 0
cmp dword [ebx + 0x58], 1
je 0x1007408c
mov eax, dword [edx]
xor ecx, ecx
sub eax, 1
je 0x1007408c
lea edi, [ebx + 0xb8]
add edx, 8
nop
mov esi, dword [edx + 8]
mov eax, dword [edx]
mov dword [edi], eax
cmp esi, 1
jbe 0x10074075
cmp esi, 0xffffffff
je 0x10074075
mov eax, dword [ebx + 0x5c]
mov dword [ebx + eax*4 + 0x60], esi
mov eax, dword [ebx + 0x5c]
mov dword [ebx + eax*4 + 0x8c], ecx
inc dword [ebx + 0x5c]
mov eax, dword [ebp + 0x10]
inc ecx
add edi, 4
add edx, 0x10
mov eax, dword [eax]
dec eax
cmp ecx, eax
jb 0x10074050
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
mov cl, byte [edx + 0x4c]
mov byte [ebp - 0x11], cl
test cl, cl
je 0x100740a6
mov eax, dword [edx + 0x50]
mov dword [ebx + 8], 1
mov dword [ebx + 0x30], eax
cmp dword [esi], 0
mov eax, dword [esi + 0xc]
mov ch, byte [esi + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x28], eax
mov al, byte [esi + 0x19]
mov byte [ebx + 0x2c], ch
mov byte [ebp - 0x21], al
mov byte [ebx + 0x2d], al
je 0x1007412f
mov eax, dword [esi + 4]
mov dword [ebx + 8], 0
mov dword [ebx + 0x18], eax
mov eax, dword [edx + 0x58]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
xorps xmm1, xmm1
cmp eax, 1
je 0x10074178
test eax, eax
je 0x10074106
movss xmm0, dword [edx]
comiss xmm0, dword [0x101f8940]
setae al
test al, al
jne 0x10074178
movss xmm0, dword [edx + 0xa8]
comiss xmm0, xmm1
ja 0x10074178
mov eax, dword [edx + 0x128]
sub eax, dword [edx + 0x124]
and eax, 0xfffffffc
cmp eax, 0x20
je 0x10074178
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
jmp 0x1007417f
mov eax, dword [edx + 0x34]
mov dword [ebx + 0x18], eax
test cl, cl
jne 0x100740d9
test ch, ch
jne 0x10074142
cmp byte [ebp - 0x21], ch
je 0x100740d9
push 0x12c
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_FAILURE:_Chroma_subsampling_is_not_supported_in_VarDCT_mode_when_not_recompressing_JPEGs_n
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.1000f820
add esp, 0x14
mov dword [edi], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret
mov ecx, 1
xor eax, eax
cmp dword [edx + 0x78], 0
mov dword [ebp - 0x1c], eax
jle 0x10074194
cmp byte [ebp - 0x11], 0
jne 0x10074194
or ecx, 0x20
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100741d2
movss xmm0, dword [edx + 0xa8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100741cf
mov eax, dword [edx + 0x124]
cmp eax, dword [edx + 0x128]
jne 0x100741cf
mov eax, dword [ebp - 0x1c]
and ecx, 0xfffffffe
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x18]
cmp dword [edx + 0x24], 5
jg 0x100741e6
test eax, eax
jne 0x100741e6
cmp dword [edx + 0x28], 4
jae 0x100741e6
mov al, 1
jmp 0x100741e8
xor al, al
mov ecx, dword [edx + 0x64]
cmp ecx, 1
jne 0x100741f4
mov al, cl
jmp 0x10074204
test ecx, ecx
movzx eax, al
mov dword [ebp - 8], 0
cmove eax, dword [ebp - 8]
mov byte [ebx + 0x15d], al
mov eax, dword [edx + 0x68]
cmp eax, 0xffffffff
je 0x1007421a
mov dword [ebx + 0x178], eax
jmp 0x10074266
cmp dword [ebp - 0x18], 1
mov dword [ebx + 0x178], 0
je 0x10074266
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x10], 0x3f333333
mov dword [ebp - 0xc], 0x3fc00000
mov dword [ebp - 8], 0x40800000
cmp ecx, 3
jae 0x10074266
movss xmm0, dword [edx]
xor eax, eax
cmp ecx, 2
sete al
comiss xmm0, dword [ebp + eax*4 - 0x10]
jb 0x10074260
inc dword [ebx + 0x178]
inc eax
cmp eax, 3
jb 0x10074253
cmp dword [ebx + 8], 1
jne 0x100742b4
movss xmm1, dword [edx + 0xfc]
movss xmm2, dword [0x101f9870]
comiss xmm2, xmm1
movss xmm0, dword [0x101f4728]
jbe 0x100742a1
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x101f9868]
movss dword [ebx + 0x1cc], xmm0
cmp byte [edx + 0x114], 0
je 0x100742b4
mov dword [ebx + 0x1cc], 0x3f800000
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [ebx + 0x14c], eax
cmp eax, 2
jbe 0x100742fb
push 0x13d
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_FAILURE:_progressive_dc___2_is_not_yet_supported_n
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.1000f820
add esp, 0x14
mov dword [edi], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret
cmp dword [edx + 0x78], 0
jle 0x10074349
cmp dword [edx + 0x11c], 1
jne 0x10074313
cmp dword [edx + 0x118], 1
je 0x10074349
push 0x141
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_FAILURE:_Resampling_not_supported_with_DC_frames_n
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.1000f820
add esp, 0x14
mov dword [edi], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x118]
cmp eax, 1
je 0x10074399
cmp eax, 2
je 0x10074399
cmp eax, 4
je 0x10074399
cmp eax, 8
je 0x10074399
push 0x145
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_FAILURE:_Invalid_resampling_factor_n
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.1000f820
add esp, 0x14
mov dword [edi], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x11c]
cmp ecx, 1
je 0x100743e9
cmp ecx, 2
je 0x100743e9
cmp ecx, 4
je 0x100743e9
cmp ecx, 8
je 0x100743e9
push 0x149
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_FAILURE:_Invalid_ec_resampling_factor_n
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.1000f820
add esp, 0x14
mov dword [edi], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 4], 1
je 0x10074474
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov esi, 1
cmp byte [edx + 0x120], 0
mov dword [ebp - 8], ecx
mov dword [ebx + 0x104], ecx
cmovne esi, eax
mov ecx, dword [ebp - 0x20]
mov dword [ebx + 0x100], edi
mov dword [ebp - 0x2c], 0
call fcn.1002f0b0
mov ecx, dword [ebp - 0x20]
imul eax, esi
mov dword [ebp - 0x2c], eax
mov dword [ebx + 0xe8], eax
call fcn.1002f0e0
imul eax, esi
mov dword [ebp - 0x1c], eax
mov dword [ebx + 0xec], eax
test edi, edi
jne 0x1007446a
cmp dword [ebp - 8], edi
jne 0x1007446a
mov ecx, ebx
call fcn.10075450
cmp dword [ebp - 0x2c], eax
jne 0x1007446a
mov ecx, ebx
call fcn.10075480
cmp dword [ebp - 0x1c], eax
je 0x10074471
mov byte [ebx + 0xe4], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x118]
lea ecx, [ebx + 0xf4]
mov esi, dword [ebx + 0x150]
mov dword [ebx + 0xf0], eax
mov eax, dword [ecx]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x11c]
mov edx, dword [esi + 0xd0]
sub edx, dword [esi + 0xcc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x66666667
mov dword [ebp - 8], esi
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.100754d0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x144], eax
mov eax, dword [ebp - 0x20]
mov al, byte [eax + 0x2d]
mov byte [ebp - 0x11], al
test al, al
jne 0x100744e9
cmp byte [ebx + 0xe4], al
je 0x100746b0
mov eax, dword [ecx + 0x1c]
xor edi, edi
mov dword [ebp - 0x1c], edi
cmp eax, 0xffffffff
jne 0x10074557
mov ecx, dword [esi + 0xd0]
mov eax, 0x66666667
sub ecx, dword [esi + 0xcc]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x2c], eax
cmp eax, 1
jbe 0x1007453c
mov ecx, dword [esi + 0xcc]
xor eax, eax
mov edx, dword [ebp - 0x2c]
add ecx, 8
nop dword [eax]
cmp dword [ecx], edi
je 0x10074550
inc eax
add ecx, 0x50
cmp eax, edx
jb 0x10074530
cmp byte [ebp - 0x11], 0
mov dword [ebx + 0x110], edi
je 0x10074587
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
jmp 0x10074589
mov edi, eax
mov dword [ebp - 0x1c], edi
jmp 0x1007453c
mov edi, eax
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x1007453c
mov ecx, dword [esi + 0xd0]
mov eax, 0x66666667
sub ecx, dword [esi + 0xcc]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x100746fd
jmp 0x1007453c
xor eax, eax
mov edi, dword [ebp + 0x14]
mov dword [ebx + 0x10c], eax
mov eax, dword [edi + 0x14]
cmp dword [edi + 0x18], 0
mov dword [ebx + 0x118], eax
setne al
xor ecx, ecx
mov byte [ebx + 0x114], al
mov eax, 0x66666667
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0xd0]
sub ecx, dword [esi + 0xcc]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100746b0
mov esi, dword [ebx + 0x124]
add esi, 0x14
mov dword [ebp - 0x2c], 0
xor ebx, ebx
mov eax, dword [ebp + 0x14]
mov edi, dword [edi + 0x20]
mov ecx, dword [eax + 0x24]
mov eax, 0x92492493
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x18]
cmp edx, eax
jae 0x10074632
mov eax, dword [edi + ebx + 4]
mov dword [esi - 0x10], eax
mov eax, dword [edi + ebx + 8]
mov dword [esi - 0xc], eax
mov al, byte [edi + ebx + 0xc]
mov byte [esi - 8], al
mov eax, dword [edi + ebx + 0x10]
mov dword [esi - 4], eax
mov eax, dword [edi + ebx + 0x14]
mov dword [esi], eax
mov al, byte [edi + ebx + 0x18]
mov byte [esi + 4], al
jmp 0x10074673
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov dword [esi - 0xc], edi
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xcc]
cmp dword [edx + eax + 8], 4
mov edx, dword [ebp - 0x18]
je 0x1007465e
cmp edx, edi
mov eax, 1
cmovne ecx, eax
mov edi, dword [ebp - 0x20]
xor eax, eax
cmp byte [edi + 0x2d], al
cmovne eax, ecx
mov dword [esi - 0x10], eax
mov dword [esi - 4], 1
mov eax, dword [ebp - 8]
inc edx
add dword [ebp - 0x2c], 0x50
add ebx, 0x1c
mov edi, dword [ebp + 0x14]
add esi, 0x1c
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + 0xd0]
sub ecx, dword [eax + 0xcc]
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x18], eax
jb 0x100745e2
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x134], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x138], eax
mov eax, dword [ebp - 0x34]
pop esi
pop ebx
mov dword [eax], 0
call fcn.101e8c02
mov esp, ebp
pop ebp
ret
push str.passes__num_passes___0
push 0x6a
push 0x101fdb30
push str._s:_d:_JXL_ASSERT:__s_n
call fcn.100def30
add esp, 0x10
call fcn.100def20
push str.index__0__index___extra_channels.size__
push 0x17b
push str.C:Projectslibjxllibjxlenc_frame.cc
push str._s:_d:_JXL_ASSERT:__s_n
call fcn.100def30
add esp, 0x10
call fcn.100def20
int3