Function at 0x180123d40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1802609a8]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov r12, r8
mov r13, rdx
mov qword [rsp + 0x40], rcx
mov r8, qword [rsp + 0x150]
mov qword [rsp + 0x20], r8
mov rbx, qword [rsp + 0x158]
mov qword [rsp + 0x30], rbx
mov rsi, qword [rsp + 0x160]
mov qword [rsp + 0x28], rsi
lea rcx, [r12 + 8]
mov rdx, r9
call fcn.180033130
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor edi, edi
mov qword [rsp + 0x60], rdi
xor eax, eax
lea r8, [rsi + rbx]
movzx r9d, al
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180033240
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rdi
mov r15d, edi
test r13, r13
je 0x180123f97
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x90]
mov rcx, r12
call fcn.180020b30
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rax, rbx
je 0x180123e66
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180123e3f
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
mov rsi, qword [rbx]
mov qword [rsp + 0x50], rsi
mov r14, qword [rbx + 8]
mov qword [rsp + 0x58], r14
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rax
mov qword [rbx], rdi
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
jmp 0x180123e70
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x180123e94
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
nop
sub r14, rsi
mov rax, qword [r12]
mov r8, r14
mov rdx, rsi
mov rcx, r12
call qword [rax + 0x10]
mov rax, qword [r12]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov rcx, r12
call qword [rax + 0x10]
mov rax, qword [r12]
mov rcx, r12
call qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180033000
mov rax, qword [r12]
mov r14, qword [rsp + 0x70]
mov rdx, r14
mov rcx, r12
call qword [rax + 0x18]
mov rdx, r13
sub rdx, r15
mov qword [rsp + 0x38], rdx
mov rcx, qword [rsp + 0x78]
sub rcx, r14
mov qword [rsp + 0x20], rcx
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x20]
cmp rdx, rcx
cmovae rax, r8
mov rbx, qword [rax]
mov r9, rbx
mov r8, r14
mov rax, qword [rsp + 0x40]
add rax, r15
cmp rbx, 0x10
jb 0x180123f64
mov r11, r14
sub r11, rax
mov r10, rbx
shr r10, 4
imul r9, r10, 0xfffffffffffffff0
add r9, rbx
nop word [rax + rax]
mov rdx, qword [rax]
xor rdx, qword [r8]
mov rcx, qword [rax + 8]
xor rcx, qword [r11 + rax + 8]
mov qword [rax], rdx
mov qword [rax + 8], rcx
add rax, 0x10
add r8, 0x10
sub r10, 1
jne 0x180123f40
test r9, r9
je 0x180123f81
sub r8, rax
nop dword [rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub r9, 1
jne 0x180123f70
add r15, rbx
cmp r15, r13
jne 0x180123e00
mov rdi, qword [rsp + 0x80]
jmp 0x180123fa1
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x70]
test r14, r14
je 0x180123fbb
sub rdi, r14
mov r8d, 1
mov rdx, rdi
mov rcx, r14
call fcn.1800302d0
nop
test rsi, rsi
je 0x180123fd7
mov rdx, qword [rsp + 0x60]
sub rdx, rsi
mov r8d, 1
mov rcx, rsi
call fcn.1800302d0
nop
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.18015e5e0
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret