Function at 0x14000c4fc
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov qword [rsp + 0x50], r8
movzx eax, dx
mov word [rsp + 0x40], ax
mov r14, rcx
mov r13d, eax
lea ebx, [rax - 0x41]
xor esi, esi
lea r12d, [rsi + 0x10]
cmp byte [rcx + 0x319], sil
je 0x14000c6e4
cmp byte [rcx + 0x31a], sil
je 0x14000c59c
lea ecx, [rsi + 0x70]
call fcn.1400e8114
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000c587
mov rcx, rax
call fcn.1400261ec
mov rdi, rax
jmp 0x14000c589
xor edi, edi
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax + 8]
mov r15b, al
jmp 0x14000c6a6
mov ecx, 0x60
call fcn.1400e8114
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000c5bd
mov rcx, rax
call fcn.1400540b4
mov rdi, rax
jmp 0x14000c5bf
xor edi, edi
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax + 8]
mov r15b, al
test al, al
je 0x14000ca44
mov rbx, qword [rdi + 8]
mov r9d, r12d
mov r8b, 7
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1400266f0
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rsp + 0x60]
mov edx, 0x221d80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14000c62f
cmp dword [rsp + 0x70], 2
je 0x14000c6a6
mov ebx, pe_nt_image_headers64
mov r9d, ebx
lea r8, [rbp - 0x80]
lea edx, [rbx - 0x6b]
mov rcx, qword [0x1401745a0]
call fcn.140022af0
test eax, eax
jne 0x14000c66e
movzx edx, word [0x140168fd8]
xor edx, 0xc7c7
mov r9d, ebx
lea r8, [rbp - 0x80]
lea rcx, [0x140168fda]
call fcn.14001af80
mov r8d, r13d
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9d, r12d
lea r8, [0x140128df8]
lea rdx, [rbp + 0x80]
mov r13, qword [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.USER32.dll_MessageBoxW]
xor r15b, r15b
jmp 0x14000c6ab
mov r13, qword [rsp + 0x50]
test r15b, r15b
je 0x14000ca44
lea rbx, [r14 + 0x568]
mov rdx, rbx
mov rcx, rdi
call fcn.140055f50
mov r15b, al
test al, al
je 0x14000c6dc
mov eax, dword [rbx]
test eax, eax
je 0x14000c6dc
inc eax
mov dword [rbx], eax
jmp 0x14000c7a8
xor r15b, r15b
jmp 0x14000c7a8
mov ecx, 0x60
call fcn.1400e8114
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000c705
mov rcx, rax
call fcn.1400540b4
mov rdi, rax
jmp 0x14000c707
xor edi, edi
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax + 8]
mov r15b, al
test al, al
je 0x14000ca44
mov ecx, 0x1a0
call fcn.1400e8114
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000c73e
mov rcx, rax
call fcn.140056f7c
mov rsi, rax
jmp 0x14000c740
xor esi, esi
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.140057838
test al, al
je 0x14000c77d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call fcn.1400575e0
test rax, rax
je 0x14000c77d
lea rdx, [r14 + 0x568]
and dword [rdx], 0
mov rcx, rax
call fcn.14000c498
mov dword [r14 + 0x570], eax
lea rbx, [r14 + 0x568]
cmp dword [rbx], 0
jne 0x14000c7a3
test rsi, rsi
je 0x14000c79e
mov rcx, rsi
call fcn.1400570d8
mov rcx, rsi
call fcn.1400e810c
xor esi, esi
xor r15b, r15b
mov r13, qword [rsp + 0x50]
test r15b, r15b
je 0x14000ca2f
mov r8d, dword [rbx]
shl r8, 0xb
lea r9, [r14 + 0x360]
lea rdx, [r14 + 0x102]
mov rcx, r13
call fcn.14000c37c
test eax, eax
je 0x14000ca67
movzx r13d, word [rsp + 0x40]
movzx eax, r13b
sub eax, 0x41
cdqe
lea rbx, [0x140174700]
mov rbx, qword [rbx + rax*8]
test rbx, rbx
je 0x14000ca0f
mov al, byte [rbx + 0x9d]
mov byte [r14 + 0x31b], al
mov al, byte [rbx + 0x9e]
mov byte [r14 + 0x31c], al
test dword [rbx + 0x1f8], 0x4000
je 0x14000c840
lea rcx, [rbx + 0x238]
mov rdx, r14
sub rdx, rbx
mov al, byte [rcx + 0x14]
xor al, byte [rcx]
mov byte [rdx + rcx + 0xe6], al
inc rcx
dec r12
jne 0x14000c82c
mov eax, dword [rbx + 0x1f8]
shr eax, 0xe
and al, 1
mov byte [r14 + 0x31d], al
movups xmm0, xmmword [rbx + 0x210]
movdqu xmmword [r14 + 0x32e], xmm0
cmp byte [r14 + 0x31b], 0
je 0x14000ca0f
cmp byte [r14 + 0x31a], 0
je 0x14000ca0f
test rsi, rsi
jne 0x14000ca0f
mov ecx, 0x1a0
call fcn.1400e8114
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000c8a8
mov rcx, rax
call fcn.140056f7c
mov rsi, rax
jmp 0x14000c8aa
xor esi, esi
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.140057838
test al, al
je 0x14000ca0f
mov eax, dword [rbx + 0x8c]
cmp eax, 0x16
je 0x14000c8de
cmp eax, 0xb
je 0x14000c8de
mov edx, 0xf5657d37
lea rcx, [0x14016729e]
jmp 0x14000c8ea
mov edx, 0x82af7ee2
lea rcx, [0x140167290]
mov r8d, InitCommonControls
call fcn.1400013a8
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call fcn.1400575e0
mov rbx, rax
test rax, rax
je 0x14000ca0f
lea r12, [r14 + 0x340]
mov rax, qword [r12]
mov qword [r12 + 8], rax
mov rbx, qword [rbx]
test rbx, rbx
je 0x14000c9da
lea rcx, [rbx + 0x50]
mov edx, 0x2e
call fcn.1400e8f20
mov r13, rax
test rax, rax
je 0x14000c9c7
mov edx, 0x784d979
mov r8d, 5
lea rcx, [0x1401672ac]
call fcn.1400013a8
lea rcx, [r13 + 1]
sub rax, rcx
movzx edx, byte [rcx]
movzx r8d, byte [rcx + rax]
sub edx, r8d
jne 0x14000c978
inc rcx
test r8d, r8d
jne 0x14000c963
test edx, edx
jne 0x14000c9c7
xor r13d, r13d
cmp dword [rbx + 0x40], r13d
jbe 0x14000c9c7
lea rcx, [r13*2]
add rcx, r13
mov rax, qword [rbx + 0x48]
mov edx, dword [rax + rcx*4]
mov dword [rsp + 0x48], edx
mov ecx, dword [rax + rcx*4 + 4]
add ecx, 0x7ff
shr ecx, 0xb
lea eax, [rdx - 1]
add eax, ecx
mov dword [rsp + 0x4c], eax
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.14000d3a0
inc r13d
cmp r13d, dword [rbx + 0x40]
jb 0x14000c985
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x14000c92b
movzx r13d, word [rsp + 0x40]
mov rax, qword [r12 + 8]
sub rax, qword [r12]
sar rax, 3
test rax, rax
je 0x14000ca0f
mov rdx, qword [r12 + 8]
sub rdx, qword [r12]
sar rdx, 3
lea r9, [0x14000c4f4]
mov r8d, 8
mov rcx, qword [r12]
call fcn.1400e8f50
mov word [r14], r13w
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x310], rax
mov qword [r14 + 0x588], rdi
mov qword [r14 + 0x598], rsi
jmp 0x14000ca64
test rsi, rsi
je 0x14000ca44
mov rcx, rsi
call fcn.1400570d8
mov rcx, rsi
call fcn.1400e810c
mov rcx, rdi
call fcn.140054798
mov rcx, rdi
call fcn.1400e810c
mov rcx, rdi
call fcn.140054798
mov rcx, rdi
call fcn.1400e810c
mov al, r15b
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400e79e0
mov rbx, qword [rsp + 0x3f8]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret