Function at 0x4b97c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.0045c6a0
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp ebx, 0xc
jne 0x4b9860
mov eax, dword [esp + 0x18]
mov ebx, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x4b99fa
mov dword [esp + 0xc], ebx
push ebp
mov ebp, dword [esp + 0x1c]
push edi
lea edi, [esi + 0x60]
cmp ebx, 0x10
jb 0x4b98d5
mov edi, ebp
lea ecx, [esi + 0xf]
mov eax, ebx
sub edi, esi
shr eax, 4
mov dword [esp + 0x24], eax
lea eax, [ecx + edi]
cmp esi, eax
ja 0x4b98a4
cmp ecx, ebp
jb 0x4b98a4
mov eax, esi
mov edx, 0x10
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub edx, 1
jne 0x4b9894
jmp 0x4b98b2
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebp]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call fcn.004b9ca0
add esp, 8
lea ecx, [esi + 0xf]
add ebp, 0x10
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x24], 1
jne 0x4b9882
lea edi, [esi + 0x60]
test ebx, ebx
je 0x4b999d
xor edx, edx
test ebx, ebx
je 0x4b9993
cmp ebx, 0x40
jb 0x4b997b
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, ebx
add ecx, ebx
cmp esi, eax
ja 0x4b9902
cmp ecx, ebp
jae 0x4b997b
mov edi, ebx
lea eax, [esi + 0x10]
and edi, 0xffffffc0
lea ecx, [ebp + 0x30]
mov dword [esp + 0x24], edi
mov edi, ebp
sub edi, esi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
movups xmm0, xmmword [eax - 0x10]
add edx, 0x40
lea ecx, [ecx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + esi - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp edx, edi
jb 0x4b9921
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
cmp edx, ebx
jae 0x4b9990
sub ebp, esi
lea ecx, [edx + esi]
sub ebx, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub ebx, 1
jne 0x4b9982
lea edi, [esi + 0x60]
push edi
push esi
call fcn.004b9ca0
add esp, 8
mov edx, dword [esp + 0x14]
xor ebx, ebx
shld ebx, edx, 3
push edi
xor byte [esi + 0xb], bl
mov eax, ebx
shl edx, 3
xor byte [esi + 0xf], dl
mov ecx, edx
shrd ecx, eax, 0x18
mov eax, ebx
xor byte [esi + 0xc], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
xor byte [esi + 0xd], cl
shrd eax, ebx, 8
push esi
xor byte [esi + 0xe], al
call fcn.004b9ca0
movzx ebx, byte [esi + 0xc]
add esp, 8
movzx eax, byte [esi + 0xd]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xe]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 0xf]
shl ebx, 8
pop edi
or ebx, eax
pop ebp
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
inc ebx
add esp, 0xc
mov eax, ebx
mov byte [esi + 0xf], bl
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, ebx
shr eax, 8
mov byte [esi + 0xe], al
pop esi
pop ebx
add esp, 8
ret