Function at 0x430180
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebx + 8]
push esi
sar eax, 1
mov esi, ecx
push edi
mov edi, edx
mov edx, dword [ebx + 0xc]
lea eax, [edi + eax*4]
mov dword [ebp - 0xc], eax
lea ecx, [edx - 8]
add eax, 0xffffffe0
cmp ecx, 0x38
ja case.0x4301c3.9
movzx ecx, byte [ecx + 0x430378]
jmp dword [ecx*4 + 0x430364]
mov ecx, dword [esi + 0x1c]
jmp 0x4301dc
mov ecx, dword [esi + 0x20]
jmp 0x4301dc
mov ecx, dword [esi + 0x24]
jmp 0x4301dc
mov ecx, dword [esi + 0x28]
mov edx, dword [ebx + 8]
prefetchnta byte [ecx]
add ecx, 0x20
shl edx, 2
sub edx, dword [ebp - 0xc]
add edx, edi
nop dword [eax]
movups xmm3, xmmword [edx + eax]
movups xmm2, xmmword [edx + eax + 0x10]
movaps xmm4, xmm3
subps xmm4, xmmword [eax]
addps xmm3, xmmword [eax]
prefetchnta byte [ecx + 0x20]
movaps xmm5, xmm2
subps xmm5, xmmword [eax + 0x10]
addps xmm2, xmmword [eax + 0x10]
movups xmmword [edx + eax], xmm3
movaps xmm1, xmm4
shufps xmm1, xmm4, 0xf5
shufps xmm4, xmm4, 0xa0
movaps xmm0, xmm5
movups xmmword [edx + eax + 0x10], xmm2
movups xmm2, xmmword [ecx]
movups xmm3, xmmword [ecx + 0x10]
mulps xmm1, xmmword [ecx - 0x20]
mulps xmm4, xmmword [ecx - 0x10]
add ecx, 0x40
shufps xmm0, xmm5, 0xf5
shufps xmm5, xmm5, 0xa0
mulps xmm0, xmm2
mulps xmm5, xmm3
addps xmm1, xmm4
addps xmm0, xmm5
movups xmmword [eax], xmm1
movups xmmword [eax + 0x10], xmm0
sub eax, 0x20
cmp eax, edi
jae 0x4301f0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [esi + 8]
mov esi, edx
mov dword [ebp - 4], ecx
lea ecx, [edx + edx*2]
shl esi, 4
shl ecx, 2
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 4]
add esi, ecx
mov dword [ebp - 8], esi
lea esi, [edx*8]
shl edx, 2
sub esi, ecx
sub edx, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edx
mov edx, dword [ebx + 8]
lea ecx, [edx*4]
mov edx, esi
sub ecx, dword [ebp - 0xc]
add ecx, edi
nop word [eax + eax]
movups xmm3, xmmword [ecx + eax]
movups xmm2, xmmword [ecx + eax + 0x10]
movaps xmm5, xmm3
subps xmm5, xmmword [eax]
addps xmm3, xmmword [eax]
mov esi, dword [ebp - 8]
movaps xmm6, xmm2
addps xmm2, xmmword [eax + 0x10]
subps xmm6, xmmword [eax + 0x10]
movaps xmm0, xmm5
movups xmmword [ecx + eax], xmm3
shufps xmm0, xmm5, 0xf5
movups xmmword [ecx + eax + 0x10], xmm2
movups xmm1, xmmword [esi]
movaps xmm4, xmm1
shufps xmm5, xmm5, 0xa0
shufps xmm1, xmmword [edx + esi], 0x44
shufps xmm4, xmmword [edx + esi], 0x11
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
xorps xmm5, xmmword [0x4765d0]
mulps xmm5, xmm1
movaps xmm1, xmm6
movups xmm3, xmmword [esi]
mov esi, dword [ebp - 0x14]
shufps xmm1, xmm6, 0xa0
xorps xmm1, xmmword [0x4765d0]
mulps xmm4, xmm0
movups xmm2, xmmword [esi + edx]
mov esi, dword [ebp - 0x18]
movaps xmm0, xmm2
add dword [ebp - 4], esi
add edx, esi
shufps xmm6, xmm6, 0xf5
addps xmm5, xmm4
shufps xmm0, xmm3, 0x44
shufps xmm2, xmm3, 0x11
mulps xmm1, xmm0
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
mulps xmm6, xmm2
movups xmmword [eax], xmm5
addps xmm6, xmm1
movups xmmword [eax + 0x10], xmm6
sub eax, 0x20
cmp eax, edi
jae 0x4302b0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret