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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101ef3dd
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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
cmp dword [ebp + 0x10], 2
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], edi
jb 0x100bc549
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0xff
jne 0x100bc549
cmp byte [eax + 1], 0xd8
jne 0x100bc549
lea ebx, [edi + 0x748]
push ebx
push dword [ebx + 4]
push dword [ebx]
call fcn.100bb910
mov eax, dword [ebx]
add esp, 0xc
mov dword [ebx + 4], eax
mov eax, 0xea0ea0eb
mov esi, dword [ebx + 8]
mov ecx, esi
sub ecx, dword [ebx]
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x100bbe17
push 1
mov ecx, ebx
call fcn.10025ab0
mov esi, dword [edi + 0x750]
lea eax, [edi + 0x48]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 4]
push ecx
push eax
cmp eax, esi
je 0x100bbe3b
push ebx
call fcn.10010a20
add esp, 0xc
add dword [ebx + 4], 0x118
jmp 0x100bbe42
mov ecx, ebx
call fcn.10010860
push 0x9c
call fcn.101e8bc4
mov edi, eax
add esp, 4
mov dword [ebp - 0x74], edi
test edi, edi
je 0x100bbf80
mov dword [edi], vtable.jxl::jpeg::JPEGData.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
mov byte [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
jmp 0x100bbf82
xor edi, edi
mov ecx, dword [ebp - 0x8c]
xor ebx, ebx
xor esi, esi
mov eax, dword [ecx + 0x748]
mov ecx, dword [ecx + 0x74c]
sub ecx, eax
mov dword [ebp - 0x78], eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x78]
je 0x100bbfc9
lea eax, [edx + 0x24]
cmp dword [eax], 0
mov ebx, esi
ja 0x100bbfc9
inc esi
add eax, 0x118
cmp esi, ecx
jb 0x100bbfb8
imul eax, ebx, 0x118
lea ecx, [ebp - 0x74]
add eax, edx
cmp eax, ecx
je 0x100bbfe4
mov ecx, dword [eax]
mov dword [eax], edi
test ecx, ecx
je 0x100bbff0
mov eax, dword [ecx]
jmp 0x100bbfec
test edi, edi
je 0x100bbff0
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov eax, dword [ebp - 0x8c]
xor edi, edi
xor esi, esi
mov ecx, dword [eax + 0x74c]
mov ebx, dword [eax + 0x748]
sub ecx, ebx
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x100bc031
lea eax, [ebx + 0x24]
cmp dword [eax], 0
mov edi, esi
ja 0x100bc031
inc esi
add eax, 0x118
cmp esi, ecx
jb 0x100bc020
imul eax, edi, 0x118
mov edi, dword [eax + ebx]
push edi
push 2
push dword [ebp + 0x10]
mov dword [ebp - 0x78], edi
push dword [ebp + 0xc]
call fcn.100c0e60
add esp, 0x10
test al, al
jne 0x100bc080
push 0x131
push str.C:Projectslibjxllibjxljpegenc_jpeg_data.cc
push str._s:_d:_JXL_FAILURE:_Error_reading_JPEG_n
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x88]
add esp, 0x14
mov dword [eax], 1
jmp 0x100bc551
mov ebx, dword [ebp - 0x8c]
lea eax, [ebx + 0x64]
push eax
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.100bd670
mov esi, dword [ebp - 0x80]
add esp, 0xc
test esi, esi
je 0x100bc0cd
push str.SetColorEncodingFromJpegData_jpeg_data__io__metadata.m.color_encoding_
push esi
push 0x134
push str.C:Projectslibjxllibjxljpegenc_jpeg_data.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x88]
add esp, 0x1c
mov dword [eax], esi
jmp 0x100bc551
lea eax, [ebx + 0x18]
push eax
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.100bd4b0
mov esi, dword [ebp - 0x80]
add esp, 0xc
test esi, esi
je 0x100bc114
push str.SetBlobsFromJpegData_jpeg_data__io__blobs_
push esi
push 0x135
push str.C:Projectslibjxllibjxljpegenc_jpeg_data.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x88]
add esp, 0x1c
mov dword [eax], esi
jmp 0x100bc551
mov ecx, dword [edi + 0x50]
mov eax, 0x38e38e39
sub ecx, dword [edi + 0x4c]
imul ecx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x80], ebx
cmp ebx, 1
je 0x100bc14c
cmp ebx, 3
je 0x100bc14c
push 0x138
push str.C:Projectslibjxllibjxljpegenc_jpeg_data.cc
push str._s:_d:_JXL_FAILURE:_Cannot_recompress_JPEGs_with_neither_1_nor_3_channels_n
jmp 0x100bc061
lea ecx, [ebp - 0x24]
call fcn.1018fd00
cmp ebx, 3
jne 0x100bc319
mov esi, dword [edi + 0x4c]
xor edx, edx
xor ecx, ecx
mov al, byte [esi + ecx + 4]
lea edx, [edx + 1]
mov byte [ebp + edx - 0x7d], al
mov al, byte [esi + ecx + 8]
add ecx, 0x24
mov byte [ebp + edx - 0x85], al
cmp ecx, 0x6c
jb 0x100bc164
xor ebx, ebx
mov edi, ebx
xor edi, 1
cmp ebx, 2
cmovae edi, ebx
xor esi, esi
movzx edx, byte [ebp + edi - 0x7c]
mov dword [ebp - 0x74], edx
nop dword [eax]
mov cl, byte [esi + 0x101f4d8c]
mov eax, 1
shl eax, cl
cmp eax, edx
jne 0x100bc1cd
mov cl, byte [esi + 0x101f4d90]
mov edx, 1
movzx eax, byte [ebp + edi - 0x84]
shl edx, cl
cmp edx, eax
je 0x100bc1d5
mov edx, dword [ebp - 0x74]
inc esi
cmp esi, 4
jb 0x100bc1a0
jmp 0x100bc1d9
mov dword [ebp + ebx*4 - 0x20], esi
cmp esi, 4
je 0x100bc2cd
inc ebx
cmp ebx, 3
jb 0x100bc184
lea ecx, [ebp - 0x24]
call fcn.100bd2c0
mov edi, dword [ebp - 0x78]
mov esi, dword [edi + 0x68]
mov eax, esi
mov ebx, dword [edi + 0x64]
sub eax, ebx
push eax
push 0xe0
push ebx
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], eax
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
mov ecx, esi
test eax, eax
cmovne ecx, eax
cmp ecx, esi
jne 0x100bc3cb
mov ecx, dword [ebp - 0x7c]
xor esi, esi
mov dword [ebp - 0x84], 0
test ecx, ecx
je 0x100bc3a5
xor edi, edi
nop
mov bl, byte [ebx + esi]
mov al, bl
and al, 0xf0
cmp al, 0xe0
jne 0x100bc2bc
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x84]
cmp edx, eax
jae 0x100bc56d
cmp bl, 0xee
jne 0x100bc2af
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x10]
mov ecx, dword [edi + eax]
mov eax, dword [edi + eax + 4]
sub eax, ecx
cmp eax, 0xf
jne 0x100bc2af
cmp byte [ecx + 3], 0x41
jne 0x100bc2af
cmp byte [ecx + 4], 0x64
jne 0x100bc2af
cmp byte [ecx + 5], 0x6f
jne 0x100bc2af
cmp byte [ecx + 6], 0x62
jne 0x100bc2af
cmp byte [ecx + 7], 0x65
je 0x100bc397
mov ecx, dword [ebp - 0x7c]
inc edx
mov dword [ebp - 0x84], edx
add edi, 0xc
inc esi
cmp esi, ecx
jae 0x100bc3a2
mov ebx, dword [ebp - 0x74]
jmp 0x100bc240
push 0x6f
push str.C:Projectslibjxllib_jxl_frame_header.h
push 0x10204504
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.1000f820
push str.cs.Set_hsample__vsample_
push 1
push 0x141
push str.C:Projectslibjxllibjxljpegenc_jpeg_data.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x74]
push 1
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x88]
add esp, 0x30
mov dword [eax], 1
jmp 0x100bc551
cmp ebx, 1
jne 0x100bc1f3
mov eax, dword [edi + 0x4c]
mov cl, byte [eax + 4]
mov al, byte [eax + 8]
mov byte [ebp - 0x84], al
mov byte [ebp - 0x83], al
mov byte [ebp - 0x82], al
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x7c]
mov byte [ebp - 0x7c], cl
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 0x7b], cl
mov byte [ebp - 0x7a], cl
lea ecx, [ebp - 0x24]
push eax
call fcn.100bd360
mov esi, dword [ebp - 0x74]
test esi, esi
je 0x100bc1f3
push str.cs.Set_hsample__vsample_
push esi
push 0x148
push str.C:Projectslibjxllibjxljpegenc_jpeg_data.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x88]
add esp, 0x1c
mov dword [eax], esi
jmp 0x100bc551
cmp byte [ecx + 0xe], 0
mov ecx, dword [ebp - 0x7c]
sete byte [ebp - 0x6d]
mov edi, dword [ebp - 0x78]
cmp esi, ecx
jne 0x100bc3cb
cmp dword [ebp - 0x80], 3
jne 0x100bc3c7
mov eax, dword [edi + 0x4c]
cmp dword [eax], 0x52
jne 0x100bc3c7
cmp dword [eax + 0x24], 0x47
jne 0x100bc3c7
cmp dword [eax + 0x48], 0x42
mov byte [ebp - 0x6d], 1
je 0x100bc3cb
mov byte [ebp - 0x6d], 0
mov eax, dword [ebp - 0x8c]
xor ebx, ebx
xor esi, esi
mov ecx, dword [eax + 0x74c]
mov edi, dword [eax + 0x748]
sub ecx, edi
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x100bc411
lea eax, [edi + 0x24]
nop dword [eax + eax]
cmp dword [eax], 0
mov ebx, esi
ja 0x100bc411
inc esi
add eax, 0x118
cmp esi, ecx
jb 0x100bc400
mov eax, dword [ebp - 0x20]
imul ecx, ebx, 0x118
cmp byte [ebp - 0x6d], 0
mov dword [ecx + edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + edi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + edi + 0x14], eax
mov al, byte [ebp - 0x14]
mov byte [ecx + edi + 0x18], al
mov al, byte [ebp - 0x13]
mov byte [ecx + edi + 0x19], al
je 0x100bc44d
cmp dword [ebp - 0x80], 1
mov dword [ebp - 0x80], 1
jne 0x100bc454
mov dword [ebp - 0x80], 2
mov eax, dword [ebp - 0x8c]
xor edi, edi
xor esi, esi
mov ecx, dword [eax + 0x74c]
mov ebx, dword [eax + 0x748]
sub ecx, ebx
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x100bc495
lea eax, [ebx + 0x24]
cmp dword [eax], 0
mov edi, esi
ja 0x100bc495
inc esi
add eax, 0x118
cmp esi, ecx
jb 0x100bc484
mov ecx, dword [ebp - 0x80]
imul eax, edi, 0x118
push 4
mov dword [eax + ebx + 4], ecx
mov ebx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x78]
mov dword [ebx + 0x100], 0x437f0000
mov dword [ebx + 0x58], 8
mov dword [ebx + 0x5c], 0
mov byte [ebx + 0x54], 0
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 4]
lea ecx, [ebp - 0x6c]
push esi
push edi
call fcn.10199ce0
push 4
push esi
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call fcn.10199ce0
push 4
push esi
push edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.10199ce0
lea eax, [ebx + 0x64]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x6c]
mov ecx, ebx
push eax
call fcn.10020470
push fcn.100075e0
push 3
push 0x18
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 3
push eax
call fcn.101e8aaf
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.101ada70
mov eax, dword [ebp - 0x88]
add esp, 4
mov dword [eax], 0
jmp 0x100bc551
mov dword [ecx], 1
mov eax, ecx
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
push str.app_markers___jpeg_data__app_data.size__
push 0x155
push str.C:Projectslibjxllibjxljpegenc_jpeg_data.cc
push str._s:_d:_JXL_CHECK:__s_n
call fcn.100def30
add esp, 0x10
call fcn.100def20
int3