Function at 0x4b0af0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.0044a310
mov eax, dword [0x547e80]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
push ebx
push esi
mov esi, dword [esp + 0x38]
mov bl, byte [esi]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x28]
push edi
mov byte [esp + 0xf], bl
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
test bl, 0x40
jne 0x4b0b40
push ecx
lea ecx, [esi + 0x10]
push ecx
push esi
call eax
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, bl
and eax, 7
mov edx, 0xf
sub edx, eax
mov byte [esi], al
mov eax, edx
xor ecx, ecx
mov dword [esp + 0x1c], edx
cmp eax, 0xf
jae 0x4b0b73
lea esp, [esp]
movzx edi, byte [esi + eax]
or ecx, edi
mov byte [esi + eax], 0
inc eax
shl ecx, 8
cmp eax, 0xf
jb 0x4b0b60
movzx eax, byte [esi + 0xf]
mov ebx, dword [esp + 0x48]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, ebx
je 0x4b0b9a
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00446098
add esp, 0x2c
ret
lea ecx, [ebx + 0xf]
or ecx, 8
shr ecx, 3
add dword [esi + 0x20], ecx
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x4b0bd2
ja 0x4b0bbb
cmp dword [esi + 0x20], 0
jbe 0x4b0bd2
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00446098
add esp, 0x2c
ret
mov edi, dword [esp + 0x40]
push ebp
cmp ebx, 0x10
jb 0x4b0c86
mov eax, ebx
shr eax, 4
lea ebp, [esi + 0x10]
mov dword [esp + 0x24], eax
lea esp, [esp]
mov edx, dword [edi]
xor dword [ebp], edx
mov eax, dword [edi + 4]
xor dword [ebp + 4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
xor dword [esi + 0x18], ecx
mov edx, dword [edi + 0xc]
xor dword [esi + 0x1c], edx
push eax
push ebp
push ebp
call dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
call dword [esp + 0x30]
add esp, 0x18
mov eax, 8
lea esp, [esp]
mov cl, byte [eax + esi + 7]
dec eax
inc cl
mov byte [eax + esi + 8], cl
jne 0x4b0c41
test eax, eax
jne 0x4b0c30
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x1c]
xor ecx, dword [esp + 0x28]
xor edx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
xor ecx, dword [edi + 8]
mov edx, dword [esp + 0x34]
xor edx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
add eax, 0x10
add edi, 0x10
sub ebx, 0x10
dec dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jne 0x4b0bf0
mov edx, dword [esp + 0x20]
test ebx, ebx
je 0x4b0ce5
xor eax, eax
test ebx, ebx
je 0x4b0c9c
mov cl, byte [eax + edi]
xor byte [esi + eax + 0x10], cl
inc eax
cmp eax, ebx
jb 0x4b0c90
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
lea eax, [esi + 0x10]
push edx
push eax
push eax
call ebp
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call ebp
add esp, 0x18
xor ecx, ecx
test ebx, ebx
je 0x4b0ce1
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x28]
mov eax, edx
sub edi, edx
sub ebp, eax
lea eax, [esp + ecx + 0x28]
mov dl, byte [edi + eax]
xor dl, byte [eax]
inc ecx
mov byte [eax + ebp], dl
cmp ecx, ebx
jb 0x4b0cd0
mov edx, dword [esp + 0x20]
pop ebp
cmp edx, 0x10
jae 0x4b0d01
mov ecx, 0x10
sub ecx, edx
push ecx
lea eax, [esi + edx]
push 0
push eax
call fcn.004463e0
add esp, 0xc
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
push esi
call dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
xor dword [esi + 0x10], ecx
mov edx, dword [esp + 0x34]
xor dword [esi + 0x14], edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
xor dword [esi + 0x1c], ecx
xor dword [esi + 0x18], eax
mov dl, byte [esp + 0x1b]
mov ecx, dword [esp + 0x40]
add esp, 0xc
pop edi
mov byte [esi], dl
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00446098
add esp, 0x2c
ret