Function at 0x1013df40
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 [0x10259b00]
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 0x101404c2
cmp dword [ebp + 0xc], 0
je 0x101404c2
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 0x1013e023
mov eax, dword [ebp - 0x18]
mov edi, dword [eax + 0x2c]
nop
mov eax, edi
shl eax, cl
cmp eax, esi
je 0x1013e01d
inc ecx
cmp ecx, edx
jle 0x1013e010
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x14], ecx
cmp ecx, edx
jg 0x101404c2
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 0x1013e0a7
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x98], 1
jmp 0x1013e0cc
push edi
call fcn.1014a790
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 0x1013e0ef
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.1012fae0
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 0x1013e135
mov edi, dword [ecx + 0x28]
cmp edi, 0xffffffff
je 0x1013e135
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 0x1013e1a6
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 0x1013e156
mov eax, dword [esi]
imul eax, ecx
add edx, eax
cmp edi, 0xffffffff
je 0x1013e1a0
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 0x1013e189
mov edx, 2
jmp 0x1013e18e
cmp edx, eax
cmovge edx, eax
push edx
push dword [ebp + 0x1c]
mov dword [ebp - 0x2c], edx
call fcn.1014e4f0
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 0x1013e1fe
sub edi, edx
cmp ecx, edi
cmovge ecx, edi
mov dword [ebp - 0xa4], ecx
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x1013e221
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x104]
push eax
call fcn.1014e310
lea edi, [ebp - 0x104]
add esp, 0xc
mov dword [ebp + 0x1c], edi
mov ecx, dword [ebp - 0x80]
test ecx, ecx
jle 0x1013e27c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
je 0x1013e27c
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 0x1013e27c
cmp edx, ecx
cmovg ecx, edx
cmp ecx, dword [ebp - 0xa0]
jge 0x1013e27c
lea eax, [ecx + esi]
mov dword [ebp - 0xa0], ecx
push eax
push edi
mov dword [ebp - 0x2c], eax
call fcn.1014e4f0
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.100a0ef0
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.10140600
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.10140600
mov ecx, dword [ebp + 8]
mov eax, 1
movss xmm1, dword [0x101f71fc]
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 0x1013e407
mov edi, dword [ebp + 0x1c]
push 0xf
push eax
push edi
call fcn.1014e000
mov esi, dword [ebp - 0x90]
add esp, 0xc
test esi, esi
je 0x1013e3be
cmp dword [ebp - 0x80], 0
jle 0x1013e3a1
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.1014e4f0
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 0x1013e413
comiss xmm2, dword [0x1023fd54]
jbe 0x1013e413
mov eax, 1
jmp 0x1013e415
mov dword [ebp - 0x90], 0
jmp 0x1013e3c3
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.101406c0
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 0x1013e3f1
mov ecx, dword [ebp - 0xa0]
mov edi, eax
cmp dword [edi + 0x40], 0
je 0x1013e464
cmp ecx, 3
jg 0x1013e471
mov eax, dword [ebp - 8]
lea eax, [eax + eax*2]
shl eax, 2
cmp ecx, eax
jle 0x1013e493
cmp dword [ebp - 0x10], 0
jne 0x1013e493
cmp dword [ebp - 0x90], 0
jne 0x1013e493
cmp dword [edi + 0x14], 0
jne 0x1013e493
cmp dword [edi + 0x18], 5
jl 0x1013e493
mov eax, 1
jmp 0x1013e495
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.10142db0
movss xmm0, dword [ebp - 0x44]
add esp, 0x30
movss xmm1, dword [0x10243d10]
comiss xmm0, xmm1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x68], ecx
movss dword [ebp - 0x78], xmm0
ja 0x1013e4f0
movss xmm0, dword [edi + 0x6c]
comiss xmm0, xmm1
jbe 0x1013e541
cmp dword [esi], 0
je 0x1013e507
movss xmm0, dword [edi + 0x7c]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [0x10223040]
jbe 0x1013e541
movd xmm1, dword [edi + 0x68]
cvtdq2pd xmm1, xmm1
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
movaps xmm0, xmm1
mulsd xmm0, qword [0x10243d40]
comisd xmm2, xmm0
ja 0x1013e537
mulsd xmm1, qword [0x10243d38]
comisd xmm1, xmm2
jbe 0x1013e541
mov dword [ebp - 0xbc], 1
test eax, eax
jne 0x1013e56f
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1013e5d5
mov eax, dword [ebp - 0x28]
add eax, 0x10
cmp eax, dword [ebp - 0x9c]
jg 0x1013e5d2
push 1
push 0
push dword [ebp + 0x1c]
call fcn.1014e000
add esp, 0xc
jmp 0x1013e5d2
push 1
push 1
push dword [ebp + 0x1c]
call fcn.1014e000
mov edi, dword [ebp - 0x68]
inc edi
bsr esi, edi
push 6
add esi, 0xfffffffc
push esi
push dword [ebp + 0x1c]
call fcn.1014e540
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.1014e030
push 3
push dword [ebp - 0x64]
lea eax, [edi - 1]
push esi
mov dword [ebp - 0x68], eax
call fcn.1014e030
push 2
push 0x10243a80
push dword [ebp - 0x48]
push esi
call fcn.1014e2b0
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 0x1013e64c
cmp dword [edi + 0x40], 0
jne 0x1013e64c
test eax, eax
je 0x1013e60d
cmp dword [ebp - 0x30], 0xf
jge 0x1013e60d
cmp dword [edi + 0xb8], 2
je 0x1013e60d
mov eax, 1
jmp 0x1013e60f
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.10143940
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 0x1013e67c
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 0x1013e67c
cmp dword [ebp - 0x34], 0
je 0x1013e68d
mov eax, dword [ebp - 0xb0]
mov esi, edx
mov dword [ebp - 0x28], eax
jmp 0x1013e68d
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.100a0ef0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], esp
shl eax, 2
call fcn.100a0ef0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], esp
shl eax, 2
call fcn.100a0ef0
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x5c], esp
je 0x1013e6d5
cmp esi, 8
jl 0x1013e6d5
mov esi, 1
jmp 0x1013e6d7
xor esi, esi
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 8]
mov dword [ebp - 0x4c], esi
shl eax, 2
call fcn.100a0ef0
mov dword [ebp - 0x20], esp
test esi, esi
je 0x1013e81b
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.10140ac0
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.101449b0
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.10148370
mov eax, dword [ebp - 8]
add esp, 0x18
test eax, eax
jle 0x1013e81e
mov ecx, dword [ebp - 0x1c]
xor edi, edi
movss xmm2, dword [0x1017d760]
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 0x1013e7cc
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 0x1013e7b0
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
jl 0x1013e7d0
jmp 0x1013e806
test ecx, ecx
jle 0x1013e809
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 0x1013e7f0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add edi, dword [ebp - 0x1c]
add esi, eax
sub dword [ebp - 0x44], 1
jne 0x1013e780
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.10140ac0
mov ecx, dword [ebp - 0x24]
add esp, 0x24
mov edi, esi
movss xmm0, dword [ecx]
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jp 0x1013e873
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1013e890
mov eax, dword [ebp - 0x6c]
movss xmm0, dword [ecx + eax*4]
ucomiss xmm0, xmm0
lahf
test ah, 0x44
jnp 0x1013e88d
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.1012fae0
mov ecx, dword [ebp - 0x24]
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x40], 2
jne 0x1013e8a7
cmp eax, 1
jne 0x1013e8a7
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.101449b0
mov edi, dword [ebp + 8]
add esp, 0x1c
movss xmm3, dword [0x102439b4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x74]
cmp dword [edi + 0x40], 0
je 0x1013e90f
mov eax, 2
cmp esi, eax
jle 0x1013e90f
movss xmm2, dword [0x101fcdf4]
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 0x1013e8f0
push dword [ebp - 8]
push dword [ebp - 0x5c]
push ecx
push esi
push dword [ebp - 0x88]
push dword [ebp - 0x18]
call fcn.10148370
mov eax, dword [ebp - 0x1c]
add esp, 0x18
imul eax, dword [ebp - 8]
shl eax, 2
call fcn.100a0ef0
mov ecx, esp
lea eax, [esi*4]
push eax
push 0
push ecx
mov dword [ebp - 0x54], ecx
call fcn.100a2020
movss xmm3, dword [0x101fcdfc]
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x1013ed92
cmp dword [edi + 0xec], 0
je 0x1013ed92
cmp dword [edi + 0x40], 0
jne 0x1013ed92
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 0x1013ea7d
movss xmm2, dword [0x10243710]
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x64], edi
xor edx, edx
test esi, esi
je 0x1013ea58
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 0x1013e9fc
comiss xmm1, xmm4
jbe 0x1013e9ff
mulss xmm1, dword [0x1017d760]
jmp 0x1013e9ff
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 0x1013e9e0
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 0x1013e9c2
test eax, eax
jg 0x1013eaa2
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.1012fae0
movss xmm3, dword [0x101fcdfc]
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 [0x101f7218]
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 [0x1021e148]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10243d58]
mulss xmm1, dword [0x1017d760]
minss xmm1, dword [0x10243cf4]
comiss xmm1, xmm0
movss dword [ebp - 0x8c], xmm1
ja 0x1013eb15
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 0x1013eb41
movsx eax, word [edx + 2]
lea edx, [edx + 2]
inc esi
cmp eax, edi
jl 0x1013eb35
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x64], edx
test ecx, ecx
je 0x1013ed6a
neg esi
cmp dword [ebp - 8], 2
jne 0x1013ebd0
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 0x1013ebba
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 0x1013eb80
jmp 0x1013ec1b
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 0x1013ec0a
subss xmm1, xmm3
inc edx
movss dword [eax], xmm1
movss xmm1, dword [ebp - 0x8c]
inc esi
add eax, 4
sub ecx, 1
jne 0x1013ebe0
cmp edx, 3
jl 0x1013ed6a
addss xmm5, xmm3
comiss xmm5, xmm4
jbe 0x1013ec58
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.100a2020
movss xmm5, dword [ebp - 0x60]
add esp, 0xc
jmp 0x1013ed6a
mov esi, dword [ebp - 0x44]
xor ecx, ecx
mov edi, dword [ebp - 0x54]
cmp esi, 0x10
jb 0x1013ecc8
movaps xmm2, xmmword [0x10243da0]
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 0x1013ec74
cmp ecx, esi
jge 0x1013ed6a
mov eax, esi
sub eax, ecx
cmp eax, 4
jl 0x1013ed50
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 0x1013ecf0
cmp ecx, esi
jge 0x1013ed6a
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 0x1013ed50
movss xmm0, dword [ebp - 0x8c]
addss xmm5, dword [0x1021e148]
mulss xmm0, dword [0x10220e38]
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 0x1013ef2e
xorps xmm3, xmm3
movss xmm1, dword [0x10243d70]
cmp dword [ebp - 0x28], edx
je 0x1013edc1
movd xmm2, dword [ebp - 0x14]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [0x1017d760]
jmp 0x1013edc4
xorps xmm2, xmm2
mov edx, dword [ebp - 0x10]
mov ecx, edx
mov esi, dword [ebp - 0xc]
cmp edx, esi
jge 0x1013eeca
cmp dword [ebp - 8], 2
movss xmm4, dword [0x101f71fc]
jne 0x1013ee1e
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 0x1013edf0
jmp 0x1013eeca
mov eax, esi
sub eax, edx
cmp eax, 4
jl 0x1013eea9
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 0x1013ee42
movss dword [ebp - 0x84], xmm3
cmp ecx, esi
jge 0x1013eeca
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 0x1013eeb0
mov eax, esi
movss xmm1, dword [edi + 0xf0]
sub eax, dword [ebp - 0x10]
movss xmm2, dword [0x102230c0]
movss dword [ebp - 0xb4], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm3, xmm0
movss xmm0, dword [0x10243d68]
subss xmm3, xmm1
maxss xmm0, xmm3
comiss xmm0, xmm2
ja 0x1013ef12
movaps xmm2, xmm0
movss dword [ebp - 0xb4], xmm0
mov edx, dword [edi + 0x40]
movaps xmm0, xmm2
mulss xmm0, dword [0x102439c0]
mov esi, edx
addss xmm0, xmm1
movss dword [edi + 0xf0], xmm0
cmp dword [ebp - 0x4c], 0
jne 0x1013ef4f
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.100a1aa0
add esp, 0xc
mov edx, esi
cmp dword [ebp - 0x14], 0
jle 0x1013f11e
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 0x1013f0fb
test esi, esi
jne 0x1013f0fb
cmp dword [edi + 0x18], 5
jl 0x1013f0fb
test edx, edx
jne 0x1013f0fb
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x1013f0fb
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.10142b00
add esp, 0x18
test eax, eax
je 0x1013f0f8
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.10140ac0
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.101449b0
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.10148370
mov ecx, dword [ebp - 8]
add esp, 0x18
test ecx, ecx
jle 0x1013f0eb
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 0x1013f09c
movd xmm1, dword [ebp - 0x14]
add ecx, 0xfffffffc
cvtdq2ps xmm1, xmm1
shr ecx, 2
mov eax, esi
inc ecx
mulss xmm1, dword [0x1017d760]
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 0x1013f080
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
jl 0x1013f0a0
jmp 0x1013f0d6
test ecx, ecx
jle 0x1013f0d9
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 [0x1017d760]
nop
movaps xmm0, xmm1
addss xmm0, dword [eax]
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x1013f0c0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
add edi, dword [ebp - 0x1c]
add esi, eax
sub dword [ebp - 0x4c], 1
jne 0x1013f050
mov edi, dword [ebp + 8]
movss xmm0, dword [0x1021e148]
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 0x1013f11e
push 3
push esi
push edx
call fcn.1014e000
add esp, 0xc
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 8]
imul eax, esi
shl eax, 2
call fcn.100a0ef0
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.10145dd0
mov eax, esi
add esp, 0x1c
shl eax, 4
sub eax, esi
cmp dword [ebp - 0x30], eax
jl 0x1013f178
cmp dword [ebp - 0x10], 0
jne 0x1013f178
cmp dword [edi + 0x18], 2
jl 0x1013f178
cmp dword [edi + 0x40], 0
jne 0x1013f178
mov edi, 1
jmp 0x1013f17a
xor edi, edi
mov eax, dword [ebp - 0x1c]
lea esi, [eax*4]
mov eax, esi
call fcn.100a0ef0
mov eax, esi
mov dword [ebp - 0x3c], esp
call fcn.100a0ef0
mov eax, esi
mov dword [ebp - 0x4c], esp
call fcn.100a0ef0
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.10140ff0
add esp, 0x58
mov eax, esi
fstp dword [ebp - 0xd0]
call fcn.100a0ef0
mov esi, esp
mov dword [ebp - 0x44], esi
test edi, edi
je 0x1013f27e
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.10143280
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 0x1013f2de
nop
mov ecx, dword [esi + eax*4 - 4]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x1013f270
jmp 0x1013f2de
cmp dword [ebp - 0x10], 0
je 0x1013f2c4
cmp dword [ebp - 0x38], 0
je 0x1013f298
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x1013f2d7
mov eax, 1
jmp 0x1013f2ce
cmp dword [ebp - 0x30], 0xf
jge 0x1013f2c4
mov eax, dword [ebp + 8]
cmp dword [eax + 0xb8], 2
je 0x1013f2c4
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x1013f2bc
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 0x1013f2de
mov edi, dword [ebp - 0xc]
test edi, edi
jle 0x1013f2d7
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.100a0ef0
movss xmm2, dword [0x10178b70]
lea eax, [esi*4]
mov esi, dword [ebp - 0x10]
xor ecx, ecx
movss xmm3, dword [0x102053f0]
movss xmm4, dword [0x101fcdfc]
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 0x1013f382
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 0x1013f36b
movss xmm0, dword [ecx]
mulss xmm0, xmm4
subss xmm1, xmm0
movss dword [eax], xmm1
add eax, 4
sub edx, 1
jne 0x1013f344
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 0x1013f328
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.10148470
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 0x1013f413
lea eax, [edx + edi]
cmp eax, esi
ja 0x1013f413
mov eax, 1
jmp 0x1013f415
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 0x1013f487
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 0x1013f478
mov eax, dword [eax + esi*4]
push edx
xor eax, edi
mov edi, dword [ebp + 0x1c]
push eax
push edi
call fcn.1014e000
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 0x1013f47e
mov dword [eax + esi*4], edi
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x64]
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x1013f440
cmp dword [ebp - 0x38], 0
mov esi, dword [ebp - 0x14]
je 0x1013f4be
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
lea ecx, [ecx + esi*2]
mov al, byte [eax + ecx*4 + 0x10242454]
cmp al, byte [edx + ecx*4 + 0x10242456]
je 0x1013f4be
push 1
push dword [ebp - 0x20]
push dword [ebp + 0x1c]
call fcn.1014e000
mov edx, dword [ebp - 0x20]
add esp, 0xc
jmp 0x1013f4c0
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
cmp ecx, edi
jge 0x1013f4f3
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 + 0x10242454]
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x1013f4e0
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 0x1013f53b
cmp dword [esi + 0x40], 0
je 0x1013f84a
mov dword [esi + 0x64], 0
mov dword [esi + 0x50], 2
mov eax, 2
push 5
push 0x10243a7c
push eax
push edi
call fcn.1014e2b0
add esp, 0x10
cmp dword [esi + 0x40], 0
je 0x1013f55f
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.100a0ef0
mov eax, esp
push dword [ebp - 8]
mov dword [ebp - 0xa8], eax
push dword [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call fcn.1012fee0
push edi
mov dword [ebp - 0xb0], 6
mov dword [ebp - 0x24], 0
call fcn.1014a790
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 0x1013f6e7
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 0x1013f6c4
nop dword [eax + eax]
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0xb8]
cmp edx, dword [esi + eax]
jge 0x1013f6a6
mov esi, dword [eax]
xor eax, eax
push dword [ebp - 0x38]
cmp ecx, esi
setl al
push eax
push dword [ebp + 0x1c]
call fcn.1014e000
push dword [ebp + 0x1c]
call fcn.1014a790
mov ecx, dword [ebp - 0x4c]
add esp, 0x10
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x20], eax
cmp ecx, esi
jge 0x1013f6a6
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 0x1013f640
test ecx, ecx
je 0x1013f6c4
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 0x1013f5d0
mov edi, dword [ebp - 0x20]
cmp dword [ebp - 8], 2
jne 0x1013f906
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1013f7e8
mov eax, dword [ebp - 0x18]
movss xmm6, dword [0x102439b4]
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 0x1013f786
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
add eax, edx
movss xmm5, dword [0x10178b70]
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 0x1013f742
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 0x1013f720
mov eax, dword [ebp - 0x18]
inc ecx
mulss xmm4, dword [0x10243d1c]
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 0x10243b60
push 0x10243b08
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
call fcn.10145870
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 0x1013f8f7
mov edx, eax
mov dword [esi + 0xe8], edx
jmp 0x1013f90f
cmp dword [ebp - 0x10], 0
je 0x1013f87f
cmp dword [esi + 0x18], 0
jne 0x1013f864
mov dword [esi + 0x50], 0
xor eax, eax
jmp 0x1013f52a
cmp dword [ebp - 0x34], 0
jne 0x1013f51e
mov dword [esi + 0x50], 3
mov eax, 3
jmp 0x1013f52a
cmp dword [ebp - 0x28], 0
jne 0x1013f8df
cmp dword [esi + 0x18], 3
jl 0x1013f8df
mov ecx, dword [ebp - 8]
lea eax, [ecx + ecx*4]
add eax, eax
cmp dword [ebp - 0xa0], eax
jl 0x1013f8df
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.10147dd0
add esp, 0x2c
mov dword [esi + 0x50], eax
jmp 0x1013f52a
cmp dword [esi + 0x18], 0
jne 0x1013f51e
mov dword [esi + 0x50], 0
xor eax, eax
jmp 0x1013f52a
cmp dword [ebp - 0x10], edx
cmovg edx, dword [ebp - 0x10]
mov dword [esi + 0xe8], edx
jmp 0x1013f90f
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 0x1013f9c9
cmp dword [ebp - 0x10], 0
mov ecx, dword [ebp + 8]
jg 0x1013f998
cmp dword [ecx + 0x40], 0
jne 0x1013f998
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.1013db10
add esp, 0x38
mov dword [ebp - 0x94], eax
mov esi, eax
jmp 0x1013f9ad
mov esi, 5
mov dword [ecx + 0xe4], 0
mov dword [ebp - 0x94], esi
push 7
push 0x10243a70
push esi
mov esi, dword [ebp + 0x1c]
push esi
call fcn.1014e2b0
push esi
call fcn.1014a790
add esp, 0x14
mov edi, eax
mov esi, dword [ebp - 0x80]
test esi, esi
jle 0x1013fc7c
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 0x1013fa16
lea eax, [eax + eax*4]
shl eax, 6
sub esi, eax
sub esi, 0xa0
jmp 0x1013fa26
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 0x1013fa40
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 0x1013fae3
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.10140d50
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 0x1013fb74
cmp dword [ecx + 0xbc], 0x64
jge 0x1013faff
mov ecx, 3
mov edx, 0x60
sub ecx, dword [ebp - 0x14]
sar edx, cl
add edx, esi
jmp 0x1013fb14
mov edx, esi
jle 0x1013fb14
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 [0x101fcdfc]
mulss xmm0, dword [0x10243d54]
cvttss2si eax, xmm0
add edx, eax
mov eax, dword [ebp - 0x24]
comiss xmm1, dword [0x10243d18]
lea ecx, [eax + 0x3f]
jbe 0x1013fb53
cmp edx, 0x190
mov esi, 0x190
cmovg esi, edx
add esi, edi
jmp 0x1013fb56
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 0x1013fbb1
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 0x1013fbeb
movss xmm1, dword [0x101f71fc]
inc eax
mov dword [edx + 0xdc], eax
add eax, 0x14
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x1013fbf3
movss xmm1, dword [0x1021fe8c]
cmp dword [edx + 0x34], 0
je 0x1013fc65
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 0x1013fc65
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.1014e4f0
add esp, 8
mov edi, dword [ebp - 0x1c]
lea eax, [edi*4]
call fcn.100a0ef0
mov esi, esp
lea eax, [edi*4]
mov dword [ebp - 0x84], esi
call fcn.100a0ef0
lea eax, [edi*4]
mov dword [ebp - 0xbc], esp
call fcn.100a0ef0
mov dword [ebp - 0x38], esp
push dword [ebp + 0x1c]
call fcn.1014a790
mov edx, dword [ebp - 0x2c]
add esp, 4
shl edx, 6
sub edx, eax
dec edx
cmp dword [ebp - 0x34], 0
je 0x1013fce8
mov eax, dword [ebp - 0x14]
cmp eax, 2
jl 0x1013fce8
lea eax, [eax*8 + 0x10]
cmp edx, eax
jl 0x1013fce8
mov eax, 8
jmp 0x1013fcea
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 0x1013fd60
mov ecx, dword [ebp - 8]
imul eax, ecx, 0x7d00
cmp dword [ebp - 0xa4], eax
jge 0x1013fd17
mov ecx, 0xd
jmp 0x1013fd55
imul eax, ecx, 0xbb80
cmp dword [ebp - 0xa4], eax
jge 0x1013fd2c
mov ecx, 0x10
jmp 0x1013fd55
imul eax, ecx, 0xea60
cmp dword [ebp - 0xa4], eax
jge 0x1013fd41
mov ecx, 0x12
jmp 0x1013fd55
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.1014b480
mov esi, eax
add esp, 0x4c
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x1013fddd
lea edx, [eax - 1]
mov ecx, esi
cmp edx, esi
cmovg ecx, edx
inc eax
cmp eax, ecx
jl 0x1013fddf
cmp edx, esi
mov eax, esi
cmovg eax, edx
jmp 0x1013fddf
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.10148da0
mov eax, dword [ebp - 0x1c]
add esp, 0x20
imul eax, dword [ebp - 8]
call fcn.100a0ef0
cmp dword [ebp - 8], 2
mov edx, esp
jne 0x1013fe25
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
lea ecx, [eax + ecx*4]
jmp 0x1013fe27
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.10145f60
add esp, 0x5c
test esi, esi
je 0x1013feaa
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.1014e030
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.10148c70
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.100a2020
mov ecx, dword [ebp - 0xc0]
lea eax, [edi*4]
mov edx, dword [ebp - 0x10]
add esp, 0x34
movss xmm1, dword [0x1021ff10]
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 0x1013ff81
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 [0x1017d760]
minss xmm0, dword [eax + edx]
comiss xmm1, xmm0
jbe 0x1013ff55
movaps xmm0, xmm1
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x1013ff40
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 0x1013ff23
cmp dword [ebp - 0x90], 0
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
je 0x1013ffb1
mov ecx, esi
imul ecx, edx
test ecx, ecx
jle 0x1013ffb1
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 0x1013fff2
cmp edx, 1
jne 0x1013fff2
lea eax, [esi*4]
push eax
lea eax, [edi + esi*4]
push edi
push eax
call fcn.100a1aa0
mov eax, dword [ebp - 0x40]
add esp, 0xc
imul esi, eax
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x68], esi
jne 0x10140034
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.100a1aa0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x40]
shl eax, 2
push eax
push edi
push dword [ebp - 0x50]
call fcn.100a1aa0
add esp, 0x18
jmp 0x1014019b
xor edx, edx
test esi, esi
jle 0x1014019b
cmp esi, 0x10
jb 0x101400de
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 0x10140064
cmp ecx, edi
jae 0x101400de
mov eax, esi
and eax, 0x8000000f
jns 0x10140072
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 0x10140082
mov esi, dword [ebp - 0x68]
cmp eax, esi
jge 0x1014019b
mov eax, esi
sub eax, edx
cmp eax, 4
jl 0x10140175
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 0x10140120
mov edx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x68]
cmp edx, esi
jge 0x1014019b
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 0x10140183
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 0x10140336
cmp dword [ebp - 0x10], 4
jb 0x101402e5
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 0x10140233
add eax, ecx
cmp eax, edi
jae 0x101402e5
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 0x1014024e
add ecx, eax
lea eax, [esi + edi]
cmp ecx, eax
jae 0x101402e5
cmp edi, dword [ebp - 0x78]
ja 0x1014025f
lea eax, [esi + edi]
cmp dword [ebp - 0x80], eax
jae 0x101402e5
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and eax, 0x80000003
jns 0x10140270
dec eax
or eax, 0xfffffffc
inc eax
sub ecx, eax
add edx, 4
cmp edx, ecx
jl 0x10140272
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 0x10140330
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 0x10140310
jmp 0x10140333
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 0x10140447
cmp dword [ebp - 0x98], 4
jb 0x101403fd
lea eax, [ecx + edi]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x7c]
cmp dword [ebp - 0x48], eax
ja 0x1014036f
add eax, ecx
cmp eax, edi
jae 0x101403fd
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 0x1014038a
add ecx, eax
lea eax, [esi + edi]
cmp ecx, eax
jae 0x101403fd
cmp edi, dword [ebp - 0x78]
ja 0x10140397
lea eax, [esi + edi]
cmp dword [ebp - 0x7c], eax
jae 0x101403fd
mov eax, dword [ebp - 0x98]
and eax, 0x80000003
jns 0x101403a9
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
nop
add edx, 4
cmp edx, ecx
jl 0x101403b0
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 0x10140441
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 0x10140423
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 0x10140200
cmp dword [ebp - 0x34], 0
jne 0x10140499
cmp dword [ebp - 0xcc], 0
jne 0x10140499
mov eax, dword [ebp + 8]
mov dword [eax + 0x74], 0
jmp 0x1014049f
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.1014e170
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp dword [esi + 0x2c], 0
mov ecx, 0xfffffffd
cmovne eax, ecx
jmp 0x101404c5
or eax, 0xffffffff
lea esp, [ebp - 0x10c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009fd88
mov esp, ebp
pop ebp
ret