Function at 0x101cfc90
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 0x101cfd7f
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 0x101cfd5b
test ecx, ecx
jne 0x101cfd5b
cmp eax, ebx
jl 0x101cfd6e
add esi, ebx
jmp 0x101cfd6e
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 0x101cfd30
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
cmp esi, edx
jle 0x101cfd8f
mov ecx, dword [esp + 0x10]
mov esi, ebp
mov dword [esp + 0x14], esi
jmp 0x101cfd99
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov dword [esp + 0x10], ecx
sub edi, 1
mov dword [esp + 0x1c], edi
jne 0x101cfce0
mov ecx, dword [esp + 0x40]
xor ebp, ebp
xor edi, edi
cmp ecx, eax
jle 0x101cfe40
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 0x101cfe15
test edi, edi
jne 0x101cfe15
cmp ecx, ebx
mov dword [esp + 0x28], edi
mov eax, ebx
cmovl eax, edi
mov ecx, eax
jmp 0x101cfe1a
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 0x101cfde5
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 0x101cffee
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 0x101cff78
cmp dword [esp + 0x8c], 0
je 0x101cff59
mov edi, dword [esp + 0x10]
xor edx, edx
cmp edi, 0x11
jle 0x101cff08
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 0x101cffd9
imul edx, ecx
mov ecx, dword [esp + 0x84]
shl edx, cl
shl edx, 3
sar edx, 4
cmp dword [esp + 0x1c], edx
jle 0x101cff3c
cmp ebx, dword [esp + 0x94]
jle 0x101cffd9
push 1
push 0
push dword [esp + 0x90]
call fcn.101d2410
mov esi, dword [esp + 0x28]
add esp, 0xc
mov edi, dword [esp + 0x74]
jmp 0x101cff72
push 1
push dword [esp + 0x8c]
call fcn.101bb770
add esp, 8
test eax, eax
jne 0x101cfffc
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 0x101cff98
mov eax, ebx
sub eax, dword [esp + 0x3c]
movzx edx, byte [eax + 0x102d6ac4]
mov dword [esp + 0x68], edx
mov eax, dword [esp + 0x80]
add ebp, edx
lea ecx, [eax*8]
cmp esi, ecx
jl 0x101cffae
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 0x101cffee
mov edx, dword [esp + 0x58]
jmp 0x101cfe70
push 1
push 1
push dword [esp + 0x90]
call fcn.101d2410
add esp, 0xc
jmp 0x101d0004
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
jmp 0x101d0000
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x68]
cmp edi, esi
jg 0x101d0023
push 0x189
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.cleancelt_rate.c
push str.assertion_failed:_codedBands___start
call fcn.101b3ef0
add esp, 0xc
test ebx, ebx
jle 0x101d0078
cmp dword [esp + 0x8c], 0
mov eax, edi
je 0x101d005a
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.101d2950
mov ecx, dword [ebx]
add esp, 0xc
jmp 0x101d0084
sub eax, esi
inc eax
push eax
push dword [esp + 0x8c]
call fcn.101bb970
add esp, 8
lea ecx, [eax + esi]
mov eax, dword [esp + 0x64]
mov dword [eax], ecx
jmp 0x101d0084
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 0x101d0092
add ebx, edx
xor eax, eax
cmp ecx, esi
cmovg eax, edx
test eax, eax
jle 0x101d00d7
cmp dword [esp + 0x8c], 0
push 1
je 0x101d00c0
mov ecx, dword [esp + 0x70]
push dword [ecx]
push dword [esp + 0x90]
call fcn.101d2410
add esp, 0xc
jmp 0x101d00e1
push dword [esp + 0x8c]
call fcn.101bb770
mov ecx, dword [esp + 0x74]
add esp, 8
mov dword [ecx], eax
jmp 0x101d00e1
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 0x101d0290
cmp ecx, 0x10
jb 0x101d0269
cmp dword [0x1032d5f4], 2
jl 0x101d0269
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 0x101d017b
cmp ebp, dword [esp + 0x70]
jae 0x101d0269
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
add eax, 0x20
cmp dword [esp + 0x68], eax
ja 0x101d0194
cmp ebp, eax
jae 0x101d0269
and ecx, 0x8000000f
jns 0x101d01a1
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 0x101d01c0
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x44], edx
cmp edx, edi
jge 0x101d0290
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 0x101d0271
mov edx, dword [esp + 0x3c]
jmp 0x101d029e
mov edx, esi
cmp esi, edi
jge 0x101d0538
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 0x101d02b0
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 0x101d0304
mov edi, dword [esp + 0x44]
cmp dword [ebx], 0
jge 0x101d0320
push 0x1bc
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.cleancelt_rate.c
push str.assertion_failed:_bits_j____0
call fcn.101b3ef0
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 0x101d0468
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 0x101d0388
cmp ebp, ecx
jle 0x101d0388
mov eax, dword [esp + 0x6c]
cmp dword [eax], 0
jne 0x101d0388
mov eax, dword [esp + 0x64]
cmp esi, dword [eax]
jge 0x101d0388
lea eax, [ecx - 1]
jmp 0x101d038a
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 0x101d03bd
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 0x101d03d4
sar ecx, 2
jmp 0x101d03e9
lea eax, [ebp*2]
add eax, ebp
shl eax, 3
cmp dword [esp + 0x70], eax
jge 0x101d03eb
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 0x101d0423
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 0x101d0499
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 0x101d04d9
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 0x101d04f9
push 0x203
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.cleancelt_rate.c
push str.assertion_failed:_bits_j____0
call fcn.101b3ef0
add esp, 0xc
cmp dword [ebp], 0
jge 0x101d0516
push 0x204
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.cleancelt_rate.c
push str.assertion_failed:_ebits_j____0
call fcn.101b3ef0
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 0x101d0300
mov ecx, dword [esp + 0x44]
jmp 0x101d053e
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 0x101d05cf
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 0x101d05a5
push 0x20e
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.cleancelt_rate.c
push str.assertion_failed:_Cebits_j___BITRES__bits_j_
call fcn.101b3ef0
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 0x101d0572
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