Function at 0x14000c600
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov rax, qword [0x14002d040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
lea rcx, [rbp + 0x27]
call fcn.140006f30
mov rdi, rax
movsd xmm0, qword [0x140024d08]
movsd qword [rbp - 0x29], xmm0
mov ecx, dword [0x140024d10]
mov dword [rbp - 0x21], ecx
cmp byte [0x140024d13], 0
je 0x14000c78c
xor ecx, ecx
cmp dword [0x14002d090], 2
jl 0x14000c748
movdqa xmm4, xmmword [0x140025c10]
movdqa xmm2, xmmword [0x140025bc0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140025bf0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
movd xmm0, dword [0x140024d08]
xorps xmm2, xmm0
movd dword [rbp - 0x29], xmm2
movdqa xmm2, xmmword [0x140025bd0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140025be0]
psubd xmm2, xmm0
andps xmm2, xmmword [0x140025bf0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140025c00]
movd xmm0, dword [rbp - 0x25]
xorps xmm2, xmm0
movd dword [rbp - 0x25], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x14000c760
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
lea rax, [rbp - 0x29]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000c7a6
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x19]
call fcn.1400013b0
nop
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.140017080
lea rdx, [rbp + 7]
mov rcx, rax
call fcn.140005340
nop
mov r8d, 0xe
lea rdx, str.screenshot.bmp
mov rcx, rax
call fcn.1400169b0
cmp qword [rax + 0x18], 0xf
jbe 0x14000c7f6
mov rax, qword [rax]
mov rdx, rax
call fcn.14000c350
test eax, eax
setne al
mov byte [rbx + 8], al
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x14000c844
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c83f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c83f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
movdqa xmm0, xmmword [0x140025ba0]
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 7], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x14000c89b
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c88e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c88e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
movdqa xmm0, xmmword [0x140025ba0]
movdqu xmmword [rbp - 9], xmm0
mov byte [rbp - 0x19], 0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 7
jbe 0x14000c8e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c8e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c8e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140021eb4
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140021970
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret