Function at 0x140116150
Capabilities:
Encode data using xor

Disassembly:
cmp r8d, 0x40
jl 0x1401164dd
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x38]
sub rsp, 0x128
mov qword [rax + 8], rsi
mov rbx, rcx
mov qword [rax + 0x10], rdi
mov rsi, rcx
mov qword [rax + 0x18], r12
lea rdi, [rdx + 0x3c]
mov qword [rax + 0x20], r14
lea r14, [rsp + 0x5c]
mov qword [rax - 0x18], r15
neg r14
lea rax, [rsp + 0x20]
mov r12d, r8d
sub rsi, rax
lea r15, [rcx + 0x3c]
shr r12, 6
lea rax, [rbp - 0x60]
cmp rax, r15
ja 0x1401161b5
lea rax, [rbp - 0x24]
cmp rax, rbx
jae 0x1401161fd
lea rax, [rbp - 0x60]
cmp rax, rdi
lea rax, [rdi - 0x3c]
ja 0x1401161cb
lea rcx, [rbp - 0x24]
cmp rcx, rax
jae 0x1401161fd
cmp rbx, rdi
ja 0x1401161d5
cmp r15, rax
jae 0x1401161fd
lea rcx, [rsp + 0x5c]
cmp rbx, rcx
ja 0x1401161e9
lea rcx, [rsp + 0x20]
cmp r15, rcx
jae 0x1401161fd
lea rcx, [rsp + 0x20]
cmp rcx, rdi
ja 0x140116235
lea rcx, [rsp + 0x5c]
cmp rcx, rax
jb 0x140116235
xor r8d, r8d
lea r9d, [r8 + 0x10]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
add rdx, r8
lea rax, [r14 + rdi]
mov ecx, dword [rax + rdx]
mov dword [rdx], ecx
xor ecx, dword [rsi + rdx]
mov dword [rbp + r8 - 0x60], ecx
add r8, 4
sub r9, 1
jne 0x140116210
jmp 0x14011626e
xor edx, edx
lea r8d, [rdx + 4]
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
movdqu xmm0, xmmword [rsi + rcx]
lea rax, [rcx + r14]
movdqu xmm1, xmmword [rax + rdi]
pxor xmm0, xmm1
movdqu xmmword [rbp + rdx - 0x60], xmm0
add rdx, 0x10
movdqu xmmword [rcx], xmm1
sub r8, 1
jne 0x140116240
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140115600
mov r8d, 0x1000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140115600
mov r8d, 0x2000000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140115600
mov r8d, 0x3000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140115600
mov r8d, 0x4000000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140115600
mov r8d, 0x5000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140115600
mov r8d, 0x6000000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140115600
mov r8d, 0x7000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140115600
mov r8d, 0x8000000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140115600
mov r8d, 0x9000000
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.140115600
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.140114b40
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140114b40
mov r8d, 2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140114b40
mov r8d, 3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140114b40
mov r8d, 4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140114b40
mov r8d, 5
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140114b40
mov r8d, 6
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140114b40
mov r8d, 7
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.140114b40
mov r8d, 8
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140114b40
mov r8d, 9
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.140114b40
lea rax, [rbp - 0x60]
cmp rax, r15
ja 0x14011641b
lea rax, [rbp - 0x24]
cmp rax, rbx
jae 0x14011642d
lea rax, [rbp + 0x1c]
cmp rbx, rax
ja 0x140116447
lea rax, [rbp - 0x20]
cmp r15, rax
jb 0x140116447
xor eax, eax
nop
mov ecx, dword [rbp + rax - 0x20]
xor ecx, dword [rbp + rax - 0x60]
xor dword [rax + rbx], ecx
add rax, 4
cmp rax, 0x40
jl 0x140116430
jmp 0x140116495
movdqu xmm0, xmmword [rbx]
pxor xmm0, xmmword [rbp - 0x20]
pxor xmm0, xmmword [rbp - 0x60]
movdqu xmmword [rbx], xmm0
movdqu xmm0, xmmword [rbx + 0x10]
pxor xmm0, xmmword [rbp - 0x10]
pxor xmm0, xmmword [rbp - 0x50]
movdqu xmmword [rbx + 0x10], xmm0
movdqu xmm0, xmmword [rbx + 0x20]
pxor xmm0, xmmword [rbp]
pxor xmm0, xmmword [rbp - 0x40]
movdqu xmmword [rbx + 0x20], xmm0
movdqu xmm0, xmmword [rbx + 0x30]
pxor xmm0, xmmword [rbp + 0x10]
pxor xmm0, xmmword [rbp - 0x30]
movdqu xmmword [rbx + 0x30], xmm0
add dword [rbx + 0x40], 1
jne 0x14011649e
inc dword [rbx + 0x44]
add rdi, 0x40
sub r12, 1
jne 0x1401161a3
mov r15, qword [rsp + 0x120]
mov r14, qword [rsp + 0x158]
mov r12, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x148]
mov rsi, qword [rsp + 0x140]
add rsp, 0x128
pop rbx
pop rbp
ret