Function at 0x101c2360
Capabilities:
Check http status code
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x102f0d80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
push esi
push edi
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ebp - 0x40], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
xor ecx, ecx
cmp dword [ebp + 0x18], 2
mov edi, dword [edx + 4]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 0x20]
mov dword [ebp - 0xc4], ecx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x54], 0xf
movss dword [ebp - 0xb4], xmm0
mov dword [ebp - 0x44], 0
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x8c], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0xc], ecx
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x5c], xmm0
jl 0x101c48e2
cmp dword [ebp + 0xc], 0
je 0x101c48e2
mov esi, dword [eax + 0x1c]
xor ecx, ecx
imul esi, dword [ebp + 0x10]
mov edx, dword [edx + 0x24]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x48], esi
test edx, edx
js 0x101c2443
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 0x2c]
nop
mov eax, edi
shl eax, cl
cmp eax, esi
je 0x101c243d
inc ecx
cmp ecx, edx
jle 0x101c2430
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp ecx, edx
jg 0x101c48e2
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xb0], eax
mov ecx, dword [ecx + 0x2c]
imul ecx, eax
mov eax, edi
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 8]
add eax, 0x3d
lea eax, [ecx + eax*4]
mov dword [ebp - 0x4c], eax
lea eax, [edi + 0x400]
imul eax, dword [ebp - 0x40]
add eax, 0x3d
lea edx, [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], edx
lea edi, [eax*4]
lea eax, [edx + edi]
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x50], eax
add eax, edi
add eax, edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0xc0], eax
test edi, edi
jne 0x101c24c7
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x98], 1
jmp 0x101c24ec
push edi
call fcn.101cebb0
bsr ecx, dword [edi + 0x1c]
mov dword [ebp - 0x98], eax
add esp, 4
mov eax, dword [edi + 0x14]
sub eax, ecx
mov ecx, dword [ebp + 8]
dec eax
mov dword [ebp - 0x28], eax
lea edi, [eax + 4]
sar edi, 3
cmp dword [ecx + 0x30], 0
mov dword [ebp - 0x24], edi
je 0x101c250f
push 0x622
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.cleanceltcelt_encoder.c
push str.assertion_failed:_st__signalling0
call fcn.101b3ef0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edx, 0x4fb
cmp dword [ebp + 0x18], edx
cmovl edx, dword [ebp + 0x18]
mov eax, edx
mov dword [ebp - 0x2c], edx
sub eax, edi
cmp dword [ecx + 0x2c], 0
mov dword [ebp - 0xa0], eax
je 0x101c2555
mov edi, dword [ecx + 0x28]
cmp edi, 0xffffffff
je 0x101c2555
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
mov eax, edi
imul eax, dword [ebp - 0x48]
sar esi, 3
mov ecx, esi
sar ecx, 1
add eax, ecx
cdq
idiv esi
mov dword [ebp - 0x80], eax
sar eax, 6
jmp 0x101c25c6
mov edi, dword [ecx + 0x28]
mov edx, edi
mov ecx, dword [ebp - 0x28]
imul edx, esi
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x80], 0
cmp ecx, 1
jle 0x101c2576
mov eax, dword [esi]
imul eax, ecx
add edx, eax
cmp edi, 0xffffffff
je 0x101c25c0
mov ecx, dword [esi]
mov esi, dword [ebp + 8]
lea eax, [edx + ecx*4]
shl ecx, 3
cdq
idiv ecx
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [esi + 0x30], ecx
setne cl
sub eax, ecx
cmp edx, eax
mov ecx, eax
cmovl ecx, edx
cmp ecx, 2
jge 0x101c25a9
mov edx, 2
jmp 0x101c25ae
cmp edx, eax
cmovge edx, eax
push edx
push dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
call fcn.101d2900
mov edi, dword [esi + 0x28]
add esp, 8
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov edx, 0x190
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
sar edx, cl
mov ecx, 3
sub ecx, dword [ebp - 0x14]
sub edx, 0x32
lea eax, [eax + eax*4]
lea eax, [eax*8 + 0x14]
imul edx, eax
mov eax, dword [ebp - 0x2c]
imul esi, eax, 0x190
shl esi, cl
mov ecx, esi
mov dword [ebp - 0xa4], esi
mov esi, dword [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0xa4], ecx
cmp edi, 0xffffffff
je 0x101c261e
sub edi, edx
cmp ecx, edi
cmovge ecx, edi
mov dword [ebp - 0xa4], ecx
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x101c2641
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push eax
call fcn.101d2720
lea edi, [ebp - 0x104]
add esp, 0xc
mov dword [ebp + 0x1c], edi
mov ecx, dword [ebp - 0x80]
test ecx, ecx
jle 0x101c269c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
je 0x101c269c
add ecx, ecx
xor edx, edx
sub ecx, dword [eax + 0xd0]
mov eax, 2
sar ecx, 6
cmp dword [ebp - 0x28], 1
cmove edx, eax
mov eax, ecx
cmp edx, ecx
cmovg eax, edx
cmp eax, dword [ebp - 0xa0]
jge 0x101c269c
cmp edx, ecx
cmovg ecx, edx
cmp ecx, dword [ebp - 0xa0]
jge 0x101c269c
lea eax, [ecx + esi]
mov dword [ebp - 0xa0], ecx
push eax
push edi
mov dword [ebp - 0x2c], eax
call fcn.101d2900
add esp, 8
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
shl eax, 3
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
cmp edx, eax
cmovg edx, eax
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x88], edx
shl eax, 2
call fcn.1011d130
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], esp
mov edi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x20]
imul eax, dword [ebp - 8]
cdq
idiv edi
mov esi, eax
push esi
push dword [ebp + 0xc]
call fcn.101c4a20
mov eax, dword [ebp + 8]
fstp dword [ebp - 0x48]
movss xmm2, dword [eax + 0xe0]
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 8]
maxss xmm2, dword [ebp - 0x48]
cdq
idiv edi
push eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + esi*4]
push eax
call fcn.101c4a20
mov ecx, dword [ebp + 8]
mov eax, 1
movss xmm1, dword [0x1020f864]
add esp, 0x10
fstp dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x48]
movss dword [ecx + 0xe0], xmm0
maxss xmm2, xmm0
mov ecx, dword [ecx + 0x3c]
shl eax, cl
movss dword [ebp - 0x3c], xmm2
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm2
setae al
cmp dword [ebp - 0x28], 1
mov dword [ebp - 0x90], eax
jne 0x101c2827
mov edi, dword [ebp + 0x1c]
push 0xf
push eax
push edi
call fcn.101d2410
mov esi, dword [ebp - 0x90]
add esp, 0xc
test esi, esi
je 0x101c27de
cmp dword [ebp - 0x80], 0
jle 0x101c27c1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
add eax, 2
cmp ecx, eax
mov dword [ebp - 0xa0], 2
cmovge ecx, eax
push ecx
push edi
mov dword [ebp - 0x2c], ecx
lea eax, [ecx*8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x9c], eax
call fcn.101d2900
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], esi
lea ecx, [eax*8]
bsr eax, dword [edi + 0x1c]
mov dword [ebp - 0x28], ecx
inc eax
add eax, ecx
mov dword [edi + 0x14], eax
movss xmm2, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
xor esi, esi
mov ecx, dword [ebp - 0x20]
add edx, 0x10
mov eax, dword [ebp - 0x6c]
add eax, ecx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x70]
shl eax, 2
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
lea ecx, [edx + ecx*4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x68], ecx
lea edi, [eax + 0xc0]
cmp dword [eax + 0x10], 0
je 0x101c2833
comiss xmm2, dword [0x10210e9c]
jbe 0x101c2833
mov eax, 1
jmp 0x101c2835
mov dword [ebp - 0x90], 0
jmp 0x101c27e3
xor eax, eax
push eax
mov eax, dword [ebp + 8]
push edi
push edx
push dword [eax + 0x1c]
push dword [ebp - 0x40]
push dword [ebp - 0x6c]
push ecx
push dword [ebp + 0xc]
call fcn.101c4ae0
mov ecx, dword [ebp - 0x68]
inc esi
add ecx, dword [ebp - 0x48]
add esp, 0x20
add dword [ebp + 0xc], 4
add edi, 4
movss xmm2, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
cmp esi, dword [ebp - 0x40]
jl 0x101c2811
mov ecx, dword [ebp - 0xa0]
mov edi, eax
cmp dword [edi + 0x40], 0
je 0x101c2884
cmp ecx, 3
jg 0x101c2891
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
shl eax, 2
cmp ecx, eax
jle 0x101c28b3
cmp dword [ebp - 0x10], 0
jne 0x101c28b3
cmp dword [ebp - 0x90], 0
jne 0x101c28b3
cmp dword [edi + 0x14], 0
jne 0x101c28b3
cmp dword [edi + 0x18], 5
jl 0x101c28b3
mov eax, 1
jmp 0x101c28b5
xor eax, eax
mov edx, dword [edi + 0x64]
lea esi, [edi + 0x78]
push esi
push ecx
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x48], edx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
push edx
push dword [ebp - 0x6c]
push dword [ebp - 0x40]
push dword [ebp - 0x4c]
push dword [ebp - 0x70]
push edi
call fcn.101c71d0
movss xmm0, dword [ebp - 0x44]
add esp, 0x30
movss xmm1, dword [0x102d2948]
comiss xmm0, xmm1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x68], ecx
movss dword [ebp - 0x78], xmm0
ja 0x101c2910
movss xmm0, dword [edi + 0x6c]
comiss xmm0, xmm1
jbe 0x101c2961
cmp dword [esi], 0
je 0x101c2927
movss xmm0, dword [edi + 0x7c]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [0x102b1c78]
jbe 0x101c2961
movd xmm1, dword [edi + 0x68]
cvtdq2pd xmm1, xmm1
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
movaps xmm0, xmm1
mulsd xmm0, qword [0x102d2978]
comisd xmm2, xmm0
ja 0x101c2957
mulsd xmm1, qword [0x102d2970]
comisd xmm1, xmm2
jbe 0x101c2961
mov dword [ebp - 0xbc], 1
test eax, eax
jne 0x101c298f
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x101c29f5
mov eax, dword [ebp - 0x28]
add eax, 0x10
cmp eax, dword [ebp - 0x9c]
jg 0x101c29f2
push 1
push 0
push dword [ebp + 0x1c]
call fcn.101d2410
add esp, 0xc
jmp 0x101c29f2
push 1
push 1
push dword [ebp + 0x1c]
call fcn.101d2410
mov edi, dword [ebp - 0x68]
inc edi
bsr esi, edi
push 6
add esi, 0xfffffffc
push esi
push dword [ebp + 0x1c]
call fcn.101d2950
lea eax, [esi + 4]
mov ecx, esi
mov esi, dword [ebp + 0x1c]
mov edx, 0x10
push eax
shl edx, cl
mov eax, edi
sub eax, edx
push eax
push esi
call fcn.101d2440
push 3
push dword [ebp - 0x64]
lea eax, [edi - 1]
push esi
mov dword [ebp - 0x68], eax
call fcn.101d2440
push 2
push 0x102d26b8
push dword [ebp - 0x48]
push esi
call fcn.101d26c0
mov edi, dword [ebp + 8]
add esp, 0x40
mov eax, dword [ebp - 0x10]
mov edx, dword [edi + 0x18]
mov esi, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
cmp edx, 1
jl 0x101c2a6c
cmp dword [edi + 0x40], 0
jne 0x101c2a6c
test eax, eax
je 0x101c2a2d
cmp dword [ebp - 0x30], 0xf
jge 0x101c2a2d
cmp dword [edi + 0xb8], 2
je 0x101c2a2d
mov eax, 1
jmp 0x101c2a2f
xor eax, eax
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x6c]
push eax
push dword [ebp - 0x70]
call fcn.101c7d60
movss xmm0, dword [ebp - 0x5c]
add esp, 0x1c
mov esi, dword [edi + 0x18]
mov edx, esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
movss dword [ebp - 0x7c], xmm0
cmp dword [ebp - 0x14], 0
jle 0x101c2a9c
mov ecx, dword [ebp + 0x1c]
bsr eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
add ecx, 2
cmp ecx, dword [ebp - 0x9c]
jg 0x101c2a9c
cmp dword [ebp - 0x34], 0
je 0x101c2aad
mov eax, dword [ebp - 0xb0]
mov esi, edx
mov dword [ebp - 0x28], eax
jmp 0x101c2aad
mov dword [ebp - 0x34], 0
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0x40]
shl eax, 2
call fcn.1011d130
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], esp
shl eax, 2
call fcn.1011d130
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], esp
shl eax, 2
call fcn.1011d130
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x5c], esp
je 0x101c2af5
cmp esi, 8
jl 0x101c2af5
mov esi, 1
jmp 0x101c2af7
xor esi, esi
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x4c], esi
shl eax, 2
call fcn.1011d130
mov dword [ebp - 0x20], esp
test esi, esi
je 0x101c2c3b
push dword [edi + 0x48]
mov esi, dword [ebp - 0x24]
push dword [edi + 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x40]
push dword [ebp - 8]
push esi
push dword [ebp - 0x70]
push 0
push dword [ebp - 0x18]
call fcn.101c4ee0
push dword [edi + 0x48]
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 0x88]
push dword [ebp - 0x74]
push esi
push dword [ebp - 0x18]
call fcn.101c8dd0
mov esi, dword [ebp - 0x20]
add esp, 0x40
push dword [ebp - 8]
push esi
push dword [ebp - 0x74]
push dword [ebp - 0xc]
push dword [ebp - 0x88]
push dword [ebp - 0x18]
call fcn.101cc790
mov eax, dword [ebp - 8]
add esp, 0x18
test eax, eax
jle 0x101c2c3e
mov ecx, dword [ebp - 0x1c]
xor edi, edi
movss xmm2, dword [0x1020dfd0]
add esi, 8
mov dword [ebp - 0x44], eax
lea edx, [ecx*4]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x3c], edx
mov eax, edx
nop dword [eax]
xor edx, edx
cmp ecx, 4
jl 0x101c2bec
movd xmm1, dword [ebp - 0x14]
add ecx, 0xfffffffc
cvtdq2ps xmm1, xmm1
shr ecx, 2
mov eax, esi
inc ecx
mulss xmm1, xmm2
lea edx, [ecx*4]
shufps xmm1, xmm1, 0
nop word [eax + eax]
movups xmm0, xmmword [eax - 8]
addps xmm0, xmm1
movups xmmword [eax - 8], xmm0
add eax, 0x10
sub ecx, 1
jne 0x101c2bd0
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
jl 0x101c2bf0
jmp 0x101c2c26
test ecx, ecx
jle 0x101c2c29
movd xmm1, dword [ebp - 0x14]
lea eax, [edi + edx]
mov ecx, dword [ebp - 0x20]
cvtdq2ps xmm1, xmm1
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0xc]
sub ecx, edx
mulss xmm1, xmm2
nop word [eax + eax]
movaps xmm0, xmm1
addss xmm0, dword [eax]
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x101c2c10
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add edi, dword [ebp - 0x1c]
add esi, eax
sub dword [ebp - 0x44], 1
jne 0x101c2ba0
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 8]
push dword [edi + 0x48]
lea esi, [edi + 0x48]
push dword [edi + 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x40]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x70]
push dword [ebp - 0x28]
push dword [ebp - 0x18]
call fcn.101c4ee0
mov ecx, dword [ebp - 0x24]
add esp, 0x24
mov edi, esi
movss xmm0, dword [ecx]
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x101c2c93
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x101c2cb0
mov eax, dword [ebp - 0x6c]
movss xmm0, dword [ecx + eax*4]
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jnp 0x101c2cad
mov edi, dword [ebp + 8]
add edi, 0x48
push 0x6de
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.cleanceltcelt_encoder.c
push str.assertion_failed:__celt_isnan_freq_0_____C1___celt_isnan_freq_N___
call fcn.101b3ef0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x40], 2
jne 0x101c2cc7
cmp eax, 1
jne 0x101c2cc7
mov dword [ebp - 0x94], 0
mov esi, edi
push dword [esi]
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x88]
push dword [ebp - 0x74]
push ecx
push dword [ebp - 0x18]
call fcn.101c8dd0
mov edi, dword [ebp + 8]
add esp, 0x1c
movss xmm3, dword [0x102d25f4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x74]
cmp dword [edi + 0x40], 0
je 0x101c2d2f
mov eax, 2
cmp esi, eax
jle 0x101c2d2f
movss xmm2, dword [0x1020f874]
nop word [eax + eax]
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + eax*4]
mulss xmm0, xmm2
minss xmm1, xmm0
maxss xmm1, xmm3
movss dword [ecx + eax*4], xmm1
inc eax
cmp eax, esi
jl 0x101c2d10
push dword [ebp - 8]
push dword [ebp - 0x5c]
push ecx
push esi
push dword [ebp - 0x88]
push dword [ebp - 0x18]
call fcn.101cc790
mov eax, dword [ebp - 0x1c]
add esp, 0x18
imul eax, dword [ebp - 8]
shl eax, 2
call fcn.1011d130
mov ecx, esp
lea eax, [esi*4]
push eax
push 0
push ecx
mov dword [ebp - 0x54], ecx
call fcn.1011e7c0
movss xmm3, dword [0x10211544]
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x101c31b2
cmp dword [edi + 0xec], 0
je 0x101c31b2
cmp dword [edi + 0x40], 0
jne 0x101c31b2
mov esi, dword [edi + 0x5c]
xor eax, eax
mov edi, dword [ebp - 8]
cmp esi, 2
mov ecx, 2
mov dword [ebp - 0x3c], eax
cmovl esi, ecx
xorps xmm6, xmm6
movss dword [ebp - 0x60], xmm6
xorps xmm5, xmm5
movss dword [ebp - 0x8c], xmm5
xorps xmm4, xmm4
mov dword [ebp - 0x44], esi
test edi, edi
jle 0x101c2e9d
movss xmm2, dword [0x102d2350]
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x64], edi
xor edx, edx
test esi, esi
je 0x101c2e78
mov edi, 1
sub edi, esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0xec]
add esi, ecx
nop
movss xmm1, dword [esi]
minss xmm1, xmm3
comiss xmm1, xmm2
jbe 0x101c2e1c
comiss xmm1, xmm4
jbe 0x101c2e1f
mulss xmm1, dword [0x1020dfd0]
jmp 0x101c2e1f
movaps xmm1, xmm2
mov eax, dword [ebp - 0xc4]
add esi, 4
movsx ecx, word [eax + edx*2 + 2]
movsx eax, word [eax + edx*2]
inc edx
sub ecx, eax
mov eax, dword [ebp - 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm6, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
add edi, 2
mulss xmm0, xmm1
addss xmm5, xmm0
cmp edx, dword [ebp - 0x44]
jl 0x101c2e00
mov ecx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x64]
movss dword [ebp - 0x60], xmm6
movss dword [ebp - 0x8c], xmm5
mov esi, dword [ebp - 0x1c]
lea edx, [esi*4]
mov esi, dword [ebp - 0x44]
add ecx, edx
sub edi, 1
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x64], edi
jne 0x101c2de2
test eax, eax
jg 0x101c2ec2
push 0x707
push str.F:_vcpkg_2024.05.24_buildtreesopus_src_v1.5.1_cfcae413d5.cleanceltcelt_encoder.c
push str.assertion_failed:_count_0
call fcn.101b3ef0
movss xmm3, dword [0x10211544]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
xorps xmm4, xmm4
movss xmm5, dword [ebp - 0x60]
lea ecx, [esi - 1]
movss xmm1, dword [ebp - 0x8c]
mulss xmm1, dword [0x1021172c]
movd xmm0, eax
lea eax, [esi + 1]
imul ecx, eax
cvtdq2ps xmm0, xmm0
imul ecx, esi
divss xmm5, xmm0
imul ecx, dword [ebp - 8]
addss xmm5, dword [0x102ace04]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x102d298c]
mulss xmm1, dword [0x1020dfd0]
minss xmm1, dword [0x102d292c]
comiss xmm1, xmm0
movss dword [ebp - 0x8c], xmm1
ja 0x101c2f35
movaps xmm1, xmm0
movss dword [ebp - 0x8c], xmm0
mov ecx, dword [ebp - 0xc4]
xor esi, esi
mov eax, dword [ebp - 0x44]
movsx eax, word [ecx + eax*2]
cdq
sub eax, edx
lea edx, [ecx + 2]
movsx ecx, word [edx]
mov edi, eax
sar edi, 1
cmp ecx, edi
jge 0x101c2f61
movsx eax, word [edx + 2]
lea edx, [edx + 2]
inc esi
cmp eax, edi
jl 0x101c2f55
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x64], edx
test ecx, ecx
je 0x101c318a
neg esi
cmp dword [ebp - 8], 2
jne 0x101c2ff0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [eax + 0xec]
mov eax, dword [ebp - 0x54]
lea ecx, [edi + ecx*4]
sub edi, eax
mov dword [ebp - 0xa8], edi
mov edi, dword [ebp - 0x44]
nop word [eax + eax]
mov edx, dword [ebp - 0xa8]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss xmm1, dword [eax + edx]
maxss xmm1, dword [ecx]
mov edx, dword [ebp - 0x64]
addss xmm0, xmm5
minss xmm1, xmm4
subss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x101c2fda
subss xmm1, xmm3
inc edx
mov dword [ebp - 0x64], edx
movss dword [eax], xmm1
movss xmm1, dword [ebp - 0x8c]
inc esi
add ecx, 4
add eax, 4
sub edi, 1
jne 0x101c2fa0
jmp 0x101c303b
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x54]
mov edi, dword [edi + 0xec]
sub edi, eax
nop
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss xmm1, dword [eax + edi]
minss xmm1, xmm4
addss xmm0, xmm5
subss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x101c302a
subss xmm1, xmm3
inc edx
movss dword [eax], xmm1
movss xmm1, dword [ebp - 0x8c]
inc esi
add eax, 4
sub ecx, 1
jne 0x101c3000
cmp edx, 3
jl 0x101c318a
addss xmm5, xmm3
comiss xmm5, xmm4
jbe 0x101c3078
mov eax, dword [ebp - 0x44]
shl eax, 2
push eax
push 0
push dword [ebp - 0x54]
movss dword [ebp - 0x60], xmm4
movss dword [ebp - 0x8c], xmm4
call fcn.1011e7c0
movss xmm5, dword [ebp - 0x60]
add esp, 0xc
jmp 0x101c318a
mov esi, dword [ebp - 0x44]
xor ecx, ecx
mov edi, dword [ebp - 0x54]
cmp esi, 0x10
jb 0x101c30e8
movaps xmm2, xmmword [0x102d29d0]
lea eax, [edi + 0x20]
mov edx, esi
and edx, 0xfffffff0
movups xmm1, xmmword [eax - 0x20]
add ecx, 0x10
xorps xmm0, xmm0
subps xmm1, xmm2
maxps xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
movups xmm1, xmmword [eax - 0x10]
xorps xmm0, xmm0
subps xmm1, xmm2
maxps xmm0, xmm1
movups xmmword [eax - 0x10], xmm0
movups xmm1, xmmword [eax]
xorps xmm0, xmm0
subps xmm1, xmm2
maxps xmm0, xmm1
movups xmmword [eax], xmm0
movups xmm1, xmmword [eax + 0x10]
xorps xmm0, xmm0
subps xmm1, xmm2
maxps xmm0, xmm1
movups xmmword [eax + 0x10], xmm0
add eax, 0x40
cmp ecx, edx
jl 0x101c3094
cmp ecx, esi
jge 0x101c318a
mov eax, esi
sub eax, ecx
cmp eax, 4
jl 0x101c3170
mov edx, esi
lea eax, [ecx + 2]
sub edx, ecx
lea eax, [edi + eax*4]
sub edx, 4
shr edx, 2
inc edx
lea ecx, [ecx + edx*4]
nop word [eax + eax]
movss xmm1, dword [eax - 8]
movaps xmm0, xmm4
subss xmm1, xmm3
maxss xmm0, xmm1
movss xmm1, dword [eax - 4]
subss xmm1, xmm3
movss dword [eax - 8], xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [eax]
subss xmm1, xmm3
movss dword [eax - 4], xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [eax + 4]
subss xmm1, xmm3
movss dword [eax], xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [eax + 4], xmm0
add eax, 0x10
sub edx, 1
jne 0x101c3110
cmp ecx, esi
jge 0x101c318a
nop
movss xmm1, dword [edi + ecx*4]
movaps xmm0, xmm4
subss xmm1, xmm3
maxss xmm0, xmm1
movss dword [edi + ecx*4], xmm0
inc ecx
cmp ecx, esi
jl 0x101c3170
movss xmm0, dword [ebp - 0x8c]
addss xmm5, dword [0x102ace04]
mulss xmm0, dword [0x1020f87c]
mov edi, dword [ebp + 8]
movss dword [ebp - 0x8c], xmm0
movss dword [ebp - 0x60], xmm5
mov edx, dword [edi + 0x40]
mov esi, edx
test edx, edx
jne 0x101c334e
xorps xmm3, xmm3
movss xmm1, dword [0x102d29a4]
cmp dword [ebp - 0x28], edx
je 0x101c31e1
movd xmm2, dword [ebp - 0x14]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1020dfd0]
jmp 0x101c31e4
xorps xmm2, xmm2
mov edx, dword [ebp - 0x10]
mov ecx, edx
mov esi, dword [ebp - 0xc]
cmp edx, esi
jge 0x101c32ea
cmp dword [ebp - 8], 2
movss xmm4, dword [0x1020f864]
jne 0x101c323e
mov eax, dword [ebp - 0x1c]
add eax, edx
mov edx, dword [ebp - 0x5c]
lea eax, [edx + eax*4]
nop dword [eax]
movss xmm0, dword [edx + ecx*4]
subss xmm1, xmm4
subss xmm0, xmm2
inc ecx
maxss xmm1, xmm0
movss xmm0, dword [eax]
subss xmm0, xmm2
add eax, 4
maxss xmm1, xmm0
addss xmm3, xmm1
cmp ecx, esi
jl 0x101c3210
jmp 0x101c32ea
mov eax, esi
sub eax, edx
cmp eax, 4
jl 0x101c32c9
mov eax, dword [ebp - 0x5c]
add eax, 8
lea edx, [eax + edx*4]
mov eax, esi
sub eax, ecx
sub eax, 4
shr eax, 2
inc eax
lea ecx, [ecx + eax*4]
movss xmm0, dword [edx - 8]
subss xmm1, xmm4
subss xmm0, xmm2
maxss xmm1, xmm0
movss xmm0, dword [edx - 4]
subss xmm0, xmm2
addss xmm3, xmm1
subss xmm1, xmm4
maxss xmm1, xmm0
movss xmm0, dword [edx]
subss xmm0, xmm2
addss xmm3, xmm1
subss xmm1, xmm4
maxss xmm1, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, xmm2
add edx, 0x10
addss xmm3, xmm1
subss xmm1, xmm4
maxss xmm1, xmm0
addss xmm3, xmm1
sub eax, 1
jne 0x101c3262
movss dword [ebp - 0x84], xmm3
cmp ecx, esi
jge 0x101c32ea
mov edx, dword [ebp - 0x5c]
nop dword [eax]
movss xmm0, dword [edx + ecx*4]
subss xmm1, xmm4
subss xmm0, xmm2
inc ecx
maxss xmm1, xmm0
addss xmm3, xmm1
cmp ecx, esi
jl 0x101c32d0
mov eax, esi
movss xmm1, dword [edi + 0xf0]
sub eax, dword [ebp - 0x10]
movss xmm2, dword [0x10210ec8]
movss dword [ebp - 0xb4], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
movss xmm0, dword [0x102d299c]
subss xmm3, xmm1
maxss xmm0, xmm3
comiss xmm0, xmm2
ja 0x101c3332
movaps xmm2, xmm0
movss dword [ebp - 0xb4], xmm0
mov edx, dword [edi + 0x40]
movaps xmm0, xmm2
mulss xmm0, dword [0x10211728]
mov esi, edx
addss xmm0, xmm1
movss dword [edi + 0xf0], xmm0
cmp dword [ebp - 0x4c], 0
jne 0x101c336f
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 8]
shl eax, 2
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x20]
call fcn.1011e240
add esp, 0xc
mov edx, esi
cmp dword [ebp - 0x14], 0
jle 0x101c353e
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp - 0x34]
bsr eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x14]
sub ecx, eax
add ecx, 2
cmp ecx, dword [ebp - 0x9c]
jg 0x101c351b
test esi, esi
jne 0x101c351b
cmp dword [edi + 0x18], 5
jl 0x101c351b
test edx, edx
jne 0x101c351b
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x101c351b
push dword [ebp - 8]
mov esi, dword [ebp - 0xc]
push esi
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call fcn.101c6f20
add esp, 0x18
test eax, eax
je 0x101c3518
push dword [edi + 0x48]
mov eax, dword [ebp - 0xb0]
push dword [edi + 0x1c]
mov dword [ebp - 0x34], 1
push dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x40]
push dword [ebp - 8]
push dword [ebp - 0x24]
push dword [ebp - 0x70]
push eax
push dword [ebp - 0x18]
call fcn.101c4ee0
push dword [edi + 0x48]
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 0x88]
push dword [ebp - 0x74]
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call fcn.101c8dd0
add esp, 0x40
push dword [ebp - 8]
push dword [ebp - 0x5c]
push dword [ebp - 0x74]
push esi
push dword [ebp - 0x88]
push dword [ebp - 0x18]
call fcn.101cc790
mov ecx, dword [ebp - 8]
add esp, 0x18
test ecx, ecx
jle 0x101c350b
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x4c], ecx
add esi, 8
mov ecx, dword [ebp - 0xc]
lea edx, [eax*4]
mov dword [ebp - 0x3c], edx
mov eax, edx
nop
xor edx, edx
cmp ecx, 4
jl 0x101c34bc
movd xmm1, dword [ebp - 0x14]
add ecx, 0xfffffffc
cvtdq2ps xmm1, xmm1
shr ecx, 2
mov eax, esi
inc ecx
mulss xmm1, dword [0x1020dfd0]
lea edx, [ecx*4]
shufps xmm1, xmm1, 0
nop dword [eax + eax]
movups xmm0, xmmword [eax - 8]
addps xmm0, xmm1
movups xmmword [eax - 8], xmm0
add eax, 0x10
sub ecx, 1
jne 0x101c34a0
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
jl 0x101c34c0
jmp 0x101c34f6
test ecx, ecx
jle 0x101c34f9
movd xmm1, dword [ebp - 0x14]
lea eax, [edi + edx]
mov ecx, dword [ebp - 0x20]
cvtdq2ps xmm1, xmm1
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0xc]
sub ecx, edx
mulss xmm1, dword [0x1020dfd0]
nop
movaps xmm0, xmm1
addss xmm0, dword [eax]
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x101c34e0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add edi, dword [ebp - 0x1c]
add esi, eax
sub dword [ebp - 0x4c], 1
jne 0x101c3470
mov edi, dword [ebp + 8]
movss xmm0, dword [0x102ace04]
movss dword [ebp - 0x7c], xmm0
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp + 0x1c]
bsr eax, dword [edx + 0x1c]
mov ecx, dword [edx + 0x14]
sub ecx, eax
add ecx, 2
cmp ecx, dword [ebp - 0x9c]
jg 0x101c353e
push 3
push esi
push edx
call fcn.101d2410
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 8]
imul eax, esi
shl eax, 2
call fcn.1011d130
mov eax, esp
push dword [ebp - 0xb0]
mov dword [ebp - 0x70], eax
push esi
push dword [ebp - 0x88]
push dword [ebp - 0x74]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x18]
call fcn.101ca1f0
mov eax, esi
add esp, 0x1c
shl eax, 4
sub eax, esi
cmp dword [ebp - 0x30], eax
jl 0x101c3598
cmp dword [ebp - 0x10], 0
jne 0x101c3598
cmp dword [edi + 0x18], 2
jl 0x101c3598
cmp dword [edi + 0x40], 0
jne 0x101c3598
mov edi, 1
jmp 0x101c359a
xor edi, edi
mov eax, dword [ebp - 0x1c]
lea esi, [eax*4]
mov eax, esi
call fcn.1011d130
mov eax, esi
mov dword [ebp - 0x3c], esp
call fcn.1011d130
mov eax, esi
mov dword [ebp - 0x4c], esp
call fcn.1011d130
mov ecx, dword [ebp + 8]
mov eax, esp
push eax
push dword [ebp - 0x4c]
mov dword [ebp - 0xa8], eax
lea eax, [ecx + 0x78]
push eax
push dword [ebp - 0x54]
lea eax, [ebp - 0x84]
push dword [ecx + 0x40]
push eax
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0xc4]
push dword [ecx + 0x34]
push dword [ecx + 0x2c]
push dword [ebp - 0x34]
push dword [eax + 0x38]
push dword [ecx + 0x3c]
push dword [ebp - 0x3c]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x58]
push dword [ebp - 0x20]
push dword [ebp - 0x5c]
call fcn.101c5410
add esp, 0x58
mov eax, esi
fstp dword [ebp - 0xd0]
call fcn.1011d130
mov esi, esp
mov dword [ebp - 0x44], esi
test edi, edi
je 0x101c369e
mov eax, 0x5000
movss xmm0, dword [ebp - 0x7c]
cdq
mov ecx, 0x50
idiv dword [ebp - 0x30]
push dword [ebp - 0x4c]
add eax, 2
push dword [ebp - 0x94]
cmp eax, ecx
push ecx
movss dword [esp], xmm0
cmovl eax, ecx
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x6c]
push ecx
push dword [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x34]
push dword [ebp - 0x88]
push dword [ebp - 0x18]
call fcn.101c76a0
mov edi, dword [ebp - 0xc]
add esp, 0x2c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x88]
mov edx, eax
cmp eax, edi
jge 0x101c36fe
nop
mov ecx, dword [esi + eax*4 - 4]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x101c3690
jmp 0x101c36fe
cmp dword [ebp - 0x10], 0
je 0x101c36e4
cmp dword [ebp - 0x38], 0
je 0x101c36b8
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x101c36f7
mov eax, 1
jmp 0x101c36ee
cmp dword [ebp - 0x30], 0xf
jge 0x101c36e4
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb8], 2
je 0x101c36e4
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x101c36dc
mov ecx, edi
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
jmp 0x101c36fe
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x101c36f7
mov eax, dword [ebp - 0x34]
mov ecx, edi
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x20], 0
mov esi, dword [ebp - 0x1c]
mov eax, esi
imul eax, dword [ebp - 8]
shl eax, 2
call fcn.1011d130
movss xmm2, dword [0x10209410]
lea eax, [esi*4]
mov esi, dword [ebp - 0x10]
xor ecx, ecx
movss xmm3, dword [0x1020f840]
movss xmm4, dword [0x10211544]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x54], esp
mov dword [ebp - 0x4c], ecx
lea eax, [eax + esi*4]
mov dword [ebp - 0x64], eax
cmp esi, edi
jge 0x101c37a2
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xc]
sub esi, dword [ebp - 0xc0]
sub edi, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x10]
movss xmm1, dword [eax]
lea ecx, [eax + edi]
movaps xmm0, xmm1
subss xmm0, dword [esi + ecx]
andps xmm0, xmm2
comiss xmm3, xmm0
jbe 0x101c378b
movss xmm0, dword [ecx]
mulss xmm0, xmm4
subss xmm1, xmm0
movss dword [eax], xmm1
add eax, 4
sub edx, 1
jne 0x101c3764
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
inc ecx
add eax, edx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x64], eax
cmp ecx, dword [ebp - 8]
jl 0x101c3748
mov ecx, dword [ebp + 8]
xor eax, eax
push dword [ecx + 0x40]
cmp dword [ecx + 0x18], 4
push dword [ecx + 0x38]
setge al
push eax
lea eax, [ecx + 0x54]
push eax
push dword [ecx + 0xc]
push dword [ebp - 0xa0]
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp + 0x1c]
push dword [ebp - 0x54]
push dword [ebp - 0x9c]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x88]
push edi
push esi
push dword [ebp - 0x18]
call fcn.101cc890
mov ecx, dword [ebp + 0x1c]
xor edx, edx
add esp, 0x44
bsr eax, dword [ecx + 0x1c]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 0x14]
sub edi, eax
shl esi, 3
cmp dword [ebp - 0x34], edx
sete dl
cmp dword [ebp - 0x14], 0
lea ecx, [edi - 1]
lea edx, [edx*2 + 2]
jle 0x101c3833
lea eax, [edx + edi]
cmp eax, esi
ja 0x101c3833
mov eax, 1
jmp 0x101c3835
xor eax, eax
sub esi, eax
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x4c], esi
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x24], eax
mov eax, esi
cmp eax, dword [ebp - 0xc]
mov eax, edi
jge 0x101c38a7
mov eax, dword [ebp - 0x34]
neg eax
sbb eax, eax
add eax, 5
mov dword [ebp - 0x64], eax
nop dword [eax]
lea eax, [edx + ecx]
cmp eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
ja 0x101c3898
mov eax, dword [eax + esi*4]
push edx
xor eax, edi
mov edi, dword [ebp + 0x1c]
push eax
push edi
call fcn.101d2410
bsr eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x14]
add esp, 0xc
sub ecx, eax
mov eax, dword [ebp - 0x44]
dec ecx
mov edi, dword [eax + esi*4]
mov eax, dword [ebp - 0x24]
or eax, edi
mov dword [ebp - 0x24], eax
jmp 0x101c389e
mov dword [eax + esi*4], edi
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x64]
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x101c3860
cmp dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x14]
je 0x101c38de
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
lea ecx, [ecx + esi*2]
mov al, byte [eax + ecx*4 + 0x102d1094]
cmp al, byte [edx + ecx*4 + 0x102d1096]
je 0x101c38de
push 1
push dword [ebp - 0x20]
push dword [ebp + 0x1c]
call fcn.101d2410
mov edx, dword [ebp - 0x20]
add esp, 0xc
jmp 0x101c38e0
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
cmp ecx, edi
jge 0x101c3913
mov eax, dword [ebp - 0x34]
lea eax, [eax + esi*2]
mov esi, dword [ebp - 0x44]
lea edx, [edx + eax*2]
nop word [eax + eax]
mov eax, dword [esi + ecx*4]
movsx eax, byte [eax + edx*2 + 0x102d1094]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x101c3900
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
bsr eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x14]
sub ecx, eax
add ecx, 3
cmp ecx, dword [ebp - 0x9c]
jg 0x101c395b
cmp dword [esi + 0x40], 0
je 0x101c3c6a
mov dword [esi + 0x64], 0
mov dword [esi + 0x50], 2
mov eax, 2
push 5
push 0x102d26b4
push eax
push edi
call fcn.101d26c0
add esp, 0x10
cmp dword [esi + 0x40], 0
je 0x101c397f
mov eax, 0x55555556
mov ecx, 8
imul dword [ebp - 0x30]
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
call fcn.1011d130
mov eax, esp
push dword [ebp - 8]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call fcn.101b4300
push edi
mov dword [ebp - 0xb0], 6
mov dword [ebp - 0x24], 0
call fcn.101cebb0
mov edi, eax
add esp, 0x14
mov eax, dword [ebp - 0x10]
mov esi, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x64], esi
cmp eax, dword [ebp - 0xc]
jge 0x101c3b07
mov edx, dword [ebp - 0x3c]
mov edi, 0x30
lea ecx, [edx + eax*4]
mov eax, dword [ebp - 0xa8]
sub eax, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xb8], eax
nop dword [eax]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x14]
movsx edx, word [eax + esi*2 + 2]
movsx eax, word [eax + esi*2]
sub edx, eax
imul edx, dword [ebp - 8]
shl edx, cl
cmp edx, 0x30
mov esi, edx
cmovl esi, edi
mov edi, dword [ebp - 0x9c]
lea eax, [edx*8]
cmp eax, esi
cmovl esi, eax
lea edi, [edi*8]
mov eax, dword [ebp - 0x20]
xor edx, edx
sub edi, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0xa0], esi
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x4c], ecx
lea eax, [eax + esi*8]
cmp eax, edi
jge 0x101c3ae4
nop dword [eax + eax]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0xb8]
cmp edx, dword [esi + eax]
jge 0x101c3ac6
mov esi, dword [eax]
xor eax, eax
push dword [ebp - 0x38]
cmp ecx, esi
setl al
push eax
push dword [ebp + 0x1c]
call fcn.101d2410
push dword [ebp + 0x1c]
call fcn.101cebb0
mov ecx, dword [ebp - 0x4c]
add esp, 0x10
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x20], eax
cmp ecx, esi
jge 0x101c3ac6
mov eax, dword [ebp - 0xa0]
inc ecx
add dword [ebp - 0x24], eax
add edx, eax
sub edi, eax
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x20]
add eax, 8
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x4c], ecx
cmp eax, edi
jl 0x101c3a60
test ecx, ecx
je 0x101c3ae4
mov eax, dword [ebp - 0xb0]
dec eax
mov esi, eax
cmp eax, 2
mov eax, 2
cmovl esi, eax
mov dword [ebp - 0xb0], esi
mov eax, dword [ebp - 0x30]
mov edi, 0x30
mov esi, dword [ebp - 0x64]
inc esi
mov dword [ebp - 0x64], esi
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x30], eax
cmp esi, dword [ebp - 0xc]
jl 0x101c39f0
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 8], 2
jne 0x101c3d26
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x101c3c08
mov eax, dword [ebp - 0x18]
movss xmm6, dword [0x102d25f4]
movaps xmm4, xmm6
mov edx, dword [eax + 0x20]
xor eax, eax
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x38], eax
lea edi, [edx + 2]
nop dword [eax + eax]
movsx esi, word [edi]
movsx edx, word [eax + edx]
shl esi, cl
shl edx, cl
cmp edx, esi
jge 0x101c3ba6
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
add eax, edx
movss xmm5, dword [0x10209410]
lea eax, [ecx + eax*4]
movss xmm2, dword [ecx + edx*4]
inc edx
movss xmm3, dword [eax]
movaps xmm0, xmm2
movaps xmm1, xmm3
andps xmm0, xmm5
andps xmm1, xmm5
add eax, 4
addss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm3
addss xmm3, xmm2
addss xmm6, xmm1
andps xmm0, xmm5
andps xmm3, xmm5
addss xmm0, xmm3
addss xmm4, xmm0
cmp edx, esi
jl 0x101c3b62
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xb8]
add eax, 2
add edi, 2
mov dword [ebp - 0x38], eax
cmp eax, 0x1a
jl 0x101c3b40
mov eax, dword [ebp - 0x18]
inc ecx
mulss xmm4, dword [0x102d2954]
mov edi, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
movsx edx, word [eax + 0x1a]
xor eax, eax
shl edx, cl
cmp dword [ebp - 0x14], 1
setg al
movd xmm0, edx
cvtdq2ps xmm0, xmm0
lea eax, [eax*8 + 5]
add eax, edx
mulss xmm0, xmm6
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
comiss xmm1, xmm0
seta al
mov dword [ebp - 0xc8], eax
mov esi, dword [ebp + 8]
mov eax, 0x10624dd3
imul dword [ebp - 0xa4]
push dword [esi + 0xe8]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
push 0x15
push 0x102d2798
push 0x102d2740
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
call fcn.101c9c90
mov edx, eax
add esp, 0x14
cmp dword [ebp - 0x10], edx
mov ecx, edx
mov eax, dword [ebp - 0xc]
cmovg ecx, dword [ebp - 0x10]
cmp eax, ecx
jge 0x101c3d17
mov edx, eax
mov dword [esi + 0xe8], edx
jmp 0x101c3d2f
cmp dword [ebp - 0x10], 0
je 0x101c3c9f
cmp dword [esi + 0x18], 0
jne 0x101c3c84
mov dword [esi + 0x50], 0
xor eax, eax
jmp 0x101c394a
cmp dword [ebp - 0x34], 0
jne 0x101c393e
mov dword [esi + 0x50], 3
mov eax, 3
jmp 0x101c394a
cmp dword [ebp - 0x28], 0
jne 0x101c3cff
cmp dword [esi + 0x18], 3
jl 0x101c3cff
mov ecx, dword [ebp - 8]
lea eax, [ecx + ecx*4]
add eax, eax
cmp dword [ebp - 0xa0], eax
jl 0x101c3cff
push dword [ebp - 0xa8]
xor eax, eax
push dword [ebp - 0xb0]
cmp dword [ebp - 0xb8], eax
push ecx
push dword [ebp - 0x88]
setne al
push eax
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x50]
lea eax, [esi + 0x58]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x18]
call fcn.101cc1f0
add esp, 0x2c
mov dword [esi + 0x50], eax
jmp 0x101c394a
cmp dword [esi + 0x18], 0
jne 0x101c393e
mov dword [esi + 0x50], 0
xor eax, eax
jmp 0x101c394a
cmp dword [ebp - 0x10], edx
cmovg edx, dword [ebp - 0x10]
mov dword [esi + 0xe8], edx
jmp 0x101c3d2f
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xe8]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x94], 5
lea ecx, [eax*8]
sub ecx, dword [ebp - 0x24]
lea eax, [edi + 0x30]
cmp eax, ecx
jg 0x101c3de9
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
jg 0x101c3db8
cmp dword [ecx + 0x40], 0
jne 0x101c3db8
push dword [ecx + 0x48]
movss xmm0, dword [ebp - 0x8c]
lea eax, [ecx + 0xe4]
push dword [ebp - 0xa4]
push ecx
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0x7c]
push edx
push ecx
movss dword [esp], xmm0
push eax
lea eax, [ecx + 0x78]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 0x5c]
push dword [ebp - 0x70]
push dword [ebp - 0x18]
call fcn.101c1f30
add esp, 0x38
mov dword [ebp - 0x94], eax
mov esi, eax
jmp 0x101c3dcd
mov esi, 5
mov dword [ecx + 0xe4], 0
mov dword [ebp - 0x94], esi
push 7
push 0x102d26a8
push esi
mov esi, dword [ebp + 0x1c]
push esi
call fcn.101d26c0
push esi
call fcn.101cebb0
add esp, 0x14
mov edi, eax
mov esi, dword [ebp - 0x80]
test esi, esi
jle 0x101c409c
mov eax, dword [ebp - 0x18]
mov ecx, 3
sub ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, 0x4fb
sar eax, cl
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
cmovge ecx, eax
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xb8], ecx
jne 0x101c3e36
lea eax, [eax + eax*4]
shl eax, 6
sub esi, eax
sub esi, 0xa0
jmp 0x101c3e46
lea ecx, [eax + eax*8]
xor eax, eax
shl ecx, 3
sub esi, ecx
add esi, 0xffffffe0
cmovs esi, eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
test edx, edx
je 0x101c3e60
mov eax, dword [ecx + 0xd8]
mov ecx, dword [ebp - 0x38]
sar eax, cl
mov ecx, dword [ebp + 8]
add esi, eax
cmp dword [ebp - 0x10], 0
jne 0x101c3f03
movss xmm0, dword [ebp - 0xb4]
sub esp, 8
xor eax, eax
cmp dword [ecx + 0xec], eax
movss dword [esp + 4], xmm0
setne al
movss xmm0, dword [ebp - 0x60]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0xd0]
push eax
push dword [ecx + 0x40]
lea eax, [ecx + 0x78]
push ecx
movss dword [esp], xmm0
push dword [ebp - 0xbc]
movss xmm0, dword [ebp - 0x7c]
push ecx
movss dword [esp], xmm0
push dword [ebp - 0x84]
movss xmm0, dword [ecx + 0xe4]
push ecx
movss dword [esp], xmm0
push edx
push dword [ecx + 0xe8]
push dword [ebp - 8]
push dword [ecx + 0x5c]
push dword [ebp - 0xa4]
push dword [ebp - 0x14]
push esi
push eax
push dword [ebp - 0x18]
call fcn.101c5170
mov ecx, dword [ebp - 0x24]
add esp, 0x48
add ecx, 0x3f
add ecx, edi
sar ecx, 6
lea esi, [edi + eax]
add ecx, 2
jmp 0x101c3f94
cmp dword [ecx + 0xbc], 0x64
jge 0x101c3f1f
mov ecx, 3
mov edx, 0x60
sub ecx, dword [ebp - 0x14]
sar edx, cl
add edx, esi
jmp 0x101c3f34
mov edx, esi
jle 0x101c3f34
mov ecx, 3
mov eax, 0x90
sub ecx, dword [ebp - 0x14]
sar eax, cl
sub edx, eax
movss xmm1, dword [ebp - 0x7c]
movaps xmm0, xmm1
subss xmm0, dword [0x10211544]
mulss xmm0, dword [0x102de67c]
cvttss2si eax, xmm0
add edx, eax
mov eax, dword [ebp - 0x24]
comiss xmm1, dword [0x102d2950]
lea ecx, [eax + 0x3f]
jbe 0x101c3f73
cmp edx, 0x190
mov esi, 0x190
cmovg esi, edx
add esi, edi
jmp 0x101c3f76
lea esi, [edx + edi]
mov edx, dword [ebp - 0x98]
add ecx, edi
add edx, 0x167
sar ecx, 6
add eax, edx
add ecx, 2
sar eax, 6
cmp ecx, eax
cmovle ecx, eax
mov edi, dword [ebp - 0xb8]
lea eax, [esi + 0x20]
sar eax, 6
cmp ecx, eax
cmovg eax, ecx
cmp edi, eax
cmovl eax, edi
sub esi, dword [ebp - 0x80]
mov ecx, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x90]
shl ecx, 6
mov dword [ebp - 0x84], esi
test eax, eax
je 0x101c3fd1
mov dword [ebp - 0x2c], 2
mov ecx, 0x80
mov edx, dword [ebp + 8]
xor esi, esi
test eax, eax
cmove esi, dword [ebp - 0x84]
mov eax, dword [edx + 0xdc]
cmp eax, 0x3ca
jge 0x101c400b
movss xmm1, dword [0x1020f864]
inc eax
mov dword [edx + 0xdc], eax
add eax, 0x14
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x101c4013
movss xmm1, dword [0x10210e78]
cmp dword [edx + 0x34], 0
je 0x101c4085
sub ecx, dword [ebp - 0x80]
mov eax, dword [edx + 0xd0]
add eax, ecx
mov ecx, dword [ebp - 0x38]
shl esi, cl
mov ecx, dword [ebp + 8]
mov dword [edx + 0xd0], eax
mov edx, dword [edx + 0xd4]
sub esi, edx
sub esi, dword [ecx + 0xd8]
movd xmm0, esi
mov esi, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si ecx, xmm0
add ecx, edx
mov dword [esi + 0xd4], ecx
neg ecx
mov dword [esi + 0xd8], ecx
test eax, eax
jns 0x101c4085
cdq
xor ecx, ecx
and edx, 0x3f
mov dword [esi + 0xd0], ecx
add eax, edx
sar eax, 6
neg eax
cmp dword [ebp - 0x90], ecx
cmovne eax, ecx
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp edi, eax
cmovl eax, edi
push eax
push dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
call fcn.101d2900
add esp, 8
mov edi, dword [ebp - 0x1c]
lea eax, [edi*4]
call fcn.1011d130
mov esi, esp
lea eax, [edi*4]
mov dword [ebp - 0x84], esi
call fcn.1011d130
lea eax, [edi*4]
mov dword [ebp - 0xbc], esp
call fcn.1011d130
mov dword [ebp - 0x38], esp
push dword [ebp + 0x1c]
call fcn.101cebb0
mov edx, dword [ebp - 0x2c]
add esp, 4
shl edx, 6
sub edx, eax
dec edx
cmp dword [ebp - 0x34], 0
je 0x101c4108
mov eax, dword [ebp - 0x14]
cmp eax, 2
jl 0x101c4108
lea eax, [eax*8 + 0x10]
cmp edx, eax
jl 0x101c4108
mov eax, 8
jmp 0x101c410a
xor eax, eax
mov edi, dword [ebp + 8]
sub edx, eax
mov ecx, dword [ebp - 0xc]
dec ecx
mov dword [ebp - 0x98], eax
cmp dword [edi + 0x78], 0
je 0x101c4180
mov ecx, dword [ebp - 8]
imul eax, ecx, 0x7d00
cmp dword [ebp - 0xa4], eax
jge 0x101c4137
mov ecx, 0xd
jmp 0x101c4175
imul eax, ecx, 0xbb80
cmp dword [ebp - 0xa4], eax
jge 0x101c414c
mov ecx, 0x10
jmp 0x101c4175
imul eax, ecx, 0xea60
cmp dword [ebp - 0xa4], eax
jge 0x101c4161
mov ecx, 0x12
jmp 0x101c4175
imul eax, ecx, 0x13880
xor ecx, ecx
cmp dword [ebp - 0xa4], eax
setge cl
add ecx, 0x13
mov eax, dword [edi + 0x98]
cmp eax, ecx
cmovg ecx, eax
cmp dword [edi + 0x40], 0
mov eax, 1
cmovne ecx, eax
mov eax, edi
push ecx
push dword [edi + 0x5c]
lea ecx, [ebp - 0xd4]
add eax, 0xe8
push 1
push dword [ebp + 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 8]
push dword [ebp - 0x38]
push esi
push dword [ebp - 0xbc]
push ecx
push edx
lea ecx, [ebp - 0xc8]
push ecx
push eax
push dword [ebp - 0x94]
push dword [ebp - 0xa8]
push dword [ebp - 0x3c]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.101cf890
mov esi, eax
add esp, 0x4c
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x101c41fd
lea edx, [eax - 1]
mov ecx, esi
cmp edx, esi
cmovg ecx, edx
inc eax
cmp eax, ecx
jl 0x101c41ff
cmp edx, esi
mov eax, esi
cmovg eax, edx
jmp 0x101c41ff
mov eax, esi
push dword [ebp - 8]
mov dword [edi + 0x5c], eax
push dword [ebp + 0x1c]
mov edi, dword [ebp - 0x84]
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.101cd1c0
mov eax, dword [ebp - 0x1c]
add esp, 0x20
imul eax, dword [ebp - 8]
call fcn.1011d130
cmp dword [ebp - 8], 2
mov edx, esp
jne 0x101c4245
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
lea ecx, [eax + ecx*4]
jmp 0x101c4247
xor ecx, ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
push dword [eax + 0x48]
push dword [eax + 0x18]
add eax, 0x4c
push eax
mov eax, dword [ebp - 0x2c]
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x98]
push dword [ebp + 0x1c]
shl eax, 6
push dword [ebp - 0xd4]
sub eax, esi
push eax
push dword [ebp - 0x44]
mov eax, dword [ebp + 8]
push dword [eax + 0xe8]
push dword [ebp - 0xc8]
push dword [eax + 0x50]
push dword [ebp - 0x28]
push dword [ebp - 0xbc]
push dword [ebp - 0x74]
push edx
push ecx
push dword [ebp - 0x70]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push 1
call fcn.101ca380
add esp, 0x5c
test esi, esi
je 0x101c42ca
mov ecx, dword [ebp + 8]
xor eax, eax
push 1
cmp dword [ecx + 0x74], 2
setl al
push eax
push dword [ebp + 0x1c]
call fcn.101d2440
add esp, 0xc
mov edx, dword [ebp + 0x1c]
push dword [ebp - 8]
mov eax, dword [ebp - 0x2c]
push edx
bsr ecx, dword [edx + 0x1c]
shl eax, 3
sub eax, dword [edx + 0x14]
inc ecx
add eax, ecx
push eax
push dword [ebp - 0x38]
push edi
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.101cd090
mov edi, dword [ebp - 0x1c]
mov eax, edi
imul eax, dword [ebp - 0x40]
shl eax, 2
push eax
push 0
push dword [ebp - 0xc0]
call fcn.1011e7c0
mov ecx, dword [ebp - 0xc0]
lea eax, [edi*4]
mov edx, dword [ebp - 0x10]
add esp, 0x34
movss xmm1, dword [0x1020f894]
xor esi, esi
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x84], eax
lea edi, [ecx + edx*4]
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
jge 0x101c43a1
mov edx, dword [ebp - 0x54]
mov eax, edi
sub edx, dword [ebp - 0xc0]
sub ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x90]
nop dword [eax + eax]
movss xmm0, dword [0x1020dfd0]
minss xmm0, dword [eax + edx]
comiss xmm1, xmm0
jbe 0x101c4375
movaps xmm0, xmm1
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x101c4360
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x90], esi
mov esi, dword [ebp - 0x98]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x84]
inc esi
add edi, eax
mov dword [ebp - 0x98], esi
cmp esi, dword [ebp - 8]
jl 0x101c4343
cmp dword [ebp - 0x90], 0
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
je 0x101c43d1
mov ecx, esi
imul ecx, edx
test ecx, ecx
jle 0x101c43d1
mov edi, dword [ebp - 0x58]
mov eax, 0xc1e00000
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x68]
movss xmm0, dword [ebp - 0x78]
mov edi, dword [ebp - 0x58]
mov dword [eax + 0x68], ecx
mov ecx, dword [ebp - 0x48]
movss dword [eax + 0x6c], xmm0
mov dword [eax + 0x70], ecx
mov eax, dword [ebp - 0x40]
cmp eax, 2
jne 0x101c4412
cmp edx, 1
jne 0x101c4412
lea eax, [esi*4]
push eax
lea eax, [edi + esi*4]
push edi
push eax
call fcn.1011e240
mov eax, dword [ebp - 0x40]
add esp, 0xc
imul esi, eax
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x68], esi
jne 0x101c4454
mov edx, dword [ebp - 0x50]
lea eax, [esi*4]
push eax
mov eax, dword [ebp - 0xac]
push edx
add eax, edx
push eax
call fcn.1011e240
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x40]
shl eax, 2
push eax
push edi
push dword [ebp - 0x50]
call fcn.1011e240
add esp, 0x18
jmp 0x101c45bb
xor edx, edx
test esi, esi
jle 0x101c45bb
cmp esi, 0x10
jb 0x101c44fe
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffffc
lea ecx, [ecx + esi*4]
dec esi
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x68]
cmp dword [ebp - 0x50], eax
ja 0x101c4484
cmp ecx, edi
jae 0x101c44fe
mov eax, esi
and eax, 0x8000000f
jns 0x101c4492
dec eax
or eax, 0xfffffff0
inc eax
mov ecx, esi
add edi, 0x30
sub ecx, eax
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x50]
add ecx, 0x10
movups xmm0, xmmword [edi - 0x30]
mov eax, ecx
add edx, 0x10
movups xmm1, xmmword [ecx - 0x10]
sub eax, dword [ebp - 0xac]
lea edi, [edi + 0x40]
minps xmm1, xmm0
movups xmmword [ecx - 0x10], xmm1
movups xmm0, xmmword [eax]
mov eax, edx
movups xmm1, xmmword [ecx]
minps xmm1, xmm0
movups xmmword [ecx], xmm1
movups xmm0, xmmword [edi - 0x50]
movups xmm1, xmmword [ecx + 0x10]
minps xmm1, xmm0
movups xmmword [ecx + 0x10], xmm1
movups xmm0, xmmword [edi - 0x40]
movups xmm1, xmmword [ecx + 0x20]
minps xmm1, xmm0
movups xmmword [ecx + 0x20], xmm1
add ecx, 0x40
cmp edx, dword [ebp - 0x78]
jl 0x101c44a2
mov esi, dword [ebp - 0x68]
cmp eax, esi
jge 0x101c45bb
mov eax, esi
sub eax, edx
cmp eax, 4
jl 0x101c4595
mov edi, dword [ebp - 0x58]
mov eax, esi
mov ecx, dword [ebp - 0x50]
sub eax, edx
sub eax, 4
add edi, 0xc
add ecx, 4
shr eax, 2
inc eax
mov dword [ebp - 0x78], eax
mov esi, eax
lea edi, [edi + edx*4]
lea ecx, [ecx + edx*4]
lea edx, [edx + eax*4]
mov dword [ebp - 0x84], edx
mov edx, dword [ebp - 0xac]
nop dword [eax]
movss xmm0, dword [ecx - 4]
lea edi, [edi + 0x10]
minss xmm0, dword [edi - 0x1c]
mov eax, ecx
sub eax, edx
movss dword [ecx - 4], xmm0
movss xmm0, dword [ecx]
minss xmm0, dword [eax]
movss dword [ecx], xmm0
movss xmm0, dword [ecx + 4]
minss xmm0, dword [edi - 0x14]
movss dword [ecx + 4], xmm0
movss xmm0, dword [ecx + 8]
minss xmm0, dword [edi - 0x10]
movss dword [ecx + 8], xmm0
add ecx, 0x10
sub esi, 1
jne 0x101c4540
mov edx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x68]
cmp edx, esi
jge 0x101c45bb
mov eax, dword [ebp - 0x50]
sub esi, edx
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0xac]
movss xmm0, dword [ecx]
mov eax, ecx
sub eax, edx
minss xmm0, dword [eax]
movss dword [ecx], xmm0
add ecx, 4
sub esi, 1
jne 0x101c45a3
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov edi, dword [ebp - 0xac]
mov dword [ebp - 0xb4], edx
mov edx, dword [ebp - 0x1c]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x98], eax
dec edx
mov eax, dword [ebp - 0x50]
add eax, edi
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
lea esi, [edi + eax]
lea edi, [esi + ecx*4]
lea ecx, [esi + edx*4]
mov dword [ebp - 0x60], edi
mov edx, dword [ebp - 0xac]
mov esi, dword [ebp - 0x58]
add edx, eax
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x10]
dec ecx
lea ecx, [edx + ecx*4]
mov dword [ebp - 0x80], ecx
mov ecx, eax
mov eax, dword [ebp - 0x30]
sub ecx, edx
sub esi, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x68], esi
nop
xor edx, edx
cmp dword [ebp - 0x10], edx
jle 0x101c4756
cmp dword [ebp - 0x10], 4
jb 0x101c4705
mov edi, dword [ebp - 0x30]
lea eax, [ecx + edi]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x48], eax
ja 0x101c4653
add eax, ecx
cmp eax, edi
jae 0x101c4705
mov eax, dword [ebp - 0x80]
lea edi, [esi + eax]
cmp dword [ebp - 0x48], edi
mov dword [ebp - 0x78], edi
mov edi, dword [ebp - 0x30]
ja 0x101c466e
add ecx, eax
lea eax, [esi + edi]
cmp ecx, eax
jae 0x101c4705
cmp edi, dword [ebp - 0x78]
ja 0x101c467f
lea eax, [esi + edi]
cmp dword [ebp - 0x80], eax
jae 0x101c4705
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and eax, 0x80000003
jns 0x101c4690
dec eax
or eax, 0xfffffffc
inc eax
sub ecx, eax
add edx, 4
cmp edx, ecx
jl 0x101c4692
mov edi, dword [ebp - 0x28]
lea eax, [ecx + 3]
mov dword [ebp - 0x84], edx
mov esi, dword [ebp - 0x50]
cdq
and edx, 3
mov dword [ebp - 0x78], 0xc1e00000
add edx, eax
xor eax, eax
sar edx, 2
shl edx, 4
mov dword [ebp - 0x48], edx
mov ecx, edx
mov edx, dword [ebp - 0x58]
shr ecx, 2
lea edi, [edx + edi*4]
mov edx, dword [ebp - 0xac]
add edx, dword [ebp - 0x50]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x78]
shr ecx, 2
lea edi, [edx + edi*4]
mov edx, dword [ebp - 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x48]
lea edi, [esi + edx*4]
mov esi, dword [ebp - 0x68]
shr ecx, 2
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x84]
mov edx, eax
cmp eax, dword [ebp - 0x10]
jge 0x101c4750
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0xac]
add eax, edx
add edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
sub esi, edi
sub ecx, edi
mov dword [ebp - 0x68], esi
lea eax, [edi + eax*4]
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x10]
sub edi, edx
nop dword [eax + eax]
mov dword [eax + esi], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0xc1e00000
mov dword [ecx + eax - 4], 0xc1e00000
sub edi, 1
jne 0x101c4730
jmp 0x101c4753
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
cmp edx, edi
mov edi, dword [ebp - 0x60]
jge 0x101c4867
cmp dword [ebp - 0x98], 4
jb 0x101c481d
lea eax, [ecx + edi]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x48], eax
ja 0x101c478f
add eax, ecx
cmp eax, edi
jae 0x101c481d
mov eax, dword [ebp - 0x7c]
lea edi, [esi + eax]
cmp dword [ebp - 0x48], edi
mov dword [ebp - 0x78], edi
mov edi, dword [ebp - 0x60]
ja 0x101c47aa
add ecx, eax
lea eax, [esi + edi]
cmp ecx, eax
jae 0x101c481d
cmp edi, dword [ebp - 0x78]
ja 0x101c47b7
lea eax, [esi + edi]
cmp dword [ebp - 0x7c], eax
jae 0x101c481d
mov eax, dword [ebp - 0x98]
and eax, 0x80000003
jns 0x101c47c9
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
nop
add edx, 4
cmp edx, ecx
jl 0x101c47d0
sub ecx, dword [ebp - 0xc]
add edi, esi
mov dword [ebp - 0x78], edx
lea eax, [ecx + 3]
cdq
and edx, 3
add edx, eax
xor eax, eax
sar edx, 2
shl edx, 4
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x60]
mov ecx, edx
shr ecx, 2
mov eax, 0xc1e00000
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x60]
add edi, dword [ebp - 0x20]
shr edx, 2
mov ecx, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x78]
mov edx, eax
cmp eax, dword [ebp - 0x1c]
jge 0x101c4861
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0xac]
add eax, edx
add edi, dword [ebp - 0x50]
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x50]
sub esi, edi
sub ecx, edi
mov dword [ebp - 0x68], esi
lea eax, [edi + eax*4]
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x1c]
sub edi, edx
mov dword [eax + esi], 0
lea eax, [eax + 4]
mov dword [eax - 4], 0xc1e00000
mov dword [ecx + eax - 4], 0xc1e00000
sub edi, 1
jne 0x101c4843
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x1c]
mov ecx, edx
add dword [ebp - 0x28], edx
inc dword [ebp - 0xb4]
lea edx, [ecx*4]
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0x80], edx
add eax, edx
add dword [ebp - 0x7c], edx
add edi, edx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x60], edi
cmp edx, dword [ebp - 0x40]
jl 0x101c4620
cmp dword [ebp - 0x34], 0
jne 0x101c48b9
cmp dword [ebp - 0xcc], 0
jne 0x101c48b9
mov eax, dword [ebp + 8]
mov dword [eax + 0x74], 0
jmp 0x101c48bf
mov eax, dword [ebp + 8]
inc dword [eax + 0x74]
mov esi, dword [ebp + 0x1c]
push esi
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x4c], ecx
call fcn.101d2580
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp dword [esi + 0x2c], 0
mov ecx, 0xfffffffd
cmovne eax, ecx
jmp 0x101c48e5
or eax, 0xffffffff
lea esp, [ebp - 0x10c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011bad5
mov esp, ebp
pop ebp
ret