Function at 0x180223a00
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 [0x1802f4230]
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 0x180223b15
lea rbx, [rdi + 0x2a]
nop dword [rax + rax]
lea rdx, [rbx - 0x22]
lea rcx, [rbp - 0x28]
call fcn.180056720
nop
mov rax, r13
cmp qword [rbp - 0x18], rax
jbe 0x180223a90
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 0x180223a70
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [0x180297ab8]
lea r8, [0x1802976f4]
mov edx, 3
lea rcx, [0x1804c32f8]
call fcn.180223f80
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.180229c60
nop
lea rcx, [rbp - 0x28]
call fcn.180053b70
add rdi, 0x58
add rbx, 0x58
cmp rdi, rsi
jne 0x180223a50
call fcn.180229770
call fcn.180229c70
mov rsi, qword [r15 + 0x50]
mov r12, qword [r15 + 0x58]
cmp rsi, r12
je 0x180223c7b
lea r14, [rsi + 0x2a]
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r14 - 0x22]
lea rcx, [rbp - 0x28]
call fcn.180056720
nop
mov rdx, r13
cmp qword [rbp - 0x18], rdx
jbe 0x180223b80
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 0x180223b60
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, [0x180297ab8]
lea r8, [0x1802976f4]
mov edx, 3
lea rcx, [0x1804c32f8]
call fcn.180223f80
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 [fcn.18024b028]
mov qword [rdi], rbx
lea r9, [rbp - 0x30]
mov r8d, dword [rbp - 0x30]
mov edx, 8
mov rcx, rdi
call qword [fcn.18024b028]
nop
lea rcx, [rbp - 0x28]
call fcn.180053b70
add rsi, 0x38
add r14, 0x38
cmp rsi, r12
jne 0x180223b40
mov rsi, qword [r15 + 0x70]
mov rbx, qword [r15 + 0x68]
cmp rbx, rsi
je 0x180223d29
mov r14d, 0xffffffff
mov rcx, qword [0x1803527c0]
nop dword [rax]
cmp rcx, 0x5000
jb 0x180223d1c
mov eax, ecx
cmp rax, r14
je 0x180223d1c
mov rdi, qword [rcx]
mov dword [rbp - 0x30], r13d
mov r8, qword [rbx]
lea rdx, [rbp - 0x30]
call qword [0x1803528b0]
mov edx, dword [rbp - 0x30]
cmp edx, 0xffffffff
je 0x180223d15
mov rax, qword [rdi + 0x68]
mov rcx, qword [0x1803527c0]
call rax
test rax, rax
je 0x180223d15
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, [fcn.180297aa0]
lea r8, [0x1802976f4]
mov edx, 3
lea rcx, [0x1804c32f8]
call fcn.180223f80
mov rcx, qword [0x1803527c0]
add rbx, 0x18
cmp rbx, rsi
jne 0x180223ca0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.18022bab0
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