Function at 0x140001550
Capabilities:
Encode data using xor

Disassembly:
push rdi
sub rsp, 0x30
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [rdx]
call fcn.140001070
mov edx, dword [0x140005158]
lea rcx, str.key___d_n
call fcn.140001010
xor r8d, r8d
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov rdi, rax
test rax, rax
jne 0x1400015c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.HeapCreate_error_with__d_n
call fcn.140001010
lea eax, [rdi - 1]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140001880
add rsp, 0x30
pop rdi
ret
mov edx, 8
mov qword [rsp + 0x40], rbx
mov r8d, 0x10000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x1400015fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.HeapAlloc_error_with__d_n
call fcn.140001010
lea eax, [rbx - 1]
jmp 0x140001857
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, dword [0x140005158]
mov r9d, 2
test r8d, r8d
jne 0x140001691
mov rdx, rbx
lea rax, [0x140005160]
mov ecx, r9d
nop dword [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x140001630
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
mov ecx, dword [rax + 0x10]
mov dword [rdx + 0x10], ecx
jmp 0x14000170a
mov rcx, rbx
lea rax, [0x140005040]
mov rdx, r9
nop
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400016a0
movups xmm0, xmmword [rax]
sar r8d, 4
mov dword [0x140005154], r8d
movups xmmword [rcx], xmm0
mov eax, dword [rax + 0x10]
mov dword [rcx + 0x10], eax
movdqa xmm2, xmmword [0x140003440]
lea rcx, [rbx + 0x20]
mov rax, rcx
mov edx, 4
nop
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
movdqa xmm1, xmm2
pxor xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm0, xmmword [rax - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
sub rdx, 1
jne 0x140001720
lea rax, [rbx + 0x100]
mov edx, 5
nop word [rax + rax]
xor dword [rax], 0x8567deef
lea rax, [rax + 4]
sub rdx, 1
jne 0x140001780
movdqa xmm2, xmmword [str.wwwwwwwwwwwwwwww]
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x20]
lea rcx, [rcx + 0x40]
movdqa xmm1, xmm2
pxor xmm0, xmm2
movdqu xmmword [rcx - 0x60], xmm0
movdqu xmm0, xmmword [rcx - 0x50]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rcx - 0x40]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
sub r9, 1
jne 0x1400017a0
lea rax, [rbx + 0x80]
mov ecx, 0xa
nop word [rax + rax]
xor byte [rax], 0x77
lea rax, [rax + 1]
sub rcx, 1
jne 0x140001800
lea r8d, [rcx + 0x10]
mov edx, 0x10000
mov rcx, rbx
lea r9, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x140005154]
test eax, eax
je 0x140001844
nop
dec eax
mov dword [0x140005154], eax
call rbx
mov eax, dword [0x140005154]
test eax, eax
jne 0x140001830
dec eax
mov rcx, rdi
mov dword [0x140005154], eax
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140001880
add rsp, 0x30
pop rdi
ret