Function at 0x140008cc0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov r15, rdx
mov rdx, qword [rcx + 0x18]
cmp rdx, 0xffffffffffffffff
je 0x1400095da
mov r9, rcx
mov rsi, qword [rcx + 8]
lea r14, [rsi + 1]
mov rax, r14
shr rax, 3
mov r10, r14
and r10, 0xfffffffffffffff8
sub r10, rax
cmp rsi, 8
mov rax, r10
cmovb rax, rsi
movabs r8, 0x7ffffffffffffff0
mov rcx, rax
shr rcx, 1
cmp rdx, rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], r9
jae 0x140008d59
mov qword [rsp + 0x60], r10
mov rbx, qword [r9]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x1400090aa
cmp rax, 1
jne 0x140009048
xor ecx, ecx
jmp 0x140009094
cmp rdx, rax
cmova rax, rdx
cmp rax, 7
jae 0x140008d79
xor ecx, ecx
cmp rax, 3
setae cl
lea r12, [rcx*4 + 4]
jmp 0x140008dc7
movabs rcx, 0x1ffffffffffffffe
cmp rax, rcx
ja 0x1400095da
lea rcx, [rax*8 + 8]
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 r12, 0xffffffffffffffff
shr r12, cl
inc r12
mov ecx, 0x38
mov rax, r12
mul rcx
jo 0x1400095da
mov r13, rax
cmp rax, 0xfffffffffffffff0
ja 0x1400095da
add r13, 0xf
and r13, 0xfffffffffffffff0
lea rbp, [r12 + 0x10]
mov rdx, r13
add rdx, rbp
jb 0x1400095da
cmp rdx, r8
ja 0x1400095da
movzx eax, byte [0x141d1d110]
xor ecx, ecx
call fcn.140040a50
test rax, rax
je 0x1400095da
mov rbx, rax
lea rdi, [r12 - 1]
mov rax, r12
shr rax, 3
mov rcx, r12
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r12, 9
cmovb rcx, rdi
mov qword [rsp + 0x40], rcx
add rbx, r13
mov rcx, rbx
mov dl, 0xff
mov r8, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140008fd8
mov qword [rsp + 0x38], r14
mov rax, qword [rsp + 0x30]
mov r12, qword [rax]
movdqa xmm0, xmmword [r12]
pmovmskb ebp, xmm0
not ebp
lea rax, [r12 - 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [r15]
mov qword [rsp + 0x58], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov qword [rsp + 0x20], r12
mov r15, rcx
jmp 0x140008f16
lea ecx, [rbp - 1]
and ecx, ebp
dec r15
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rdi
mov byte [rbx + rdx], al
mov byte [rbx + r8 + 0x10], al
not r13
imul rax, r13, 0x38
not rdx
imul rdx, rdx, 0x38
mov r9, qword [rsp + 0x20]
mov r8, qword [r9 + rax + 0x30]
mov qword [rbx + rdx + 0x30], r8
movdqu xmm0, xmmword [r9 + rax]
movdqu xmm1, xmmword [r9 + rax + 0x10]
movups xmm2, xmmword [r9 + rax + 0x20]
movups xmmword [rbx + rdx + 0x20], xmm2
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov ebp, ecx
test r15, r15
je 0x140008fcc
test bp, bp
jne 0x140008f3d
nop dword [rax + rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb ebp, xmm0
add r14, 0x10
cmp ebp, 0xffff
je 0x140008f20
not ebp
tzcnt r13d, ebp
add r13, r14
mov rax, r13
neg rax
imul rax, rax, 0x38
mov rcx, qword [rsp + 0x28]
mov r8, qword [rcx + rax + 8]
mov r9, qword [rcx + rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x48]
call fcn.140005710
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140008fa7
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140008f90
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x140008eb0
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x140008eb0
mov rax, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
jmp 0x140008fe5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x50]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rcx
test rsi, rsi
movabs rdi, 0x7ffffffffffffff0
je 0x1400095c2
mov ecx, 0x38
mov rax, r14
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x1400095c2
mov r8, qword [rsp + 0x20]
sub r8, rax
mov rcx, qword [0x141d1d0f0]
xor edx, edx
call fcn.14004dc58
jmp 0x1400095c2
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x14005e290]
nop
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 0x140009060
test al, 1
je 0x1400090aa
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rcx]
por xmm0, xmmword [0x14005e290]
movdqa xmmword [rbx + rcx], xmm0
cmp r14, 0x10
jae 0x1400090cb
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r14
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
test r14, r14
jne 0x1400090d5
xor ecx, ecx
jmp 0x1400095aa
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r14], xmm0
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
movabs rbp, 0x736f6d6570736575
xor rbp, rax
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x48], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x40], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov r15, rbx
xor r11d, r11d
mov qword [rsp + 0x68], rsi
jmp 0x140009159
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, rsi
mov byte [rbx + r11], al
mov byte [rbx + rcx + 0x10], al
xor ecx, ecx
lea rax, [r11 + 1]
add r15, 0xffffffffffffffc8
cmp r11, rsi
mov r11, rax
je 0x14000959d
cmp cl, byte [rbx + r11]
jno 0x140009145
imul rcx, r11, 0xffffffffffffffc8
mov rax, r11
not rax
imul rax, rax, 0x38
add rax, rbx
mov qword [rsp + 0x20], rax
add rcx, rbx
mov qword [rsp + 0x70], rcx
mov rax, r11
neg rax
imul rax, rax, 0x38
add rax, rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], r11
jmp 0x1400091f9
mov r8, qword [rsp + 0x20]
movdqu xmm0, xmmword [r8]
movdqu xmm1, xmmword [r8 + 0x10]
movups xmm2, xmmword [rcx]
movups xmm3, xmmword [rcx + 0x10]
movups xmmword [r8], xmm2
movups xmmword [r8 + 0x10], xmm3
movdqu xmmword [rcx], xmm0
movdqu xmmword [rcx + 0x10], xmm1
mov rax, qword [r8 + 0x20]
mov rdx, qword [rcx + 0x20]
mov qword [r8 + 0x20], rdx
mov qword [rcx + 0x20], rax
mov rax, qword [r8 + 0x28]
mov rdx, qword [rcx + 0x28]
mov qword [r8 + 0x28], rdx
mov qword [rcx + 0x28], rax
mov rax, qword [r8 + 0x30]
mov rdx, qword [rcx + 0x30]
mov qword [r8 + 0x30], rdx
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0x58]
mov r12, qword [rax - 0x30]
mov r13, qword [rax - 0x28]
mov rax, r13
and rax, 0xfffffffffffffff8
je 0x1400092a0
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
xor r14d, r14d
mov rdx, rbp
nop dword [rax + rax]
mov rcx, qword [r12 + r14]
xor r10, rcx
add rdx, r8
rol r8, 0xd
add r9, r10
xor r8, rdx
rol r10, 0x10
xor r10, r9
rol rdx, 0x20
add r9, r8
add rdx, r10
rol r8, 0x11
xor r8, r9
rol r10, 0x15
rol r9, 0x20
xor r10, rdx
xor rdx, rcx
add r14, 8
cmp r14, rax
jb 0x140009230
mov edi, r13d
and edi, 7
cmp edi, 4
jb 0x1400092c0
mov r11d, dword [r12 + r14]
mov eax, 4
mov ecx, eax
or ecx, 1
cmp ecx, edi
jb 0x1400092ce
jmp 0x1400092f3
mov r10, qword [rsp + 0x38]
mov r8, qword [rsp + 0x48]
mov r9, qword [rsp + 0x40]
mov rdx, rbp
xor r14d, r14d
mov edi, r13d
and edi, 7
cmp edi, 4
jae 0x14000927e
xor r11d, r11d
xor eax, eax
mov ecx, eax
or ecx, 1
cmp ecx, edi
jae 0x1400092f3
lea rcx, [r12 + rax]
mov rsi, rbp
movzx ebp, word [r14 + rcx]
lea ecx, [rax*8]
shl rbp, cl
or r11, rbp
mov rbp, rsi
mov rsi, qword [rsp + 0x68]
or rax, 2
cmp eax, edi
jae 0x140009310
add r14, rax
movzx r14d, byte [r12 + r14]
shl eax, 3
mov ecx, eax
shl r14, cl
or r11, r14
jmp 0x140009315
test rdi, rdi
je 0x140009367
lea ecx, [rdi*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp rdi, 7
jne 0x140009370
xor r10, rax
add rdx, r8
add r9, r10
rol r8, 0xd
rol r10, 0x10
xor r8, rdx
xor r10, r9
rol rdx, 0x20
add r9, r8
add rdx, r10
rol r8, 0x11
xor r8, r9
rol r10, 0x15
xor r10, rdx
rol r9, 0x20
xor rdx, rax
xor eax, eax
jmp 0x140009370
mov eax, 0xff
nop dword [rax]
mov r11, qword [rsp + 0x28]
shl r13, 0x38
movabs rcx, 0x100000000000000
add r13, rcx
or r13, rax
xor r10, r13
add rdx, r8
rol r8, 0xd
add r9, r10
xor r8, rdx
rol r10, 0x10
xor r10, r9
rol rdx, 0x20
add r9, r8
add rdx, r10
rol r8, 0x11
xor r8, r9
rol r10, 0x15
rol r9, 0x20
xor r10, rdx
xor rdx, r13
xor r9, 0xff
add rdx, r8
add r9, r10
rol r8, 0xd
xor r8, rdx
rol r10, 0x10
rol rdx, 0x20
xor r10, r9
add r9, r8
rol r8, 0x11
add rdx, r10
xor r8, r9
rol r10, 0x15
xor r10, rdx
rol r9, 0x20
add rdx, r8
add r9, r10
rol r8, 0xd
xor r8, rdx
rol r10, 0x10
rol rdx, 0x20
xor r10, r9
add r9, r8
rol r8, 0x11
add rdx, r10
xor r8, r9
rol r10, 0x15
xor r10, rdx
rol r9, 0x20
add rdx, r8
add r9, r10
rol r8, 0xd
xor r8, rdx
rol r10, 0x10
xor r10, r9
add r9, r8
rol r8, 0x11
rol r10, 0x15
mov rax, r9
rol rax, 0x20
xor rax, r8
xor rax, r10
xor rax, r9
mov rcx, rsi
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x140009498
mov r9d, 0x10
mov r8, rcx
nop word cs:[rax + rax]
add r8, r9
and r8, rsi
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x140009480
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x1400094b4
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r11
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rsi
cmp r9, 0x10
jb 0x140009130
mov rcx, rdx
not rcx
imul rcx, rcx, 0x38
add rcx, rbx
movzx r8d, byte [rbx + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
cmp r8b, 0xff
je 0x140009560
imul rax, rdx, 0xffffffffffffffc8
add rax, rbx
cmp qword [rsp + 0x20], rax
jae 0x1400091a0
cmp rcx, qword [rsp + 0x70]
jae 0x1400091a0
mov rcx, 0xffffffffffffffc8
nop
movzx edx, byte [r15 + rcx]
movzx r8d, byte [rax + rcx]
mov byte [r15 + rcx], r8b
mov byte [rax + rcx], dl
movzx edx, byte [r15 + rcx + 1]
movzx r8d, byte [rax + rcx + 1]
mov byte [r15 + rcx + 1], r8b
mov byte [rax + rcx + 1], dl
add rcx, 2
jne 0x140009520
jmp 0x1400091f9
lea rax, [r11 - 0x10]
and rax, rsi
mov byte [rbx + r11], 0xff
mov byte [rbx + rax + 0x10], 0xff
mov rdx, qword [rsp + 0x20]
mov rax, qword [rdx + 0x30]
mov qword [rcx + 0x30], rax
movdqu xmm0, xmmword [rdx]
movdqu xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm2
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x140009143
cmp rsi, 8
mov rcx, qword [rsp + 0x60]
cmovb rcx, rsi
sub rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movabs rdi, 0x7ffffffffffffff0
add rdi, 0x11
mov rax, rdi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2