Function at 0x1400126e0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xc8], rbx
mov rax, qword [0x140075088]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, r8
mov rsi, rdx
mov rbx, rcx
test rdx, rdx
jne 0x140012780
lea rdx, [0x1400685b0]
lea rcx, [rsp + 0x50]
call fcn.14000a030
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001273d
mov rax, qword [rax]
lea rcx, vtable.std::exception.0
mov qword [rsp + 0x30], rcx
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x20]
call fcn.14002fce4
lea rdx, [0x140073988]
lea rcx, [rsp + 0x30]
call fcn.14002fdb8
nop
mov dword [rcx + 0x3cc], 0x20
mov dword [rcx + 0x3d0], 0x10
movups xmm0, xmmword [r8]
movups xmmword [rcx + 0x3d8], xmm0
movsxd r8, dword [rcx + 0x3d0]
add rcx, 0x3f8
mov rdx, rax
call fcn.14002f870
mov eax, dword [rbx + 0x3cc]
cmp eax, 0x10
je 0x1400127db
cmp eax, 0x18
mov eax, 0xe
jne 0x1400127fb
mov ecx, 0xc
cmp dword [rbx + 0x3d0], 0x20
cmovne eax, ecx
jmp 0x1400127fb
mov edx, dword [rbx + 0x3d0]
cmp edx, 0x10
jne 0x1400127eb
lea eax, [rdx - 6]
jmp 0x1400127fb
mov eax, 0xe
mov ecx, 0xc
cmp edx, 0x18
cmove eax, ecx
mov dword [rbx + 0x3d4], eax
mov eax, dword [rbx + 0x3d0]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r15, eax
xor edx, edx
mov r14, r15
cmp dword [rbx + 0x3d4], edx
jl 0x140012841
lea r8, [rbx + 0xc]
test r15d, r15d
jle 0x140012833
mov rdi, r8
xor eax, eax
mov rcx, r15
rep stosd dword [rdi], eax
inc edx
add r8, 0x20
cmp edx, dword [rbx + 0x3d4]
jle 0x140012824
xor edx, edx
cmp dword [rbx + 0x3d4], edx
jl 0x14001286f
lea r8, [rbx + 0x1ec]
test r15d, r15d
jle 0x140012861
mov rdi, r8
xor eax, eax
mov rcx, r15
rep stosd dword [rdi], eax
inc edx
add r8, 0x20
cmp edx, dword [rbx + 0x3d4]
jle 0x140012852
mov ebp, dword [rbx + 0x3d4]
inc ebp
imul ebp, r15d
mov eax, dword [rbx + 0x3cc]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsxd r13, eax
lea rdx, [rbx + 0x418]
test eax, eax
jle 0x1400128ce
mov edi, r13d
nop dword [rax + rax]
movzx ecx, byte [rsi]
shl ecx, 0x18
mov dword [rdx], ecx
movzx eax, byte [rsi + 1]
shl eax, 0x10
or dword [rdx], eax
movzx eax, byte [rsi + 2]
shl eax, 8
or dword [rdx], eax
movzx eax, byte [rsi + 3]
or dword [rdx], eax
lea rsi, [rsi + 4]
lea rdx, [rdx + 4]
sub rdi, 1
jne 0x1400128a0
xor r9d, r9d
xor r10d, r10d
lea rsi, [0x140000000]
test r13d, r13d
jle 0x140012930
lea r8, [rbx + 0x418]
cmp r9d, ebp
jge 0x140012af8
mov eax, r9d
cdq
idiv r15d
movsxd rdi, edx
movsxd rcx, eax
lea rdx, [rdi + rcx*8]
mov ecx, dword [r8]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rdi + rax*8]
mov eax, dword [r8]
mov dword [rbx + rcx*4 + 0x1ec], eax
inc r10
add r8, 4
inc r9d
cmp r10, r13
jl 0x1400128e7
cmp r9d, ebp
jge 0x140012af8
lea rsi, [0x1400626e0]
lea r14, [0x140000000]
nop word [rax + rax]
mov edi, dword [rbx + r13*4 + 0x414]
movsxd rdx, edi
mov rax, rdx
sar rax, 0x10
movzx ecx, al
movsx r8d, byte [rcx + r14 + 0x65800]
movsx eax, byte [rsi]
xor r8d, eax
shl r8d, 8
mov rax, rdx
sar rax, 8
movzx ecx, al
movzx eax, byte [rcx + r14 + 0x65800]
xor r8d, eax
shl r8d, 8
movzx eax, dl
movzx eax, byte [rax + r14 + 0x65800]
xor r8d, eax
shl r8d, 8
mov eax, edi
shr rax, 0x18
movzx eax, byte [rax + r14 + 0x65800]
xor r8d, eax
xor dword [rbx + 0x418], r8d
lea rsi, [rsi + 1]
cmp r13d, 8
je 0x1400129f4
cmp r13, 1
jle 0x140012a8f
lea rcx, [rbx + 0x41c]
lea rdx, [r13 - 1]
nop dword [rax]
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x1400129e0
jmp 0x140012a8f
lea rcx, [rbx + 0x41c]
mov edx, 3
mov eax, dword [rcx - 4]
xor dword [rcx], eax
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x140012a00
mov eax, dword [rbx + 0x424]
movsxd rdx, eax
mov ecx, eax
shr rcx, 0x18
movsx edi, byte [rcx + r14 + 0x65800]
shl edi, 8
mov rax, rdx
sar rax, 0x10
movzx ecx, al
movzx eax, byte [rcx + r14 + 0x65800]
xor edi, eax
shl edi, 8
mov rax, rdx
sar rax, 8
movzx ecx, al
movzx eax, byte [rcx + r14 + 0x65800]
xor edi, eax
shl edi, 8
movzx eax, dl
movzx eax, byte [rax + r14 + 0x65800]
xor edi, eax
xor dword [rbx + 0x428], edi
cmp r13, 5
jle 0x140012a8f
lea rax, [rbx + 0x42c]
lea rdx, [r13 - 5]
nop
mov ecx, dword [rax - 4]
xor dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140012a80
xor r10d, r10d
test r13d, r13d
jle 0x140012ae5
lea r8, [rbx + 0x418]
nop
cmp r9d, ebp
jge 0x140012aee
mov eax, r9d
cdq
idiv r15d
movsxd rdi, edx
movsxd rcx, eax
lea rdx, [rdi + rcx*8]
mov ecx, dword [r8]
mov dword [rbx + rdx*4 + 0xc], ecx
mov ecx, dword [rbx + 0x3d4]
sub ecx, eax
movsxd rax, ecx
lea rcx, [rdi + rax*8]
mov eax, dword [r8]
mov dword [rbx + rcx*4 + 0x1ec], eax
inc r10
add r8, 4
inc r9d
cmp r10, r13
jl 0x140012aa0
cmp r9d, ebp
jl 0x140012950
mov r14, r15
lea rsi, [0x140000000]
mov r10d, 1
cmp dword [rbx + 0x3d4], r10d
jle 0x140012b7d
lea r11, [rbx + 0x20c]
nop
test r14, r14
jle 0x140012b6d
mov r8, r11
mov r9, r14
nop dword [rax + rax]
mov eax, dword [r8]
movsxd rdi, eax
mov edx, eax
shr rdx, 0x18
mov rax, rdi
sar rax, 0x10
movzx ecx, al
mov edx, dword [rsi + rdx*4 + 0x63300]
xor edx, dword [rsi + rcx*4 + 0x62f00]
mov rax, rdi
sar rax, 8
movzx ecx, al
xor edx, dword [rsi + rcx*4 + 0x62b00]
movzx eax, dil
xor edx, dword [rsi + rax*4 + 0x62700]
mov dword [r8], edx
lea r8, [r8 + 4]
sub r9, 1
jne 0x140012b20
inc r10d
add r11, 0x20
cmp r10d, dword [rbx + 0x3d4]
jl 0x140012b10
mov byte [rbx + 8], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14002d0a0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret