Function at 0x54dfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x100
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
shld esi, ebx, 1
add ebx, ebx
mov eax, ebx
mov dword [esp + 0x18], ebx
add eax, 0xffffffff
mov dword [esp + 0x1c], esi
shl eax, 6
mov dword [esp + 0x28], 0
add eax, edx
mov dword [esp + 0x2c], 0
movdqu xmm2, xmmword [eax]
movdqu xmm6, xmmword [eax + 0x10]
movdqu xmm7, xmmword [eax + 0x20]
movups xmmword [esp + 0x80], xmm2
movdqu xmm2, xmmword [eax + 0x30]
mov eax, ebx
or eax, esi
movups xmmword [esp + 0x90], xmm6
movups xmmword [esp + 0xa0], xmm7
movups xmmword [esp + 0xb0], xmm2
je 0x54e556
mov dword [esp + 0x24], edx
lea esi, [esi]
mov eax, dword [esp + 0x24]
movdqu xmm1, xmmword [esp + 0xa0]
mov dword [esp + 0x30], 4
movdqu xmm3, xmmword [esp + 0x80]
movdqu xmm0, xmmword [esp + 0x90]
movdqu xmm7, xmmword [eax + 0x20]
movdqu xmm2, xmmword [eax]
add eax, 0x40
movdqu xmm6, xmmword [eax - 0x30]
movdqu xmm5, xmmword [eax - 0x10]
mov dword [esp + 0x24], eax
pxor xmm1, xmm7
pxor xmm3, xmm2
movdqu xmm2, xmmword [esp + 0xb0]
pxor xmm0, xmm6
pshufd xmm4, xmm1, 0x55
movups xmmword [esp + 0x70], xmm5
movd ebx, xmm1
movd dword [esp + 0x50], xmm4
pshufd xmm4, xmm0, 0x55
pxor xmm2, xmm5
movd edi, xmm4
pshufd xmm4, xmm3, 0x55
movd dword [esp + 0x60], xmm0
movd edx, xmm2
movd dword [esp + 0x5c], xmm4
pshufd xmm4, xmm2, 0x55
movd esi, xmm4
movdqa xmm4, xmm2
mov dword [esp + 0x68], edi
punpckhdq xmm4, xmm2
movd dword [esp + 0x70], xmm3
movd dword [esp + 0x4c], xmm4
movdqa xmm4, xmm1
punpckhdq xmm4, xmm1
movd dword [esp + 0x44], xmm4
movdqa xmm4, xmm0
punpckhdq xmm4, xmm0
movd eax, xmm4
movdqa xmm4, xmm3
punpckhdq xmm4, xmm3
movd dword [esp + 0x58], xmm4
pshufd xmm4, xmm3, 0xff
movd dword [esp + 0x54], xmm4
pshufd xmm4, xmm2, 0xff
movd dword [esp + 0x6c], xmm4
pshufd xmm4, xmm1, 0xff
movd dword [esp + 0x64], xmm4
pshufd xmm4, xmm0, 0xff
movd dword [esp + 0x48], xmm4
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x60]
add ecx, edx
rol ecx, 7
xor edi, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x60], edi
add ecx, edi
rol ecx, 9
xor ecx, ebx
mov ebx, dword [esp + 0x60]
mov edi, ecx
lea ecx, [ebx + ecx]
mov dword [esp + 0x40], edi
rol ecx, 0xd
mov ebx, ecx
mov ecx, dword [esp + 0x70]
xor ebx, edx
mov edx, edi
mov edi, dword [esp + 0x50]
add edx, ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x68]
ror edx, 0xe
xor ecx, edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x5c]
lea edx, [ebx + ecx]
rol edx, 7
xor edi, edx
lea edx, [edi + ebx]
mov dword [esp + 0x50], edi
rol edx, 9
xor edx, esi
mov esi, dword [esp + 0x44]
lea ebx, [edi + edx]
mov dword [esp + 0x38], edx
mov edi, dword [esp + 0x68]
rol ebx, 0xd
xor ebx, ecx
mov ecx, dword [esp + 0x4c]
lea edx, [edx + ebx]
ror edx, 0xe
xor edx, edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x34], edx
lea edx, [esi + eax]
rol edx, 7
xor ecx, edx
mov edx, ecx
lea ecx, [ecx + esi]
rol ecx, 9
mov dword [esp + 0x4c], edx
xor ecx, edi
lea edi, [edx + ecx]
mov edx, dword [esp + 0x6c]
rol edi, 0xd
xor edi, eax
lea eax, [ecx + edi]
ror eax, 0xe
xor esi, eax
mov eax, edx
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x64]
add eax, esi
mov esi, dword [esp + 0x54]
rol eax, 7
xor eax, esi
mov esi, eax
add edx, eax
mov eax, dword [esp + 0x48]
rol edx, 9
mov dword [esp + 0x68], esi
xor edx, eax
mov eax, dword [esp + 0x64]
add esi, edx
rol esi, 0xd
xor eax, esi
lea esi, [edx + eax]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
ror esi, 0xe
xor eax, esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x68]
add esi, eax
rol esi, 7
mov eax, esi
xor eax, ebx
mov dword [esp + 0x5c], eax
mov esi, dword [esp + 0x70]
lea ebx, [esi + eax]
rol ebx, 9
xor ebx, ecx
lea ecx, [eax + ebx]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x58], ebx
rol ecx, 0xd
xor ecx, eax
lea eax, [ebx + ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x54], ecx
ror eax, 0xe
xor esi, eax
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x34]
lea eax, [ebx + esi]
mov ecx, esi
rol eax, 7
xor eax, edi
mov edi, dword [esp + 0x50]
add ecx, eax
rol ecx, 9
xor ecx, edx
lea edx, [eax + ecx]
mov dword [esp + 0x48], ecx
rol edx, 0xd
xor ebx, edx
lea edx, [ecx + ebx]
mov ecx, esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x60], ebx
ror edx, 0xe
mov ebx, dword [esp + 0x64]
xor ecx, edx
lea edx, [edi + esi]
rol edx, 7
mov dword [esp + 0x68], ecx
xor ebx, edx
mov edx, dword [esp + 0x40]
mov ecx, ebx
mov dword [esp + 0x64], ebx
add ebx, esi
rol ebx, 9
xor ebx, edx
lea edx, [ecx + ebx]
mov ecx, dword [esp + 0x6c]
rol edx, 0xd
xor edi, edx
lea edx, [ebx + edi]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x4c]
ror edx, 0xe
xor esi, edx
lea edx, [edi + ecx]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x3c]
rol edx, 7
xor edx, esi
lea esi, [ecx + edx]
mov ecx, dword [esp + 0x38]
rol esi, 9
xor esi, ecx
lea ecx, [edx + esi]
rol ecx, 0xd
xor edi, ecx
lea ecx, [esi + edi]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x6c]
ror ecx, 0xe
xor edi, ecx
sub dword [esp + 0x30], 1
mov dword [esp + 0x6c], edi
jne 0x54e161
mov edi, eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xf0], edx
mov dword [esp + 0x68], edi
movd xmm6, dword [esp + 0x54]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xd8], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd0], edi
mov edi, ecx
movd xmm5, dword [esp + 0x58]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x64]
punpckldq xmm5, xmm6
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x4c]
movd xmm6, eax
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xf8], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xfc], edx
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xc0]
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xf4], esi
movd xmm4, dword [esp + 0x70]
movd xmm7, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], 0x40
punpckldq xmm4, xmm7
movd xmm7, edi
punpcklqdq xmm4, xmm5
paddd xmm3, xmm4
movd xmm4, dword [esp + 0x68]
movups xmmword [esp + 0x80], xmm3
movd xmm3, dword [esp + 0x60]
punpckldq xmm4, xmm6
movd xmm6, dword [esp + 0x64]
punpckldq xmm3, xmm7
movd xmm7, dword [esp + 0x50]
punpcklqdq xmm3, xmm4
paddd xmm0, xmm3
movd xmm3, ecx
movups xmmword [esp + 0x90], xmm0
movd xmm0, ebx
punpckldq xmm3, xmm6
movd xmm6, edx
punpckldq xmm0, xmm7
movd xmm7, esi
punpcklqdq xmm0, xmm3
paddd xmm0, xmm1
movd xmm1, dword [esp + 0x4c]
movups xmmword [esp + 0xa0], xmm0
movd xmm0, dword [esp + 0x48]
punpckldq xmm1, xmm6
punpckldq xmm0, xmm7
punpcklqdq xmm0, xmm1
paddd xmm0, xmm2
movups xmmword [esp + 0xb0], xmm0
call fcn.004ded70
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
movdqu xmm7, xmmword [esp + 0x90]
mov edx, dword [esp + 0x18]
movdqu xmm5, xmmword [esp + 0x80]
mov eax, esi
mov ebx, edi
mov ecx, esi
movdqu xmm2, xmmword [esp + 0xa0]
and eax, 1
neg eax
shrd ecx, ebx, 1
and eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x1c]
shl eax, 6
add eax, ebx
add esi, 1
movups xmmword [eax + 0x10], xmm7
adc edi, 0
movdqu xmm7, xmmword [esp + 0xb0]
movups xmmword [eax], xmm5
movups xmmword [eax + 0x20], xmm2
movups xmmword [eax + 0x30], xmm7
mov eax, edx
mov edx, ecx
xor eax, esi
xor edx, edi
mov dword [esp + 0x28], esi
or eax, edx
mov dword [esp + 0x2c], edi
movups xmmword [esp + 0x70], xmm7
jne 0x54e060
lea eax, [esp + 0x80]
mov dword [esp + 4], 0x40
mov dword [esp], eax
call fcn.004ded70
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret