Function at 0x18006af10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x20
call fcn.1800c7940
sub rsp, rax
cmp dword [rsp + 0x98], 0
mov r14, r9
mov rsi, rdx
mov rbp, rcx
je 0x18006b1d7
mov r13, qword [rsp + 0x90]
mov r15, qword [rsp + 0x88]
mov r10, qword [rsp + 0x80]
movzx eax, byte [r13 + 1]
movzx r11d, byte [r13]
movzx r9d, byte [r13 + 4]
movzx ecx, byte [r13 + 7]
shl eax, 8
lea edi, [r8 - 8]
or r11d, eax
movzx eax, byte [r13 + 2]
shl ecx, 8
shl eax, 0x10
or r11d, eax
movzx eax, byte [r13 + 3]
shl eax, 0x18
or r11d, eax
movzx eax, byte [r13 + 5]
shl eax, 8
or r9d, eax
movzx eax, byte [r13 + 6]
or ecx, eax
shl ecx, 0x10
or r9d, ecx
test edi, edi
js 0x18006b097
lea r12d, [rdi + 8]
shr r12, 3
mov eax, r12d
neg eax
lea edi, [rdi + rax*8]
nop dword [rax + rax]
movzx edx, byte [rbp]
movzx eax, byte [rbp + 1]
movzx ecx, byte [rbp + 4]
shl eax, 8
mov r8, r10
add rbp, 8
or edx, eax
movzx eax, byte [rbp - 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [rbp - 5]
shl eax, 0x18
or edx, eax
movzx eax, byte [rbp - 3]
shl eax, 8
xor edx, r11d
or ecx, eax
movzx eax, byte [rbp - 2]
mov dword [rsp + 0x60], edx
shl eax, 0x10
mov rdx, r14
or ecx, eax
movzx eax, byte [rbp - 1]
shl eax, 0x18
or ecx, eax
xor ecx, r9d
mov r9, r15
mov dword [rsp + 0x64], ecx
lea rcx, [rsp + 0x60]
call fcn.18006ac70
mov r11d, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0x80]
movzx eax, r11b
add rsi, 8
mov byte [rsi - 8], al
mov eax, r11d
shr eax, 8
mov byte [rsi - 7], al
mov eax, r11d
shr eax, 0x10
mov byte [rsi - 6], al
mov eax, r11d
shr eax, 0x18
mov byte [rsi - 5], al
movzx eax, r9b
mov byte [rsi - 4], al
mov eax, r9d
shr eax, 8
mov byte [rsi - 3], al
mov eax, r9d
shr eax, 0x10
mov byte [rsi - 2], al
mov eax, r9d
shr eax, 0x18
sub r12, 1
mov byte [rsi - 1], al
jne 0x18006afd0
cmp edi, 0xfffffff8
je 0x18006b192
xor edx, edx
lea ecx, [rdi + 8]
movsxd rax, ecx
mov r8d, edx
add rbp, rax
dec ecx
cmp ecx, 7
ja case.default.0x18006b0c9
movsxd rax, ecx
lea rcx, sym.SecEditCtlAdv.CMBCEnterprise.x64.dll_nqu__i6_jj.1___V_O0yryMZ5G6q_
mov eax, dword [rcx + rax*4 + 0x6b480]
add rax, rcx
jmp rax
movzx edx, byte [rbp - 1]
dec rbp
shl edx, 0x18
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 0x10
or edx, eax
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 8
or edx, eax
movzx eax, byte [rbp - 1]
dec rbp
or edx, eax
movzx r8d, byte [rbp - 1]
dec rbp
shl r8d, 0x18
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 0x10
or r8d, eax
movzx eax, byte [rbp - 1]
dec rbp
shl eax, 8
or r8d, eax
movzx eax, byte [rbp - 1]
or r8d, eax
xor edx, r9d
xor r8d, r11d
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], r8d
mov dword [rsp + 0x64], edx
mov r8, r10
mov rdx, r14
mov r9, r15
call fcn.18006ac70
mov r11d, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x64]
movzx eax, r11b
mov byte [rsi], al
mov eax, r11d
shr eax, 8
mov byte [rsi + 1], al
mov eax, r11d
shr eax, 0x10
mov byte [rsi + 2], al
mov eax, r11d
shr eax, 0x18
mov byte [rsi + 3], al
movzx eax, r9b
mov byte [rsi + 4], al
mov eax, r9d
shr eax, 8
mov byte [rsi + 5], al
mov eax, r9d
shr eax, 0x10
mov byte [rsi + 6], al
mov eax, r9d
shr eax, 0x18
mov byte [rsi + 7], al
mov byte [r13], r11b
mov eax, r11d
shr eax, 8
mov byte [r13 + 1], al
mov eax, r11d
shr r11d, 0x18
shr eax, 0x10
mov byte [r13 + 2], al
mov byte [r13 + 3], r11b
mov byte [r13 + 4], r9b
mov eax, r9d
shr eax, 8
mov byte [r13 + 5], al
mov eax, r9d
shr eax, 0x10
shr r9d, 0x18
mov byte [r13 + 6], al
mov byte [r13 + 7], r9b
jmp 0x18006b46b
mov rax, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
lea r15d, [r8 - 8]
movzx r12d, byte [rax]
movzx r13d, byte [rax + 4]
movzx ecx, byte [rax + 7]
mov r8, qword [rsp + 0x80]
lea r14, [rax + 1]
shl ecx, 8
movzx eax, byte [r14]
mov qword [rsp + 0x68], r14
shl eax, 8
or r12d, eax
movzx eax, byte [r14 + 1]
shl eax, 0x10
or r12d, eax
movzx eax, byte [r14 + 2]
shl eax, 0x18
or r12d, eax
movzx eax, byte [r14 + 4]
shl eax, 8
or r13d, eax
movzx eax, byte [r14 + 5]
or ecx, eax
shl ecx, 0x10
or r13d, ecx
test r15d, r15d
js 0x18006b340
lea r14d, [r15 + 8]
shr r14, 3
mov eax, r14d
neg eax
lea r15d, [r15 + rax*8]
mov dword [rsp + 0x98], r15d
mov r15, qword [rsp + 0x78]
nop dword [rax + rax]
movzx eax, byte [rbp + 1]
movzx edi, byte [rbp]
movzx ebx, byte [rbp + 4]
shl eax, 8
mov r9, rdx
lea rcx, [rsp + 0x60]
or edi, eax
movzx eax, byte [rbp + 2]
mov rdx, r15
shl eax, 0x10
add rbp, 8
or edi, eax
movzx eax, byte [rbp - 5]
shl eax, 0x18
or edi, eax
movzx eax, byte [rbp - 3]
shl eax, 8
mov dword [rsp + 0x60], edi
or ebx, eax
movzx eax, byte [rbp - 2]
shl eax, 0x10
or ebx, eax
movzx eax, byte [rbp - 1]
shl eax, 0x18
or ebx, eax
mov dword [rsp + 0x64], ebx
call fcn.18006adc0
xor r12d, dword [rsp + 0x60]
xor r13d, dword [rsp + 0x64]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov byte [rsi], r12b
mov eax, r12d
add rsi, 8
shr eax, 8
mov byte [rsi - 7], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [rsi - 6], al
mov byte [rsi - 5], r12b
mov byte [rsi - 4], r13b
mov eax, r13d
mov r12d, edi
shr eax, 8
mov byte [rsi - 3], al
mov eax, r13d
shr r13d, 0x18
shr eax, 0x10
sub r14, 1
mov byte [rsi - 2], al
mov byte [rsi - 1], r13b
mov r13d, ebx
jne 0x18006b270
mov r14, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x98]
cmp r15d, 0xfffffff8
je 0x18006b425
movzx eax, byte [rbp + 1]
movzx ebx, byte [rbp]
movzx ecx, byte [rbp + 7]
movzx edi, byte [rbp + 4]
shl eax, 8
shl ecx, 8
or ebx, eax
movzx eax, byte [rbp + 2]
mov r9, rdx
mov rdx, qword [rsp + 0x78]
shl eax, 0x10
or ebx, eax
movzx eax, byte [rbp + 3]
shl eax, 0x18
or ebx, eax
movzx eax, byte [rbp + 5]
shl eax, 8
mov dword [rsp + 0x60], ebx
or edi, eax
movzx eax, byte [rbp + 6]
or ecx, eax
shl ecx, 0x10
or edi, ecx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x64], edi
call fcn.18006adc0
xor r12d, dword [rsp + 0x60]
xor r13d, dword [rsp + 0x64]
lea ecx, [r15 + 8]
movsxd rax, ecx
add rsi, rax
dec ecx
cmp ecx, 7
ja case.default.0x18006b3d1
movsxd rax, ecx
lea rcx, sym.SecEditCtlAdv.CMBCEnterprise.x64.dll_nqu__i6_jj.1___V_O0yryMZ5G6q_
mov eax, dword [rcx + rax*4 + 0x6b4a0]
add rax, rcx
jmp rax
dec rsi
mov eax, r13d
shr eax, 0x18
mov byte [rsi], al
dec rsi
mov eax, r13d
shr eax, 0x10
mov byte [rsi], al
dec rsi
mov eax, r13d
shr eax, 8
mov byte [rsi], al
dec rsi
mov byte [rsi], r13b
dec rsi
mov eax, r12d
shr eax, 0x18
mov byte [rsi], al
dec rsi
mov eax, r12d
shr eax, 0x10
mov byte [rsi], al
dec rsi
mov eax, r12d
shr eax, 8
mov byte [rsi], al
mov byte [rsi - 1], r12b
mov r12d, ebx
mov r13d, edi
mov rax, qword [rsp + 0x90]
mov byte [rax], r12b
mov eax, r12d
shr eax, 8
mov byte [r14], al
mov eax, r12d
shr r12d, 0x18
shr eax, 0x10
mov byte [r14 + 1], al
mov byte [r14 + 2], r12b
mov byte [r14 + 3], r13b
mov eax, r13d
shr eax, 8
mov byte [r14 + 4], al
mov eax, r13d
shr eax, 0x10
shr r13d, 0x18
mov byte [r14 + 5], al
mov byte [r14 + 6], r13b
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret