Function at 0x420c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
cmp dword [ebp + 0x10], 0
jle 0x420f0e
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
add edi, 0x18
add esi, 0x1c
nop
movups xmm3, xmmword [esi + 4]
lea edx, [edi - 0x18]
movups xmm1, xmmword [esi + 0x14]
movq xmm0, qword [esi + 0x24]
movups xmm4, xmmword [esi - 0x1c]
movups xmm5, xmmword [esi - 0xc]
movq qword [ebp - 0x2c], xmm0
movaps xmm7, xmm4
movups xmm0, xmmword [edx]
xorps xmm7, xmmword [0x455100]
movups xmmword [esi - 0x1c], xmm0
movq xmm0, qword [edx + 0x10]
movaps xmm6, xmm7
movups xmmword [ebp - 0x4c], xmm3
shufps xmm3, xmm3, 0x55
movq qword [esi - 0xc], xmm0
movaps xmm2, xmm3
addss xmm2, xmm1
movups xmmword [ebp - 0x14], xmm1
movups xmmword [ebp - 0x3c], xmm1
movaps xmm0, xmm2
addss xmm7, xmm2
mulss xmm0, dword [0x454d74]
movups xmm2, xmmword [ebp - 0x14]
subss xmm6, xmm0
movups xmmword [ebp - 0x6c], xmm4
movups xmmword [ebp - 0x5c], xmm5
shufps xmm4, xmm4, 0xff
shufps xmm5, xmm5, 0xaa
movaps xmm1, xmm4
addss xmm1, xmm5
movups xmmword [ebp - 0x24], xmm5
movups xmm0, xmmword [ebp - 0x24]
mulss xmm1, dword [0x454dd4]
movaps xmm5, xmm6
subss xmm0, xmm4
movss xmm4, dword [edi]
subss xmm6, xmm1
addss xmm5, xmm1
movaps xmm1, xmm2
subss xmm1, xmm3
shufps xmm2, xmm2, 0xff
movups xmmword [ebp - 0x24], xmm0
mulss xmm0, dword [0x454d74]
movss dword [ebp - 4], xmm6
movaps xmm6, xmm2
mulss xmm1, dword [0x454dd4]
subss xmm6, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [0x454da8]
mulss xmm5, dword [0x454dcc]
movups xmmword [ebp - 0x14], xmm2
movaps xmm2, xmm6
subss xmm6, xmm1
addss xmm2, xmm1
movaps xmm1, xmm4
mulss xmm4, dword [0x454d5c]
movaps xmm3, xmm2
mulss xmm2, dword [0x454da8]
mulss xmm3, dword [0x454dcc]
subss xmm5, xmm2
addss xmm3, xmm0
movss dword [edi], xmm5
movss xmm5, dword [0x454dec]
movaps xmm0, xmm3
mulss xmm1, xmm5
mulss xmm0, dword [0x454d5c]
mulss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [0x454d70]
addss xmm3, xmm4
movss xmm4, dword [0x454ddc]
movss dword [esi - 4], xmm1
movups xmm1, xmmword [ebp - 0x14]
movss dword [esi + 0x10], xmm3
addss xmm1, dword [ebp - 0x24]
movss xmm3, dword [edi + 4]
xorps xmm1, xmmword [0x455100]
movaps xmm2, xmm1
mulss xmm2, xmm4
mulss xmm1, dword [0x454d70]
addss xmm2, xmm0
lea eax, [esi + 0x14]
mulss xmm7, xmm4
push edi
push eax
movaps xmm0, xmm2
lea eax, [ebp - 0x68]
mulss xmm0, dword [0x454d70]
subss xmm7, xmm1
push eax
movaps xmm1, xmm3
mulss xmm2, xmm4
mulss xmm3, dword [0x454d70]
mulss xmm1, xmm4
addss xmm2, xmm3
movss dword [edi + 4], xmm7
subss xmm1, xmm0
movss dword [esi], xmm1
movss xmm1, dword [ebp - 4]
movss dword [esi + 0xc], xmm2
movaps xmm0, xmm1
mulss xmm0, dword [0x454d5c]
movaps xmm2, xmm6
mulss xmm6, dword [0x454d5c]
movss xmm3, dword [edi + 8]
mulss xmm1, xmm5
mulss xmm2, xmm5
subss xmm1, xmm6
addss xmm2, xmm0
movss dword [edi + 8], xmm1
movaps xmm1, xmm3
mulss xmm1, dword [0x454dcc]
mulss xmm3, dword [0x454da8]
movaps xmm0, xmm2
mulss xmm0, dword [0x454da8]
mulss xmm2, dword [0x454dcc]
subss xmm1, xmm0
addss xmm2, xmm3
movss dword [esi + 4], xmm1
movss dword [esi + 8], xmm2
call fcn.004203c0
push edi
lea eax, [ebp - 0x64]
push edx
push eax
call fcn.004203c0
mov eax, dword [ebp + 0x10]
add esp, 0x18
dec eax
add edi, 0x24
add esi, 0x48
mov dword [ebp + 0x10], eax
test eax, eax
jg 0x420cb0
pop edi
pop esi
mov esp, ebp
pop ebp
ret