Function at 0x140002150
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov r12, rcx
xor ecx, ecx
call fcn.1400718c0
mov rcx, rax
call fcn.14007066c
xor eax, eax
mov dword [rsp + 0x20], 0x48d448d3
xor r14d, r14d
mov dword [rsp + 0x24], 0x48d748c1
mov edx, r14d
mov dword [rsp + 0x28], 0x48de48d2
mov dword [rbp - 0x7d], 0x48c048dd
mov r8d, 0x4882
mov dword [rbp - 0x79], 0x48db48c5
mov dword [rbp - 0x75], 0x48de48cd
mov dword [rbp - 0x71], 0x48c948ca
mov dword [rbp - 0x6d], 0x48d948d7
mov dword [rbp - 0x69], 0x48d848d8
mov dword [rbp - 0x65], 0x48cf48d8
mov dword [rbp - 0x61], 0x48d448ce
mov dword [rbp - 0x5d], 0x48db48ce
mov dword [rbp - 0x59], 0x48d648d4
mov dword [rbp - 0x55], 0x48ea48ed
mov dword [rbp - 0x51], 0x48ed48fb
mov dword [rbp - 0x4d], 0x48d848d4
mov dword [rbp - 0x49], 0x48ca48d7
mov dword [rbp - 0x45], 0x48d548cb
mov dword [rbp - 0x41], 0x48d448c7
mov dword [rbp - 0x3d], 0x48cf48cc
mov dword [rbp - 0x39], 0x48c348cd
mov dword [rbp - 0x35], 0x48c648c6
mov dword [rbp - 0x31], 0x48d548c2
mov dword [rbp - 0x2d], 0x48d248c8
mov dword [rbp - 0x29], 0x48d148c4
mov dword [rbp - 0x25], 0x48d848da
mov dword [rbp - 0x21], 0x48854887
mov dword [rbp - 0x1d], 0x488d488b
mov dword [rbp - 0x19], 0x488d488f
mov dword [rbp - 0x15], 0x4885488b
mov dword [rbp - 0x11], 0x488f4887
mov word [rbp - 0xd], ax
nop
movsxd rax, edx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
lea eax, [r8 + rdx]
inc edx
xor word [rcx], ax
cmp edx, 0x3e
jb 0x140002270
mov word [rbp - 0xd], r14w
lea rax, [rsp + 0x20]
mov qword [rbp + 0x17], r14
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], 7
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x1400022b0
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x17]
call fcn.14000a870
mov rbx, qword [rbp + 0x27]
mov r13, qword [rbp + 0x17]
mov qword [r12], r14
mov qword [r12 + 0x10], r14
lea rdi, [rbx + 1]
mov qword [r12 + 0x18], 7
mov qword [rsp + 0x110], r15
nop
call fcn.140070640
xor edx, edx
cdqe
div rdi
mov qword [rbp - 9], r14
movsxd rcx, edx
mov qword [rbp + 0xf], 7
cmp rbx, rcx
jb 0x1400024fd
mov esi, 1
mov rax, rbx
sub rax, rcx
cmp rax, rsi
cmovb rsi, rax
cmp qword [rbp + 0x2f], 8
lea rax, [rbp + 0x17]
cmovae rax, r13
lea r15, [rax + rcx*2]
cmp rsi, 7
ja 0x14000236b
lea rbx, [rsi + rsi]
mov qword [rbp + 7], rsi
mov r8, rbx
lea rcx, [rbp - 9]
mov rdx, r15
call fcn.140068630
mov word [rbp + rbx - 9], r14w
mov rdi, qword [rbp + 0xf]
mov rsi, qword [rbp + 7]
mov r14, qword [rbp - 9]
jmp 0x140002424
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x1400024f7
mov rdi, rsi
or rdi, 7
cmp rdi, rax
jbe 0x140002396
mov rdi, rax
mov rcx, 0xfffffffffffffffe
jmp 0x1400023c6
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rdi + 1]
cmp rcx, rax
ja 0x140002509
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400023f2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002509
mov rcx, rax
call fcn.1400667c4
test rax, rax
je 0x140002503
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400023ff
test rcx, rcx
je 0x1400023ff
call fcn.1400667c4
mov r14, rax
lea rbx, [rsi + rsi]
mov qword [rbp + 7], rsi
mov r8, rbx
mov qword [rbp + 0xf], rdi
mov rdx, r15
mov rcx, r14
call fcn.140068630
xor eax, eax
mov qword [rbp - 9], r14
mov word [rbx + r14], ax
cmp rdi, 8
lea rdx, [rbp - 9]
mov r8, rsi
mov rcx, r12
cmovae rdx, r14
call fcn.14000c080
mov rdx, qword [rbp + 0xf]
cmp rdx, 8
jb 0x14000247b
mov rcx, qword [rbp - 9]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002476
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002503
call fcn.140066554
cmp qword [r12 + 0x10], 0x20
mov r14d, 0
mov rbx, qword [rbp + 0x27]
lea rdi, [rbx + 1]
jne 0x1400022f0
mov rax, qword [rbp + 0x2f]
cmp rax, 8
jb 0x1400024d0
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400024c8
mov r13, qword [r13 - 8]
add rdx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002503
mov rcx, r13
call fcn.140066554
mov r15, qword [rsp + 0x110]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rax, r12
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1400014d0
int3
call fcn.14000c4a0
int3
call fcn.140072d5c
int3
call fcn.140001430
int3