Function at 0x4b54c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x24]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [eax]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x90], ecx
call fcn.004af450
push dword [ebp + 0x10]
mov dword [ebp - 0x8c], 0
push esi
mov esi, dword [ebp - 0x98]
push esi
mov byte [ebp - 0x85], al
mov byte [ebp - 0x89], 1
call fcn.004af590
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4b572f
cmp dword [ebp + 0x20], eax
je 0x4b5711
push dword [ebp + 0x18]
push edi
push esi
call fcn.004af790
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4b5711
push 4
lea eax, [ebp - 0x8c]
push eax
push esi
call fcn.004af790
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4b5711
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004af490
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4b5711
push esi
call fcn.004af540
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b5711
movzx edi, byte [ebp - 0x85]
lea eax, [ebp - 0x44]
push edi
push eax
lea eax, [ebp - 0x84]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x94], 1
cmp dword [ebp + 0x1c], 1
jbe 0x4b56b6
push edi
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004af790
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4b5711
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.004af490
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4b5711
push esi
call fcn.004af540
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4b5711
test edi, edi
je 0x4b5686
cmp edi, 0x40
jb 0x4b5686
mov ecx, edi
and ecx, 0x8000003f
jns 0x4b5624
dec ecx
or ecx, 0xffffffc0
inc ecx
mov edx, edi
sub edx, ecx
nop dword [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x44]
movups xmm1, xmmword [ebp + eax - 0x84]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x44], xmm1
movups xmm0, xmmword [ebp + eax - 0x34]
movups xmm1, xmmword [ebp + eax - 0x74]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x34], xmm1
movups xmm0, xmmword [ebp + eax - 0x24]
movups xmm1, xmmword [ebp + eax - 0x64]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x24], xmm1
movups xmm0, xmmword [ebp + eax - 0x14]
movups xmm1, xmmword [ebp + eax - 0x54]
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x14], xmm1
add eax, 0x40
cmp eax, edx
jl 0x4b5630
cmp eax, edi
jge 0x4b56a0
nop word [eax + eax]
mov cl, byte [ebp + eax - 0x84]
xor byte [ebp + eax - 0x44], cl
inc eax
cmp eax, edi
jl 0x4b5690
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp eax, dword [ebp + 0x1c]
jb 0x4b55c4
mov esi, dword [ebp + 0x20]
lea eax, [ebp - 0x44]
cmp esi, edi
cmovae esi, edi
push esi
push eax
push dword [ebp - 0x90]
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp + 0x20]
lea ecx, [ebp - 0x89]
add dword [ebp - 0x90], esi
sub edi, esi
mov edx, 4
mov dword [ebp + 0x20], edi
mov eax, ecx
add esp, 0xc
sub edx, eax
nop
add byte [ecx], 1
jne 0x4b56fd
dec ecx
lea eax, [edx + ecx]
test eax, eax
jne 0x4b56f0
mov esi, dword [ebp - 0x98]
test edi, edi
mov edi, dword [ebp - 0x9c]
jne 0x4b5538
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.004b66d0
lea eax, [ebp - 0x84]
push 0x40
push eax
call fcn.004b66d0
add esp, 0x10
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054f742
mov esp, ebp
pop ebp
ret