Function at 0x4b4e70
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x30
call fcn.00434640
mov eax, dword [0x526a28]
xor eax, esp
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x48], 1
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push ebx
push ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
push esi
mov esi, dword [esp + 0x44]
mov ebp, eax
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebp
mov ebx, ecx
jne 0x4b4fde
cmp eax, 0x10
jb 0x4b4f5f
shr eax, 4
mov dword [esp + 0x10], eax
mov edx, edi
sub edx, ebx
mov dword [esp + 0x28], edx
mov edx, esi
mov eax, ebx
sub edx, ebx
mov ebx, edi
sub ebx, esi
lea ebp, [edi + 3]
lea ecx, [esi + 1]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 4
lea esp, [esp]
mov ebx, dword [esp + 0x28]
movzx ebx, byte [ebx + eax]
xor bl, byte [eax]
add eax, 4
mov byte [edx + eax - 4], bl
mov ebx, dword [esp + 0x20]
movzx ebx, byte [ebx + ecx]
xor bl, byte [eax - 3]
add ecx, 4
mov byte [ecx - 4], bl
movzx ebx, byte [eax - 2]
xor bl, byte [ebp - 1]
add ebp, 4
mov byte [ecx - 3], bl
movzx ebx, byte [eax - 1]
xor bl, byte [ebp - 4]
sub dword [esp + 0x24], 1
mov byte [ecx - 2], bl
jne 0x4b4ef0
mov ecx, dword [esp + 0x18]
push ecx
push esi
push esi
call fcn.004b5d90
sub dword [esp + 0x28], 0x10
mov ebx, esi
add esp, 0xc
add edi, 0x10
add esi, 0x10
sub dword [esp + 0x10], 1
jne 0x4b4ec8
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ebp, ebp
je 0x4b4fb5
jbe 0x4b4f82
mov ecx, esi
sub edi, ebx
mov eax, ebx
sub ecx, ebx
mov dword [esp + 0x10], ebp
mov dl, byte [eax + edi]
xor dl, byte [eax]
inc eax
sub dword [esp + 0x10], 1
mov byte [eax + ecx - 1], dl
jne 0x4b4f71
cmp ebp, 0x10
jae 0x4b4fa0
mov edi, ebx
mov ecx, 0x10
sub edi, esi
lea eax, [esi + ebp]
sub ecx, ebp
mov dl, byte [edi + eax]
mov byte [eax], dl
inc eax
sub ecx, 1
jne 0x4b4f95
mov eax, dword [esp + 0x18]
push eax
push esi
push esi
call fcn.004b5d90
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov ebx, esi
mov edx, dword [ebx]
mov dword [ecx], edx
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov edx, dword [ebx + 8]
pop edi
pop esi
mov dword [ecx + 8], edx
mov eax, dword [ebx + 0xc]
pop ebp
mov dword [ecx + 0xc], eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00431c7a
add esp, 0x30
ret
cmp edi, esi
je 0x4b50c0
cmp eax, 0x10
jb 0x4b5051
shr eax, 4
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
push ecx
push esi
push edi
call fcn.004b6350
mov ebp, ebx
add esp, 0xc
lea ecx, [ebx + 2]
mov eax, esi
sub ebp, esi
mov edx, 4
nop
movzx ebx, byte [eax + ebp]
xor byte [eax], bl
movzx ebx, byte [ecx - 1]
xor byte [eax + 1], bl
movzx ebx, byte [ecx]
xor byte [eax + 2], bl
movzx ebx, byte [ecx + 1]
xor byte [eax + 3], bl
add eax, 4
add ecx, 4
sub edx, 1
jne 0x4b5010
sub dword [esp + 0x1c], 0x10
mov ebx, edi
add edi, 0x10
add esi, 0x10
sub dword [esp + 0x10], 1
jne 0x4b4ff2
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test ebp, ebp
je 0x4b5097
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
push edi
call fcn.004b6350
add esp, 0xc
xor ecx, ecx
test ebp, ebp
jbe 0x4b5091
lea edx, [esp + 0x2c]
mov eax, edx
sub ebx, edx
sub esi, eax
jmp 0x4b5080
lea eax, [esp + ecx + 0x2c]
mov dl, byte [eax + ebx]
xor dl, byte [eax]
inc ecx
mov byte [eax + esi], dl
cmp ecx, ebp
jb 0x4b5080
mov ecx, dword [esp + 0x14]
mov ebx, edi
mov eax, dword [ebx]
mov dword [ecx], eax
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov eax, dword [ebx + 8]
pop edi
pop esi
mov dword [ecx + 8], eax
mov edx, dword [ebx + 0xc]
pop ebp
mov dword [ecx + 0xc], edx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00431c7a
add esp, 0x30
ret
cmp eax, 0x10
jb 0x4b516f
sub ebx, esi
lea edx, [ecx + 2]
shr eax, 4
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
lea esp, [esp]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
push esi
push edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.004b6350
mov ecx, dword [esp + 0x2c]
mov eax, esi
add esp, 0xc
mov esi, 4
movzx edx, byte [ebx + eax]
xor byte [eax], dl
movzx edx, byte [ecx - 1]
xor byte [eax + 1], dl
movzx edx, byte [ecx]
xor byte [eax + 2], dl
movzx edx, byte [ecx + 1]
xor byte [eax + 3], dl
add eax, 4
add ecx, 4
sub esi, 1
jne 0x4b5115
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x38]
sub ebp, 0x10
add edi, 0x10
sub ebx, 0x10
sub dword [esp + 0x10], 1
mov dword [ecx + 0xc], edx
mov esi, eax
jne 0x4b50e0
test ebp, ebp
je 0x4b51f8
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x30]
push esi
push edx
mov dword [esp + 0x44], eax
call fcn.004b6350
mov ebx, dword [esp + 0x20]
add esp, 0xc
test ebp, ebp
jbe 0x4b51c0
mov ecx, ebx
mov eax, esi
sub ecx, esi
mov edi, ebp
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x4b51b5
cmp ebp, 0x10
jae 0x4b51dd
mov ecx, 0x10
sub ecx, ebp
push ecx
lea eax, [esp + ebp + 0x30]
push eax
add esi, ebp
push esi
call fcn.0043ab90
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [ebx], edx
mov edx, dword [esp + 0x38]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00431c7a
add esp, 0x30
ret