Function at 0x1401225d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov r14, qword [rcx + 0x18]
mov rax, r14
inc rax
je 0x1401232f0
mov rsi, rdx
mov r11, rcx
mov rbp, qword [rcx + 8]
lea r8, [rbp + 1]
mov rdx, r8
shr rdx, 3
mov rcx, r8
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp rbp, 8
cmovb rcx, rbp
movabs rdi, 0x7ffffffffffffff0
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x90], rbp
jbe 0x140122677
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x38], rsi
jae 0x1401226a4
xor eax, eax
cmp rcx, 4
setae al
lea r12, [rax*4 + 4]
jmp 0x1401226fe
mov rbx, qword [r11]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x140122a11
cmp rax, 1
jne 0x1401229a7
xor edx, edx
jmp 0x1401229f7
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rcx, rax
jae 0x1401232f0
shl rcx, 3
mov r12d, 1
cmp rcx, 0xe
jb 0x1401226fe
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, 0x118
mov rax, r12
mul rcx
jo 0x1401232f0
mov rsi, rax
add rsi, 0xf
and rsi, 0xfffffffffffffff0
lea r15, [r12 + 0x10]
mov r13, rsi
add r13, r15
jb 0x1401232f0
cmp r13, rdi
ja 0x1401232f0
test r13, r13
mov qword [rsp + 0x30], r14
je 0x14012277f
movzx eax, byte [0x14037f348]
mov rcx, qword [0x14037f2d0]
test rcx, rcx
jne 0x140122765
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140122777
mov rcx, rax
mov qword [0x14037f2d0], rax
xor edx, edx
mov r8, r13
call fcn.1402699c4
mov rbx, rax
test rax, rax
jne 0x140122784
mov rcx, r13
call fcn.1400da530
mov ebx, 0x10
lea r14, [r12 - 1]
mov rax, r12
shr rax, 3
mov rcx, r12
and rcx, 0xfffffffffffffff8
sub rcx, rax
cmp r12, 9
cmovb rcx, r14
mov qword [rsp + 0xa0], rcx
add rbx, rsi
mov rcx, rbx
mov dl, 0xff
mov r8, r15
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x30], 0
je 0x14012292f
mov r12, qword [rsp + 0x40]
movdqa xmm0, xmmword [r12]
pmovmskb r13d, xmm0
not r13d
lea rax, [r12 - 0x118]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
mov qword [rsp + 0xa8], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov rsi, qword [rsp + 0x30]
jmp 0x140122870
lea edi, [r13 - 1]
and edi, r13d
dec rsi
shr rax, 0x39
lea rcx, [r8 - 0x10]
and rcx, r14
mov byte [rbx + r8], al
mov byte [rcx + rbx + 0x10], al
not r15
imul rdx, r15, 0x118
add rdx, qword [rsp + 0x40]
not r8
imul rcx, r8, 0x118
add rcx, rbx
mov r8d, 0x118
call sub.msvcrt.dll_memcpy
mov r13d, edi
test rsi, rsi
je 0x14012292f
test r13w, r13w
jne 0x1401228a0
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r13d, xmm0
add rbp, 0x10
cmp r13d, 0xffff
je 0x140122880
not r13d
tzcnt r15d, r13d
add r15, rbp
mov rax, r15
neg rax
imul r8, rax, 0x118
add r8, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x38]
call fcn.140122420
mov rcx, rax
and rcx, r14
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140122907
mov r8d, 0x10
nop dword [rax + rax]
add rcx, r8
and rcx, r14
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1401228f0
tzcnt r8d, edx
add r8, rcx
and r8, r14
cmp byte [rbx + r8], 0
js 0x140122820
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt r8d, ecx
jmp 0x140122820
mov rcx, qword [rsp + 0xa0]
sub rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rax + 8], r14
mov qword [rax + 0x10], rcx
mov r8, qword [rsp + 0x90]
test r8, r8
movabs rdi, 0x7ffffffffffffff0
je 0x1401232cd
mov ecx, 0x118
mov rax, qword [rsp + 0x98]
mul rcx
add rax, 0xf
and rax, 0xfffffffffffffff0
add r8, rax
cmp r8, 0xffffffffffffffef
je 0x1401232cd
mov r8, qword [rsp + 0x40]
sub r8, rax
mov rcx, qword [0x14037f2d0]
xor edx, edx
call fcn.1402699cc
jmp 0x1401232cd
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x1402722c0]
nop
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r9]
por xmm1, xmm0
movdqa xmmword [rbx + r9], xmm1
lea rdx, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rbx + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [rbx + r9 + 0x10], xmm1
mov r9, rdx
add rcx, 0xfffffffffffffffe
jne 0x1401229c0
test al, 1
je 0x140122a11
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x1402722c0]
movdqa xmmword [rbx + rdx], xmm0
cmp r8, 0x10
jae 0x140122a35
lea rcx, [rbx + 0x10]
mov rdx, rbx
call sub.msvcrt.dll_memmove
mov r11, qword [rsp + 0x20]
cmp rbp, 0xffffffffffffffff
jne 0x140122a3f
xor eax, eax
jmp 0x1401232c6
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r8], xmm0
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
movabs r8, 0x646f72616e646f6d
xor r8, rcx
movabs r14, 0x6c7967656e657261
mov qword [rsp + 0xb0], rax
xor r14, rax
movabs rsi, 0x7465646279746573
mov qword [rsp + 0xa8], rcx
xor rsi, rcx
mov qword [rsp + 0x38], rdx
lea rax, [rdx + r8]
mov qword [rsp + 0x30], r8
rol r8, 0xd
xor r8, rax
rol rax, 0x20
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r8
rol r8, 0x11
mov qword [rsp + 0xc8], r8
xorps xmm6, xmm6
xor ecx, ecx
xor r13d, r13d
jmp 0x140122aed
mov rdi, rbx
lea rax, [r13 + 1]
add rcx, 0xfffffffffffffee8
mov rbx, rdi
cmp r13, rbp
mov r13, rax
je 0x14012329a
cmp byte [rbx + r13], 0x80
jne 0x140122ad0
imul rdx, r13, 0xfffffffffffffee8
mov rax, r13
not rax
imul r15, rax, 0x118
add r15, rbx
mov rax, r13
neg rax
mov qword [rsp + 0x40], rax
mov rax, qword [r11]
add rdx, rbx
mov qword [rsp + 0xc0], rdx
mov qword [rsp + 0xb8], rcx
lea rbp, [rbx + rcx]
jmp 0x140122d1a
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmm2, xmmword [rcx]
movups xmm3, xmmword [rcx + 0x10]
movups xmmword [r15], xmm2
movups xmmword [r15 + 0x10], xmm3
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [r15 + 0x20]
movups xmm1, xmmword [r15 + 0x30]
movups xmm2, xmmword [rcx + 0x20]
movups xmm3, xmmword [rcx + 0x30]
movups xmmword [r15 + 0x20], xmm2
movups xmmword [r15 + 0x30], xmm3
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [r15 + 0x40]
movups xmm1, xmmword [r15 + 0x50]
movups xmm2, xmmword [rcx + 0x40]
movups xmm3, xmmword [rcx + 0x50]
movups xmmword [r15 + 0x40], xmm2
movups xmmword [r15 + 0x50], xmm3
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [r15 + 0x60]
movups xmm1, xmmword [r15 + 0x70]
movups xmm2, xmmword [rcx + 0x60]
movups xmm3, xmmword [rcx + 0x70]
movups xmmword [r15 + 0x60], xmm2
movups xmmword [r15 + 0x70], xmm3
movups xmmword [rcx + 0x60], xmm0
movups xmmword [rcx + 0x70], xmm1
movups xmm0, xmmword [r15 + 0x80]
movups xmm1, xmmword [r15 + 0x90]
movups xmm2, xmmword [rcx + 0x80]
movups xmm3, xmmword [rcx + 0x90]
movups xmmword [r15 + 0x80], xmm2
movups xmmword [r15 + 0x90], xmm3
movups xmmword [rcx + 0x80], xmm0
movups xmmword [rcx + 0x90], xmm1
movups xmm0, xmmword [r15 + 0xa0]
movups xmm1, xmmword [r15 + 0xb0]
movups xmm2, xmmword [rcx + 0xa0]
movups xmm3, xmmword [rcx + 0xb0]
movups xmmword [r15 + 0xa0], xmm2
movups xmmword [r15 + 0xb0], xmm3
movups xmmword [rcx + 0xa0], xmm0
movups xmmword [rcx + 0xb0], xmm1
movups xmm0, xmmword [r15 + 0xc0]
movups xmm1, xmmword [r15 + 0xd0]
movups xmm2, xmmword [rcx + 0xc0]
movups xmm3, xmmword [rcx + 0xd0]
movups xmmword [r15 + 0xc0], xmm2
movups xmmword [r15 + 0xd0], xmm3
movups xmmword [rcx + 0xc0], xmm0
movups xmmword [rcx + 0xd0], xmm1
movdqu xmm0, xmmword [r15 + 0xe0]
movdqu xmm1, xmmword [r15 + 0xf0]
movups xmm2, xmmword [rcx + 0xe0]
movups xmm3, xmmword [rcx + 0xf0]
movups xmmword [r15 + 0xe0], xmm2
movups xmmword [r15 + 0xf0], xmm3
movdqu xmmword [rcx + 0xe0], xmm0
movdqu xmmword [rcx + 0xf0], xmm1
mov rax, qword [r15 + 0x100]
mov rdx, qword [rcx + 0x100]
mov qword [r15 + 0x100], rdx
mov qword [rcx + 0x100], rax
mov rax, qword [r15 + 0x108]
mov rdx, qword [rcx + 0x108]
mov qword [r15 + 0x108], rdx
mov qword [rcx + 0x108], rax
mov rax, qword [r15 + 0x110]
mov rdx, qword [rcx + 0x110]
mov qword [r15 + 0x110], rdx
mov qword [rcx + 0x110], rax
mov rax, qword [r11]
mov rbx, rax
imul rcx, qword [rsp + 0x40], 0x118
lea r12, [rax + rcx]
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r14
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rsi
mov rdx, qword [rsp + 0xb0]
mov qword [rsp + 0x68], rdx
mov rdx, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rdx
lea rdx, [rsp + 0x80]
movups xmmword [rdx], xmm6
mov rdx, qword [rax + rcx - 0x118]
mov qword [rsp + 0x78], 8
mov rax, rdx
xor rax, rsi
lea rcx, [rax + r14]
rol rax, 0x10
xor rax, rcx
add rcx, qword [rsp + 0xa0]
mov r8, rcx
rol r8, 0x20
mov r9, qword [rsp + 0x98]
lea r10, [rax + r9]
xor rcx, qword [rsp + 0xc8]
rol rax, 0x15
xor rax, r10
xor r10, rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x48], r10
movups xmmword [rsp + 0x80], xmm6
cmp rdx, 1
je 0x140122f20
cmp edx, 2
je 0x140122f20
cmp edx, 3
jne 0x140123040
mov rdx, qword [r12 - 0x110]
lea rcx, [rsp + 0x48]
call fcn.14011b5b0
mov rdx, qword [rsp + 0x78]
mov r10, qword [rsp + 0x88]
mov rcx, qword [r12 - 0x108]
mov qword [rsp + 0x28], rcx
add rdx, 8
test r10, r10
je 0x14012322d
mov r8d, 8
sub r8, r10
cmp r8, 8
mov r11d, 8
cmovb r11, r8
xor eax, eax
cmp r11, 4
mov r9d, ecx
mov ecx, 0
cmovb r9, rcx
setae al
lea rcx, [rax*4 + 1]
shl rax, 2
cmp rcx, r11
jae 0x140122e7d
movzx edi, word [rsp + rax + 0x28]
lea ecx, [rax*8]
shl rdi, cl
or r9, rdi
or rax, 2
cmp rax, r11
jae 0x140122e93
movzx r11d, byte [rsp + rax + 0x28]
shl eax, 3
mov ecx, eax
shl r11, cl
or r9, r11
mov r11, qword [rsp + 0x20]
lea ecx, [r10*8]
shl r9, cl
or r9, qword [rsp + 0x80]
cmp r10, 8
ja 0x14012302a
mov r10, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
add rax, rcx
rol rcx, 0xd
xor r10, r9
xor rcx, rax
rol rax, 0x20
mov r11, qword [rsp + 0x50]
add r11, r10
rol r10, 0x10
xor r10, r11
add rax, r10
rol r10, 0x15
xor r10, rax
add r11, rcx
rol rcx, 0x11
mov qword [rsp + 0x60], r10
xor rcx, r11
rol r11, 0x20
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r11
mov r11, qword [rsp + 0x20]
xor rax, r9
mov qword [rsp + 0x48], rax
jmp 0x140122f35
mov rax, qword [r12 - 0x110]
mov qword [rsp + 0x28], rax
mov edx, 0x10
xor r8d, r8d
mov r10d, 8
sub r10, r8
mov rax, r10
and rax, 0xfffffffffffffff8
cmp r8, rax
jae 0x140122fbd
mov rcx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov r11, qword [rsp + 0x58]
nop
add rcx, r11
rol r11, 0xd
mov rdi, qword [rsp + r8 + 0x28]
xor r11, rcx
rol rcx, 0x20
xor r12, rdi
add r9, r12
rol r12, 0x10
xor r12, r9
add rcx, r12
rol r12, 0x15
add r9, r11
rol r11, 0x11
xor r11, r9
rol r9, 0x20
xor r12, rcx
xor rcx, rdi
add r8, 8
cmp r8, rax
jb 0x140122f60
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x48], rcx
mov r11, qword [rsp + 0x20]
and r10d, 7
cmp r10d, 3
jbe 0x140122fe0
mov r9d, dword [rsp + r8 + 0x28]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r10
jb 0x140122ff1
jmp 0x140123011
xor r9d, r9d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r10
jae 0x140123011
lea rcx, [rax + r8]
movzx r11d, word [rsp + rcx + 0x28]
lea ecx, [rax*8]
shl r11, cl
or r9, r11
mov r11, qword [rsp + 0x20]
or rax, 2
cmp rax, r10
jae 0x14012302a
add r8, rax
movzx r8d, byte [rsp + r8 + 0x28]
shl eax, 3
mov ecx, eax
shl r8, cl
or r9, r8
mov r10, qword [rsp + 0x48]
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
jmp 0x140123048
mov edx, 8
xor r9d, r9d
shl rdx, 0x38
add r10, rcx
rol rcx, 0xd
or rdx, r9
xor rcx, r10
rol r10, 0x20
xor rax, rdx
add r8, rax
rol rax, 0x10
xor rax, r8
add r10, rax
rol rax, 0x15
add r8, rcx
rol rcx, 0x11
xor rax, r10
xor rcx, r8
rol r8, 0x20
xor r10, rdx
add r10, rcx
rol rcx, 0xd
xor rcx, r10
rol r10, 0x20
xor r8, 0xff
add r8, rax
rol rax, 0x10
xor rax, r8
add r10, rax
rol rax, 0x15
add r8, rcx
rol rcx, 0x11
xor rcx, r8
rol r8, 0x20
xor rax, r10
add r10, rcx
rol rcx, 0xd
xor rcx, r10
rol r10, 0x20
add r8, rax
rol rax, 0x10
xor rax, r8
add r10, rax
rol rax, 0x15
add r8, rcx
rol rcx, 0x11
xor rcx, r8
rol r8, 0x20
xor rax, r10
add r10, rcx
rol rcx, 0xd
add r8, rax
rol rax, 0x10
xor rcx, r10
xor rax, r8
rol rax, 0x15
add r8, rcx
rol rcx, 0x11
mov rdx, r8
rol rdx, 0x20
xor rdx, rcx
xor rdx, rax
xor rdx, r8
mov rax, qword [r11 + 8]
mov rcx, rax
and rcx, rdx
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb r8d, xmm0
mov r9, rcx
test r8d, r8d
jne 0x14012315a
mov r10d, 0x10
mov r9, rcx
add r9, r10
and r9, rax
movdqu xmm0, xmmword [rbx + r9]
pmovmskb r8d, xmm0
add r10, 0x10
test r8d, r8d
je 0x140123140
tzcnt r8d, r8d
add r8, r9
and r8, rax
cmp byte [rbx + r8], 0
js 0x14012317a
movdqa xmm0, xmmword [rbx]
pmovmskb r8d, xmm0
tzcnt r8d, r8d
mov r9, r13
sub r9, rcx
mov r10, r8
sub r10, rcx
xor r10, r9
and r10, rax
cmp r10, 0x10
jb 0x140123240
mov rcx, r8
not rcx
imul rcx, rcx, 0x118
add rcx, rbx
movzx r9d, byte [rbx + r8]
shr rdx, 0x39
lea r10, [r8 - 0x10]
and r10, rax
mov byte [rbx + r8], dl
mov rdi, qword [r11]
mov byte [r10 + rdi + 0x10], dl
cmp r9b, 0xff
je 0x140123260
imul rax, r8, 0xfffffffffffffee8
add rbx, rax
cmp r15, rbx
jae 0x140122b40
cmp rcx, qword [rsp + 0xc0]
jae 0x140122b40
mov rax, 0xfffffffffffffee8
nop word cs:[rax + rax]
movzx ecx, byte [rbp + rax]
movzx edx, byte [rbx + rax]
mov byte [rbp + rax], dl
mov byte [rbx + rax], cl
movzx ecx, byte [rbp + rax + 1]
movzx edx, byte [rbx + rax + 1]
mov byte [rbp + rax + 1], dl
mov byte [rbx + rax + 1], cl
add rax, 2
jne 0x140123200
jmp 0x140122d14
xor r8d, r8d
mov r11, qword [rsp + 0x20]
jmp 0x140122f35
shr rdx, 0x39
lea rcx, [r13 - 0x10]
and rax, rcx
mov byte [rbx + r13], dl
mov rdi, qword [r11]
mov byte [rax + rdi + 0x10], dl
jmp 0x140123285
lea rax, [r13 - 0x10]
and rax, qword [r11 + 8]
mov byte [rdi + r13], 0xff
mov byte [rax + rdi + 0x10], 0xff
mov r8d, 0x118
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov r11, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xb8]
jmp 0x140122ad3
mov rcx, qword [r11 + 8]
mov r14, qword [r11 + 0x18]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
movabs rdi, 0x7ffffffffffffff0
sub rax, r14
mov qword [r11 + 0x10], rax
add rdi, 0x11
mov rax, rdi
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400da4f0
int3