Function at 0x140123b50
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 rax, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
inc rax
je 0x1401244ed
mov rbx, rdx
mov rdi, rcx
mov rbp, qword [rcx]
lea r8, [rbp + 1]
mov rcx, r8
shr rcx, 3
mov rdx, r8
and rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp rbp, 8
mov qword [rsp + 0x58], rdx
mov rcx, rdx
cmovb rcx, rbp
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
jbe 0x140123bd5
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x140123c48
xor eax, eax
cmp rcx, 4
setae al
lea rsi, [rax*4 + 4]
jmp 0x140123c97
mov qword [rsp + 0x20], rdi
mov rdi, qword [rdi + 0x18]
test r8, r8
je 0x140123d09
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rdi]
por xmm0, xmmword [0x1401286a0]
movdqa xmmword [rdi], xmm0
cmp r8, 0x11
jb 0x140123c2d
mov eax, 0x10
movdqa xmm0, xmmword [0x1401286a0]
nop
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + rax]
por xmm1, xmm0
movdqa xmmword [rdi + rax], xmm1
add rax, 0x10
jb 0x140123c2d
cmp rax, r8
jb 0x140123c10
cmp r8, 0x10
jae 0x140123f0c
lea rcx, [rdi + 0x10]
mov rdx, rdi
call fcn.140110cd0
jmp 0x140123f16
mov rax, rcx
shr rax, 0x3d
jne 0x1401244ed
shl rcx, 3
mov esi, 1
cmp rcx, 0xe
jb 0x140123c97
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 rsi, 0xffffffffffffffff
shr rsi, cl
inc rsi
mov ecx, 0x68
mov rax, rsi
mul rcx
jo 0x1401244ed
mov r15, rax
add r15, 0xf
jb 0x1401244ed
and r15, 0xfffffffffffffff0
lea r12, [rsi + 0x10]
mov r13, r15
add r13, r12
jb 0x1401244ed
je 0x140123d1c
mov rcx, qword [0x140195bd0]
test rcx, rcx
jne 0x140123cec
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x140123cff
mov rcx, rax
mov qword [0x140195bd0], rax
xor edx, edx
mov r8, r13
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov r14, rax
test rax, rax
jne 0x140123d22
mov rcx, r13
call fcn.140020fe0
ud2
lea rcx, [rdi + 0x10]
mov rdx, rdi
call fcn.140110cd0
xor ecx, ecx
jmp 0x1401244c4
mov r14d, 0x10
mov r13, rsi
dec rsi
mov rax, r13
shr rax, 3
and r13, 0xfffffffffffffff8
sub r13, rax
cmp rsi, 8
cmovb r13, rsi
add r14, r15
mov rcx, r14
mov dl, 0xff
mov r8, r12
call fcn.140111a10
mov rax, qword [rsp + 0x28]
sub r13, rax
cmp rbp, 0xffffffffffffffff
je 0x140123eb7
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x20], rdi
mov r15, qword [rdi + 0x18]
lea r13, [r15 - 0x68]
mov r12, qword [rbx]
mov rbx, qword [rbx + 8]
xor edi, edi
jmp 0x140123e09
shr rax, 0x39
lea rcx, [rdx - 0x10]
and rcx, rsi
mov byte [r14 + rdx], al
mov byte [rcx + r14 + 0x10], al
mov rax, rdi
not rax
imul rax, rax, 0x68
not rdx
imul rcx, rdx, 0x68
mov rdx, qword [r15 + rax + 0x60]
mov qword [r14 + rcx + 0x60], rdx
movups xmm0, xmmword [r15 + rax + 0x50]
movups xmmword [r14 + rcx + 0x50], xmm0
movups xmm0, xmmword [r15 + rax + 0x40]
movups xmmword [r14 + rcx + 0x40], xmm0
movdqu xmm0, xmmword [r15 + rax]
movdqu xmm1, xmmword [r15 + rax + 0x10]
movups xmm2, xmmword [r15 + rax + 0x20]
movups xmm3, xmmword [r15 + rax + 0x30]
movups xmmword [r14 + rcx + 0x30], xmm3
movups xmmword [r14 + rcx + 0x20], xmm2
movdqu xmmword [r14 + rcx + 0x10], xmm1
movdqu xmmword [r14 + rcx], xmm0
lea rax, [rdi + 1]
cmp rdi, rbp
mov rdi, rax
je 0x140123e8f
cmp byte [r15 + rdi], 0
js 0x140123df9
mov rax, rdi
neg rax
imul rax, rax, 0x68
mov r8, qword [r13 + rax + 8]
mov r9, qword [r13 + rax + 0x10]
mov rcx, r12
mov rdx, rbx
call fcn.1400c4a40
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [r14 + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140123e68
mov r8d, 0x10
nop dword [rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [r14 + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140123e50
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [r14 + rdx], 0
js 0x140123d80
movdqa xmm0, xmmword [r14]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x140123d80
mov rax, qword [rsp + 0x20]
mov qword [rax], rsi
mov rcx, qword [rsp + 0x30]
mov qword [rax + 8], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], r14
test rbp, rbp
jne 0x140123ed1
jmp 0x1401244d2
mov r15, qword [rdi + 0x18]
mov qword [rdi], rsi
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], r14
mov rbp, 0xffffffffffffffff
lea rax, [rbp + 1]
mov ecx, 0x68
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rbp, rax
cmp rbp, 0xffffffffffffffef
je 0x1401244d2
sub r15, rax
mov rcx, qword [0x140195bd0]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1401244d2
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r8], xmm0
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x50], rdx
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 r10d, r10d
jmp 0x140123f93
shr rax, 0x39
lea rcx, [r10 - 0x10]
and rcx, rbp
mov byte [rdi + r10], al
mov byte [rcx + rdi + 0x10], al
lea rax, [r10 + 1]
cmp r10, rbp
mov r10, rax
je 0x1401244b7
cmp byte [rdi + r10], 0x80
jne 0x140123f83
mov rax, r10
not rax
imul r13, rax, 0x68
add r13, rdi
mov qword [rsp + 0x30], r10
mov rax, r10
neg rax
imul rax, rax, 0x68
add rax, rdi
add rax, 0xffffffffffffff98
mov qword [rsp + 0x60], rax
nop word cs:[rax + rax]
mov rax, qword [rsp + 0x60]
mov r14, qword [rax + 8]
mov rbx, qword [rax + 0x10]
mov r15d, ebx
and r15d, 7
mov rax, rbx
and rax, 0xfffffffffffffff8
je 0x140124070
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
xor r11d, r11d
mov rdx, qword [rsp + 0x50]
nop dword [rax + rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r14 + r11]
xor r8, rdx
rol rdx, 0x20
xor r10, rcx
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
xor rdx, rcx
add r11, 8
cmp r11, rax
jb 0x140124010
cmp r15d, 3
jbe 0x14012408d
mov r12d, dword [r14 + r11]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r15
jb 0x14012409e
jmp 0x1401240b8
mov rdx, qword [rsp + 0x50]
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov r10, qword [rsp + 0x38]
xor r11d, r11d
cmp r15d, 3
ja 0x140124059
xor eax, eax
xor r12d, r12d
mov rcx, rax
or rcx, 1
cmp rcx, r15
jae 0x1401240b8
lea rcx, [rax + r11]
movzx esi, word [r14 + rcx]
lea ecx, [rax*8]
shl rsi, cl
or r12, rsi
or rax, 2
cmp rax, r15
jae 0x1401240e0
add r11, rax
movzx r11d, byte [r14 + r11]
shl eax, 3
mov ecx, eax
shl r11, cl
or r12, r11
jmp 0x1401240e5
test r15, r15
je 0x140124143
lea ecx, [r15*8]
mov r11d, 0xff
shl r11, cl
or r11, r12
cmp r15, 7
jne 0x140124243
mov ecx, 8
add rdx, r8
rol r8, 0xd
sub rcx, r15
xor r8, rdx
rol rdx, 0x20
xor r10, r11
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
xor r10, rdx
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor rdx, r11
jmp 0x140124145
xor ecx, ecx
mov r11d, 1
sub r11, rcx
mov eax, r11d
and eax, 7
and r11, 0xfffffffffffffff8
cmp rcx, r11
jae 0x1401241f0
nop word cs:[rax + rax]
add rdx, r8
rol r8, 0xd
mov rsi, r10
xor r8, rdx
rol rdx, 0x20
xor rsi, 0xff
add r9, rsi
shld rsi, r10, 0x10
xor rsi, r9
add rdx, rsi
rol rsi, 0x15
add r9, r8
rol r8, 0x11
mov r10, rsi
xor r8, r9
rol r9, 0x20
xor r10, rdx
xor rdx, 0xff
add rcx, 8
cmp rcx, r11
jb 0x140124170
xor r11d, r11d
cmp rax, 4
setae r11b
shl r11, 2
cmp eax, 4
mov r14d, 0
mov ecx, 0xff
cmovae r14, rcx
jmp 0x1401241f6
xor r11d, r11d
xor r14d, r14d
mov rsi, r11
lea ecx, [r11*8]
mov r15d, 0xff
shl r15, cl
or rsi, 1
mov r12, r11
or r12, 2
cmp rsi, rax
cmovae r12, r11
mov esi, 0
cmovae r15, rsi
or r15, r14
lea ecx, [r12*8]
mov r11d, 0xff
shl r11, cl
cmp r12, rax
cmovae r11, rsi
or r11, r15
shl rbx, 0x38
movabs rax, 0x100000000000000
add rbx, rax
add rdx, r8
rol r8, 0xd
or rbx, r11
xor r8, rdx
rol rdx, 0x20
xor r10, rbx
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r10, rdx
xor r8, r9
rol r9, 0x20
xor rdx, rbx
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r9, 0xff
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
add r9, r10
rol r10, 0x10
xor r10, r9
add rdx, r10
rol r10, 0x15
add r9, r8
rol r8, 0x11
xor r8, r9
rol r9, 0x20
xor r10, rdx
add rdx, r8
rol r8, 0xd
add r9, r10
rol r10, 0x10
xor r10, r9
rol r10, 0x15
xor r8, rdx
add r9, r8
rol r8, 0x11
mov rax, r9
rol rax, 0x20
xor rax, r8
xor rax, r10
xor rax, r9
mov rcx, rbp
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
mov r10, qword [rsp + 0x30]
jne 0x140124368
mov r9d, 0x10
mov r8, rcx
nop word [rax + rax]
add r8, r9
and r8, rbp
movdqu xmm0, xmmword [rdi + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x140124350
tzcnt edx, edx
add rdx, r8
and rdx, rbp
cmp byte [rdi + rdx], 0
js 0x140124384
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r10
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rbp
cmp r9, 0x10
jb 0x140123f70
mov rcx, rdx
not rcx
imul rcx, rcx, 0x68
add rcx, rdi
movzx r8d, byte [rdi + rdx]
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rbp
mov byte [rdi + rdx], al
mov byte [r9 + rdi + 0x10], al
cmp r8b, 0xff
je 0x140124460
movups xmm0, xmmword [r13]
movups xmm1, xmmword [rcx]
movups xmmword [r13], xmm1
movups xmmword [rcx], xmm0
movups xmm0, xmmword [r13 + 0x10]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r13 + 0x10], xmm1
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [r13 + 0x20]
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [r13 + 0x20], xmm1
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [r13 + 0x30]
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [r13 + 0x30], xmm1
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [r13 + 0x40]
movups xmm1, xmmword [rcx + 0x40]
movups xmmword [r13 + 0x40], xmm1
movups xmmword [rcx + 0x40], xmm0
movdqu xmm0, xmmword [r13 + 0x50]
movdqu xmm1, xmmword [rcx + 0x50]
movdqu xmmword [r13 + 0x50], xmm1
movdqu xmmword [rcx + 0x50], xmm0
mov rax, qword [r13 + 0x60]
mov rdx, qword [rcx + 0x60]
mov qword [r13 + 0x60], rdx
mov qword [rcx + 0x60], rax
jmp 0x140123fd0
lea rax, [r10 - 0x10]
and rax, rbp
mov byte [rdi + r10], 0xff
mov byte [rax + rdi + 0x10], 0xff
mov rax, qword [r13 + 0x60]
mov qword [rcx + 0x60], rax
movups xmm0, xmmword [r13 + 0x50]
movups xmmword [rcx + 0x50], xmm0
movups xmm0, xmmword [r13 + 0x40]
movups xmmword [rcx + 0x40], xmm0
movdqu xmm0, xmmword [r13]
movdqu xmm1, xmmword [r13 + 0x10]
movups xmm2, xmmword [r13 + 0x20]
movups xmm3, xmmword [r13 + 0x30]
movups xmmword [rcx + 0x30], xmm3
movups xmmword [rcx + 0x20], xmm2
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x140123f83
cmp rbp, 8
mov rcx, qword [rsp + 0x58]
cmovb rcx, rbp
sub rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], rcx
movabs rax, 0x8000000000000001
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140020f90
ud2