Function at 0x14004e2d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x430
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rcx, qword [0x14007b218]
mov r11, qword [0x14007ad00]
mov rax, qword [0x14007b210]
mov qword [rsp], rax
mov rax, rcx
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp], al
lea rax, [rcx + 1]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 1], al
lea rax, [rcx + 2]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 2], al
lea rax, [rcx + 3]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 3], al
lea rax, [rcx + 4]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 4], al
lea rax, [rcx + 5]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 5], al
lea rax, [rcx + 6]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 6], al
lea rax, [rcx + 7]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 7], al
mov rbp, qword [rsp]
test rbp, rbp
jne 0x14004e3a2
xor al, al
jmp 0x14004e67a
mov qword [rsp + 0x440], rbx
lea r9, [rsp + 0x10]
mov qword [rsp + 0x448], rsi
mov qword [rsp + 0x450], rdi
mov rdi, qword [0x14007b578]
mov rsi, rdi
mov dword [rsp + 0x410], 0xffffffff
shr rsi, 5
xor ebx, ebx
mov r8d, ebx
nop dword [rax]
mov eax, r8d
lea r9, [r9 + 4]
mov ecx, r8d
shr ecx, 1
mov edx, ecx
xor edx, esi
and al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, esi
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, esi
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, esi
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, esi
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, esi
and dl, 1
mov edx, esi
cmove ecx, eax
mov eax, ecx
shr eax, 1
xor edx, eax
and cl, 1
cmove edx, eax
mov eax, esi
mov ecx, edx
shr ecx, 1
xor eax, ecx
and dl, 1
cmove eax, ecx
inc r8d
mov dword [r9 - 4], eax
cmp r8d, 0x100
jb 0x14004e3e0
movabs rax, 0xffffffe000000000
test rax, rdi
jbe 0x14004e660
mov r10, rbx
mov rcx, qword [0x14007b200]
mov rdx, qword [0x14007b1a8]
mov rax, qword [0x14007b1f8]
mov qword [rsp], rax
mov rax, rcx
and eax, 0x3ff
shl r10, 5
add r10, rbp
movzx eax, byte [rax + r11]
xor byte [rsp], al
lea rax, [rcx + 1]
mov r8d, dword [r10 + 8]
and eax, 0x3ff
xor r8d, dword [r10 + 4]
mov r9d, dword [r10 + 0x10]
mov ecx, dword [rdx + 0x10]
xor r8d, esi
xor r9d, dword [r10 + 0xc]
movzx eax, byte [rax + r11]
xor r9d, esi
xor byte [rsp + 1], al
lea rax, [rcx + 2]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 2], al
lea rax, [rcx + 3]
add esp, dword [0x14004e8f3]
movzx eax, byte [rax + r11]
xor byte [rsp + 3], al
lea rax, [rcx + 4]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 4], al
lea rax, [rcx + 5]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 5], al
lea rax, [rcx + 6]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 6], al
lea rax, [rcx + 7]
mov rcx, qword [0x14007b1a0]
and eax, 0x3ff
movzx eax, byte [rax + r11]
xor byte [rsp + 7], al
mov rax, qword [rsp]
mov qword [rsp], rcx
add rax, r8
mov rcx, rdx
and ecx, 0x3ff
movzx ecx, byte [rcx + r11]
xor byte [rsp], cl
lea rcx, [rdx + 1]
and ecx, 0x3ff
movzx ecx, byte [rcx + r11]
xor byte [rsp + 1], cl
lea rcx, [rdx + 2]
and ecx, 0x3ff
movzx ecx, byte [rcx + r11]
xor byte [rsp + 2], cl
lea rcx, [rdx + 3]
and ecx, 0x3ff
movzx ecx, byte [rcx + r11]
xor byte [rsp + 3], cl
lea rcx, [rdx + 4]
and ecx, 0x3ff
movzx ecx, byte [rcx + r11]
xor byte [rsp + 4], cl
lea rcx, [rdx + 5]
and ecx, 0x3ff
movzx ecx, byte [rcx + r11]
xor byte [rsp + 5], cl
lea rcx, [rdx + 6]
and ecx, 0x3ff
movzx ecx, byte [rcx + r11]
xor byte [rsp + 6], cl
lea rcx, [rdx + 7]
and ecx, 0x3ff
movzx ecx, byte [rcx + r11]
xor byte [rsp + 7], cl
cmp r8, qword [rsp]
jae 0x14004e64b
mov r8d, 0xffffffff
mov dword [rsp + 0x410], r8d
test r9d, r9d
je 0x14004e639
nop word [rax + rax]
movzx edx, byte [rsp + 0x410]
movzx ecx, byte [rax]
lea rax, [rax + 1]
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rsp + rdx*4 + 0x10]
mov dword [rsp + 0x410], r8d
sub r9, 1
jne 0x14004e610
not r8d
cmp dword [r10], r8d
je 0x14004e64b
mov dword [r10], r8d
mov rdi, qword [0x14007b578]
inc ebx
mov rax, rdi
mov r10d, ebx
shr rax, 0x25
cmp r10, rax
jb 0x14004e481
mov rdi, qword [rsp + 0x450]
mov al, 1
mov rsi, qword [rsp + 0x448]
mov rbx, qword [rsp + 0x440]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.140057410
add rsp, 0x430
pop rbp
ret