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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov edx, dword [esp + 0x48]
cmp eax, 1
push ebx
push ebp
lea ebx, [eax*8]
setg cl
mov eax, dword [esp + 0x7c]
push esi
shl eax, 3
mov esi, 0x40
push edi
mov dword [esp + 0x18], ecx
mov edi, 6
xor ecx, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
nop dword [eax]
lea ebp, [esi + ecx]
xor esi, esi
sar ebp, 1
xor ecx, ecx
cmp dword [esp + 0x40], eax
jle 0x101c8edf
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
lea edx, [edx + edi*4]
mov edi, dword [esp + 0x4c]
sub edi, dword [esp + 0x48]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x50]
sub edi, dword [esp + 0x48]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x54]
sub edi, dword [esp + 0x48]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x40]
sub edi, eax
nop dword [eax + eax]
mov eax, dword [esp + 0x20]
lea edx, [edx - 4]
mov ebx, dword [esp + 0x24]
mov eax, dword [eax + edx]
imul eax, ebp
sar eax, 6
add eax, dword [edx]
cmp eax, dword [edx + ebx]
mov ebx, dword [esp + 0x28]
jge 0x101c8ebb
test ecx, ecx
jne 0x101c8ebb
cmp eax, ebx
jl 0x101c8ece
add esi, ebx
jmp 0x101c8ece
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + edx]
cmp eax, ecx
cmovl ecx, eax
add esi, ecx
mov ecx, 1
sub edi, 1
jne 0x101c8e90
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
cmp esi, edx
jle 0x101c8eef
mov ecx, dword [esp + 0x10]
mov esi, ebp
mov dword [esp + 0x14], esi
jmp 0x101c8ef9
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov dword [esp + 0x10], ecx
sub edi, 1
mov dword [esp + 0x1c], edi
jne 0x101c8e40
mov ecx, dword [esp + 0x40]
xor ebp, ebp
xor edi, edi
cmp ecx, eax
jle 0x101c8fa0
mov esi, dword [esp + 0x48]
sub dword [esp + 0x4c], esi
lea edx, [esi + ecx*4]
mov ecx, dword [esp + 0x50]
sub ecx, esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x54]
sub ecx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x74]
sub ecx, esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
sub esi, eax
mov eax, dword [esp + 0x4c]
lea edx, [edx - 4]
mov ecx, dword [edx + eax]
imul ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
sar ecx, 6
add ecx, dword [edx]
cmp ecx, dword [eax + edx]
jge 0x101c8f75
test edi, edi
jne 0x101c8f75
cmp ecx, ebx
mov dword [esp + 0x28], edi
mov eax, ebx
cmovl eax, edi
mov ecx, eax
jmp 0x101c8f7a
mov edi, 1
mov eax, dword [esp + 0x24]
mov eax, dword [eax + edx]
cmp ecx, eax
cmovl eax, ecx
mov ecx, dword [esp + 0x20]
add ebp, eax
mov dword [ecx + edx], eax
sub esi, 1
jne 0x101c8f45
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
mov edi, ecx
dec ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x44]
jle 0x101c914e
add eax, eax
add ebx, 8
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x68], ebx
nop word [eax + eax]
mov eax, dword [esp + 0x38]
mov ebx, edx
sub ebx, ebp
xor edx, edx
mov ecx, dword [eax + 0x20]
mov eax, dword [esp + 0x2c]
movsx esi, word [ecx + edi*2]
movsx edi, word [eax + ecx]
mov eax, ebx
mov dword [esp + 0x28], esi
sub esi, edi
div esi
mov edx, eax
mov eax, dword [esp + 0x14]
imul esi, edx
movsx eax, word [ecx + eax*2]
mov ecx, dword [esp + 0x28]
sub edi, esi
sub ecx, eax
sub edi, eax
xor eax, eax
lea esi, [edi + ebx]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x74]
test esi, esi
cmovle esi, eax
mov eax, ecx
imul eax, edx
add esi, dword [edi + ebx*4]
add esi, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], esi
mov eax, dword [eax + ebx*4]
cmp eax, dword [esp + 0x24]
cmovle eax, dword [esp + 0x24]
cmp esi, eax
jl 0x101c90d8
cmp dword [esp + 0x8c], 0
je 0x101c90b9
mov edi, dword [esp + 0x10]
xor edx, edx
cmp edi, 0x11
jle 0x101c9068
cmp ebx, dword [esp + 0x90]
setge dl
lea edx, [edx*2 + 7]
mov esi, dword [esp + 0x3c]
lea eax, [esi + 2]
cmp edi, eax
jle 0x101c9139
imul edx, ecx
mov ecx, dword [esp + 0x84]
shl edx, cl
shl edx, 3
sar edx, 4
cmp dword [esp + 0x1c], edx
jle 0x101c909c
cmp ebx, dword [esp + 0x94]
jle 0x101c9139
push 1
push 0
push dword [esp + 0x90]
call fcn.101cb540
mov esi, dword [esp + 0x28]
add esp, 0xc
mov edi, dword [esp + 0x74]
jmp 0x101c90d2
push 1
push dword [esp + 0x8c]
call fcn.101b4570
add esp, 8
test eax, eax
jne 0x101c915c
add ebp, 8
sub esi, 8
mov eax, dword [edi + ebx*4]
mov edx, dword [esp + 0x68]
add eax, edx
sub ebp, eax
test edx, edx
jle 0x101c90f8
mov eax, ebx
sub eax, dword [esp + 0x3c]
movzx edx, byte [eax + 0x102c9404]
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x80]
add ebp, edx
lea ecx, [eax*8]
cmp esi, ecx
jl 0x101c910e
add ebp, ecx
xor edx, edx
mov eax, ecx
cmp esi, ecx
cmovl eax, edx
mov dword [edi + ebx*4], eax
mov edi, dword [esp + 0x10]
dec edi
mov dword [esp + 0x10], edi
lea eax, [edi - 1]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x44]
jle 0x101c914e
mov edx, dword [esp + 0x58]
jmp 0x101c8fd0
push 1
push 1
push dword [esp + 0x90]
call fcn.101cb540
add esp, 0xc
jmp 0x101c9164
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
jmp 0x101c9160
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x68]
cmp edi, esi
jg 0x101c9183
push 0x189
push str.C:_vcpkg_2024.03.25_buildtreesopus_src_v1.4_cac4cc030e.cleancelt_rate.c
push str.assertion_failed:_codedBands___start
call fcn.101ace10
add esp, 0xc
test ebx, ebx
jle 0x101c91d8
cmp dword [esp + 0x8c], 0
mov eax, edi
je 0x101c91ba
mov ebx, dword [esp + 0x64]
mov ecx, edi
cmp dword [ebx], edi
cmovl ecx, dword [ebx]
sub eax, esi
inc eax
mov dword [ebx], ecx
push eax
sub ecx, esi
push ecx
push dword [esp + 0x90]
call fcn.101cba80
mov ecx, dword [ebx]
add esp, 0xc
jmp 0x101c91e4
sub eax, esi
inc eax
push eax
push dword [esp + 0x8c]
call fcn.101b4770
add esp, 8
lea ecx, [eax + esi]
mov eax, dword [esp + 0x64]
mov dword [eax], ecx
jmp 0x101c91e4
mov eax, dword [esp + 0x64]
xor ecx, ecx
mov dword [eax], 0
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
cmp ecx, esi
jg 0x101c91f2
add ebx, edx
xor eax, eax
cmp ecx, esi
cmovg eax, edx
test eax, eax
jle 0x101c9237
cmp dword [esp + 0x8c], 0
push 1
je 0x101c9220
mov ecx, dword [esp + 0x70]
push dword [ecx]
push dword [esp + 0x90]
call fcn.101cb540
add esp, 0xc
jmp 0x101c9241
push dword [esp + 0x8c]
call fcn.101b4570
mov ecx, dword [esp + 0x74]
add esp, 8
mov dword [ecx], eax
jmp 0x101c9241
mov ecx, dword [esp + 0x6c]
mov dword [ecx], 0
mov eax, dword [esp + 0x38]
sub ebx, ebp
xor edx, edx
mov dword [esp + 0x58], ebx
mov ebp, dword [eax + 0x20]
lea eax, [esi*2]
add eax, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x70], eax
movsx ecx, word [ebp + edi*2]
movsx eax, word [eax]
sub ecx, eax
mov eax, ebx
div ecx
mov edx, esi
mov ebx, eax
imul ecx, ebx
movd xmm0, ebx
pshufd xmm2, xmm0, 0
sub dword [esp + 0x58], ecx
mov ecx, edi
sub ecx, esi
cmp esi, edi
jge 0x101c93f0
cmp ecx, 0x10
jb 0x101c93c9
cmp dword [0x103211f4], 2
jl 0x101c93c9
mov eax, dword [esp + 0x74]
lea eax, [eax + esi*4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
lea eax, [eax + edi*4]
add eax, 0xfffffffc
mov dword [esp + 0x44], eax
lea eax, [edi*2]
add eax, ebp
mov ebp, dword [esp + 0x44]
cmp dword [esp + 0x68], eax
ja 0x101c92db
cmp ebp, dword [esp + 0x70]
jae 0x101c93c9
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
add eax, 0x20
cmp dword [esp + 0x68], eax
ja 0x101c92f4
cmp ebp, eax
jae 0x101c93c9
and ecx, 0x8000000f
jns 0x101c9301
dec ecx
or ecx, 0xfffffff0
inc ecx
mov eax, dword [esp + 0x74]
mov ebp, edi
sub ebp, ecx
lea ecx, [esi*2 + 8]
lea eax, [eax + esi*4]
mov esi, dword [esp + 0x2c]
add eax, 0x20
nop word [eax + eax]
pmovsxwd xmm0, qword [ecx + esi - 8]
pmovsxwd xmm1, qword [ecx + esi - 6]
psubd xmm1, xmm0
lea ecx, [ecx + 0x20]
movups xmm0, xmmword [eax - 0x20]
add edx, 0x10
lea eax, [eax + 0x40]
pmulld xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
pmovsxwd xmm0, qword [ecx + esi - 0x20]
pmovsxwd xmm1, qword [ecx + esi - 0x1e]
psubd xmm1, xmm0
movups xmm0, xmmword [eax - 0x50]
pmulld xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
pmovsxwd xmm0, qword [ecx + esi - 0x18]
pmovsxwd xmm1, qword [ecx + esi - 0x16]
psubd xmm1, xmm0
movups xmm0, xmmword [eax - 0x40]
pmulld xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
pmovsxwd xmm0, qword [ecx + esi - 0x10]
pmovsxwd xmm1, qword [ecx + esi - 0xe]
psubd xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
pmulld xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp edx, ebp
jl 0x101c9320
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
cmp edx, edi
jge 0x101c93f0
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x74]
mov eax, dword [ebp + 0x20]
movsx ecx, word [eax + edx*2 + 2]
movsx eax, word [eax + edx*2]
sub ecx, eax
imul ecx, ebx
add dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x101c93d1
mov edx, dword [esp + 0x3c]
jmp 0x101c93fe
mov edx, esi
cmp esi, edi
jge 0x101c9698
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x74]
nop word [eax + eax]
mov eax, dword [ebp + 0x20]
movsx ecx, word [eax + edx*2 + 2]
movsx eax, word [eax + edx*2]
sub ecx, eax
mov eax, ebx
cmp ebx, ecx
cmovge eax, ecx
add dword [esi + edx*4], eax
sub ebx, eax
inc edx
cmp edx, edi
jl 0x101c9410
mov ecx, dword [esp + 0x74]
xor edi, edi
mov eax, dword [esp + 0x7c]
sub dword [esp + 0x54], eax
sub eax, ecx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
sub eax, ecx
mov dword [esp + 0x44], edi
lea ebx, [ecx + esi*4]
mov dword [esp + 0x58], eax
jmp 0x101c9464
mov edi, dword [esp + 0x44]
cmp dword [ebx], 0
jge 0x101c9480
push 0x1bc
push str.C:_vcpkg_2024.03.25_buildtreesopus_src_v1.4_cac4cc030e.cleancelt_rate.c
push str.assertion_failed:_bits_j____0
call fcn.101ace10
add esp, 0xc
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x84]
mov edx, dword [ebx]
add edx, edi
movsx ebp, word [eax + esi*2 + 2]
movsx eax, word [eax + esi*2]
sub ebp, eax
shl ebp, cl
mov ecx, dword [esp + 0x68]
add ecx, ebx
mov dword [esp + 0x70], ebp
cmp ebp, 1
jle 0x101c95c8
mov eax, dword [esp + 0x54]
mov edi, edx
sub edi, dword [eax + ecx]
xor eax, eax
mov ecx, dword [esp + 0x80]
test edi, edi
cmovle edi, eax
sub edx, edi
mov dword [ebx], edx
cmp ecx, 2
jne 0x101c94e8
cmp ebp, ecx
jle 0x101c94e8
mov eax, dword [esp + 0x6c]
cmp dword [eax], 0
jne 0x101c94e8
mov eax, dword [esp + 0x64]
cmp esi, dword [eax]
jge 0x101c94e8
lea eax, [ecx - 1]
jmp 0x101c94ea
xor eax, eax
imul ebp, ecx
add ebp, eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x38]
movsx ecx, word [eax + esi*2]
add ecx, dword [esp + 0x30]
imul ecx, ebp
imul eax, ebp, 0x15
mov esi, ecx
sar esi, 1
sub esi, eax
cmp dword [esp + 0x70], 2
jne 0x101c951d
lea eax, [ebp*8]
sar eax, 2
add esi, eax
lea eax, [edx + esi]
mov dword [esp + 0x70], eax
mov eax, ebp
shl eax, 4
cmp dword [esp + 0x70], eax
jge 0x101c9534
sar ecx, 2
jmp 0x101c9549
lea eax, [ebp*2]
add eax, ebp
shl eax, 3
cmp dword [esp + 0x70], eax
jge 0x101c954b
sar ecx, 3
add esi, ecx
xor eax, eax
lea ecx, [edx + ebp*4]
add ecx, esi
cmovns eax, ecx
xor edx, edx
div ebp
mov edx, eax
mov eax, dword [esp + 0x58]
shr edx, 3
mov ecx, edx
imul ecx, dword [esp + 0x80]
mov dword [ebx + eax], edx
mov eax, dword [ebx]
sar eax, 3
cmp ecx, eax
jle 0x101c9583
mov edx, dword [ebx]
mov ecx, dword [esp + 0x18]
sar edx, cl
sar edx, 3
mov ecx, dword [esp + 0x58]
mov eax, 8
cmp edx, eax
cmovl eax, edx
lea edx, [ebp*8]
mov ebp, dword [esp + 0x58]
mov dword [ebx + ecx], eax
xor ecx, ecx
imul edx, eax
mov eax, dword [ebx]
add eax, esi
cmp edx, eax
mov eax, dword [esp + 0x68]
setge cl
add ebp, ebx
mov dword [eax + ebx], ecx
mov eax, dword [ebp]
imul eax, dword [esp + 0x80]
shl eax, 3
sub dword [ebx], eax
jmp 0x101c95f9
mov esi, dword [esp + 0x80]
mov eax, edx
mov edi, 0
lea ebp, [esi*8]
sub eax, ebp
mov ebp, dword [esp + 0x58]
cmovns edi, eax
sub edx, edi
add ebp, ebx
mov dword [ebx], edx
mov dword [ebp], 0
mov dword [ecx], 1
test edi, edi
jle 0x101c9639
mov ecx, dword [esp + 0x18]
mov esi, edi
mov eax, 8
sub eax, dword [ebp]
lea ecx, [ecx + 3]
sar esi, cl
cmp esi, eax
cmovge esi, eax
mov eax, edi
add dword [ebp], esi
xor ecx, ecx
imul esi, dword [esp + 0x80]
sub eax, dword [esp + 0x44]
shl esi, 3
cmp esi, eax
mov eax, dword [esp + 0x68]
setge cl
sub edi, esi
mov dword [eax + ebx], ecx
cmp dword [ebx], 0
mov dword [esp + 0x44], edi
jge 0x101c9659
push 0x203
push str.C:_vcpkg_2024.03.25_buildtreesopus_src_v1.4_cac4cc030e.cleancelt_rate.c
push str.assertion_failed:_bits_j____0
call fcn.101ace10
add esp, 0xc
cmp dword [ebp], 0
jge 0x101c9676
push 0x204
push str.C:_vcpkg_2024.03.25_buildtreesopus_src_v1.4_cac4cc030e.cleancelt_rate.c
push str.assertion_failed:_ebits_j____0
call fcn.101ace10
add esp, 0xc
mov esi, dword [esp + 0x3c]
add ebx, 4
mov edi, dword [esp + 0x10]
inc esi
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
cmp esi, edi
jl 0x101c9460
mov ecx, dword [esp + 0x44]
jmp 0x101c969e
xor ecx, ecx
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
cmp esi, edx
jge 0x101c972f
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
sub ebp, eax
mov edi, dword [esp + 0x80]
sub ebx, eax
sub edx, dword [esp + 0x3c]
lea esi, [eax + esi*4]
mov dword [esp + 0x40], edx
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
sar eax, cl
sar eax, 3
mov dword [esi + ebp], eax
imul eax, edi
shl eax, 3
cmp eax, dword [esi]
je 0x101c9705
push 0x20e
push str.C:_vcpkg_2024.03.25_buildtreesopus_src_v1.4_cac4cc030e.cleancelt_rate.c
push str.assertion_failed:_Cebits_j___BITRES__bits_j_
call fcn.101ace10
mov edx, dword [esp + 0x4c]
add esp, 0xc
xor ecx, ecx
mov dword [esi], 0
cmp dword [esi + ebp], 1
setl cl
mov dword [ebx + esi], ecx
add esi, 4
sub edx, 1
mov dword [esp + 0x40], edx
jne 0x101c96d2
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret