Function at 0x14003aef0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14006d798]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rbx, rcx
lea rdx, [rbp + 0x28]
lea rcx, [0x14006e6b0]
call fcn.14004a284
nop
lea rdx, [rbp + 8]
lea rcx, [0x14006e6b0]
call fcn.14004a1dc
nop
movdqa xmm0, xmmword [0x14005b950]
movdqu xmmword [rsp + 0x28], xmm0
mov word [rsp + 0x38], 0x72b
xor eax, eax
mov byte [rsp + 0x3a], al
xor edi, edi
mov ecx, edi
mov al, byte [rsp + 0x28]
xor byte [rsp + rcx + 0x29], al
inc rcx
cmp rcx, 0x11
jb 0x14003af65
mov byte [rsp + 0x3a], dil
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], dil
lea rdx, [rsp + 0x29]
lea rcx, [rsp + 0x60]
call fcn.140002b2c
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x14006e3b9]
call fcn.140015e14
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.140001204
nop
mov r14d, 0x1000
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14003b001
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r14
jb 0x14003affc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003affc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], dil
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14003b04e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r14
jb 0x14003b049
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b049
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], dil
mov cl, 0x37
mov dword [rsp + 0x20], 0x56534337
mov dword [rsp + 0x24], 0x6b5643
mov rax, rdi
xor byte [rsp + rax + 0x21], cl
inc rax
cmp rax, 6
jae 0x14003b089
mov cl, byte [rsp + 0x20]
jmp 0x14003b076
mov byte [rsp + 0x27], dil
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], dil
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x40]
call fcn.140002b2c
nop
lea r8, [rbp - 0x18]
cmp qword [rbp], 0x10
cmovae r8, qword [rbp - 0x18]
mov r9, qword [rbp - 8]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140002c74
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14003b131
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r14
jb 0x14003b12c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b12c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], dil
movdqa xmm1, xmmword [0x14005b940]
movdqu xmmword [rsp + 0x28], xmm1
mov word [rsp + 0x38], 0x22e
xor eax, eax
mov byte [rsp + 0x3a], al
mov rcx, rdi
mov al, byte [rsp + 0x28]
xor byte [rsp + rcx + 0x29], al
inc rcx
cmp rcx, 0x11
jb 0x14003b162
mov byte [rsp + 0x3a], dil
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], dil
lea rdx, [rsp + 0x29]
lea rcx, [rsp + 0x60]
call fcn.140002b2c
nop
lea rdx, [rbp - 0x80]
lea rcx, [0x14006e3b9]
call fcn.1400158a8
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.140001204
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14003b1f8
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r14
jb 0x14003b1f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b1f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], dil
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14003b245
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r14
jb 0x14003b240
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b240
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], dil
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
lea rcx, [0x14006e6b0]
call fcn.140048c24
cmp eax, 3
jne 0x14003b2af
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], dil
lea rcx, [rsp + 0x40]
call fcn.140002b2c
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14003bf84
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
lea rcx, [0x14006e6b0]
call fcn.140048c24
cmp eax, 3
jne 0x14003b307
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], dil
lea rcx, [rsp + 0x40]
call fcn.140002b2c
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14003b484
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14003b341
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, r14
jb 0x14003b33c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b33c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], dil
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14003b38c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, r14
jb 0x14003b387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp - 0x48], xmm0
mov byte [rbp - 0x58], dil
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x14003b3d8
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, r14
jb 0x14003b3d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b3d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14003b412
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, r14
jb 0x14003b40d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b40d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
movdqa xmm0, xmmword [0x140051db0]
movdqu xmmword [rbp + 0x18], xmm0
mov byte [rbp + 8], dil
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x14003b45d
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, r14
jb 0x14003b458
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003b458
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004cdd8
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.14004cef0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret