Function at 0x140067130
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx + 0x40]
test rax, rax
je 0x1400671e0
dec rax
mov qword [rdi + 0x40], rax
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
test rax, rax
je 0x140067211
test rcx, rcx
jne 0x140067211
lea rax, [rdi + 0x10]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x1400671b4
nop
mov r8d, edx
and r8d, 1
mov r9, rdx
or r9, 0xfffffffffffffffe
xor rdx, 1
and rdx, r9
add rdx, r8
mov rcx, qword [rcx + 0x3d8]
dec rdx
jne 0x140067190
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rdi], 1
mov qword [rdi + 8], rcx
xor ebx, ebx
xor eax, eax
movzx edx, word [rcx + 0x3d2]
cmp rbx, rdx
jae 0x14006722e
mov r15, rax
mov r14, rcx
jmp 0x14006728e
mov rcx, qword [rdi + 8]
mov rbx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
cmp qword [rdi], 0
mov qword [rdi], 0
je 0x1400673c5
test rcx, rcx
je 0x14006732d
mov rdi, rbx
mov rbx, rcx
jmp 0x14006735a
test rax, rax
je 0x140067411
mov rax, qword [rdi + 0x10]
mov rbx, qword [rdi + 0x18]
movzx edx, word [rcx + 0x3d2]
cmp rbx, rdx
jb 0x1400671d5
mov r12d, 0x3d8
nop word cs:[rax + rax]
mov r14, qword [rcx + 0x160]
test r14, r14
je 0x1400673db
mov edx, eax
and edx, 1
mov r8, rax
xor r8, 1
lea r15, [r8 + rdx*2]
movzx ebx, word [rcx + 0x3d0]
test rax, rax
mov edx, 0x438
cmove rdx, r12
mov r8d, 8
call fcn.140078bc0
mov rcx, r14
mov rax, r15
cmp bx, word [r14 + 0x3d2]
jae 0x140067240
test r15, r15
je 0x140067302
mov rax, r15
xor rax, 0xfffffffffffffffe
mov ecx, r15d
and ecx, 1
lea rdx, [r15 + rax]
inc rdx
sub rdx, rcx
mov eax, r15d
not eax
or rax, 0xfffffffffffffffe
add rax, r15
inc rax
mov rcx, rdx
xor rcx, rax
and rdx, rax
add rdx, rdx
mov rax, qword [r14 + rbx*8 + 0x3e0]
add rdx, rcx
je 0x14006730b
xor ecx, ecx
mov r8, rdx
nop word [rax + rax]
or r8, 0xfffffffffffffffe
add r8, rdx
not edx
or rdx, 0xfffffffffffffffe
add r8, rdx
mov rax, qword [rax + 0x3d8]
add r8, 2
mov rdx, r8
jne 0x1400672e0
jmp 0x14006730d
lea rcx, [rbx + 1]
mov rax, r14
jmp 0x14006730d
xor ecx, ecx
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], rcx
mov qword [rsi], r14
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rbx
jmp 0x1400673cc
xor edi, edi
test rax, rax
je 0x14006735a
nop word cs:[rax + rax]
mov rcx, rax
or rcx, 0xfffffffffffffffe
and rax, 0xfffffffffffffffe
add rax, rcx
mov rbx, qword [rbx + 0x3d8]
inc rax
jne 0x140067340
mov rax, qword [rbx + 0x160]
test rax, rax
je 0x1400673a6
mov r14d, 0x3d8
mov rcx, rbx
nop
mov rbx, rax
test rdi, rdi
mov edx, 0x438
cmove rdx, r14
mov r8d, 8
call fcn.140078bc0
mov rax, qword [rbx + 0x160]
mov ecx, edi
and ecx, 1
xor rdi, 1
lea rdi, [rdi + rcx*2]
mov rcx, rbx
test rax, rax
jne 0x140067370
test rdi, rdi
mov eax, 0x3d8
mov edx, 0x438
cmove rdx, rax
mov r8d, 8
mov rcx, rbx
call fcn.140078bc0
mov qword [rsi], 0
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
test rax, rax
mov eax, 0x3d8
mov edx, 0x438
cmove rdx, rax
mov r8d, 8
call fcn.140078bc0
lea rcx, [0x1401020f3]
lea r8, [0x140102178]
mov edx, 0x2b
call fcn.1400fd010
ud2
lea rcx, [0x1401020f3]
lea r8, [0x140102190]
mov edx, 0x2b
call fcn.1400fd010
ud2