Function at 0x180019e70
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
movdqa xmmword [rsp + 0x50], xmm6
mov r13, qword [rcx + 0x18]
mov rax, r13
inc rax
je 0x18001a8ea
mov r9, rcx
movdqa xmm6, xmmword [rdx]
mov r12, qword [rcx + 8]
lea r14, [r12 + 1]
mov rdx, r14
shr rdx, 3
mov rcx, r14
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp r12, 8
cmovb rcx, r12
movabs r8, 0x7ffffffffffffff0
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x20], r9
jbe 0x180019eff
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x180019f2c
xor eax, eax
cmp rcx, 4
setae al
lea rsi, [rax*4 + 4]
jmp 0x180019f8d
mov rbx, qword [r9]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x18001a22a
cmp rax, 1
jne 0x18001a1c4
xor ecx, ecx
jmp 0x18001a214
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp rcx, rax
ja 0x18001a8ea
shl rcx, 3
movabs rdx, 0x2492492492492493
mov rax, rcx
mul rdx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 2
dec rcx
bsr rcx, rcx
not ecx
mov rsi, 0xffffffffffffffff
shr rsi, cl
movabs rax, 0x7fffffffffffffe
cmp rsi, rax
ja 0x18001a8ea
inc rsi
mov rdi, rsi
shl rdi, 5
lea r14, [rsi + 0x10]
mov r15, rdi
add r15, r14
jb 0x18001a8ea
cmp r15, r8
ja 0x18001a8ea
test r15, r15
je 0x180019fd3
movzx eax, byte [0x1800a40a8]
xor ecx, ecx
mov rdx, r15
call fcn.18004b1f0
mov rbx, rax
test rax, rax
jne 0x180019fd8
mov rcx, r15
call fcn.18000f330
mov ebx, 0x10
add rbx, rdi
lea rbp, [rsi - 1]
mov rax, rsi
shr rax, 3
mov rdi, rsi
and rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rsi, 9
cmovb rdi, rbp
mov rcx, rbx
mov dl, 0xff
mov r8, r14
call sub.msvcrt.dll_memset
test r13, r13
je 0x18001a15d
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x20]
mov r14, qword [rax]
movdqa xmm0, xmmword [r14]
pmovmskb r15d, xmm0
not r15d
mov rsi, r13
xor r13d, r13d
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x28], r14
jmp 0x18001a08b
lea ecx, [r15 - 1]
and ecx, r15d
dec rsi
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rbp
mov byte [rbx + rdx], al
mov byte [rbx + r8 + 0x10], al
shl rdx, 5
mov rax, rbx
sub rax, rdx
neg rdx
movdqu xmm0, xmmword [rdi - 0x20]
movdqu xmm1, xmmword [rdi - 0x10]
movdqu xmmword [rbx + rdx - 0x20], xmm0
movdqu xmmword [rax - 0x10], xmm1
mov r15d, ecx
test rsi, rsi
je 0x18001a151
test r15w, r15w
jne 0x18001a0bf
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r14 + 0x10]
add r14, 0x10
pmovmskb r15d, xmm0
add r13, 0x10
cmp r15d, 0xffff
je 0x18001a0a0
not r15d
tzcnt eax, r15d
add rax, r13
shl rax, 5
mov rdi, qword [rsp + 0x28]
sub rdi, rax
mov rdx, qword [rdi - 0x18]
mov r8, qword [rdi - 0x10]
movdqa xmmword [rsp + 0x40], xmm6
lea rcx, [rsp + 0x40]
call fcn.18001bc00
mov rcx, rbp
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x18001a127
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rbp
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x18001a110
mov r9, qword [rsp + 0x20]
tzcnt edx, edx
add rdx, rcx
and rdx, rbp
cmp byte [rbx + rdx], 0
js 0x18001a040
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x18001a040
mov rax, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
jmp 0x18001a16c
mov r9, qword [rsp + 0x20]
mov rax, qword [r9]
mov qword [rsp + 0x28], rax
xor eax, eax
sub rdi, rax
mov qword [r9], rbx
mov qword [r9 + 8], rbp
mov qword [r9 + 0x10], rdi
mov qword [r9 + 0x18], rax
test r12, r12
movabs rsi, 0x7ffffffffffffff0
je 0x18001a8cd
mov rax, r12
shl rax, 5
add r12, rax
cmp r12, 0xffffffffffffffcf
je 0x18001a8cd
mov r8, qword [rsp + 0x28]
sub r8, rax
add r8, 0xffffffffffffffe0
mov rcx, qword [0x1800a4080]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x18001a8cd
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x180072590]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx]
por xmm1, xmm0
movdqa xmmword [rbx + rcx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + rcx + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + rcx + 0x10], xmm1
add rcx, 0x20
add rdx, 0xfffffffffffffffe
jne 0x18001a1e0
test al, 1
je 0x18001a22a
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rcx]
por xmm0, xmmword [0x180072590]
movdqa xmmword [rbx + rcx], xmm0
cmp r14, 0x10
jae 0x18001a250
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memmove
mov r9, qword [rsp + 0x20]
test r14, r14
jne 0x18001a25a
xor eax, eax
jmp 0x18001a8bc
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r14], xmm0
pshufd xmm0, xmm6, 0x44
pxor xmm0, xmmword [str.uespemosarenegylmodnarodsetybdetu]
pshufd xmm1, xmm6, 0xee
pxor xmm1, xmmword [0x1800725b0]
pshufd xmm2, xmm1, 0xee
movq qword [rsp + 0x28], xmm2
movq qword [rsp + 0x38], xmm0
movq qword [rsp + 0x30], xmm1
pshufd xmm2, xmm0, 0xee
movq r10, xmm2
xor r11d, r11d
jmp 0x18001a2c4
shr r14, 0x39
lea rax, [r11 - 0x10]
and rax, r12
mov byte [rbx + r11], r14b
mov byte [rbx + rax + 0x10], r14b
lea rax, [r11 + 1]
cmp r11, r12
mov r11, rax
je 0x18001a89a
cmp byte [rbx + r11], 0x80
jne 0x18001a2b4
mov rax, r11
shl rax, 5
mov r15, rbx
sub r15, rax
add r15, 0xffffffffffffffe0
mov r13, r11
neg r13
shl r13, 5
mov rax, rbx
nop dword [rax]
mov rsi, qword [rax + r13 - 0x18]
mov rbp, qword [rax + r13 - 0x10]
mov rcx, rbp
and rcx, 0xfffffffffffffff8
je 0x18001a3b0
mov rax, r10
mov rdi, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
xor r14d, r14d
mov rdx, qword [rsp + 0x38]
nop dword [rax]
add rdx, rdi
rol rdi, 0xd
mov r9, qword [rsi + r14]
xor rdi, rdx
rol rdx, 0x20
xor r8, r9
add rax, r8
rol r8, 0x10
xor r8, rax
add rdx, r8
rol r8, 0x15
add rax, rdi
rol rdi, 0x11
xor rdi, rax
rol rax, 0x20
xor r8, rdx
xor rdx, r9
add r14, 8
cmp r14, rcx
jb 0x18001a320
movq xmm3, r8
movq xmm2, rdi
punpcklqdq xmm2, xmm3
movq xmm4, rax
movq xmm3, rdx
punpcklqdq xmm3, xmm4
mov r9, qword [rsp + 0x20]
mov edi, ebp
and edi, 7
cmp edi, 4
jb 0x18001a3c5
mov edx, dword [rsi + r14]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rdi
jb 0x18001a3d5
jmp 0x18001a3ef
movdqa xmm2, xmm1
movdqa xmm3, xmm0
xor r14d, r14d
mov edi, ebp
and edi, 7
cmp edi, 4
jae 0x18001a38e
xor edx, edx
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rdi
jae 0x18001a3ef
lea rcx, [rsi + rax]
movzx r8d, word [r14 + rcx]
lea ecx, [rax*8]
shl r8, cl
or rdx, r8
or rax, 2
cmp rax, rdi
jae 0x18001a410
add r14, rax
movzx r8d, byte [rsi + r14]
shl eax, 3
mov ecx, eax
shl r8, cl
or rdx, r8
jmp 0x18001a419
test rdi, rdi
je 0x18001a4ac
lea ecx, [rdi*8]
mov r14d, 0xff
shl r14, cl
or r14, rdx
cmp rdi, 7
jne 0x18001a4c0
pshufd xmm4, xmm2, 0xee
movq rcx, xmm4
xor rcx, r14
movq rdx, xmm2
paddq xmm2, xmm3
movq rax, xmm2
rol rdx, 0xd
xor rdx, rax
rol rax, 0x20
pshufd xmm2, xmm3, 0xee
movq r8, xmm2
add r8, rcx
rol rcx, 0x10
xor rcx, r8
add rax, rcx
rol rcx, 0x15
add r8, rdx
rol rdx, 0x11
xor rcx, rax
xor rdx, r8
movq xmm3, rcx
movq xmm2, rdx
punpcklqdq xmm2, xmm3
rol r8, 0x20
xor rax, r14
movq xmm4, r8
movq xmm3, rax
punpcklqdq xmm3, xmm4
xor r14d, r14d
jmp 0x18001a4c0
mov r14d, 0xff
nop word cs:[rax + rax]
pshufd xmm4, xmm3, 0xee
movq rax, xmm4
movq rcx, xmm2
pshufd xmm4, xmm2, 0xee
movq rsi, xmm4
shl rbp, 0x38
movabs rdx, 0x100000000000000
add rbp, rdx
or rbp, r14
paddq xmm2, xmm3
rol rcx, 0xd
movq r14, xmm2
xor rcx, r14
rol r14, 0x20
xor rsi, rbp
add rax, rsi
rol rsi, 0x10
xor rsi, rax
add r14, rsi
rol rsi, 0x15
add rax, rcx
rol rcx, 0x11
xor rsi, r14
xor rcx, rax
rol rax, 0x20
xor r14, rbp
add r14, rcx
rol rcx, 0xd
xor rcx, r14
rol r14, 0x20
xor rax, 0xff
add rax, rsi
rol rsi, 0x10
xor rsi, rax
add r14, rsi
rol rsi, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor rsi, r14
add r14, rcx
rol rcx, 0xd
xor rcx, r14
rol r14, 0x20
add rax, rsi
rol rsi, 0x10
xor rsi, rax
add r14, rsi
rol rsi, 0x15
add rax, rcx
rol rcx, 0x11
xor rcx, rax
rol rax, 0x20
xor rsi, r14
add r14, rcx
rol rcx, 0xd
add rax, rsi
rol rsi, 0x10
xor rsi, rax
rol rsi, 0x15
xor rcx, r14
add rax, rcx
rol rcx, 0x11
mov r14, rax
rol r14, 0x20
xor r14, rcx
xor r14, rsi
xor r14, rax
mov rax, r12
and rax, r14
movdqu xmm2, xmmword [rbx + rax]
pmovmskb ecx, xmm2
mov rdx, rax
test ecx, ecx
jne 0x18001a5f7
mov r8d, 0x10
mov rdx, rax
nop dword [rax]
add rdx, r8
and rdx, r12
movdqu xmm2, xmmword [rbx + rdx]
pmovmskb ecx, xmm2
add r8, 0x10
test ecx, ecx
je 0x18001a5e0
tzcnt ecx, ecx
add rcx, rdx
and rcx, r12
cmp byte [rbx + rcx], 0
js 0x18001a613
movdqa xmm2, xmmword [rbx]
pmovmskb ecx, xmm2
tzcnt ecx, ecx
mov rdx, r11
sub rdx, rax
mov r8, rcx
sub r8, rax
xor r8, rdx
and r8, r12
cmp r8, 0x10
jb 0x18001a2a0
mov rax, rcx
shl rax, 5
neg rax
add rax, rbx
add rax, 0xffffffffffffffe0
movzx edx, byte [rbx + rcx]
shr r14, 0x39
lea r8, [rcx - 0x10]
and r8, r12
mov byte [rbx + rcx], r14b
mov byte [rbx + r8 + 0x10], r14b
cmp dl, 0xff
je 0x18001a870
movzx ecx, byte [r15]
movzx edx, byte [rax]
mov byte [r15], dl
mov byte [rax], cl
movzx ecx, byte [r15 + 1]
movzx edx, byte [rax + 1]
mov byte [r15 + 1], dl
mov byte [rax + 1], cl
movzx ecx, byte [r15 + 2]
movzx edx, byte [rax + 2]
mov byte [r15 + 2], dl
mov byte [rax + 2], cl
movzx ecx, byte [r15 + 3]
movzx edx, byte [rax + 3]
mov byte [r15 + 3], dl
mov byte [rax + 3], cl
movzx ecx, byte [r15 + 4]
movzx edx, byte [rax + 4]
mov byte [r15 + 4], dl
mov byte [rax + 4], cl
movzx ecx, byte [r15 + 5]
movzx edx, byte [rax + 5]
mov byte [r15 + 5], dl
mov byte [rax + 5], cl
movzx ecx, byte [r15 + 6]
movzx edx, byte [rax + 6]
mov byte [r15 + 6], dl
mov byte [rax + 6], cl
movzx ecx, byte [r15 + 7]
movzx edx, byte [rax + 7]
mov byte [r15 + 7], dl
mov byte [rax + 7], cl
movzx ecx, byte [r15 + 8]
movzx edx, byte [rax + 8]
mov byte [r15 + 8], dl
mov byte [rax + 8], cl
movzx ecx, byte [r15 + 9]
movzx edx, byte [rax + 9]
mov byte [r15 + 9], dl
mov byte [rax + 9], cl
movzx ecx, byte [r15 + 0xa]
movzx edx, byte [rax + 0xa]
mov byte [r15 + 0xa], dl
mov byte [rax + 0xa], cl
movzx ecx, byte [r15 + 0xb]
movzx edx, byte [rax + 0xb]
mov byte [r15 + 0xb], dl
mov byte [rax + 0xb], cl
movzx ecx, byte [r15 + 0xc]
movzx edx, byte [rax + 0xc]
mov byte [r15 + 0xc], dl
mov byte [rax + 0xc], cl
movzx ecx, byte [r15 + 0xd]
movzx edx, byte [rax + 0xd]
mov byte [r15 + 0xd], dl
mov byte [rax + 0xd], cl
movzx ecx, byte [r15 + 0xe]
movzx edx, byte [rax + 0xe]
mov byte [r15 + 0xe], dl
mov byte [rax + 0xe], cl
movzx ecx, byte [r15 + 0xf]
movzx edx, byte [rax + 0xf]
mov byte [r15 + 0xf], dl
mov byte [rax + 0xf], cl
movzx ecx, byte [r15 + 0x10]
movzx edx, byte [rax + 0x10]
mov byte [r15 + 0x10], dl
mov byte [rax + 0x10], cl
movzx ecx, byte [r15 + 0x11]
movzx edx, byte [rax + 0x11]
mov byte [r15 + 0x11], dl
mov byte [rax + 0x11], cl
movzx ecx, byte [r15 + 0x12]
movzx edx, byte [rax + 0x12]
mov byte [r15 + 0x12], dl
mov byte [rax + 0x12], cl
movzx ecx, byte [r15 + 0x13]
movzx edx, byte [rax + 0x13]
mov byte [r15 + 0x13], dl
mov byte [rax + 0x13], cl
movzx ecx, byte [r15 + 0x14]
movzx edx, byte [rax + 0x14]
mov byte [r15 + 0x14], dl
mov byte [rax + 0x14], cl
movzx ecx, byte [r15 + 0x15]
movzx edx, byte [rax + 0x15]
mov byte [r15 + 0x15], dl
mov byte [rax + 0x15], cl
movzx ecx, byte [r15 + 0x16]
movzx edx, byte [rax + 0x16]
mov byte [r15 + 0x16], dl
mov byte [rax + 0x16], cl
movzx ecx, byte [r15 + 0x17]
movzx edx, byte [rax + 0x17]
mov byte [r15 + 0x17], dl
mov byte [rax + 0x17], cl
movzx ecx, byte [r15 + 0x18]
movzx edx, byte [rax + 0x18]
mov byte [r15 + 0x18], dl
mov byte [rax + 0x18], cl
movzx ecx, byte [r15 + 0x19]
movzx edx, byte [rax + 0x19]
mov byte [r15 + 0x19], dl
mov byte [rax + 0x19], cl
movzx ecx, byte [r15 + 0x1a]
movzx edx, byte [rax + 0x1a]
mov byte [r15 + 0x1a], dl
mov byte [rax + 0x1a], cl
movzx ecx, byte [r15 + 0x1b]
movzx edx, byte [rax + 0x1b]
mov byte [r15 + 0x1b], dl
mov byte [rax + 0x1b], cl
movzx ecx, byte [r15 + 0x1c]
movzx edx, byte [rax + 0x1c]
mov byte [r15 + 0x1c], dl
mov byte [rax + 0x1c], cl
movzx ecx, byte [r15 + 0x1d]
movzx edx, byte [rax + 0x1d]
mov byte [r15 + 0x1d], dl
mov byte [rax + 0x1d], cl
movzx ecx, byte [r15 + 0x1e]
movzx edx, byte [rax + 0x1e]
mov byte [r15 + 0x1e], dl
mov byte [rax + 0x1e], cl
movzx ecx, byte [r15 + 0x1f]
movzx edx, byte [rax + 0x1f]
mov byte [r15 + 0x1f], dl
mov byte [rax + 0x1f], cl
mov rax, qword [r9]
jmp 0x18001a2f0
lea rcx, [r11 - 0x10]
and rcx, r12
mov byte [rbx + r11], 0xff
mov byte [rbx + rcx + 0x10], 0xff
movdqu xmm2, xmmword [r15]
movdqu xmm3, xmmword [r15 + 0x10]
movdqu xmmword [rax + 0x10], xmm3
movdqu xmmword [rax], xmm2
jmp 0x18001a2b4
mov rcx, qword [r9 + 8]
mov r13, qword [r9 + 0x18]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, r13
mov qword [r9 + 0x10], rax
movabs rsi, 0x7ffffffffffffff0
add rsi, 0x11
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.18000f2f0
int3