Function at 0x140044f00
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 r10, qword [rcx + 0x18]
cmp r10, 0xffffffffffffffff
je 0x14004571a
mov r12, rdx
mov r9, rcx
mov rbp, qword [rcx + 8]
lea r15, [rbp + 1]
mov rax, r15
shr rax, 3
mov rdx, r15
and rdx, 0xfffffffffffffff8
sub rdx, rax
cmp rbp, 8
mov rax, rdx
cmovb rax, rbp
movabs r8, 0x7ffffffffffffff0
mov rcx, rax
shr rcx, 1
cmp r10, rcx
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r10
jae 0x140044f99
mov qword [rsp + 0x60], rdx
mov rbx, qword [r9]
mov rcx, r15
shr rcx, 4
xor eax, eax
test r15b, 0xf
setne al
add rax, rcx
je 0x1400452b1
cmp rax, 1
jne 0x140045243
xor edx, edx
jmp 0x140045297
cmp r10, rax
cmova rax, r10
cmp rax, 7
jae 0x140044fb9
xor ecx, ecx
cmp rax, 3
setae cl
lea rdi, [rcx*4 + 4]
jmp 0x14004501a
movabs rcx, 0x1ffffffffffffffe
cmp rax, rcx
ja 0x14004571a
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 rdi, 0xffffffffffffffff
shr rdi, cl
movabs rax, 0x7fffffffffffffe
cmp rdi, rax
ja 0x14004571a
inc rdi
mov r14, rdi
shl r14, 5
lea r15, [rdi + 0x10]
mov rdx, r14
add rdx, r15
jb 0x14004571a
cmp rdx, r8
ja 0x14004571a
movzx eax, byte [0x1428c8100]
xor ecx, ecx
call fcn.1400321e0
test rax, rax
je 0x14004571a
mov rbx, rax
lea rsi, [rdi - 1]
mov rax, rdi
shr rax, 3
mov r13, rdi
and r13, 0xfffffffffffffff8
sub r13, rax
cmp rdi, 9
cmovb r13, rsi
add rbx, r14
mov rcx, rbx
mov dl, 0xff
mov r8, r15
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x48]
mov r8, qword [rax]
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x1400451ed
mov qword [rsp + 0x20], r13
movdqa xmm0, xmmword [r8]
pmovmskb r14d, xmm0
not r14d
mov rcx, qword [r12]
mov qword [rsp + 0x30], rcx
mov rcx, qword [r12 + 8]
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov r15, r8
mov r12, rax
mov qword [rsp + 0x38], r8
jmp 0x14004511f
lea ecx, [r14 - 1]
and ecx, r14d
dec r12
shr rax, 0x39
lea r9, [rdx - 0x10]
and r9, rsi
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
not rdi
shl rdi, 5
not rdx
shl rdx, 5
movdqu xmm0, xmmword [r8 + rdi]
movdqu xmm1, xmmword [r8 + rdi + 0x10]
movdqu xmmword [rbx + rdx + 0x10], xmm1
movdqu xmmword [rbx + rdx], xmm0
mov r14d, ecx
test r12, r12
je 0x1400451e1
test r14w, r14w
jne 0x14004514f
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r15 + 0x10]
add r15, 0x10
pmovmskb r14d, xmm0
add r13, 0x10
cmp r14d, 0xffff
je 0x140045130
not r14d
tzcnt edi, r14d
add rdi, r13
mov rax, rdi
shl rax, 5
mov rcx, r8
sub rcx, rax
mov r8, qword [rcx - 0x18]
mov r9, qword [rcx - 0x10]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
call fcn.140044040
mov rcx, rax
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
test edx, edx
jne 0x1400451b7
mov r8d, 0x10
nop word cs:[rax + rax]
add rcx, r8
and rcx, rsi
movdqu xmm0, xmmword [rbx + rcx]
pmovmskb edx, xmm0
add r8, 0x10
test edx, edx
je 0x1400451a0
mov r8, qword [rsp + 0x38]
tzcnt edx, edx
add rdx, rcx
and rdx, rsi
cmp byte [rbx + rdx], 0
js 0x1400450d0
movdqa xmm0, xmmword [rbx]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x1400450d0
mov rax, qword [rsp + 0x40]
mov r13, qword [rsp + 0x20]
jmp 0x1400451ef
xor eax, eax
sub r13, rax
mov rax, qword [rsp + 0x48]
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], r13
test rbp, rbp
movabs rsi, 0x7ffffffffffffff0
je 0x140045702
mov rax, rbp
shl rax, 5
add rbp, rax
cmp rbp, 0xffffffffffffffcf
je 0x140045702
sub r8, rax
add r8, 0xffffffffffffffe0
mov rcx, qword [0x1428c80c8]
xor edx, edx
call sub.KERNEL32.dll_HeapFree
jmp 0x140045702
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r8d, r8d
movdqa xmm0, xmmword [0x14005ab60]
nop dword [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 0x140045260
test al, 1
je 0x1400452b1
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [rbx + rdx]
por xmm0, xmmword [0x14005ab60]
movdqa xmmword [rbx + rdx], xmm0
cmp r15, 0x10
jae 0x1400452d2
lea rcx, [rbx + 0x10]
mov rdx, rbx
mov r8, r15
call sub.msvcrt.dll_memmove
test r15, r15
jne 0x1400452dc
xor ecx, ecx
jmp 0x1400456ea
movdqu xmm0, xmmword [rbx]
movdqu xmmword [rbx + r15], xmm0
mov rax, qword [r12]
mov rcx, qword [r12 + 8]
movabs rdx, 0x736f6d6570736575
xor rdx, rax
mov qword [rsp + 0x28], rdx
movabs rdx, 0x646f72616e646f6d
xor rdx, rcx
mov qword [rsp + 0x20], rdx
movabs rdx, 0x6c7967656e657261
xor rdx, rax
mov qword [rsp + 0x58], rdx
movabs rax, 0x7465646279746573
xor rax, rcx
mov qword [rsp + 0x50], rax
xor r15d, r15d
jmp 0x140045363
shr rax, 0x39
lea rcx, [r15 - 0x10]
and rcx, rbp
mov byte [rbx + r15], al
mov byte [rbx + rcx + 0x10], al
lea rax, [r15 + 1]
cmp r15, rbp
mov r15, rax
je 0x1400456dd
cmp byte [rbx + r15], 0x80
jne 0x140045353
mov rax, r15
not rax
shl rax, 5
add rax, rbx
mov qword [rsp + 0x30], rax
mov rax, r15
shl rax, 5
mov rcx, rbx
sub rcx, rax
mov qword [rsp + 0x38], rcx
nop
mov rax, qword [rsp + 0x38]
mov r12, qword [rax - 0x18]
mov r13, qword [rax - 0x10]
mov rax, r13
and rax, 0xfffffffffffffff8
je 0x140045430
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x20]
mov r10, qword [rsp + 0x50]
xor edi, edi
mov rdx, qword [rsp + 0x28]
add rdx, r8
rol r8, 0xd
mov rcx, qword [r12 + rdi]
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 rdi, 8
cmp rdi, rax
jb 0x1400453c0
mov r14d, r13d
and r14d, 7
cmp r14d, 4
jb 0x140045453
mov r11d, dword [r12 + rdi]
mov eax, 4
mov rcx, rax
or rcx, 1
cmp rcx, r14
jb 0x140045464
jmp 0x14004547d
mov r10, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x28]
xor edi, edi
mov r14d, r13d
and r14d, 7
cmp r14d, 4
jae 0x140045410
xor r11d, r11d
xor eax, eax
mov rcx, rax
or rcx, 1
cmp rcx, r14
jae 0x14004547d
lea rcx, [r12 + rax]
movzx esi, word [rdi + rcx]
lea ecx, [rax*8]
shl rsi, cl
or r11, rsi
or rax, 2
cmp rax, r14
jae 0x1400454a0
add rdi, rax
movzx esi, byte [r12 + rdi]
shl eax, 3
mov ecx, eax
shl rsi, cl
or r11, rsi
jmp 0x1400454a5
test r14, r14
je 0x1400454f8
lea ecx, [r14*8]
mov eax, 0xff
shl rax, cl
or rax, r11
cmp r14, 7
jne 0x140045500
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 0x140045500
mov eax, 0xff
nop dword [rax]
shl r13, 0x38
movabs rcx, 0x100000000000000
add r13, rcx
add rdx, r8
rol r8, 0xd
or r13, rax
xor r8, rdx
rol rdx, 0x20
xor r10, r13
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, r13
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 [rbx + rcx]
pmovmskb edx, xmm0
mov r8, rcx
test edx, edx
jne 0x140045618
mov r9d, 0x10
mov r8, rcx
nop
add r8, r9
and r8, rbp
movdqu xmm0, xmmword [rbx + r8]
pmovmskb edx, xmm0
add r9, 0x10
test edx, edx
je 0x140045600
tzcnt edx, edx
add rdx, r8
and rdx, rbp
cmp byte [rbx + rdx], 0
js 0x140045634
movdqa xmm0, xmmword [rbx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov r8, r15
sub r8, rcx
mov r9, rdx
sub r9, rcx
xor r9, r8
and r9, rbp
cmp r9, 0x10
jb 0x140045340
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, rbp
mov byte [rbx + rdx], al
mov byte [rbx + r9 + 0x10], al
cmp r8b, 0xff
je 0x1400456b0
mov rax, qword [rsp + 0x30]
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 0x140045390
lea rax, [r15 - 0x10]
and rax, rbp
mov byte [rbx + r15], 0xff
mov byte [rbx + rax + 0x10], 0xff
mov rax, qword [rsp + 0x30]
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x140045353
cmp rbp, 8
mov rcx, qword [rsp + 0x60]
cmovb rcx, rbp
sub rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x10], rcx
movabs rsi, 0x7ffffffffffffff0
add rsi, 0x11
mov rax, rsi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2