Function at 0x140143470
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 rdi, qword [rcx + 0x18]
mov rax, rdi
inc rax
je 0x140143ee5
mov r15, rdx
mov r13, rcx
mov rsi, qword [rcx + 8]
lea r8, [rsi + 1]
mov rdx, r8
shr rdx, 3
mov rcx, r8
and rcx, 0xfffffffffffffff8
sub rcx, rdx
cmp rsi, 8
cmovb rcx, rsi
mov rdx, rcx
shr rdx, 1
cmp rax, rdx
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], rsi
jbe 0x1401434f2
inc rcx
cmp rax, rcx
cmova rcx, rax
cmp rcx, 8
jae 0x140143520
xor eax, eax
cmp rcx, 4
setae al
lea r12, [rax*4 + 4]
jmp 0x14014357a
mov rbx, qword [r13]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x140143881
cmp rax, 1
jne 0x140143817
xor edx, edx
jmp 0x140143867
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp rcx, rax
jae 0x140143ee5
shl rcx, 3
mov r12d, 1
cmp rcx, 0xe
jb 0x14014357a
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, 0x70
mov rax, r12
mul rcx
jo 0x140143ee5
mov rbx, rax
lea r13, [r12 + 0x10]
mov rbp, rax
add rbp, r13
jb 0x140143ee5
movabs rax, 0x7ffffffffffffff0
cmp rbp, rax
ja 0x140143ee5
test rbp, rbp
mov qword [rsp + 0x38], r8
je 0x1401435fa
movzx eax, byte [0x14037f348]
mov rcx, qword [0x14037f2d0]
test rcx, rcx
jne 0x1401435e3
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1401435f2
mov rcx, rax
mov qword [0x14037f2d0], rax
xor edx, edx
mov r8, rbp
call fcn.1402699c4
test rax, rax
jne 0x1401435ff
mov rcx, rbp
call fcn.1400da530
mov eax, 0x10
lea rbp, [r12 - 1]
mov rcx, r12
shr rcx, 3
mov rdx, r12
and rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp r12, 9
cmovb rdx, rbp
mov qword [rsp + 0x40], rdx
add rbx, rax
mov rcx, rbx
mov dl, 0xff
mov r8, r13
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x58]
mov r13, qword [rax]
mov qword [rsp + 0x28], rdi
test rdi, rdi
je 0x1401437bc
movdqa xmm0, xmmword [r13]
pmovmskb r14d, xmm0
not r14d
lea rax, [r13 - 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [r15]
mov qword [rsp + 0x60], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x48], rax
xor esi, esi
mov r12, r13
mov r15, qword [rsp + 0x28]
jmp 0x140143707
lea ecx, [r14 - 1]
and ecx, r14d
dec r15
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rbp
mov byte [rbx + rdx], al
mov byte [r8 + rbx + 0x10], al
not rdi
imul rax, rdi, 0x70
not rdx
imul rdx, rdx, 0x70
movups xmm0, xmmword [r13 + rax + 0x60]
movups xmmword [rbx + rdx + 0x60], xmm0
movups xmm0, xmmword [r13 + rax + 0x50]
movups xmmword [rbx + rdx + 0x50], xmm0
movups xmm0, xmmword [r13 + rax + 0x40]
movups xmmword [rbx + rdx + 0x40], xmm0
movdqu xmm0, xmmword [r13 + rax]
movdqu xmm1, xmmword [r13 + rax + 0x10]
movups xmm2, xmmword [r13 + rax + 0x20]
movups xmm3, xmmword [r13 + rax + 0x30]
movups xmmword [rbx + rdx + 0x30], xmm3
movups xmmword [rbx + rdx + 0x20], xmm2
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r14d, ecx
test r15, r15
je 0x1401437bc
test r14w, r14w
jne 0x140143730
nop dword [rax]
movdqa xmm0, xmmword [r12 + 0x10]
add r12, 0x10
pmovmskb r14d, xmm0
add rsi, 0x10
cmp r14d, 0xffff
je 0x140143710
not r14d
tzcnt edi, r14d
add rdi, rsi
mov rax, rdi
neg rax
imul rax, rax, 0x70
mov rcx, qword [rsp + 0x30]
mov r8, qword [rcx + rax + 8]
mov r9, qword [rcx + rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
call fcn.1400eae50
mov rcx, rax
and rcx, rbp
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x140143797
mov r8d, 0x10
nop dword [rax]
add rcx, r8
and rcx, rbp
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x140143780
tzcnt edx, edx
add rdx, rcx
and rdx, rbp
cmp byte [rbx + rdx], 0
js 0x140143680
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x140143680
mov rcx, qword [rsp + 0x40]
sub rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x58]
mov qword [rax], rbx
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rcx
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x140143ec6
mov ecx, 0x70
mov rax, qword [rsp + 0x38]
mul rcx
add r8, rax
cmp r8, 0xffffffffffffffef
je 0x140143ec6
sub r13, rax
mov rcx, qword [0x14037f2d0]
xor edx, edx
mov r8, r13
call fcn.1402699cc
jmp 0x140143ec6
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x140272430]
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 0x140143830
test al, 1
je 0x140143881
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x140272430]
movdqa xmmword [rbx + rdx], xmm0
cmp r8, 0x10
jae 0x1401438a0
lea rcx, [rbx + 0x10]
mov rdx, rbx
call sub.msvcrt.dll_memmove
cmp rsi, 0xffffffffffffffff
jne 0x1401438aa
xor eax, eax
jmp 0x140143ebf
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r8], xmm0
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x48], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x28], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x40], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x38], rax
xor ecx, ecx
xor edi, edi
jmp 0x14014391a
mov r9, rbx
lea rax, [rdi + 1]
add rcx, 0xffffffffffffff90
mov rbx, r9
cmp rdi, rsi
mov rdi, rax
je 0x140143e9d
cmp byte [rbx + rdi], 0x80
jne 0x140143900
imul rdx, rdi, 0xffffffffffffff90
mov rax, rdi
not rax
imul rbp, rax, 0x70
add rbp, rbx
mov rax, rdi
neg rax
mov qword [rsp + 0x60], rax
mov rax, qword [r13]
add rdx, rbx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x68], rcx
lea r11, [rbx + rcx]
mov qword [rsp + 0x30], rdi
jmp 0x1401439d9
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rdx]
movups xmmword [rbp], xmm1
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rbp + 0x10]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rdx + 0x10], xmm0
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rdx + 0x20]
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rbp + 0x30]
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rbp + 0x30], xmm1
movups xmmword [rdx + 0x30], xmm0
movups xmm0, xmmword [rbp + 0x40]
movups xmm1, xmmword [rdx + 0x40]
movups xmmword [rbp + 0x40], xmm1
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rbp + 0x50]
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rbp + 0x50], xmm1
movups xmmword [rdx + 0x50], xmm0
movdqu xmm0, xmmword [rbp + 0x60]
movdqu xmm1, xmmword [rdx + 0x60]
movdqu xmmword [rbp + 0x60], xmm1
movdqu xmmword [rdx + 0x60], xmm0
mov rax, qword [r13]
mov rbx, rax
imul rcx, qword [rsp + 0x60], 0x70
mov r15, qword [rax + rcx - 0x68]
mov r14, qword [rax + rcx - 0x60]
mov rax, r14
and rax, 0xfffffffffffffff8
je 0x140143a80
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
mov r10, qword [rsp + 0x38]
xor r12d, r12d
mov rdx, qword [rsp + 0x48]
nop dword [rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r15 + r12]
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 r12, 8
cmp r12, rax
jb 0x140143a10
mov esi, r14d
and esi, 7
cmp esi, 3
jbe 0x140143aa2
mov edi, dword [r15 + r12]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rsi
jb 0x140143ab2
jmp 0x140143ad1
mov r10, qword [rsp + 0x38]
mov r8, qword [rsp + 0x28]
mov r9, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
xor r12d, r12d
mov esi, r14d
and esi, 7
cmp esi, 3
ja 0x140143a5e
xor edi, edi
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rsi
jae 0x140143ad1
lea rcx, [rax + r12]
movzx r13d, word [r15 + rcx]
lea ecx, [rax*8]
shl r13, cl
or rdi, r13
mov r13, qword [rsp + 0x58]
or rax, 2
cmp rax, rsi
jae 0x140143af0
add r12, rax
movzx r15d, byte [r15 + r12]
shl eax, 3
mov ecx, eax
shl r15, cl
or rdi, r15
jmp 0x140143af5
test rsi, rsi
je 0x140143b52
lea ecx, [rsi*8]
mov r15d, 0xff
shl r15, cl
or r15, rdi
cmp rsi, 7
jne 0x140143c29
mov ecx, 8
add rdx, r8
rol r8, 0xd
sub rcx, rsi
xor r8, rdx
rol rdx, 0x20
xor r10, r15
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, r15
jmp 0x140143b54
xor ecx, ecx
mov esi, 1
sub rsi, rcx
mov eax, esi
and eax, 7
and rsi, 0xfffffffffffffff8
cmp rcx, rsi
jae 0x140143be0
nop word [rax + rax]
add rdx, r8
rol r8, 0xd
xor r8, rdx
rol rdx, 0x20
xor r10, 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
xor rdx, 0xff
add rcx, 8
cmp rcx, rsi
jb 0x140143b70
xor esi, esi
cmp rax, 4
setae sil
cmp eax, 4
mov edi, 0
mov ecx, 0xff
cmovae rdi, rcx
shl rsi, 2
jmp 0x140143be4
xor edi, edi
xor esi, esi
mov r12, rsi
or r12, 1
lea ecx, [rsi*8]
mov r15d, 0xff
shl r15, cl
mov rcx, rsi
or rcx, 2
cmp r12, rax
mov r12d, 0
cmovae r15, r12
cmovae rcx, rsi
or r15, rdi
cmp rcx, rax
jae 0x140143c29
shl ecx, 3
mov eax, 0xff
shl rax, cl
or r15, rax
mov rdi, qword [rsp + 0x30]
shl r14, 0x38
movabs rax, 0x100000000000000
add r14, rax
add rdx, r8
rol r8, 0xd
or r14, r15
xor r8, rdx
rol rdx, 0x20
xor r10, r14
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, r14
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 r8, rdx
xor r10, r9
rol r10, 0x15
add r9, r8
rol r8, 0x11
mov rax, r9
rol rax, 0x20
xor rax, r8
xor rax, r10
xor rax, r9
mov rcx, qword [r13 + 8]
mov rdx, rcx
and rdx, rax
movdqu xmm0, xmmword [rbx + rdx]
pmovmskb r8d, xmm0
mov r9, rdx
test r8d, r8d
jne 0x140143d5a
mov r10d, 0x10
mov r9, rdx
nop word cs:[rax + rax]
add r9, r10
and r9, rcx
movdqu xmm0, xmmword [rbx + r9]
pmovmskb r8d, xmm0
add r10, 0x10
test r8d, r8d
je 0x140143d40
tzcnt r8d, r8d
add r8, r9
and r8, rcx
cmp byte [rbx + r8], 0
js 0x140143d7a
movdqa xmm0, xmmword [rbx]
pmovmskb r8d, xmm0
tzcnt r8d, r8d
mov r9, rdi
sub r9, rdx
mov r10, r8
sub r10, rdx
xor r10, r9
and r10, rcx
cmp r10, 0x10
jb 0x140143e20
mov rdx, r8
not rdx
imul rdx, rdx, 0x70
add rdx, rbx
movzx r10d, byte [rbx + r8]
shr rax, 0x39
lea rsi, [r8 - 0x10]
and rsi, rcx
mov byte [rbx + r8], al
mov r9, qword [r13]
mov byte [rsi + r9 + 0x10], al
cmp r10b, 0xff
je 0x140143e40
imul rax, r8, 0xffffffffffffff90
add rbx, rax
cmp rbp, rbx
jae 0x140143960
cmp rdx, qword [rsp + 0x70]
jae 0x140143960
mov rax, 0xffffffffffffff90
nop dword [rax + rax]
movzx ecx, byte [r11 + rax]
movzx edx, byte [rbx + rax]
mov byte [r11 + rax], dl
mov byte [rbx + rax], cl
movzx ecx, byte [r11 + rax + 1]
movzx edx, byte [rbx + rax + 1]
mov byte [r11 + rax + 1], dl
mov byte [rbx + rax + 1], cl
add rax, 2
jne 0x140143df0
jmp 0x1401439d2
shr rax, 0x39
lea rdx, [rdi - 0x10]
and rcx, rdx
mov byte [rbx + rdi], al
mov r9, qword [r13]
mov byte [rcx + r9 + 0x10], al
jmp 0x140143e8e
lea rax, [rdi - 0x10]
and rax, qword [r13 + 8]
mov byte [r9 + rdi], 0xff
mov byte [rax + r9 + 0x10], 0xff
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rdx + 0x60], xmm0
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rdx + 0x50], xmm0
movups xmm0, xmmword [rbp + 0x40]
movups xmmword [rdx + 0x40], xmm0
movdqu xmm0, xmmword [rbp]
movdqu xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x30]
movups xmmword [rdx + 0x30], xmm3
movups xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
jmp 0x140143903
mov rcx, qword [r13 + 8]
mov rdi, qword [r13 + 0x18]
lea rax, [rcx + 1]
mov rdx, rax
shr rdx, 3
and rax, 0xfffffffffffffff8
sub rax, rdx
cmp rcx, 8
cmovb rax, rcx
sub rax, rdi
mov qword [r13 + 0x10], rax
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
call fcn.1400da4f0
int3