Function at 0x54e310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x70
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], eax
movdqa xmm3, xmmword [edi]
movdqa xmm2, xmmword [edi + 0x10]
movdqa xmm1, xmmword [edi + 0x20]
movdqa xmm0, xmmword [edi + 0x30]
jae 0x54e870
movdqa xmm6, xmmword [0x74faa0]
movdqa xmm5, xmmword [0x74fab0]
movaps xmmword [esp + 0x20], xmm3
mov eax, dword [esp + 0x24]
movd dword [esp + 0x60], xmm3
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x6c], eax
movzx eax, byte [esp + 0x60]
mov esi, dword [eax*4 + 0x7e0280]
movzx eax, byte [esp + 0x64]
mov ebx, dword [eax*4 + 0x7e0280]
movzx eax, byte [esp + 0x68]
movzx edx, byte [esp + 0x6c]
movzx ecx, byte [esp + 0x6d]
mov eax, dword [eax*4 + 0x7e0280]
xor esi, dword [ecx*4 + 0x7dfe80]
movzx ecx, byte [esp + 0x61]
mov edx, dword [edx*4 + 0x7e0280]
xor ebx, dword [ecx*4 + 0x7dfe80]
movzx ecx, byte [esp + 0x65]
xor eax, dword [ecx*4 + 0x7dfe80]
movzx ecx, byte [esp + 0x69]
xor edx, dword [ecx*4 + 0x7dfe80]
movzx ecx, byte [esp + 0x6a]
xor esi, dword [ecx*4 + 0x7dfa80]
movzx ecx, byte [esp + 0x6e]
xor ebx, dword [ecx*4 + 0x7dfa80]
movzx ecx, byte [esp + 0x62]
xor eax, dword [ecx*4 + 0x7dfa80]
movzx ecx, byte [esp + 0x66]
mov dword [esp + 0x1c], eax
xor edx, dword [ecx*4 + 0x7dfa80]
movzx edi, byte [esp + 0x67]
movzx ecx, byte [esp + 0x6b]
movaps xmmword [esp + 0x20], xmm2
mov eax, edi
movzx edi, al
mov byte [esp + 0x18], cl
movzx ecx, byte [esp + 0x6f]
xor esi, dword [edi*4 + 0x7df680]
mov byte [esp + 0x14], cl
movzx ecx, byte [esp + 0x63]
movd dword [esp + 0x50], xmm2
mov dword [esp + 0x10], esi
movzx esi, byte [esp + 0x18]
xor edx, dword [ecx*4 + 0x7df680]
mov eax, dword [esi*4 + 0x7df680]
xor eax, ebx
movzx ebx, byte [esp + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
movd xmm3, dword [esp + 0x14]
movd xmm4, dword [esp + 0x18]
xor eax, dword [ebx*4 + 0x7df680]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
movd xmm7, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
punpckldq xmm7, xmm3
movd xmm3, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
punpckldq xmm3, xmm4
mov dword [esp + 0x5c], eax
movzx eax, byte [esp + 0x50]
punpcklqdq xmm3, xmm7
mov esi, dword [eax*4 + 0x7e1280]
movzx eax, byte [esp + 0x54]
pxor xmm3, xmm6
mov ebx, dword [eax*4 + 0x7e1280]
movzx eax, byte [esp + 0x58]
movzx edx, byte [esp + 0x5c]
movzx ecx, byte [esp + 0x55]
mov eax, dword [eax*4 + 0x7e1280]
xor esi, dword [ecx*4 + 0x7e0e80]
movzx ecx, byte [esp + 0x59]
mov edx, dword [edx*4 + 0x7e1280]
xor ebx, dword [ecx*4 + 0x7e0e80]
movzx ecx, byte [esp + 0x5d]
xor eax, dword [ecx*4 + 0x7e0e80]
movzx ecx, byte [esp + 0x51]
xor edx, dword [ecx*4 + 0x7e0e80]
movzx ecx, byte [esp + 0x5a]
xor esi, dword [ecx*4 + 0x7e0a80]
movzx ecx, byte [esp + 0x5e]
xor ebx, dword [ecx*4 + 0x7e0a80]
movzx ecx, byte [esp + 0x52]
xor eax, dword [ecx*4 + 0x7e0a80]
movzx ecx, byte [esp + 0x56]
movzx edi, byte [esp + 0x5f]
mov dword [esp + 0x1c], eax
xor edx, dword [ecx*4 + 0x7e0a80]
mov eax, edi
movzx ecx, byte [esp + 0x53]
movzx edi, al
xor esi, dword [edi*4 + 0x7e0680]
mov byte [esp + 0x18], cl
movzx ecx, byte [esp + 0x57]
mov dword [esp + 0x10], esi
movzx esi, byte [esp + 0x18]
mov byte [esp + 0x14], cl
movzx ecx, byte [esp + 0x5b]
mov eax, dword [esi*4 + 0x7e0680]
movd dword [esp + 0x40], xmm1
movaps xmmword [esp + 0x20], xmm1
xor edx, dword [ecx*4 + 0x7e0680]
xor eax, ebx
movzx ebx, byte [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
movd xmm4, dword [esp + 0x14]
movd xmm2, dword [esp + 0x10]
xor eax, dword [ebx*4 + 0x7e0680]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
movd xmm7, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x28]
punpckldq xmm7, xmm4
movd xmm4, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
punpckldq xmm2, xmm4
mov dword [esp + 0x4c], eax
movzx eax, byte [esp + 0x40]
punpcklqdq xmm2, xmm7
mov esi, dword [eax*4 + 0x7e0280]
movzx eax, byte [esp + 0x44]
pxor xmm2, xmm5
mov ebx, dword [eax*4 + 0x7e0280]
movzx eax, byte [esp + 0x48]
movzx edx, byte [esp + 0x4c]
movzx ecx, byte [esp + 0x4d]
mov eax, dword [eax*4 + 0x7e0280]
xor esi, dword [ecx*4 + 0x7dfe80]
movzx ecx, byte [esp + 0x41]
mov edx, dword [edx*4 + 0x7e0280]
xor ebx, dword [ecx*4 + 0x7dfe80]
movzx ecx, byte [esp + 0x45]
xor eax, dword [ecx*4 + 0x7dfe80]
movzx ecx, byte [esp + 0x49]
xor edx, dword [ecx*4 + 0x7dfe80]
movzx ecx, byte [esp + 0x4a]
xor esi, dword [ecx*4 + 0x7dfa80]
movzx ecx, byte [esp + 0x4e]
xor ebx, dword [ecx*4 + 0x7dfa80]
movzx ecx, byte [esp + 0x42]
xor eax, dword [ecx*4 + 0x7dfa80]
movzx ecx, byte [esp + 0x46]
movzx edi, byte [esp + 0x47]
mov dword [esp + 0x1c], eax
xor edx, dword [ecx*4 + 0x7dfa80]
mov eax, edi
movzx ecx, byte [esp + 0x4b]
movzx edi, al
xor esi, dword [edi*4 + 0x7df680]
mov byte [esp + 0x18], cl
movzx ecx, byte [esp + 0x4f]
mov dword [esp + 0x10], esi
movzx esi, byte [esp + 0x18]
mov byte [esp + 0x14], cl
movzx ecx, byte [esp + 0x43]
mov eax, dword [esi*4 + 0x7df680]
xor edx, dword [ecx*4 + 0x7df680]
xor eax, ebx
movzx ebx, byte [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
xor eax, dword [ebx*4 + 0x7df680]
movd xmm4, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
movd xmm7, dword [esp + 0x1c]
movd xmm1, dword [esp + 0x10]
movaps xmmword [esp + 0x20], xmm0
mov eax, dword [esp + 0x24]
punpckldq xmm7, xmm4
movd dword [esp + 0x30], xmm0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
movd xmm4, dword [esp + 0x18]
punpckldq xmm1, xmm4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
punpcklqdq xmm1, xmm7
mov dword [esp + 0x3c], eax
movzx eax, byte [esp + 0x30]
pxor xmm1, xmmword [0x74fac0]
mov esi, dword [eax*4 + 0x7e1280]
movzx eax, byte [esp + 0x34]
mov ebx, dword [eax*4 + 0x7e1280]
movzx eax, byte [esp + 0x38]
movzx edx, byte [esp + 0x3c]
movzx ecx, byte [esp + 0x35]
mov eax, dword [eax*4 + 0x7e1280]
xor esi, dword [ecx*4 + 0x7e0e80]
movzx ecx, byte [esp + 0x39]
mov edx, dword [edx*4 + 0x7e1280]
xor ebx, dword [ecx*4 + 0x7e0e80]
movzx ecx, byte [esp + 0x3d]
xor eax, dword [ecx*4 + 0x7e0e80]
movzx ecx, byte [esp + 0x31]
xor edx, dword [ecx*4 + 0x7e0e80]
movzx ecx, byte [esp + 0x3a]
xor esi, dword [ecx*4 + 0x7e0a80]
movzx ecx, byte [esp + 0x3e]
xor ebx, dword [ecx*4 + 0x7e0a80]
movzx ecx, byte [esp + 0x32]
xor eax, dword [ecx*4 + 0x7e0a80]
movzx ecx, byte [esp + 0x36]
movzx edi, byte [esp + 0x3f]
mov dword [esp + 0x1c], eax
xor edx, dword [ecx*4 + 0x7e0a80]
mov eax, edi
movzx ecx, byte [esp + 0x33]
movzx edi, al
xor esi, dword [edi*4 + 0x7e0680]
mov byte [esp + 0x18], cl
movzx ecx, byte [esp + 0x37]
mov dword [esp + 0x10], esi
movzx esi, byte [esp + 0x18]
movd xmm0, dword [esp + 0x10]
mov byte [esp + 0x14], cl
movzx ecx, byte [esp + 0x3b]
mov eax, dword [esi*4 + 0x7e0680]
xor edx, dword [ecx*4 + 0x7e0680]
xor eax, ebx
movzx ebx, byte [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
xor eax, dword [ebx*4 + 0x7e0680]
movd xmm4, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
movd xmm7, dword [esp + 0x1c]
punpckldq xmm7, xmm4
movd xmm4, dword [esp + 0x18]
movaps xmmword [eax], xmm3
punpckldq xmm0, xmm4
movaps xmmword [eax + 0x10], xmm2
punpcklqdq xmm0, xmm7
movaps xmmword [eax + 0x20], xmm1
pxor xmm0, xmmword [0x74fad0]
movaps xmmword [eax + 0x30], xmm0
add dword [ebp + 0x10], 0x40
mov eax, dword [esp + 0xc]
cmp eax, dword [ebp + 0x10]
ja 0x54e355
mov eax, dword [ebp + 8]
movaps xmmword [eax], xmm3
movaps xmmword [eax + 0x10], xmm2
movaps xmmword [eax + 0x20], xmm1
movaps xmmword [eax + 0x30], xmm0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret