Function at 0x180150630
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180222270]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rcx
mov rdi, qword [rcx + 0x38]
mov rsi, qword [rcx + 0x40]
xor r13d, r13d
cmp rdi, rsi
je 0x180150745
lea rbx, [rdi + 0x2a]
nop dword [rax + rax]
lea rdx, [rbx - 0x22]
lea rcx, [rbp - 0x28]
call fcn.180036da0
nop
mov rax, r13
cmp qword [rbp - 0x18], rax
jbe 0x1801506c0
nop word [rax + rax]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
movzx ecx, byte [rdx + rax]
xor cl, byte [rdi]
mov byte [rdx + rax], cl
inc rax
cmp rax, qword [rbp - 0x18]
jb 0x1801506a0
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [0x1801ebf70]
lea r8, [0x1801eb7c4]
mov edx, 3
lea rcx, [0x18032a3a8]
call fcn.180150bb0
movzx eax, byte [rdi]
xor byte [rbx - 2], al
movzx eax, byte [rdi]
xor byte [rbx - 1], al
movzx eax, byte [rdi]
xor byte [rbx], al
movzx eax, byte [rdi]
xor byte [rbx + 1], al
movzx eax, byte [rdi]
xor byte [rbx + 2], al
movzx eax, byte [rdi]
xor byte [rbx + 3], al
movzx eax, byte [rdi]
xor byte [rbx + 4], al
movzx eax, byte [rdi]
xor byte [rbx + 5], al
mov rcx, qword [rbx - 2]
call fcn.180155bb0
nop
lea rcx, [rbp - 0x28]
call fcn.1800339d0
add rdi, 0x58
add rbx, 0x58
cmp rdi, rsi
jne 0x180150680
call fcn.1801556c0
call fcn.180155bc0
mov rsi, qword [r15 + 0x50]
mov r12, qword [r15 + 0x58]
cmp rsi, r12
je 0x1801508ab
lea r14, [rsi + 0x2a]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r14 - 0x22]
lea rcx, [rbp - 0x28]
call fcn.180036da0
nop
mov rdx, r13
cmp qword [rbp - 0x18], rdx
jbe 0x1801507b0
nop word [rax + rax]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
movzx eax, byte [rcx + rdx]
xor al, byte [rsi]
mov byte [rcx + rdx], al
inc rdx
cmp rdx, qword [rbp - 0x18]
jb 0x180150790
movzx eax, byte [r14 - 2]
xor al, byte [rsi]
mov byte [r14 - 2], al
movzx eax, byte [rsi]
xor byte [r14 - 1], al
movzx eax, byte [rsi]
xor byte [r14], al
movzx eax, byte [rsi]
xor byte [r14 + 1], al
movzx eax, byte [rsi]
xor byte [r14 + 2], al
movzx eax, byte [rsi]
xor byte [r14 + 3], al
movzx eax, byte [rsi]
xor byte [r14 + 4], al
movzx eax, byte [rsi]
xor byte [r14 + 5], al
movzx eax, byte [r14 + 6]
xor al, byte [rsi]
mov byte [r14 + 6], al
movzx eax, byte [rsi]
xor byte [r14 + 7], al
movzx eax, byte [rsi]
xor byte [r14 + 8], al
movzx eax, byte [rsi]
xor byte [r14 + 9], al
movzx eax, byte [rsi]
xor byte [r14 + 0xa], al
movzx eax, byte [rsi]
xor byte [r14 + 0xb], al
movzx eax, byte [rsi]
xor byte [r14 + 0xc], al
movzx eax, byte [rsi]
xor byte [r14 + 0xd], al
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [0x1801ebf70]
lea r8, [0x1801eb7c4]
mov edx, 3
lea rcx, [0x18032a3a8]
call fcn.180150bb0
mov rbx, qword [r14 + 6]
mov rdi, qword [r14 - 2]
lea r9, [rbp - 0x30]
mov edx, 8
lea r8d, [rdx + 0x38]
mov rcx, rdi
call qword [0x1801ae2f0]
mov qword [rdi], rbx
lea r9, [rbp - 0x30]
mov r8d, dword [rbp - 0x30]
mov edx, 8
mov rcx, rdi
call qword [0x1801ae2f0]
nop
lea rcx, [rbp - 0x28]
call fcn.1800339d0
add rsi, 0x38
add r14, 0x38
cmp rsi, r12
jne 0x180150770
mov rsi, qword [r15 + 0x70]
mov rbx, qword [r15 + 0x68]
cmp rbx, rsi
je 0x180150959
mov r14d, 0xffffffff
mov rcx, qword [0x18024d8f0]
nop dword [rax]
cmp rcx, 0x5000
jb 0x18015094c
mov eax, ecx
cmp rax, r14
je 0x18015094c
mov rdi, qword [rcx]
mov dword [rbp - 0x30], r13d
mov r8, qword [rbx]
lea rdx, [rbp - 0x30]
call qword [0x18024d958]
mov edx, dword [rbp - 0x30]
cmp edx, 0xffffffff
je 0x180150945
mov rax, qword [rdi + 0x68]
mov rcx, qword [0x18024d8f0]
call rax
test rax, rax
je 0x180150945
movsxd rdx, dword [rbx + 0x10]
mov rcx, qword [rax + 0x40]
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [0x1801ebf58]
lea r8, [0x1801eb7c4]
mov edx, 3
lea rcx, [0x18032a3a8]
call fcn.180150bb0
mov rcx, qword [0x18024d8f0]
add rbx, 0x18
cmp rbx, rsi
jne 0x1801508d0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18019ca50
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret