Function at 0x180014050
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, qword [0x18007f050]
xor esi, esi
movzx r13d, dl
movsxd r14, ecx
test byte [r15 + 0x5bf4], 4
je 0x180014219
movdqa xmm0, xmmword [0x180072460]
mov ecx, esi
movdqa xmm1, xmmword [0x180072890]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm0, xmmword [0x180072480]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm1, xmmword [0x180072470]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], 0x64292c29
mov dword [rbp - 0xc], 0x533d7c
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x4f], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x4e], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x4d], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x4c], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x4b], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x4a], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x49], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x48], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x47], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x46], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x45], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x44], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x43], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x42], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x41], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x40], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x3f], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x3e], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x3d], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x3c], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x3b], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x3a], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x39], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x38], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x37], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x36], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x35], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x34], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x33], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x32], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x31], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x30], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x2f], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x2e], al
movzx eax, byte [rbp - 0x50]
xor byte [rbp + rcx - 0x2d], al
add rcx, 0x23
cmp rcx, 0x46
jb 0x1800140e0
mov r8d, r13d
mov byte [rbp - 9], sil
mov edx, r14d
lea rcx, [rbp - 0x4f]
call fcn.18001a790
mov rax, qword [r15 + 0x4838]
imul rcx, r14, 0x38
mov rbx, qword [rcx + rax + 8]
mov rdi, qword [rcx + rax + 0x10]
mov ecx, dword [r15 + 0x4834]
cmp r14d, ecx
jle 0x180014263
test ecx, ecx
je 0x180014249
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18001424e
mov eax, 8
cmp eax, r14d
lea rcx, [r15 + 0x4830]
mov edx, r14d
cmovg edx, eax
call fcn.18001bc50
mov dword [r15 + 0x4830], r14d
test r13b, r13b
je 0x180014369
lea rax, [rbx + 0xc]
test rbx, rbx
je 0x18001428b
test dword [rax], 0x10000000
je 0x18001428b
mov rdi, qword [rbx + 0x348]
test rdi, rdi
je 0x18001433c
cmp byte [rdi + 0x97], sil
jne 0x18001433c
test rbx, rbx
je 0x18001433c
test dword [rax], 0x1000000
mov ecx, 0xffffffff
mov r8, qword [0x18007f050]
je 0x1800142d0
mov ecx, esi
mov rbx, qword [rbx + 0x348]
test dword [rbx + 0xc], 0x1000000
jne 0x1800142c0
movsx eax, word [rbx + 0xaa]
add eax, ecx
js 0x180014337
movsxd rdx, eax
mov rax, qword [r8 + 0x3e58]
lea r8, [rax + rdx*8]
nop dword [rax]
mov rcx, qword [r8]
test rcx, rcx
je 0x180014310
cmp byte [rcx + 0x97], sil
je 0x180014310
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x18001431f
sub r8, 8
sub rdx, 1
jns 0x1800142f0
mov rcx, rsi
jmp 0x180014364
mov rsi, qword [rcx + 0x378]
test rsi, rsi
je 0x180014334
cmp byte [rsi + 0x97], 0
jne 0x180014337
mov rsi, rcx
mov rcx, rsi
jmp 0x180014364
cmp dword [r15 + 0x48a4], esi
jne 0x180014361
test rdi, rdi
je 0x180014361
mov rax, qword [rdi + 0x378]
test rax, rax
je 0x180014361
cmp byte [rax + 0x97], sil
cmovne rdi, rax
mov rcx, rdi
call fcn.180011000
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret