Function at 0x5383f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1c
call fcn.0041bcc0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
lea ebx, [ecx + 0xe]
sub edx, ecx
mov dword [esp + 0x14], ebx
push edi
mov dword [esp + 0x1c], edx
nop dword [eax]
movzx ecx, byte [eax + 0xf]
xor eax, eax
movzx edx, byte [ebx + 1]
xor edx, ecx
mov dword [esp + 0x20], 0xe
mov ecx, dword [esp + 0x34]
mov ebx, edx
and edx, 0xf
and ebx, 0xfffffff0
add edx, edx
mov ebp, dword [esi + edx*8]
mov edi, dword [esi + edx*8 + 4]
mov ecx, dword [ecx + edx*8 + 0xc]
mov esi, dword [esi + edx*8 + 8]
mov edx, esi
shrd esi, ecx, 4
and edx, 0xf
mov dword [esp + 0x38], ebp
shl dword [esp + 0x38], 0x1c
or eax, esi
mov esi, dword [esp + 0x38]
shrd ebp, edi, 4
shr ecx, 4
mov dword [esp + 0x10], eax
or esi, ecx
mov eax, dword [edx*4 + 0x5fc0f0]
xor ecx, ecx
mov edx, dword [esp + 0x34]
xor ecx, ebp
mov ebp, dword [esp + 0x18]
shr edi, 4
xor eax, edi
mov dword [esp + 0x24], ebp
xor ecx, dword [ebx + edx]
mov edi, dword [esp + 0x10]
xor eax, dword [ebx + edx + 4]
xor edi, dword [ebx + edx + 8]
xor esi, dword [ebx + edx + 0xc]
mov dword [esp + 0x14], ecx
mov ebx, esi
mov dword [esp + 0x38], esi
nop
mov ecx, dword [esp + 0x1c]
xor esi, esi
movzx edx, byte [ecx + ebp]
movzx ecx, byte [ebp]
mov ebp, dword [esp + 0x14]
xor edx, ecx
mov ecx, edx
shl ebp, 0x1c
shr ecx, 4
and edx, 0xf
mov dword [esp + 0x28], ecx
add edx, edx
mov ecx, edi
shrd edi, ebx, 4
and ecx, 0xf
shr ebx, 4
or esi, edi
or ebp, ebx
xor edi, edi
mov ebx, dword [ecx*4 + 0x5fc0f0]
mov ecx, dword [esp + 0x14]
shrd ecx, eax, 4
shr eax, 4
xor edi, ecx
xor ebx, eax
mov eax, dword [esp + 0x34]
xor esi, dword [eax + edx*8 + 8]
xor ebp, dword [eax + edx*8 + 0xc]
mov ecx, esi
xor ebx, dword [eax + edx*8 + 4]
and ecx, 0xf
xor edi, dword [eax + edx*8]
xor eax, eax
shrd esi, ebp, 4
mov edx, edi
shl edx, 0x1c
or eax, esi
mov esi, dword [esp + 0x34]
shr ebp, 4
or edx, ebp
mov dword [esp + 0x10], eax
mov eax, dword [ecx*4 + 0x5fc0f0]
xor ecx, ecx
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x38], edx
dec ebp
mov edx, dword [esp + 0x28]
shrd edi, ebx, 4
add edx, edx
mov dword [esp + 0x24], ebp
xor ecx, edi
shr ebx, 4
xor eax, ebx
mov ebx, dword [esp + 0x38]
xor ecx, dword [esi + edx*8]
xor eax, dword [esi + edx*8 + 4]
xor ebx, dword [esi + edx*8 + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
xor ecx, dword [esi + edx*8 + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
dec ecx
mov dword [esp + 0x20], ecx
test ecx, ecx
jns 0x5384b0
mov dword [esp + 0x38], eax
mov ecx, eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
shr ecx, 0x18
sub dword [esp + 0x1c], 0x10
mov byte [eax], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 1], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 2], cl
mov byte [eax + 3], dl
mov edx, dword [esp + 0x14]
mov ecx, edx
shr ecx, 0x18
mov byte [eax + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 5], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + 6], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [eax + 8], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [eax + 9], cl
mov ecx, ebx
shr ecx, 8
mov byte [eax + 0xa], cl
mov byte [eax + 7], dl
mov edx, edi
mov ecx, edx
mov byte [eax + 0xb], bl
mov ebx, dword [esp + 0x18]
shr ecx, 0x18
add ebx, 0x10
mov byte [eax + 0xc], cl
mov ecx, edx
shr ecx, 0x10
mov byte [eax + 0xd], cl
mov ecx, edx
shr ecx, 8
sub dword [esp + 0x3c], 0x10
mov byte [eax + 0xe], cl
mov byte [eax + 0xf], dl
mov dword [esp + 0x18], ebx
jne 0x538420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret