Function at 0x54eba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
test byte [0x94c3e3], 1
je 0x54ebc5
test byte [0x94c3e4], 2
jne 0x54f015
movdqa xmm0, xmmword [ecx]
mov esi, dword [ecx]
cmp dword [ebp + 8], 0x10
mov dword [esp + 0x2c], ecx
pshufd xmm1, xmm0, 0x55
pshufd xmm2, xmm0, 0xee
pshufd xmm0, xmm0, 0xff
bswap esi
movd eax, xmm1
movd edi, xmm0
movd ebx, xmm2
bswap edi
bswap eax
bswap ebx
mov dword [esp + 4], edi
jae 0x54ec05
mov ecx, dword [esp + 4]
jmp 0x54ee39
mov edi, dword [ebp + 8]
shr edi, 4
mov dword [esp + 0x18], edi
mov edi, dword [ecx + 0x14]
shl dword [esp + 0x18], 4
mov dword [esp + 0x14], edi
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x10], edi
mov edi, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x38], ecx
xor ecx, dword [esp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0xc]
xor ecx, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 4]
nop dword [eax + eax]
mov edi, dword [edx]
movdqu xmm0, xmmword [edx]
bswap edi
pshufd xmm2, xmm0, 0xee
pshufd xmm1, xmm0, 0x55
pshufd xmm0, xmm0, 0xff
xor edi, esi
movd esi, xmm2
bswap esi
mov dword [esp], edi
movd edi, xmm1
xor esi, ebx
movd ebx, xmm0
bswap edi
bswap ebx
xor edi, eax
lea eax, [edx + 0x10]
xor ebx, ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x4c], eax
mov edx, ebx
push dword [esp + 0xc]
push dword [esp + 0x3c]
push esi
call fcn.0054f280
add esp, 0xc
mov eax, dword [esp + 0x94]
lea ecx, [esp + 0x78]
mov edx, edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 8]
call fcn.0054f280
add esp, 0xc
mov eax, dword [esp + 0x80]
xor esi, dword [esp]
xor ebx, edi
lea ecx, [esp + 0x68]
mov edx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
push dword [esp + 0x30]
push dword [esp + 0x38]
push esi
call fcn.0054f280
add esp, 0xc
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 4]
mov eax, esi
mov edx, esi
mov ecx, esi
xor edi, dword [esp + 0x1c]
shl eax, 0x1f
shl edx, 0x1e
shl ecx, 0x19
xor edx, eax
xor ecx, edx
mov edx, dword [esp + 8]
xor ecx, dword [esp + 0x6c]
mov ebx, edx
mov eax, edx
xor ebx, dword [esp + 0x28]
shr eax, 1
xor ebx, dword [esp]
xor ebx, ecx
mov ecx, dword [esp + 0x68]
xor ecx, esi
mov esi, edx
xor edi, ecx
mov ecx, edx
shr ecx, 2
mov dword [esp + 0x48], edi
xor ecx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
mov ecx, edx
mov edx, edi
shl edx, 0x1f
shld esi, eax, 0x1f
shld ecx, eax, 0x1e
mov eax, edi
xor ecx, esi
mov esi, eax
shl esi, 0x1e
xor esi, edx
mov edx, ebx
shld ebx, eax, 0x1f
mov edi, edx
shld edi, eax, 0x1e
mov eax, edx
xor edi, ebx
mov ebx, edx
mov dword [esp + 0x44], edi
mov edi, edx
shr ebx, 1
mov edx, dword [esp + 0x50]
shr edi, 2
xor edi, ebx
mov dword [esp + 0x40], edi
mov edi, dword [esp + 8]
mov ebx, edi
shld ebx, edx, 0x19
mov edx, edi
mov edi, dword [esp + 0x48]
shr edx, 7
xor ebx, ecx
mov ecx, dword [esp + 4]
xor edx, dword [esp + 0x3c]
xor ebx, dword [esp + 0x70]
xor ecx, dword [esp + 0x50]
xor edx, dword [esp + 0x74]
xor ecx, dword [esp + 0x24]
xor edx, esi
mov esi, eax
shr esi, 7
xor esi, dword [esp + 0x20]
xor ecx, dword [esp + 0x1c]
xor esi, dword [esp + 0x40]
xor ecx, ebx
xor esi, eax
shld eax, edi, 0x19
xor eax, dword [esp + 0x24]
xor eax, dword [esp + 0x44]
xor eax, edi
shl edi, 0x19
xor edi, dword [esp + 0x28]
xor edi, dword [esp + 8]
xor edi, edx
mov edx, dword [esp]
xor edx, dword [esp + 0x20]
xor edx, edi
add dword [esp + 0x18], 0xfffffff0
mov ebx, edx
mov edx, dword [esp + 0x4c]
jne 0x54ec50
bswap eax
bswap esi
bswap ebx
mov edx, eax
movd xmm1, esi
movd xmm6, eax
shld edx, esi, 0x18
movdqa xmm4, xmm1
movd xmm0, edx
punpckldq xmm4, xmm6
mov edx, ecx
mov ecx, eax
pshufd xmm6, xmm6, 0x50
punpcklqdq xmm1, xmm0
movapd xmm0, xmmword [0x7d4e50]
pshufd xmm7, xmm4, 0x44
psrlq xmm4, 0x10
shr ecx, 8
bswap edx
psrlq xmm7, 0x18
movd xmm2, ecx
mov ecx, eax
shr eax, 0x18
movsd xmm7, xmm4
psllq xmm2, 0x28
shr ecx, 0x10
movd xmm3, ecx
andpd xmm7, xmm0
pand xmm1, xmm0
movd xmm0, eax
psllq xmm3, 0x30
mov eax, ebx
packuswb xmm1, xmm7
pxor xmm7, xmm7
movdqa xmmword [esp + 0x50], xmm0
movdqa xmm0, xmmword [0x7d4bd0]
shr eax, 8
packuswb xmm1, xmm7
movd xmm4, eax
mov eax, ebx
packuswb xmm1, xmm7
movdqa xmm7, xmmword [0x7d4be0]
pslldq xmm4, 9
shr eax, 0x10
movd xmm5, eax
mov eax, ebx
pandn xmm0, xmm6
movd xmm6, ebx
pslldq xmm5, 0xa
shr eax, 0x18
pshufd xmm6, xmm6, 0x44
pandn xmm7, xmm2
movd xmm2, eax
mov eax, edx
por xmm7, xmm0
movdqa xmm0, xmmword [0x7d4bf0]
pslldq xmm2, 0xb
shr eax, 8
por xmm7, xmm1
movdqa xmm1, xmmword [esp + 0x50]
pand xmm7, xmm0
pandn xmm0, xmm3
movd xmm3, eax
mov eax, edx
por xmm0, xmm7
movdqa xmm7, xmmword [0x7d4c00]
psllq xmm1, 0x38
pslldq xmm3, 0xd
shr eax, 0x10
pand xmm0, xmm7
pandn xmm7, xmm1
movd xmm1, eax
mov eax, edx
por xmm7, xmm0
movdqa xmm0, xmmword [0x7d4c10]
pslldq xmm1, 0xe
shr eax, 0x18
pand xmm7, xmm0
pandn xmm0, xmm6
movd xmm6, edx
por xmm0, xmm7
movdqa xmm7, xmmword [0x7d4c20]
pand xmm0, xmm7
pandn xmm7, xmm4
movd xmm4, eax
mov eax, dword [esp + 0x2c]
por xmm7, xmm0
movdqa xmm0, xmmword [0x7d4c30]
pslldq xmm4, 0xf
pand xmm7, xmm0
pandn xmm0, xmm5
movdqa xmm5, xmmword [0x7d4c40]
por xmm0, xmm7
movdqa xmm7, xmmword [0x7d4c50]
pand xmm0, xmm5
pandn xmm5, xmm2
pshufd xmm2, xmm6, 0
por xmm5, xmm0
pand xmm5, xmm7
pandn xmm7, xmm2
por xmm7, xmm5
movdqa xmm5, xmmword [0x7d4c60]
pand xmm7, xmm5
pandn xmm5, xmm3
por xmm5, xmm7
pand xmm5, xmmword [0x7d4c70]
por xmm1, xmm5
pand xmm1, xmmword [0x7d4c80]
por xmm4, xmm1
movdqa xmmword [eax], xmm4
jmp 0x54f026
lea eax, [ecx + 0x10]
push dword [ebp + 8]
push edx
push eax
push ecx
call fcn.00761cb0
add esp, 0x10
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret