Function at 0x140043ea0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r12, qword [rcx + 0x18]
add rdx, r12
jb 0x1400447f6
mov rbx, r8
mov r15, rcx
mov rsi, qword [rcx + 8]
lea rdi, [rsi + 1]
mov rax, rdi
shr rax, 3
mov r9, rdi
and r9, 0xfffffffffffffff8
sub r9, rax
cmp rsi, 8
cmovb r9, rsi
movabs r8, 0x7ffffffffffffff0
mov rax, r9
shr rax, 1
cmp rdx, rax
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x50], r12
jbe 0x140043f31
inc r9
cmp rdx, r9
cmova r9, rdx
cmp r9, 8
mov qword [rsp + 0x30], rbx
jae 0x140043f63
xor eax, eax
cmp r9, 4
setae al
lea r14, [rax*4 + 4]
jmp 0x140043fbd
mov qword [rsp + 0x68], r9
mov r14, qword [r15]
mov rcx, rdi
shr rcx, 4
xor eax, eax
test dil, 0xf
setne al
add rax, rcx
je 0x1400442b0
cmp rax, 1
jne 0x140044244
xor ecx, ecx
jmp 0x140044298
movabs rax, 0x1ffffffffffffffe
add rax, 2
cmp r9, rax
jae 0x1400447f6
shl r9, 3
mov r14d, 1
cmp r9, 0xe
jb 0x140043fbd
movabs rcx, 0x2492492492492493
mov rax, r9
mul rcx
sub r9, rdx
shr r9, 1
add r9, rdx
shr r9, 2
dec r9
bsr rcx, r9
not ecx
mov r14, 0xffffffffffffffff
shr r14, cl
inc r14
mov ecx, 0x30
mov rax, r14
mul rcx
jo 0x1400447f6
mov rbx, rax
lea r13, [r14 + 0x10]
mov rbp, rax
add rbp, r13
jb 0x1400447f6
cmp rbp, r8
ja 0x1400447f6
test rbp, rbp
je 0x14004402d
movzx eax, byte [0x1403ac1f0]
mov rcx, qword [0x1403ac160]
test rcx, rcx
jne 0x140044016
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x140044025
mov rcx, rax
mov qword [0x1403ac160], rax
xor edx, edx
mov r8, rbp
call sub.kernel32.dll_HeapAlloc
test rax, rax
jne 0x140044032
mov rcx, rbp
call fcn.1400daee0
mov eax, 0x10
mov qword [rsp + 0x40], rdi
lea rdi, [r14 - 1]
mov rcx, r14
shr rcx, 3
mov rdx, r14
and rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp r14, 9
cmovb rdx, rdi
mov qword [rsp + 0x48], rdx
add rbx, rax
mov rcx, rbx
mov dl, 0xff
mov r8, r13
call sub.msvcrt.dll_memset
mov rax, qword [r15]
mov qword [rsp + 0x28], rax
test r12, r12
je 0x1400441ec
mov r13, qword [rsp + 0x28]
movdqa xmm0, xmmword [r13]
pmovmskb r12d, xmm0
not r12d
lea rax, [r13 - 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
xor ebp, ebp
mov r14, qword [rsp + 0x50]
jmp 0x14004412b
lea ecx, [r12 - 1]
and ecx, r12d
dec r14
shr rax, 0x39
lea r8, [rdx - 0x10]
and r8, rdi
mov byte [rbx + rdx], al
mov byte [r8 + rbx + 0x10], al
shl r15, 4
lea rax, [r15 + r15*2]
mov r8, qword [rsp + 0x28]
sub r8, rax
shl rdx, 4
lea rax, [rdx + rdx*2]
mov rdx, rbx
sub rdx, rax
neg rax
movdqu xmm0, xmmword [r8 - 0x30]
movdqu xmm1, xmmword [r8 - 0x20]
movups xmm2, xmmword [r8 - 0x10]
movdqu xmmword [rbx + rax - 0x30], xmm0
movups xmmword [rdx - 0x10], xmm2
movdqu xmmword [rdx - 0x20], xmm1
mov r12d, ecx
test r14, r14
je 0x1400441ec
test r12w, r12w
jne 0x14004415f
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r13 + 0x10]
add r13, 0x10
pmovmskb r12d, xmm0
add rbp, 0x10
cmp r12d, 0xffff
je 0x140044140
not r12d
tzcnt r15d, r12d
add r15, rbp
mov rax, r15
neg rax
lea rax, [rax + rax*2]
shl rax, 4
mov rcx, qword [rsp + 0x38]
mov r8, qword [rcx + rax + 8]
mov r9, qword [rcx + rax + 0x10]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
call fcn.1401bbf70
mov rcx, rax
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400441c7
mov r8d, 0x10
nop dword [rax]
add rcx, r8
and rcx, rdi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400441b0
tzcnt edx, edx
add rdx, rcx
and rdx, rdi
cmp byte [rbx + rdx], 0
js 0x1400440c0
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400440c0
mov rcx, qword [rsp + 0x48]
sub rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov qword [rax], rbx
mov qword [rax + 8], rdi
mov qword [rax + 0x10], rcx
test rsi, rsi
je 0x1400442dd
mov ecx, 0x30
mov rax, qword [rsp + 0x40]
mul rcx
add rsi, rax
cmp rsi, 0xffffffffffffffef
je 0x1400442dd
mov r8, qword [rsp + 0x28]
sub r8, rax
mov rcx, qword [0x1403ac160]
xor edx, edx
call fcn.14029804c
jmp 0x1400442dd
movabs rdx, 0x1ffffffffffffffe
and rdx, rax
xor ecx, ecx
movdqa xmm0, xmmword [0x14029c6f0]
nop dword [rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + rcx]
por xmm1, xmm0
movdqa xmmword [r14 + rcx], xmm1
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + rcx + 0x10]
por xmm1, xmm0
movdqa xmmword [r14 + rcx + 0x10], xmm1
add rcx, 0x20
add rdx, 0xfffffffffffffffe
jne 0x140044260
test al, 1
je 0x1400442b0
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + rcx]
por xmm0, xmmword [0x14029c6f0]
movdqa xmmword [r14 + rcx], xmm0
cmp rdi, 0x10
jae 0x1400442ff
lea rcx, [r14 + 0x10]
mov rdx, r14
mov r8, rdi
call sub.msvcrt.dll_memmove
test rdi, rdi
jne 0x14004430a
mov rcx, qword [rsp + 0x68]
sub rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
movabs rax, 0x7ffffffffffffff0
add rax, 0x11
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + rdi], xmm0
mov rax, qword [rbx]
mov rcx, qword [rbx + 8]
movabs r13, 0x736f6d6570736575
xor r13, rax
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x30], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x48], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x40], rax
lea r12, [r14 - 0x2e]
xor edi, edi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rsi
jmp 0x140044398
shr rax, 0x39
lea rcx, [rdi - 0x10]
and rcx, rsi
mov byte [r14 + rdi], al
mov byte [rcx + r14 + 0x10], al
lea rax, [rdi + 1]
add r12, 0xffffffffffffffd0
cmp rdi, rsi
mov rdi, rax
je 0x1400442ca
cmp byte [r14 + rdi], 0x80
jne 0x140044384
mov rax, rdi
shl rax, 4
lea rax, [rax + rax*2]
mov rcx, r14
sub rcx, rax
mov qword [rsp + 0x80], rcx
neg rax
add rax, r14
add rax, 0xffffffffffffffd0
mov qword [rsp + 0x28], rax
mov rax, rdi
neg rax
lea rax, [rax + rax*2]
shl rax, 4
add rax, r14
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], rdi
jmp 0x140044425
mov rax, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rdx]
movups xmmword [rax], xmm1
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rdx + 0x10], xmm0
movdqu xmm0, xmmword [rax + 0x20]
movdqu xmm1, xmmword [rdx + 0x20]
movdqu xmmword [rax + 0x20], xmm1
movdqu xmmword [rdx + 0x20], xmm0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax - 0x28]
mov r15, qword [rax - 0x20]
mov rax, r15
and rax, 0xfffffffffffffff8
je 0x1400444d0
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
mov r10, qword [rsp + 0x40]
xor r11d, r11d
mov rdx, r13
nop word cs:[rax + rax]
add rdx, r8
rol r8, 0xd
mov rcx, qword [rbx + 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 0x140044460
mov ebp, r15d
and ebp, 7
cmp ebp, 3
jbe 0x1400444f0
mov edi, dword [rbx + r11]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, rbp
jb 0x140044500
jmp 0x140044525
mov r10, qword [rsp + 0x40]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x48]
mov rdx, r13
xor r11d, r11d
mov ebp, r15d
and ebp, 7
cmp ebp, 3
ja 0x1400444ae
xor edi, edi
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, rbp
jae 0x140044525
lea rcx, [rax + r11]
mov rsi, r13
movzx r13d, word [rbx + rcx]
lea ecx, [rax*8]
shl r13, cl
or rdi, r13
mov r13, rsi
mov rsi, qword [rsp + 0x78]
or rax, 2
cmp rax, rbp
jae 0x140044550
add r11, rax
movzx r11d, byte [rbx + r11]
shl eax, 3
mov ecx, eax
shl r11, cl
or rdi, r11
inc r15
jmp 0x140044558
inc r15
test rbp, rbp
je 0x1400445aa
lea ecx, [rbp*8]
mov eax, 0xff
shl rax, cl
or rax, rdi
cmp rbp, 7
jne 0x1400445b0
add rdx, r8
rol r8, 0xd
xor r10, rax
xor r8, rdx
rol rdx, 0x20
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, rax
xor eax, eax
jmp 0x1400445b0
mov eax, 0xff
nop
mov rdi, qword [rsp + 0x38]
shl r15, 0x38
add rdx, r8
rol r8, 0xd
or r15, rax
xor r8, rdx
rol rdx, 0x20
xor r10, r15
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, r15
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, rax
and rcx, rsi
movdqu xmm0, xmmword [r14 + rcx]
pmovmskb r8d, xmm0
mov rdx, rcx
test r8d, r8d
jne 0x1400446ca
mov r9d, 0x10
mov rdx, rcx
nop word [rax + rax]
add rdx, r9
and rdx, rsi
movdqu xmm0, xmmword [r14 + rdx]
pmovmskb r8d, xmm0
add r9, 0x10
test r8d, r8d
je 0x1400446b0
tzcnt r8d, r8d
add r8, rdx
and r8, rsi
cmp byte [r14 + r8], 0
js 0x1400446ea
movdqa xmm0, xmmword [r14]
pmovmskb edx, xmm0
tzcnt r8d, edx
mov rdx, rdi
sub rdx, rcx
mov r9, r8
sub r9, rcx
xor r9, rdx
and r9, rsi
cmp r9, 0x10
jb 0x140044370
mov rcx, r8
shl rcx, 4
lea rcx, [rcx + rcx*2]
mov rdx, r14
sub rdx, rcx
add rdx, 0xffffffffffffffd0
movzx r9d, byte [r14 + r8]
shr rax, 0x39
lea r10, [r8 - 0x10]
and r10, rsi
mov byte [r14 + r8], al
mov byte [r10 + r14 + 0x10], al
cmp r9b, 0xff
je 0x1400447c0
neg rcx
lea rax, [r14 + rcx]
cmp qword [rsp + 0x28], rax
jae 0x1400443f0
cmp rdx, qword [rsp + 0x80]
jae 0x1400443f0
add rcx, qword [rsp + 0x70]
xor eax, eax
nop word cs:[rax + rax]
movzx edx, byte [r12 + rax - 2]
movzx r8d, byte [rcx + rax - 2]
mov byte [r12 + rax - 2], r8b
mov byte [rcx + rax - 2], dl
movzx edx, byte [r12 + rax - 1]
movzx r8d, byte [rcx + rax - 1]
mov byte [r12 + rax - 1], r8b
mov byte [rcx + rax - 1], dl
movzx edx, byte [r12 + rax]
movzx r8d, byte [rcx + rax]
mov byte [r12 + rax], r8b
mov byte [rcx + rax], dl
add rax, 3
cmp rax, 0x30
jne 0x140044770
jmp 0x140044425
lea rax, [rdi - 0x10]
and rax, rsi
mov byte [r14 + rdi], 0xff
mov byte [rax + r14 + 0x10], 0xff
mov rax, qword [rsp + 0x28]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm2
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
jmp 0x140044384
call fcn.1400daea0
int3