Function at 0x430b40
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, 0x48
mov eax, dword [0x507040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov dword [ebp - 0x24], eax
push esi
push edi
mov ecx, dword [eax]
mov edi, edx
mov eax, ecx
mov dword [ebp - 0x34], edi
sar eax, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
sar eax, 2
mov dword [ebp - 0x28], eax
mov eax, ecx
sar eax, 3
mov dword [ebp - 0x38], eax
lea eax, [ecx*4 + 0x10]
mov dword [ebp - 0x44], ecx
call fcn.0045df40
mov eax, esp
xor esi, esi
mov dword [ebp - 0x2c], esi
test eax, eax
je 0x430bb2
add eax, 0xf
cdq
and edx, 0xf
lea esi, [edx + eax]
and esi, 0xfffffff0
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
lea ecx, [eax*4]
lea edx, [ecx + esi]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff8
mov dword [ebp - 0x1c], edx
add eax, ecx
lea eax, [edi + eax*4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffe
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
test eax, eax
jle 0x430cb9
mov esi, dword [ebp - 0x20]
mov edi, 0x30
mov dword [ebp - 8], edx
lea eax, [edx + esi*4]
mov dword [ebp - 0x10], eax
lea eax, [esi - 2]
lea eax, [edx + eax*4]
mov dword [ebp - 0x14], eax
lea eax, [edx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
dec eax
shr eax, 2
inc eax
lea edx, [eax*4]
sub esi, edx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x20], esi
nop
movups xmm0, xmmword [edx + 0x10]
movups xmm3, xmmword [edi + edx - 0x10]
movups xmm1, xmmword [edx]
movups xmm2, xmmword [edi + edx]
sub edx, 0x20
mov esi, dword [ebp - 8]
add edi, 0x40
shufps xmm1, xmm1, 0x1b
addps xmm2, xmm1
shufps xmm0, xmm0, 0x1b
addps xmm3, xmm0
add dword [ebp - 8], 0x10
movaps xmm1, xmm3
shufps xmm1, xmm3, 0xa5
mulps xmm1, xmmword [ecx + 0x10]
shufps xmm3, xmm3, 0xf
mulps xmm3, xmmword [ecx]
subps xmm3, xmm1
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xa5
mulps xmm1, xmmword [ecx + 0x30]
shufps xmm2, xmm2, 0xf
mulps xmm2, xmmword [ecx + 0x20]
add ecx, 0x40
movlps qword [esi], xmm3
mov esi, dword [ebp - 0x10]
sub dword [ebp - 0x10], 0x10
subps xmm2, xmm1
movhps qword [esi], xmm3
mov esi, dword [ebp - 0xc]
add dword [ebp - 0xc], 0x10
movlps qword [esi], xmm2
mov esi, dword [ebp - 0x14]
sub dword [ebp - 0x14], 0x10
movhps qword [esi], xmm2
mov esi, dword [ebp - 0x2c]
sub eax, 1
jne 0x430c30
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
add edx, 0xffffffe0
add edx, edi
cmp dword [ebp - 0x18], eax
jge 0x430d90
mov esi, dword [ebp - 0x1c]
add ecx, 0x30
mov eax, dword [ebp - 0x20]
lea eax, [esi + eax*4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
lea eax, [esi + eax*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffe
lea eax, [esi + eax*4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
add eax, 2
lea eax, [esi + eax*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x18]
dec eax
shr eax, 2
inc eax
nop dword [eax + eax]
movups xmm0, xmmword [edx + 0x10]
movups xmm2, xmmword [edi]
movups xmm1, xmmword [edx]
sub edx, 0x20
movups xmm3, xmmword [edi + 0x10]
add edi, 0x20
mov esi, dword [ebp - 0x14]
shufps xmm0, xmm0, 0x1b
subps xmm2, xmm0
shufps xmm1, xmm1, 0x1b
subps xmm3, xmm1
add dword [ebp - 0x14], 0x10
movaps xmm4, xmm2
shufps xmm4, xmm2, 0xa5
movaps xmm1, xmm3
mulps xmm4, xmmword [ecx - 0x20]
shufps xmm2, xmm2, 0xf
mulps xmm2, xmmword [ecx - 0x30]
shufps xmm1, xmm3, 0xf
mulps xmm1, xmmword [ecx - 0x10]
addps xmm4, xmm2
shufps xmm3, xmm3, 0xa5
mulps xmm3, xmmword [ecx]
add ecx, 0x40
movlps qword [esi], xmm4
mov esi, dword [ebp - 0xc]
addps xmm1, xmm3
sub dword [ebp - 0xc], 0x10
movhps qword [esi], xmm4
mov esi, dword [ebp - 0x10]
add dword [ebp - 0x10], 0x10
movlps qword [esi], xmm1
mov esi, dword [ebp - 8]
sub dword [ebp - 8], 0x10
movhps qword [esi], xmm1
mov esi, dword [ebp - 0x2c]
sub eax, 1
jne 0x430d10
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x24]
mov ecx, edi
mov edx, dword [ebp - 0x1c]
call fcn.004303c0
mov eax, dword [edi]
add esp, 4
mov ecx, dword [edi + 0x2c]
sar eax, 1
mov dword [ebp - 0x34], esi
lea edi, [esi + eax*4]
mov eax, dword [ebp - 0x24]
mov edx, edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
nop dword [eax + eax]
mov eax, dword [ecx]
sub edx, 0x10
movaps xmm4, xmmword [0x4765d0]
movups xmm7, xmmword [edi + eax*4]
mov eax, dword [ecx + 4]
movaps xmm0, xmm7
movaps xmm3, xmm7
movups xmm5, xmmword [edi + eax*4]
mov eax, dword [ecx + 8]
movaps xmm6, xmm5
movups xmm2, xmmword [edi + eax*4]
mov eax, dword [ecx + 0xc]
add ecx, 0x10
shufps xmm0, xmm2, 0x11
shufps xmm3, xmm2, 0x55
movups xmm1, xmmword [edi + eax*4]
mov eax, dword [ebp - 0x1c]
shufps xmm7, xmm2, 0
shufps xmm6, xmm1, 0x11
xorps xmm6, xmm4
addps xmm6, xmm0
movaps xmm0, xmm5
shufps xmm0, xmm1, 0x55
shufps xmm5, xmm1, 0
subps xmm3, xmm0
addps xmm7, xmm5
mulps xmm6, xmmword [0x476570]
mulps xmm3, xmmword [eax + 0x10]
mulps xmm7, xmmword [eax]
add eax, 0x20
mov dword [ebp - 0x1c], eax
movaps xmm1, xmm6
xorps xmm1, xmm4
addps xmm3, xmm7
movaps xmm0, xmm3
addps xmm3, xmm6
xorps xmm0, xmm4
subps xmm1, xmm0
movups xmmword [esi], xmm3
add esi, 0x10
movhps qword [edx], xmm1
movlps qword [edx + 8], xmm1
cmp esi, edx
jb 0x430dc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebx + 8]
add edi, edx
mov eax, dword [eax + 0x10]
mov esi, dword [ebp - 0x2c]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
jle 0x430ecf
dec ecx
shr ecx, 2
inc ecx
nop dword [eax]
movups xmm3, xmmword [esi + 0x10]
sub edi, 0x10
movups xmm0, xmmword [eax]
movaps xmm5, xmm3
shufps xmm5, xmmword [esi], 0x22
shufps xmm3, xmmword [esi], 0x77
add esi, 0x20
movups xmm1, xmmword [eax + 0x10]
movaps xmm2, xmm3
movups xmm4, xmmword [eax + 0x20]
mulps xmm0, xmm5
shufps xmm5, xmm5, 0x1b
shufps xmm2, xmm3, 0x1b
mulps xmm2, xmmword [eax + 0x30]
add eax, 0x40
mulps xmm1, xmm3
mulps xmm5, xmm4
subps xmm0, xmm1
addps xmm5, xmm2
movups xmmword [edi], xmm0
movups xmmword [edx], xmm5
add edx, 0x10
sub ecx, 1
jne 0x430e80
lea esp, [ebp - 0x50]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043d9c9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret