Function at 0x14004d1b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4c0
mov rax, qword [0x1400e0400]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rax, qword [rsp + 0x520]
mov edi, r9d
mov rsi, qword [rsp + 0x538]
mov r13, r8
mov qword [rsp + 0x50], rax
mov r12, rdx
mov rax, qword [rsp + 0x530]
mov rbx, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x60], rax
cmp r9d, 1
jne 0x14004d227
cmp dword [rcx + 0x148], r9d
jne 0x14004d527
mov rbp, qword [rcx + 8]
lea rax, [rbp - 0x10]
cmp rax, 0x3f0
ja 0x14004d527
mov ecx, dword [rcx + 0x14c]
call fcn.14004be20
mov r14, rax
test rax, rax
je 0x14004d527
mov rcx, rax
call fcn.14004b8a0
movzx r15d, al
lea eax, [r15 + r15]
lea r8d, [rax + 2]
mov dword [rsp + 0x30], eax
cmp r8, rbp
ja 0x14004d527
mov rcx, rbx
test edi, edi
jne 0x14004d28c
lea r8, [rsp + 0xb0]
mov rdx, rsi
call fcn.14004d070
jmp 0x14004d2a7
lea rax, [rsp + 0xb0]
mov r9, rsi
mov r8, r13
mov qword [rsp + 0x20], rax
mov rdx, r12
call fcn.14004cbd0
mov edi, eax
test eax, eax
jne 0x14004d502
lea rcx, [rsp + 0x38]
call fcn.14004bea0
xor r8d, r8d
lea rcx, [rsp + 0x38]
mov rdx, r14
call fcn.14004bec0
mov edi, eax
test eax, eax
jne 0x14004d4f8
mov rsi, r15
lea rax, [rsp + 0x38]
mov r15, rbp
mov qword [rsp + 0x20], rax
sub r15, rsi
lea rbx, [rsp + 0xb1]
add rbx, rsi
lea rcx, [rsp + 0xb1]
mov r8, rbx
mov rdx, rsi
lea r9, [r15 - 1]
call fcn.14004da70
mov edi, eax
test eax, eax
jne 0x14004d4f8
lea rax, [rsp + 0x38]
mov r9, rsi
lea r8, [rsp + 0xb1]
mov qword [rsp + 0x20], rax
lea rdx, [r15 - 1]
mov rcx, rbx
call fcn.14004da70
mov edi, eax
test eax, eax
jne 0x14004d4f8
lea rcx, [rsp + 0x38]
call fcn.14004b7d0
mov r8, qword [rsp + 0x528]
lea r9, [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call fcn.14004b670
mov edi, eax
test eax, eax
jne 0x14004d502
movzx r8d, byte [rsp + 0xb0]
xor edi, edi
mov ecx, edi
test rsi, rsi
je 0x14004d425
cmp rsi, 0x20
jb 0x14004d410
mov rax, rsi
xorps xmm3, xmm3
and rax, 0xffffffffffffffe0
xorps xmm2, xmm2
nop word [rax + rax]
movdqu xmm0, xmmword [rbx]
movdqu xmm1, xmmword [rsp + rcx + 0x70]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rbx + 0x10]
add rbx, 0x20
orps xmm3, xmm1
movdqu xmm1, xmmword [rsp + rcx + 0x80]
add rcx, 0x20
xorps xmm1, xmm0
orps xmm2, xmm1
cmp rcx, rax
jb 0x14004d3a0
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 2
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 1
orps xmm2, xmm0
movd eax, xmm2
or r8b, al
cmp rcx, rsi
jae 0x14004d425
movzx eax, byte [rsp + rcx + 0x70]
inc rcx
xor al, byte [rbx]
inc rbx
or r8b, al
cmp rcx, rsi
jb 0x14004d410
mov eax, dword [rsp + 0x30]
mov r14, rbp
sub r14, rax
xor dl, dl
add r14, 0xfffffffffffffffe
mov r9, rdi
mov r10, rdi
mov r11, rdi
mov rcx, rdi
cmp r14, 2
jb 0x14004d486
lea rsi, [r14 - 1]
nop dword [rax + rax]
or dl, byte [rcx + rbx]
movzx eax, dl
neg al
or al, dl
or dl, byte [rcx + rbx + 1]
not al
add rcx, 2
movzx eax, al
shr rax, 7
add r9, rax
movzx eax, dl
neg al
or al, dl
not al
movzx eax, al
shr rax, 7
add r10, rax
cmp rcx, rsi
jb 0x14004d450
cmp rcx, r14
jae 0x14004d49f
or dl, byte [rcx + rbx]
movzx eax, dl
neg al
or al, dl
not al
movzx r11d, al
shr r11, 7
lea rax, [r10 + r9]
add rax, r11
add rbx, rax
movzx eax, byte [rbx]
inc rbx
xor al, 1
or r8b, al
je 0x14004d4bd
mov edi, 0xffffbf00
jmp 0x14004d502
sub rbp, rbx
lea r8, [rsp + 0xb0]
add r8, rbp
cmp r8, qword [rsp + 0x548]
jbe 0x14004d4dc
mov edi, 0xffffbc00
jmp 0x14004d502
mov rax, qword [rsp + 0x58]
mov qword [rax], r8
test r8, r8
je 0x14004d502
mov rcx, qword [rsp + 0x60]
mov rdx, rbx
call fcn.140092af0
jmp 0x14004d502
lea rcx, [rsp + 0x38]
call fcn.14004b7d0
mov edx, 0x400
lea rcx, [rsp + 0xb0]
call fcn.140048ba0
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.140048ba0
mov eax, edi
jmp 0x14004d52c
mov eax, 0xffffbf80
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.140076670
mov rbx, qword [rsp + 0x518]
add rsp, 0x4c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret