Function at 0x140008b60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov qword [rbp - 0x41], rdx
xor edi, edi
lea rdx, [rcx + 0x40]
call fcn.140006630
mov r15, rax
test rax, rax
jne 0x140008c23
mov byte [rbp - 0x41], 0xae
mov byte [rbp - 0x40], 0x82
mov byte [rbp - 0x3f], 0xcb
mov byte [rbp - 0x3e], 0xaf
mov byte [rbp - 0x3d], 0x9a
mov byte [rbp - 0x3c], 0x8c
mov byte [rbp - 0x3b], 0x89
mov byte [rbp - 0x3a], 0xed
movzx eax, byte [rbp - 0x41]
mov r9d, 0xf
movabs r8, 0xebfb1fa44ce83fe2
nop word [rax + rax]
mov rcx, rdi
and ecx, r9d
cmp rcx, r9
cmovae rcx, r9
shl cl, 2
mov rdx, r8
shr rdx, cl
and dl, r9b
movzx eax, byte [rbp + rdi - 0x41]
xor dl, al
lea ecx, [rdi - 0x1e]
xor dl, cl
mov byte [rbp + rdi - 0x41], dl
inc rdi
cmp rdi, 8
jb 0x140008be0
lea rdx, [rbp - 0x41]
mov rcx, r14
call fcn.140006510
jmp 0x140008e25
mov dword [rbp - 0x41], edi
mov dword [rbp + 3], edi
add rax, 0x30
mov qword [rbp + 7], rax
lea rax, [rbp - 0x41]
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], 4
mov eax, dword [0x14005ebb0]
mov dword [rbp - 1], eax
mov dword [rsp + 0x48], 0x20
lea rax, [rbp - 1]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14005ebc0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x20
lea rax, [rbp - 1]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1f]
cmp byte [0x14005ebe0], dil
je 0x140008c92
mov dword [rsp + 0x28], 0x222660
jmp 0x140008c9a
mov dword [rsp + 0x28], 0x222664
mov qword [rsp + 0x20], rax
call fcn.14004a300
xorps xmm0, xmm0
mov r13d, dword [rbp - 0x41]
lea eax, [r13 + 1]
mov esi, eax
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rdi
test eax, eax
je 0x140008d22
add rsi, rsi
jne 0x140008cc8
mov rax, rdi
jmp 0x140008d05
cmp rsi, 0x1000
jb 0x140008cfd
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140008e50
call fcn.14004a3c0
mov rcx, rax
test rax, rax
je 0x140008e19
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140008d05
mov rcx, rsi
call fcn.14004a3c0
mov qword [rbp - 0x39], rax
lea rbx, [rax + rsi]
mov qword [rbp - 0x29], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x31], rbx
mov rbx, qword [rbp - 0x39]
test rbx, rbx
je 0x140008d4b
lea rdx, [r15 + 0x28]
call fcn.140006630
lea r8d, [r13*4]
mov rdx, rbx
mov rcx, rax
call fcn.140005610
mov rbx, qword [rbp - 0x39]
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.1400063d0
nop
mov rax, qword [rbp - 0x39]
cmp rax, qword [rbp - 0x31]
je 0x140008d66
mov qword [rbp - 0x31], rax
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 7
cmova rdx, qword [rbp - 0x21]
mov rax, qword [rbp - 0x11]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x21]
cmova rdx, qword [rbp - 0x21]
mov rcx, r14
call fcn.1400066f0
nop
mov rdx, qword [rbp - 9]
cmp rdx, 7
jbe 0x140008dd1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008dcc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008dcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a910
movdqa xmm0, xmmword [0x140054810]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], di
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140008e25
mov rdx, qword [rbp - 0x29]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008e20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008e20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004a910
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14004a3a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140001170
int3