Function at 0x14017c8a8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xce8]
sub rsp, 0xdd0
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov r14d, 0x800
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x4d0]
call sub.VCRUNTIME140.dll_memset
xor edi, edi
mov byte [rsp + 0x20], dil
mov r9d, r14d
lea r8, [rbp + 0x4d0]
lea rdx, [0x1402cccc1]
mov ecx, ebx
call fcn.1401ae374
lea rcx, [rbp + 0x18]
test eax, eax
lea rdx, [rbp + 0x4d0]
jne 0x14017c92d
lea rdx, [0x140290c34]
call fcn.1400ac71c
nop
cmp qword [rbp + 0x28], rdi
jne 0x14017cb05
mov dword [rbp - 0x6c], 0x2c
mov eax, 0x77
mov word [rbp - 0x68], ax
mov eax, 0xd
mov word [rbp - 0x66], ax
mov eax, 0x71
mov word [rbp - 0x64], ax
lea r15d, [rax - 0x65]
mov word [rbp - 0x62], r15w
lea r9d, [rax - 2]
mov word [rbp - 0x60], r9w
lea edx, [rax - 0x2e]
mov word [rbp - 0x5e], dx
lea r11d, [rax - 0x18]
mov word [rbp - 0x5c], r11w
lea r14d, [rax - 0x31]
mov word [rbp - 0x5a], r14w
lea ecx, [rax - 0x29]
mov word [rbp - 0x58], cx
mov word [rbp - 0x56], r15w
lea esi, [rax - 0x2f]
mov word [rbp - 0x54], si
mov word [rbp - 0x52], dx
lea eax, [rdx + 0x15]
mov word [rbp - 0x50], ax
mov word [rbp - 0x4e], r15w
mov word [rbp - 0x4c], cx
lea r11d, [r15 + 0x3d]
mov word [rbp - 0x4a], r11w
mov word [rbp - 0x48], ax
mov word [rbp - 0x46], r11w
lea ebx, [rdx + 0x1b]
mov word [rbp - 0x44], bx
lea ecx, [rdx - 2]
mov word [rbp - 0x42], cx
lea ecx, [rdx + 2]
mov word [rbp - 0x40], cx
mov word [rbp - 0x3e], si
mov word [rbp - 0x3c], r11w
mov word [rbp - 0x3a], r15w
lea r10d, [r15 + 0x50]
mov word [rbp - 0x38], r10w
lea r8d, [r15 + 0x41]
mov word [rbp - 0x36], r8w
mov word [rbp - 0x34], ax
lea r9d, [r15 + 0x38]
mov word [rbp - 0x32], r9w
mov word [rbp - 0x30], r15w
mov word [rbp - 0x2e], ax
mov word [rbp - 0x2c], dx
mov word [rbp - 0x2a], r15w
mov word [rbp - 0x28], ax
mov word [rbp - 0x26], r9w
mov word [rbp - 0x24], r11w
mov word [rbp - 0x22], r15w
mov word [rbp - 0x20], dx
lea eax, [rdx + 0x18]
mov word [rbp - 0x1e], ax
mov word [rbp - 0x1c], si
mov word [rbp - 0x1a], r15w
mov word [rbp - 0x18], r10w
mov word [rbp - 0x16], bx
mov word [rbp - 0x14], dx
lea esi, [rdx + 0xc]
mov word [rbp - 0x12], si
mov word [rbp - 0x10], r11w
lea r10d, [r15 + 0x53]
mov word [rbp - 0xe], r10w
mov word [rbp - 0xc], r10w
mov word [rbp - 0xa], r15w
lea eax, [rdx + 7]
mov word [rbp - 8], ax
mov word [rbp - 6], cx
mov word [rbp - 4], r14w
mov word [rbp - 2], r11w
lea eax, [rdx - 0x41]
mov word [rbp], ax
mov word [rbp + 2], r15w
lea eax, [rdx + 0x27]
mov word [rbp + 4], ax
lea eax, [rdx + 0x2a]
mov word [rbp + 6], ax
lea eax, [rdx + 0x22]
mov word [rbp + 8], ax
lea eax, [rdx + 0x1d]
mov word [rbp + 0xa], ax
lea eax, [rdx + 0x36]
mov word [rbp + 0xc], ax
lea eax, [rdx + 0x3b]
mov word [rbp + 0xe], ax
lea eax, [rdx + 0x26]
mov word [rbp + 0x10], ax
xor eax, eax
mov word [rbp + 0x12], ax
movzx eax, word [rbp - 0x68]
mov rdx, rdi
movzx eax, word [rbp + rdx*2 - 0x68]
mov ecx, dword [rbp - 0x6c]
xor cx, ax
mov word [rbp + rdx*2 - 0x68], cx
inc rdx
cmp rdx, 0x3d
jb 0x14017cac9
mov word [rbp + 0x12], di
lea rcx, [rbp - 0x68]
call fcn.1400acf00
nop
xor edx, edx
lea r8d, [rdx + 0x7c]
lea rcx, [rbp - 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memset]
jmp 0x14017ccef
lea rcx, [rbp + 0x40]
call fcn.1400afb1c
nop
lea rbx, [rbp + 0x40]
test rsi, rsi
cmovne rbx, rsi
lea rdx, [rbp + 0x18]
mov rcx, rbx
call fcn.140163924
test al, al
jne 0x14017ccde
mov r8d, dword [rbx + 0x440]
mov dword [rsp + 0x30], 0x2a
mov eax, 0x71
mov word [rsp + 0x34], ax
mov eax, 0xb
mov word [rsp + 0x36], ax
mov eax, 0x77
mov word [rsp + 0x38], ax
lea r12d, [rax - 0x6d]
mov word [rsp + 0x3a], r12w
lea eax, [r12 + 0x5f]
mov word [rsp + 0x3c], ax
lea ecx, [rax - 0x24]
mov word [rsp + 0x3e], cx
lea r10d, [r12 + 0x55]
mov word [rsp + 0x40], r10w
lea r15d, [r12 + 0x3c]
mov word [rsp + 0x42], r15w
lea eax, [rcx + 9]
mov word [rsp + 0x44], ax
mov word [rsp + 0x46], r12w
lea r9d, [r12 + 0x3a]
mov word [rsp + 0x48], r9w
mov word [rsp + 0x4a], cx
lea ebx, [rcx + 0x19]
mov word [rsp + 0x4c], bx
mov word [rsp + 0x4e], r12w
lea r14d, [r12 + 0x50]
mov word [rsp + 0x50], r14w
lea eax, [rcx + 0x13]
mov word [rsp + 0x52], ax
mov word [rsp + 0x54], cx
lea r11d, [r12 + 0x3f]
mov word [rsp + 0x56], r11w
lea esi, [rcx + 0xa]
mov word [rsp + 0x58], si
lea r11d, [r12 + 0x4f]
mov word [rsp + 0x5a], r11w
mov word [rsp + 0x5c], r11w
mov word [rsp + 0x5e], r12w
lea edx, [rcx - 2]
mov word [rsp + 0x60], dx
mov word [rsp + 0x62], r9w
mov word [rsp + 0x64], r14w
mov word [rsp + 0x66], r10w
mov word [rsp + 0x68], bx
mov word [rsp + 0x6a], r12w
lea r9d, [r12 + 0x70]
mov word [rsp + 0x6c], r9w
lea r9d, [r12 + 0x65]
mov word [rsp + 0x6e], r9w
mov word [rsp + 0x70], r12w
lea r10d, [r12 + 0x42]
mov word [rsp + 0x72], r10w
mov word [rsp + 0x74], dx
mov word [rsp + 0x76], r15w
mov word [rsp + 0x78], si
lea edx, [rcx - 0x41]
mov word [rsp + 0x7a], dx
mov word [rsp + 0x7c], r12w
mov word [rsp + 0x7e], r9w
mov word [rbp - 0x80], ax
mov word [rbp - 0x7e], ax
mov word [rbp - 0x7c], cx
mov word [rbp - 0x7a], ax
lea eax, [rcx - 0x35]
mov word [rbp - 0x78], ax
mov word [rbp - 0x76], r12w
lea eax, [rcx - 0x2b]
mov word [rbp - 0x74], ax
lea eax, [rcx + 0xd]
mov word [rbp - 0x72], ax
xor eax, eax
mov word [rbp - 0x70], ax
movzx eax, word [rsp + 0x34]
mov rdx, rdi
movzx eax, word [rsp + rdx*2 + 0x34]
mov ecx, dword [rsp + 0x30]
xor cx, ax
mov word [rsp + rdx*2 + 0x34], cx
inc rdx
cmp rdx, 0x2e
jb 0x14017cca3
mov word [rbp - 0x70], di
lea rcx, [rsp + 0x34]
call fcn.140194514
nop
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
jmp 0x14017cce5
mov dil, byte [rbx + 0x48b]
lea rcx, [rbp + 0x40]
call fcn.140196cec
nop
lea rcx, [rbp + 0x18]
call fcn.1400ac668
mov al, dil
lea r11, [rsp + 0xdd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret