Function at 0x436040
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, 0x80
mov eax, dword [ebx + 8]
push esi
mov esi, edx
mov dword [ebp - 0x50], edx
imul esi, dword [ebx + 0xc]
push edi
mov edi, dword [eax + 0x30]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x80], edi
movss xmm0, dword [edi + esi*8]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edi + esi*8 + 4]
add esi, esi
cmp dword [ebx + 0x10], 0
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [edi + esi*8]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edi + esi*8 + 4]
movss dword [ebp - 0x2c], xmm0
jle 0x436446
mov esi, dword [ebx + 0xc]
mov ecx, esi
mov eax, dword [ebx + 0x14]
shl ecx, 4
shl eax, 3
lea edx, [esi*8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
sub edx, ecx
mov dword [ebp - 0x5c], edx
add eax, ecx
lea edx, [esi + esi*2]
mov dword [ebp - 0x58], eax
shl edx, 3
sub edx, ecx
mov dword [ebp - 0x60], edx
mov edx, esi
shl edx, 5
sub edx, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x50]
nop dword [eax]
mov esi, dword [ebp - 0x5c]
add esi, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x60]
add esi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x64]
add esi, eax
mov dword [ebp - 0x10], esi
mov esi, dword [ebx + 0xc]
test esi, esi
jle 0x436430
lea esi, [edx + edx*2]
mov dword [ebp - 0x40], edx
shl dword [ebp - 0x40], 5
lea eax, [edx*8]
shl esi, 3
mov dword [ebp - 0x7c], esi
mov esi, edx
mov edx, dword [ebp - 0x30]
shl esi, 4
mov dword [ebp - 0x78], esi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x4c], esi
mov esi, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
nop dword [eax + eax]
movss xmm0, dword [esi]
mov edi, dword [ebp - 0x34]
movss xmm4, dword [edx]
movss xmm2, dword [edx + 4]
movaps xmm5, xmm4
mov edx, dword [ebp - 0x38]
mulss xmm5, dword [edi]
mulss xmm4, dword [edi + 4]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [esi + 4]
movss dword [ebp - 0x24], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [edi + 4]
mulss xmm2, dword [edi]
mov edi, dword [ebp - 0x14]
subss xmm5, xmm0
movss xmm3, dword [ecx]
movaps xmm6, xmm3
addss xmm4, xmm2
movss xmm2, dword [edi + 4]
movaps xmm0, xmm2
mulss xmm2, dword [edx]
mulss xmm0, dword [edx + 4]
movss dword [ebp - 0xc], xmm5
movss xmm5, dword [edi]
mov edi, dword [ebp - 0x3c]
movss dword [ebp - 8], xmm4
movaps xmm4, xmm5
mulss xmm5, dword [edx + 4]
mulss xmm4, dword [edx]
movss xmm7, dword [edi]
addss xmm5, xmm2
mulss xmm3, dword [edi + 4]
subss xmm4, xmm0
mulss xmm6, xmm7
movss xmm0, dword [edi + 4]
mulss xmm0, dword [ecx + 4]
mov edi, dword [ebp - 0x44]
mulss xmm7, dword [ecx + 4]
subss xmm6, xmm0
movss dword [ebp - 4], xmm5
movss xmm5, dword [edi]
movss xmm2, dword [edi + 4]
addss xmm7, xmm3
movaps xmm0, xmm2
movss dword [ebp - 0x10], xmm4
mulss xmm0, dword [eax + 4]
movaps xmm4, xmm5
mulss xmm4, dword [eax]
mulss xmm2, dword [eax]
mulss xmm5, dword [eax + 4]
subss xmm4, xmm0
movss xmm3, dword [ebp - 4]
addss xmm5, xmm2
movss xmm2, dword [ebp - 0xc]
movaps xmm0, xmm4
addss xmm0, xmm2
subss xmm2, xmm4
movaps xmm1, xmm5
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 8]
addss xmm1, xmm0
movss dword [ebp - 0xc], xmm2
movss xmm2, dword [ebp - 0x10]
subss xmm0, xmm5
movaps xmm5, xmm6
addss xmm5, xmm2
subss xmm2, xmm6
movss dword [ebp - 0x70], xmm1
movss dword [ebp - 8], xmm0
movaps xmm0, xmm7
addss xmm0, xmm3
subss xmm3, xmm7
movss xmm7, dword [ebp - 0x68]
movss dword [ebp - 0x10], xmm2
movss dword [ebp - 0x6c], xmm0
movaps xmm0, xmm5
addss xmm0, xmm7
movss dword [ebp - 4], xmm3
addss xmm0, dword [ebp - 0x48]
movss dword [esi], xmm0
movss xmm6, dword [ebp - 0x6c]
movaps xmm4, xmm7
mulss xmm4, dword [ebp - 0x20]
movaps xmm0, xmm6
mov edx, dword [ebp - 0x30]
addss xmm0, xmm1
movss xmm2, dword [ebp - 8]
mulss xmm2, dword [ebp - 0x28]
movaps xmm3, xmm6
mov edi, dword [ebp - 0x14]
mulss xmm3, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0x24]
mulss xmm6, dword [ebp - 0x20]
mulss xmm7, dword [ebp - 0x1c]
movss dword [esi + 4], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [ebp - 0x1c]
add esi, 8
mulss xmm5, dword [ebp - 0x20]
addss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0xc]
addss xmm7, xmm5
mulss xmm1, dword [ebp - 0x28]
addss xmm4, dword [ebp - 0x48]
addss xmm3, xmm0
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [ebp - 0x2c]
addss xmm7, dword [ebp - 0x48]
addss xmm3, dword [ebp - 0x24]
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [ebp - 0x2c]
addss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, xmm2
addss xmm4, xmm2
movss xmm2, dword [ebp - 0xc]
mulss xmm2, dword [ebp - 0x2c]
xorps xmm1, xmmword [0x92bc70]
movss dword [edx], xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
addss xmm3, xmm1
movss xmm1, dword [ebp - 4]
mulss xmm1, dword [ebp - 0x28]
movss dword [edx + 4], xmm0
add edx, 8
movss xmm0, dword [ebp - 0x70]
mulss xmm0, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
movss dword [eax], xmm4
movss dword [eax + 4], xmm3
add eax, 8
addss xmm6, xmm0
movss xmm0, dword [ebp - 8]
mulss xmm0, dword [ebp - 0x2c]
addss xmm6, dword [ebp - 0x24]
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x10]
mulss xmm0, dword [ebp - 0x28]
subss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm1
subss xmm7, xmm1
movss dword [edi], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
subss xmm6, xmm2
movss dword [edi + 4], xmm0
add edi, 8
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x74]
add dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x38]
movss dword [ecx], xmm7
movss dword [ecx + 4], xmm6
add ecx, 8
add edi, dword [ebp - 0x78]
mov dword [ebp - 0x38], edi
mov edi, dword [ebp - 0x3c]
add edi, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x44]
add edi, dword [ebp - 0x40]
sub dword [ebp - 0x4c], 1
mov dword [ebp - 0x44], edi
jne 0x436160
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x54]
add eax, dword [ebp - 0x54]
sub dword [ebx + 0x10], 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x58], eax
jne 0x4360f0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret