Function at 0x1400451a0
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
mov r15, rdx
mov rdx, qword [rcx + 0x18]
cmp rdx, 0xffffffffffffffff
je 0x140045a18
mov r9, rcx
mov rdi, qword [rcx + 8]
lea r14, [rdi + 1]
mov rax, r14
shr rax, 3
mov r10, r14
and r10, 0xfffffffffffffff8
sub r10, rax
cmp rdi, 8
mov rcx, r10
cmovb rcx, rdi
movabs r8, 0x7ffffffffffffff0
mov rax, rcx
shr rax, 1
cmp rdx, rax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x28], r9
jae 0x140045239
mov qword [rsp + 0x48], r10
mov rbx, qword [r9]
mov rcx, r14
shr rcx, 4
xor eax, eax
test r14b, 0xf
setne al
add rax, rcx
je 0x140045581
cmp rax, 1
jne 0x140045518
xor edx, edx
jmp 0x140045567
lea rax, [rdx + 1]
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x140045260
xor eax, eax
cmp rcx, 4
setae al
lea r12, [rax*4 + 4]
jmp 0x1400452ae
movabs rax, 0x1ffffffffffffffe
or rax, 1
cmp rcx, rax
ja 0x140045a18
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 r12, 0xffffffffffffffff
shr r12, cl
inc r12
mov ecx, 0x18
mov rax, r12
mul rcx
jo 0x140045a18
mov r13, rax
cmp rax, 0xfffffffffffffff0
ja 0x140045a18
add r13, 0xf
and r13, 0xfffffffffffffff0
lea rbp, [r12 + 0x10]
mov rsi, r13
add rsi, rbp
jb 0x140045a18
cmp rsi, r8
ja 0x140045a18
movzx eax, byte [0x1401ba120]
xor ecx, ecx
mov rdx, rsi
call fcn.14010f230
test rax, rax
je 0x140045a1d
mov rbx, rax
lea rsi, [r12 - 1]
mov rax, r12
shr rax, 3
mov rcx, r12
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r12, 9
cmovb rcx, rsi
mov qword [rsp + 0x30], rcx
add rbx, r13
mov rcx, rbx
mov dl, 0xff
mov r8, rbp
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400454a8
mov qword [rsp + 0x48], r14
mov rax, qword [rsp + 0x28]
mov r12, qword [rax]
movdqa xmm0, xmmword [r12]
pmovmskb r13d, xmm0
not r13d
lea rax, [r12 - 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov qword [rsp + 0x20], r12
mov r15, rcx
jmp 0x1400453e8
lea ecx, [r13 - 1]
and ecx, r13d
dec r15
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r8 + 0x10], al
not rbp
lea rax, [rbp*2]
add rax, rbp
not rdx
lea rdx, [rdx + rdx*2]
mov r9, qword [rsp + 0x20]
mov r8, qword [r9 + rax*8 + 0x10]
mov qword [rbx + rdx*8 + 0x10], r8
movdqu xmm0, xmmword [r9 + rax*8]
movdqu xmmword [rbx + rdx*8], xmm0
mov r13d, ecx
test r15, r15
je 0x14004549c
test r13w, r13w
jne 0x140045410
nop
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r13d, xmm0
add r14, 0x10
cmp r13d, 0xffff
je 0x1400453f0
not r13d
tzcnt ebp, r13d
add rbp, r14
mov rax, rbp
neg rax
lea rax, [rax + rax*2]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rcx + rax*8 + 8]
mov r9, qword [rcx + rax*8 + 0x10]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
call fcn.140072ca0
mov rcx, rsi
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140045477
mov r8d, 0x10
nop dword [rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140045460
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x140045390
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x140045390
mov rax, qword [rsp + 0x28]
mov r14, qword [rsp + 0x48]
jmp 0x1400454b5
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x30]
sub rcx, qword [rsp + 0x50]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rcx
test rdi, rdi
movabs rsi, 0x7ffffffffffffff0
je 0x140045a00
mov ecx, 0x18
mov rax, r14
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rdi, rax
cmp rdi, 0xffffffffffffffef
je 0x140045a00
mov r8, qword [rsp + 0x20]
sub r8, rax
mov rcx, qword [0x1401ba0e0]
xor edx, edx
call fcn.1401336c4
jmp 0x140045a00
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x140138bb0]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r8]
por xmm1, xmm0
movdqa xmmword [rbx + r8], xmm1
lea rdx, [r8 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r8 + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + r8 + 0x10], xmm1
mov r8, rdx
add rcx, 0xfffffffffffffffe
jne 0x140045530
test al, 1
je 0x140045581
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x140138bb0]
movdqa xmmword [rbx + rdx], xmm0
cmp r14, 0x10
jae 0x1400455a2
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memmove
test r14, r14
jne 0x1400455ac
xor ecx, ecx
jmp 0x1400459e8
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r14], xmm0
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
movabs r12, 0x736f6d6570736575
xor r12, rax
movabs r15, 0x646f72616e646f6d
xor r15, rcx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x38], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x30], rax
xor r11d, r11d
mov qword [rsp + 0x60], rdi
jmp 0x140045623
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, rdi
mov byte [rbx + r11], al
mov byte [rbx + rcx + 0x10], al
lea rax, [r11 + 1]
cmp r11, rdi
mov r11, rax
je 0x1400459db
cmp byte [rbx + r11], 0x80
jne 0x140045613
mov rax, r11
not rax
lea rax, [rax + rax*2]
lea rax, [rbx + rax*8]
mov qword [rsp + 0x40], rax
mov rax, r11
neg rax
lea rax, [rax + rax*2]
lea rax, [rbx + rax*8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], r11
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x58]
mov rsi, qword [rax - 0x10]
mov r10, qword [rax - 8]
mov rax, r10
and rax, 0xfffffffffffffff8
je 0x140045700
mov r13, qword [rsp + 0x38]
mov r8, r15
mov rbp, qword [rsp + 0x30]
xor r9d, r9d
mov rdx, r12
nop dword [rax]
mov rcx, qword [rsi + r9]
xor rbp, rcx
add rdx, r8
rol r8, 0xd
add r13, rbp
xor r8, rdx
rol rbp, 0x10
xor rbp, r13
rol rdx, 0x20
add r13, r8
add rdx, rbp
rol r8, 0x11
xor r8, r13
rol rbp, 0x15
rol r13, 0x20
xor rbp, rdx
xor rdx, rcx
add r9, 8
cmp r9, rax
jb 0x140045690
mov r14d, r10d
and r14d, 7
cmp r14d, 4
jb 0x140045720
mov r11d, dword [rsi + r9]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r14
jb 0x140045731
jmp 0x14004575c
mov rbp, qword [rsp + 0x30]
mov r8, r15
mov r13, qword [rsp + 0x38]
mov rdx, r12
xor r9d, r9d
mov r14d, r10d
and r14d, 7
cmp r14d, 4
jae 0x1400456e0
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r14
jae 0x14004575c
lea rcx, [rsi + rax]
mov rdi, r15
mov r15, r12
movzx r12d, word [r9 + rcx]
lea ecx, [rax*8]
shl r12, cl
or r11, r12
mov r12, r15
mov r15, rdi
mov rdi, qword [rsp + 0x60]
or rax, 2
cmp rax, r14
jae 0x140045780
add r9, rax
movzx r9d, byte [rsi + r9]
shl eax, 3
mov ecx, eax
shl r9, cl
or r11, r9
jmp 0x140045785
test r14, r14
je 0x1400457d8
lea ecx, [r14*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp r14, 7
jne 0x1400457e0
xor rbp, rax
add rdx, r8
add r13, rbp
rol r8, 0xd
rol rbp, 0x10
xor r8, rdx
xor rbp, r13
rol rdx, 0x20
add r13, r8
add rdx, rbp
rol r8, 0x11
xor r8, r13
rol rbp, 0x15
xor rbp, rdx
rol r13, 0x20
xor rdx, rax
xor eax, eax
jmp 0x1400457e0
mov eax, 0xff
nop dword [rax]
mov r11, qword [rsp + 0x20]
shl r10, 0x38
movabs rcx, 0x100000000000000
add r10, rcx
or r10, rax
xor rbp, r10
add rdx, r8
rol r8, 0xd
add r13, rbp
xor r8, rdx
rol rbp, 0x10
xor rbp, r13
rol rdx, 0x20
add r13, r8
add rdx, rbp
rol r8, 0x11
xor r8, r13
rol rbp, 0x15
rol r13, 0x20
xor rbp, rdx
xor rdx, r10
xor r13, 0xff
add rdx, r8
add r13, rbp
rol r8, 0xd
xor r8, rdx
rol rbp, 0x10
rol rdx, 0x20
xor rbp, r13
add r13, r8
rol r8, 0x11
add rdx, rbp
xor r8, r13
rol rbp, 0x15
xor rbp, rdx
rol r13, 0x20
add rdx, r8
add r13, rbp
rol r8, 0xd
xor r8, rdx
rol rbp, 0x10
rol rdx, 0x20
xor rbp, r13
add r13, r8
rol r8, 0x11
add rdx, rbp
xor r8, r13
rol rbp, 0x15
xor rbp, rdx
rol r13, 0x20
add rdx, r8
add r13, rbp
rol r8, 0xd
xor r8, rdx
rol rbp, 0x10
xor rbp, r13
add r13, r8
rol r8, 0x11
rol rbp, 0x15
mov rax, r13
rol rax, 0x20
xor rax, r8
xor rax, rbp
xor rax, r13
mov rcx, rdi
and rcx, rax
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x140045908
mov r9d, 0x10
mov r8, rcx
nop word cs:[rax + rax]
add r8, r9
and r8, rdi
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x1400458f0
tzcnt edx, edx
add rdx, r8
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x140045924
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, rdi
cmp r9, 0x10
jb 0x140045600
mov rcx, rdx
not rcx
lea rcx, [rcx + rcx*2]
lea rcx, [rbx + rcx*8]
movzx r8d, byte [rbx + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rdi
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
cmp r8b, 0xff
je 0x1400459b0
mov r8, qword [rsp + 0x40]
mov rax, qword [r8]
mov rdx, qword [rcx]
mov qword [r8], rdx
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov rdx, qword [rcx + 8]
mov qword [r8 + 8], rdx
mov qword [rcx + 8], rax
mov rax, qword [r8 + 0x10]
mov rdx, qword [rcx + 0x10]
mov qword [r8 + 0x10], rdx
mov qword [rcx + 0x10], rax
jmp 0x140045660
lea rax, [r11 - 0x10]
and rax, rdi
mov byte [rbx + r11], 0xff
mov byte [rbx + rax + 0x10], 0xff
mov rdx, qword [rsp + 0x40]
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movdqu xmm0, xmmword [rdx]
movdqu xmmword [rcx], xmm0
jmp 0x140045613
cmp rdi, 8
mov rcx, qword [rsp + 0x48]
cmovb rcx, rdi
sub rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
movabs rsi, 0x7ffffffffffffff0
add rsi, 0x11
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140036640
mov rcx, rsi
call fcn.140036680
int3