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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4b3080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, edx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x44], ecx
mov eax, dword [ecx + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x88], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x48], eax
mov edx, dword [ebx + 0x14]
xor eax, eax
cmp dword [ebx + 0x10], 2
mov edi, dword [ecx]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x110], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x98], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0xc8], 0
mov dword [ebp - 8], 0
movss dword [ebp - 0x9c], xmm0
movss dword [ebp - 0xf8], xmm0
movss dword [ebp - 0xe8], xmm0
mov dword [ebp - 0xac], 0x7c830
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x4c], eax
movss dword [ebp - 0xb8], xmm0
movss dword [ebp - 0x5c], xmm0
jl 0x446de9
test esi, esi
je 0x446de9
mov esi, dword [ecx + 0x1c]
xor ecx, ecx
imul esi, dword [ebx + 8]
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x94], esi
test eax, eax
js 0x444524
nop dword [eax]
mov eax, dword [edi + 0x2c]
shl eax, cl
cmp eax, esi
mov eax, dword [edi + 0x24]
je 0x444524
inc ecx
mov dword [ebp - 0x58], ecx
cmp ecx, eax
jle 0x444510
movd xmm0, ecx
pshufd xmm0, xmm0, 0
movaps xmmword [ebp - 0x120], xmm0
cmp ecx, eax
jg 0x446de9
mov esi, dword [ebp - 0x88]
mov eax, 1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0xf0], eax
add edx, 0xc8
shl eax, cl
mov ecx, dword [edi + 0x2c]
imul ecx, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp - 0x98]
mov eax, ecx
imul eax, esi
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xc0], eax
lea eax, [ecx + 0x400]
mov ecx, dword [ebp - 0x44]
imul eax, esi
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x60]
imul eax, esi
add ecx, 0xc8
mov dword [ebp - 0xc4], ecx
shl eax, 2
add ecx, eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xa0], ecx
test edx, edx
jne 0x4445c0
mov edx, 1
xor ecx, ecx
jmp 0x4445d0
bsr eax, dword [edx + 0x1c]
mov edx, dword [edx + 0x14]
sub edx, eax
dec edx
lea ecx, [edx + 4]
sar ecx, 3
cmp dword [ebx + 0x10], 0x4fb
mov esi, 0x4fb
mov dword [ebp - 0xa8], ecx
cmovl esi, dword [ebx + 0x10]
mov eax, esi
mov dword [ebp - 0x64], esi
mov esi, dword [ebp - 0x94]
sub eax, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0xd8], eax
cmp dword [ecx + 0x2c], 0
je 0x44463a
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
je 0x44463a
mov esi, dword [edi]
mov ecx, eax
imul ecx, dword [ebp - 0x94]
sar esi, 3
mov eax, esi
sar eax, 1
add eax, ecx
cdq
idiv esi
mov esi, eax
mov dword [ebp - 0xfc], eax
sar esi, 6
mov dword [ebp - 0xe4], esi
jmp 0x4446ab
mov eax, dword [ecx + 0x28]
mov ecx, eax
imul ecx, esi
mov dword [ebp - 0x68], eax
cmp edx, 1
jle 0x44464c
add ecx, edx
cmp eax, 0xffffffff
je 0x444692
mov eax, dword [edi]
lea ecx, [ecx + eax*4]
lea esi, [eax*8]
mov eax, ecx
cdq
xor ecx, ecx
idiv esi
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x64]
cmp dword [edx + 0x30], ecx
setne cl
sub eax, ecx
cmp esi, eax
mov ecx, eax
cmovl ecx, esi
cmp ecx, 2
jge 0x444688
mov eax, dword [ebp - 0x68]
mov esi, 2
jmp 0x444695
cmp esi, eax
cmovge esi, eax
mov eax, dword [ebp - 0x68]
jmp 0x444695
mov esi, dword [ebp - 0x64]
xor edx, edx
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0x64], esi
cmp eax, 0xffffffff
je 0x4446d9
mov eax, dword [ebp - 0x48]
mov edx, 0x190
mov ecx, dword [ebp - 0x58]
sar edx, cl
sub edx, 0x32
lea eax, [eax + eax*4]
lea eax, [eax*8 + 0x14]
imul edx, eax
mov eax, dword [ebp - 0x68]
sub eax, edx
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0xac], eax
mov esi, dword [ebp - 0x78]
test esi, esi
jne 0x44471c
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
lea esi, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], 0x21
mov dword [ebp - 0x24], 0x80000000
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x78], esi
test edx, edx
jle 0x444792
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x34], 0
je 0x444792
lea ecx, [edx + edx]
xor edx, edx
sub ecx, dword [eax + 0xa4]
mov eax, 2
sar ecx, 6
cmp dword [ebp - 0x7c], 1
cmove edx, eax
mov eax, ecx
cmp edx, ecx
cmovg eax, edx
cmp eax, dword [ebp - 0xd8]
jge 0x444792
cmp edx, ecx
cmovg ecx, edx
cmp ecx, dword [ebp - 0xd8]
jge 0x444792
mov eax, dword [ebp - 0xa8]
mov edx, dword [esi]
add eax, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xd8], ecx
mov ecx, dword [esi + 8]
sub eax, ecx
add eax, edx
sub edx, ecx
add edx, dword [ebp - 0x64]
push ecx
push eax
push edx
call fcn.004674e0
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov dword [esi + 4], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x4c]
cmp ecx, eax
cmovg ecx, eax
mov eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0x98]
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0xa4], ecx
shl eax, 2
call fcn.00466990
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x68], esp
mov edi, dword [eax + 0x1c]
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x98]
imul eax, dword [ebp - 0x48]
cdq
idiv edi
mov esi, eax
mov edx, eax
call fcn.00441590
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x80]
movss xmm2, dword [eax + 0xb4]
mov eax, dword [ebp - 0x98]
lea ecx, [ecx + esi*4]
imul eax, dword [ebp - 0x48]
maxss xmm2, xmm0
cdq
idiv edi
mov edx, eax
call fcn.00441590
mov ecx, dword [ebp - 0x44]
maxss xmm2, xmm0
movss xmm1, dword [0x4a77b4]
mov eax, 1
xor edx, edx
movss dword [ecx + 0xb4], xmm0
mov ecx, dword [ecx + 0x3c]
shl eax, cl
movss dword [ebp - 0x94], xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm2
setae dl
cmp dword [ebp - 0x7c], 1
mov dword [ebp - 0x90], edx
jne 0x4448fc
mov esi, dword [ebp - 0x78]
mov eax, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 0xf
sub eax, ecx
test edx, edx
je 0x444871
add dword [esi + 0x20], eax
test edx, edx
cmovne eax, ecx
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.00440dd0
cmp dword [ebp - 0x90], 0
je 0x444906
cmp dword [ebp - 0xfc], 0
mov edi, dword [ebp - 0x64]
jle 0x4448da
mov eax, dword [ebp - 0xa8]
mov ecx, dword [esi + 8]
add eax, 2
mov edx, dword [esi]
cmp edi, eax
push ecx
cmovge edi, eax
mov dword [ebp - 0xd8], 2
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [ebp - 0x64], edi
add eax, edx
mov dword [ebp - 0xe4], edi
sub edx, ecx
push eax
add edx, edi
push edx
call fcn.004674e0
movss xmm2, dword [ebp - 0x94]
add esp, 0xc
mov dword [esi + 4], edi
bsr eax, dword [esi + 0x1c]
lea ecx, [edi*8]
inc eax
mov dword [ebp - 0x7c], ecx
add eax, ecx
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x90], eax
jmp 0x444906
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x70]
add eax, edx
shl eax, 2
add ecx, 0x10
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xdc], ecx
lea esi, [eax + edx*4]
nop
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x10], 0
je 0x444949
comiss xmm2, dword [0x4a7b04]
jbe 0x444949
mov eax, 1
jmp 0x44494b
xor eax, eax
push eax
lea eax, [edx + 0x94]
lea eax, [eax + edi*4]
push eax
mov eax, dword [ebp - 0x80]
push ecx
push dword [edx + 0x1c]
mov edx, esi
push dword [ebp - 0x88]
lea ecx, [eax + edi*4]
push dword [ebp - 0xd4]
call fcn.00441e20
add esi, dword [ebp - 0x6c]
inc edi
movss xmm2, dword [ebp - 0x94]
add esp, 0x18
mov ecx, dword [ebp - 0xdc]
cmp edi, dword [ebp - 0x88]
jl 0x444930
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x70]
mov edx, dword [ebp - 0xd8]
cmp dword [ecx + 0x44], 0
je 0x4449a7
cmp edx, 3
jg 0x4449b4
mov eax, dword [ebp - 0x48]
lea eax, [eax + eax*2]
shl eax, 2
cmp edx, eax
jle 0x4449eb
cmp dword [ebp - 0x54], 0
jne 0x4449eb
cmp dword [ebp - 0x90], 0
jne 0x4449eb
cmp dword [ecx + 0x14], 0
jne 0x4449eb
cmp dword [ecx + 0x18], 5
jl 0x4449eb
cmp dword [ecx + 0x74], 0
je 0x4449e4
cmp dword [ebp - 0x58], 3
je 0x4449e4
cmp dword [ecx + 0x40], 0x1392
je 0x4449eb
mov eax, 1
jmp 0x4449ed
xor eax, eax
mov esi, dword [ecx + 0x64]
push edx
mov edx, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x94], esi
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
push dword [ebp - 0xd4]
push dword [ebp - 0x88]
push dword [ebp - 0xc0]
call fcn.00443c70
movss xmm0, dword [ebp - 0xc8]
add esp, 0x24
movss xmm1, dword [0x4a76f8]
comiss xmm0, xmm1
mov edx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xc8], edx
movss dword [ebp - 0xb0], xmm0
ja 0x444a61
movss xmm0, dword [ecx + 0x6c]
comiss xmm0, xmm1
jbe 0x444ab3
cmp dword [ecx + 0x78], 0
je 0x444a79
movss xmm0, dword [ecx + 0x7c]
cvtps2pd xmm0, xmm0
comisd xmm0, xmmword [0x4a7878]
jbe 0x444ab3
movd xmm1, dword [ecx + 0x68]
cvtdq2pd xmm1, xmm1
movd xmm2, edx
cvtdq2pd xmm2, xmm2
movaps xmm0, xmm1
mulsd xmm0, qword [0x4a7940]
comisd xmm2, xmm0
ja 0x444aa9
mulsd xmm1, qword [0x4a78f0]
comisd xmm1, xmm2
jbe 0x444ab3
mov dword [ebp - 0x84], 1
test eax, eax
jne 0x444af3
cmp dword [ebp - 0x54], eax
jne 0x444bc8
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x7c]
add eax, 0x10
lea edx, [edi*8]
mov edi, dword [ebp - 0x70]
cmp eax, edx
jg 0x444bc8
mov ecx, dword [esi + 0x1c]
mov eax, ecx
shr eax, 1
sub ecx, eax
mov dword [esi + 0x1c], ecx
mov ecx, esi
call fcn.00440dd0
jmp 0x444bc5
mov eax, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 1
sub eax, ecx
mov dword [esi + 0x1c], ecx
add dword [esi + 0x20], eax
mov ecx, esi
call fcn.00440dd0
mov eax, dword [ebp - 0xc8]
inc eax
bsr ecx, eax
mov dword [ebp - 0x50], eax
mov eax, 5
bsr eax, eax
add ecx, 0xfffffffc
inc eax
mov dword [ebp - 0xc8], ecx
mov edx, ecx
cmp eax, 8
jle 0x444b6b
sub eax, 8
mov ecx, eax
mov dword [ebp - 0x6c], eax
shr edx, cl
mov eax, 5
shr eax, cl
mov ecx, esi
inc eax
push eax
lea eax, [edx + 1]
push eax
call fcn.00440e10
mov ecx, dword [ebp - 0x6c]
mov edx, 1
shl edx, cl
dec edx
and edx, dword [ebp - 0xc8]
push ecx
mov ecx, esi
call fcn.00440f30
add esp, 0xc
jmp 0x444b7b
lea eax, [ecx + 1]
mov ecx, esi
push 6
push eax
call fcn.00440e10
add esp, 8
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + 4]
push eax
mov eax, 0x10
shl eax, cl
mov ecx, esi
sub edx, eax
call fcn.00440f30
mov eax, dword [ebp - 0x50]
mov ecx, esi
mov edx, dword [ebp - 0x80]
dec eax
push 3
mov dword [ebp - 0xc8], eax
call fcn.00440f30
mov edx, dword [ebp - 0x94]
mov ecx, esi
push 2
push 0x4a032c
call fcn.00440ea0
add esp, 0x10
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x18], 1
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x7c], 0
jl 0x444c2f
cmp dword [ecx + 0x44], 0
jne 0x444c2f
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0xbc]
mov ecx, dword [ebp - 0x68]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x98]
push dword [ebp - 0x88]
lea edx, [edx + eax]
call fcn.00441630
movss xmm0, dword [ebp - 0x5c]
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
movss dword [ebp - 0xb8], xmm0
cmp dword [ebp - 0x58], 0
jle 0x444c63
bsr eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x64]
mov ecx, dword [esi + 0x14]
sub ecx, eax
add ecx, 2
lea eax, [edx*8]
cmp ecx, eax
jg 0x444c63
cmp dword [ebp - 0xcc], 0
je 0x444c77
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x7c], eax
jmp 0x444c77
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x110], 1
mov eax, dword [ebp - 0xd4]
imul eax, dword [ebp - 0x88]
shl eax, 2
call fcn.00466990
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], esp
shl eax, 2
call fcn.00466990
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0xdc], esp
shl eax, 2
call fcn.00466990
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0xe0], esp
je 0x444cd8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], 1
cmp dword [eax + 0x18], 8
jge 0x444cdf
mov dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
shl eax, 2
call fcn.00466990
cmp dword [ebp - 0x5c], 0
mov dword [ebp - 0xc0], esp
je 0x444e62
mov eax, dword [ebp - 0x44]
xor edx, edx
push ecx
mov ecx, edi
push dword [eax + 0x1c]
push dword [ebp - 0x58]
push dword [ebp - 0x88]
push dword [ebp - 0x48]
push dword [ebp - 0x98]
push dword [ebp - 0x68]
call fcn.00441b90
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x98]
mov ecx, edi
push dword [ebp - 0x48]
push dword [ebp - 0xa4]
push dword [ebp - 0xdc]
call fcn.004499c0
push dword [ebp - 0x48]
mov edx, dword [ebp - 0xa4]
mov ecx, edi
push dword [ebp - 0xc0]
push dword [ebp - 0xdc]
push dword [ebp - 0x4c]
call fcn.00449530
mov edx, dword [ebp - 0x50]
add esp, 0x3c
xor ecx, ecx
test edx, edx
jle 0x444e62
cmp edx, 0x10
jb 0x444de6
mov eax, edx
and eax, 0x8000000f
jns 0x444d87
dec eax
or eax, 0xfffffff0
inc eax
cvtdq2ps xmm2, xmmword [ebp - 0x120]
mov dword [ebp - 0x80], edx
sub dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc0]
add eax, 0x20
mulps xmm2, xmmword [0x4a7ce0]
movups xmm0, xmmword [eax - 0x20]
add ecx, 0x10
movaps xmm1, xmm2
addps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movaps xmm1, xmm2
addps xmm0, xmm2
movups xmmword [eax - 0x10], xmm0
movups xmm0, xmmword [eax]
addps xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movaps xmm1, xmm2
addps xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
add eax, 0x40
cmp ecx, dword [ebp - 0x80]
jl 0x444da4
cmp ecx, edx
jge 0x444e62
mov eax, edx
sub eax, ecx
cmp eax, 4
jl 0x444e3a
movd xmm1, dword [ebp - 0x58]
sub edx, ecx
mov eax, dword [ebp - 0xc0]
sub edx, 4
cvtdq2ps xmm1, xmm1
shr edx, 2
lea eax, [eax + ecx*4]
add eax, 8
inc edx
mulss xmm1, dword [0x4a7714]
lea ecx, [ecx + edx*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 edx, 1
jne 0x444e20
mov edx, dword [ebp - 0x50]
cmp ecx, edx
jge 0x444e62
movd xmm1, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc0]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x4a7714]
movaps xmm0, xmm1
addss xmm0, dword [eax + ecx*4]
movss dword [eax + ecx*4], xmm0
inc ecx
cmp ecx, edx
jl 0x444e50
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x7c]
push ecx
mov ecx, edi
push dword [eax + 0x1c]
push dword [ebp - 0x58]
push dword [ebp - 0x88]
push dword [ebp - 0x48]
push dword [ebp - 0x98]
push dword [ebp - 0x68]
call fcn.00441b90
mov eax, dword [ebp - 0x48]
add esp, 0x1c
cmp dword [ebp - 0x88], 2
jne 0x444eab
mov ecx, dword [ebp - 0xb4]
xor edx, edx
cmp eax, 1
cmove ecx, edx
mov dword [ebp - 0xb4], ecx
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x98]
mov ecx, edi
push eax
push dword [ebp - 0xa4]
push dword [ebp - 0xdc]
call fcn.004499c0
mov edx, dword [ebp - 0x44]
add esp, 0x10
mov ecx, dword [edx + 0x44]
mov dword [ebp - 0x74], ecx
test ecx, ecx
je 0x444f2a
mov eax, 2
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x4c]
cmp ecx, eax
jle 0x444f2d
movss xmm2, dword [0x4a7610]
movss xmm3, dword [0x4a75d4]
mov esi, dword [ebp - 0xdc]
nop dword [eax]
movss xmm0, dword [esi]
movss xmm1, dword [esi + eax*4]
mulss xmm0, xmm2
minss xmm1, xmm0
maxss xmm1, xmm3
movss dword [esi + eax*4], xmm1
inc eax
cmp eax, ecx
jl 0x444f00
mov eax, dword [edx + 0x44]
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
jmp 0x444f2d
mov ecx, dword [ebp - 0x4c]
push dword [ebp - 0x48]
mov edx, dword [ebp - 0xa4]
push dword [ebp - 0xe0]
push dword [ebp - 0xdc]
push ecx
mov ecx, edi
call fcn.00449530
mov eax, dword [ebp - 0x60]
add esp, 0x10
imul eax, dword [ebp - 0x48]
shl eax, 2
call fcn.00466990
mov eax, dword [ebp - 0x4c]
mov ecx, esp
shl eax, 2
push eax
push 0
push ecx
mov dword [ebp - 0x80], ecx
call fcn.00467a60
mov eax, dword [ebp - 0x54]
add esp, 0xc
movss xmm4, dword [0x4a76b8]
mov ecx, dword [ebp - 0x44]
test eax, eax
jne 0x4453e8
cmp dword [ecx + 0xc0], 0
je 0x4453e8
cmp dword [ebp - 0x74], 0
jne 0x4453e8
mov ecx, dword [ecx + 0x5c]
xor edx, edx
movss xmm3, dword [0x4a76c8]
cmp ecx, 2
mov eax, 2
mov dword [ebp - 0xe8], edx
cmovl ecx, eax
xorps xmm5, xmm5
mov eax, dword [ebp - 0x48]
xorps xmm7, xmm7
mov dword [ebp - 0x74], ecx
xorps xmm6, xmm6
test eax, eax
jle 0x4450d2
movss xmm2, dword [0x4a7ba8]
mov edi, eax
mov dword [ebp - 0x9c], edx
xor esi, esi
mov edx, dword [ebp - 0x60]
shl edx, 2
xor eax, eax
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x6c], edi
nop dword [eax + eax]
xor edx, edx
test ecx, ecx
je 0x4450ae
mov esi, dword [ebp - 0x44]
mov eax, 1
mov edi, dword [ebp - 0x8c]
sub eax, ecx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x9c]
add eax, dword [esi + 0xc0]
mov esi, dword [ebp - 0xe8]
mov dword [ebp - 0x50], eax
movss xmm1, dword [eax]
minss xmm1, xmm3
comiss xmm1, xmm2
jbe 0x445051
comiss xmm1, xmm5
jbe 0x445054
mulss xmm1, dword [0x4a7714]
jmp 0x445054
movaps xmm1, xmm2
movsx eax, word [edi + edx*2]
movsx ecx, word [edi + edx*2 + 2]
inc edx
sub ecx, eax
mov eax, dword [ebp - 0x50]
add esi, ecx
add eax, 4
mov dword [ebp - 0x50], eax
movd xmm0, ecx
mov ecx, dword [ebp - 0xbc]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm7, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
add ecx, 2
mov dword [ebp - 0xbc], ecx
mov ecx, dword [ebp - 0x74]
mulss xmm0, xmm1
addss xmm6, xmm0
cmp edx, ecx
jl 0x445035
mov eax, dword [ebp - 0x9c]
mov edi, dword [ebp - 0x6c]
mov dword [ebp - 0xe8], esi
add eax, dword [ebp - 0x104]
sub edi, 1
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x6c], edi
jne 0x445000
mov edi, dword [ebp - 0x70]
mov esi, dword [ebp - 0x78]
mov edx, dword [ebp - 0xe8]
movd xmm0, edx
dec ecx
mov edx, dword [ebp - 0x74]
mulss xmm6, dword [0x4a7a30]
cvtdq2ps xmm0, xmm0
lea eax, [edx + 1]
imul ecx, eax
divss xmm7, xmm0
imul ecx, edx
addss xmm7, xmm4
imul ecx, dword [ebp - 0x48]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
movss xmm0, dword [0x4a7b30]
mulss xmm6, dword [0x4a7714]
minss xmm6, dword [0x4a7674]
comiss xmm6, xmm0
movss dword [ebp - 0xe8], xmm6
ja 0x445135
movaps xmm6, xmm0
movss dword [ebp - 0xe8], xmm0
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
movsx eax, word [eax + edx*2]
cdq
sub eax, edx
mov edx, dword [ebp - 0x8c]
add edx, 2
sar eax, 1
mov dword [ebp - 0x50], eax
movsx eax, word [edx]
cmp eax, dword [ebp - 0x50]
jge 0x44516d
nop word [eax + eax]
movsx eax, word [edx + 2]
lea edx, [edx + 2]
inc ecx
cmp eax, dword [ebp - 0x50]
jl 0x445160
xor edx, edx
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x74], edx
jbe 0x4453be
neg ecx
cmp dword [ebp - 0x48], 2
jne 0x4451f7
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x80]
mov edx, dword [eax + 0xc0]
mov eax, esi
mov dword [ebp - 0x9c], edx
sub dword [ebp - 0x9c], esi
mov esi, dword [ebp - 0x74]
lea edx, [edx + edi*4]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x9c]
movss xmm1, dword [edi + eax]
maxss xmm1, dword [edx]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
minss xmm1, xmm5
mulss xmm0, xmm6
addss xmm0, xmm7
subss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4451e2
inc dword [ebp - 0x6c]
subss xmm1, xmm3
movss dword [eax], xmm1
inc ecx
add edx, 4
add eax, 4
sub dword [ebp - 0x50], 1
jne 0x4451b2
mov edi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x6c]
jmp 0x445257
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x80]
mov edi, dword [esi + 0xc0]
mov esi, dword [ebp - 0x74]
sub edi, eax
mov dword [ebp - 0x104], edi
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x50], esi
mov esi, dword [ebp - 0x104]
nop word [eax + eax]
movss xmm1, dword [eax + esi]
movd xmm0, ecx
minss xmm1, xmm5
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
addss xmm0, xmm7
subss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x44524a
subss xmm1, xmm3
inc edx
movss dword [eax], xmm1
inc ecx
add eax, 4
sub dword [ebp - 0x50], 1
jne 0x445220
mov esi, dword [ebp - 0x78]
cmp edx, 3
jl 0x4453be
addss xmm7, xmm3
comiss xmm7, xmm5
jbe 0x4452a2
mov eax, dword [ebp - 0x74]
shl eax, 2
push eax
push 0
push dword [ebp - 0x80]
movss dword [ebp - 0x9c], xmm5
movss dword [ebp - 0xe8], xmm5
call fcn.00467a60
movss xmm4, dword [0x4a76b8]
add esp, 0xc
movss xmm7, dword [ebp - 0x9c]
jmp 0x4453be
mov edx, dword [ebp - 0x74]
xor ecx, ecx
cmp edx, 0x10
jb 0x445317
mov eax, dword [ebp - 0x80]
and edx, 0xfffffff0
movaps xmm2, xmmword [0x4a7cd0]
add eax, 0x20
nop dword [eax]
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 0x4452c0
mov edx, dword [ebp - 0x74]
cmp ecx, edx
jge 0x4453be
mov eax, edx
sub eax, ecx
cmp eax, 4
jl 0x4453a1
mov eax, dword [ebp - 0x80]
sub edx, ecx
sub edx, 4
shr edx, 2
lea eax, [eax + ecx*4]
add eax, 8
inc edx
lea ecx, [ecx + edx*4]
nop dword [eax]
movss xmm1, dword [eax - 8]
movaps xmm0, xmm5
subss xmm1, xmm3
maxss xmm0, xmm1
movss xmm1, dword [eax - 4]
subss xmm1, xmm3
movss dword [eax - 8], xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
movss xmm1, dword [eax]
subss xmm1, xmm3
movss dword [eax - 4], xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
movss xmm1, dword [eax + 4]
subss xmm1, xmm3
movss dword [eax], xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
movss dword [eax + 4], xmm0
add eax, 0x10
sub edx, 1
jne 0x445340
mov edx, dword [ebp - 0x74]
cmp ecx, edx
jge 0x4453be
mov eax, dword [ebp - 0x80]
movss xmm1, dword [eax + ecx*4]
movaps xmm0, xmm5
subss xmm1, xmm3
maxss xmm0, xmm1
movss dword [eax + ecx*4], xmm0
inc ecx
cmp ecx, edx
jl 0x4453a4
movss xmm0, dword [ebp - 0xe8]
addss xmm7, xmm4
mulss xmm0, dword [0x4a7a90]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x54]
movss dword [ebp - 0xe8], xmm0
movss dword [ebp - 0x9c], xmm7
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x50], edx
test edx, edx
jne 0x4455a2
xorps xmm2, xmm2
movss xmm1, dword [0x4a7bd0]
cmp dword [ebp - 0x7c], edx
je 0x445418
movd xmm3, dword [ebp - 0x58]
cvtdq2ps xmm3, xmm3
mulss xmm3, dword [0x4a7714]
jmp 0x44541b
xorps xmm3, xmm3
mov edx, dword [ebp - 0x4c]
mov ecx, eax
cmp eax, edx
jge 0x44553a
cmp dword [ebp - 0x48], 2
movss xmm4, dword [0x4a77b4]
jne 0x445481
mov edi, dword [ebp - 0xe0]
add eax, dword [ebp - 0x60]
mov esi, dword [ebp - 0xe0]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x70]
nop dword [eax + eax]
movss xmm0, dword [esi + ecx*4]
subss xmm1, xmm4
subss xmm0, xmm3
inc ecx
maxss xmm1, xmm0
movss xmm0, dword [eax]
subss xmm0, xmm3
add eax, 4
maxss xmm1, xmm0
addss xmm2, xmm1
cmp ecx, edx
jl 0x445450
mov esi, dword [ebp - 0x78]
jmp 0x44553a
mov eax, edx
sub eax, dword [ebp - 0x54]
cmp eax, 4
jl 0x44551a
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0xe0]
sub eax, ecx
sub eax, 4
add edx, 8
shr eax, 2
inc eax
lea edx, [edx + ecx*4]
lea ecx, [ecx + eax*4]
nop dword [eax]
movss xmm0, dword [edx - 8]
subss xmm1, xmm4
subss xmm0, xmm3
maxss xmm1, xmm0
movss xmm0, dword [edx - 4]
subss xmm0, xmm3
addss xmm2, xmm1
subss xmm1, xmm4
maxss xmm1, xmm0
movss xmm0, dword [edx]
subss xmm0, xmm3
addss xmm2, xmm1
subss xmm1, xmm4
maxss xmm1, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, xmm3
add edx, 0x10
addss xmm2, xmm1
subss xmm1, xmm4
maxss xmm1, xmm0
addss xmm2, xmm1
sub eax, 1
jne 0x4454b0
mov edx, dword [ebp - 0x4c]
movss dword [ebp - 0xf4], xmm2
cmp ecx, edx
jge 0x44553a
mov eax, dword [ebp - 0xe0]
movss xmm0, dword [eax + ecx*4]
subss xmm1, xmm4
subss xmm0, xmm3
inc ecx
maxss xmm1, xmm0
addss xmm2, xmm1
cmp ecx, edx
jl 0x445520
mov eax, edx
mov ecx, dword [ebp - 0x44]
sub eax, dword [ebp - 0x54]
movss xmm1, dword [ecx + 0xc4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movss xmm0, dword [0x4a7b88]
subss xmm2, xmm1
maxss xmm0, xmm2
movss xmm2, dword [0x4a79f0]
movss dword [ebp - 0xf8], xmm2
comiss xmm0, xmm2
ja 0x445585
movaps xmm2, xmm0
movss dword [ebp - 0xf8], xmm0
mov edx, dword [ecx + 0x44]
movaps xmm0, xmm2
mulss xmm0, dword [0x4a7660]
mov dword [ebp - 0x50], edx
addss xmm0, xmm1
movss dword [ecx + 0xc4], xmm0
cmp dword [ebp - 0x5c], 0
jne 0x4455ca
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x48]
shl eax, 2
push eax
push dword [ebp - 0xe0]
push dword [ebp - 0xc0]
call fcn.004674e0
mov edx, dword [ebp - 0x50]
add esp, 0xc
cmp dword [ebp - 0x58], 0
jle 0x445817
bsr eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x64]
mov ecx, dword [esi + 0x14]
sub ecx, eax
add ecx, 2
lea eax, [edi*8]
mov edi, dword [ebp - 0x70]
cmp ecx, eax
jg 0x4457d5
cmp dword [ebp - 0xcc], 0
jne 0x4457d5
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x18], 5
jl 0x4457d5
test edx, edx
jne 0x4457d5
push dword [ebp - 0x48]
mov edx, dword [ebp - 0xc4]
push dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xe0]
push dword [ebp - 0x54]
push dword [ebp - 0x60]
call fcn.00441920
add esp, 0x10
test eax, eax
je 0x4457d5
mov eax, dword [ebp - 0xd0]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xcc], 1
mov dword [ebp - 0x7c], eax
push dword [ecx + 0x1c]
mov ecx, edi
push dword [ebp - 0x58]
push dword [ebp - 0x88]
push dword [ebp - 0x48]
push dword [ebp - 0x98]
push dword [ebp - 0x68]
call fcn.00441b90
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x98]
mov ecx, edi
push dword [ebp - 0x48]
push dword [ebp - 0xa4]
push dword [ebp - 0xdc]
call fcn.004499c0
push dword [ebp - 0x48]
mov edx, dword [ebp - 0xa4]
mov ecx, edi
push dword [ebp - 0xe0]
push dword [ebp - 0xdc]
push dword [ebp - 0x4c]
call fcn.00449530
mov edx, dword [ebp - 0x60]
add esp, 0x3c
imul edx, dword [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x104], edx
test edx, edx
jle 0x4457c5
cmp edx, 0x10
jb 0x445746
mov eax, edx
and eax, 0x8000000f
jns 0x4456e2
dec eax
or eax, 0xfffffff0
inc eax
cvtdq2ps xmm2, xmmword [ebp - 0x120]
mov dword [ebp - 0x5c], edx
sub dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc0]
add eax, 0x20
mulps xmm2, xmmword [0x4a7ce0]
nop
movups xmm0, xmmword [eax - 0x20]
add ecx, 0x10
movaps xmm1, xmm2
addps xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm0, xmmword [eax - 0x10]
movaps xmm1, xmm2
addps xmm0, xmm2
movups xmmword [eax - 0x10], xmm0
movups xmm0, xmmword [eax]
addps xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movaps xmm1, xmm2
addps xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
add eax, 0x40
cmp ecx, dword [ebp - 0x5c]
jl 0x445700
cmp ecx, edx
jge 0x4457c5
mov eax, edx
sub eax, ecx
cmp eax, 4
jl 0x44579d
movd xmm1, dword [ebp - 0x58]
sub edx, ecx
mov eax, dword [ebp - 0xc0]
sub edx, 4
cvtdq2ps xmm1, xmm1
shr edx, 2
lea eax, [eax + ecx*4]
add eax, 8
inc edx
mulss xmm1, dword [0x4a7714]
lea ecx, [ecx + edx*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 edx, 1
jne 0x445780
mov edx, dword [ebp - 0x104]
cmp ecx, edx
jge 0x4457c5
movd xmm1, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc0]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x4a7714]
movaps xmm0, xmm1
addss xmm0, dword [eax + ecx*4]
movss dword [eax + ecx*4], xmm0
inc ecx
cmp ecx, edx
jl 0x4457b3
movss xmm0, dword [0x4a76b8]
movss dword [ebp - 0xb8], xmm0
mov edx, dword [esi + 0x1c]
mov edi, dword [ebp - 0x64]
mov ecx, dword [esi + 0x14]
bsr eax, edx
sub ecx, eax
lea eax, [edi*8]
mov edi, dword [ebp - 0x70]
add ecx, 2
cmp ecx, eax
jg 0x445817
mov ecx, dword [ebp - 0xcc]
mov eax, edx
shr eax, 3
sub edx, eax
test ecx, ecx
je 0x44580a
add dword [esi + 0x20], edx
test ecx, ecx
cmovne edx, eax
mov ecx, esi
mov dword [esi + 0x1c], edx
call fcn.00440dd0
mov eax, dword [ebp - 0xd4]
mov esi, dword [ebp - 0x48]
imul eax, esi
shl eax, 2
call fcn.00466990
mov eax, dword [edi + 0x20]
xor edx, edx
movss xmm2, dword [0x4a75cc]
movss xmm3, dword [0x4a77b4]
mov dword [ebp - 0x104], eax
mov eax, dword [edi + 0x2c]
imul eax, dword [ebp - 0xd0]
mov dword [ebp - 0x74], esp
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0xbc], eax
xor eax, eax
mov dword [ebp - 0x6c], eax
xor ecx, ecx
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0xa4], ecx
jle 0x445912
mov esi, dword [ebp - 0x104]
add esi, 2
nop dword [eax + eax]
mov eax, dword [edi + 8]
movaps xmm1, xmm3
imul eax, edx
mov edx, dword [ebp - 0xdc]
add eax, ecx
movss xmm0, dword [edx + eax*4]
movsx edx, word [esi - 2]
addss xmm0, xmm2
movsx eax, word [esi]
imul edx, dword [ebp - 0xd0]
imul eax, dword [ebp - 0xd0]
divss xmm1, xmm0
cmp edx, eax
jge 0x4458f6
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
add eax, edx
mov edi, dword [ebp - 0x98]
sub edi, dword [ebp - 0x74]
lea ecx, [ecx + eax*4]
nop dword [eax + eax]
movaps xmm0, xmm1
lea ecx, [ecx + 4]
mulss xmm0, dword [ecx + edi - 4]
inc edx
movss dword [ecx - 4], xmm0
movsx eax, word [esi]
imul eax, dword [ebp - 0xd0]
cmp edx, eax
jl 0x4458d0
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x5c]
inc ecx
add esi, 2
mov dword [ebp - 0x50], ecx
cmp ecx, dword [ebp - 0xa4]
jl 0x445880
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0xbc]
inc edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x6c], eax
cmp edx, esi
jl 0x445861
mov eax, dword [ebp - 0x60]
shl eax, 2
call fcn.00466990
mov ecx, dword [ebp - 0xe4]
mov eax, esi
shl eax, 4
mov edx, esp
sub eax, esi
mov dword [ebp - 0xbc], edx
cmp ecx, eax
jl 0x445a04
cmp dword [ebp - 0x54], 0
jne 0x445a04
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x18], 2
jl 0x445a04
cmp dword [eax + 0x44], 0
jne 0x445a04
cmp ecx, 0x28
jge 0x44597c
mov eax, 0x18
jmp 0x445997
cmp ecx, 0x3c
jge 0x445988
mov eax, 0xc
jmp 0x445997
xor eax, eax
cmp ecx, 0x64
setl al
lea eax, [eax*2 + 6]
push dword [ebp - 0xb4]
movss xmm0, dword [ebp - 0xb8]
push ecx
movss dword [esp], xmm0
lea ecx, [ebp - 0xf4]
push ecx
push dword [ebp - 0x58]
mov ecx, dword [ebp - 0xd4]
push ecx
mov ecx, dword [ebp - 0x74]
push ecx
push eax
push edx
push dword [ebp - 0xcc]
mov edx, dword [ebp - 0xa4]
mov ecx, edi
call fcn.004421e0
mov dword [ebp - 0x5c], eax
add esp, 0x24
mov eax, dword [ebp - 0xa4]
mov ecx, eax
cmp eax, dword [ebp - 0x4c]
jge 0x445a21
mov edx, dword [ebp - 0xbc]
mov esi, eax
mov edi, dword [ebp - 0x4c]
mov eax, dword [edx + esi*4 - 4]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, edi
jl 0x4459f3
mov esi, dword [ebp - 0x48]
jmp 0x445a1e
mov eax, dword [ebp - 0x4c]
test eax, eax
jle 0x445a17
mov ecx, eax
mov edi, edx
mov eax, dword [ebp - 0xcc]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0
mov edi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
imul eax, esi
shl eax, 2
call fcn.00466990
mov edx, dword [ebp - 0x44]
mov ecx, esp
xor eax, eax
mov dword [ebp - 0x50], ecx
push dword [edx + 0x44]
cmp dword [edx + 0x18], 4
push dword [edx + 0x38]
setge al
push eax
lea eax, [edx + 0x54]
push eax
push dword [edx + 0xc]
mov edx, dword [ebp - 0x54]
push dword [ebp - 0xd8]
push dword [ebp - 0x58]
push esi
mov esi, dword [ebp - 0x78]
push esi
push ecx
mov ecx, dword [ebp - 0x64]
lea eax, [ecx*8]
mov ecx, edi
push eax
push dword [ebp - 0xc4]
push dword [ebp - 0xe0]
push dword [ebp - 0xa4]
push dword [ebp - 0x4c]
call fcn.00448d40
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
push esi
push dword [ebp - 0x5c]
push dword [ebp - 0x58]
push dword [ebp - 0xbc]
push dword [ebp - 0xcc]
call fcn.00442820
bsr eax, dword [esi + 0x1c]
mov edx, dword [ebp - 0x64]
add esp, 0x50
mov ecx, dword [esi + 0x14]
sub ecx, eax
add ecx, 3
lea eax, [edx*8]
cmp ecx, eax
jg 0x445b1d
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x44], 0
je 0x445d88
mov dword [edx + 0x64], 0
mov edi, dword [ebp - 0x70]
mov eax, 0x4a02d6
mov dword [edx + 0x50], 2
mov ecx, dword [esi + 0x1c]
mov edx, ecx
mov dword [ebp - 0x5c], eax
shr edx, 5
mov dword [ebp - 0x68], eax
movzx eax, byte [eax - 1]
imul eax, edx
sub ecx, eax
mov eax, dword [ebp - 0x5c]
add dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x68]
movzx eax, byte [eax]
movzx ecx, byte [ecx - 1]
sub ecx, eax
imul ecx, edx
lea eax, [esi + 0x1c]
mov dword [eax], ecx
mov ecx, esi
call fcn.00440dd0
mov eax, dword [ebp - 0x60]
shl eax, 2
call fcn.00466990
mov edx, dword [ebp - 0x44]
mov ecx, esp
push dword [ebp - 0x80]
mov dword [ebp - 0x98], ecx
mov eax, dword [edx + 0x44]
push eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xe4]
push dword [ebp - 0x58]
push dword [ebp - 0x8c]
push dword [edx + 0x34]
push dword [edx + 0x2c]
push dword [ebp - 0xcc]
push dword [edi + 0x38]
push dword [edx + 0x3c]
mov edx, dword [ebp - 0xc0]
push ecx
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0xe0]
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
push dword [ebp - 0x60]
call fcn.00442e90
add esp, 0x40
movss dword [ebp - 0xf4], xmm0
cmp dword [ebp - 0x68], 0
je 0x445bb5
mov eax, 0x55555556
mov ecx, 8
imul dword [ebp - 0xe4]
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [ebp - 0x98]
mov dword [ecx], eax
mov eax, dword [ebp - 0x60]
shl eax, 2
call fcn.00466990
mov eax, esp
mov ecx, edi
push dword [ebp - 0x48]
mov edx, eax
mov dword [ebp - 0xa4], eax
push dword [ebp - 0x58]
call fcn.00449950
mov ecx, dword [ebp - 0x64]
add esp, 8
mov edi, dword [ebp - 0x78]
mov dword [ebp - 0x5c], 6
mov dword [ebp - 0xe4], 0
lea edx, [ecx*8]
lea eax, [edx*8]
mov edi, dword [edi + 0x14]
mov edx, dword [esi + 0x1c]
bsr esi, edx
mov dword [ebp - 0xd0], eax
inc esi
lea ecx, [esi - 0x10]
shr edx, cl
mov ecx, edx
shr ecx, 0xc
sub ecx, 8
cmp dword [ecx*4 + 0x4a07c4], edx
sbb eax, eax
sub edi, esi
neg eax
shl edi, 3
sub edi, eax
mov eax, dword [ebp - 0x54]
sub edi, ecx
mov ecx, eax
mov dword [ebp - 0xc0], ecx
cmp eax, dword [ebp - 0x4c]
jge 0x445e89
mov edx, dword [ebp - 0x98]
mov esi, 0x30
lea eax, [edx + eax*4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xa4]
sub eax, edx
mov dword [ebp - 0x10c], eax
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x8c]
movsx edx, word [eax + ecx*2 + 2]
movsx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x58]
sub edx, eax
imul edx, dword [ebp - 0x48]
shl edx, cl
cmp edx, 0x30
mov ecx, edx
cmovl ecx, esi
lea eax, [edx*8]
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x104], ecx
xor edx, edx
mov ecx, dword [ebp - 0xd0]
xor esi, esi
sub ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x80], eax
lea eax, [edi + eax*8]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0xd8], esi
cmp eax, ecx
jge 0x445e58
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10c]
cmp edx, dword [ecx + eax]
jge 0x445e40
mov edi, dword [ebp - 0x78]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0x1c]
mov edx, eax
shr edx, cl
mov ecx, dword [ebp - 0x68]
sub eax, edx
cmp esi, ecx
jge 0x445d06
add dword [edi + 0x20], eax
cmp esi, ecx
cmovl eax, edx
mov ecx, edi
mov dword [edi + 0x1c], eax
call fcn.00440dd0
mov edx, dword [edi + 0x1c]
bsr esi, edx
mov edi, dword [edi + 0x14]
inc esi
lea ecx, [esi - 0x10]
shr edx, cl
mov ecx, edx
shr ecx, 0xc
sub ecx, 8
cmp dword [ecx*4 + 0x4a07c4], edx
sbb eax, eax
sub edi, esi
mov esi, dword [ebp - 0xd8]
neg eax
shl edi, 3
sub edi, eax
sub edi, ecx
cmp esi, dword [ebp - 0x68]
jge 0x445e3a
mov edx, dword [ebp - 0x104]
lea eax, [edi + 8]
mov ecx, dword [ebp - 0xc]
inc esi
add dword [ebp - 0xb4], edx
sub ecx, edx
add dword [ebp - 0xe4], edx
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0xd8], esi
cmp eax, ecx
jl 0x445cd1
jmp 0x445e40
cmp dword [ebp - 0x7c], 0
jne 0x445e0c
cmp dword [edx + 0x18], 3
jl 0x445e0c
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + ecx*4]
add eax, eax
cmp dword [ebp - 0xd8], eax
jl 0x445e0c
cmp dword [ebp - 0x54], 0
jne 0x445e0c
push dword [ebp - 0xd0]
xor eax, eax
cmp dword [ebp - 0x10c], eax
push ecx
push dword [ebp - 0xa4]
setne al
mov ecx, edi
push eax
lea eax, [edx + 0x64]
push eax
lea eax, [edx + 0x60]
push eax
push dword [edx + 0x50]
lea eax, [edx + 0x58]
mov edx, dword [ebp - 0x74]
push eax
call fcn.0044a330
mov ecx, dword [ebp - 0x44]
add esp, 0x20
lea edi, [eax + 0x4a02d4]
mov dword [ecx + 0x50], eax
mov ecx, dword [esi + 0x1c]
mov edx, ecx
mov dword [ebp - 0x68], edi
shr edx, 5
test eax, eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0x70]
jle 0x445e2d
jmp 0x445af3
cmp dword [edx + 0x18], 0
jne 0x445ad6
mov edi, dword [ebp - 0x70]
mov eax, 0x4a02d4
mov dword [edx + 0x50], 0
mov ecx, dword [esi + 0x1c]
mov edx, ecx
shr edx, 5
movzx eax, byte [eax]
imul eax, edx
sub ecx, eax
jmp 0x445b11
mov edx, dword [ebp - 0xb4]
test esi, esi
je 0x445e58
mov eax, dword [ebp - 0x5c]
dec eax
mov ecx, eax
cmp eax, 2
mov eax, 2
cmovl ecx, eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x6c]
mov esi, 0x30
mov ecx, dword [ebp - 0xc0]
inc ecx
mov dword [ebp - 0xc0], ecx
mov dword [eax], edx
add eax, 4
mov dword [ebp - 0x6c], eax
cmp ecx, dword [ebp - 0x4c]
jl 0x445c70
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x68], eax
jmp 0x445e8c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x70]
cmp edx, 2
jne 0x445f86
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x445eb9
push dword [ebp - 0xd4]
mov edx, dword [ebp - 0x74]
mov ecx, esi
push eax
call fcn.00442da0
add esp, 8
mov dword [ebp - 8], eax
mov eax, 0x10624dd3
imul dword [ebp - 0xac]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ecx, ecx
movd xmm1, eax
mov eax, 0x4a02d8
cvtdq2ps xmm1, xmm1
nop dword [eax]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
ja 0x445f16
movss xmm0, dword [ecx*4 + 0x4a02dc]
comiss xmm0, xmm1
ja 0x445f15
movss xmm0, dword [ecx*4 + 0x4a02e0]
comiss xmm0, xmm1
ja 0x445f10
add ecx, 3
cmp ecx, 0x15
jl 0x445ee0
jmp 0x445f16
add ecx, 2
jmp 0x445f16
inc ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xbc]
cmp ecx, eax
jle 0x445f3e
movss xmm0, dword [eax*4 + 0x4a02d8]
addss xmm0, dword [eax*4 + 0x4a0330]
comiss xmm0, xmm1
jbe 0x445f58
mov ecx, eax
jmp 0x445f58
jge 0x445f58
movss xmm0, dword [eax*4 + 0x4a02d4]
subss xmm0, dword [eax*4 + 0x4a032c]
comiss xmm1, xmm0
cmova ecx, eax
cmp dword [ebp - 0x54], ecx
mov eax, ecx
cmovg eax, dword [ebp - 0x54]
cmp dword [ebp - 0x4c], eax
jge 0x445f74
mov ecx, dword [ebp - 0x4c]
mov dword [edx + 0xbc], ecx
mov edx, dword [ebp - 0x48]
jmp 0x445f8c
cmp dword [ebp - 0x54], ecx
cmovg ecx, dword [ebp - 0x54]
mov dword [edx + 0xbc], ecx
mov edx, dword [ebp - 0x48]
jmp 0x445f8c
mov ecx, dword [ecx + 0xbc]
mov eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0xe4]
mov dword [ebp - 0xd0], eax
lea eax, [edi + 0x30]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x5c], 5
cmp eax, dword [ebp - 0xd0]
jg 0x446077
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x445fd4
mov edx, 5
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x8c], ecx
jmp 0x446038
movss xmm0, dword [ebp - 0xe8]
sub esp, 8
mov edi, dword [ebp - 0x44]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0xb8]
lea eax, [edi + 0xb8]
push ecx
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
lea eax, [edi + 0x78]
push eax
push dword [ebp - 0xd4]
push edx
push dword [ebp - 0x58]
mov edx, dword [ebp - 0x74]
push dword [ebp - 0x4c]
push dword [ebp - 0xe0]
call fcn.00442990
mov edx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x44]
add esp, 0x2c
mov dword [ebp - 0x68], eax
mov eax, dword [edi + 0xbc]
mov dword [ebp - 0x8c], eax
mov edi, dword [ebp - 0x78]
mov ecx, edi
push 7
push 0x4a0384
call fcn.00440ea0
mov edx, dword [edi + 0x1c]
add esp, 8
bsr esi, edx
mov edi, dword [edi + 0x14]
inc esi
lea ecx, [esi - 0x10]
shr edx, cl
mov ecx, edx
shr ecx, 0xc
sub ecx, 8
cmp dword [ecx*4 + 0x4a07c4], edx
sbb eax, eax
sub edi, esi
neg eax
shl edi, 3
sub edi, eax
sub edi, ecx
cmp dword [ebp - 0xfc], 0
jle 0x4462a5
mov esi, dword [ebp - 0x70]
mov ecx, 3
sub ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0xfc]
mov eax, dword [esi + 0x24]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x6c], eax
mov eax, 0x4fb
sar eax, cl
mov ecx, dword [ebp - 0x64]
cmp ecx, eax
cmovge ecx, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
shl eax, 6
sub edx, eax
sub edx, 0xa0
cmp dword [ecx + 0x34], 0
je 0x4460da
mov eax, dword [ecx + 0xac]
mov ecx, dword [ebp - 0x6c]
sar eax, cl
mov ecx, dword [ebp - 0x44]
add edx, eax
movss xmm0, dword [ebp - 0xf8]
sub esp, 8
xor eax, eax
cmp dword [ecx + 0xc0], eax
movss dword [esp + 4], xmm0
setne al
movss xmm0, dword [ebp - 0x9c]
movss dword [esp], xmm0
movss xmm0, dword [ebp - 0xf4]
push eax
push dword [ebp - 0x68]
push dword [ecx + 0x40]
push ecx
movss dword [esp], xmm0
push dword [ebp - 0x84]
movss xmm0, dword [ebp - 0xb8]
push ecx
movss dword [esp], xmm0
push dword [ebp - 0x10]
movss xmm0, dword [ecx + 0xb8]
push ecx
movss dword [esp], xmm0
push dword [ecx + 0x34]
push dword [ebp - 0x8c]
push dword [ebp - 0x48]
push dword [ecx + 0x5c]
push dword [ebp - 0xac]
push dword [ebp - 0x58]
push edx
lea edx, [ecx + 0x78]
mov ecx, esi
call fcn.00444120
mov edx, dword [ebp - 0xe4]
add eax, edi
mov esi, dword [ebp - 0xa8]
add edx, 0x3f
add edx, edi
add esp, 0x44
sar edx, 6
sub edx, esi
lea ecx, [eax + 0x20]
sar ecx, 6
add edx, 2
cmp edx, ecx
cmovg ecx, edx
mov edx, dword [ebp - 0x90]
lea edi, [ecx + esi]
cmp dword [ebp - 0x64], edi
cmovl edi, dword [ebp - 0x64]
sub eax, dword [ebp - 0xfc]
sub edi, esi
mov ecx, edi
shl ecx, 6
test edx, edx
je 0x4461b2
mov edi, 2
lea ecx, [edi + 0x7e]
xor esi, esi
test edx, edx
mov edx, dword [ebp - 0x44]
cmove esi, eax
mov eax, dword [edx + 0xb0]
cmp eax, 0x3ca
jge 0x4461e8
movss xmm1, dword [0x4a77b4]
inc eax
mov dword [edx + 0xb0], eax
add eax, 0x14
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x4461f0
movss xmm1, dword [0x4a762c]
cmp dword [edx + 0x34], 0
je 0x446271
mov eax, dword [edx + 0xa4]
sub eax, dword [ebp - 0xfc]
add eax, ecx
mov ecx, dword [ebp - 0x6c]
shl esi, cl
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0xa4], eax
mov edx, dword [edx + 0xa8]
mov dword [ebp - 0xf4], eax
sub esi, dword [ecx + 0xac]
sub esi, edx
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
add eax, edx
mov dword [ecx + 0xa8], eax
neg eax
mov dword [ecx + 0xac], eax
mov eax, dword [ebp - 0xf4]
test eax, eax
jns 0x446271
cdq
and edx, 0x3f
add eax, edx
xor edx, edx
sar eax, 6
neg eax
mov dword [ecx + 0xa4], edx
cmp dword [ebp - 0x90], edx
cmovne eax, edx
add edi, eax
mov eax, dword [ebp - 0xa8]
mov esi, dword [ebp - 0x78]
add eax, edi
mov edi, dword [ebp - 0x64]
cmp edi, eax
cmovge edi, eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov edx, dword [esi]
sub eax, ecx
add eax, edx
mov dword [ebp - 0x64], edi
push ecx
sub edx, ecx
push eax
add edx, edi
push edx
call fcn.004674e0
add esp, 0xc
mov dword [esi + 4], edi
mov eax, dword [ebp - 0x60]
lea esi, [eax*4]
mov eax, esi
call fcn.00466990
mov eax, esi
mov dword [ebp - 0xa8], esp
call fcn.00466990
mov edi, esp
mov eax, esi
mov dword [ebp - 0x10c], edi
call fcn.00466990
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb8], esp
mov eax, dword [eax + 0x1c]
bsr esi, eax
lea ecx, [esi - 0xf]
shr eax, cl
mov edx, eax
shr edx, 0xc
cmp dword [edx*4 + 0x4a07a4], eax
mov eax, dword [ebp - 0x64]
sbb ecx, ecx
sub edx, 9
neg ecx
lea eax, [eax*8 + 1]
add eax, esi
mov esi, dword [ebp - 0x78]
lea ecx, [ecx + eax*8]
mov eax, dword [esi + 0x14]
shl eax, 3
sub ecx, eax
add edx, ecx
cmp dword [ebp - 0xcc], 0
je 0x446338
mov eax, dword [ebp - 0x58]
cmp eax, 2
jl 0x446338
lea eax, [eax*8 + 0x10]
cmp edx, eax
jl 0x446338
mov eax, 8
jmp 0x44633a
xor eax, eax
mov ecx, dword [ebp - 0x4c]
sub edx, eax
mov dword [ebp - 0x6c], eax
dec ecx
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x78], 0
je 0x4463b3
mov ecx, dword [ebp - 0x48]
imul eax, ecx, 0x7d00
cmp dword [ebp - 0xac], eax
jge 0x446364
mov ecx, 0xd
jmp 0x4463a2
imul eax, ecx, 0xbb80
cmp dword [ebp - 0xac], eax
jge 0x446379
mov ecx, 0x10
jmp 0x4463a2
imul eax, ecx, 0xea60
cmp dword [ebp - 0xac], eax
jge 0x44638e
mov ecx, 0x12
jmp 0x4463a2
imul eax, ecx, 0x13880
xor ecx, ecx
cmp dword [ebp - 0xac], eax
setge cl
add ecx, 0x13
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x90]
cmp eax, ecx
cmovg ecx, eax
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x44], 0
cmovne ecx, dword [ebp - 0xf0]
push ecx
push dword [eax + 0x5c]
lea ecx, [ebp - 0xc]
add eax, 0xbc
push 1
push esi
push dword [ebp - 0x58]
push dword [ebp - 0x48]
push dword [ebp - 0xb8]
push dword [ebp - 0xa8]
push edi
mov edi, dword [ebp - 0x70]
push ecx
push edx
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x5c]
mov ecx, edi
push dword [ebp - 0xa4]
push dword [ebp - 0x98]
push dword [ebp - 0x4c]
call fcn.0044e350
mov edx, dword [ebp - 0x44]
mov ecx, eax
add esp, 0x44
mov dword [ebp - 0xb4], ecx
mov eax, dword [edx + 0x5c]
test eax, eax
je 0x44643a
dec eax
cmp eax, ecx
cmovg ecx, eax
mov eax, dword [edx + 0x5c]
inc eax
cmp eax, ecx
jl 0x44643c
mov ecx, dword [edx + 0x5c]
mov eax, dword [ebp - 0xb4]
dec ecx
cmp ecx, eax
cmovg eax, ecx
jmp 0x44643c
mov eax, ecx
mov ecx, dword [ebp - 0x54]
mov dword [edx + 0x5c], eax
mov dword [ebp - 0xf8], ecx
cmp ecx, dword [ebp - 0x4c]
jge 0x4465bf
mov eax, dword [ebp - 0xa8]
mov esi, ecx
lea eax, [eax + ecx*4]
mov dword [ebp - 0x9c], eax
mov ecx, dword [eax]
mov eax, 1
shl ax, cl
movzx eax, ax
test ecx, ecx
jle 0x44659d
movss xmm2, dword [0x4a7714]
xor ecx, ecx
mov edx, dword [ebp - 0x50]
cwde
mov dword [ebp - 0x84], ecx
movd xmm1, eax
dec eax
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0xf0], eax
movss dword [ebp - 0xf4], xmm1
mov eax, dword [edi + 8]
sub esp, 8
imul eax, ecx
add eax, esi
movss xmm0, dword [edx + eax*4]
addss xmm0, xmm2
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x108], xmm0
fld qword [ebp - 0x108]
fstp qword [esp]
call fcn.00485bd0
mov ecx, dword [ebp - 0xf0]
fstp qword [ebp - 0x108]
cvttsd2si eax, qword [ebp - 0x108]
cmp eax, ecx
cmovle ecx, eax
mov eax, dword [ebp - 0x9c]
xor esi, esi
test ecx, ecx
cmovns esi, ecx
mov ecx, dword [ebp - 0x78]
push dword [eax]
mov edx, esi
call fcn.00440f30
mov eax, dword [ebp - 0x9c]
mov ecx, 0xe
movss xmm2, dword [0x4a7714]
add esp, 0xc
mov edx, dword [ebp - 0xc4]
movd xmm0, esi
sub ecx, dword [eax]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x84]
mov esi, dword [ebp - 0xf8]
cvtdq2ps xmm0, xmm0
movd xmm1, eax
mov eax, dword [edi + 8]
addss xmm0, xmm2
cvtdq2ps xmm1, xmm1
imul eax, ecx
mulss xmm1, xmm0
mulss xmm1, dword [0x4a760c]
add eax, esi
subss xmm1, xmm2
movaps xmm0, xmm1
addss xmm0, dword [edx + eax*4]
movss dword [edx + eax*4], xmm0
mov eax, dword [edi + 8]
mov edx, dword [ebp - 0x50]
imul eax, ecx
inc ecx
mov dword [ebp - 0x84], ecx
add eax, esi
movss xmm0, dword [edx + eax*4]
subss xmm0, xmm1
movss xmm1, dword [ebp - 0xf4]
movss dword [edx + eax*4], xmm0
cmp ecx, dword [ebp - 0x48]
jl 0x4464a1
mov eax, dword [ebp - 0x9c]
inc esi
add eax, 4
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x9c], eax
cmp esi, dword [ebp - 0x4c]
jl 0x446462
mov esi, dword [ebp - 0x78]
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x48]
call fcn.00466990
cmp dword [ebp - 0x48], 2
mov edx, esp
jne 0x4465e1
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xd4]
lea ecx, [eax + ecx*4]
jmp 0x4465e3
xor ecx, ecx
mov eax, dword [ebp - 0x44]
push dword [eax + 0x48]
add eax, 0x4c
push eax
push dword [ebp - 0xb4]
mov eax, dword [ebp - 0x64]
push dword [ebp - 0x58]
shl eax, 6
sub eax, dword [ebp - 0x6c]
push esi
push dword [ebp - 0xc]
push eax
push dword [ebp - 0xbc]
mov eax, dword [ebp - 0x44]
push dword [eax + 0xbc]
push dword [ebp - 8]
push dword [eax + 0x50]
push dword [ebp - 0x7c]
push dword [ebp - 0x10c]
push dword [ebp - 0xdc]
push edx
push ecx
push dword [ebp - 0x74]
mov edx, edi
mov ecx, 1
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
call fcn.0044c4d0
add esp, 0x4c
cmp dword [ebp - 0x6c], 0
jbe 0x446660
mov eax, dword [ebp - 0x44]
xor edx, edx
push 1
mov ecx, esi
cmp dword [eax + 0x74], 2
setl dl
call fcn.00440f30
add esp, 4
bsr ecx, dword [esi + 0x1c]
mov eax, dword [ebp - 0x64]
xorps xmm3, xmm3
movss xmm2, dword [0x4a7714]
shl eax, 3
sub eax, dword [esi + 0x14]
mov esi, dword [ebp - 0x54]
inc eax
add ecx, eax
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0xbc], edx
nop
mov edi, esi
cmp esi, eax
jge 0x446796
mov eax, dword [ebp - 0xa8]
lea eax, [eax + esi*4]
mov esi, dword [ebp - 0xb8]
sub esi, dword [ebp - 0xa8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xf4], esi
nop dword [eax + eax]
cmp ecx, dword [ebp - 0x48]
jl 0x446790
cmp dword [eax], 8
jge 0x446780
cmp dword [esi + eax], edx
jne 0x446780
xor esi, esi
nop dword [eax]
mov eax, dword [ebp - 0x70]
xor ecx, ecx
mov edx, dword [ebp - 0x50]
push 1
mov eax, dword [eax + 8]
imul eax, esi
add eax, edi
comiss xmm3, dword [edx + eax*4]
setbe cl
mov dword [ebp - 0xf0], ecx
mov edx, ecx
mov ecx, dword [ebp - 0x78]
call fcn.00440f30
mov eax, dword [ebp - 0x70]
mov ecx, 0xd
movd xmm0, dword [ebp - 0xf0]
add esp, 4
cvtdq2ps xmm0, xmm0
mov edx, dword [eax + 8]
mov eax, dword [ebp - 8]
imul edx, esi
inc esi
subss xmm0, xmm2
sub ecx, dword [eax]
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x84]
add edx, edi
dec ecx
mov dword [ebp - 0x84], ecx
movd xmm1, eax
mov eax, dword [ebp - 0xc4]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
mulss xmm1, dword [0x4a760c]
addss xmm1, dword [eax + edx*4]
movss dword [eax + edx*4], xmm1
cmp esi, dword [ebp - 0x48]
jl 0x4466e0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xf4]
inc edi
add eax, 4
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 0x4c]
jl 0x4466c0
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x54]
inc edx
mov dword [ebp - 0xbc], edx
cmp edx, 2
jl 0x446690
cmp dword [ebp - 0x90], 0
mov esi, dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
je 0x4467ce
mov ecx, esi
imul ecx, eax
test ecx, ecx
jle 0x4467ce
mov edi, dword [ebp - 0xc4]
mov eax, 0xc1e00000
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x88], 2
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0xc8]
movss xmm0, dword [ebp - 0xb0]
mov edi, dword [ebp - 0xc4]
mov dword [ecx + 0x68], edx
mov edx, dword [ebp - 0x94]
movss dword [ecx + 0x6c], xmm0
mov dword [ecx + 0x70], edx
jne 0x446819
cmp eax, 1
jne 0x446819
lea eax, [esi*4]
push eax
lea eax, [edi + esi*4]
push edi
push eax
call fcn.004674e0
add esp, 0xc
imul esi, dword [ebp - 0x88]
cmp dword [ebp - 0xcc], 0
mov dword [ebp - 0x94], esi
jne 0x44686e
mov edx, dword [ebp - 0xa0]
lea eax, [esi*4]
push eax
mov eax, dword [ebp - 0xec]
push edx
add eax, edx
push eax
call fcn.004674e0
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x88]
shl eax, 2
push eax
push edi
push dword [ebp - 0xa0]
call fcn.004674e0
add esp, 0x18
jmp 0x446a08
xor edx, edx
test esi, esi
jle 0x446a08
cmp esi, 0x10
jb 0x446932
mov ecx, dword [ebp - 0xa0]
add ecx, 0xfffffffc
lea ecx, [ecx + esi*4]
dec esi
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x94]
cmp dword [ebp - 0xa0], eax
ja 0x4468a7
cmp ecx, edi
jae 0x446932
mov eax, esi
and eax, 0x8000000f
jns 0x4468b5
dec eax
or eax, 0xfffffff0
inc eax
mov ecx, esi
add edi, 0x30
sub ecx, eax
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xa0]
add ecx, 0x10
nop dword [eax + eax]
movups xmm0, xmmword [edi - 0x30]
mov eax, ecx
add edx, 0x10
movups xmm1, xmmword [ecx - 0x10]
sub eax, dword [ebp - 0xec]
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 - 0xb0]
jl 0x4468d0
mov esi, dword [ebp - 0x94]
cmp eax, esi
jge 0x446a08
mov eax, esi
sub eax, edx
cmp eax, 4
jl 0x4469d8
mov edi, dword [ebp - 0xc4]
mov eax, esi
mov ecx, dword [ebp - 0xa0]
sub eax, edx
sub eax, 4
add edi, 0xc
add ecx, 4
shr eax, 2
inc eax
mov dword [ebp - 0xb0], eax
mov esi, eax
lea edi, [edi + edx*4]
lea ecx, [ecx + edx*4]
lea edx, [edx + eax*4]
mov dword [ebp - 0xf0], edx
mov edx, dword [ebp - 0xec]
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 0x446980
mov edx, dword [ebp - 0xf0]
mov esi, dword [ebp - 0x94]
cmp edx, esi
jge 0x446a08
mov eax, dword [ebp - 0xa0]
sub esi, edx
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0xec]
nop dword [eax]
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 0x4469f0
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov edi, dword [ebp - 0xec]
add edi, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xec]
mov dword [ebp - 0xc8], edx
mov edx, dword [ebp - 0x60]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x90], edi
lea edi, [edi + ecx*4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0xac], edi
lea ecx, [esi + eax]
lea ecx, [ecx + edx*4]
add ecx, 0xfffffffc
lea edx, [esi + eax]
mov esi, dword [ebp - 0xc4]
mov dword [ebp - 0xb8], ecx
mov ecx, dword [ebp - 0x54]
dec ecx
lea ecx, [edx + ecx*4]
mov dword [ebp - 0xa8], ecx
mov ecx, eax
mov eax, dword [ebp - 0x90]
sub ecx, edx
sub esi, edx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x94], esi
nop dword [eax + eax]
xor edx, edx
cmp dword [ebp - 0x54], edx
jle 0x446c0f
cmp dword [ebp - 0x54], 4
jb 0x446bae
mov edi, dword [ebp - 0x90]
lea eax, [ecx + edi]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x84], eax
ja 0x446ad2
add eax, ecx
cmp eax, edi
jae 0x446bae
mov eax, dword [ebp - 0xa8]
lea edi, [esi + eax]
cmp dword [ebp - 0x84], edi
mov dword [ebp - 0xb0], edi
mov edi, dword [ebp - 0x90]
ja 0x446af6
add ecx, eax
lea eax, [esi + edi]
cmp ecx, eax
jae 0x446bae
cmp edi, dword [ebp - 0xb0]
ja 0x446b0d
lea eax, [esi + edi]
cmp dword [ebp - 0xa8], eax
jae 0x446bae
mov ecx, dword [ebp - 0x54]
mov eax, ecx
and eax, 0x80000003
jns 0x446b1e
dec eax
or eax, 0xfffffffc
inc eax
sub ecx, eax
add edx, 4
cmp edx, ecx
jl 0x446b20
mov edi, dword [ebp - 0x7c]
lea eax, [ecx + 3]
mov dword [ebp - 0xf0], edx
mov esi, dword [ebp - 0xa0]
cdq
and edx, 3
mov dword [ebp - 0xb0], 0xc1e00000
add edx, eax
xor eax, eax
sar edx, 2
shl edx, 4
mov dword [ebp - 0x84], edx
mov ecx, edx
mov edx, dword [ebp - 0xc4]
shr ecx, 2
lea edi, [edx + edi*4]
mov edx, dword [ebp - 0xec]
add edx, dword [ebp - 0xa0]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0xb0]
shr ecx, 2
lea edi, [edx + edi*4]
mov edx, dword [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x84]
lea edi, [esi + edx*4]
mov esi, dword [ebp - 0x94]
shr ecx, 2
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xf0]
mov edx, eax
cmp eax, dword [ebp - 0x54]
jge 0x446c03
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0xec]
add eax, edx
add edi, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xa0]
sub esi, edi
sub ecx, edi
mov dword [ebp - 0x94], esi
lea eax, [edi + eax*4]
mov dword [ebp - 0x8c], ecx
mov edi, dword [ebp - 0x54]
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 0x446be3
jmp 0x446c09
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x4c]
cmp edx, edi
mov edi, dword [ebp - 0xac]
jge 0x446d5b
cmp dword [ebp - 0x50], 4
jb 0x446cfc
lea eax, [ecx + edi]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x84], eax
ja 0x446c54
add eax, ecx
cmp eax, edi
jae 0x446cfc
mov eax, dword [ebp - 0xb8]
lea edi, [esi + eax]
cmp dword [ebp - 0x84], edi
mov dword [ebp - 0xb0], edi
mov edi, dword [ebp - 0xac]
ja 0x446c78
add ecx, eax
lea eax, [esi + edi]
cmp ecx, eax
jae 0x446cfc
cmp edi, dword [ebp - 0xb0]
ja 0x446c8b
lea eax, [esi + edi]
cmp dword [ebp - 0xb8], eax
jae 0x446cfc
mov eax, dword [ebp - 0x50]
and eax, 0x80000003
jns 0x446c9a
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [ebp - 0x60]
sub ecx, eax
nop
add edx, 4
cmp edx, ecx
jl 0x446ca0
sub ecx, dword [ebp - 0x4c]
add edi, esi
mov dword [ebp - 0xb0], 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 - 0xac]
mov ecx, edx
shr ecx, 2
mov eax, 0xc1e00000
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0xac]
add edi, dword [ebp - 0x8c]
shr edx, 2
mov ecx, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xb0]
mov edx, eax
cmp eax, dword [ebp - 0x60]
jge 0x446d4f
mov eax, dword [ebp - 0x7c]
mov edi, dword [ebp - 0xec]
add eax, edx
add edi, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xa0]
sub esi, edi
sub ecx, edi
mov dword [ebp - 0x94], esi
lea eax, [edi + eax*4]
mov dword [ebp - 0x8c], ecx
mov edi, dword [ebp - 0x60]
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 0x446d31
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0xac]
mov edx, dword [ebp - 0x60]
mov ecx, edx
add dword [ebp - 0x7c], edx
inc dword [ebp - 0xc8]
lea edx, [ecx*4]
mov ecx, dword [ebp - 0x8c]
add dword [ebp - 0xa8], edx
add eax, edx
add dword [ebp - 0xb8], edx
add edi, edx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xac], edi
cmp edx, dword [ebp - 0x88]
jl 0x446a90
cmp dword [ebp - 0xcc], 0
jne 0x446dc2
cmp dword [ebp - 0x110], 0
jne 0x446dc2
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x74], 0
jmp 0x446dc8
mov eax, dword [ebp - 0x44]
inc dword [eax + 0x74]
mov esi, dword [ebp - 0x78]
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x4c], ecx
mov ecx, esi
call fcn.00440fa0
cmp dword [esi + 0x2c], 0
mov ecx, 0xfffffffd
mov eax, dword [ebp - 0x64]
cmovne eax, ecx
jmp 0x446dec
or eax, 0xffffffff
lea esp, [ebp - 0x130]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004661fb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret