Function at 0x140043d30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
cmp byte [rcx], 0
je 0x140044151
cmp byte [rcx + 1], 0
jne 0x14004454f
mov rax, rcx
mov byte [rcx + 1], 1
not rax
lea r8, [rcx + 3]
mov qword [rsp + 0x50], rax
mov r11, 0xfffffffffffffffe
mov eax, 9
mov ebx, 1
sub rax, rcx
mov edi, 2
mov qword [rsp + 0xb0], rax
mov esi, 3
mov eax, 0xa
mov ebp, 4
sub rax, rcx
mov r14d, 5
mov qword [rsp + 0xc0], rax
mov r15d, 6
mov eax, 0xb
mov r12d, 7
sub rax, rcx
mov r13d, 8
mov qword [rsp + 0xc8], rax
sub r11, rcx
mov eax, 0xc
sub rbx, rcx
sub rax, rcx
sub rdi, rcx
mov qword [rsp + 0x28], rax
sub rsi, rcx
mov eax, 0xd
sub rbp, rcx
sub rax, rcx
sub r14, rcx
mov qword [rsp + 0x30], rax
sub r15, rcx
mov eax, 0xe
sub r12, rcx
sub rax, rcx
sub r13, rcx
mov qword [rsp + 0x38], rax
mov r10, 0xfffffffffffffffd
mov eax, 0xf
movabs r9, 0xd28f2c51de26cd5
sub rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 0x10
sub rax, rcx
mov qword [rsp + 0x48], rax
sub r10, rcx
nop
lea rdx, [r8 + r10]
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + r11]
xor byte [r8 - 1], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, qword [rsp + 0x50]
xor byte [r8], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, r8
xor byte [r8 + 1], al
sub rdx, rcx
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 2]
xor al, dl
lea rdx, [r8 + rbx]
mov byte [r8 + 2], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 3]
xor al, dl
lea rdx, [r8 + rdi]
mov byte [r8 + 3], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + rsi]
xor byte [r8 + 4], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + rbp]
xor byte [r8 + 5], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 6]
xor al, dl
lea rdx, [r8 + r14]
mov byte [r8 + 6], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 7]
xor al, dl
lea rdx, [r8 + r15]
mov byte [r8 + 7], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + r12]
xor byte [r8 + 8], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + r13]
xor byte [r8 + 9], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0xa]
xor al, dl
mov rdx, qword [rsp + 0xb0]
mov byte [r8 + 0xa], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0xb]
xor al, dl
mov rdx, qword [rsp + 0xc0]
mov byte [r8 + 0xb], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, qword [rsp + 0xc8]
xor byte [r8 + 0xc], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, qword [rsp + 0x28]
xor byte [r8 + 0xd], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0xe]
xor al, dl
mov rdx, qword [rsp + 0x30]
mov byte [r8 + 0xe], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0xf]
xor al, dl
mov rdx, qword [rsp + 0x38]
mov byte [r8 + 0xf], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, qword [rsp + 0x40]
xor byte [r8 + 0x10], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, qword [rsp + 0x48]
xor byte [r8 + 0x11], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0x12]
xor al, dl
mov byte [r8 + 0x12], al
add r8, 0x14
lea rax, [r8 + r10]
cmp rax, 0x28
jb 0x140043e40
jmp 0x14004454f
mov rax, rcx
lea r8, [rcx + 3]
not rax
mov r11, 0xfffffffffffffffe
mov qword [rsp + 0x50], rax
mov ebx, 1
mov eax, 9
mov edi, 2
sub rax, rcx
mov esi, 3
mov qword [rsp + 0xb0], rax
mov ebp, 4
mov eax, 0xa
mov r14d, 5
sub rax, rcx
mov r15d, 6
mov qword [rsp + 0xc0], rax
mov r12d, 7
mov eax, 0xb
mov r13d, 8
sub rax, rcx
sub r11, rcx
mov qword [rsp + 0xc8], rax
sub rbx, rcx
mov eax, 0xc
sub rdi, rcx
sub rax, rcx
sub rsi, rcx
mov qword [rsp + 0x28], rax
sub rbp, rcx
mov eax, 0xd
sub r14, rcx
sub rax, rcx
sub r15, rcx
mov qword [rsp + 0x30], rax
sub r12, rcx
mov eax, 0xe
sub r13, rcx
sub rax, rcx
mov r10, 0xfffffffffffffffd
mov qword [rsp + 0x38], rax
movabs r9, 0xd28f2c51de26cd5
mov eax, 0xf
sub rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 0x10
sub rax, rcx
mov qword [rsp + 0x48], rax
sub r10, rcx
nop dword [rax]
nop word [rax + rax]
lea rdx, [r8 + r10]
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 - 1]
xor al, dl
lea rdx, [r8 + r11]
mov byte [r8 - 1], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8]
xor al, dl
mov rdx, qword [rsp + 0x50]
mov byte [r8], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, r8
xor byte [r8 + 1], al
sub rdx, rcx
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + rbx]
xor byte [r8 + 2], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 3]
xor al, dl
lea rdx, [r8 + rdi]
mov byte [r8 + 3], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 4]
xor al, dl
lea rdx, [r8 + rsi]
mov byte [r8 + 4], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + rbp]
xor byte [r8 + 5], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + r14]
xor byte [r8 + 6], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 7]
xor al, dl
lea rdx, [r8 + r15]
mov byte [r8 + 7], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 8]
xor al, dl
lea rdx, [r8 + r12]
mov byte [r8 + 8], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
lea rdx, [r8 + r13]
xor byte [r8 + 9], al
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, qword [rsp + 0xb0]
xor byte [r8 + 0xa], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0xb]
xor al, dl
mov rdx, qword [rsp + 0xc0]
mov byte [r8 + 0xb], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0xc]
xor al, dl
mov rdx, qword [rsp + 0xc8]
mov byte [r8 + 0xc], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
xor byte [r8 + 0xd], al
mov rdx, qword [rsp + 0x28]
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, qword [rsp + 0x30]
xor byte [r8 + 0xe], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0xf]
xor al, dl
mov rdx, qword [rsp + 0x38]
mov byte [r8 + 0xf], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, byte [r8 + 0x10]
xor al, dl
mov rdx, qword [rsp + 0x40]
mov byte [r8 + 0x10], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
mov rdx, qword [rsp + 0x48]
xor byte [r8 + 0x11], al
add rdx, r8
xor rdx, qword [rcx + 0x30]
xor rdx, r9
mov rax, rdx
shl rax, 0xd
xor rdx, rax
mov rax, rdx
shr rax, 7
xor al, dl
xor byte [r8 + 0x12], al
add r8, 0x14
lea rax, [r8 + r10]
cmp rax, 0x28
jb 0x140044240
lea r8, [rcx + 0x29]
lea rdx, [rcx + 2]
mov rcx, qword [rsp + 0xb8]
call fcn.1400049a0
mov rax, qword [rsp + 0xb8]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret