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

Disassembly:
push esi
push edi
push ebx
sub esp, 0x60
mov dword [esp + 0x40], ecx
mov ecx, eax
mov eax, dword [esp + 0x7c]
movsd xmm0, qword [0x690390]
divsd xmm0, qword [edx]
mov ebx, dword [eax]
movsd xmm1, qword [ecx]
test ebx, ebx
jle 0x5a7dd1
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 4], ecx
lea edx, [eax + 1]
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x44]
jg 0x5a75d6
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
add ecx, edx
cmp ecx, 8
jl 0x5a7dca
mov ebx, ecx
lea esi, [eax + eax*2]
shl esi, 4
xor edi, edi
add esi, dword [esp + 0x40]
and ebx, 0xfffffff8
xor edx, edx
nop dword [eax + eax]
movaps xmm2, xmm0
movaps xmm3, xmm0
movaps xmm4, xmm0
movaps xmm5, xmm0
mulsd xmm2, xmm1
add edi, 8
mulsd xmm3, xmm1
mulsd xmm4, xmm1
mulsd xmm5, xmm1
movsd qword [edx + esi], xmm2
movsd qword [edx + esi + 0x28], xmm2
movsd qword [edx + esi + 0x50], xmm3
movsd qword [edx + esi + 0x78], xmm3
movsd qword [edx + esi + 0xa0], xmm4
movsd qword [edx + esi + 0xc8], xmm4
movsd qword [edx + esi + 0xf0], xmm5
movsd qword [edx + esi + 0x118], xmm5
add edx, 0x140
cmp edi, ebx
jb 0x5a74f0
lea edx, [ebx + 1]
cmp edx, ecx
ja 0x5a75d6
sub ecx, ebx
cmp ecx, 2
jl 0x5a7dc3
mov edx, dword [esp + 0x40]
mov esi, ecx
and esi, 0xfffffffe
xor edi, edi
mov dword [esp + 8], esi
lea esi, [eax + ebx]
lea edx, [edx + eax*8]
mov dword [esp], eax
lea esi, [esi + esi*4]
mov eax, edi
lea edx, [edx + esi*8]
mov esi, dword [esp + 8]
movaps xmm2, xmm0
add eax, 2
mulsd xmm2, xmm1
movsd qword [edi + edx], xmm2
movsd qword [edi + edx + 0x28], xmm2
add edi, 0x50
cmp eax, esi
jb 0x5a758a
mov eax, dword [esp]
lea edi, [esi + esi*4]
shl edi, 3
cmp esi, ecx
jae 0x5a75d6
mov edx, dword [esp + 0x40]
lea edx, [edx + eax*8]
add eax, ebx
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
movaps xmm2, xmm0
inc esi
mulsd xmm2, xmm1
movsd qword [edi + eax], xmm2
add edi, 0x28
cmp esi, ecx
jb 0x5a75c2
mov eax, dword [esp + 0xc]
dec dword [esp + 0x10]
cmp eax, dword [esp + 0x44]
jb 0x5a74b4
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 4]
cmp ebx, 8
jl 0x5a7db4
lea eax, [ecx + 8]
and eax, 0xf
je 0x5a760e
test al, 7
jne 0x5a7dad
mov eax, 1
lea edx, [eax + 8]
cmp ebx, edx
jl 0x5a7dad
mov edx, ebx
sub edx, eax
and edx, 7
neg edx
add edx, ebx
test eax, eax
jbe 0x5a765d
xor edi, edi
mov dword [esp + 0x44], ebx
xor esi, esi
mov dword [esp], edx
mov ebx, dword [esp + 0x40]
movsd xmm1, qword [ecx + edi*8 + 8]
lea edx, [ebx + edi*8]
mulsd xmm1, xmm0
inc edi
addsd xmm1, qword [edx + esi]
movsd qword [edx + esi], xmm1
add esi, 0x28
cmp edi, eax
jb 0x5a7637
mov edx, dword [esp]
mov ebx, dword [esp + 0x44]
movaps xmm1, xmm0
lea esi, [eax + eax*4]
shl esi, 3
unpcklpd xmm1, xmm1
mov dword [esp + 0x44], ebx
mov edi, dword [esp + 0x40]
movaps xmm2, xmm1
lea ebx, [edi + eax*8]
mulpd xmm2, xmmword [ecx + eax*8 + 8]
add ebx, esi
movaps xmm4, xmm1
movaps xmm6, xmm1
add esi, 0x140
mulpd xmm4, xmmword [ecx + eax*8 + 0x18]
mulpd xmm6, xmmword [ecx + eax*8 + 0x28]
movsd xmm3, qword [ebx]
movhpd xmm3, qword [ebx + 0x30]
addpd xmm3, xmm2
movaps xmm2, xmm1
mulpd xmm2, xmmword [ecx + eax*8 + 0x38]
movsd qword [ebx], xmm3
add eax, 8
movhpd qword [ebx + 0x30], xmm3
movsd xmm5, qword [ebx + 0x60]
movsd xmm7, qword [ebx + 0xc0]
movsd xmm3, qword [ebx + 0x120]
movhpd xmm7, qword [ebx + 0xf0]
movhpd xmm5, qword [ebx + 0x90]
movhpd xmm3, qword [ebx + 0x150]
addpd xmm5, xmm4
addpd xmm7, xmm6
addpd xmm3, xmm2
movsd qword [ebx + 0x60], xmm5
movhpd qword [ebx + 0x90], xmm5
movsd qword [ebx + 0xc0], xmm7
movhpd qword [ebx + 0xf0], xmm7
movsd qword [ebx + 0x120], xmm3
movhpd qword [ebx + 0x150], xmm3
cmp eax, edx
jb 0x5a7672
mov ebx, dword [esp + 0x44]
cmp edx, ebx
jae 0x5a7d98
mov edi, dword [esp + 0x40]
lea eax, [edx + edx*4]
shl eax, 3
movsd xmm1, qword [ecx + edx*8 + 8]
lea esi, [edi + edx*8]
mulsd xmm1, xmm0
inc edx
addsd xmm1, qword [esi + eax]
movsd qword [esi + eax], xmm1
add eax, 0x28
cmp edx, ebx
jb 0x5a773e
lea eax, [ebx - 1]
cmp ebx, 2
jle 0x5a7c21
cmp eax, 3
jl 0x5a7bd1
xor edi, edi
lea esi, [ebx - 3]
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x30]
lea edx, [eax + 3]
cmp edx, dword [esp + 0x44]
jg 0x5a7bae
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
lea ecx, [eax + edx - 2]
mov dword [esp + 0x4c], ecx
cmp ecx, 8
jl 0x5a7d54
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 4]
lea ecx, [eax + eax*2]
lea ebx, [edx + ecx*8]
mov dword [esp + 0x54], ebx
and ebx, 0xf
mov dword [esp + 0x50], ebx
je 0x5a77e7
test byte [esp + 0x50], 7
jne 0x5a7d77
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x50]
lea edx, [eax + 8]
cmp edx, dword [esp + 0x4c]
jg 0x5a7d54
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x4c]
mov eax, ecx
mov esi, dword [esp + 0x50]
sub eax, esi
and eax, 7
lea edi, [ebx*8]
mov dword [esp + 0x34], edi
neg eax
mov edi, dword [esp + 0x40]
lea edx, [ebx + ebx*4]
mov dword [esp + 0x38], edx
add eax, ecx
lea ecx, [edx*8]
lea ebx, [edi + ebx*8]
lea edx, [ebx + edx*8]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x34]
test esi, esi
jbe 0x5a78d8
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
lea esi, [esi + edi*8]
mov dword [esp + 0x20], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
nop dword [eax]
nop dword [eax]
mov edi, dword [esp + 0x54]
movaps xmm1, xmm0
movaps xmm2, xmm0
movsd xmm3, qword [edi + ebx*8 + 0x30]
lea edi, [eax + ebx*8]
mulsd xmm1, xmm3
inc ebx
mulsd xmm2, xmm3
mulsd xmm3, xmm0
addsd xmm1, qword [esi + eax + 0x58]
movsd qword [esi + eax + 0x58], xmm1
addsd xmm3, qword [edi + esi + 0x60]
addsd xmm2, qword [ecx + edx + 0x30]
movsd qword [edi + esi + 0x60], xmm3
add esi, 0x28
movsd qword [ecx + edx + 0x30], xmm2
cmp ebx, dword [esp + 0x50]
jb 0x5a7880
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x50]
movaps xmm6, xmm0
pxor xmm5, xmm5
mov dword [esp + 0x24], ecx
movaps xmm7, xmm5
mov dword [esp], ebx
lea edi, [esi + esi*4]
shl edi, 3
unpcklpd xmm6, xmm6
mov dword [esp + 0x34], edx
mov ecx, edi
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x54]
movups xmm4, xmmword [edi + esi*8 + 0x30]
movaps xmm1, xmm6
mulpd xmm1, xmm4
movsd xmm2, qword [ecx + ebx + 0x58]
movaps xmm3, xmm6
movhpd xmm2, qword [ecx + ebx + 0x80]
lea edx, [ebx + esi*8]
addpd xmm2, xmm1
mulpd xmm3, xmm4
mulpd xmm4, xmm6
addpd xmm5, xmm3
movsd qword [ecx + ebx + 0x58], xmm2
movhpd qword [ecx + ebx + 0x80], xmm2
movaps xmm2, xmm6
movsd xmm1, qword [ecx + edx + 0x60]
movhpd xmm1, qword [ecx + edx + 0x90]
addpd xmm1, xmm4
movups xmm3, xmmword [edi + esi*8 + 0x40]
movaps xmm4, xmm6
mulpd xmm4, xmm3
mulpd xmm2, xmm3
mulpd xmm3, xmm6
addpd xmm7, xmm2
movsd qword [edx + ecx + 0x60], xmm1
movhpd qword [edx + ecx + 0x90], xmm1
movsd xmm1, qword [ecx + ebx + 0xa8]
movhpd xmm1, qword [ecx + ebx + 0xd0]
addpd xmm1, xmm4
movsd qword [ecx + ebx + 0xa8], xmm1
movaps xmm4, xmm6
movhpd qword [ecx + ebx + 0xd0], xmm1
movsd xmm1, qword [ecx + edx + 0xc0]
movhpd xmm1, qword [ecx + edx + 0xf0]
addpd xmm1, xmm3
movups xmm2, xmmword [edi + esi*8 + 0x50]
movaps xmm3, xmm6
mulpd xmm3, xmm2
mulpd xmm4, xmm2
mulpd xmm2, xmm6
addpd xmm5, xmm4
movsd qword [edx + ecx + 0xc0], xmm1
movaps xmm4, xmm6
movhpd qword [edx + ecx + 0xf0], xmm1
movsd xmm1, qword [ecx + ebx + 0xf8]
movhpd xmm1, qword [ecx + ebx + 0x120]
addpd xmm1, xmm3
movsd qword [ecx + ebx + 0xf8], xmm1
movhpd qword [ecx + ebx + 0x120], xmm1
movsd xmm1, qword [ecx + edx + 0x120]
movhpd xmm1, qword [ecx + edx + 0x150]
addpd xmm1, xmm2
movsd qword [edx + ecx + 0x120], xmm1
movaps xmm2, xmm6
movhpd qword [edx + ecx + 0x150], xmm1
movups xmm1, xmmword [edi + esi*8 + 0x60]
add esi, 8
mulpd xmm2, xmm1
mulpd xmm4, xmm1
mulpd xmm1, xmm6
addpd xmm7, xmm4
nop
movsd xmm3, qword [ecx + ebx + 0x148]
movhpd xmm3, qword [ecx + ebx + 0x170]
addpd xmm3, xmm2
movsd qword [ecx + ebx + 0x148], xmm3
movhpd qword [ecx + ebx + 0x170], xmm3
movsd xmm2, qword [ecx + edx + 0x180]
movhpd xmm2, qword [ecx + edx + 0x1b0]
addpd xmm2, xmm1
movsd qword [edx + ecx + 0x180], xmm2
movhpd qword [edx + ecx + 0x1b0], xmm2
add ecx, 0x140
cmp esi, eax
jb 0x5a7905
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp]
mov edx, dword [esp + 0x34]
addpd xmm5, xmm7
mov dword [esp + 0x24], ecx
lea ecx, [eax + 1]
cmp ecx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x24]
ja 0x5a7b97
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
sub dword [esp + 0x4c], eax
mov dword [esp + 0x10], 0
lea esi, [edx + ecx]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 4]
mov dword [esp], ebx
lea esi, [ecx + ecx*2]
add esi, eax
add eax, ecx
lea ecx, [eax + eax*4]
lea eax, [edx + eax*8]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
lea eax, [eax + ecx*8]
mov dword [esp + 0x5c], eax
lea edi, [edi + esi*8]
mov dword [esp + 0x58], edi
lea eax, [ebx + ecx*8 + 0x58]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
nop
mov edi, dword [esp + 0x58]
movaps xmm1, xmm0
movaps xmm2, xmm0
movsd xmm3, qword [edi + esi*8 + 0x30]
mulsd xmm1, xmm3
mulsd xmm2, xmm3
mulsd xmm3, xmm0
addsd xmm1, qword [eax]
movsd qword [eax], xmm1
add eax, 0x28
mov edi, dword [esp + 0x5c]
addsd xmm2, qword [ecx + edx + 0x30]
movsd qword [ecx + edx + 0x30], xmm2
lea edi, [edi + esi*8]
inc esi
addsd xmm3, qword [edi + ebx + 0x60]
movsd qword [edi + ebx + 0x60], xmm3
add ebx, 0x28
cmp esi, dword [esp + 0x4c]
jb 0x5a7b40
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp]
movaps xmm1, xmm5
unpckhpd xmm1, xmm5
addsd xmm5, xmm1
addsd xmm5, qword [ebx + ecx + 0x30]
movsd qword [ebx + ecx + 0x30], xmm5
mov eax, dword [esp + 0x30]
inc eax
dec dword [esp + 0x28]
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x2c]
jb 0x5a778f
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 4]
lea esi, [ebx + ebx*2 - 2]
cmp ebx, 5
jne 0x5a7bdb
dec esi
movsd xmm3, qword [ecx + esi*8 - 8]
movaps xmm1, xmm0
movaps xmm2, xmm0
lea edx, [ebx + ebx*2]
mulsd xmm1, xmm3
mulsd xmm2, xmm3
mulsd xmm0, xmm3
shl edx, 4
mov ecx, dword [esp + 0x40]
addsd xmm1, qword [ecx + edx - 0x38]
addsd xmm2, qword [ecx + edx - 0x60]
addsd xmm0, qword [ecx + edx - 0x30]
movsd qword [ecx + edx - 0x38], xmm1
movsd qword [ecx + edx - 0x60], xmm2
movsd qword [ecx + edx - 0x30], xmm0
test eax, eax
jle 0x5a7d49
xor ecx, ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x44]
jge 0x5a7d37
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
lea eax, [eax + edx - 1]
cmp eax, 2
jl 0x5a7d50
mov edx, dword [esp + 0x40]
lea ebx, [ecx + ecx*4]
mov dword [esp + 0x14], ebx
lea esi, [edx + ebx*8]
lea edi, [esi + ecx*8]
mov dword [esp + 8], edi
lea esi, [edi + 8]
and esi, 0xf
je 0x5a7c8b
test esi, 7
jne 0x5a7d50
mov esi, 1
lea edx, [esi + 2]
cmp eax, edx
jl 0x5a7d50
mov ebx, dword [esp + 0x40]
mov edx, eax
sub edx, esi
and edx, 1
neg edx
lea edi, [ebx + ecx*8]
mov ebx, dword [esp + 0x14]
add edx, eax
lea ebx, [edi + ebx*8]
test esi, esi
jbe 0x5a7ce5
mov dword [esp + 0xc], 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 8]
lea eax, [ecx + ecx*4]
movsd xmm0, qword [ebx + eax*8 + 0x28]
movsd qword [edi + ecx*8 + 8], xmm0
inc ecx
cmp ecx, esi
jb 0x5a7cca
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 4], ecx
mov edi, dword [esp + 8]
lea ecx, [esi + esi*4]
movsd xmm0, qword [ebx + ecx*8 + 0x28]
movhpd xmm0, qword [ebx + ecx*8 + 0x50]
movups xmmword [edi + esi*8 + 8], xmm0
add esi, 2
cmp esi, edx
jb 0x5a7ced
mov ecx, dword [esp + 4]
cmp edx, eax
jae 0x5a7d37
mov ebx, dword [esp + 0x40]
lea esi, [ecx + ecx*4]
lea edi, [ebx + esi*8]
lea edi, [edi + ecx*8]
lea ecx, [ebx + ecx*8]
lea ecx, [ecx + esi*8]
lea ebx, [edx + edx*4]
movsd xmm0, qword [ecx + ebx*8 + 0x28]
movsd qword [edi + edx*8 + 8], xmm0
inc edx
cmp edx, eax
jb 0x5a7d23
mov ecx, dword [esp + 0x10]
dec dword [esp + 0x18]
cmp ecx, dword [esp + 0x48]
jb 0x5a7c37
add esp, 0x60
pop ebx
pop edi
pop esi
ret
xor edx, edx
jmp 0x5a7d0c
mov esi, dword [esp + 0x30]
xor eax, eax
mov ebx, dword [esp + 0x40]
pxor xmm5, xmm5
lea ecx, [esi + esi*4]
shl ecx, 3
lea edx, [esi*8]
lea ebx, [ebx + esi*8]
jmp 0x5a7ac9
mov esi, eax
xor eax, eax
mov ebx, dword [esp + 0x40]
pxor xmm5, xmm5
lea ecx, [esi + esi*4]
shl ecx, 3
lea edx, [esi*8]
lea ebx, [ebx + esi*8]
jmp 0x5a7ac9
lea eax, [ebx - 1]
cmp eax, 3
jge 0x5a7772
lea esi, [ebx + ebx*2 - 2]
jmp 0x5a7bdb
xor edx, edx
jmp 0x5a772c
test ebx, ebx
jbe 0x5a775d
xor edx, edx
jmp 0x5a7734
xor esi, esi
jmp 0x5a75a9
xor ebx, ebx
jmp 0x5a7554
lea eax, [ebx - 1]
jmp 0x5a7c21