Function at 0x140c83480
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf]
sub rsp, 0xe8
mov rax, qword [0x140f4c000]
xor rax, rsp
mov qword [rbp - 0x19], rax
mov rax, qword [rbp + 0x7f]
mov rsi, rcx
mov rcx, qword [rcx]
mov r14, r9
mov qword [rsp + 0x28], rax
mov rdi, r8
mov qword [rsp + 0x30], r9
mov rbx, rdx
call fcn.140c6e850
mov dword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rbx
movzx r15d, al
mov rcx, rsi
mov byte [rsp + 0x23], 1
call fcn.140c6eab0
mov edi, eax
test eax, eax
jne 0x140c8373c
mov qword [rsp + 0xd8], r13
mov r13d, dword [rbp + 0x77]
test r13d, r13d
je 0x140c83715
mov qword [rsp + 0xe0], r12
mov r12d, dword [rbp + 0x6f]
nop
mov r8, qword [rbp + 0x67]
mov rdx, r14
mov rcx, rsi
call fcn.140c6edb0
mov edi, eax
test eax, eax
jne 0x140c8370d
mov r8d, 4
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140c6edb0
mov edi, eax
test eax, eax
jne 0x140c8370d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140c6e860
mov edi, eax
test eax, eax
jne 0x140c8370d
mov rcx, rsi
call fcn.140c6ea50
mov edi, eax
test eax, eax
jne 0x140c8370d
mov r8, r15
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x59]
call fcn.140cfb740
mov ebx, 1
cmp r12d, ebx
jbe 0x140c836bc
nop
mov r8, r15
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.140c6edb0
mov edi, eax
test eax, eax
jne 0x140c8370d
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.140c6e860
mov edi, eax
test eax, eax
jne 0x140c8370d
mov rcx, rsi
call fcn.140c6ea50
mov edi, eax
test eax, eax
jne 0x140c8370d
xor eax, eax
mov edx, r15d
test r15b, r15b
je 0x140c8368e
cmp r15d, 8
jb 0x140c8368e
cmp r15d, 0x40
jb 0x140c83668
mov ecx, edx
mov r9d, 0xffffffc0
and rcx, r9
nop word [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqu xmm1, xmmword [rbp + rax - 0x59]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x40], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x50]
movdqu xmm1, xmmword [rbp + rax - 0x49]
xorps xmm1, xmm0
movdqu xmmword [rsp + rax + 0x50], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x79]
movdqu xmm1, xmmword [rbp + rax - 0x39]
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x79], xmm1
movdqu xmm0, xmmword [rbp + rax - 0x69]
movdqu xmm1, xmmword [rbp + rax - 0x29]
xorps xmm1, xmm0
movdqu xmmword [rbp + rax - 0x69], xmm1
add rax, 0x40
cmp rax, rcx
jl 0x140c83600
mov ecx, r15d
and cl, 0x3f
cmp cl, 8
jb 0x140c8368e
mov ecx, 0xfffffff8
and rdx, rcx
movq xmm0, qword [rsp + rax + 0x40]
movq xmm1, qword [rbp + rax - 0x59]
xorps xmm1, xmm0
movq qword [rsp + rax + 0x40], xmm1
add rax, 8
cmp rax, rdx
jl 0x140c83670
cmp rax, r15
jge 0x140c836b1
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + rax - 0x59]
xor byte [rsp + rax + 0x40], cl
inc rax
cmp rax, r15
jl 0x140c836a0
inc ebx
cmp ebx, r12d
jb 0x140c83590
mov r14, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov eax, r15d
cmp r13d, r15d
mov rcx, r14
cmovb eax, r13d
mov r8d, eax
mov ebx, eax
call fcn.140cfb740
sub r13d, ebx
mov edx, 4
add r14, rbx
mov qword [rsp + 0x28], r14
nop dword [rax]
lea eax, [rdx - 1]
add byte [rsp + rax + 0x20], 1
jne 0x140c836ff
add edx, 0xffffffff
jne 0x140c836f0
mov r14, qword [rsp + 0x30]
test r13d, r13d
jne 0x140c83510
mov r12, qword [rsp + 0xe0]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140c6d8e0
mov edx, 0x40
lea rcx, [rbp - 0x59]
call fcn.140c6d8e0
mov r13, qword [rsp + 0xd8]
mov eax, edi
mov rcx, qword [rbp - 0x19]
xor rcx, rsp
call fcn.140cbacb0
add rsp, 0xe8
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret