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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f1118
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
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 edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [ebp + 0x10]
mov ebx, 1
mov eax, 3
mov dword [ebp - 0x2c], eax
mov edx, dword [esi + 0x150]
cmp dword [esi + 8], 1
mov dword [ebp - 0x20], edx
sete cl
cmp dword [edx + 0x54], ebx
jne 0x1017b911
cmp dword [esi + 0x18], ebx
cmove eax, ebx
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp + 0xc]
mov eax, 0x66666667
mov byte [edi + 0x80], cl
mov ecx, dword [edx + 0xd0]
sub ecx, dword [edx + 0xcc]
imul ecx
mov ecx, dword [ebx + 0xc]
sar edx, 5
mov eax, edx
mov dword [ebp - 0x30], ecx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x34], eax
cmp ecx, dword [ebx + 0x10]
jbe 0x1017b95e
mov ecx, ebx
call fcn.10012570
mov eax, dword [ebx + 8]
mov esi, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x1c], eax
jmp 0x1017ba51
movzx eax, byte [ecx]
cdq
mov dword [ebp - 0x84], eax
movzx eax, byte [ecx + 1]
mov dword [ebp - 0x88], edx
cdq
mov dword [ebp - 0x7c], eax
movzx eax, byte [ecx + 2]
mov dword [ebp - 0x80], edx
cdq
mov dword [ebp - 0x74], eax
movzx eax, byte [ecx + 3]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x78], edx
cdq
mov dword [ebp - 0x6c], eax
movzx eax, byte [ecx + 4]
mov dword [ebp - 0x70], edx
cdq
mov dword [ebp - 0x64], eax
movzx eax, byte [ecx + 5]
mov dword [ebp - 0x68], edx
cdq
mov ebx, eax
mov dword [ebp - 0x24], edx
movzx eax, byte [ecx + 6]
cdq
mov ecx, eax
mov esi, edx
movzx eax, byte [edi + 7]
cdq
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, 0x3f
sub eax, dword [ebp - 0x1c]
shr eax, 3
add eax, edi
mov edi, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x28]
shld edx, eax, 8
shl eax, 8
or edx, esi
or eax, ecx
mov esi, dword [ebp - 0x1c]
shld edx, eax, 8
mov ecx, esi
or edx, dword [ebp - 0x24]
shl eax, 8
or eax, ebx
shld edx, eax, 8
or edx, dword [ebp - 0x68]
shl eax, 8
or eax, dword [ebp - 0x64]
shld edx, eax, 8
or edx, dword [ebp - 0x70]
shl eax, 8
or eax, dword [ebp - 0x6c]
shld edx, eax, 8
or edx, dword [ebp - 0x78]
shl eax, 8
or eax, dword [ebp - 0x74]
shld edx, eax, 8
or edx, dword [ebp - 0x80]
shl eax, 8
or eax, dword [ebp - 0x7c]
shld edx, eax, 8
or edx, dword [ebp - 0x88]
shl eax, 8
or eax, dword [ebp - 0x84]
call fcn.101e8c40
mov ebx, edi
mov ecx, eax
mov edi, dword [ebp - 0x18]
or ecx, dword [ebx]
or edx, dword [ebx + 4]
or esi, 0x38
mov dword [ebp - 0x1c], esi
mov eax, ecx
mov byte [ebp - 0x11], 1
shrd ecx, edx, 1
and eax, 1
dec esi
shr edx, 1
or eax, 0
mov dword [ebx + 8], esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
jne 0x1017ba72
mov byte [ebp - 0x11], 0
cmp byte [ebp + 0x14], 0
mov esi, dword [ebp + 0x10]
je 0x1017baa8
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x18]
sub eax, edx
mov edi, dword [ebp - 0x18]
add ecx, eax
mov eax, dword [ebp - 0x1c]
dec eax
shl ecx, 3
sub ecx, eax
mov eax, dword [ebx + 0x10]
sub eax, edx
lea eax, [eax*8 + 0x40]
cmp ecx, eax
jae 0x1017bb96
cmp byte [ebp - 0x11], 0
je 0x1017bb96
mov eax, dword [ebp - 0x2c]
mov ecx, 0x400000
add eax, dword [ebp - 0x34]
imul eax, dword [edi + 0x3c]
imul eax, dword [edi + 0x38]
shr eax, 4
add eax, 0x400
cmp eax, ecx
cmovb ecx, eax
lea eax, [edi + 0x84]
push ecx
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.101ae010
mov eax, dword [ebp - 0x18]
add esp, 0x10
test eax, eax
je 0x1017bb1f
push str.DecodeTree_reader__tree__tree_size_limit_
push eax
push 0xa2
push str.C:Projectslibjxllib_jxl_dec_modular.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000f820
mov ecx, dword [ebp + 8]
add esp, 0x1c
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, ecx
jmp 0x1017bf06
mov ecx, dword [edi + 0x88]
mov eax, 0x66666667
sub ecx, dword [edi + 0x84]
imul ecx
push 0
sar edx, 4
lea eax, [edi + 0xe4]
push eax
mov ecx, edx
lea eax, [edi + 0x90]
shr ecx, 0x1f
push eax
inc ecx
lea eax, [ecx + edx]
shr eax, 1
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.101578c0
mov eax, dword [ebp - 0x18]
add esp, 0x18
test eax, eax
je 0x1017bb96
push str.DecodeHistograms_reader___tree.size____1____2__code__context_map_
push eax
push 0xa4
push str.C:Projectslibjxllib_jxl_dec_modular.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000f820
mov ecx, dword [ebp + 8]
add esp, 0x1c
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, ecx
jmp 0x1017bf06
mov eax, dword [ebp - 0x20]
xor ebx, ebx
mov dl, byte [edi + 0x80]
test dl, dl
cmovne ebx, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x10]
mov dh, byte [eax + 0xc]
mov dword [ebp - 0x28], ebx
cmp ecx, 0x20
jb 0x1017bc06
test dl, dl
je 0x1017bc06
cmp dword [esi + 0x18], 0
je 0x1017bc06
cmp ecx, 0x20
jne 0x1017bbf3
test dh, dh
jne 0x1017bc06
push 0xaf
push str.C:Projectslibjxllib_jxl_dec_modular.cc
push str._s:_d:_JXL_FAILURE:_uint32_t_not_supported_in_dec_modular_n
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.1000f820
mov eax, dword [ebp + 8]
add esp, 0x14
mov dword [eax], 1
jmp 0x1017bf06
jbe 0x1017bc06
push 0xb1
push str.C:Projectslibjxllib_jxl_dec_modular.cc
push str._s:_d:_JXL_FAILURE:_bits_per_sample___32_not_supported_n
jmp 0x1017bbd7
mov eax, dword [ebp - 0x34]
add eax, ebx
push eax
push ecx
push dword [edi + 0x3c]
lea ecx, [ebp - 0x60]
push dword [edi + 0x38]
call fcn.101b3cf0
mov byte [edi + 0x83], 1
cmp dword [esi + 0x18], 2
mov dword [ebp - 4], 0
jne 0x1017bd00
xor esi, esi
mov dword [ebp - 0x30], esi
test ebx, ebx
je 0x1017bd00
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x60]
add ecx, 0x1c
xor ebx, ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ecx + esi*4 + 4]
movzx ecx, byte [ecx + 0x10]
movzx eax, byte [eax + 0x101f4d8c]
sub ecx, eax
mov dword [edx + ebx + 0x20], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x60]
mov eax, dword [ecx + esi*4 + 4]
mov esi, 1
movzx ecx, byte [ecx + 0x11]
movzx eax, byte [eax + 0x101f4d90]
sub ecx, eax
mov dword [edx + ebx + 0x24], ecx
xor edx, edx
mov eax, dword [ebp - 0x60]
add eax, ebx
mov dword [ebp - 0x18], eax
mov ecx, dword [eax + 0x20]
mov eax, dword [edi + 0x38]
shl esi, cl
dec eax
add eax, esi
mov ecx, dword [ebp - 0x18]
div esi
mov ecx, dword [ecx + 0x24]
mov esi, 1
shl esi, cl
xor edx, edx
mov ebx, eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0x3c]
dec eax
add eax, esi
div esi
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], eax
call fcn.10097b10
mov edx, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [edx + ebx + 0x20]
cmp eax, dword [edx + 0x20]
jne 0x1017bcdc
mov eax, dword [edx + ebx + 0x24]
cmp eax, dword [edx + 0x24]
je 0x1017bce3
mov byte [edi + 0x83], 0
mov esi, dword [ebp - 0x30]
add ebx, 0x28
mov eax, dword [ebp - 0x28]
inc esi
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
cmp esi, eax
jb 0x1017bc51
jmp 0x1017bd06
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x28]
xor ebx, ebx
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x34], ebx
je 0x1017bdcd
lea ecx, [eax + eax*4]
shl ecx, 3
mov dword [ebp - 0x24], ecx
nop dword [eax]
mov eax, dword [ebp + 0x10]
add ecx, edx
xor edx, edx
mov eax, dword [eax + 0xf4]
mov ebx, dword [eax + ebx*4]
mov eax, dword [edi + 0x44]
dec eax
add eax, ebx
div ebx
xor edx, edx
mov esi, eax
mov eax, dword [edi + 0x40]
dec eax
mov dword [ecx + 0x1c], esi
add eax, ebx
div ebx
mov dword [ecx + 0x18], eax
call fcn.10097b10
bsr eax, ebx
mov esi, 0x1f
mov edx, 0x1f
sub esi, eax
mov eax, dword [ebp + 0x10]
xor esi, 0x1f
mov ecx, dword [eax + 0xf0]
bsr eax, ecx
sub edx, eax
lea eax, [ebx - 1]
xor edx, 0x1f
test ebx, eax
lea eax, [esi + 1]
cmovne esi, eax
lea eax, [ecx - 1]
test ecx, eax
mov ecx, dword [ebp - 0x24]
lea eax, [edx + 1]
cmovne edx, eax
mov eax, dword [ebp - 0x60]
sub esi, edx
mov dword [eax + ecx + 0x24], esi
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx + 0x20], esi
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + ecx + 0x20]
cmp eax, dword [edx + 0x20]
jne 0x1017bdb0
mov eax, dword [edx + ecx + 0x24]
cmp eax, dword [edx + 0x24]
je 0x1017bdb7
mov byte [edi + 0x83], 0
mov ebx, dword [ebp - 0x28]
add ecx, 0x28
inc ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ebp - 0x34]
jb 0x1017bd20
lea ecx, [ebp - 0xd8]
call fcn.1017a890
mov eax, dword [edi + 0x78]
lea ecx, [ebp - 0x98]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
lea eax, [edi + 0xe4]
push ebx
push eax
lea eax, [edi + 0x90]
mov byte [ebp - 4], 1
push eax
lea eax, [edi + 0x84]
mov dword [ebp - 0x98], 0
push eax
push 0
lea eax, [ebp - 0xd8]
mov dword [ebp - 0x94], 0
push eax
lea eax, [edi + 0x38]
mov dword [ebp - 0x90], 0
push eax
mov dword [ebp - 0x8c], 0
call fcn.100932e0
push eax
lea eax, [edi + 0xf0]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.101b3430
add esp, 0x2c
test bl, bl
jne 0x1017bf24
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x1017bf55
push str.dec_status
push esi
push 0xdb
push str.C:Projectslibjxllib_jxl_dec_modular.cc
push str._s:_d:_JXL_RETURN_IF_ERROR_code_d:__s_n
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.1000f820
mov edi, dword [ebp + 8]
add esp, 0x1c
mov dword [edi], esi
mov edx, dword [ebp - 0xc8]
test edx, edx
je 0x1017bef4
mov ecx, dword [ebp - 0xc0]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1017becc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1017c04a
push ecx
push edx
call fcn.101e8bf4
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
lea ecx, [ebp - 0x54]
call fcn.1008bd80
lea ecx, [ebp - 0x60]
call fcn.1008bc70
mov eax, edi
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 0x10
cmp dword [ebp - 0x1c], 0
jle 0x1017bf55
push 0xdd
push str.C:Projectslibjxllib_jxl_dec_modular.cc
push str._s:_d:_JXL_FAILURE:_Failed_to_decode_global_modular_info_n
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.1000f820
mov edi, dword [ebp + 8]
add esp, 0x14
mov dword [edi], 1
jmp 0x1017be99
mov ecx, dword [ebp - 0x5c]
mov eax, 0x66666667
sub ecx, dword [ebp - 0x60]
xor esi, esi
imul ecx
mov byte [edi + 0x81], 0
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x1017bfa8
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x3c]
add eax, 0x1c
cmp esi, edx
jb 0x1017bf97
mov ecx, dword [edi + 0x78]
cmp dword [eax - 4], ecx
ja 0x1017bf97
cmp dword [eax], ecx
ja 0x1017bf97
mov byte [edi + 0x81], 1
inc esi
add eax, 0x28
cmp esi, ebx
jb 0x1017bf80
cmp byte [edi + 0x81], 0
jne 0x1017bffc
cmp byte [edi + 0x83], 0
je 0x1017bffc
mov ebx, dword [ebp - 0x50]
mov eax, ebx
mov esi, dword [ebp - 0x54]
sub eax, esi
sub eax, 0x34
cmp eax, 0x34
jae 0x1017bffc
cmp dword [esi + 4], 0
jne 0x1017bffc
lea ecx, [edi + 0x2c]
lea eax, [ebp - 0x54]
cmp ecx, eax
je 0x1017bfe3
push dword [ebp - 0x20]
push ebx
push esi
call fcn.100c7a20
mov ebx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
cmp esi, ebx
je 0x1017bff9
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x34
cmp esi, ebx
jne 0x1017bfe7
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
call fcn.101b3ea0
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
test edx, edx
je 0x1017bef4
mov ecx, dword [ebp - 0xc0]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1017becc
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1017becc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3