Function at 0x1400347b0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x88], rcx
movsx eax, r8b
mov ecx, eax
shr ecx, 7
mov dword [rsp + 0x4c], ecx
add ecx, eax
mov dword [rsp + 0x84], ecx
mov edi, 1
mov ax, 1
mov dword [rsp + 0x28], eax
xor r14d, r14d
mov r11d, 1
xor r12d, r12d
xor r13d, r13d
xor ebp, ebp
xor esi, esi
xor ebx, ebx
xor r15d, r15d
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x78], rax
xor r10d, r10d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
nop dword [rax]
mov qword [rsp + 0x20], r15
mov eax, dword [rsp + 0x84]
xor eax, dword [rsp + 0x28]
cmp ax, word [rsp + 0x4c]
mov r15, rdx
mov qword [rsp + 0x98], r8
mov qword [rsp + 0xa0], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x20], r12
mov rsi, r11
mov rbx, rdi
sete cl
call fcn.140189540
movzx eax, al
neg rax
mov r12, qword [rsp + 0x90]
mov rdi, qword [r12 + r14]
xor rdi, rbx
and rdi, rax
xor rdi, rbx
mov rdx, qword [r12 + r14 + 8]
xor rdx, r15
and rdx, rax
xor rdx, r15
mov r8, qword [r12 + r14 + 0x10]
mov r15, qword [rsp + 0x98]
xor r8, r15
and r8, rax
xor r8, r15
mov r9, qword [r12 + r14 + 0x18]
mov r15, qword [rsp + 0xa0]
xor r9, r15
and r9, rax
xor r9, r15
mov r10, qword [r12 + r14 + 0x20]
mov rcx, qword [rsp + 0x38]
xor r10, rcx
and r10, rax
xor r10, rcx
mov r11, qword [r12 + r14 + 0x28]
xor r11, rsi
and r11, rax
xor r11, rsi
mov rsi, qword [r12 + r14 + 0x30]
mov rcx, qword [rsp + 0x78]
xor rsi, rcx
and rsi, rax
xor rsi, rcx
mov qword [rsp + 0x78], rsi
mov rsi, qword [r12 + r14 + 0x38]
mov rcx, qword [rsp + 0x70]
xor rsi, rcx
and rsi, rax
xor rsi, rcx
mov qword [rsp + 0x70], rsi
mov rcx, qword [r12 + r14 + 0x40]
mov rsi, qword [rsp + 0x50]
xor rcx, rsi
and rcx, rax
xor rcx, rsi
mov r15, qword [r12 + r14 + 0x48]
mov rsi, qword [rsp + 0x58]
xor r15, rsi
and r15, rax
xor r15, rsi
mov rbx, qword [r12 + r14 + 0x50]
mov rsi, qword [rsp + 0x60]
xor rbx, rsi
and rbx, rax
xor rbx, rsi
mov rsi, qword [r12 + r14 + 0x58]
mov r13, qword [rsp + 0x68]
xor rsi, r13
and rsi, rax
xor rsi, r13
mov rbp, qword [r12 + r14 + 0x60]
mov r13, qword [rsp + 0x40]
xor rbp, r13
and rbp, rax
xor rbp, r13
mov r13, qword [r12 + r14 + 0x68]
xor r13, qword [rsp + 0x30]
and r13, rax
xor r13, qword [rsp + 0x30]
mov r12, qword [r12 + r14 + 0x70]
xor r12, qword [rsp + 0x20]
and r12, rax
xor r12, qword [rsp + 0x20]
add r14, 0x78
inc dword [rsp + 0x28]
cmp r14, 0x3c0
jne 0x140034830
mov qword [rsp + 0x68], rcx
mov ecx, dword [rsp + 0x4c]
and cl, 1
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x38], r11
call fcn.140189540
movabs r10, 0x7ffffffffffff0
mov r11, r10
sub r11, rbx
add r11, 0xfffffffffffffee0
mov rdx, r10
sub rdx, rsi
mov rcx, r11
shr rcx, 0x33
mov r9, rdx
movabs r14, 0x7ffffffffffff
and rdx, r14
add rdx, rcx
mov qword [rsp + 0x60], rdx
mov r8, r10
sub r8, rbp
shr r9, 0x33
mov rcx, r8
and r8, r14
add r8, r9
mov rdx, r10
sub rdx, r13
shr rcx, 0x33
mov r9, rdx
and rdx, r14
add rdx, rcx
sub r10, r12
and r11, r14
mov rcx, r10
and r10, r14
shr r9, 0x33
add r10, r9
shr rcx, 0x33
lea r9, [rcx + rcx*8]
lea rcx, [rcx + r9*2]
add rcx, r11
mov qword [rsp + 0x50], rcx
movzx r11d, al
neg r11
mov rcx, rdi
mov rax, qword [rsp + 0x38]
xor rcx, rax
and rcx, r11
xor rdi, rcx
mov qword [rsp + 0x58], rdi
xor rcx, rax
mov qword [rsp + 0x38], rcx
mov rax, qword [rsp + 0x78]
mov r14, rax
mov rcx, qword [rsp + 0x40]
xor r14, rcx
and r14, r11
xor rcx, r14
mov qword [rsp + 0x40], rcx
xor r14, rax
mov rax, qword [rsp + 0x70]
mov rcx, rax
mov r9, qword [rsp + 0x28]
xor rcx, r9
and rcx, r11
xor r9, rcx
mov qword [rsp + 0x28], r9
xor rcx, rax
mov r9, qword [rsp + 0x68]
mov rax, r9
mov rdi, qword [rsp + 0x30]
xor rax, rdi
and rax, r11
xor rdi, rax
mov qword [rsp + 0x30], rdi
xor rax, r9
mov rdi, r15
mov r9, qword [rsp + 0x20]
xor rdi, r9
and rdi, r11
xor r9, rdi
mov qword [rsp + 0x20], r9
xor rdi, r15
mov r9, qword [rsp + 0x50]
xor r9, rbx
and r9, r11
xor r9, rbx
mov rbx, r9
mov r9, qword [rsp + 0x60]
xor r9, rsi
and r9, r11
xor r9, rsi
mov rsi, r9
xor r8, rbp
and r8, r11
xor r8, rbp
xor rdx, r13
and rdx, r11
xor rdx, r13
xor r10, r12
and r10, r11
xor r10, r12
mov r9, qword [rsp + 0x88]
mov r11, qword [rsp + 0x58]
mov qword [r9], r11
mov r11, qword [rsp + 0x40]
mov qword [r9 + 8], r11
mov r11, qword [rsp + 0x28]
mov qword [r9 + 0x10], r11
mov r11, qword [rsp + 0x30]
mov qword [r9 + 0x18], r11
mov r11, qword [rsp + 0x20]
mov qword [r9 + 0x20], r11
mov r11, qword [rsp + 0x38]
mov qword [r9 + 0x28], r11
mov qword [r9 + 0x30], r14
mov qword [r9 + 0x38], rcx
mov qword [r9 + 0x40], rax
mov qword [r9 + 0x48], rdi
mov qword [r9 + 0x50], rbx
mov qword [r9 + 0x58], rsi
mov qword [r9 + 0x60], r8
mov qword [r9 + 0x68], rdx
mov qword [r9 + 0x70], r10
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret