Function at 0x14000c674
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
mov rdi, rdx
cmp ecx, 2
jne 0x14000c6bb
mov ecx, 1
call fcn.14000c1bc
mov rcx, qword [rdi + 8]
call fcn.14000c39c
mov rcx, rax
call fcn.14000c240
jmp 0x14000c6ea
cmp ecx, 3
jne 0x14000c6ea
mov ecx, 2
call fcn.14000c1bc
mov rcx, qword [rdi + 0x10]
call fcn.14000c39c
mov rcx, qword [rdi + 8]
mov rbx, rax
call fcn.14000c39c
mov rdx, rbx
mov rcx, rax
call fcn.14000c2c0
xor edx, edx
lea rcx, [rbp - 0x5c]
mov r8d, 0x110
call fcn.140016a70
lea rcx, [0x14004a760]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor r14d, r14d
test rax, rax
je 0x14000c7b9
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000c7b9
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x60], 0x114
call rax
test eax, eax
jne 0x14000c7b9
mov esi, dword [rbp - 0x5c]
lea rcx, [0x14004aac8]
mov ebx, dword [rbp - 0x58]
mov edx, esi
mov edi, dword [rbp - 0x54]
mov r8d, ebx
mov r9d, edi
call fcn.14000be68
cmp esi, 5
je 0x14000c7b9
cmp esi, 6
jne 0x14000c786
cmp ebx, 1
jne 0x14000c772
mov dword [0x14008a234], ebx
jmp 0x14000c7b9
lea eax, [rbx - 2]
cmp eax, 1
ja 0x14000c7b9
mov dword [0x14008a234], 2
jmp 0x14000c7b9
cmp esi, 0xa
jne 0x14000c7b9
test ebx, ebx
je 0x14000c797
cmp edi, 0x55f0
jae 0x14000c7a3
mov dword [0x14008a234], 3
jmp 0x14000c7b9
lea rcx, [0x14004aae0]
mov dword [0x14008a234], 4
call fcn.14000be68
lea rcx, [0x14000beb8]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.14000bf5c
test eax, eax
je 0x14000c982
lea rcx, [0x14004ab48]
call fcn.14000be68
call fcn.140002800
mov qword [0x14008a240], rax
cmp rax, 0xffffffffffffffff
jne 0x14000c80c
call fcn.140002bb0
mov qword [0x14008a240], rax
cmp rax, 0xffffffffffffffff
jne 0x14000c80c
lea rcx, [0x14004ab80]
jmp 0x14000c81d
call fcn.14000ebc0
test rax, rax
jne 0x14000c822
lea rcx, [0x14004ab90]
call fcn.14000be68
mov rcx, qword [0x14008a240]
call fcn.140002f4c
movups xmm0, xmmword [str.qnfx_rp_r]
mov eax, dword [0x14004a9c8]
lea r9, [rsp + 0x60]
movups xmm1, xmmword [0x14004a9a8]
mov dword [rbp - 0x70], eax
mov r8d, r14d
movzx eax, word [0x14004a9cc]
mov ebx, 0x24924925
movups xmmword [rsp + 0x60], xmm0
mov word [rbp - 0x6c], ax
movups xmm0, xmmword [0x14004a9b8]
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm0
mov eax, ebx
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 0x1b
jl 0x14000c872
lea rcx, [rsp + 0x60]
call fcn.14000c240
movups xmm0, xmmword [str.TRV]
pextrw eax, xmm0, 7
movdqu xmmword [rsp + 0x40], xmm0
test ax, ax
je 0x14000c901
mov r8d, r14d
lea r9, [rsp + 0x40]
mov eax, ebx
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x14000c8ce
movups xmm0, xmmword [0x14004a9e0]
pextrw eax, xmm0, 7
movdqu xmmword [rsp + 0x50], xmm0
test ax, ax
je 0x14000c953
mov r8d, r14d
lea r9, [rsp + 0x50]
mov eax, ebx
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x38
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x35
xor word [r9], ax
lea r9, [r9 + 2]
cmp r8d, 8
jl 0x14000c920
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14000c2c0
call fcn.14000c418
test al, al
lea rdx, [0x14004abc0]
lea rcx, [0x14004aba0]
cmove rcx, rdx
call fcn.14000be68
jmp 0x14000c997
xor r9d, r9d
lea rdx, [0x14004ab60]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea r11, [rsp + 0x1c0]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret