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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xcb8
mov ecx, dword [ebp + 0x1c]
lea eax, [esp + 0x768]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x760], eax
lea eax, [esp + 0x258]
mov dword [esp + 0x250], eax
push esi
mov eax, dword [edx + 0xc]
sub eax, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
inc eax
add esi, dword [edx + 4]
push edi
mov edi, dword [ecx]
add edi, dword [edx]
mov edx, dword [edx + 8]
sub edx, dword [ecx + 8]
movsd xmm0, qword [0x652b8c28]
inc edx
mov dword [esp + 0x40], eax
sub eax, esi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xe8], edx
sub edx, edi
mov dword [esp + 0xac], esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xec], edi
mov edi, dword [eax + 0xc]
mov ecx, dword [esi + 4]
add ecx, dword [eax + 4]
mov edx, dword [esi]
add edx, dword [eax]
mov eax, dword [eax + 8]
sub eax, dword [esi + 8]
sub edi, dword [esi + 0xc]
inc eax
mov dword [esp + 0x10], eax
inc edi
sub eax, edx
mov dword [esp + 0x14], edx
mov edx, edi
mov dword [esp + 0x44], ecx
sub edx, ecx
mov dword [esp + 0xcc], eax
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x1d0]
movsd qword [esp + 0x98], xmm0
mov esi, 3
mov dword [esp + 0x1c8], eax
xorps xmm0, xmm0
lea eax, [esp + 0x140]
movsd qword [esp + 0x90], xmm0
cmp dword [ecx], 0
mov dword [esp + 0x764], 0
mov dword [esp + 0x760], 0x10
mov dword [esp + 0x254], 0
mov dword [esp + 0x250], 0x10
mov dword [esp + 0xa4], edx
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c0], 0x10
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], eax
mov dword [esp + 0x130], 0x10
mov dword [esp + 0x1c], 3
mov dword [esp + 0x24], esi
je 0x6505c646
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x6505c646
movd xmm1, dword [esp + 0xcc]
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [esp + 0x50], xmm1
fld qword [esp + 0x50]
fstp qword [esp]
call fcn.652afdef
mov edx, dword [esp + 0xac]
add esp, 8
fstp qword [esp + 0x48]
cvttsd2si eax, qword [esp + 0x48]
mov ecx, esi
add eax, 2
cmp eax, esi
cmovg ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x20]
cmp dword [ecx + 4], 0
je 0x6505c697
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x6505c697
movd xmm1, edx
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm1, xmm1
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [esp + 0x50], xmm1
fld qword [esp + 0x50]
fstp qword [esp]
call fcn.652afdef
fstp qword [esp + 0x50]
cvttsd2si eax, qword [esp + 0x50]
add esp, 8
add eax, 2
cmp eax, 3
cmovg esi, eax
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c0]
inc eax
push eax
call fcn.650605a0
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x134]
call fcn.650605a0
mov ecx, dword [ebp + 8]
push 1
call dword [0x652b34e0]
mov ecx, dword [ebp + 8]
mov esi, dword [0x652b3958]
mov byte [esp + 0x2b], al
call esi
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
call edx
cmp eax, 7
mov eax, dword [0x652b34e4]
mov dword [esp + 0x12c], eax
je 0x6505c733
mov ecx, dword [ebp + 8]
call esi
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x50]
call eax
cmp eax, 0xe
je 0x6505c733
cmp byte [esp + 0x2b], 0
je 0x6505c733
mov esi, dword [ebp + 8]
lea eax, [esp + 0xc70]
push eax
mov ecx, esi
call dword [0x652b3500]
mov ecx, eax
call dword [0x652b3518]
test eax, eax
je 0x6505c733
push 0
push 1
mov ecx, esi
call dword [esp + 0x134]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x1c8]
mov edx, dword [esp + 0x1c]
movd xmm2, dword [esp + 0xcc]
movd xmm0, dword [ecx]
cvtdq2pd xmm0, xmm0
movd xmm1, dword [esp + 0xa4]
movsd qword [eax], xmm0
mov eax, dword [esp + 0x1c8]
movd xmm0, dword [esp + 0x14]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm2, xmm2
movsd qword [eax + 8], xmm0
mov eax, dword [esp + 0x1c8]
movd xmm0, dword [esp + 0x10]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [eax + edx*8 - 8], xmm0
mov eax, dword [ecx + 8]
inc eax
movsd qword [esp + 0x120], xmm2
movsd qword [esp + 0x48], xmm1
movd xmm0, eax
mov eax, dword [esp + 0x1c8]
cvtdq2pd xmm0, xmm0
movsd qword [eax + edx*8], xmm0
movd xmm0, dword [ecx + 4]
mov eax, dword [esp + 0x138]
cvtdq2pd xmm0, xmm0
movsd qword [eax], xmm0
movd xmm0, dword [esp + 0x44]
mov eax, dword [esp + 0x138]
cvtdq2pd xmm0, xmm0
movsd qword [eax + 8], xmm0
mov eax, dword [esp + 0x138]
movd xmm0, edi
mov edi, dword [esp + 0x24]
cvtdq2pd xmm0, xmm0
movsd qword [eax + edi*8 - 8], xmm0
mov eax, dword [ecx + 0xc]
inc eax
movd xmm0, eax
mov eax, dword [esp + 0x138]
cvtdq2pd xmm0, xmm0
movsd qword [eax + edi*8], xmm0
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
sub eax, 0
je 0x6505c848
sub eax, 1
je 0x6505c83b
sub eax, 1
jne 0x6505c851
lea eax, [edx - 2]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm2, xmm0
jmp 0x6505c848
movd xmm2, dword [esp + 0xa8]
cvtdq2pd xmm2, xmm2
movsd qword [esp + 0x120], xmm2
lea esi, [edx - 1]
mov ecx, 2
cmp esi, ecx
jle 0x6505c8fb
lea eax, [esi - 2]
cmp eax, 4
jl 0x6505c8e0
lea edx, [esi - 3]
nop dword [eax]
mov eax, dword [esp + 0x1c8]
movsd xmm0, qword [eax + ecx*8 - 8]
addsd xmm0, xmm2
movsd qword [eax + ecx*8], xmm0
mov eax, dword [esp + 0x1c8]
movsd xmm0, qword [eax + ecx*8]
addsd xmm0, xmm2
movsd qword [eax + ecx*8 + 8], xmm0
mov eax, dword [esp + 0x1c8]
movsd xmm0, qword [eax + ecx*8 + 8]
addsd xmm0, xmm2
movsd qword [eax + ecx*8 + 0x10], xmm0
mov eax, dword [esp + 0x1c8]
movsd xmm0, qword [eax + ecx*8 + 0x10]
addsd xmm0, xmm2
movsd qword [eax + ecx*8 + 0x18], xmm0
add ecx, 4
mov eax, ecx
cmp ecx, edx
jl 0x6505c870
cmp eax, esi
jge 0x6505c8fb
nop word [eax + eax]
mov eax, dword [esp + 0x1c8]
movsd xmm0, qword [eax + ecx*8 - 8]
addsd xmm0, xmm2
movsd qword [eax + ecx*8], xmm0
inc ecx
cmp ecx, esi
jl 0x6505c8e0
mov eax, dword [ebp + 0x20]
mov eax, dword [eax + 4]
sub eax, 0
je 0x6505c92b
sub eax, 1
je 0x6505c921
sub eax, 1
jne 0x6505c931
lea eax, [edi - 2]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
jmp 0x6505c92b
movd xmm1, dword [esp + 0x2c]
cvtdq2pd xmm1, xmm1
movsd qword [esp + 0x48], xmm1
lea esi, [edi - 1]
mov ecx, 2
mov dword [esp + 0x44], esi
cmp esi, ecx
jle 0x6505c9db
lea eax, [esi - 2]
cmp eax, 4
jl 0x6505c9c0
lea edx, [esi - 3]
mov eax, dword [esp + 0x138]
movsd xmm0, qword [eax + ecx*8 - 8]
addsd xmm0, xmm1
movsd qword [eax + ecx*8], xmm0
mov eax, dword [esp + 0x138]
movsd xmm0, qword [eax + ecx*8]
addsd xmm0, xmm1
movsd qword [eax + ecx*8 + 8], xmm0
mov eax, dword [esp + 0x138]
movsd xmm0, qword [eax + ecx*8 + 8]
addsd xmm0, xmm1
movsd qword [eax + ecx*8 + 0x10], xmm0
mov eax, dword [esp + 0x138]
movsd xmm0, qword [eax + ecx*8 + 0x10]
addsd xmm0, xmm1
movsd qword [eax + ecx*8 + 0x18], xmm0
add ecx, 4
mov eax, ecx
cmp ecx, edx
jl 0x6505c950
cmp eax, esi
jge 0x6505c9db
nop word [eax + eax]
mov eax, dword [esp + 0x138]
movsd xmm0, qword [eax + ecx*8 - 8]
addsd xmm0, xmm1
movsd qword [eax + ecx*8], xmm0
inc ecx
cmp ecx, esi
jl 0x6505c9c0
mov edi, dword [ebp + 0x10]
mov eax, dword [0x652b3f38]
movaps xmm6, xmmword [esp + 0x90]
movsd xmm1, qword [0x652b8c10]
cmp dword [edi + 4], 0
mov dword [esp + 0x20], eax
mov eax, dword [0x652b3f30]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x1c]
movaps xmmword [esp + 0xb0], xmm6
movsd qword [esp + 0x30], xmm1
jle 0x6505d02b
cmp dword [edi], 0
jle 0x6505ccfa
mov edx, dword [eax + 4]
test edx, edx
jle 0x6505ccfa
mov ecx, dword [eax]
test ecx, ecx
jle 0x6505ccfa
test byte [ebp + 0x24], 1
mov eax, dword [esp + 0x1c8]
movsd xmm4, qword [eax]
movsd xmm5, qword [eax + 8]
movaps xmm0, xmm4
mov eax, dword [esp + 0x138]
addsd xmm0, xmm5
subsd xmm5, xmm4
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mov eax, dword [ebp + 0x18]
mulsd xmm0, xmm1
movsd qword [esp + 0x50], xmm0
movaps xmm0, xmm2
addsd xmm0, xmm3
subsd xmm3, xmm2
mulsd xmm0, xmm1
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movsd qword [esp + 0x58], xmm0
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
divsd xmm3, xmm1
movsd qword [esp + 0x60], xmm0
movd xmm0, dword [eax + 4]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x68], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x88], xmm3
divsd xmm5, xmm0
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x80], xmm5
je 0x6505cbd9
mov esi, dword [esp + 0x764]
mov edx, dword [esp + 0x760]
cmp esi, edx
jne 0x6505cbbd
mov ecx, dword [esp + 0x768]
lea edi, [esi + esi]
mov eax, ecx
mov dword [esp + 0x10], eax
cmp edi, edx
je 0x6505cb76
cmp edi, 0x10
jle 0x6505cb2b
lea eax, [edi + edi*4]
shl eax, 4
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x760], edi
mov ecx, eax
jmp 0x6505cb3d
lea ecx, [esp + 0x770]
mov dword [esp + 0x760], 0x10
lea eax, [esi + esi*4]
mov dword [esp + 0x768], ecx
shl eax, 4
push eax
push dword [esp + 0x14]
mov dword [esp + 0x76c], 0
push ecx
call fcn.652afd9b
mov ecx, dword [esp + 0x774]
add esp, 0xc
movaps xmm6, xmmword [esp + 0xb0]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x770]
mov dword [esp + 0x764], esi
cmp eax, edx
je 0x6505cba3
cmp eax, ecx
je 0x6505cba3
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x76c]
add esp, 4
movaps xmm6, xmmword [esp + 0xb0]
mov edi, dword [ebp + 0x10]
lea eax, [esi + 1]
mov dword [esp + 0x764], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, ecx
jmp 0x6505ccc7
lea eax, [esi + 1]
mov dword [esp + 0x764], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, dword [esp + 0x768]
jmp 0x6505ccc7
mov esi, dword [esp + 0x254]
mov edx, dword [esp + 0x250]
cmp esi, edx
jne 0x6505ccb0
mov ecx, dword [esp + 0x258]
lea edi, [esi + esi]
mov eax, ecx
mov dword [esp + 0x10], eax
cmp edi, edx
je 0x6505cc6c
cmp edi, 0x10
jle 0x6505cc21
lea eax, [edi + edi*4]
shl eax, 4
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x250], edi
mov ecx, eax
jmp 0x6505cc33
lea ecx, [esp + 0x260]
mov dword [esp + 0x250], 0x10
lea eax, [esi + esi*4]
mov dword [esp + 0x258], ecx
shl eax, 4
push eax
push dword [esp + 0x14]
mov dword [esp + 0x25c], 0
push ecx
call fcn.652afd9b
mov ecx, dword [esp + 0x264]
add esp, 0xc
movaps xmm6, xmmword [esp + 0xb0]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x260]
mov dword [esp + 0x254], esi
cmp eax, edx
je 0x6505cc99
cmp eax, ecx
je 0x6505cc99
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x25c]
add esp, 4
movaps xmm6, xmmword [esp + 0xb0]
mov edi, dword [ebp + 0x10]
lea eax, [esi + 1]
mov dword [esp + 0x254], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, ecx
jmp 0x6505ccc7
lea eax, [esi + 1]
mov dword [esp + 0x254], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, dword [esp + 0x258]
movups xmm0, xmmword [esp + 0x50]
movsd xmm1, qword [esp + 0x30]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm6
mov eax, dword [ebp + 0x1c]
cmp dword [edi + 4], 0
jle 0x6505d02b
cmp dword [edi + 8], 0
jle 0x6505d02b
mov edx, dword [eax + 4]
test edx, edx
jle 0x6505d02b
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x6505d02b
test byte [ebp + 0x24], 4
mov eax, dword [esp + 0x1c8]
mov esi, dword [esp + 0x1c]
movsd xmm5, qword [eax + esi*8]
movsd xmm4, qword [eax + esi*8 - 8]
movaps xmm0, xmm5
mov eax, dword [esp + 0x138]
addsd xmm0, xmm4
subsd xmm5, xmm4
movsd xmm2, qword [eax]
movsd xmm3, qword [eax + 8]
mulsd xmm0, xmm1
mov eax, dword [ebp + 0x18]
movsd qword [esp + 0x50], xmm0
movaps xmm0, xmm2
addsd xmm0, xmm3
subsd xmm3, xmm2
mulsd xmm0, xmm1
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movsd qword [esp + 0x58], xmm0
movd xmm0, dword [esp + 0xe8]
cvtdq2pd xmm0, xmm0
divsd xmm3, xmm1
movsd qword [esp + 0x60], xmm0
movd xmm0, dword [eax + 4]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x68], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x88], xmm3
divsd xmm5, xmm0
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x80], xmm5
je 0x6505cef1
mov esi, dword [esp + 0x764]
mov edx, dword [esp + 0x760]
cmp esi, edx
jne 0x6505ced5
mov ecx, dword [esp + 0x768]
lea edi, [esi + esi]
mov eax, ecx
mov dword [esp + 0x10], eax
cmp edi, edx
je 0x6505ce64
cmp edi, 0x10
jle 0x6505ce21
lea eax, [edi + edi*4]
shl eax, 4
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x760], edi
mov ecx, eax
jmp 0x6505ce33
lea ecx, [esp + 0x770]
mov dword [esp + 0x760], 0x10
lea eax, [esi + esi*4]
mov dword [esp + 0x768], ecx
shl eax, 4
push eax
push dword [esp + 0x14]
mov dword [esp + 0x76c], 0
push ecx
call fcn.652afd9b
mov ecx, dword [esp + 0x774]
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x770]
mov dword [esp + 0x764], esi
cmp eax, edx
je 0x6505ce89
cmp eax, ecx
je 0x6505ce89
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x76c]
add esp, 4
movups xmm0, xmmword [esp + 0x50]
lea eax, [esi + 1]
mov edi, dword [ebp + 0x10]
movaps xmm6, xmmword [esp + 0xb0]
mov dword [esp + 0x764], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, ecx
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm6
jmp 0x6505d033
lea eax, [esi + 1]
mov dword [esp + 0x764], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, dword [esp + 0x768]
jmp 0x6505d001
mov esi, dword [esp + 0x254]
mov edx, dword [esp + 0x250]
cmp esi, edx
jne 0x6505cfea
mov ecx, dword [esp + 0x258]
lea edi, [esi + esi]
mov eax, ecx
mov dword [esp + 0x10], eax
cmp edi, edx
je 0x6505cf7c
cmp edi, 0x10
jle 0x6505cf39
lea eax, [edi + edi*4]
shl eax, 4
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x250], edi
mov ecx, eax
jmp 0x6505cf4b
lea ecx, [esp + 0x260]
mov dword [esp + 0x250], 0x10
lea eax, [esi + esi*4]
mov dword [esp + 0x258], ecx
shl eax, 4
push eax
push dword [esp + 0x14]
mov dword [esp + 0x25c], 0
push ecx
call fcn.652afd9b
mov ecx, dword [esp + 0x264]
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x260]
mov dword [esp + 0x254], esi
cmp eax, edx
je 0x6505cfa1
cmp eax, ecx
je 0x6505cfa1
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x25c]
add esp, 4
movups xmm0, xmmword [esp + 0x50]
lea eax, [esi + 1]
mov edi, dword [ebp + 0x10]
movaps xmm6, xmmword [esp + 0xb0]
mov dword [esp + 0x254], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, ecx
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm6
jmp 0x6505d033
lea eax, [esi + 1]
mov dword [esp + 0x254], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, dword [esp + 0x258]
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm6
movaps xmm6, xmmword [esp + 0xb0]
cmp dword [edi + 0xc], 0
mov ecx, dword [ebp + 0x1c]
jle 0x6505d20e
cmp dword [edi], 0
jle 0x6505d20e
mov edx, dword [ecx + 0xc]
test edx, edx
jle 0x6505d20e
mov ecx, dword [ecx]
movsd xmm7, qword [esp + 0x30]
mov edi, dword [esp + 0x40]
test ecx, ecx
jle 0x6505d391
test byte [ebp + 0x24], 0x40
mov eax, dword [esp + 0x1c8]
mov esi, dword [esp + 0x24]
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movsd xmm4, qword [eax]
movsd xmm5, qword [eax + 8]
movaps xmm0, xmm4
mov eax, dword [esp + 0x138]
addsd xmm0, xmm5
subsd xmm5, xmm4
movsd qword [esp + 0x78], xmm1
movsd xmm3, qword [eax + esi*8]
movsd xmm2, qword [eax + esi*8 - 8]
mov eax, dword [ebp + 0x18]
mulsd xmm0, xmm7
movsd qword [esp + 0x50], xmm0
movaps xmm0, xmm3
addsd xmm0, xmm2
subsd xmm3, xmm2
mulsd xmm0, xmm7
divsd xmm3, xmm1
movsd qword [esp + 0x58], xmm0
movd xmm0, dword [eax]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x88], xmm3
movsd qword [esp + 0x60], xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm5, xmm0
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x80], xmm5
je 0x6505d399
mov esi, dword [esp + 0x764]
mov edx, dword [esp + 0x760]
cmp esi, edx
jne 0x6505d350
mov ecx, dword [esp + 0x768]
lea edi, [esi + esi]
mov eax, ecx
mov dword [esp + 0x10], eax
cmp edi, edx
je 0x6505d1a2
cmp edi, 0x10
jle 0x6505d15f
lea eax, [edi + edi*4]
shl eax, 4
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x760], edi
mov ecx, eax
jmp 0x6505d171
lea ecx, [esp + 0x770]
mov dword [esp + 0x760], 0x10
lea eax, [esi + esi*4]
mov dword [esp + 0x768], ecx
shl eax, 4
push eax
push dword [esp + 0x14]
mov dword [esp + 0x76c], 0
push ecx
call fcn.652afd9b
mov ecx, dword [esp + 0x774]
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x770]
mov dword [esp + 0x764], esi
cmp eax, edx
je 0x6505d1c7
cmp eax, ecx
je 0x6505d1c7
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x76c]
add esp, 4
lea eax, [esi + 1]
mov dword [esp + 0x764], eax
movups xmm0, xmmword [esp + 0x50]
lea eax, [esi + esi*4]
shl eax, 4
add eax, ecx
mov ecx, dword [ebp + 0x1c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x30], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movups xmmword [eax + 0x40], xmm0
movsd xmm7, qword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0xc], 0
jle 0x6505d616
cmp dword [eax + 8], 0
jle 0x6505d616
mov edx, dword [ecx + 0xc]
test edx, edx
jle 0x6505d616
mov ecx, dword [ecx + 8]
test ecx, ecx
jle 0x6505d616
test dword [ebp + 0x24], 0x100
mov eax, dword [esp + 0x1c8]
mov esi, dword [esp + 0x1c]
movd xmm1, edx
cvtdq2pd xmm1, xmm1
movsd xmm5, qword [eax + esi*8]
movsd xmm4, qword [eax + esi*8 - 8]
movaps xmm0, xmm5
mov eax, dword [esp + 0x138]
addsd xmm0, xmm4
mov esi, dword [esp + 0x24]
subsd xmm5, xmm4
movsd qword [esp + 0x78], xmm1
movsd xmm3, qword [eax + esi*8]
mulsd xmm0, xmm7
movsd qword [esp + 0x50], xmm0
movaps xmm0, xmm3
addsd xmm0, qword [eax + esi*8 - 8]
subsd xmm3, qword [eax + esi*8 - 8]
mulsd xmm0, xmm7
divsd xmm3, xmm1
movsd qword [esp + 0x58], xmm0
movd xmm0, dword [esp + 0xe8]
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x88], xmm3
movsd qword [esp + 0x60], xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movsd qword [esp + 0x68], xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm5, xmm0
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x80], xmm5
je 0x6505d507
mov esi, dword [esp + 0x764]
mov edx, dword [esp + 0x760]
cmp esi, edx
jne 0x6505d4eb
mov ecx, dword [esp + 0x768]
lea edi, [esi + esi]
mov eax, ecx
mov dword [esp + 0x10], eax
cmp edi, edx
je 0x6505d4b7
cmp edi, 0x10
jle 0x6505d474
lea eax, [edi + edi*4]
shl eax, 4
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x760], edi
mov ecx, eax
jmp 0x6505d486
lea eax, [esi + 1]
mov dword [esp + 0x764], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, dword [esp + 0x768]
movups xmm0, xmmword [esp + 0x50]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm6
mov ecx, dword [ebp + 0x1c]
jmp 0x6505d218
mov esi, dword [esp + 0x254]
mov edx, dword [esp + 0x250]
cmp esi, edx
jne 0x6505d458
mov ecx, dword [esp + 0x258]
lea edi, [esi + esi]
mov eax, ecx
mov dword [esp + 0x10], eax
cmp edi, edx
je 0x6505d424
cmp edi, 0x10
jle 0x6505d3e1
lea eax, [edi + edi*4]
shl eax, 4
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x250], edi
mov ecx, eax
jmp 0x6505d3f3
lea ecx, [esp + 0x260]
mov dword [esp + 0x250], 0x10
lea eax, [esi + esi*4]
mov dword [esp + 0x258], ecx
shl eax, 4
push eax
push dword [esp + 0x14]
mov dword [esp + 0x25c], 0
push ecx
call fcn.652afd9b
mov ecx, dword [esp + 0x264]
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x260]
mov dword [esp + 0x254], esi
cmp eax, edx
je 0x6505d449
cmp eax, ecx
je 0x6505d449
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x25c]
add esp, 4
lea eax, [esi + 1]
mov dword [esp + 0x254], eax
jmp 0x6505d1d1
lea eax, [esi + 1]
mov dword [esp + 0x254], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, dword [esp + 0x258]
jmp 0x6505d367
lea ecx, [esp + 0x770]
mov dword [esp + 0x760], 0x10
lea eax, [esi + esi*4]
mov dword [esp + 0x768], ecx
shl eax, 4
push eax
push dword [esp + 0x14]
mov dword [esp + 0x76c], 0
push ecx
call fcn.652afd9b
mov ecx, dword [esp + 0x774]
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x770]
mov dword [esp + 0x764], esi
cmp eax, edx
je 0x6505d4dc
cmp eax, ecx
je 0x6505d4dc
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x76c]
add esp, 4
lea eax, [esi + 1]
mov dword [esp + 0x764], eax
jmp 0x6505d5c1
lea eax, [esi + 1]
mov dword [esp + 0x764], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, dword [esp + 0x768]
jmp 0x6505d5c9
mov esi, dword [esp + 0x254]
mov edx, dword [esp + 0x250]
cmp esi, edx
jne 0x6505d5fd
mov ecx, dword [esp + 0x258]
lea edi, [esi + esi]
mov eax, ecx
mov dword [esp + 0x10], eax
cmp edi, edx
je 0x6505d592
cmp edi, 0x10
jle 0x6505d54f
lea eax, [edi + edi*4]
shl eax, 4
push eax
call dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x250], edi
mov ecx, eax
jmp 0x6505d561
lea ecx, [esp + 0x260]
mov dword [esp + 0x250], 0x10
lea eax, [esi + esi*4]
mov dword [esp + 0x258], ecx
shl eax, 4
push eax
push dword [esp + 0x14]
mov dword [esp + 0x25c], 0
push ecx
call fcn.652afd9b
mov ecx, dword [esp + 0x264]
add esp, 0xc
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x260]
mov dword [esp + 0x254], esi
cmp eax, edx
je 0x6505d5b7
cmp eax, ecx
je 0x6505d5b7
push eax
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x25c]
add esp, 4
lea eax, [esi + 1]
mov dword [esp + 0x254], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, ecx
movups xmm0, xmmword [esp + 0x50]
movaps xmm5, xmmword [esp + 0xb0]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x30], xmm0
movups xmmword [eax + 0x40], xmm5
jmp 0x6505d61e
lea eax, [esi + 1]
mov dword [esp + 0x254], eax
lea eax, [esi + esi*4]
shl eax, 4
add eax, dword [esp + 0x258]
jmp 0x6505d5c9
movaps xmm5, xmmword [esp + 0xb0]
cmp dword [esp + 0xcc], 0
jle 0x6505db22
mov edx, dword [esp + 0xa8]
test edx, edx
jle 0x6505db22
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
cmp dword [edi + 4], 0
jle 0x6505d8b1
mov eax, dword [ecx + 4]
test eax, eax
jle 0x6505d8b1
movd xmm0, dword [esp + 0xec]
lea ecx, [esp + 0x250]
test byte [ebp + 0x24], 2
lea esi, [esp + 0x760]
cvtdq2pd xmm0, xmm0
cmove esi, ecx
mov ecx, dword [ebp + 0x18]
movsd xmm6, qword [esp + 0x120]
movsd qword [esp + 0x60], xmm0
movd xmm0, dword [ecx + 4]
mov ecx, 1
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x14], ecx
movd xmm4, eax
mov eax, dword [esp + 0x138]
movsd qword [esp + 0x68], xmm0
movd xmm3, edx
cvtdq2pd xmm3, xmm3
mov edx, dword [esp + 0x1c]
movsd xmm2, qword [eax + 8]
movsd xmm0, qword [eax]
cvtdq2pd xmm4, xmm4
addsd xmm0, xmm2
movsd xmm7, qword [esp + 0x30]
subsd xmm2, qword [eax]
divsd xmm6, xmm3
lea eax, [edx - 1]
movsd qword [esp + 0x70], xmm3
mulsd xmm0, xmm7
movsd qword [esp + 0x78], xmm4
movsd qword [esp + 0xd0], xmm6
movsd qword [esp + 0x80], xmm6
movsd qword [esp + 0x58], xmm0
divsd xmm2, xmm4
movsd qword [esp + 0x88], xmm2
cmp eax, ecx
jle 0x6505d877
movaps xmm1, xmmword [esp + 0x80]
movaps xmm2, xmmword [esp + 0x70]
movaps xmm3, xmmword [esp + 0x60]
movaps xmmword [esp + 0xf0], xmm1
movaps xmmword [esp + 0x100], xmm2
movaps xmmword [esp + 0x110], xmm3
mov eax, dword [esp + 0x1c8]
mov edi, dword [esi + 4]
mov edx, dword [esi]
movsd xmm0, qword [eax + ecx*8 + 8]
addsd xmm0, qword [eax + ecx*8]
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], ecx
mulsd xmm0, xmm7
movsd qword [esp + 0x50], xmm0
cmp edi, edx
jne 0x6505d82d
lea eax, [edi + edi]
mov dword [esp + 0x3c], eax
cmp eax, edx
je 0x6505d7df
cmp eax, 0x10
jle 0x6505d79c
lea eax, [eax + eax*4]
shl eax, 4
push eax
call dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x40]
add esp, 4
jmp 0x6505d7a4
mov eax, 0x10
lea edx, [esi + 0x10]
mov dword [esi + 8], edx
mov dword [esi], eax
lea eax, [edi + edi*4]
shl eax, 4
push eax
push ecx
push dword [esi + 8]
mov dword [esi + 4], 0
call fcn.652afd9b
movaps xmm1, xmmword [esp + 0xfc]
add esp, 0xc
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0x110]
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
cmp ecx, eax
je 0x6505d80e
cmp ecx, dword [esi + 8]
je 0x6505d80e
push ecx
call dword [esp + 0x1c]
movaps xmm1, xmmword [esp + 0xf4]
add esp, 4
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0x110]
movaps xmm5, xmmword [esp + 0xb0]
lea eax, [edi + 1]
movsd xmm7, qword [esp + 0x30]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, dword [esi + 8]
jmp 0x6505d83b
lea eax, [edi + 1]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, ecx
movups xmm0, xmmword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
movups xmmword [eax], xmm0
inc ecx
movups xmmword [eax + 0x10], xmm3
mov dword [esp + 0x14], ecx
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm1
movups xmmword [eax + 0x40], xmm5
lea eax, [edx - 1]
cmp ecx, eax
jl 0x6505d742
movsd xmm6, qword [esp + 0xd0]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x20]
cmp dword [eax], 1
jne 0x6505d8a7
mov eax, dword [esp + 0x1c8]
movsd xmm0, qword [eax + edx*8 - 8]
subsd xmm0, qword [eax + edx*8 - 0x10]
mov eax, dword [esi + 4]
divsd xmm0, xmm6
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 - 0x30], xmm0
mov edx, dword [esp + 0xa8]
mov ecx, dword [ebp + 0x1c]
cmp dword [edi + 0xc], 0
jle 0x6505db22
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x6505db22
movd xmm0, dword [esp + 0xec]
lea ecx, [esp + 0x250]
test byte [ebp + 0x24], 0x80
lea esi, [esp + 0x760]
movsd xmm6, qword [esp + 0x120]
cvtdq2pd xmm0, xmm0
cmove esi, ecx
mov ecx, dword [esp + 0x24]
movd xmm4, eax
mov eax, dword [esp + 0x138]
movsd qword [esp + 0x60], xmm0
movd xmm0, dword [esp + 0x40]
cvtdq2pd xmm0, xmm0
movsd xmm2, qword [eax + ecx*8]
movd xmm3, edx
movsd qword [esp + 0x68], xmm0
movaps xmm0, xmm2
subsd xmm2, qword [eax + ecx*8 - 8]
cvtdq2pd xmm3, xmm3
mov edx, dword [esp + 0x1c]
cvtdq2pd xmm4, xmm4
divsd xmm6, xmm3
divsd xmm2, xmm4
addsd xmm0, qword [eax + ecx*8 - 8]
movsd xmm7, qword [esp + 0x30]
lea eax, [edx - 1]
mov ecx, 1
movsd qword [esp + 0x70], xmm3
movsd qword [esp + 0x78], xmm4
movsd qword [esp + 0xd0], xmm6
mulsd xmm0, xmm7
mov dword [esp + 0x10], ecx
movsd qword [esp + 0x80], xmm6
movsd qword [esp + 0x88], xmm2
movsd qword [esp + 0x58], xmm0
cmp eax, ecx
jle 0x6505daf2
movaps xmm1, xmmword [esp + 0x80]
movaps xmm2, xmmword [esp + 0x70]
movaps xmm3, xmmword [esp + 0x60]
movaps xmmword [esp + 0x110], xmm1
movaps xmmword [esp + 0x100], xmm2
movaps xmmword [esp + 0xf0], xmm3
nop word [eax + eax]
mov eax, dword [esp + 0x1c8]
mov edi, dword [esi + 4]
mov edx, dword [esi]
movsd xmm0, qword [eax + ecx*8 + 8]
addsd xmm0, qword [eax + ecx*8]
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], ecx
mulsd xmm0, xmm7
movsd qword [esp + 0x50], xmm0
cmp edi, edx
jne 0x6505daab
lea eax, [edi + edi]
mov dword [esp + 0x3c], eax
cmp eax, edx
je 0x6505da5d
cmp eax, 0x10
jle 0x6505da1a
lea eax, [eax + eax*4]
shl eax, 4
push eax
call dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x40]
add esp, 4
jmp 0x6505da22
mov eax, 0x10
lea edx, [esi + 0x10]
mov dword [esi + 8], edx
mov dword [esi], eax
lea eax, [edi + edi*4]
shl eax, 4
push eax
push ecx
push dword [esi + 8]
mov dword [esi + 4], 0
call fcn.652afd9b
movaps xmm1, xmmword [esp + 0x11c]
add esp, 0xc
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xf0]
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
cmp ecx, eax
je 0x6505da8c
cmp ecx, dword [esi + 8]
je 0x6505da8c
push ecx
call dword [esp + 0x1c]
movaps xmm1, xmmword [esp + 0x114]
add esp, 4
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xf0]
movaps xmm5, xmmword [esp + 0xb0]
lea eax, [edi + 1]
movsd xmm7, qword [esp + 0x30]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, dword [esi + 8]
jmp 0x6505dab9
lea eax, [edi + 1]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, ecx
movups xmm0, xmmword [esp + 0x50]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
movups xmmword [eax], xmm0
inc ecx
movups xmmword [eax + 0x10], xmm3
mov dword [esp + 0x10], ecx
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm1
movups xmmword [eax + 0x40], xmm5
lea eax, [edx - 1]
cmp ecx, eax
jl 0x6505d9c0
movsd xmm6, qword [esp + 0xd0]
mov eax, dword [ebp + 0x20]
cmp dword [eax], 1
jne 0x6505db22
mov eax, dword [esp + 0x1c8]
movsd xmm0, qword [eax + edx*8 - 8]
subsd xmm0, qword [eax + edx*8 - 0x10]
mov eax, dword [esi + 4]
divsd xmm0, xmm6
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 - 0x30], xmm0
mov edi, dword [esp + 0xa4]
mov ecx, dword [esp + 0x2c]
test edi, edi
jle 0x6505e02a
test ecx, ecx
jle 0x6505e02a
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
cmp dword [edi], 0
jle 0x6505dda8
mov eax, dword [ecx]
test eax, eax
jle 0x6505dda8
test byte [ebp + 0x24], 8
lea ecx, [esp + 0x250]
movd xmm3, dword [esp + 0x2c]
lea esi, [esp + 0x760]
cmove esi, ecx
movsd xmm1, qword [esp + 0x48]
mov ecx, dword [ebp + 0x18]
movd xmm4, eax
mov eax, dword [esp + 0x1c8]
cvtdq2pd xmm4, xmm4
movd xmm0, dword [ecx]
mov ecx, 1
movsd xmm2, qword [eax + 8]
cvtdq2pd xmm0, xmm0
mov dword [esp + 0x10], ecx
cvtdq2pd xmm3, xmm3
movsd qword [esp + 0x60], xmm0
movd xmm0, dword [esp + 0xac]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm3
movsd qword [esp + 0x68], xmm0
movsd xmm0, qword [eax]
addsd xmm0, xmm2
movsd xmm6, qword [esp + 0x30]
subsd xmm2, qword [eax]
movsd qword [esp + 0x70], xmm4
movsd qword [esp + 0x78], xmm3
movsd qword [esp + 0xd0], xmm1
mulsd xmm0, xmm6
divsd xmm2, xmm4
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x80], xmm2
movsd qword [esp + 0x88], xmm1
cmp dword [esp + 0x44], ecx
jle 0x6505dd70
movaps xmm1, xmmword [esp + 0x80]
movaps xmm2, xmmword [esp + 0x70]
movaps xmm3, xmmword [esp + 0x60]
movaps xmmword [esp + 0x110], xmm1
movaps xmmword [esp + 0x100], xmm2
movaps xmmword [esp + 0xf0], xmm3
nop dword [eax + eax]
mov eax, dword [esp + 0x138]
mov edi, dword [esi + 4]
mov edx, dword [esi]
movsd xmm0, qword [eax + ecx*8 + 8]
addsd xmm0, qword [eax + ecx*8]
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], ecx
mulsd xmm0, xmm6
movsd qword [esp + 0x58], xmm0
cmp edi, edx
jne 0x6505dd2b
lea eax, [edi + edi]
mov dword [esp + 0x3c], eax
cmp eax, edx
je 0x6505dcdd
cmp eax, 0x10
jle 0x6505dc9a
lea eax, [eax + eax*4]
shl eax, 4
push eax
call dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x40]
add esp, 4
jmp 0x6505dca2
mov eax, 0x10
lea edx, [esi + 0x10]
mov dword [esi + 8], edx
mov dword [esi], eax
lea eax, [edi + edi*4]
shl eax, 4
push eax
push ecx
push dword [esi + 8]
mov dword [esi + 4], 0
call fcn.652afd9b
movaps xmm1, xmmword [esp + 0x11c]
add esp, 0xc
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xf0]
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
cmp ecx, eax
je 0x6505dd0c
cmp ecx, dword [esi + 8]
je 0x6505dd0c
push ecx
call dword [esp + 0x1c]
movaps xmm1, xmmword [esp + 0x114]
add esp, 4
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xf0]
movaps xmm5, xmmword [esp + 0xb0]
lea eax, [edi + 1]
movsd xmm6, qword [esp + 0x30]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, dword [esi + 8]
jmp 0x6505dd39
lea eax, [edi + 1]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, ecx
movups xmm0, xmmword [esp + 0x50]
mov ecx, dword [esp + 0x10]
inc ecx
movups xmmword [eax], xmm0
mov dword [esp + 0x10], ecx
movups xmmword [eax + 0x10], xmm3
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm1
movups xmmword [eax + 0x40], xmm5
cmp ecx, dword [esp + 0x44]
jl 0x6505dc40
movsd xmm1, qword [esp + 0xd0]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x20]
cmp dword [eax + 4], 1
jne 0x6505dda5
mov eax, dword [esp + 0x138]
mov ecx, dword [esp + 0x24]
movsd xmm0, qword [eax + ecx*8 - 8]
subsd xmm0, qword [eax + ecx*8 - 0x10]
mov eax, dword [esi + 4]
divsd xmm0, xmm1
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 - 0x28], xmm0
mov ecx, dword [ebp + 0x1c]
cmp dword [edi + 8], 0
jle 0x6505e01f
mov eax, dword [ecx + 8]
test eax, eax
jle 0x6505e01f
movd xmm0, dword [esp + 0xe8]
lea ecx, [esp + 0x250]
test byte [ebp + 0x24], 0x20
lea esi, [esp + 0x760]
movd xmm3, dword [esp + 0x2c]
movsd xmm1, qword [esp + 0x48]
cmove esi, ecx
mov ecx, dword [esp + 0x1c]
cvtdq2pd xmm0, xmm0
movd xmm4, eax
mov eax, dword [esp + 0x1c8]
movsd qword [esp + 0x60], xmm0
movd xmm0, dword [esp + 0xac]
cvtdq2pd xmm0, xmm0
movsd xmm2, qword [eax + ecx*8]
movsd qword [esp + 0x68], xmm0
movaps xmm0, xmm2
subsd xmm2, qword [eax + ecx*8 - 8]
cvtdq2pd xmm4, xmm4
cvtdq2pd xmm3, xmm3
divsd xmm2, xmm4
divsd xmm1, xmm3
addsd xmm0, qword [eax + ecx*8 - 8]
movsd xmm6, qword [esp + 0x30]
mov ecx, 1
movsd qword [esp + 0x70], xmm4
movsd qword [esp + 0x78], xmm3
movsd qword [esp + 0x80], xmm2
mulsd xmm0, xmm6
mov dword [esp + 0x10], ecx
movsd qword [esp + 0xd0], xmm1
movsd qword [esp + 0x88], xmm1
movsd qword [esp + 0x50], xmm0
cmp dword [esp + 0x44], ecx
jle 0x6505dfdd
movaps xmm1, xmmword [esp + 0x80]
movaps xmm2, xmmword [esp + 0x70]
movaps xmm3, xmmword [esp + 0x60]
movaps xmmword [esp + 0x110], xmm1
movaps xmmword [esp + 0x100], xmm2
movaps xmmword [esp + 0xf0], xmm3
nop dword [eax + eax]
mov eax, dword [esp + 0x138]
mov edi, dword [esi + 4]
mov edx, dword [esi]
movsd xmm0, qword [eax + ecx*8 + 8]
addsd xmm0, qword [eax + ecx*8]
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], ecx
mulsd xmm0, xmm6
movsd qword [esp + 0x58], xmm0
cmp edi, edx
jne 0x6505df9b
lea eax, [edi + edi]
mov dword [esp + 0x3c], eax
cmp eax, edx
je 0x6505df4d
cmp eax, 0x10
jle 0x6505df0a
lea eax, [eax + eax*4]
shl eax, 4
push eax
call dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x40]
add esp, 4
jmp 0x6505df12
mov eax, 0x10
lea edx, [esi + 0x10]
mov dword [esi + 8], edx
mov dword [esi], eax
lea eax, [edi + edi*4]
shl eax, 4
push eax
push ecx
push dword [esi + 8]
mov dword [esi + 4], 0
call fcn.652afd9b
movaps xmm1, xmmword [esp + 0x11c]
add esp, 0xc
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xf0]
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
cmp ecx, eax
je 0x6505df7c
cmp ecx, dword [esi + 8]
je 0x6505df7c
push ecx
call dword [esp + 0x1c]
movaps xmm1, xmmword [esp + 0x114]
add esp, 4
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xf0]
movaps xmm5, xmmword [esp + 0xb0]
lea eax, [edi + 1]
movsd xmm6, qword [esp + 0x30]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, dword [esi + 8]
jmp 0x6505dfa9
lea eax, [edi + 1]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, ecx
movups xmm0, xmmword [esp + 0x50]
mov ecx, dword [esp + 0x10]
inc ecx
movups xmmword [eax], xmm0
mov dword [esp + 0x10], ecx
movups xmmword [eax + 0x10], xmm3
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm1
movups xmmword [eax + 0x40], xmm5
cmp ecx, dword [esp + 0x44]
jl 0x6505deb0
movsd xmm1, qword [esp + 0xd0]
mov eax, dword [ebp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0xa4]
cmp dword [eax + 4], 1
jne 0x6505e019
mov eax, dword [esp + 0x138]
movsd xmm0, qword [eax + edx*8 - 8]
subsd xmm0, qword [eax + edx*8 - 0x10]
mov eax, dword [esi + 4]
divsd xmm0, xmm1
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 - 0x28], xmm0
mov ecx, dword [esp + 0x2c]
jmp 0x6505e02e
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0xa4]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0xcc], 0
jle 0x6505e3aa
test edi, edi
jle 0x6505e3aa
mov eax, dword [esp + 0xa8]
test eax, eax
jle 0x6505e3aa
test ecx, ecx
jle 0x6505e3aa
movd xmm0, dword [esp + 0xec]
lea edi, [esp + 0x250]
cvtdq2pd xmm0, xmm0
lea esi, [esp + 0x760]
test byte [ebp + 0x24], 0x10
cmove esi, edi
mov edi, dword [esp + 0x1c]
movsd xmm2, qword [esp + 0x48]
movsd xmm3, qword [esp + 0x120]
movsd qword [esp + 0x60], xmm0
movd xmm0, dword [esp + 0xac]
cvtdq2pd xmm0, xmm0
movd xmm1, ecx
movsd qword [esp + 0x68], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov eax, dword [esp + 0x1c8]
cvtdq2pd xmm1, xmm1
divsd xmm3, xmm0
divsd xmm2, xmm1
movsd xmm4, qword [eax + edi*8 - 8]
subsd xmm4, qword [eax + edi*8 - 0x10]
mov eax, dword [esp + 0x138]
movsd qword [esp + 0x70], xmm0
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x80], xmm3
movsd xmm0, qword [eax + edx*8 - 8]
subsd xmm0, qword [eax + edx*8 - 0x10]
divsd xmm4, xmm3
mov edx, 1
mov dword [esp + 0xac], edx
movsd qword [esp + 0x88], xmm2
divsd xmm0, xmm2
movsd qword [esp + 0xd0], xmm4
movsd qword [esp + 0x48], xmm0
cmp dword [esp + 0x44], edx
jle 0x6505e30a
movaps xmm1, xmmword [esp + 0x80]
movaps xmm2, xmmword [esp + 0x70]
movaps xmm3, xmmword [esp + 0x60]
movsd xmm6, qword [esp + 0x30]
movaps xmmword [esp + 0x110], xmm1
movaps xmmword [esp + 0x100], xmm2
movaps xmmword [esp + 0xf0], xmm3
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + 0x138]
mov ecx, 1
mov dword [esp + 0x10], ecx
movsd xmm0, qword [eax + edx*8 + 8]
addsd xmm0, qword [eax + edx*8]
lea eax, [edi - 1]
mulsd xmm0, xmm6
movsd qword [esp + 0x58], xmm0
cmp eax, ecx
jle 0x6505e2d9
mov eax, dword [esp + 0x1c8]
mov edi, dword [esi + 4]
mov edx, dword [esi]
movsd xmm0, qword [eax + ecx*8 + 8]
addsd xmm0, qword [eax + ecx*8]
mov ecx, dword [esi + 8]
mov dword [esp + 0x14], ecx
mulsd xmm0, xmm6
movsd qword [esp + 0x50], xmm0
cmp edi, edx
jne 0x6505e28b
lea eax, [edi + edi]
mov dword [esp + 0x3c], eax
cmp eax, edx
je 0x6505e23d
cmp eax, 0x10
jle 0x6505e1fa
lea eax, [eax + eax*4]
shl eax, 4
push eax
call dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, eax
mov eax, dword [esp + 0x40]
add esp, 4
jmp 0x6505e202
mov eax, 0x10
lea edx, [esi + 0x10]
mov dword [esi + 8], edx
mov dword [esi], eax
lea eax, [edi + edi*4]
shl eax, 4
push eax
push ecx
push dword [esi + 8]
mov dword [esi + 4], 0
call fcn.652afd9b
movaps xmm1, xmmword [esp + 0x11c]
add esp, 0xc
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xf0]
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x10]
mov dword [esi + 4], edi
cmp ecx, eax
je 0x6505e26c
cmp ecx, dword [esi + 8]
je 0x6505e26c
push ecx
call dword [esp + 0x1c]
movaps xmm1, xmmword [esp + 0x114]
add esp, 4
movaps xmm2, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xf0]
movaps xmm5, xmmword [esp + 0xb0]
lea eax, [edi + 1]
movsd xmm6, qword [esp + 0x30]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, dword [esi + 8]
jmp 0x6505e299
lea eax, [edi + 1]
mov dword [esi + 4], eax
lea eax, [edi + edi*4]
shl eax, 4
add eax, ecx
movups xmm0, xmmword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
movups xmmword [eax], xmm0
inc ecx
movups xmmword [eax + 0x10], xmm3
mov dword [esp + 0x10], ecx
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm1
movups xmmword [eax + 0x40], xmm5
lea eax, [edi - 1]
cmp ecx, eax
jl 0x6505e1a0
movsd xmm4, qword [esp + 0xd0]
mov edx, dword [esp + 0xac]
mov eax, dword [ebp + 0x20]
cmp dword [eax], 1
jne 0x6505e2f2
mov eax, dword [esi + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 - 0x30], xmm4
inc edx
mov dword [esp + 0xac], edx
cmp edx, dword [esp + 0x44]
jl 0x6505e170
movsd xmm0, qword [esp + 0x48]
mov eax, dword [ebp + 0x20]
cmp dword [eax + 4], 1
jne 0x6505e3aa
mov edi, dword [esp + 0x1c]
mov edx, 1
dec edi
cmp edi, edx
jle 0x6505e3aa
cmp edi, 4
jle 0x6505e392
add edi, 0xfffffffd
mov eax, dword [esi + 4]
sub eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 + 0x28], xmm0
mov eax, dword [esi + 4]
sub eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 - 0x28], xmm0
mov eax, dword [esi + 4]
sub eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 - 0x78], xmm0
mov eax, dword [esi + 4]
sub eax, edx
add edx, 4
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 - 0xc8], xmm0
mov eax, edx
cmp edx, edi
jl 0x6505e331
mov edi, dword [esp + 0x1c]
dec edi
cmp eax, edi
jge 0x6505e3aa
mov eax, dword [esi + 4]
sub eax, edx
inc edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
add ecx, ecx
movsd qword [eax + ecx*8 + 0x28], xmm0
cmp edx, edi
jl 0x6505e392
mov edx, dword [esp + 0x764]
mov esi, dword [ebp + 0x14]
mov edi, dword [0x652b34e8]
test edx, edx
je 0x6505e3d6
mov ecx, dword [esp + 0x768]
push ecx
mov eax, esp
push esi
push edx
push ecx
mov ecx, dword [ebp + 8]
mov dword [eax], 1
call edi
mov eax, dword [esp + 0x254]
test eax, eax
je 0x6505e3f5
push 0
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
push dword [esp + 0x264]
call edi
jmp 0x6505e3f8
mov esi, dword [ebp + 8]
cmp byte [esp + 0x2b], 0
je 0x6505e40c
push 1
push 1
mov ecx, esi
call dword [esp + 0x134]
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x140]
mov esi, dword [esp + 0x18]
cmp eax, ecx
je 0x6505e428
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x1c8]
lea ecx, [esp + 0x1d0]
cmp eax, ecx
je 0x6505e440
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x258]
lea ecx, [esp + 0x260]
cmp eax, ecx
je 0x6505e458
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x768]
lea ecx, [esp + 0x770]
cmp eax, ecx
je 0x6505e470
push eax
call esi
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret