Function at 0x4f98d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [0x557008]
xor edx, ebp
mov dword [esp + 0xe8], edx
cmp ecx, 0x100
je 0x4f9c64
cmp ecx, 0xc0
je 0x4f99f2
cmp ecx, 0x80
jne 0x4f99ea
mov dword [ebx + 0xf0], 0xa
movdqu xmm1, xmmword [eax]
movdqu xmmword [ebx], xmm1
add ebx, 0x10
mov esi, 0xfffffff6
movdqa xmmword [esp + 0x10], xmm1
lea eax, [esp + 0x70]
xorps xmm0, xmm0
movaps xmmword [eax + 0x60], xmm0
movaps xmmword [eax + 0x50], xmm0
movaps xmmword [eax + 0x40], xmm0
movaps xmmword [eax + 0x30], xmm0
movaps xmmword [eax + 0x20], xmm0
movaps xmmword [eax + 0x10], xmm0
movaps xmmword [eax], xmm0
movdqa xmmword [esp + 0x60], xmm1
lea edi, [esp + 0x60]
mov ecx, edi
call fcn.00508fa0
mov ecx, edi
call fcn.00509200
mov ecx, edi
call fcn.00508fa0
movdqa xmm1, xmmword [esp + 0x60]
movzx eax, byte [esi + 0x548c5a]
movd xmm0, eax
movdqa xmm2, xmm1
psrld xmm2, 8
pslld xmm1, 0x18
por xmm1, xmm2
psrldq xmm1, 0xc
pxor xmm0, xmmword [esp + 0x10]
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslldq xmm1, 4
movdqa xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm1
movdqa xmm1, xmm0
pslldq xmm1, 0xc
pxor xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [ebx], xmm1
add ebx, 0x10
xor edi, edi
inc esi
jne 0x4f9935
jmp 0x4f9c4c
xor edi, edi
inc edi
jmp 0x4f9c4c
mov dword [ebx + 0xf0], 0xc
movups xmm0, xmmword [eax]
lea ecx, [esp + 0x50]
movaps xmmword [ecx], xmm0
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebx], xmm0
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
lea edi, [esp + 0x40]
mov dword [edi + 4], eax
mov dword [edi], edx
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
add ebx, 0x30
mov esi, 0xfffffff8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ecx
pxor xmm0, xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movaps xmm0, xmmword [edi]
movaps xmmword [esp + 0x60], xmm0
lea ebx, [esp + 0x60]
mov ecx, ebx
call fcn.00508fa0
mov ecx, ebx
call fcn.00509200
mov ecx, ebx
mov ebx, dword [esp + 0x20]
call fcn.00508fa0
mov dword [esp + 0xc], esi
movzx eax, byte [esi + 0x548c58]
movd xmm1, eax
mov eax, dword [esp + 0x10]
movdqa xmm0, xmmword [eax]
pxor xmm1, xmm0
pslldq xmm1, 8
por xmm1, xmmword [edi]
movdqa xmm2, xmmword [esp + 0x60]
movdqa xmm3, xmm2
psrld xmm3, 8
pslld xmm2, 0x18
por xmm2, xmm3
shufps xmm2, xmmword [0x52f2c0], 0x31
pxor xmm3, xmm3
shufps xmm3, xmm2, 0x84
xorps xmm3, xmm1
pshufd xmm2, xmm3, 0xaa
pand xmm2, xmmword [0x548230]
pxor xmm2, xmm3
movdqa xmmword [edi], xmm2
shufps xmm0, xmm1, 0x4e
psrldq xmm2, 0xc
pxor xmm2, xmm0
movdqa xmm0, xmm2
movdqa xmm1, xmm2
pslldq xmm1, 0xc
pxor xmm1, xmm2
pslldq xmm2, 4
pslldq xmm0, 8
pxor xmm0, xmm2
pxor xmm1, xmm0
movdqa xmmword [eax], xmm1
movups xmm0, xmmword [edi]
movups xmmword [ebx - 0x20], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebx - 0x10], xmm0
xorps xmm0, xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmm0, xmmword [eax]
movaps xmmword [esp + 0x60], xmm0
lea esi, [esp + 0x60]
mov ecx, esi
call fcn.00508fa0
mov ecx, esi
call fcn.00509200
mov ecx, esi
call fcn.00508fa0
movdqa xmm1, xmmword [esp + 0x60]
mov esi, dword [esp + 0xc]
movzx eax, byte [esi + 0x548c59]
movaps xmm2, xmmword [edi]
mov ecx, dword [esp + 0x10]
movaps xmm0, xmmword [ecx]
shufps xmm2, xmm0, 0x4e
movd xmm3, eax
pxor xmm3, xmm2
movdqa xmm2, xmm1
psrld xmm2, 8
pslld xmm1, 0x18
por xmm1, xmm2
psrldq xmm1, 0xc
pxor xmm1, xmm3
movdqa xmm2, xmm1
pslldq xmm2, 4
movdqa xmm3, xmm1
pslldq xmm3, 8
pxor xmm3, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 0xc
pxor xmm2, xmm3
pxor xmm2, xmm1
movdqa xmmword [edi], xmm2
psrldq xmm0, 8
psrldq xmm2, 0xc
pxor xmm2, xmm0
movdqa xmm0, xmm2
psllq xmm0, 0x20
pxor xmm0, xmm2
mov eax, ecx
movdqa xmmword [ecx], xmm0
movdqu xmm0, xmmword [edi]
movdqu xmmword [ebx], xmm0
add ebx, 0x30
mov ecx, edi
mov edi, eax
add esi, 2
jne 0x4f9a2d
xor edi, edi
mov ecx, dword [esp + 0xe8]
xor ecx, ebp
call fcn.004a927c
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebx + 0xf0], 0xe
movdqu xmm0, xmmword [eax]
movdqa xmmword [esp + 0x20], xmm0
movdqu xmmword [ebx], xmm0
movdqu xmm2, xmmword [eax + 0x10]
movdqu xmmword [ebx + 0x10], xmm2
lea edi, [esp + 0x70]
mov dword [esp + 0x10], 0x30
mov dword [esp + 0xc], 0x548c50
pxor xmm0, xmm0
movdqa xmmword [edi + 0x60], xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
movdqa xmmword [esp + 0x30], xmm2
movdqa xmmword [esp + 0x60], xmm2
lea esi, [esp + 0x60]
mov ecx, esi
call fcn.00508fa0
mov ecx, esi
call fcn.00509200
mov ecx, esi
call fcn.00508fa0
movdqa xmm0, xmmword [esp + 0x60]
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
movd xmm1, eax
pxor xmm1, xmmword [esp + 0x20]
movdqa xmm2, xmm0
psrld xmm2, 8
pslld xmm0, 0x18
por xmm0, xmm2
psrldq xmm0, 0xc
pxor xmm0, xmm1
movdqa xmm1, xmm0
pslldq xmm1, 4
movdqa xmm2, xmm0
pslldq xmm2, 8
pxor xmm2, xmm1
movdqa xmm1, xmm0
pslldq xmm1, 0xc
pxor xmm1, xmm2
pxor xmm1, xmm0
mov eax, dword [esp + 0x10]
movdqu xmmword [ebx + eax - 0x10], xmm1
cmp eax, 0xf0
je 0x4f9c4a
pxor xmm0, xmm0
movdqa xmmword [edi + 0x60], xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
movdqa xmmword [esp + 0x20], xmm1
movdqa xmmword [esp + 0x60], xmm1
lea esi, [esp + 0x60]
mov ecx, esi
call fcn.00508fa0
mov ecx, esi
call fcn.00509200
mov ecx, esi
call fcn.00508fa0
movdqa xmm0, xmmword [esp + 0x60]
psrldq xmm0, 0xc
movdqa xmm2, xmmword [esp + 0x30]
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
movdqa xmm1, xmm2
pslldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 0xc
pxor xmm0, xmm1
pxor xmm2, xmm0
mov eax, dword [esp + 0x10]
movdqu xmmword [ebx + eax], xmm2
add eax, 0x20
mov dword [esp + 0x10], eax
inc dword [esp + 0xc]
jmp 0x4f9c9a