Function at 0x180344220
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push r14
mov eax, 0x68
call fcn.1802cf310
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov rbx, rcx
mov qword [rsp + 0x38], rax
mov r14, r9
mov rax, qword [rcx + 0x180]
mov rsi, r8
mov rcx, qword [rcx + 0x38]
mov rbp, rdx
mov qword [rsp + 0x30], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x180344590
cmp rcx, r9
jb 0x180344590
cmp dword [rbx + 0x174], 0
lea rax, [rbx + 0x60]
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x58], r13
lea r13, [rbx + 0x40]
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x50], r15
mov qword [rbx + 0x38], rcx
mov qword [rsp + 0x28], rax
je 0x1803442c2
mov rdx, rax
mov rcx, r13
call fcn.180345320
mov dword [rbx + 0x174], 0
jmp 0x1803442cc
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
movzx eax, byte [rbx + 0xd]
mov r15d, dword [rbx + 0x170]
movzx edi, byte [rbx + 0xc]
shl edi, 8
or edi, eax
mov dword [rsp + 0x90], r15d
movzx eax, byte [rbx + 0xe]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0xf]
shl edi, 8
or edi, eax
test r15d, r15d
je 0x18034434d
mov r8, r13
test r14, r14
je 0x180344338
mov ecx, r15d
lea r8, [rbx + 0x40]
dec r14
movzx eax, byte [rcx + rbx + 0x10]
xor al, byte [rbp]
inc rbp
mov byte [rsi], al
inc rsi
xor byte [rcx + r8], al
inc r15d
and r15d, 0xf
mov dword [rsp + 0x90], r15d
jne 0x180344302
jmp 0x180344341
test r15d, r15d
jne 0x180344585
lea rdx, [rbx + 0x60]
mov rcx, r8
call fcn.180345320
mov qword [rsp + 0x60], r12
cmp r14, 0xc00
jb 0x18034443b
mov r15, qword [rsp + 0x38]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
mov rcx, rdx
shr rcx, 0xb
imul rax, rcx, 0xfffffffffffff400
mov qword [rsp + 0x40], rcx
add r14, rax
mov qword [rsp + 0xa8], r14
mov r14, qword [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
mov r12d, 0xc0
nop word [rax + rax]
mov r8, r14
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r15
inc edi
mov byte [rbx + 0xf], dil
mov eax, edi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rbx + 0x10]
xor rax, qword [rbp]
mov qword [rsi], rax
mov rax, qword [rbp + 8]
add rbp, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r12, 1
jne 0x1803443b0
mov r13, qword [rsp + 0x20]
lea r8, [rsi - 0xc00]
mov rdx, qword [rsp + 0x28]
mov rcx, r13
mov r9d, 0xc00
call fcn.1803454a0
sub qword [rsp + 0x40], 1
jne 0x1803443a0
mov r14, qword [rsp + 0xa8]
mov r15d, dword [rsp + 0x90]
mov rax, r14
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x40], rax
je 0x180344500
cmp r14, 0x10
jb 0x1803444ea
mov r15, qword [rsp + 0x38]
mov r12, r14
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add r14, rax
mov qword [rsp + 0xa8], r14
mov r14, qword [rsp + 0x30]
nop word [rax + rax]
mov r8, r14
lea rdx, [rbx + 0x10]
mov rcx, rbx
call r15
inc edi
mov byte [rbx + 0xf], dil
mov eax, edi
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
mov rax, qword [rbx + 0x10]
xor rax, qword [rbp]
mov qword [rsi], rax
mov rax, qword [rbp + 8]
add rbp, 0x10
xor rax, qword [rbx + 0x18]
mov qword [rsi + 8], rax
add rsi, 0x10
sub r12, 1
jne 0x180344480
mov r14, qword [rsp + 0xa8]
mov r15d, dword [rsp + 0x90]
mov r13, qword [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x28]
mov r8, rsi
sub r8, rax
mov r9, rax
mov rcx, r13
call fcn.1803454a0
test r14, r14
je 0x18034455b
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + 0x38]
inc edi
mov eax, edi
mov byte [rbx + 0xf], dil
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
nop dword [rax]
nop word [rax + rax]
mov ecx, r15d
inc r15d
movzx eax, byte [rcx + rbp]
xor al, byte [rbx + rcx + 0x10]
mov byte [rcx + rsi], al
xor byte [rcx + r13], al
sub r14, 1
jne 0x180344540
mov r12, qword [rsp + 0x60]
xor eax, eax
mov dword [rbx + 0x170], r15d
mov r13, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x98]
mov r15, qword [rsp + 0x50]
add rsp, 0x68
pop r14
pop rsi
pop rbp
pop rbx
ret
mov dword [rbx + 0x170], r15d
xor eax, eax
jmp 0x180344569
mov eax, 0xffffffff
add rsp, 0x68
pop r14
pop rsi
pop rbp
pop rbx
ret