Function at 0x1800018e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
movups xmm0, xmmword [0x180003140]
lea r10, [rbp - 0x60]
movzx eax, word [0x180003158]
movsd xmm1, qword [0x180003150]
xor r15d, r15d
movups xmmword [rbp - 0x60], xmm0
mov r12d, r9d
mov rsi, r8
mov r14, rcx
movsd qword [rbp - 0x50], xmm1
mov word [rbp - 0x48], ax
mov edi, r15d
mov r13d, 0x5397829d
mov eax, r13d
mul edi
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, di
inc edi
sub ax, cx
add ax, 0x34
xor word [r10], ax
lea r10, [r10 + 2]
cmp edi, 0xd
jl 0x18000193d
lea rcx, [rbp - 0x60]
call fcn.180001154
mov rbx, rax
lea rdi, [rbp - 0x60]
movzx eax, r15w
mov ecx, 0xd
rep stosw word [rdi], ax
mov rcx, rbx
mov edx, 0x470fca41
call section..text
mov edx, 0x44995290
mov qword [rbp + 0xa0], rax
mov rcx, rbx
call section..text
cmp word [0x180003176], r15w
movups xmm0, xmmword [str.CXVN]
mov qword [rbp - 0x40], rax
movsd xmm1, qword [str.XQR_]
movups xmmword [rsp + 0x68], xmm0
movsd qword [rsp + 0x78], xmm1
je 0x1800019f8
mov edi, r15d
lea r8, [rsp + 0x68]
mov eax, r13d
mul edi
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, di
inc edi
sub ax, cx
add ax, 0x34
xor word [r8], ax
lea r8, [r8 + 2]
cmp edi, 0xc
jl 0x1800019d1
lea rax, [rsp + 0x68]
lea rdx, [rbp - 0x40]
mov qword [rbp - 0x38], rax
lea rcx, [0x180002473]
call fcn.1800012c8
cmp word [rsp + 0x7e], r15w
je 0x180001a48
mov edi, r15d
lea r8, [rsp + 0x68]
mov eax, r13d
mul edi
shr edx, 4
movzx eax, dx
imul ecx, eax, 0x31
movzx eax, di
inc edi
sub ax, cx
add ax, 0x34
xor word [r8], ax
lea r8, [r8 + 2]
cmp edi, 0xc
jl 0x180001a21
lea rcx, [rsp + 0x68]
call fcn.180001154
mov rbx, rax
mov qword [rbp - 0x68], rax
movzx eax, r15w
lea rdi, [rsp + 0x68]
mov ecx, 0xc
mov edx, 0x74b30200
rep stosw word [rdi], ax
mov rcx, rbx
call section..text
mov edx, 0xd1ef6a58
mov rcx, rbx
mov r15, rax
call section..text
mov edx, 0x7e98c2e0
mov qword [rsp + 0x58], rax
mov rcx, rbx
call section..text
mov edx, 0x1154d3b3
mov qword [rsp + 0x50], rax
mov rcx, rbx
call section..text
mov edx, 0x1eed1eb8
mov qword [rsp + 0x48], rax
mov rcx, rbx
call section..text
mov edx, 0x369efffe
mov qword [rbp - 0x80], rax
mov rcx, rbx
call section..text
mov edx, 0x88eb97a9
mov qword [rbp - 0x78], rax
mov rcx, rbx
call section..text
mov edx, 0x3f4c9b8f
mov qword [rbp - 0x70], rax
mov rcx, rbx
call section..text
and qword [rsi], 0
mov r13, rax
call qword [rbp + 0xa0]
xor edx, edx
mov qword [rsp + 0x60], rax
mov rcx, rax
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
movaps xmm0, xmmword [str.yZLTU_]
lea r9, [rbp - 0x30]
movaps xmm1, xmmword [0x180003190]
mov rbx, rax
movaps xmmword [rbp - 0x30], xmm0
xor edi, edi
movaps xmm0, xmmword [0x1800031a0]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm1, xmmword [0x1800031b0]
mov qword [rsp + 0x40], rax
mov eax, dword [0x1800031f8]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm0, xmmword [0x1800031c0]
movaps xmmword [rbp], xmm1
movaps xmm1, xmmword [0x1800031d0]
mov dword [rbp + 0x48], eax
movzx eax, word [0x1800031fc]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [0x1800031e0]
movaps xmmword [rbp + 0x20], xmm1
movsd xmm1, qword [0x1800031f0]
mov word [rbp + 0x4c], ax
mov al, byte [0x1800031fe]
movaps xmmword [rbp + 0x30], xmm0
movsd qword [rbp + 0x40], xmm1
mov byte [rbp + 0x4e], al
mov eax, 0x5397829d
mul edi
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
mov al, dil
inc edi
sub al, cl
add al, 0x34
xor byte [r9], al
inc r9
cmp edi, 0x7f
jl 0x180001b96
xor edi, edi
lea rcx, [rbp - 0x30]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor edx, edx
call r15
xor edx, edx
lea r8d, [rdi + 0x7f]
lea rcx, [rbp - 0x30]
mov r15, rax
call fcn.1800014c0
test r15, r15
je 0x180001de0
mov qword [rsp + 0x38], 1
mov ecx, r12d
neg ecx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], 3
mov rdx, r14
sbb r8w, r8w
mov qword [rsp + 0x20], rdi
and r8w, 0x16b
xor r9d, r9d
add r8w, 0x50
mov rcx, r15
call qword [rsp + 0x58]
mov r14, rax
test rax, rax
je 0x180001dda
mov ecx, dword [str.spb7]
neg r12d
mov dword [rbp + 0xa0], ecx
sbb edi, edi
xor r12d, r12d
and edi, 0x800000
add edi, 0x80480000
cmp byte [0x180003203], r12b
je 0x180001c8b
mov r8d, r12d
lea r9, [rbp + 0xa0]
mov eax, 0x5397829d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
mov al, r8b
inc r8d
sub al, cl
add al, 0x34
xor byte [r9], al
inc r9
cmp r8d, 4
jl 0x180001c64
mov r8, qword [rbp + 0x98]
lea rdx, [rbp + 0xa0]
mov qword [rsp + 0x38], 1
xor r9d, r9d
mov dword [rsp + 0x30], edi
mov rcx, r14
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [rsp + 0x50]
mov r9d, 4
mov dword [rbp + 0xa0], r12d
lea r8, [rsp + 0x58]
mov dword [rsp + 0x58], 0x1100
mov rcx, rax
mov rdi, rax
lea edx, [r9 + 0x1b]
call qword [rsp + 0x48]
test eax, eax
je 0x180001dd4
test rdi, rdi
je 0x180001dd4
xor r9d, r9d
mov dword [rsp + 0x20], r12d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [rbp - 0x80]
test eax, eax
je 0x180001dce
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov r8d, 0x1fa0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180001dc9
mov r12, qword [rsp + 0x40]
xor edx, edx
mov r8d, 0x1fa0
mov rcx, rbx
call fcn.1800014c0
xor r9d, r9d
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rdi
call qword [rbp - 0x78]
mov r8d, dword [rsp + 0x50]
lea r9, [rsp + 0x48]
mov eax, 0x1fa0
mov rdx, rbx
cmp r8d, eax
mov rcx, rdi
cmova r8d, eax
mov dword [rsp + 0x50], r8d
call qword [rbp - 0x70]
test eax, eax
je 0x180001dc9
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x180001dc9
mov rcx, qword [rsp + 0x60]
mov r9d, eax
add r9, qword [rsi]
mov r8, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180001dc5
mov rcx, qword [rsi]
mov rdx, rbx
mov r8d, dword [rsp + 0x48]
add rcx, rax
mov r12, rax
mov qword [rsp + 0x40], rax
call fcn.18000146c
mov eax, dword [rsp + 0x48]
add qword [rsi], rax
jmp 0x180001d32
and qword [rsi], 0
mov rbx, qword [rsp + 0x40]
mov rcx, rdi
call r13
mov rcx, r14
call r13
mov rcx, r15
call r13
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret