Function at 0x423ad0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x38]
mov edx, eax
push esi
push edi
mov edi, dword [esp + 0x44]
imul edx, edi
lea esi, [eax*8]
mov dword [esp + 0x20], esi
lea ecx, [eax*4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], edx
test edi, edi
jle 0x423b61
mov edi, dword [esp + 0x48]
mov eax, edi
lea edx, [edi + edx*4]
mov edi, dword [esp + 0x4c]
add edi, 0xfffffffc
add edi, esi
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x4c]
movss xmm0, dword [edx]
addss xmm0, dword [eax]
mov ecx, dword [esp + 0x28]
movss dword [edi], xmm0
add edi, esi
movss xmm0, dword [eax]
subss xmm0, dword [edx]
movss dword [ecx], xmm0
add ecx, esi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
add eax, ecx
add edx, ecx
sub dword [esp + 0x2c], 1
jne 0x423b22
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
cmp eax, 2
jl 0x423cea
je 0x423c94
test edi, edi
jle 0x423c90
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], esi
lea esi, [eax*8]
lea edx, [ecx + edx*4]
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
add ecx, esi
mov dword [esp + 0x34], ecx
lea ecx, [eax*4]
mov dword [esp + 0x28], edx
nop
cmp eax, 2
jle 0x423c6d
mov ecx, dword [esp + 0x50]
add eax, 0xfffffffd
mov edx, dword [esp + 0x30]
add ecx, 4
mov esi, dword [esp + 0x28]
shr eax, 1
mov dword [esp + 0xc], edi
inc eax
mov edi, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
add esi, 8
add edx, 8
add ecx, 8
sub edi, 8
movss xmm4, dword [esi]
movss xmm1, dword [eax]
movaps xmm0, xmm4
mulss xmm4, dword [eax - 4]
movss xmm5, dword [esi - 4]
mulss xmm5, dword [eax - 4]
add eax, 8
sub dword [esp + 0x18], 1
mulss xmm0, xmm1
mov dword [esp + 0x1c], eax
mulss xmm1, dword [esi - 4]
addss xmm5, xmm0
subss xmm4, xmm1
movaps xmm0, xmm4
addss xmm0, dword [edx]
movss dword [ecx], xmm0
movaps xmm0, xmm5
subss xmm4, dword [edx]
movss dword [edi], xmm4
addss xmm0, dword [edx - 4]
movss dword [ecx - 4], xmm0
movss xmm0, dword [edx - 4]
subss xmm0, xmm5
movss dword [edi - 4], xmm0
jne 0x423be2
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add dword [esp + 0x34], esi
add edi, esi
add dword [esp + 0x30], ecx
add edx, ecx
sub dword [esp + 0x14], 1
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edx
jne 0x423bb0
mov edi, dword [esp + 0x44]
test al, 1
jne 0x423cea
dec eax
mov dword [esp + 0x40], eax
add eax, dword [esp + 0x24]
test edi, edi
jle 0x423cea
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
movss xmm1, dword [0x511aa0]
add edx, ecx
lea eax, [esi + eax*4]
lea edi, [esi + edi*4]
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x20]
movss xmm0, dword [eax]
xorps xmm0, xmm1
movss dword [edx], xmm0
mov eax, dword [edi]
add edi, ecx
mov dword [edx - 4], eax
add edx, esi
mov eax, dword [esp + 0x40]
add eax, ecx
sub dword [esp + 0x44], 1
mov dword [esp + 0x40], eax
jne 0x423cc5
pop edi
pop esi
add esp, 0x34
ret