Function at 0x533d20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x2c
call fcn.0058a1c0
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x38]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov al, byte [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x28]
push edi
mov byte [esp + 0xf], al
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
test al, 0x40
jne 0x533d7f
push edx
lea edx, [esi + 0x10]
push edx
push esi
call ecx
mov al, byte [esp + 0x1b]
add esp, 0xc
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
movzx eax, al
and eax, 7
mov edx, 0xf
sub edx, eax
mov byte [esi], al
mov eax, edx
xor ecx, ecx
mov dword [esp + 0x14], edx
cmp eax, 0xf
jae 0x533db3
jmp 0x533da0
movzx edi, byte [esi + eax]
or ecx, edi
mov byte [esi + eax], 0
inc eax
shl ecx, 8
cmp eax, 0xf
jb 0x533da0
movzx eax, byte [esi + 0xf]
mov edi, dword [esp + 0x48]
or ecx, eax
mov byte [esi + 0xf], 1
cmp ecx, edi
je 0x533dda
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005832f8
add esp, 0x2c
ret
lea ecx, [edi + 0xf]
or ecx, 8
shr ecx, 3
add dword [esi + 0x20], ecx
adc dword [esi + 0x24], 0
cmp dword [esi + 0x24], 0x20000000
jb 0x533e12
ja 0x533dfb
cmp dword [esi + 0x20], 0
jbe 0x533e12
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.005832f8
add esp, 0x2c
ret
push ebp
mov ebp, edi
shr ebp, 4
test ebp, ebp
je 0x533e51
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x10]
push edx
push esi
push eax
push ebp
push ecx
push ebx
call dword [esp + 0x3c]
shl ebp, 4
mov edx, ebp
add dword [esp + 0x34], edx
add esp, 0x18
add ebx, edx
sub edi, edx
je 0x533eb5
shr edx, 4
mov ecx, esi
call fcn.00533ce0
mov edx, dword [esp + 0x18]
test edi, edi
je 0x533eb9
xor eax, eax
test edi, edi
jbe 0x533e6c
jmp 0x533e60
mov dl, byte [ebx + eax]
xor byte [esi + eax + 0x10], dl
inc eax
cmp eax, edi
jb 0x533e60
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
lea eax, [esi + 0x10]
push ecx
push eax
push eax
call ebp
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push esi
call ebp
add esp, 0x18
xor ecx, ecx
test edi, edi
jbe 0x533eb5
lea edx, [esp + 0x28]
mov ebp, ebx
sub ebp, edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
sub edx, eax
lea eax, [esp + ecx + 0x28]
mov bl, byte [eax + ebp]
xor bl, byte [eax]
inc ecx
mov byte [edx + eax], bl
cmp ecx, edi
jb 0x533ea4
mov edx, dword [esp + 0x18]
pop ebp
cmp edx, 0x10
jae 0x533ed5
mov ecx, 0x10
sub ecx, edx
push ecx
lea eax, [esi + edx]
push 0
push eax
call fcn.00587fb0
add esp, 0xc
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x28]
push eax
push esi
call dword [esp + 0x28]
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.005832f8
add esp, 0x2c
ret