Function at 0x18006d8b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
push r13
push r15
sub rsp, 0x58
cmp byte [rcx + 8], 0
mov r15, r8
mov r13, rcx
jne 0x18006d00c
lea rdx, str.Object_not_Initialized
lea rcx, [rsp + 0x20]
call fcn.18007aac4
lea rdx, [0x1800cc2c8]
lea rcx, [rsp + 0x20]
call fcn.18007e92c
int3
movzx eax, byte [rdx + 1]
mov qword [rsp + 0x70], rbx
movzx ebx, byte [rdx]
shl eax, 0x10
mov qword [rsp + 0x78], rbp
movzx ebp, byte [rdx + 8]
mov qword [rsp + 0x88], rsi
movzx esi, byte [rdx + 4]
shl ebx, 0x18
or ebx, eax
movzx eax, byte [rdx + 2]
shl esi, 0x18
shl eax, 8
shl ebp, 0x18
mov qword [rsp + 0x50], rdi
or ebx, eax
movzx eax, byte [rdx + 3]
mov qword [rsp + 0x48], r12
movzx r12d, byte [rdx + 0xe]
or ebx, eax
movzx eax, byte [rdx + 5]
xor ebx, dword [rcx + 0xc]
shl eax, 0x10
shl r12d, 8
or esi, eax
movzx eax, byte [rdx + 6]
mov qword [rsp + 0x40], r14
mov r14d, dword [r13 + 0x3d4]
shl eax, 8
or esi, eax
movzx eax, byte [rdx + 7]
or esi, eax
movzx eax, byte [rdx + 9]
xor esi, dword [rcx + 0x10]
shl eax, 0x10
or ebp, eax
movzx eax, byte [rdx + 0xa]
shl eax, 8
or ebp, eax
movzx eax, byte [rdx + 0xb]
or ebp, eax
movzx eax, byte [rdx + 0xd]
xor ebp, dword [rcx + 0x14]
movzx ecx, byte [rdx + 0xc]
shl eax, 0x10
shl ecx, 0x18
or ecx, eax
movzx eax, byte [rdx + 0xf]
or r12d, eax
or r12d, ecx
xor r12d, dword [r13 + 0x18]
cmp r14d, 1
jle 0x18006d213
lea r15d, [r14 - 1]
lea rdi, [r13 + 0x34]
lea r14, [0x180000000]
nop dword [rax]
movsxd r9, esi
movsxd r10, ebp
movsxd r11, r12d
movsxd r8, ebx
mov rax, r9
add rdi, 0x20
sar rax, 0x18
movzx edx, al
mov rax, r10
mov esi, dword [r14 + rdx*4 + 0xa51b0]
sar rax, 0x10
movzx ecx, al
mov rax, r11
xor esi, dword [r14 + rcx*4 + 0xa55b0]
sar rax, 8
movzx ecx, al
movzx eax, r8b
xor esi, dword [r14 + rcx*4 + 0xa59b0]
xor esi, dword [r14 + rax*4 + 0xa5db0]
mov rax, r8
sar r8, 0x10
xor esi, dword [rdi - 0x24]
sar rax, 8
movzx edx, al
mov rax, r10
mov ebp, dword [r14 + rdx*4 + 0xa59b0]
sar rax, 0x18
movzx edx, r8b
mov r12d, dword [r14 + rdx*4 + 0xa55b0]
movzx ecx, al
mov rax, r11
xor ebp, dword [r14 + rcx*4 + 0xa51b0]
sar rax, 0x10
movzx ecx, al
movzx eax, r9b
xor ebp, dword [r14 + rcx*4 + 0xa55b0]
xor ebp, dword [r14 + rax*4 + 0xa5db0]
mov rax, r9
sar r9, 0x10
xor ebp, dword [rdi - 0x20]
sar rax, 8
movzx ecx, al
mov rax, r11
xor r12d, dword [r14 + rcx*4 + 0xa59b0]
sar rax, 0x18
movzx ecx, al
movzx eax, r10b
sar r10, 8
xor r12d, dword [r14 + rcx*4 + 0xa51b0]
mov ecx, ebx
xor r12d, dword [r14 + rax*4 + 0xa5db0]
shr rcx, 0x18
movzx eax, r9b
xor r12d, dword [rdi - 0x1c]
mov ebx, dword [r14 + rcx*4 + 0xa51b0]
xor ebx, dword [r14 + rax*4 + 0xa55b0]
movzx eax, r10b
xor ebx, dword [r14 + rax*4 + 0xa59b0]
movzx eax, r11b
xor ebx, dword [r14 + rax*4 + 0xa5db0]
xor ebx, dword [rdi - 0x28]
dec r15
jne 0x18006d0e0
mov r14d, dword [r13 + 0x3d4]
mov r15, qword [rsp + 0x80]
movsxd rdi, ebx
movsxd r10, r14d
lea r14, [0x180000000]
shl r10, 5
movsxd r11, ebp
movsxd rbx, esi
mov r8d, dword [r10 + r13 + 0xc]
movsxd r9, r12d
mov rax, rdi
sar rax, 0x18
mov ecx, r8d
movzx edx, al
sar ecx, 0x18
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov ecx, r8d
mov byte [r15], al
sar ecx, 0x10
mov rax, rbx
sar rax, 0x10
movzx edx, al
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov ecx, r8d
mov byte [r15 + 1], al
sar ecx, 8
mov rax, r11
sar rax, 8
movzx edx, al
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov byte [r15 + 2], al
movzx eax, r9b
movzx eax, byte [rax + r14 + 0xa4fb0]
xor al, r8b
mov byte [r15 + 3], al
mov r8d, dword [r10 + r13 + 0x10]
mov rax, rbx
sar rax, 0x18
mov ecx, r8d
movzx edx, al
sar ecx, 0x18
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov ecx, r8d
mov byte [r15 + 4], al
sar ecx, 0x10
mov rax, r11
sar rax, 0x10
movzx edx, al
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov ecx, r8d
mov byte [r15 + 5], al
sar ecx, 8
mov rax, r9
sar rax, 8
movzx edx, al
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov byte [r15 + 6], al
movzx eax, dil
movzx eax, byte [rax + r14 + 0xa4fb0]
xor al, r8b
mov byte [r15 + 7], al
mov r8d, dword [r10 + r13 + 0x14]
mov rax, r11
sar rax, 0x18
mov ecx, r8d
movzx edx, al
sar ecx, 0x18
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov ecx, r8d
mov byte [r15 + 8], al
mov rax, r9
sar ecx, 0x10
sar rax, 0x10
movzx edx, al
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x78]
mov byte [r15 + 9], al
mov rax, rdi
sar rdi, 0x10
sar rax, 8
sar r9, 0x18
mov ecx, r8d
movzx edx, al
sar ecx, 8
movzx eax, byte [rdx + r14 + 0xa4fb0]
xor al, cl
mov byte [r15 + 0xa], al
movzx eax, bl
sar rbx, 8
movzx eax, byte [rax + r14 + 0xa4fb0]
xor al, r8b
mov byte [r15 + 0xb], al
mov edx, dword [r10 + r13 + 0x18]
movzx eax, r9b
movzx eax, byte [rax + r14 + 0xa4fb0]
mov ecx, edx
sar ecx, 0x18
xor al, cl
mov ecx, edx
mov byte [r15 + 0xc], al
sar ecx, 0x10
movzx eax, dil
movzx eax, byte [rax + r14 + 0xa4fb0]
mov rdi, qword [rsp + 0x50]
xor al, cl
mov ecx, edx
mov byte [r15 + 0xd], al
movzx eax, bl
mov rbx, qword [rsp + 0x70]
movzx eax, byte [rax + r14 + 0xa4fb0]
sar ecx, 8
xor al, cl
mov byte [r15 + 0xe], al
movzx eax, r11b
movzx eax, byte [rax + r14 + 0xa4fb0]
mov r14, qword [rsp + 0x40]
xor al, dl
mov byte [r15 + 0xf], al
add rsp, 0x58
pop r15
pop r13
ret
mov qword [rsp + 0x18], r8
push rbx
push r15
sub rsp, 0x88
cmp byte [rcx + 8], 0
mov r15, r8
mov r9, rdx
mov rbx, rcx
jne 0x18006d8f1
lea rdx, str.Object_not_Initialized
lea rcx, [rsp + 0x40]
call fcn.18007aac4
lea rdx, [0x1800cc2c8]
lea rcx, [rsp + 0x40]
call fcn.18007e92c
int3
mov eax, dword [rcx + 0x3d0]
cmp eax, 0x10
jne 0x18006d90b
add rsp, 0x88
pop r15
pop rbx
jmp 0x18006cfd0
mov qword [rsp + 0xa8], rbp
cdq
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], rdi
and edx, 3
mov qword [rsp + 0x70], r12
add eax, edx
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r14
sar eax, 2
movsxd r14, eax
xor eax, eax
mov ecx, eax
cmp r14d, 4
je 0x18006d94e
cmp r14d, 6
setne cl
inc ecx
movsxd rax, ecx
lea rcx, [0x180000000]
lea rbp, [rbx + 0x458]
shl rax, 5
mov rdx, rbp
mov r13, r14
mov edi, dword [rax + rcx + 0xa81d8]
mov r11d, dword [rax + rcx + 0xa81e0]
mov r12d, dword [rax + rcx + 0xa81e8]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0xa0], r11d
mov dword [rsp + 0x20], r12d
test r14d, r14d
jle 0x18006d9e2
lea r8, [rbx + 0xc]
mov r10, r14
nop dword [rax]
movzx eax, byte [r9]
mov rcx, rdx
add r9, 4
shl eax, 0x18
add rdx, 4
add r8, 4
mov dword [rdx - 4], eax
movzx eax, byte [r9 - 3]
shl eax, 0x10
or dword [rdx - 4], eax
movzx eax, byte [r9 - 2]
shl eax, 8
or dword [rdx - 4], eax
movzx eax, byte [r9 - 1]
or dword [rdx - 4], eax
mov eax, dword [r8 - 4]
xor dword [rcx], eax
dec r10
jne 0x18006d9a0
mov esi, 1
mov dword [rsp + 0xb8], esi
cmp dword [rbx + 0x3d4], esi
jle 0x18006db49
lea eax, [r14*4]
lea rcx, [rbx + 0x438]
mov r12d, 0x40c
cdqe
lea rbp, [rbx + 0x2c]
mov r15d, r11d
mov qword [rsp + 0x30], rax
nop dword [rax]
test r13, r13
jle 0x18006daf2
mov r11d, dword [rsp + 0x20]
mov r10d, r15d
mov dword [rsp + 0x24], edi
mov r15d, dword [rsp + 0x24]
sub r10d, edi
sub r11d, edi
mov rdi, r13
lea rsi, [0x180000000]
mov r13, rbp
nop dword [rax]
lea eax, [r10 + r15]
add r13, 4
cdq
idiv r14d
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
lea eax, [r11 + r15]
cdq
sar rcx, 8
movzx r8d, cl
idiv r14d
mov r9d, dword [rsi + r8*4 + 0xa59b0]
movsxd rax, edx
movzx ecx, byte [rbx + rax*4 + 0x458]
mov eax, r15d
inc r15d
xor r9d, dword [rsi + rcx*4 + 0xa5db0]
cdq
idiv r14d
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
sar rcx, 0x10
movzx eax, cl
xor r9d, dword [rsi + rax*4 + 0xa55b0]
movzx eax, byte [r13 + r12 + 0x1f]
xor r9d, dword [rsi + rax*4 + 0xa51b0]
xor r9d, dword [r13 - 4]
dec rdi
mov dword [r13 + r12 - 4], r9d
jne 0x18006da50
mov edi, dword [rsp + 0x28]
mov esi, dword [rsp + 0xb8]
mov r15d, dword [rsp + 0xa0]
mov rax, qword [rsp + 0x30]
mov r13, r14
lea rcx, [rbx + 0x438]
mov rdx, rcx
lea rcx, [rbx + 0x458]
mov r8, rax
call fcn.18007abc0
mov rax, qword [rsp + 0x30]
inc esi
add rbp, 0x20
sub r12, 0x20
mov dword [rsp + 0xb8], esi
lea rcx, [rbx + 0x438]
cmp esi, dword [rbx + 0x3d4]
jl 0x18006da20
mov r15, qword [rsp + 0xb0]
mov r11d, dword [rsp + 0xa0]
mov r12d, dword [rsp + 0x20]
lea rbp, [rbx + 0x458]
mov rsi, qword [rsp + 0x80]
test r13, r13
jle 0x18006dc2e
sub edi, r11d
sub r12d, r11d
lea r10, [0x180000000]
xor r9d, r9d
nop word [rax + rax]
movsxd rax, dword [rbx + 0x3d4]
add r15, 4
add rbp, 4
lea rcx, [r9 + rax*8]
movzx eax, byte [rbp - 1]
inc r9
movzx eax, byte [rax + r10 + 0xa4fb0]
mov r8d, dword [rbx + rcx*4 + 0xc]
mov ecx, r8d
sar ecx, 0x18
xor al, cl
mov byte [r15 - 4], al
lea eax, [rdi + r11]
cdq
idiv r14d
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
sar rcx, 0x10
movzx eax, cl
mov ecx, r8d
movzx eax, byte [rax + r10 + 0xa4fb0]
sar ecx, 0x10
xor al, cl
mov byte [r15 - 3], al
mov eax, r11d
cdq
idiv r14d
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
sar rcx, 8
movzx eax, cl
mov ecx, r8d
movzx eax, byte [rax + r10 + 0xa4fb0]
sar ecx, 8
xor al, cl
mov byte [r15 - 2], al
lea eax, [r12 + r11]
inc r11d
cdq
idiv r14d
movsxd rax, edx
movzx ecx, byte [rbx + rax*4 + 0x458]
movzx eax, byte [rcx + r10 + 0xa4fb0]
xor al, r8b
mov byte [r15 - 1], al
cmp r9, r13
jl 0x18006db70
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x60]
add rsp, 0x88
pop r15
pop rbx
ret