Function at 0x1400bc270
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 r8, qword [rcx + 0x18]
mov rax, r8
inc rax
je 0x1400bcb7b
mov r12, rdx
mov rbp, qword [rcx + 8]
lea rsi, [rbp + 1]
mov rdx, rsi
shr rdx, 3
mov r9, rsi
and r9, 0xfffffffffffffff8
sub r9, rdx
cmp rbp, 8
cmovb r9, rbp
mov rdx, r9
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], r8
jbe 0x1400bc2ef
inc r9
cmp rax, r9
cmova r9, rax
cmp r9, 8
jae 0x1400bc321
xor eax, eax
cmp r9, 4
setae al
lea rdi, [rax*4 + 4]
jmp 0x1400bc38d
mov qword [rsp + 0x68], r9
mov r14, qword [rcx]
mov rcx, rsi
shr rcx, 4
xor eax, eax
test sil, 0xf
setne al
add rax, rcx
je 0x1400bc623
cmp rax, 1
jne 0x1400bc5b3
xor edx, edx
jmp 0x1400bc607
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp r9, rax
jae 0x1400bcb7b
shl r9, 3
mov edi, 1
cmp r9, 0xe
jb 0x1400bc38d
movabs r8, 0x7fffffffffffffe
movabs rcx, 0x2492492492492493
mov rax, r9
mul rcx
sub r9, rdx
shr r9, 1
add r9, rdx
shr r9, 2
dec r9
bsr rcx, r9
not ecx
mov rdi, 0xffffffffffffffff
shr rdi, cl
cmp rdi, r8
ja 0x1400bcb7b
inc rdi
mov r15, rdi
shl r15, 5
lea r14, [rdi + 0x10]
mov r13, r15
add r13, r14
jb 0x1400bcb7b
movabs rax, 0x7ffffffffffffff0
cmp r13, rax
ja 0x1400bcb7b
test r13, r13
je 0x1400bc3ff
movzx eax, byte [0x1401e61e9]
mov rcx, qword [0x1401e6138]
test rcx, rcx
jne 0x1400bc3e3
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x1400bc3f5
mov rcx, rax
mov qword [0x1401e6138], rax
xor edx, edx
mov r8, r13
call sub.KERNEL32.dll_HeapAlloc
mov rbx, rax
test rax, rax
jne 0x1400bc404
mov rcx, r13
call fcn.14000f570
ud2
mov ebx, 0x10
mov qword [rsp + 0x38], rsi
lea rsi, [rdi - 1]
mov rax, rdi
shr rax, 3
mov r13, rdi
and r13, 0xfffffffffffffff8
sub r13, rax
cmp rdi, 9
cmovb r13, rsi
add rbx, r15
mov rcx, rbx
mov dl, 0xff
mov r8, r14
call sub.msvcrt.dll_memset
sub r13, qword [rsp + 0x40]
cmp rbp, 0xffffffffffffffff
je 0x1400bc571
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x28]
mov r14, qword [rax]
lea r15, [r14 - 0x20]
mov r13, qword [r12]
mov r12, qword [r12 + 8]
xor edi, edi
jmp 0x1400bc4bb
shr rax, 0x39
lea rcx, [rdx - 0x10]
and rcx, rsi
mov byte [rbx + rdx], al
mov byte [rcx + rbx + 0x10], al
mov rax, rdi
not rax
shl rax, 5
not rdx
shl rdx, 5
movdqu xmm0, xmmword [r14 + rax]
movdqu xmm1, xmmword [r14 + rax + 0x10]
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
lea rax, [rdi + 1]
cmp rdi, rbp
mov rdi, rax
je 0x1400bc53c
cmp byte [r14 + rdi], 0
js 0x1400bc4ab
mov rax, rdi
shl rax, 5
mov rcx, r15
sub rcx, rax
mov r8, qword [rcx]
mov r9, qword [rcx + 0x10]
mov rcx, r13
mov rdx, r12
call fcn.1400bfb10
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400bc517
mov r8d, 0x10
nop word [rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400bc500
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x1400bc470
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400bc470
mov rax, qword [rsp + 0x28]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
test rbp, rbp
mov rax, qword [rsp + 0x38]
je 0x1400bcb5c
shl rax, 5
add rbp, rax
cmp rbp, 0xffffffffffffffef
jne 0x1400bc59a
jmp 0x1400bcb5c
mov rax, qword [rsp + 0x28]
mov r14, qword [rax]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r13
mov rax, qword [rsp + 0x38]
shl rax, 5
add rbp, rax
cmp rbp, 0xffffffffffffffef
je 0x1400bcb5c
sub r14, rax
mov rcx, qword [0x1401e6138]
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_HeapFree
jmp 0x1400bcb5c
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x140145ce0]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r8]
por xmm1, xmm0
movdqa xmmword [r14 + r8], xmm1
lea rdx, [r8 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r8 + 0x10]
por xmm1, xmm0
movdqa xmmword [r14 + r8 + 0x10], xmm1
mov r8, rdx
add rcx, 0xfffffffffffffffe
jne 0x1400bc5d0
test al, 1
je 0x1400bc623
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + rdx]
por xmm0, xmmword [0x140145ce0]
movdqa xmmword [r14 + rdx], xmm0
cmp rsi, 0x10
jae 0x1400bc645
lea rcx, [r14 + 0x10]
mov rdx, r14
mov r8, rsi
call sub.msvcrt.dll_memmove
cmp rbp, 0xffffffffffffffff
jne 0x1400bc650
xor ecx, ecx
jmp 0x1400bcb4e
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + rsi], xmm0
lea rax, [r14 - 0x20]
mov qword [rsp + 0x70], rax
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x60], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x58], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x50], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x48], rax
xor edi, edi
jmp 0x1400bc6d4
shr rax, 0x39
lea rcx, [rdi - 0x10]
and rcx, rbp
mov byte [r14 + rdi], al
mov byte [rcx + r14 + 0x10], al
lea rax, [rdi + 1]
cmp rdi, rbp
mov rdi, rax
je 0x1400bcb49
cmp byte [r14 + rdi], 0x80
jne 0x1400bc6c4
mov rsi, rdi
not rsi
shl rsi, 5
add rsi, r14
mov rax, rdi
shl rax, 5
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x38]
mov r13, qword [rax]
mov r12, qword [rax + 0x10]
mov rax, r12
and rax, 0xfffffffffffffff8
je 0x1400bc7b0
mov r10, qword [rsp + 0x50]
mov r9, qword [rsp + 0x58]
mov r11, qword [rsp + 0x48]
xor ebx, ebx
mov r8, qword [rsp + 0x60]
nop
add r8, r9
rol r9, 0xd
mov rcx, qword [r13 + rbx]
xor r9, r8
rol r8, 0x20
xor r11, rcx
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, r8
xor r8, rcx
add rbx, 8
cmp rbx, rax
jb 0x1400bc740
mov r15d, r12d
and r15d, 7
cmp r15d, 3
jbe 0x1400bc7d3
mov edi, dword [r13 + rbx]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r15
jb 0x1400bc7e3
jmp 0x1400bc7fe
mov r11, qword [rsp + 0x48]
mov r9, qword [rsp + 0x58]
mov r10, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
xor ebx, ebx
mov r15d, r12d
and r15d, 7
cmp r15d, 3
ja 0x1400bc791
xor edi, edi
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r15
jae 0x1400bc7fe
lea rcx, [rax + rbx]
movzx edx, word [r13 + rcx]
lea ecx, [rax*8]
shl rdx, cl
or rdi, rdx
or rax, 2
cmp rax, r15
jae 0x1400bc820
add rbx, rax
movzx edx, byte [r13 + rbx]
shl eax, 3
mov ecx, eax
shl rdx, cl
or rdi, rdx
jmp 0x1400bc825
test r15, r15
je 0x1400bc882
lea ecx, [r15*8]
mov ebx, 0xff
shl rbx, cl
or rbx, rdi
cmp r15, 7
jne 0x1400bc95f
mov ecx, 8
add r8, r9
rol r9, 0xd
sub rcx, r15
xor r9, r8
rol r8, 0x20
xor r11, rbx
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
xor r11, r8
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r8, rbx
jmp 0x1400bc884
xor ecx, ecx
mov edi, 1
sub rdi, rcx
mov eax, edi
and eax, 7
and rdi, 0xfffffffffffffff8
cmp rcx, rdi
jae 0x1400bc910
nop word [rax + rax]
add r8, r9
rol r9, 0xd
xor r9, r8
rol r8, 0x20
xor r11, 0xff
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, r8
xor r8, 0xff
add rcx, 8
cmp rcx, rdi
jb 0x1400bc8a0
xor edi, edi
cmp rax, 4
setae dil
cmp eax, 4
mov ebx, 0
mov ecx, 0xff
cmovae rbx, rcx
shl rdi, 2
jmp 0x1400bc914
xor ebx, ebx
xor edi, edi
mov rdx, rdi
lea ecx, [rdi*8]
mov r15d, 0xff
shl r15, cl
or rdx, 1
mov r13, rdi
or r13, 2
cmp rdx, rax
mov edx, 0
cmovae r15, rdx
cmovae r13, rdi
or r15, rbx
lea ecx, [r13*8]
mov ebx, 0xff
shl rbx, cl
cmp r13, rax
cmovae rbx, rdx
or rbx, r15
mov rdi, qword [rsp + 0x30]
shl r12, 0x38
movabs rax, 0x100000000000000
add r12, rax
add r8, r9
rol r9, 0xd
or r12, rbx
xor r9, r8
rol r8, 0x20
xor r11, r12
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r11, r8
xor r9, r10
rol r10, 0x20
xor r8, r12
add r8, r9
rol r9, 0xd
xor r9, r8
rol r8, 0x20
xor r10, 0xff
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, r8
add r8, r9
rol r9, 0xd
xor r9, r8
rol r8, 0x20
add r10, r11
rol r11, 0x10
xor r11, r10
add r8, r11
rol r11, 0x15
add r10, r9
rol r9, 0x11
xor r9, r10
rol r10, 0x20
xor r11, r8
add r8, r9
rol r9, 0xd
add r10, r11
rol r11, 0x10
xor r11, r10
rol r11, 0x15
xor r9, r8
add r10, r9
rol r9, 0x11
mov rax, r10
rol rax, 0x20
xor rax, r9
xor rax, r11
xor rax, r10
mov rcx, rax
and rcx, rbp
movdqu xmm0, xmmword [r14 + rcx]
pmovmskb r8d, xmm0
mov r9, rcx
test r8d, r8d
jne 0x1400bca8a
mov r10d, 0x10
mov r9, rcx
nop word cs:[rax + rax]
add r9, r10
and r9, rbp
movdqu xmm0, xmmword [r14 + r9]
pmovmskb r8d, xmm0
add r10, 0x10
test r8d, r8d
je 0x1400bca70
tzcnt r8d, r8d
add r8, r9
and r8, rbp
cmp byte [r14 + r8], 0
js 0x1400bcaaa
movdqa xmm0, xmmword [r14]
pmovmskb edx, xmm0
tzcnt r8d, edx
mov rdx, rdi
sub rdx, rcx
mov r9, r8
sub r9, rcx
xor r9, rdx
and r9, rbp
cmp r9, 0x10
jb 0x1400bc6b0
mov rcx, r8
not rcx
shl rcx, 5
add rcx, r14
movzx edx, byte [r14 + r8]
shr rax, 0x39
lea r9, [r8 - 0x10]
and r9, rbp
mov byte [r14 + r8], al
mov byte [r9 + r14 + 0x10], al
cmp dl, 0xff
je 0x1400bcb20
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rcx]
movups xmmword [rsi], xmm1
movups xmmword [rcx], xmm0
movdqu xmm0, xmmword [rsi + 0x10]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmmword [rsi + 0x10], xmm1
movdqu xmmword [rcx + 0x10], xmm0
jmp 0x1400bc710
lea rax, [rdi - 0x10]
and rax, rbp
mov byte [r14 + rdi], 0xff
mov byte [rax + r14 + 0x10], 0xff
movdqu xmm0, xmmword [rsi]
movdqu xmm1, xmmword [rsi + 0x10]
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x1400bc6c4
mov rcx, qword [rsp + 0x68]
sub rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14000f530
ud2