Function at 0x14004e600
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], r8
mov r14, rdx
mov r15, rcx
mov r12, qword [rsp + 0x188]
mov rax, qword [0x1403acd78]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rcx, r12
call fcn.14004a130
mov rbx, rax
lea r13, [rsp + 0x60]
mov rcx, r13
call fcn.14007a750
mov qword [rsp + 0x20], 0
mov rcx, r13
mov rdx, r15
mov r8, r14
mov r9, r12
call fcn.14007a780
test eax, eax
je 0x14004e929
mov rsi, qword [rsp + 0x190]
test rsi, rsi
je 0x14004e92d
mov r14, qword [rsp + 0x198]
mov edi, 1
lea r15, [rsp + 0x60]
jmp 0x14004e6ae
add r14, rbp
inc edi
sub rsi, rbp
je 0x14004e92d
cmp rbx, rsi
mov rbp, rsi
cmovb rbp, rbx
mov eax, edi
bswap eax
mov dword [rsp + 0xcc], eax
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.14007a780
test eax, eax
je 0x14004e929
mov rcx, r15
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
call fcn.14007aa80
test eax, eax
je 0x14004e929
mov r8d, 4
mov rcx, r15
lea rdx, [rsp + 0xcc]
call fcn.14007aa80
test eax, eax
je 0x14004e929
mov rcx, r15
lea rdx, [rsp + 0xd0]
xor r8d, r8d
call fcn.14007aaa0
test eax, eax
je 0x14004e929
test rbp, rbp
je 0x14004e74f
mov rcx, r14
lea rdx, [rsp + 0xd0]
mov r8, rbp
call fcn.14027bf80
cmp dword [rsp + 0x180], 2
jb 0x14004e6a0
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov rcx, rax
shr rcx, 5
inc rcx
mov rax, rbp
and rax, 0xffffffffffffffe0
mov qword [rsp + 0x30], rax
mov rax, rcx
mov qword [rsp + 0x40], rcx
and rcx, 0xfffffffffffffffe
mov qword [rsp + 0x38], rcx
mov r13, rbp
and r13, 0xfffffffffffffff8
mov r12d, 1
jmp 0x14004e7b1
inc r12d
cmp r12d, dword [rsp + 0x180]
je 0x14004e6a0
mov qword [rsp + 0x20], 0
mov rcx, r15
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call fcn.14007a780
test eax, eax
je 0x14004e929
mov rcx, r15
lea rdx, [rsp + 0xd0]
mov r8, rbx
call fcn.14007aa80
test eax, eax
je 0x14004e929
mov rcx, r15
lea rdx, [rsp + 0xd0]
xor r8d, r8d
call fcn.14007aaa0
test eax, eax
je 0x14004e929
test rbp, rbp
je 0x14004e7a0
cmp rbp, 8
jae 0x14004e820
xor eax, eax
jmp 0x14004e910
cmp rbp, 0x20
jae 0x14004e82d
xor ecx, ecx
jmp 0x14004e8e0
cmp qword [rsp + 0x48], 0x20
jae 0x14004e839
xor eax, eax
jmp 0x14004e898
mov rcx, qword [rsp + 0x38]
xor eax, eax
movups xmm0, xmmword [r14 + rax]
movups xmm1, xmmword [r14 + rax + 0x10]
movups xmm2, xmmword [r14 + rax + 0x20]
movups xmm3, xmmword [r14 + rax + 0x30]
xorps xmm0, xmmword [rsp + rax + 0xd0]
xorps xmm1, xmmword [rsp + rax + 0xe0]
movups xmmword [r14 + rax], xmm0
movups xmmword [r14 + rax + 0x10], xmm1
xorps xmm2, xmmword [rsp + rax + 0xf0]
xorps xmm3, xmmword [rsp + rax + 0x100]
movups xmmword [r14 + rax + 0x20], xmm2
movups xmmword [r14 + rax + 0x30], xmm3
add rax, 0x40
add rcx, 0xfffffffffffffffe
jne 0x14004e840
test byte [rsp + 0x40], 1
je 0x14004e8c5
movups xmm0, xmmword [r14 + rax]
movups xmm1, xmmword [r14 + rax + 0x10]
xorps xmm0, xmmword [rsp + rax + 0xd0]
xorps xmm1, xmmword [rsp + rax + 0xe0]
movups xmmword [r14 + rax], xmm0
movups xmmword [r14 + rax + 0x10], xmm1
cmp rbp, qword [rsp + 0x30]
je 0x14004e7a0
mov rax, qword [rsp + 0x30]
mov rcx, rax
test bpl, 0x18
je 0x14004e910
nop
mov rax, qword [rsp + rcx + 0xd0]
xor qword [r14 + rcx], rax
add rcx, 8
cmp r13, rcx
jne 0x14004e8e0
mov rax, r13
cmp rbp, r13
je 0x14004e7a0
nop word cs:[rax + rax]
movzx ecx, byte [rsp + rax + 0xd0]
xor byte [r14 + rax], cl
inc rax
cmp rbp, rax
jne 0x14004e910
jmp 0x14004e7a0
xor esi, esi
jmp 0x14004e93b
xor esi, esi
cmp dword [rsp + 0x180], 0
setne sil
lea rcx, [rsp + 0x60]
call fcn.14007ab60
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140279500
mov eax, esi
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret