Function at 0x140107068
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [0x1405fa008]
xor rax, rsp
mov qword [rbp + 0x50], rax
and qword [rsp + 0x44], 0
lea r13, [0x140000000]
and dword [rsp + 0x40], 0
mov rbx, r9
and dword [rsp + 0x4c], 0
mov r15, r8
cmp dword [rbp + 0xe0], 0
mov r14, rdx
mov qword [rsp + 0x58], r8
mov r12, rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x60], rcx
je 0x140107106
mov edx, ecx
lea rcx, [rsp + 0x40]
sub edx, r13d
call fcn.1400063e0
mov r8, qword [0x140604c80]
lea rcx, [rbp - 0x70]
movups xmm0, xmmword [rsp + 0x40]
mov rdx, r14
sub r8, r13
movsd xmm1, qword [rsp + 0x50]
sub rdx, r12
movaps xmmword [rbp - 0x70], xmm0
movsd qword [rbp - 0x60], xmm1
call fcn.140106acc
test r15, r15
je 0x1401074a0
mov eax, r15d
and eax, 7
mov dword [rsp + 0x28], eax
jne 0x14010713e
mov eax, dword [rbp + 0xd0]
xor edi, edi
mov r10d, dword [rsp + 0x28]
xor esi, esi
mov dword [rsp + 0x3c], eax
not eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x38]
jmp 0x140107322
mov edx, dword [rbp + 0xd0]
mov rax, rbx
shr rax, 0x10
mov ecx, edx
ror ecx, 0xa
mov edi, edx
movzx r10d, ax
not edi
movzx r11d, bx
mov r8, rbx
shr r8, 0x30
mov r9, rbx
shr r9, 0x20
mov eax, r8d
xor eax, edx
mov qword [rbp - 0x50], rbx
imul eax, r10d
mov qword [rbp - 0x48], rbx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x38], rbx
sub eax, ecx
mov qword [rbp + 0x48], rbx
xor edi, eax
mov qword [rbp - 0x30], rbx
mov esi, edi
mov qword [rbp - 0x40], rbx
ror esi, 9
mov eax, r8d
xor eax, edi
mov qword [rbp - 0x20], rbx
imul eax, r11d
mov qword [rbp + 0x30], rbx
mov qword [rbp - 0x10], rbx
mov qword [rbp + 0x20], rbx
mov qword [rbp], rbx
add esi, eax
mov qword [rbp + 0x40], rbx
xor esi, edx
mov qword [rbp - 0x38], rbx
mov ecx, esi
movzx edx, r9w
sub ecx, ebx
mov qword [rbp - 0x28], rbx
ror ecx, 0x1b
mov eax, esi
imul ecx, r8d
ror eax, 0x1b
add ecx, eax
xor edi, ecx
mov eax, edi
ror eax, 0x19
lea ecx, [rbx + rdi]
ror ecx, 0x16
imul ecx, edx
add ecx, eax
xor esi, ecx
mov ecx, edx
xor ecx, esi
mov eax, esi
rol ecx, 5
imul ecx, r10d
ror eax, 0x13
sub ecx, eax
xor edi, ecx
mov ecx, edi
mov eax, edi
sub ecx, r9d
ror eax, 0x10
ror ecx, 0xa
imul ecx, r11d
xor ecx, eax
xor esi, ecx
mov ecx, r11d
mov eax, esi
sub eax, r8d
xor eax, ebx
xor edi, eax
xor ecx, edi
rol ecx, 5
imul ecx, edx
mov eax, edi
mov qword [rbp - 0x18], rbx
shr eax, 0xb
add ecx, eax
mov qword [rbp - 8], rbx
xor esi, ecx
mov qword [rbp + 8], rbx
mov ecx, r9d
mov qword [rbp + 0x18], rbx
xor ecx, esi
mov eax, esi
ror eax, 0xe
ror ecx, 0x1f
imul ecx, r10d
movsxd r10, dword [rsp + 0x28]
mov rdx, r10
sub ecx, eax
xor edi, ecx
mov rcx, r12
xor r9d, edi
mov dword [rsp + 0x20], edi
ror r9d, 0x11
mov eax, edi
imul r9d, r11d
ror eax, 9
add r9d, eax
xor eax, eax
xor esi, r9d
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x24], esi
mov r9, r10
test r10d, r10d
je 0x1401072ba
lea r8, [rsp + 0x30]
sub r8, r12
mov al, byte [rcx]
mov byte [r8 + rcx], al
inc rcx
sub r9, 1
jne 0x14010729e
mov esi, dword [rsp + 0x24]
mov edi, dword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
xor esi, dword [rsp + 0x34]
lea r8, [rsp + 0x20]
xor edi, eax
mov dword [rsp + 0x24], esi
mov ecx, 8
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x38], rax
lea r8, [r8 + r10]
sub rcx, rdx
je 0x1401072f5
mov byte [r8], 0
inc r8
sub rcx, 1
jne 0x1401072e0
mov esi, dword [rsp + 0x24]
mov edi, dword [rsp + 0x20]
lea r8, [rsp + 0x20]
test r10d, r10d
je 0x140107322
lea rcx, [rsp + 0x20]
mov r9, r14
sub r9, rcx
mov cl, byte [r8]
mov byte [r9 + r8], cl
inc r8
sub rdx, 1
jne 0x14010730a
mov esi, dword [rsp + 0x24]
mov edi, dword [rsp + 0x20]
movsxd rcx, r10d
mov r11, r15
add rcx, r14
shr r11, 3
mov qword [rsp + 0x30], rcx
test r11, r11
je 0x140107499
mov r13, qword [rsp + 0x30]
mov rcx, rbx
shr rcx, 0x10
mov r15, rbx
mov qword [rbp - 0x48], rcx
mov rcx, rbx
shr rcx, 0x20
mov qword [rsp + 0x20], rcx
mov rcx, r12
mov r12, qword [rsp + 0x20]
shr r15, 0x30
sub rcx, r14
movzx r8d, bx
mov r14, qword [rbp - 0x48]
mov qword [rbp - 0x50], rcx
mov dword [rsp + 0x28], r8d
xor edi, dword [rcx + r13]
mov rcx, qword [rcx + r13]
shr rcx, 0x20
xor esi, ecx
movzx r10d, r14w
mov edx, esi
mov ecx, r15d
ror edx, 0xa
xor ecx, esi
imul ecx, r10d
sub ecx, edx
xor edi, ecx
mov ecx, r15d
xor ecx, edi
mov edx, edi
ror edx, 9
imul ecx, r8d
movzx r8d, r12w
add edx, ecx
xor esi, edx
mov edx, esi
mov ecx, esi
sub edx, ebx
ror ecx, 0x1b
ror edx, 0x1b
imul edx, r15d
add edx, ecx
xor edi, edx
mov ecx, edi
ror ecx, 0x19
lea edx, [rbx + rdi]
ror edx, 0x16
imul edx, r8d
add edx, ecx
xor esi, edx
mov edx, r8d
xor edx, esi
mov ecx, esi
rol edx, 5
imul edx, r10d
ror ecx, 0x13
sub edx, ecx
xor edi, edx
mov edx, edi
mov ecx, edi
sub edx, r12d
ror ecx, 0x10
ror edx, 0xa
imul edx, dword [rsp + 0x28]
xor edx, ecx
xor esi, edx
mov edx, dword [rsp + 0x28]
mov ecx, esi
sub ecx, r15d
xor ecx, ebx
xor edi, ecx
xor edx, edi
mov ecx, edi
rol edx, 5
imul edx, r8d
mov r8d, dword [rsp + 0x28]
shr ecx, 0xb
add edx, ecx
xor esi, edx
mov edx, r12d
xor edx, esi
mov ecx, esi
ror edx, 0x1f
imul edx, r10d
ror ecx, 0xe
sub edx, ecx
xor edi, edx
mov edx, r12d
xor edx, edi
mov ecx, edi
ror edx, 0x11
imul edx, r8d
ror ecx, 9
add edx, ecx
xor esi, edx
xor edi, dword [rsp + 0x38]
mov rcx, qword [rbp - 0x50]
shr rax, 0x20
xor esi, eax
mov rax, qword [rcx + r13]
mov dword [r13], edi
mov dword [r13 + 4], esi
lea r13, [r13 + 8]
mov qword [rsp + 0x38], rax
sub r11, 1
jne 0x14010737c
mov r14, qword [rsp + 0x68]
lea r13, [0x140000000]
mov r15, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov bl, byte [r15 + r14 - 1]
jmp 0x1401074a4
mov bl, byte [rsp + 0x2c]
cmp dword [rbp + 0xe0], 0
je 0x1401074df
mov rax, qword [0x140604c80]
lea rcx, [rsp + 0x70]
movups xmm0, xmmword [rsp + 0x40]
sub r13, rax
sub r14, r12
movsd xmm1, qword [rsp + 0x50]
mov r8, r13
mov rdx, r14
movaps xmmword [rsp + 0x70], xmm0
movsd qword [rbp - 0x80], xmm1
call fcn.140106acc
cmp bl, byte [rbp + 0xd8]
je 0x1401074ec
call fcn.140108d08
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.14001af10
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret