Function at 0x1801d2290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
lea r9, [rdx + 4]
mov r10, rcx
lea rax, [rcx + 2]
mov ebx, 2
nop dword [rax + rax]
movzx r8d, byte [r9 - 4]
and r8b, 7
mov byte [rax - 2], r8b
mov r8d, dword [r9 - 4]
shr r8d, 3
and r8b, 7
mov byte [rax - 1], r8b
mov edx, dword [r9 - 4]
shr edx, 6
and dl, 7
mov byte [rax], dl
movzx ecx, byte [r9]
and cl, 1
shl cl, 2
xor cl, dl
mov byte [rax], cl
mov ecx, dword [r9]
shr ecx, 1
and cl, 7
mov byte [rax + 1], cl
mov ecx, dword [r9]
shr ecx, 4
and cl, 7
mov byte [rax + 2], cl
mov edx, dword [r9]
shr edx, 7
and dl, 7
mov byte [rax + 3], dl
movzx ecx, byte [r9 + 4]
and cl, 3
add cl, cl
xor cl, dl
mov byte [rax + 3], cl
mov ecx, dword [r9 + 4]
shr ecx, 2
and cl, 7
mov byte [rax + 4], cl
mov ecx, dword [r9 + 4]
shr ecx, 5
and cl, 7
mov byte [rax + 5], cl
movzx ecx, byte [r9 + 8]
and cl, 7
mov byte [rax + 6], cl
mov ecx, dword [r9 + 8]
shr ecx, 3
and cl, 7
mov byte [rax + 7], cl
mov edx, dword [r9 + 8]
shr edx, 6
and dl, 7
mov byte [rax + 8], dl
movzx ecx, byte [r9 + 0xc]
and cl, 1
shl cl, 2
xor cl, dl
mov byte [rax + 8], cl
mov ecx, dword [r9 + 0xc]
shr ecx, 1
and cl, 7
mov byte [rax + 9], cl
mov ecx, dword [r9 + 0xc]
shr ecx, 4
and cl, 7
mov byte [rax + 0xa], cl
mov edx, dword [r9 + 0xc]
shr edx, 7
and dl, 7
mov byte [rax + 0xb], dl
movzx ecx, byte [r9 + 0x10]
and cl, 3
add cl, cl
xor cl, dl
mov byte [rax + 0xb], cl
mov ecx, dword [r9 + 0x10]
shr ecx, 2
and cl, 7
mov byte [rax + 0xc], cl
mov ecx, dword [r9 + 0x10]
shr ecx, 5
and cl, 7
mov byte [rax + 0xd], cl
movzx ecx, byte [r9 + 0x14]
and cl, 7
mov byte [rax + 0xe], cl
mov ecx, dword [r9 + 0x14]
shr ecx, 3
and cl, 7
mov byte [rax + 0xf], cl
mov edx, dword [r9 + 0x14]
shr edx, 6
and dl, 7
mov byte [rax + 0x10], dl
movzx ecx, byte [r9 + 0x18]
and cl, 1
shl cl, 2
xor cl, dl
mov byte [rax + 0x10], cl
mov ecx, dword [r9 + 0x18]
shr ecx, 1
and cl, 7
mov byte [rax + 0x11], cl
mov ecx, dword [r9 + 0x18]
shr ecx, 4
and cl, 7
mov byte [rax + 0x12], cl
mov edx, dword [r9 + 0x18]
shr edx, 7
and dl, 7
mov byte [rax + 0x13], dl
movzx ecx, byte [r9 + 0x1c]
and cl, 3
add cl, cl
xor cl, dl
mov byte [rax + 0x13], cl
mov ecx, dword [r9 + 0x1c]
shr ecx, 2
and cl, 7
mov byte [rax + 0x14], cl
mov ecx, dword [r9 + 0x1c]
shr ecx, 5
and cl, 7
mov byte [rax + 0x15], cl
movzx ecx, byte [r9 + 0x20]
and cl, 7
mov byte [rax + 0x16], cl
mov ecx, dword [r9 + 0x20]
shr ecx, 3
and cl, 7
mov byte [rax + 0x17], cl
mov edx, dword [r9 + 0x20]
shr edx, 6
and dl, 7
mov byte [rax + 0x18], dl
movzx ecx, byte [r9 + 0x24]
and cl, 1
shl cl, 2
xor cl, dl
mov byte [rax + 0x18], cl
mov ecx, dword [r9 + 0x24]
shr ecx, 1
and cl, 7
mov byte [rax + 0x19], cl
mov ecx, dword [r9 + 0x24]
shr ecx, 4
and cl, 7
mov byte [rax + 0x1a], cl
mov edx, dword [r9 + 0x24]
shr edx, 7
and dl, 7
mov byte [rax + 0x1b], dl
movzx ecx, byte [r9 + 0x28]
and cl, 3
add cl, cl
xor cl, dl
mov byte [rax + 0x1b], cl
mov ecx, dword [r9 + 0x28]
shr ecx, 2
and cl, 7
mov byte [rax + 0x1c], cl
mov ecx, dword [r9 + 0x28]
shr ecx, 5
and cl, 7
lea r9, [r9 + 0x3c]
mov byte [rax + 0x1d], cl
lea rax, [rax + 0x28]
movzx ecx, byte [r9 - 0x10]
and cl, 7
mov byte [rax - 0xa], cl
mov ecx, dword [r9 - 0x10]
shr ecx, 3
and cl, 7
mov byte [rax - 9], cl
mov edx, dword [r9 - 0x10]
shr edx, 6
and dl, 7
mov byte [rax - 8], dl
movzx ecx, byte [r9 - 0xc]
and cl, 1
shl cl, 2
xor cl, dl
mov byte [rax - 8], cl
mov ecx, dword [r9 - 0xc]
shr ecx, 1
and cl, 7
mov byte [rax - 7], cl
mov ecx, dword [r9 - 0xc]
shr ecx, 4
and cl, 7
mov byte [rax - 6], cl
mov edx, dword [r9 - 0xc]
shr edx, 7
and dl, 7
mov byte [rax - 5], dl
movzx ecx, byte [r9 - 8]
and cl, 3
add cl, cl
xor cl, dl
mov byte [rax - 5], cl
mov ecx, dword [r9 - 8]
shr ecx, 2
and cl, 7
mov byte [rax - 4], cl
mov ecx, dword [r9 - 8]
shr ecx, 5
and cl, 7
mov byte [rax - 3], cl
sub rbx, 1
jne 0x1801d22b0
movzx eax, byte [r11 + 0x78]
lea r9, [r10 + 1]
and al, 7
mov byte [r10 + 0x50], al
mov eax, dword [r11 + 0x78]
shr eax, 3
and al, 7
mov byte [r10 + 0x51], al
mov ecx, dword [r11 + 0x78]
shr ecx, 6
and cl, 7
mov byte [r10 + 0x52], cl
movzx eax, byte [r11 + 0x7c]
and al, 1
shl al, 2
xor al, cl
mov byte [r10 + 0x52], al
mov eax, dword [r11 + 0x7c]
shr eax, 1
and al, 7
mov byte [r10 + 0x53], al
mov eax, dword [r11 + 0x7c]
lea r11d, [rbx + 6]
shr eax, 4
and al, 7
mov byte [r10 + 0x54], al
xor cl, cl
nop
add cl, byte [r9 - 1]
movzx eax, cl
movzx r8d, cl
and al, 7
sar r8b, 3
movzx edx, al
movzx ecx, al
shr dl, 2
add r8b, dl
movzx eax, dl
add r8b, byte [r9]
shl al, 3
sub cl, al
movzx eax, r8b
and al, 7
sar r8b, 3
add r8b, byte [r9 + 1]
movzx edx, al
shr dl, 2
add r8b, dl
mov byte [r9 - 1], cl
movzx ecx, al
movzx eax, dl
shl al, 3
sub cl, al
movzx eax, r8b
and al, 7
sar r8b, 3
add r8b, byte [r9 + 2]
movzx edx, al
shr dl, 2
add r8b, dl
mov byte [r9], cl
movzx ecx, al
movzx eax, dl
shl al, 3
sub cl, al
movzx eax, r8b
and al, 7
sar r8b, 3
add r8b, byte [r9 + 3]
movzx edx, al
shr dl, 2
add r8b, dl
mov byte [r9 + 1], cl
movzx ecx, al
movzx eax, dl
shl al, 3
sub cl, al
movzx eax, r8b
and al, 7
sar r8b, 3
movzx edx, al
mov byte [r9 + 2], cl
movzx ecx, al
shr dl, 2
add r8b, dl
movzx eax, dl
add r8b, byte [r9 + 4]
shl al, 3
sub cl, al
movzx eax, r8b
and al, 7
mov byte [r9 + 3], cl
movzx edx, al
sar r8b, 3
add r8b, byte [r9 + 5]
movzx ecx, al
shr dl, 2
add r8b, dl
movzx eax, dl
shl al, 3
sub cl, al
movzx eax, r8b
and al, 7
mov byte [r9 + 4], cl
movzx edx, al
movzx ecx, al
shr dl, 2
movzx eax, dl
shl al, 3
sub cl, al
sar r8b, 3
add r8b, byte [r9 + 6]
add r8b, dl
mov byte [r9 + 5], cl
movzx ecx, r8b
sar r8b, 3
and cl, 7
movzx edx, cl
shr dl, 2
add r8b, dl
movzx eax, dl
add r8b, byte [r9 + 7]
shl al, 3
sub cl, al
mov byte [r9 + 6], cl
movzx ecx, r8b
and cl, 7
sar r8b, 3
add r8b, byte [r9 + 8]
movzx edx, cl
shr dl, 2
add r8b, dl
movzx eax, dl
shl al, 3
sub cl, al
mov byte [r9 + 7], cl
movzx ecx, r8b
and cl, 7
sar r8b, 3
add r8b, byte [r9 + 9]
movzx edx, cl
shr dl, 2
add r8b, dl
movzx eax, dl
shl al, 3
sub cl, al
mov byte [r9 + 8], cl
movzx ecx, r8b
and cl, 7
sar r8b, 3
add r8b, byte [r9 + 0xa]
movzx edx, cl
shr dl, 2
add r8b, dl
movzx eax, dl
shl al, 3
sub cl, al
mov byte [r9 + 9], cl
movzx ecx, r8b
and cl, 7
sar r8b, 3
movzx edx, cl
sar dl, 2
add r8b, dl
movzx eax, dl
add r8b, byte [r9 + 0xb]
shl al, 3
sub cl, al
mov byte [r9 + 0xa], cl
movzx ecx, r8b
and cl, 7
sar r8b, 3
movzx edx, cl
shr dl, 2
add r8b, dl
movzx eax, dl
add r8b, byte [r9 + 0xc]
shl al, 3
sub cl, al
movzx eax, r8b
sar al, 3
and r8b, 7
add byte [r9 + 0xd], al
mov byte [r9 + 0xb], cl
movzx ecx, r8b
shr cl, 2
movzx eax, cl
shl al, 3
sub r8b, al
mov byte [r9 + 0xc], r8b
lea r9, [r9 + 0xe]
sub r11, 1
jne 0x1801d25b0
add byte [r10 + 0x54], cl
mov rbx, qword [rsp + 8]
ret