Function at 0x180043db0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
push rbp
push r12
sub rsp, 0x58
cmp byte [rcx + 8], 0
mov r12, r8
mov rbp, rcx
je 0x180043d85
movzx eax, byte [rdx + 1]
movzx ecx, byte [rdx + 2]
movzx r8d, byte [rdx + 3]
mov qword [r11 + 8], rbx
movzx ebx, byte [rdx]
mov qword [r11 + 0x10], rsi
movzx esi, byte [rdx + 8]
mov qword [r11 + 0x20], rdi
movzx edi, byte [rdx + 4]
shl ebx, 8
or ebx, eax
shl edi, 8
movzx eax, byte [rdx + 5]
or edi, eax
shl esi, 8
movzx eax, byte [rdx + 9]
or esi, eax
shl ebx, 8
movzx eax, byte [rdx + 0xd]
or ebx, ecx
movzx ecx, byte [rdx + 6]
shl edi, 8
or edi, ecx
shl esi, 8
movzx ecx, byte [rdx + 0xa]
or esi, ecx
shl ebx, 8
or ebx, r8d
shl edi, 8
movzx r8d, byte [rdx + 7]
xor ebx, dword [rbp + 0xc]
or edi, r8d
movzx r8d, byte [rdx + 0xb]
xor edi, dword [rbp + 0x10]
shl esi, 8
or esi, r8d
mov qword [r11 - 0x18], r13
movzx r8d, byte [rdx + 0xc]
xor esi, dword [rbp + 0x14]
movsxd r13, dword [rbp + 0x3d4]
shl r8d, 8
or r8d, eax
mov qword [r11 - 0x20], r14
movzx eax, byte [rdx + 0xe]
lea r14, [0x180000000]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + 0xf]
shl r8d, 8
or r8d, eax
xor r8d, dword [rbp + 0x18]
cmp r13, 1
jle 0x180043bb0
mov qword [r11 - 0x28], r15
lea r14, [rbp + 0x34]
lea r15, [r13 - 1]
lea r12, [0x180000000]
nop dword [rax]
nop word [rax + rax]
movsxd r10, r8d
lea r14, [r14 + 0x20]
movsxd r8, ebx
movsxd r9, edi
mov rax, r8
sar rax, 0x18
movzx edx, al
mov rax, r9
sar rax, 0x10
movzx ecx, al
movsxd r11, esi
mov ebx, dword [r12 + rdx*4 + 0x10a560]
mov rax, r11
sar rax, 8
xor ebx, dword [r12 + rcx*4 + 0x109b50]
movzx ecx, al
movzx eax, r10b
xor ebx, dword [r12 + rcx*4 + 0x10c170]
xor ebx, dword [r12 + rax*4 + 0x109750]
mov rax, r9
xor ebx, dword [r14 - 0x28]
sar rax, 0x18
movzx edx, al
mov rax, r11
sar rax, 0x10
movzx ecx, al
mov rax, r10
sar rax, 8
mov edi, dword [r12 + rdx*4 + 0x10a560]
xor edi, dword [r12 + rcx*4 + 0x109b50]
movzx ecx, al
movzx eax, r8b
xor edi, dword [r12 + rcx*4 + 0x10c170]
xor edi, dword [r12 + rax*4 + 0x109750]
mov rax, r8
xor edi, dword [r14 - 0x24]
sar rax, 8
movzx edx, al
mov rax, r11
sar rax, 0x18
movzx ecx, al
mov rax, r10
sar r8, 0x10
mov esi, dword [r12 + rdx*4 + 0x10c170]
sar rax, 0x10
xor esi, dword [r12 + rcx*4 + 0x10a560]
movzx ecx, al
movzx eax, r9b
sar r9, 8
sar r10, 0x18
xor esi, dword [r12 + rcx*4 + 0x109b50]
xor esi, dword [r12 + rax*4 + 0x109750]
xor esi, dword [r14 - 0x20]
movzx ecx, r8b
movzx eax, r9b
mov r8d, dword [r12 + rcx*4 + 0x109b50]
xor r8d, dword [r12 + rax*4 + 0x10c170]
movzx eax, r10b
xor r8d, dword [r12 + rax*4 + 0x10a560]
movzx eax, r11b
xor r8d, dword [r12 + rax*4 + 0x109750]
xor r8d, dword [r14 - 0x1c]
sub r15, 1
jne 0x180043a70
mov r15, qword [rsp + 0x40]
lea r14, [0x180000000]
mov r12, qword [rsp + 0x80]
shl r13, 5
movsxd r11, ebx
movsxd r10, edi
mov rax, r11
sar rax, 0x18
mov edx, dword [rbp + r13 + 0xc]
movzx ecx, al
mov eax, edx
sar eax, 0x18
movsxd r9, esi
movsxd r8, r8d
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12], al
mov rax, r10
sar rax, 0x10
movzx ecx, al
mov eax, edx
sar eax, 0x10
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 1], al
mov rax, r9
sar rax, 8
movzx ecx, al
mov eax, edx
sar eax, 8
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 2], al
movzx eax, r8b
xor dl, byte [rax + r14 + 0x10a460]
mov rax, r10
sar rax, 0x18
movzx ecx, al
mov byte [r12 + 3], dl
mov edx, dword [rbp + r13 + 0x10]
mov eax, edx
sar eax, 0x18
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 4], al
mov rax, r9
sar rax, 0x10
movzx ecx, al
mov eax, edx
sar eax, 0x10
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 5], al
mov rax, r8
sar rax, 8
movzx ecx, al
mov eax, edx
sar eax, 8
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 6], al
movzx eax, r11b
xor dl, byte [rax + r14 + 0x10a460]
mov rax, r9
sar rax, 0x18
movzx ecx, al
mov byte [r12 + 7], dl
mov edx, dword [rbp + r13 + 0x14]
mov eax, edx
sar eax, 0x18
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 8], al
mov rax, r8
sar rax, 0x10
movzx ecx, al
mov eax, edx
sar eax, 0x10
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 9], al
mov rax, r11
sar rax, 8
movzx ecx, al
mov eax, edx
sar eax, 8
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 0xa], al
movzx eax, r10b
xor dl, byte [rax + r14 + 0x10a460]
mov byte [r12 + 0xb], dl
mov edx, dword [rbp + r13 + 0x18]
mov r13, qword [rsp + 0x50]
mov eax, edx
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
sar eax, 0x18
sar r8, 0x18
movzx ecx, r8b
sar r11, 0x10
sar r10, 8
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 0xc], al
mov eax, edx
sar eax, 0x10
movzx ecx, r11b
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 0xd], al
mov eax, edx
sar eax, 8
movzx ecx, r10b
xor al, byte [rcx + r14 + 0x10a460]
mov byte [r12 + 0xe], al
movzx eax, r9b
xor dl, byte [rax + r14 + 0x10a460]
mov r14, qword [rsp + 0x48]
mov byte [r12 + 0xf], dl
add rsp, 0x58
pop r12
pop rbp
ret
lea rdx, str.Object_not_Initialized
lea rcx, [rsp + 0x20]
call fcn.180001400
lea rdx, [0x180129208]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov qword [rsp + 0x18], r8
push rbx
push rsi
sub rsp, 0x78
cmp byte [rcx + 8], 0
mov rsi, r8
mov r9, rdx
mov rbx, rcx
je 0x1800440fc
mov eax, dword [rcx + 0x3d0]
cmp eax, 0x10
jne 0x180043de4
add rsp, 0x78
pop rsi
pop rbx
jmp 0x180043970
mov qword [rsp + 0x70], rdi
cdq
mov qword [rsp + 0x68], r12
and edx, 3
add eax, edx
mov qword [rsp + 0x60], r13
sar eax, 2
movsxd rdi, eax
xor eax, eax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r15
cmp edi, 4
je 0x180043e19
cmp edi, 6
setne al
inc rax
shl rax, 5
lea rcx, [0x180000000]
mov qword [rsp + 0x98], rbp
lea r11, [rbx + 0x458]
mov r8, r11
mov r13, rdi
mov r14d, dword [rax + rcx + 0x10c598]
mov r15d, dword [rax + rcx + 0x10c5a0]
mov ecx, dword [rax + rcx + 0x10c5a8]
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0xa8], r15d
test edi, edi
jle 0x180043ebd
lea r10, [rbx + 0xc]
mov rbp, rdi
nop
movzx eax, byte [r9]
lea r9, [r9 + 4]
shl eax, 0x18
lea r10, [r10 + 4]
mov dword [r8], eax
movzx ecx, byte [r9 - 3]
shl ecx, 0x10
or ecx, eax
mov dword [r8], ecx
movzx edx, byte [r9 - 2]
shl edx, 8
or edx, ecx
mov rcx, r8
mov dword [r8], edx
add r8, 4
movzx eax, byte [r9 - 1]
or edx, eax
xor edx, dword [r10 - 4]
mov dword [rcx], edx
sub rbp, 1
jne 0x180043e70
mov ecx, dword [rsp + 0x90]
mov r12d, 1
cmp dword [rbx + 0x3d4], r12d
jle 0x180044005
lea eax, [rdi*4]
mov r15, 0xfffffffffffffbd4
cdqe
lea rdx, [rbx + 0x438]
mov qword [rsp + 0x28], rax
nop dword [rax]
test r13, r13
jle 0x180043fb5
mov r10d, dword [rsp + 0xa8]
mov rbp, r11
sub r10d, r14d
mov r11d, ecx
sub r11d, r14d
mov esi, r14d
lea r14, [0x180000000]
nop word [rax + rax]
lea eax, [rsi + r10]
cdq
lea rbp, [rbp + 4]
idiv edi
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
lea eax, [rsi + r11]
cdq
sar rcx, 8
idiv edi
movzx r8d, cl
movsxd rax, edx
mov r9d, dword [r14 + r8*4 + 0x10c170]
movzx ecx, byte [rbx + rax*4 + 0x458]
mov eax, esi
cdq
inc esi
idiv edi
xor r9d, dword [r14 + rcx*4 + 0x109750]
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
sar rcx, 0x10
movzx eax, cl
xor r9d, dword [r14 + rax*4 + 0x109b50]
movzx eax, byte [rbp - 1]
xor r9d, dword [r14 + rax*4 + 0x10a560]
xor r9d, dword [r15 + rbp - 4]
mov dword [rbp - 0x24], r9d
sub r13, 1
jne 0x180043f20
mov r14d, dword [rsp + 0x20]
lea r11, [rbx + 0x458]
mov rax, qword [rsp + 0x28]
lea rdx, [rbx + 0x438]
mov r13, rdi
mov r8, rax
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [rsp + 0x90]
lea r11, [rbx + 0x458]
mov rax, qword [rsp + 0x28]
lea rdx, [rbx + 0x438]
inc r12d
add r15, 0x20
cmp r12d, dword [rbx + 0x3d4]
jl 0x180043ef0
mov rsi, qword [rsp + 0xa0]
lea r11, [rbx + 0x458]
mov r15d, dword [rsp + 0xa8]
mov rbp, qword [rsp + 0x98]
test r13, r13
jle 0x1800440dc
mov r10d, dword [rsp + 0x90]
lea r12, [0x180000000]
sub r10d, r15d
sub r14d, r15d
xor r9d, r9d
nop
movsxd rax, dword [rbx + 0x3d4]
lea rsi, [rsi + 4]
lea r11, [r11 + 4]
lea rcx, [r9 + rax*8]
inc r9
mov r8d, dword [rbx + rcx*4 + 0xc]
mov eax, r8d
movzx ecx, byte [r11 - 1]
sar eax, 0x18
xor al, byte [rcx + r12 + 0x10a460]
mov byte [rsi - 4], al
lea eax, [r14 + r15]
cdq
idiv edi
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
mov eax, r8d
sar eax, 0x10
sar rcx, 0x10
movzx edx, cl
xor al, byte [rdx + r12 + 0x10a460]
mov byte [rsi - 3], al
mov eax, r15d
cdq
idiv edi
movsxd rax, edx
mov ecx, dword [rbx + rax*4 + 0x458]
mov eax, r8d
sar eax, 8
sar rcx, 8
movzx edx, cl
xor al, byte [rdx + r12 + 0x10a460]
mov byte [rsi - 2], al
lea eax, [r10 + r15]
cdq
inc r15d
idiv edi
movsxd rax, edx
movzx ecx, byte [rbx + rax*4 + 0x458]
xor r8b, byte [rcx + r12 + 0x10a460]
mov byte [rsi - 1], r8b
cmp r9, r13
jl 0x180044030
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x50]
add rsp, 0x78
pop rsi
pop rbx
ret
lea rdx, str.Object_not_Initialized
lea rcx, [rsp + 0x38]
call fcn.180001400
lea rdx, [0x180129208]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll__CxxThrowException
int3