Function at 0x1800c8c30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x180127040]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
movups xmm0, xmmword [0x180110460]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x180110470]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x180110480]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x180110490]
movups xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [0x1801104a0]
movsd qword [rbp - 0x30], xmm0
mov eax, dword [0x1801104a8]
mov dword [rbp - 0x28], eax
movzx eax, word [0x1801104ac]
mov word [rbp - 0x24], ax
movzx eax, byte [0x1801104ae]
mov byte [rbp - 0x22], al
mov ecx, r15d
mov r14d, dword [0x180127018]
cmp r14d, 2
jl 0x1800c8e12
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111010]
movdqa xmm6, xmmword [0x180110e80]
movdqa xmm0, xmmword [0x180110f70]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 0x6c]
mov r8d, dword [rsp + 0x40]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x48
jl 0x1800c8d10
cmp ecx, 0x4f
jge 0x1800c8e4c
movsxd rax, ecx
lea r8, [rbp - 0x70]
add r8, rax
nop dword [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, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x4f
jl 0x1800c8e20
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x70]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x1800c8e70
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180020590
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
cmp byte [0x180128dc8], 0
jne 0x1800c8ec1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180021d20
mov rcx, rax
call fcn.1800045d0
jmp 0x1800c8ecb
lea rcx, [rsp + 0x70]
call fcn.180010f50
mov rsi, rax
mov rax, qword [0x180128e30]
movsxd rdx, dword [rbx + 8]
lea rdx, [rdx*8 + 8]
xor r8d, r8d
mov rcx, qword [rbx]
call rax
mov qword [rbx], rax
movsxd rcx, dword [rbx + 8]
mov qword [rax + rcx*8], rsi
inc dword [rbx + 8]
mov eax, dword [rbx + 8]
mov dword [rbx + 0xc], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1800c8f3c
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c8f37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c8f37
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
movups xmm0, xmmword [0x1801103a0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x1801103b0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x1801103c0]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x1801103d0]
movups xmmword [rbp - 0x40], xmm1
mov eax, dword [str.__F]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x1801103e4]
mov byte [rbp - 0x2c], al
mov r8d, r15d
cmp r14d, 2
jl 0x1800c90c5
movdqa xmm5, xmmword [0x180110e60]
movdqa xmm4, xmmword [0x180111010]
movdqa xmm6, xmmword [0x180110e80]
movdqa xmm0, xmmword [0x180110f70]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x6c]
mov edx, dword [rsp + 0x40]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180110f50]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x40
jl 0x1800c8fc0
cmp r8d, 0x45
jge 0x1800c9100
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x45
jl 0x1800c90d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
lea rax, [rbp - 0x70]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800c9114
mov r8, rdi
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.180020590
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
cmp byte [0x180128dc8], 0
jne 0x1800c9168
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180021d20
mov rcx, rax
call fcn.1800045d0
jmp 0x1800c9172
lea rcx, [rsp + 0x70]
call fcn.180010f50
mov rdi, rax
mov rax, qword [0x180128e30]
movsxd rdx, dword [rbx + 8]
lea rdx, [rdx*8 + 8]
xor r8d, r8d
mov rcx, qword [rbx]
call rax
mov qword [rbx], rax
movsxd rcx, dword [rbx + 8]
mov qword [rax + rcx*8], rdi
inc dword [rbx + 8]
mov eax, dword [rbx + 8]
mov dword [rbx + 0xc], eax
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1800c91e3
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c91de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800c91de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d3c10
mov rax, rbx
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1800d3880
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret