Function at 0x14001a3f0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rdx, qword [rcx + 0x18]
mov rax, rdx
inc rax
je 0x14001aefa
mov r12, rcx
mov rdi, qword [rcx + 8]
lea r8, [rdi + 1]
mov rcx, r8
shr rcx, 3
mov rsi, r8
and rsi, 0xfffffffffffffff8
sub rsi, rcx
cmp rdi, 8
cmovb rsi, rdi
movabs r15, 0x7ffffffffffffff0
mov rcx, rsi
shr rcx, 1
cmp rax, rcx
mov qword [rsp + 0x30], rdx
jbe 0x14001a47f
inc rsi
cmp rax, rsi
cmova rsi, rax
cmp rsi, 8
jae 0x14001a4ad
xor eax, eax
cmp rsi, 4
setae al
lea r14, [rax*4 + 4]
jmp 0x14001a507
mov r14, qword [r12]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x14001a800
cmp rax, 1
jne 0x14001a795
xor ecx, ecx
jmp 0x14001a7e8
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rsi, rax
jae 0x14001aefa
shl rsi, 3
mov r14d, 1
cmp rsi, 0xe
jb 0x14001a507
movabs rcx, 0x2492492492492493
mov rax, rsi
mul rcx
sub rsi, rdx
shr rsi, 1
add rsi, rdx
shr rsi, 2
dec rsi
bsr rcx, rsi
not ecx
mov r14, 0xffffffffffffffff
shr r14, cl
inc r14
mov ecx, 0x38
mov rax, r14
mul rcx
jo 0x14001aefa
mov rsi, rax
add rsi, 0xf
and rsi, 0xfffffffffffffff0
lea rbp, [r14 + 0x10]
mov r13, rsi
add r13, rbp
jb 0x14001aefa
cmp r13, r15
ja 0x14001aefa
test r13, r13
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rbx
je 0x14001a58e
movzx eax, byte [0x1401be180]
mov rcx, qword [0x1401be0e8]
test rcx, rcx
jne 0x14001a572
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x14001a584
mov rcx, rax
mov qword [0x1401be0e8], rax
xor edx, edx
mov r8, r13
call sub.kernel32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x14001a593
mov rcx, r13
call fcn.1400369e0
ud2
mov ebx, 0x10
lea r13, [r14 - 1]
mov rax, r14
shr rax, 3
mov rcx, r14
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r14, 9
cmovb rcx, r13
mov qword [rsp + 0x48], rcx
add rbx, rsi
mov rcx, rbx
mov dl, 0xff
mov r8, rbp
call sub.msvcrt.dll_memset
mov r8, qword [r12]
mov rbp, qword [rsp + 0x30]
test rbp, rbp
je 0x14001a737
mov qword [rsp + 0x28], r12
movdqa xmm0, xmmword [r8]
pmovmskb r12d, xmm0
not r12d
mov rax, qword [rsp + 0x38]
movups xmm6, xmmword [rax]
xor esi, esi
mov r14, r8
mov qword [rsp + 0x20], r8
jmp 0x14001a667
lea ecx, [r12 - 1]
and ecx, r12d
dec rbp
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, r13
mov byte [rbx + rdx], al
mov byte [r9 + rbx + 0x10], al
not r15
imul rax, r15, 0x38
not rdx
imul rdx, rdx, 0x38
mov r9, qword [r8 + rax + 0x30]
mov qword [rbx + rdx + 0x30], r9
movdqu xmm0, xmmword [r8 + rax]
movdqu xmm1, xmmword [r8 + rax + 0x10]
movdqu xmm2, xmmword [r8 + rax + 0x20]
movdqu xmmword [rbx + rdx + 0x20], xmm2
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r12d, ecx
test rbp, rbp
je 0x14001a721
test r12w, r12w
jne 0x14001a68f
nop dword [rax]
movdqa xmm0, xmmword [r14 + 0x10]
add r14, 0x10
pmovmskb r12d, xmm0
add rsi, 0x10
cmp r12d, 0xffff
je 0x14001a670
not r12d
tzcnt r15d, r12d
add r15, rsi
mov rax, r15
neg rax
imul rax, rax, 0x38
mov rdx, qword [r8 + rax - 0x38]
mov r8, qword [r8 + rax - 0x28]
movaps xmmword [rsp + 0x60], xmm6
lea rcx, [rsp + 0x60]
call fcn.14001e550
mov rcx, rax
and rcx, r13
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x14001a6f7
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, r13
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x14001a6e0
mov r8, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, r13
cmp byte [rbx + rdx], 0
js 0x14001a600
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x14001a600
movabs r15, 0x7ffffffffffffff0
mov r12, qword [rsp + 0x28]
mov rax, qword [rsp + 0x30]
jmp 0x14001a739
xor eax, eax
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov qword [r12], rbx
mov qword [r12 + 8], r13
mov qword [r12 + 0x10], rcx
mov qword [r12 + 0x18], rax
test rdi, rdi
je 0x14001aeda
mov ecx, 0x38
mov rax, qword [rsp + 0x40]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rdi, rax
cmp rdi, 0xffffffffffffffef
je 0x14001aeda
sub r8, rax
mov rcx, qword [0x1401be0e8]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x14001aeda
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x1401468a0]
nop dword [rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + rcx]
por xmm1, xmm0
movdqa xmmword [r14 + rcx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + rcx + 0x10]
por xmm1, xmm0
movdqa xmmword [r14 + rcx + 0x10], xmm1
add rcx, 0x20
add rdx, 0xfffffffffffffffe
jne 0x14001a7b0
test al, 1
je 0x14001a800
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + rcx]
por xmm0, xmmword [0x1401468a0]
movdqa xmmword [r14 + rcx], xmm0
cmp r8, 0x10
jae 0x14001a81f
lea rcx, [r14 + 0x10]
mov rdx, r14
call sub.msvcrt.dll_memmove
cmp rdi, 0xffffffffffffffff
jne 0x14001a82a
xor eax, eax
jmp 0x14001aed0
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + r8], xmm0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x28], r12
movdqu xmm1, xmmword [rbx]
pshufd xmm0, xmm1, 0x44
pxor xmm0, xmmword [0x1401468b0]
pshufd xmm1, xmm1, 0xee
pxor xmm1, xmmword [0x1401468c0]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x48], xmm2
movq qword [rsp + 0x40], xmm0
movq qword [rsp + 0x38], xmm1
pshufd xmm2, xmm0, 0xee
movq qword [rsp + 0x58], xmm2
mov r12, r14
xor r13d, r13d
jmp 0x14001a8a8
shr r11, 0x39
lea rax, [r13 - 0x10]
and rax, rdi
mov byte [r14 + r13], r11b
mov byte [rax + r14 + 0x10], r11b
lea rax, [r13 + 1]
add r12, 0xffffffffffffffc8
cmp r13, rdi
mov r13, rax
je 0x14001aebc
cmp byte [r14 + r13], 0x80
jne 0x14001a894
imul rcx, r13, 0xffffffffffffffc8
mov rax, r13
not rax
imul rbp, rax, 0x38
add rbp, r14
mov rax, r13
neg rax
add rcx, r14
mov qword [rsp + 0x20], rcx
imul rsi, rax, 0x38
add rsi, r14
jmp 0x14001a94e
mov rcx, qword [rbp]
mov rdx, qword [rax]
mov qword [rbp], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 8]
mov rdx, qword [rax + 8]
mov qword [rbp + 8], rdx
mov qword [rax + 8], rcx
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rax + 0x10]
mov qword [rbp + 0x10], rdx
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp + 0x18]
mov rdx, qword [rax + 0x18]
mov qword [rbp + 0x18], rdx
mov qword [rax + 0x18], rcx
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rax + 0x20]
mov qword [rbp + 0x20], rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rax + 0x28]
mov qword [rbp + 0x28], rdx
mov qword [rax + 0x28], rcx
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rax + 0x30]
mov qword [rbp + 0x30], rdx
mov qword [rax + 0x30], rcx
mov r11, qword [rsi - 0x38]
mov r9, qword [rsi - 0x28]
mov rcx, r9
and rcx, 0xfffffffffffffff8
je 0x14001aa10
mov rax, qword [rsp + 0x58]
mov r10, qword [rsp + 0x38]
mov r15, qword [rsp + 0x48]
xor edx, edx
mov r8, qword [rsp + 0x40]
nop dword [rax]
add r8, r10
rol r10, 0xd
mov rbx, qword [r11 + rdx]
xor r10, r8
rol r8, 0x20
xor r15, rbx
add rax, r15
rol r15, 0x10
xor r15, rax
add r8, r15
rol r15, 0x15
add rax, r10
rol r10, 0x11
xor r10, rax
rol rax, 0x20
xor r15, r8
xor r8, rbx
add rdx, 8
cmp rdx, rcx
jb 0x14001a980
movq xmm3, r15
movq xmm2, r10
punpcklqdq xmm2, xmm3
movq xmm4, rax
movq xmm3, r8
punpcklqdq xmm3, xmm4
mov r15d, r9d
and r15d, 7
cmp r15d, 3
jbe 0x14001aa27
mov r10d, dword [r11 + rdx]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r15
jb 0x14001aa38
jmp 0x14001aa52
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor edx, edx
mov r15d, r9d
and r15d, 7
cmp r15d, 3
ja 0x14001a9ec
xor r10d, r10d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r15
jae 0x14001aa52
lea rcx, [rax + rdx]
movzx r8d, word [r11 + rcx]
lea ecx, [rax*8]
shl r8, cl
or r10, r8
or rax, 2
cmp rax, r15
jae 0x14001aa70
add rdx, rax
movzx edx, byte [r11 + rdx]
shl eax, 3
mov ecx, eax
shl rdx, cl
or r10, rdx
jmp 0x14001aa79
test r15, r15
je 0x14001ab59
lea ecx, [r15*8]
mov r8d, 0xff
shl r8, cl
or r8, r10
cmp r15, 7
jne 0x14001ac80
mov eax, 8
sub rax, r15
pshufd xmm4, xmm2, 0xee
movq rcx, xmm4
xor rcx, r8
movq xmm4, rcx
movdqa xmm5, xmm2
punpcklqdq xmm5, xmm4
paddq xmm3, xmm5
movq rcx, xmm3
rol rcx, 0x20
movdqa xmm4, xmm5
psrlq xmm4, 0x30
movdqa xmm6, xmm2
psrlq xmm6, 0x33
shufps xmm6, xmm4, 0xe4
psllq xmm5, 0x10
psllq xmm2, 0xd
shufps xmm2, xmm5, 0xe4
orps xmm2, xmm6
pxor xmm2, xmm3
pshufd xmm3, xmm3, 0xee
movq xmm4, rcx
punpcklqdq xmm3, xmm4
paddq xmm3, xmm2
movdqa xmm4, xmm2
psrlq xmm4, 0x2f
movdqa xmm5, xmm2
psrlq xmm5, 0x2b
movsd xmm5, xmm4
movdqa xmm4, xmm2
psllq xmm4, 0x11
psllq xmm2, 0x15
movsd xmm2, xmm4
orpd xmm2, xmm5
xorpd xmm2, xmm3
movq rcx, xmm3
rol rcx, 0x20
pshufd xmm3, xmm3, 0xee
movq rdx, xmm3
xor rdx, r8
movq xmm4, rcx
movq xmm3, rdx
punpcklqdq xmm3, xmm4
jmp 0x14001ab5b
xor eax, eax
mov ecx, 1
sub rcx, rax
mov r11d, ecx
and r11d, 7
and rcx, 0xfffffffffffffff8
cmp rax, rcx
jae 0x14001ac30
movq rdx, xmm3
pshufd xmm4, xmm2, 0xee
movq r15, xmm4
movq r10, xmm2
pshufd xmm2, xmm3, 0xee
movq r8, xmm2
nop word cs:[rax + rax]
add rdx, r10
rol r10, 0xd
xor r10, rdx
rol rdx, 0x20
xor r15, 0xff
add r8, r15
rol r15, 0x10
xor r15, r8
add rdx, r15
rol r15, 0x15
add r8, r10
rol r10, 0x11
xor r10, r8
rol r8, 0x20
xor r15, rdx
xor rdx, 0xff
add rax, 8
cmp rax, rcx
jb 0x14001aba0
movq xmm3, r15
movq xmm2, r10
punpcklqdq xmm2, xmm3
movq xmm4, r8
movq xmm3, rdx
punpcklqdq xmm3, xmm4
xor eax, eax
cmp r11, 4
setae al
cmp r11d, 4
mov edx, 0
mov ecx, 0xff
cmovae rdx, rcx
shl rax, 2
jmp 0x14001ac34
xor edx, edx
xor eax, eax
mov r8, rax
lea ecx, [rax*8]
mov r10d, 0xff
shl r10, cl
or r8, 1
mov rbx, rax
or rbx, 2
cmp r8, r11
mov r15d, 0
cmovae r10, r15
cmovae rbx, rax
or r10, rdx
lea ecx, [rbx*8]
mov r8d, 0xff
shl r8, cl
cmp rbx, r11
cmovae r8, r15
or r8, r10
pshufd xmm4, xmm3, 0xee
movq rax, xmm4
movq rcx, xmm2
pshufd xmm4, xmm2, 0xee
movq rdx, xmm4
shl r9, 0x38
movabs r10, 0x100000000000000
add r9, r10
or r9, r8
paddq xmm2, xmm3
rol rcx, 0xd
movq r11, xmm2
xor rcx, r11
rol r11, 0x20
xor rdx, r9
add rax, rdx
rol rdx, 0x10
xor rdx, rax
add r11, rdx
rol rdx, 0x15
add rax, rcx
rol rcx, 0x11
xor rdx, r11
xor rcx, rax
rol rax, 0x20
xor r11, r9
add r11, rcx
rol rcx, 0xd
xor rcx, r11
rol r11, 0x20
xor rax, 0xff
add rax, rdx
rol rdx, 0x10
xor rdx, rax
add r11, rdx
rol rdx, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor rdx, r11
add r11, rcx
rol rcx, 0xd
xor rcx, r11
rol r11, 0x20
add rax, rdx
rol rdx, 0x10
xor rdx, rax
add r11, rdx
rol rdx, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor rdx, r11
add r11, rcx
rol rcx, 0xd
add rax, rdx
rol rdx, 0x10
xor rdx, rax
rol rdx, 0x15
xor rcx, r11
add rax, rcx
rol rcx, 0x11
mov r11, rax
rol r11, 0x20
xor r11, rcx
xor r11, rdx
xor r11, rax
mov rax, rdi
and rax, r11
movdqu xmm2, xmmword [r14 + rax]
pmovmskb ecx, xmm2
mov rdx, rax
test ecx, ecx
jne 0x14001adb8
mov r8d, 0x10
mov rdx, rax
nop
add rdx, r8
and rdx, rdi
movdqu xmm2, xmmword [r14 + rdx]
pmovmskb ecx, xmm2
add r8, 0x10
test ecx, ecx
je 0x14001ada0
tzcnt ecx, ecx
add rcx, rdx
and rcx, rdi
cmp byte [r14 + rcx], 0
js 0x14001add6
movdqa xmm2, xmmword [r14]
pmovmskb ecx, xmm2
tzcnt ecx, ecx
mov rdx, r13
sub rdx, rax
mov r8, rcx
sub r8, rax
xor r8, rdx
and r8, rdi
cmp r8, 0x10
jb 0x14001a880
mov rax, rcx
not rax
imul rax, rax, 0x38
add rax, r14
movzx edx, byte [r14 + rcx]
shr r11, 0x39
lea r8, [rcx - 0x10]
and r8, rdi
mov byte [r14 + rcx], r11b
mov byte [r8 + r14 + 0x10], r11b
cmp dl, 0xff
je 0x14001ae80
imul rcx, rcx, 0xffffffffffffffc8
add rcx, r14
cmp rbp, rcx
jae 0x14001a8e0
cmp rax, qword [rsp + 0x20]
jae 0x14001a8e0
mov rax, 0xffffffffffffffc8
nop
movzx edx, byte [r12 + rax]
movzx r8d, byte [rcx + rax]
mov byte [r12 + rax], r8b
mov byte [rcx + rax], dl
movzx edx, byte [r12 + rax + 1]
movzx r8d, byte [rcx + rax + 1]
mov byte [r12 + rax + 1], r8b
mov byte [rcx + rax + 1], dl
add rax, 2
jne 0x14001ae40
jmp 0x14001a94e
lea rcx, [r13 - 0x10]
and rcx, rdi
mov byte [r14 + r13], 0xff
mov byte [rcx + r14 + 0x10], 0xff
mov rcx, qword [rbp + 0x30]
mov qword [rax + 0x30], rcx
movdqu xmm2, xmmword [rbp]
movdqu xmm3, xmmword [rbp + 0x10]
movdqu xmm4, xmmword [rbp + 0x20]
movdqu xmmword [rax + 0x20], xmm4
movdqu xmmword [rax + 0x10], xmm3
movdqu xmmword [rax], xmm2
jmp 0x14001a894
movabs r15, 0x7ffffffffffffff0
mov r12, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
sub rax, qword [rsp + 0x30]
mov qword [r12 + 0x10], rax
add r15, 0x11
mov rax, r15
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400369a0
ud2