Function at 0x1400480c0
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 r13, rdx
mov rdx, qword [rcx + 0x18]
cmp rdx, 0xffffffffffffffff
je 0x140048927
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 + 0x58], rdx
mov qword [rsp + 0x38], r10
jae 0x140048159
mov qword [rsp + 0x50], r8
mov rbx, qword [r10]
mov rcx, rbp
shr rcx, 4
xor eax, eax
test bpl, 0xf
setne al
add rax, rcx
je 0x140048481
cmp rax, 1
jne 0x140048412
xor edx, edx
jmp 0x140048467
cmp rdx, rax
cmova rax, rdx
cmp rax, 7
jae 0x140048179
xor ecx, ecx
cmp rax, 3
setae cl
lea r14, [rcx*4 + 4]
jmp 0x1400481da
movabs rcx, 0x1ffffffffffffffe
cmp rax, rcx
ja 0x140048927
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 0x140048927
inc r14
mov r15, r14
shl r15, 5
lea r12, [r14 + 0x10]
mov rdx, r15
add rdx, r12
jb 0x140048927
cmp rdx, r9
ja 0x140048927
movzx eax, byte [0x141d2e108]
xor ecx, ecx
call fcn.140031680
test rax, rax
je 0x140048927
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 + 0x30], rcx
add rbx, r15
mov rcx, rbx
mov dl, 0xff
mov r8, r12
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400483b8
mov qword [rsp + 0x50], rbp
mov rax, qword [rsp + 0x38]
mov r12, qword [rax]
movdqa xmm0, xmmword [r12]
pmovmskb r15d, xmm0
not r15d
lea rax, [r12 - 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [r13]
mov qword [rsp + 0x48], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x40], rax
xor ebp, ebp
mov qword [rsp + 0x28], r12
mov r13, rcx
jmp 0x1400482f4
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 + 0x28]
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 0x1400483ac
test r15w, r15w
jne 0x140048320
nop word [rax + rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r15d, xmm0
add rbp, 0x10
cmp r15d, 0xffff
je 0x140048300
not r15d
tzcnt r14d, r15d
add r14, rbp
mov rax, r14
shl rax, 5
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov r8, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
call fcn.140045db0
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140048387
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 0x140048370
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x1400482a0
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400482a0
mov rax, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x50]
jmp 0x1400483c5
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x30]
sub rcx, qword [rsp + 0x58]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rcx
test rsi, rsi
movabs rax, 0x7ffffffffffffff0
je 0x140048912
shl rbp, 5
mov r8, qword [rsp + 0x28]
sub r8, rbp
mov rcx, qword [0x141d2e0f8]
xor edx, edx
mov rsi, rax
call sub.KERNEL32.dll_HeapFree
mov rax, rsi
jmp 0x140048912
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x14005ce80]
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 0x140048430
test al, 1
je 0x140048481
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x14005ce80]
movdqa xmmword [rbx + rdx], xmm0
cmp rbp, 0x10
jae 0x1400484a2
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, rbp
call sub.msvcrt.dll_memmove
test rbp, rbp
jne 0x1400484ab
xor ecx, ecx
jmp 0x1400488fa
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 + 0x40], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x30], rax
xor r11d, r11d
mov qword [rsp + 0x68], rsi
jmp 0x140048523
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 0x1400488ed
cmp byte [rbx + r11], 0x80
jne 0x140048513
mov rax, r11
not rax
shl rax, 5
add rax, rbx
mov qword [rsp + 0x48], rax
mov rax, r11
shl rax, 5
mov rcx, rbx
sub rcx, rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x28], r11
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x60]
mov r12, qword [rax - 0x18]
mov rdi, qword [rax - 0x10]
mov rax, rdi
and rax, 0xfffffffffffffff8
je 0x140048600
mov r9, qword [rsp + 0x40]
mov r8, r15
mov r10, qword [rsp + 0x30]
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 0x140048590
mov r14d, edi
and r14d, 7
cmp r14d, 4
jb 0x14004861f
mov r11d, dword [r12 + rbp]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r14
jb 0x140048630
jmp 0x14004865c
mov r10, qword [rsp + 0x30]
mov r8, r15
mov r9, qword [rsp + 0x40]
mov rdx, r13
xor ebp, ebp
mov r14d, edi
and r14d, 7
cmp r14d, 4
jae 0x1400485e0
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r14
jae 0x14004865c
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 + 0x68]
or rax, 2
cmp rax, r14
jae 0x140048680
add rbp, rax
movzx r12d, byte [r12 + rbp]
shl eax, 3
mov ecx, eax
shl r12, cl
or r11, r12
jmp 0x140048685
test r14, r14
je 0x1400486f7
lea ecx, [r14*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp r14, 7
jne 0x1400486f0
mov ecx, 8
sub rcx, r14
xor r10, rax
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
xor rdx, rax
mov r11, qword [rsp + 0x28]
cmp ecx, 1
je 0x140048703
mov eax, 0xff
jmp 0x140048705
mov r11, qword [rsp + 0x28]
jmp 0x140048705
xor ecx, ecx
mov r11, qword [rsp + 0x28]
cmp ecx, 1
jne 0x1400486e6
xor eax, eax
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 0x140048828
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 0x140048810
tzcnt edx, edx
add rdx, r8
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x140048844
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 0x140048500
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 0x1400488c0
mov rax, qword [rsp + 0x48]
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 0x140048560
lea rax, [r11 - 0x10]
and rax, rsi
mov byte [rbx + r11], 0xff
mov byte [rbx + rax + 0x10], 0xff
mov rax, qword [rsp + 0x48]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x140048513
cmp rsi, 8
mov rcx, qword [rsp + 0x50]
cmovb rcx, rsi
sub rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x38]
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
ud2