Function at 0x431a00
Capabilities:
Encode data using xor

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, 0x38
mov eax, edx
mov edx, dword [ebx + 0xc]
push esi
push edi
lea edi, [ecx - 2]
mov esi, ecx
movss xmm5, dword [eax + 8]
mov ecx, 4
movss xmm3, dword [eax + 0xc]
movaps xmm7, xmm5
subss xmm7, dword [eax + edi*4]
movaps xmm1, xmm3
sar esi, 1
addss xmm1, dword [eax + edi*4 + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], edi
movaps xmm2, xmm7
mov dword [ebp - 4], ecx
mulss xmm2, dword [edx]
mulss xmm7, dword [edx + 4]
movaps xmm0, xmm1
mulss xmm0, dword [edx + 4]
mulss xmm1, dword [edx]
lea edx, [esi - 4]
and edx, 0xfffffff8
subss xmm2, xmm0
add edx, 4
addss xmm7, xmm1
subss xmm5, xmm2
subss xmm3, xmm7
movss dword [eax + 8], xmm5
movss dword [eax + 0xc], xmm3
movss xmm0, dword [eax + edi*4 + 4]
subss xmm0, xmm7
addss xmm2, dword [eax + edi*4]
movss dword [eax + edi*4 + 4], xmm0
movss dword [eax + edi*4], xmm2
cmp edx, ecx
jle 0x431b9d
lea ecx, [eax + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebx + 0xc]
add ecx, 0x40
mov dword [ebp - 0x10], ecx
lea ecx, [edx - 5]
mov esi, dword [ebp - 0x10]
shr ecx, 3
inc ecx
lea edx, [ecx*8 + 4]
mov dword [ebp - 4], edx
lea edx, [edi - 6]
lea edx, [eax + edx*4]
nop word [eax + eax]
movsd xmm7, qword [edx + 0x10]
movhps xmm7, qword [edx + 8]
mov edi, dword [ebp - 8]
movaps xmm1, xmm7
xorps xmm1, xmmword [0x4765f0]
movups xmm4, xmmword [esi - 0x30]
movups xmm6, xmmword [esi - 0x10]
movups xmm5, xmmword [edi]
addps xmm1, xmm5
movaps xmm2, xmm1
mulps xmm4, xmm1
shufps xmm2, xmm1, 0xb1
mulps xmm2, xmmword [esi - 0x20]
movsd xmm1, qword [edx]
movhps xmm1, qword [edx - 8]
movaps xmmword [ebp - 0x30], xmm1
addps xmm2, xmm4
movaps xmm0, xmm2
subps xmm5, xmm2
xorps xmm0, xmmword [0x4765f0]
subps xmm7, xmm0
movaps xmm0, xmm1
movups xmmword [edi], xmm5
movups xmm3, xmmword [esi]
add esi, 0x40
movlps qword [edx + 0x10], xmm7
movups xmm4, xmmword [edi + 0x10]
xorps xmm0, xmmword [0x4765f0]
movaps xmm1, xmm4
addps xmm1, xmm0
movhps qword [edx + 8], xmm7
movaps xmm2, xmm1
mulps xmm6, xmm1
shufps xmm2, xmm1, 0xb1
movaps xmm1, xmmword [ebp - 0x30]
mulps xmm2, xmm3
addps xmm2, xmm6
movaps xmm0, xmm2
subps xmm4, xmm2
xorps xmm0, xmmword [0x4765f0]
subps xmm1, xmm0
movups xmmword [edi + 0x10], xmm4
add edi, 0x20
mov dword [ebp - 8], edi
movlps qword [edx], xmm1
movhps qword [edx - 8], xmm1
sub edx, 0x20
sub ecx, 1
jne 0x431ae0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cmp ecx, esi
jge 0x431c14
mov edi, dword [ebx + 0xc]
lea edx, [eax + ecx*4]
sub esi, dword [ebp - 4]
add edi, 0xfffffff0
dec esi
shr esi, 2
lea ecx, [edi + ecx*8]
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
inc esi
lea eax, [eax + edi*4]
nop
movsd xmm5, qword [eax + 8]
movhps xmm5, qword [eax]
movups xmm4, xmmword [edx]
movaps xmm1, xmm5
xorps xmm1, xmmword [0x4765f0]
movups xmm0, xmmword [ecx]
addps xmm1, xmm4
movaps xmm3, xmm1
mulps xmm0, xmm1
shufps xmm3, xmm1, 0xb1
mulps xmm3, xmmword [ecx + 0x10]
add ecx, 0x20
addps xmm3, xmm0
movaps xmm0, xmm3
subps xmm4, xmm3
xorps xmm0, xmmword [0x4765f0]
subps xmm5, xmm0
movups xmmword [edx], xmm4
add edx, 0x10
movlps qword [eax + 8], xmm5
movhps qword [eax], xmm5
sub eax, 0x10
sub esi, 1
jne 0x431bc0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret