Function at 0x1401978d8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rbx, rcx
xor esi, esi
cmp byte [rcx + 0x409], sil
je 0x14019793b
cmp byte [rcx + 0x48a], sil
je 0x140197925
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 0x400], rax
mov al, 1
jmp 0x140197c32
mov rax, qword [rcx + 0x400]
dec rax
cmp rax, 0xfffffffffffffffd
setbe al
jmp 0x140197c32
mov rax, qword [rcx + 0x400]
dec rax
cmp rax, 0xfffffffffffffffd
jbe 0x14019791e
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1402d4a6c], eax
jle 0x140197bc2
lea rcx, [0x1402d4a6c]
call fcn.14027b540
cmp dword [0x1402d4a6c], 0xffffffff
jne 0x140197bc2
lea rax, [rbp - 9]
mov qword [rbp + 0x67], rax
mov dword [rbp - 0x49], 0x24
mov eax, dword [rbp - 0x49]
xor al, 0x43
mov byte [rbp - 0x45], al
mov eax, dword [rbp - 0x49]
inc al
xor al, 0x72
mov byte [rbp - 0x44], al
mov eax, dword [rbp - 0x49]
add al, 2
mov cl, 0x65
xor al, cl
mov byte [rbp - 0x43], al
mov eax, dword [rbp - 0x49]
add al, 3
xor al, 0x61
mov byte [rbp - 0x42], al
mov eax, dword [rbp - 0x49]
add al, 4
xor al, 0x74
mov byte [rbp - 0x41], al
mov eax, dword [rbp - 0x49]
add al, 5
xor al, cl
mov byte [rbp - 0x40], al
mov eax, dword [rbp - 0x49]
add al, 6
xor al, 0x46
mov byte [rbp - 0x3f], al
mov eax, dword [rbp - 0x49]
add al, 7
xor al, 0x69
mov byte [rbp - 0x3e], al
mov eax, dword [rbp - 0x49]
add al, 8
xor al, 0x6c
mov byte [rbp - 0x3d], al
mov eax, dword [rbp - 0x49]
add al, 9
xor al, cl
mov byte [rbp - 0x3c], al
mov eax, dword [rbp - 0x49]
add al, 0xa
xor al, 0x41
mov byte [rbp - 0x3b], al
xor eax, eax
mov byte [rbp - 0x3a], al
mov al, byte [rbp - 0x45]
mov rdx, rsi
mov al, byte [rbp + rdx - 0x45]
mov ecx, dword [rbp - 0x49]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x45], cl
inc rdx
cmp rdx, 0xb
jb 0x140197a0c
mov byte [rbp - 0x3a], sil
mov qword [rbp - 9], rsi
mov qword [rbp + 7], rsi
mov r14d, 0xf
mov qword [rbp + 0xf], r14
lea rax, [rbp - 0x45]
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], sil
jne 0x140197a42
lea rcx, [rbp - 9]
cmp rdi, r14
ja 0x140197a6c
mov qword [rbp + 7], rdi
mov r8, rdi
lea rdx, [rbp - 0x45]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp + rdi - 9], sil
jmp 0x140197a79
lea r9, [rbp - 0x45]
mov rdx, rdi
call fcn.1400ada10
nop
mov dword [rbp - 0x39], 0x21
mov byte [rbp - 0x35], 0x4a
mov byte [rbp - 0x34], 0x44
mov byte [rbp - 0x33], 0x53
mov byte [rbp - 0x32], 0x4f
mov byte [rbp - 0x31], 0x44
mov byte [rbp - 0x30], 0x4d
mov byte [rbp - 0x2f], 0x12
mov byte [rbp - 0x2e], 0x13
xor eax, eax
mov byte [rbp - 0x2d], al
mov al, byte [rbp - 0x35]
mov rdx, rsi
mov al, byte [rbp + rdx - 0x35]
mov ecx, dword [rbp - 0x39]
xor cl, al
mov byte [rbp + rdx - 0x35], cl
inc rdx
cmp rdx, 8
jb 0x140197aab
mov byte [rbp - 0x2d], sil
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x29], sil
lea rax, [rbp - 0x35]
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], sil
jne 0x140197add
lea rcx, [rbp - 0x29]
cmp rdi, r14
ja 0x140197b07
mov qword [rbp - 0x19], rdi
mov r8, rdi
lea rdx, [rbp - 0x35]
call qword [sym.imp.VCRUNTIME140.dll_memmove]
mov byte [rbp + rdi - 0x29], sil
jmp 0x140197b14
lea r9, [rbp - 0x35]
mov rdx, rdi
call fcn.1400ada10
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x1f]
call fcn.1401a82ac
nop
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 9]
mov rdx, rax
lea rcx, [0x1402d4b10]
call fcn.1401a28c8
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140197b7c
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140197b77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140197b77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027b384
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x29], sil
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rbp - 0x35]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xc]
lea rcx, [rbp - 0x45]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x14028ed84]
call fcn.14027b36c
nop
lea rcx, [0x1402d4a6c]
call fcn.14027b4e0
lea rdx, [rbx + 0x10]
cmp byte [rbx + 3], sil
je 0x140197be4
cmp qword [rdx + 0x18], 0x10
jb 0x140197bd6
mov rdx, qword [rdx]
mov r9d, 1
mov r8d, 0x80000000
jmp 0x140197bfa
cmp qword [rdx + 0x18], 0x10
jb 0x140197bee
mov rdx, qword [rdx]
mov r9d, 3
mov r8d, 0xc0000000
call fcn.1401a2f90
mov qword [rbx + 0x400], rax
cmp rax, 0xffffffffffffffff
je 0x140197c1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14019791e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8d, 0x204
mov rcx, rbx
call fcn.140196c24
xor al, al
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret