Function at 0x140045570
Capabilities:
Encode data using xor

Disassembly:
test r9, r9
je 0x140045b6c
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rsi
sub rsp, 0x50
mov qword [rax + 0x10], rbx
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
lea r13, [r8 + 2]
mov qword [rax - 0x30], r14
sub r8, rdx
mov rsi, rcx
mov qword [rax - 0x38], r15
lea rcx, [r8 - 8]
lea rax, [rdx + 8]
mov qword [rsp + 8], r13
lea r10, [0x140000000]
mov qword [rsp + 0x10], rcx
mov qword [rsp], rax
nop dword [rax]
mov rdi, qword [rsi + 0x48]
mov r9, qword [rsi + 8]
movzx r8d, byte [rax + 4]
movzx ecx, byte [rdi + 0xc]
movzx edx, byte [rax - 4]
mov esi, 0x10
xor r8, rcx
movzx ecx, byte [rdi + 4]
lea r13, [r9 + 0x2c]
mov ebp, dword [r10 + r8*4 + 0x2edcf0]
xor rdx, rcx
movzx ecx, byte [rdi]
xor ebp, dword [r10 + rdx*4 + 0x2f0c20]
movzx edx, byte [rax - 8]
movzx r8d, byte [rax + 5]
xor rdx, rcx
movzx ecx, byte [rax]
xor ebp, dword [r10 + rdx*4 + 0x2efc20]
movzx edx, byte [rdi + 8]
xor rdx, rcx
movzx ecx, byte [rdi + 0xd]
xor ebp, dword [r10 + rdx*4 + 0x2f3320]
movzx edx, byte [rax + 1]
xor r8, rcx
mov r14d, dword [r10 + r8*4 + 0x2edcf0]
movzx ecx, byte [rdi + 9]
movzx r8d, byte [rax + 6]
xor ebp, dword [r9]
xor rdx, rcx
movzx ecx, byte [rdi + 5]
xor r14d, dword [r10 + rdx*4 + 0x2f3320]
movzx edx, byte [rax - 3]
xor rdx, rcx
movzx ecx, byte [rdi + 1]
xor r14d, dword [r10 + rdx*4 + 0x2f0c20]
movzx edx, byte [rax - 7]
xor rdx, rcx
movzx ecx, byte [rdi + 0xe]
xor r14d, dword [r10 + rdx*4 + 0x2efc20]
movzx edx, byte [rax + 2]
xor r8, rcx
movzx ecx, byte [rdi + 0xa]
mov r15d, dword [r10 + r8*4 + 0x2edcf0]
movzx r8d, byte [rax + 7]
xor r14d, dword [r9 + 4]
xor rdx, rcx
movzx ecx, byte [rdi + 6]
xor r15d, dword [r10 + rdx*4 + 0x2f3320]
movzx edx, byte [rax - 2]
xor rdx, rcx
movzx ecx, byte [rdi + 2]
xor r15d, dword [r10 + rdx*4 + 0x2f0c20]
movzx edx, byte [rax - 6]
xor rdx, rcx
movzx ecx, byte [rdi + 0xf]
xor r15d, dword [r10 + rdx*4 + 0x2efc20]
movzx edx, byte [rax + 3]
xor r8, rcx
movzx ecx, byte [rdi + 0xb]
mov r12d, dword [r10 + r8*4 + 0x2edcf0]
xor r15d, dword [r9 + 8]
xor rdx, rcx
movzx ecx, byte [rdi + 7]
xor r12d, dword [r10 + rdx*4 + 0x2f3320]
movzx edx, byte [rax - 1]
xor rdx, rcx
movzx ecx, byte [rdi + 3]
mov rdi, r9
xor r12d, dword [r10 + rdx*4 + 0x2f0c20]
movzx edx, byte [rax - 5]
lea rax, [0x140000000]
xor rdx, rcx
xor r12d, dword [rax + rdx*4 + 0x2efc20]
xor r12d, dword [r9 + 0xc]
nop dword [rax]
mov ecx, r12d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r15d
mov ebx, dword [rax + r8*4 + 0x2edcf0]
shr ecx, 0x18
movzx edx, cl
mov ecx, r14d
xor ebx, dword [rax + rdx*4 + 0x2f3320]
shr ecx, 0x18
movzx edx, cl
mov ecx, ebp
xor ebx, dword [rax + rdx*4 + 0x2f0c20]
shr ecx, 0x18
movzx edx, cl
mov ecx, r12d
xor ebx, dword [rax + rdx*4 + 0x2efc20]
shr ecx, 0x10
xor ebx, dword [rdi + rsi]
movzx r8d, cl
mov ecx, r15d
mov r11d, dword [rax + r8*4 + 0x2edcf0]
shr ecx, 0x10
movzx edx, cl
mov ecx, r14d
xor r11d, dword [rax + rdx*4 + 0x2f3320]
shr ecx, 0x10
movzx edx, cl
mov ecx, ebp
xor r11d, dword [rax + rdx*4 + 0x2f0c20]
shr ecx, 0x10
movzx edx, cl
mov ecx, r12d
xor r11d, dword [rax + rdx*4 + 0x2efc20]
shr ecx, 8
xor r11d, dword [rdi + rsi + 4]
movzx r8d, cl
mov ecx, r15d
mov r10d, dword [rax + r8*4 + 0x2edcf0]
shr ecx, 8
movzx edx, cl
mov ecx, r14d
xor r10d, dword [rax + rdx*4 + 0x2f3320]
shr ecx, 8
movzx edx, cl
mov ecx, ebp
xor r10d, dword [rax + rdx*4 + 0x2f0c20]
shr ecx, 8
movzx edx, cl
movzx ecx, r14b
xor r10d, dword [rax + rdx*4 + 0x2efc20]
movzx edx, bpl
mov r9d, dword [rax + rdx*4 + 0x2efc20]
xor r10d, dword [rdi + rsi + 8]
xor r9d, dword [rax + rcx*4 + 0x2f0c20]
movzx ecx, r15b
xor r9d, dword [rax + rcx*4 + 0x2f3320]
movzx ecx, r12b
xor r9d, dword [rax + rcx*4 + 0x2edcf0]
xor r9d, dword [rdi + rsi + 0xc]
mov ecx, r9d
shr ecx, 0x18
movzx r8d, cl
mov ecx, r10d
mov ebp, dword [rax + r8*4 + 0x2edcf0]
shr ecx, 0x18
movzx edx, cl
mov ecx, r11d
xor ebp, dword [rax + rdx*4 + 0x2f3320]
shr ecx, 0x18
movzx edx, cl
mov ecx, ebx
xor ebp, dword [rax + rdx*4 + 0x2f0c20]
shr ecx, 0x18
movzx edx, cl
mov ecx, r9d
xor ebp, dword [rax + rdx*4 + 0x2efc20]
xor ebp, dword [rdi + rsi + 0x10]
shr ecx, 0x10
movzx r8d, cl
mov ecx, r10d
mov r14d, dword [rax + r8*4 + 0x2edcf0]
shr ecx, 0x10
add rsi, 0x20
movzx edx, cl
mov ecx, r11d
lea r13, [r13 + 0x20]
xor r14d, dword [rax + rdx*4 + 0x2f3320]
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
xor r14d, dword [rax + rdx*4 + 0x2f0c20]
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
xor r14d, dword [rax + rdx*4 + 0x2efc20]
shr ecx, 8
xor r14d, dword [rdi + rsi - 0xc]
movzx r8d, cl
mov ecx, r10d
mov r15d, dword [rax + r8*4 + 0x2edcf0]
shr ecx, 8
movzx edx, cl
mov ecx, r11d
xor r15d, dword [rax + rdx*4 + 0x2f3320]
shr ecx, 8
movzx edx, cl
mov ecx, ebx
xor r15d, dword [rax + rdx*4 + 0x2f0c20]
shr ecx, 8
movzx edx, cl
movzx ecx, r11b
xor r15d, dword [rax + rdx*4 + 0x2efc20]
movzx edx, bl
xor r15d, dword [rdi + rsi - 8]
mov r12d, dword [rax + rdx*4 + 0x2efc20]
xor r12d, dword [rax + rcx*4 + 0x2f0c20]
movzx ecx, r10b
xor r12d, dword [rax + rcx*4 + 0x2f3320]
movzx ecx, r9b
xor r12d, dword [rax + rcx*4 + 0x2edcf0]
xor r12d, dword [r13 - 0x20]
cmp rsi, 0x70
jne 0x140045730
mov rsi, qword [rsp + 0x60]
mov r13, qword [rsp + 8]
lea r10, [0x140000000]
mov rdi, qword [rsi + 0x48]
mov ecx, ebp
shr ecx, 0x18
movzx edx, cl
movzx ecx, byte [rdx + rax + 0x2fe8a0]
mov rdx, qword [rsp + 0x10]
mov rax, qword [rsp]
xor cl, byte [rdi + 0x10]
mov byte [rax + rdx], cl
mov ecx, r14d
shr ecx, 0x18
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x11]
mov ecx, r15d
mov byte [r13 - 1], dl
shr ecx, 0x18
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x12]
mov ecx, r12d
mov byte [r13], dl
shr ecx, 0x18
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x13]
mov ecx, ebp
mov byte [r13 + 1], dl
shr ecx, 0x10
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x14]
mov ecx, r14d
mov byte [r13 + 2], dl
shr ecx, 0x10
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x15]
mov ecx, r15d
mov byte [r13 + 3], dl
shr ecx, 0x10
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x16]
mov ecx, r12d
mov byte [r13 + 4], dl
shr ecx, 0x10
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x17]
mov ecx, ebp
mov byte [r13 + 5], dl
shr ecx, 8
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x18]
mov ecx, r14d
mov byte [r13 + 6], dl
shr ecx, 8
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x19]
mov ecx, r15d
mov byte [r13 + 7], dl
shr ecx, 8
movzx edx, cl
mov rcx, qword [rsi + 0x48]
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x1a]
mov byte [r13 + 8], dl
mov ecx, r12d
add r13, 0x10
shr ecx, 8
add rax, 0x10
mov qword [rsp + 8], r13
movzx edx, cl
mov rcx, qword [rsi + 0x48]
mov qword [rsp], rax
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x1b]
mov byte [r13 - 7], dl
mov rcx, qword [rsi + 0x48]
movzx edx, bpl
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x1c]
mov byte [r13 - 6], dl
mov rcx, qword [rsi + 0x48]
movzx edx, r14b
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x1d]
mov byte [r13 - 5], dl
mov rcx, qword [rsi + 0x48]
movzx edx, r15b
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x1e]
mov byte [r13 - 4], dl
mov rcx, qword [rsi + 0x48]
movzx edx, r12b
movzx edx, byte [rdx + r10 + 0x2fe8a0]
xor dl, byte [rcx + 0x1f]
dec qword [rsp + 0x78]
mov byte [r13 - 3], dl
jne 0x1400455d0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret