Function at 0x1400488c0
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 r13, rdx
mov rdx, qword [rcx + 0x18]
cmp rdx, 0xffffffffffffffff
je 0x140049107
mov r10, rcx
mov rsi, qword [rcx + 8]
lea rbp, [rsi + 1]
mov rax, rbp
shr rax, 3
mov r8, rbp
and r8, 0xfffffffffffffff8
sub r8, rax
cmp rsi, 8
mov rax, r8
cmovb rax, rsi
movabs r9, 0x7ffffffffffffff0
mov rcx, rax
shr rcx, 1
cmp rdx, rcx
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x30], r10
jae 0x140048959
mov qword [rsp + 0x48], r8
mov rbx, qword [r10]
mov rcx, rbp
shr rcx, 4
xor eax, eax
test bpl, 0xf
setne al
add rax, rcx
je 0x140048c81
cmp rax, 1
jne 0x140048c12
xor edx, edx
jmp 0x140048c67
cmp rdx, rax
cmova rax, rdx
cmp rax, 7
jae 0x140048979
xor ecx, ecx
cmp rax, 3
setae cl
lea r14, [rcx*4 + 4]
jmp 0x1400489da
movabs rcx, 0x1ffffffffffffffe
cmp rax, rcx
ja 0x140049107
movabs r8, 0x7fffffffffffffe
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 r14, 0xffffffffffffffff
shr r14, cl
cmp r14, r8
ja 0x140049107
inc r14
mov r15, r14
shl r15, 5
lea r12, [r14 + 0x10]
mov rdx, r15
add rdx, r12
jb 0x140049107
cmp rdx, r9
ja 0x140049107
movzx eax, byte [0x141d94108]
xor ecx, ecx
call fcn.1400321b0
test rax, rax
je 0x140049107
mov rbx, rax
lea rdi, [r14 - 1]
mov rax, r14
shr rax, 3
mov rcx, r14
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r14, 9
cmovb rcx, rdi
mov qword [rsp + 0x28], rcx
add rbx, r15
mov rcx, rbx
mov dl, 0xff
mov r8, r12
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140048bb8
mov qword [rsp + 0x48], rbp
mov rax, qword [rsp + 0x30]
mov r12, qword [rax]
movdqa xmm0, xmmword [r12]
pmovmskb r15d, xmm0
not r15d
lea rax, [r12 - 0x20]
mov qword [rsp + 0x58], rax
mov rax, qword [r13]
mov qword [rsp + 0x40], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov qword [rsp + 0x20], r12
mov r13, rcx
jmp 0x140048af4
lea ecx, [r15 - 1]
and ecx, r15d
dec r13
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rdi
mov byte [rbx + rdx], al
mov byte [rbx + r8 + 0x10], al
not r14
shl r14, 5
not rdx
shl rdx, 5
mov rax, qword [rsp + 0x20]
movdqu xmm0, xmmword [rax + r14]
movdqu xmm1, xmmword [rax + r14 + 0x10]
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r15d, ecx
test r13, r13
je 0x140048bac
test r15w, r15w
jne 0x140048b20
nop word [rax + rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r15d, xmm0
add rbp, 0x10
cmp r15d, 0xffff
je 0x140048b00
not r15d
tzcnt r14d, r15d
add r14, rbp
mov rax, r14
shl rax, 5
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
call fcn.140046aa0
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140048b87
mov r8d, 0x10
nop word [rax + rax]
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140048b70
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x140048aa0
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x140048aa0
mov rax, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
jmp 0x140048bc5
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x28]
sub rcx, qword [rsp + 0x50]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rcx
test rsi, rsi
movabs rax, 0x7ffffffffffffff0
je 0x1400490f2
shl rbp, 5
mov r8, qword [rsp + 0x20]
sub r8, rbp
mov rcx, qword [0x141d940e8]
xor edx, edx
mov rsi, rax
call sub.KERNEL32.dll_HeapFree
mov rax, rsi
jmp 0x1400490f2
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x14005de80]
nop word [rax + rax]
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 0x140048c30
test al, 1
je 0x140048c81
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x14005de80]
movdqa xmmword [rbx + rdx], xmm0
cmp rbp, 0x10
jae 0x140048ca2
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, rbp
call sub.msvcrt.dll_memmove
test rbp, rbp
jne 0x140048cab
xor ecx, ecx
jmp 0x1400490da
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + rbp], xmm0
mov rax, qword [r13]
mov rcx, qword [r13 + 8]
movabs r13, 0x736f6d6570736575
xor r13, 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 + 0x28], rax
xor r11d, r11d
mov qword [rsp + 0x60], rsi
jmp 0x140048d23
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, rsi
mov byte [rbx + r11], al
mov byte [rbx + rcx + 0x10], al
lea rax, [r11 + 1]
cmp r11, rsi
mov r11, rax
je 0x1400490cd
cmp byte [rbx + r11], 0x80
jne 0x140048d13
mov rax, r11
not rax
shl rax, 5
add rax, rbx
mov qword [rsp + 0x40], rax
mov rax, r11
shl rax, 5
mov rcx, rbx
sub rcx, rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x20], r11
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x58]
mov r12, qword [rax - 0x18]
mov rdi, qword [rax - 0x10]
mov rax, rdi
and rax, 0xfffffffffffffff8
je 0x140048e00
mov r9, qword [rsp + 0x38]
mov r8, r15
mov r10, qword [rsp + 0x28]
xor ebp, ebp
mov rdx, r13
nop dword [rax]
mov rcx, qword [r12 + rbp]
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 rbp, 8
cmp rbp, rax
jb 0x140048d90
mov r14d, edi
and r14d, 7
cmp r14d, 4
jb 0x140048e1f
mov r11d, dword [r12 + rbp]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r14
jb 0x140048e30
jmp 0x140048e5c
mov r10, qword [rsp + 0x28]
mov r8, r15
mov r9, qword [rsp + 0x38]
mov rdx, r13
xor ebp, ebp
mov r14d, edi
and r14d, 7
cmp r14d, 4
jae 0x140048de0
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r14
jae 0x140048e5c
lea rcx, [r12 + rax]
mov rsi, r15
mov r15, r13
movzx r13d, word [rbp + rcx]
lea ecx, [rax*8]
shl r13, cl
or r11, r13
mov r13, r15
mov r15, rsi
mov rsi, qword [rsp + 0x60]
or rax, 2
cmp rax, r14
jae 0x140048e80
add rbp, rax
movzx r12d, byte [r12 + rbp]
shl eax, 3
mov ecx, eax
shl r12, cl
or r11, r12
jmp 0x140048e85
test r14, r14
je 0x140048ed8
lea ecx, [r14*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp r14, 7
jne 0x140048ee0
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 0x140048ee0
mov eax, 0xff
nop dword [rax]
mov r11, qword [rsp + 0x20]
shl rdi, 0x38
movabs rcx, 0x100000000000000
add rdi, rcx
or rdi, rax
xor r10, rdi
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, rdi
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 0x140049008
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 0x140048ff0
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x140049024
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 0x140048d00
mov rcx, rdx
not rcx
shl rcx, 5
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 0x1400490a0
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rcx]
movups xmmword [rax], xmm1
movups xmmword [rcx], xmm0
movdqu xmm0, xmmword [rax + 0x10]
movdqu xmm1, xmmword [rcx + 0x10]
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rcx + 0x10], xmm0
jmp 0x140048d60
lea rax, [r11 - 0x10]
and rax, rsi
mov byte [rbx + r11], 0xff
mov byte [rbx + rax + 0x10], 0xff
mov rax, qword [rsp + 0x40]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x140048d13
cmp rsi, 8
mov rcx, qword [rsp + 0x48]
cmovb rcx, rsi
sub rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x10], rcx
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2