Function at 0x140030f64
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x1400bfa10]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x29], rcx
mov rdx, rcx
lea rcx, [rbp - 0x19]
mov r8d, 0x40
call fcn.14006f9f0
mov eax, dword [rbp - 1]
mov r9d, dword [rbp + 0x23]
mov esi, dword [rbp + 0x1f]
mov edi, dword [rbp + 0x1b]
mov r11d, dword [rbp + 0x17]
mov r14d, dword [rbp + 0x13]
mov r15d, dword [rbp + 0xf]
mov r12d, dword [rbp + 0xb]
mov r13d, dword [rbp + 7]
mov r10d, dword [rbp + 3]
mov ebx, dword [rbp - 0xd]
mov edx, dword [rbp - 0x11]
mov ecx, dword [rbp - 0x15]
mov r8d, dword [rbp - 0x19]
mov dword [rbp - 0x39], eax
mov eax, dword [rbp - 5]
mov dword [rbp - 0x3d], eax
mov eax, dword [rbp - 9]
mov dword [rbp - 0x41], eax
mov qword [rbp - 0x31], 0xa
add ecx, dword [rbp - 0x3d]
add r8d, eax
add edx, dword [rbp - 0x39]
xor edi, ecx
xor r11d, r8d
rol edi, 0x10
xor esi, edx
rol r11d, 0x10
add r13d, r11d
rol esi, 0x10
add r15d, esi
add ebx, r10d
xor r9d, ebx
add r12d, edi
rol r9d, 0x10
mov eax, r13d
xor eax, dword [rbp - 0x41]
add r14d, r9d
rol eax, 0xc
add r8d, eax
xor r11d, r8d
mov dword [rbp - 0x45], r8d
rol r11d, 8
add r13d, r11d
mov r8d, r13d
xor r8d, eax
mov eax, r12d
xor eax, dword [rbp - 0x3d]
rol eax, 0xc
add ecx, eax
rol r8d, 7
xor edi, ecx
mov dword [rbp - 0x49], ecx
rol edi, 8
add r12d, edi
mov ecx, r12d
xor ecx, eax
mov eax, r15d
xor eax, dword [rbp - 0x39]
rol eax, 0xc
add edx, eax
rol ecx, 7
xor esi, edx
mov dword [rbp - 0x41], edx
rol esi, 8
add r15d, esi
mov edx, r15d
xor edx, eax
mov eax, r14d
xor eax, r10d
rol edx, 7
rol eax, 0xc
add ebx, eax
xor r9d, ebx
rol r9d, 8
add r14d, r9d
mov r10d, r14d
xor r10d, eax
mov eax, dword [rbp - 0x45]
add eax, ecx
rol r10d, 7
xor r9d, eax
mov dword [rbp - 0x45], eax
rol r9d, 0x10
add r15d, r9d
mov eax, r15d
xor eax, ecx
mov ecx, dword [rbp - 0x45]
rol eax, 0xc
add ecx, eax
xor r9d, ecx
mov dword [rbp - 0x45], ecx
mov dword [rbp - 0x19], ecx
rol r9d, 8
add r15d, r9d
mov ecx, r15d
xor ecx, eax
mov eax, dword [rbp - 0x49]
rol ecx, 7
mov dword [rbp - 0x3d], ecx
mov dword [rbp - 5], ecx
add eax, edx
add ebx, r8d
mov dword [rbp - 0x49], eax
xor eax, r11d
rol eax, 0x10
add r14d, eax
mov ecx, r14d
xor ecx, edx
mov edx, dword [rbp - 0x49]
rol ecx, 0xc
add edx, ecx
mov r11d, edx
mov dword [rbp - 0x49], edx
xor r11d, eax
mov dword [rbp - 0x15], edx
mov edx, dword [rbp - 0x41]
add edx, r10d
rol r11d, 8
add r14d, r11d
mov eax, r14d
xor eax, ecx
rol eax, 7
mov dword [rbp - 0x39], eax
mov dword [rbp - 1], eax
mov eax, edx
xor eax, edi
rol eax, 0x10
add r13d, eax
xor r10d, r13d
rol r10d, 0xc
add edx, r10d
mov edi, edx
mov dword [rbp - 0x11], edx
xor edi, eax
mov eax, ebx
xor eax, esi
rol edi, 8
rol eax, 0x10
add r13d, edi
add r12d, eax
xor r10d, r13d
mov ecx, r12d
rol r10d, 7
xor ecx, r8d
mov r8d, dword [rbp - 0x45]
rol ecx, 0xc
add ebx, ecx
mov esi, ebx
xor esi, eax
rol esi, 8
add r12d, esi
mov eax, r12d
xor eax, ecx
mov ecx, dword [rbp - 0x49]
rol eax, 7
sub qword [rbp - 0x31], 1
mov dword [rbp - 0x41], eax
mov dword [rbp - 9], eax
jne 0x140030ff4
xor edx, edx
mov dword [rbp - 0xd], ebx
mov rbx, qword [rbp - 0x29]
lea rax, [rbp - 0x19]
mov r8, rbx
mov dword [rbp + 3], r10d
sub r8, rax
mov dword [rbp + 0x23], r9d
lea r10d, [rdx + 0x10]
mov dword [rbp + 0x17], r11d
mov dword [rbp + 0x1b], edi
mov dword [rbp + 0x1f], esi
mov dword [rbp + 0x13], r14d
mov dword [rbp + 0xf], r15d
mov dword [rbp + 0xb], r12d
mov dword [rbp + 7], r13d
lea rax, [r8 + rdx*4]
mov ecx, dword [rbp + rax - 0x19]
add dword [rbp + rdx*4 - 0x19], ecx
inc rdx
cmp rdx, r10
jl 0x1400311c8
lea r9, [rbp - 0x19]
sub r9, rbx
lea r8, [rbx + 0x41]
mov ecx, dword [r9 + r8 - 0x41]
mov al, byte [r9 + r8 - 0x41]
mov byte [r8 - 1], al
mov eax, ecx
shr eax, 8
mov byte [r8], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [r8 + 1], al
mov byte [r8 + 2], cl
lea r8, [r8 + 4]
sub r10, 1
jne 0x1400311e7
and dword [rbx + 0x80], r10d
lea edx, [r10 + 0x40]
lea rcx, [rbp - 0x19]
call fcn.140065c14
add dword [rbx + 0x30], 1
jne 0x140031234
inc dword [rbx + 0x34]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14006eb50
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret