Function at 0x14004e2a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0xa70]
sub rsp, 0xb70
mov rax, qword [0x1401ace90]
xor rax, rsp
mov qword [rbp + 0xa40], rax
cmp byte [0x1401b5fc3], 0
je 0x14004e2d7
lea rax, [0x1401b08e0]
jmp 0x14004e589
mov r11d, dword [0x1401b4d80]
mov qword [rsp + 0xb60], r13
mov qword [rsp + 0xb50], r15
lea eax, [r11 + 1]
lea ecx, [r11 + 2]
xor r15d, r15d
imul ecx, eax
mov eax, 0xb21642c9
imul ecx, r11d
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 0xf
jne 0x14004e3be
mov edx, r15d
mov ecx, edx
mov eax, edx
inc edx
sar eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, r11d
xor ecx, eax
mov eax, ecx
sar ecx, 1
and eax, 1
dec eax
not eax
and eax, r11d
xor eax, ecx
mov ecx, eax
sar eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, r11d
xor ecx, eax
mov eax, ecx
sar ecx, 1
and eax, 1
dec eax
not eax
and eax, r11d
xor eax, ecx
mov ecx, eax
sar eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, r11d
xor ecx, eax
mov eax, ecx
sar ecx, 1
and eax, 1
dec eax
not eax
and eax, r11d
xor eax, ecx
mov ecx, eax
sar eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, r11d
xor ecx, eax
mov eax, ecx
sar ecx, 1
and eax, 1
dec eax
not eax
and eax, r11d
xor eax, ecx
add r11d, eax
cmp edx, 0x100
jl 0x14004e324
mov dword [0x1401b4d80], r11d
lea ecx, [r11 + 1]
mov eax, 0xb21642c9
mov dword [rsp], 0x1f0025
mov dword [rsp + 4], 0x50025
mov dword [rsp + 8], 0x6000f
mov dword [rsp + 0xc], 0x60008
imul ecx, r11d
imul ecx
add edx, ecx
mov dword [rsp + 0x10], 0xe0007
mov dword [rsp + 0x14], 0x2003b
sar edx, 4
mov dword [rsp + 0x18], 0x1001c
mov r13d, 1
mov eax, edx
mov dword [rsp + 0x1c], 0xa001e
mov dword [rsp + 0x20], 0x290002
shr eax, 0x1f
mov dword [rsp + 0x24], 0x70010
mov dword [rsp + 0x28], 0x14001f
add edx, eax
mov dword [rsp + 0x2c], 0x4e001f
mov dword [rsp + 0x30], 0x4b
imul edx, edx, 0x17
sub ecx, edx
cmp ecx, 0x10
jne 0x14004e4f8
mov qword [rsp + 0xb80], rbx
mov qword [rsp + 0xb88], rsi
mov qword [rsp + 0xb90], rdi
mov qword [rsp + 0xb68], r12
lea r10, [rsp + 0x40]
mov qword [rsp + 0xb58], r14
mov r12d, r15d
nop word [rax + rax]
movzx edi, r11b
mov esi, r13d
mov r14d, 0xb
sub dil, r12b
mov rcx, r15
mov r9d, r13d
nop word [rax + rax]
inc rcx
inc r9d
cmp rcx, 0x10
jl 0x14004e4b0
inc esi
add r10, 0x10
dec r14
jne 0x14004e4a0
inc r12d
cmp r12d, 0x10
jl 0x14004e490
mov r14, qword [rsp + 0xb58]
mov r12, qword [rsp + 0xb68]
mov rdi, qword [rsp + 0xb90]
mov rsi, qword [rsp + 0xb88]
mov rbx, qword [rsp + 0xb80]
mov r13, qword [rsp + 0xb60]
lea rdx, [0x1401b08e0]
lea r8, [0x1401afda1]
nop
movzx eax, byte [r15 + r8 - 1]
movzx ecx, word [rsp + r15*2 + 2]
add r15, 5
xor ax, word [rsp + r15*2 - 0xa]
mov word [rdx + r15*2 - 0xa], ax
movzx eax, byte [r15 + r8 - 5]
xor cx, ax
movzx eax, byte [r15 + r8 - 4]
xor ax, word [rsp + r15*2 - 6]
mov word [rdx + r15*2 - 8], cx
movzx ecx, byte [r15 + r8 - 3]
xor cx, word [rsp + r15*2 - 4]
mov word [rdx + r15*2 - 6], ax
mov word [rdx + r15*2 - 4], cx
movzx ecx, byte [r15 + r8 - 2]
xor cx, word [rsp + r15*2 - 2]
mov word [rdx + r15*2 - 2], cx
cmp r15, 0x19
jl 0x14004e510
mov r15, qword [rsp + 0xb50]
mov byte [0x1401b5fc3], 1
mov rax, rdx
mov rcx, qword [rbp + 0xa40]
xor rcx, rsp
call fcn.1400c7be0
add rsp, 0xb70
pop rbp
ret