Function at 0x101975c0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f1da0
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x102289dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x254], esi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x26c], edi
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
add ecx, eax
mov dword [edi + 0x2c], 0
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0x14]
shl ecx, 3
sub ecx, dword [edi + 8]
mov dword [edi + 0x28], ecx
lea eax, [eax*8 + 0x40]
cmp ecx, eax
jbe 0x10197695
push 0x189
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_Not_enough_bytes_for_reading_ICC_profile_n
lea eax, [ebp - 0x248]
push 0xffffffffffffffff
push eax
call fcn.1000f820
mov esi, dword [ebp - 0x248]
add esp, 0x14
test esi, esi
je 0x1019768f
push str.CheckEOI_reader_
push esi
push 0x135
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x268]
add esp, 0x1c
mov dword [eax], esi
jmp 0x10197e69
mov esi, dword [ebp - 0x254]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
add ecx, eax
shl ecx, 3
sub ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x10197ca3
push edi
call fcn.1018e9b0
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
test edx, edx
ja 0x10197c72
cmp eax, 0x10000000
ja 0x10197c72
push 0
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x24]
mov dword [ebp - 0x270], eax
push ecx
push 0x29
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.101578c0
mov eax, dword [ebp - 0x250]
add esp, 0x18
test eax, eax
je 0x1019773c
push str.DecodeHistograms_reader__kNumICCContexts__code___context_map__
push eax
push 0x13e
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.1000f820
mov ecx, dword [ebp - 0x268]
add esp, 0x1c
mov eax, dword [ebp - 0x250]
mov dword [ecx], eax
mov eax, ecx
jmp 0x10197e69
push 0
push edi
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x244]
call fcn.100dff50
lea edx, [esi + 0x78]
mov dword [ebp - 0x250], eax
lea edi, [edx + 0x20]
mov dword [ebp - 0x248], edx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov cl, byte [eax + 8]
mov byte [edx + 8], cl
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x1c], eax
lea eax, [ecx + 0x20]
cmp edi, eax
je 0x101977d1
mov eax, dword [eax]
mov dword [ecx + 0x20], 0
mov esi, dword [edx + 0x20]
mov dword [edx + 0x20], eax
mov eax, esi
mov dword [ebp - 0x258], esi
mov esi, dword [ebp - 0x254]
mov dword [ebp - 4], 0
test eax, eax
je 0x101977d1
push eax
call fcn.100de900
mov ecx, dword [ebp - 0x250]
lea edx, [esi + 0x78]
add esp, 4
mov eax, dword [ecx + 0x24]
mov edi, 0x78
mov esi, dword [ebp - 0x250]
mov dword [edx + 0x24], eax
sub esi, edx
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ecx + 0x30]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x34]
mov dword [edx + 0x34], eax
mov eax, dword [ecx + 0x38]
mov dword [edx + 0x38], eax
mov eax, dword [ecx + 0x3c]
mov dword [edx + 0x3c], eax
movups xmm0, xmmword [ecx + 0x40]
lea ecx, [edx + 0x50]
movups xmmword [edx + 0x40], xmm0
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
mov dword [ecx - 4], eax
sub edi, 1
jne 0x10197813
mov eax, dword [ebp - 0x250]
mov eax, dword [eax + 0x230]
mov dword [edx + 0x230], eax
mov eax, dword [ebp - 0x224]
mov edi, dword [ebp - 0x26c]
mov esi, dword [ebp - 0x254]
mov dword [ebp - 4], 1
test eax, eax
je 0x10197859
push eax
call fcn.100de900
add esp, 4
mov edx, dword [esi + 0x10]
mov ecx, 0x400
cmp edx, ecx
mov dword [esi], 0
mov dword [ebp - 4], 0xffffffff
cmovb ecx, edx
add esi, 0x2ac
xor eax, eax
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x250], esi
cmp ecx, dword [esi + 4]
jbe 0x101978a5
push ecx
mov ecx, esi
call fcn.100dea20
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x258]
mov edx, dword [eax + 0x10]
mov eax, dword [eax]
cmp dword [esi + 8], 0
mov dword [ebp - 0x258], 0
cmove ecx, dword [ebp - 0x258]
mov dword [esi], ecx
mov ecx, 2
cmp edx, ecx
cmovb ecx, edx
cmp eax, ecx
jae 0x1019796e
nop
cmp eax, 1
jbe 0x101978e9
lea edx, [eax - 2]
cmp edx, dword [esi]
ja 0x10197e86
mov ecx, dword [esi + 8]
movzx edx, byte [ecx + edx]
jmp 0x101978ef
xor edx, edx
test eax, eax
je 0x10197904
lea ecx, [eax - 1]
cmp ecx, dword [esi]
ja 0x10197e86
mov ecx, dword [esi + 8]
movzx ecx, byte [ecx + eax - 1]
jmp 0x10197908
xor ecx, ecx
xor edx, edx
push edx
push ecx
push eax
call fcn.10199730
mov ecx, dword [ebp - 0x270]
add esp, 0xc
mov ecx, dword [ecx]
push edi
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x248]
push eax
call fcn.100e0e80
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov eax, dword [edx]
cmp eax, dword [esi]
ja 0x10197e86
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x258]
mov byte [eax + ecx], dl
mov ecx, 2
mov edx, dword [ebp - 0x254]
mov eax, dword [edx]
inc eax
mov dword [edx], eax
mov edx, dword [edx + 0x10]
cmp edx, ecx
cmovb ecx, edx
cmp eax, ecx
jb 0x101978d0
mov edx, dword [ebp - 0x254]
cmp dword [edx + 0x14], 0
ja 0x10197984
cmp dword [edx + 0x10], 0x16
jbe 0x10197bbe
cmp eax, 0x16
jae 0x10197a17
nop dword [eax]
mov ecx, dword [esi]
lea edx, [eax - 2]
cmp edx, ecx
ja 0x10197e86
lea edi, [eax - 1]
cmp edi, ecx
mov edi, dword [ebp - 0x26c]
ja 0x10197e86
mov ecx, dword [esi + 8]
movzx ecx, byte [ecx + edx]
mov edx, dword [esi + 8]
push ecx
movzx ecx, byte [edx + eax - 1]
push ecx
push eax
call fcn.10199730
mov ecx, dword [ebp - 0x270]
add esp, 0xc
mov ecx, dword [ecx]
push edi
movzx eax, byte [ecx + eax]
mov ecx, dword [ebp - 0x248]
push eax
call fcn.100e0e80
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x258], eax
mov eax, dword [edx]
cmp eax, dword [esi]
ja 0x10197e86
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x258]
mov byte [eax + ecx], dl
mov edx, dword [ebp - 0x254]
mov eax, dword [edx]
inc eax
mov dword [edx], eax
cmp eax, 0x16
jb 0x10197990
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
add edx, dword [edi + 0x18]
sub eax, dword [edi + 0x14]
shl edx, 3
sub edx, dword [edi + 8]
mov dword [edi + 0x28], edx
lea eax, [eax*8 + 0x40]
mov dword [edi + 0x2c], 0
cmp edx, eax
jbe 0x10197aa3
push 0x189
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_Not_enough_bytes_for_reading_ICC_profile_n
lea eax, [ebp - 0x258]
push 0xffffffffffffffff
push eax
call fcn.1000f820
mov esi, dword [ebp - 0x258]
add esp, 0x14
test esi, esi
je 0x10197a9d
push str.CheckEOI_reader_
push esi
push 0x14e
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x268]
add esp, 0x1c
mov dword [eax], esi
jmp 0x10197e69
mov esi, dword [ebp - 0x250]
mov eax, dword [ebp - 0x254]
lea ecx, [ebp - 0x250]
push ecx
mov dword [ebp - 0x250], 0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24c], eax
mov eax, dword [esi + 8]
mov esi, dword [esi]
push esi
push eax
mov dword [ebp - 0x258], eax
call fcn.10197520
mov ecx, edx
mov dword [ebp - 0x270], eax
push ecx
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x26c], ecx
push eax
call fcn.101995e0
mov eax, dword [ebp - 0x248]
add esp, 0x18
test eax, eax
je 0x10197b0b
push str.CheckIs32Bit_osize_
push eax
push 0x4f
jmp 0x10197b90
cmp dword [ebp - 0x250], esi
jb 0x10197b24
push 0x50
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_FAILURE:_Out_of_bounds_n
jmp 0x10197c2a
lea eax, [ebp - 0x250]
push eax
push esi
push dword [ebp - 0x258]
call fcn.10197520
push edx
push eax
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x248]
push eax
call fcn.101995e0
mov eax, dword [ebp - 0x248]
add esp, 0x18
test eax, eax
je 0x10197b62
push str.CheckIs32Bit_csize_
push eax
push 0x52
jmp 0x10197b90
push esi
push dword [ebp - 0x258]
lea eax, [ebp - 0x248]
push dword [ebp - 0x250]
push eax
call fcn.10199620
mov eax, dword [ebp - 0x248]
add esp, 0x10
test eax, eax
je 0x10197bd8
push str.CheckOutOfBounds_pos__csize__size_
push eax
push 0x53
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.1000f820
mov esi, dword [ebp - 0x248]
add esp, 0x1c
test esi, esi
jne 0x10197c40
mov edx, dword [ebp - 0x254]
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 0x14]
add eax, dword [edi + 0x18]
shl eax, 3
sub eax, dword [edx + 8]
sub eax, dword [edi + 8]
mov dword [edx + 4], eax
jmp 0x10197e5d
mov edx, dword [ebp - 0x270]
mov ecx, edx
mov esi, dword [ebp - 0x26c]
add ecx, 0x10000
mov eax, esi
adc eax, 0
test eax, eax
ja 0x10197c0d
jb 0x10197bff
cmp ecx, dword [ebp - 0x24c]
jae 0x10197c0d
push 0x55
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_FAILURE:_Malformed_ICC_n
jmp 0x10197c2a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10197bb8
test esi, esi
jb 0x10197bb8
ja 0x10197c1e
cmp edx, eax
jbe 0x10197bb8
push 0x57
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_FAILURE:_Decoded_ICC_is_too_large_n
lea eax, [ebp - 0x24c]
push 1
push eax
call fcn.1000f820
add esp, 0x14
mov esi, 1
push str.CheckPreamble_decompressed___enc_size___output_limit_
push esi
push 0x150
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x24c]
push esi
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x268]
add esp, 0x1c
mov dword [eax], esi
jmp 0x10197e69
push 0x13b
push str.C:Projectslibjxllibjxlicc_codec.cc
push str._s:_d:_JXL_FAILURE:_Too_large_encoded_profile_n
lea eax, [ebp - 0x24c]
push 1
push eax
call fcn.1000f820
mov eax, dword [ebp - 0x268]
add esp, 0x14
mov dword [eax], 1
jmp 0x10197e69
mov eax, dword [edi + 8]
cmp ecx, eax
ja 0x10197cc3
mov edx, dword [edi + 4]
sub eax, ecx
mov dword [edi + 8], eax
mov eax, dword [edi]
call fcn.101e8c60
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x10197e5d
mov esi, dword [edi + 0x10]
sub ecx, eax
mov eax, esi
mov dword [edi + 8], 0
sub eax, dword [edi + 0xc]
mov edx, ecx
add eax, 8
shr edx, 3
and ecx, 7
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x24c], eax
cmp edx, eax
jbe 0x10197d0b
add ecx, 8
mov dword [ebp - 0x248], ecx
mov eax, dword [edi + 0xc]
add esi, 8
add eax, edx
cmp edx, dword [ebp - 0x24c]
cmovbe esi, eax
mov dword [edi + 0xc], esi
cmp esi, dword [ebp - 0x258]
jbe 0x10197d47
mov ecx, edi
call fcn.10012570
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], ecx
jmp 0x10197e3e
mov al, byte [esi + 5]
mov cl, byte [esi + 7]
mov ch, byte [esi + 6]
mov edx, dword [edi + 8]
mov byte [ebp - 0x25d], al
mov al, byte [esi + 4]
mov byte [ebp - 0x25e], al
mov al, byte [esi + 3]
mov byte [ebp - 0x25f], al
mov al, byte [esi + 2]
mov byte [ebp - 0x260], al
mov al, byte [esi + 1]
mov byte [ebp - 0x261], al
mov al, byte [esi]
mov byte [ebp - 0x262], al
mov eax, 0x3f
sub eax, edx
or edx, 0x38
shr eax, 3
add eax, esi
mov dword [ebp - 0x24c], edx
mov dword [edi + 0xc], eax
movzx eax, cl
cdq
mov esi, eax
mov edi, edx
shld edi, esi, 8
movzx eax, ch
shl esi, 8
cdq
or esi, eax
or edi, edx
movzx eax, byte [ebp - 0x25d]
shld edi, esi, 8
cdq
shl esi, 8
or edi, edx
or esi, eax
movzx eax, byte [ebp - 0x25e]
shld edi, esi, 8
cdq
shl esi, 8
or edi, edx
or esi, eax
movzx eax, byte [ebp - 0x25f]
shld edi, esi, 8
cdq
shl esi, 8
or edi, edx
or esi, eax
movzx eax, byte [ebp - 0x260]
shld edi, esi, 8
cdq
shl esi, 8
or edi, edx
or esi, eax
movzx eax, byte [ebp - 0x261]
shld edi, esi, 8
cdq
shl esi, 8
or edi, edx
or esi, eax
movzx eax, byte [ebp - 0x262]
shld edi, esi, 8
cdq
shl esi, 8
or esi, eax
or edi, edx
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x258], edi
mov edi, dword [ebp - 0x26c]
mov dword [ebp - 0x25c], esi
mov eax, dword [ebp - 0x248]
sub edx, eax
movq xmm1, qword [ebp - 0x25c]
mov dword [edi + 8], edx
movd xmm0, eax
psrlq xmm1, xmm0
movq qword [edi], xmm1
mov eax, dword [ebp - 0x268]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret 0xc
push str.i___size__
push 0xad
push str.C:Projectslibjxllib_jxl_base_padded_bytes.h
push str._s:_d:_JXL_ASSERT:__s_n
call fcn.100def30
add esp, 0x10
call fcn.100def20
int3