Function at 0x1400d2100
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov r15, rcx
mov r14, rdx
lea rcx, str.Kernel32
mov bl, 1
xor dil, dil
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov r13d, 1
test rax, rax
je 0x1400d2166
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
movzx edi, dil
mov rcx, rsi
test rax, rax
cmovne edi, r13d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xorps xmm1, xmm1
xor eax, eax
xor r12d, r12d
mov qword [rbp - 0x51], rax
mov qword [rbp + 0x17], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
movups xmmword [rbp - 0x49], xmm1
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm1
movups xmmword [rbp - 0x19], xmm1
movups xmmword [rbp - 9], xmm1
movups xmmword [rbp + 7], xmm1
test dil, dil
je 0x1400d2359
xor edx, edx
mov dword [rbp - 0x79], 0x3000
lea rcx, str.Progman
mov dword [rbp + 0x77], r12d
mov dword [rbp + 0x7f], 0x3000
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400d21d1
lea rdx, [rbp + 0x77]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [rbp + 0x77]
lea rdx, [rbp + 0x7f]
call fcn.1400d48a0
test al, al
je 0x1400d2329
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp - 0x79]
call fcn.1400d48a0
movzx ebx, al
test al, al
je 0x1400d2329
mov ecx, dword [rbp - 0x79]
cmp ecx, 0x3000
jne 0x1400d2344
cmp dword [rbp + 0x7f], 0x2000
jne 0x1400d2359
mov r8d, dword [rbp + 0x77]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400d2322
lea r8, [rbp - 0x69]
mov edx, 0x2000a
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400d2317
mov rcx, qword [rbp - 0x69]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov r9d, 2
xor r8d, r8d
mov dword [rsp + 0x20], r13d
mov edx, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1400d2309
lea rcx, str.AdvApi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400d22e3
lea rdx, str.CreateProcessWithTokenW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d22e3
lea rcx, [rbp - 0x61]
mov r9, r14
mov qword [rsp + 0x40], rcx
mov r8, r15
lea rcx, [rbp - 0x49]
xor edx, edx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rbp - 0x71]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call rax
test eax, eax
jne 0x1400d22ea
xor bl, bl
jmp 0x1400d22ea
xor bl, bl
test rdi, rdi
je 0x1400d22f3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400d2319
mov rcx, qword [rbp - 0x69]
xor bl, bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400d2319
xor bl, bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x1400d2359
movzx eax, bl
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp ecx, 0x2000
jne 0x1400d2359
cmp dword [rbp + 0x7f], 0x3000
jne 0x1400d2359
xor al, al
jmp 0x1400d2329
cmp dword [rbp - 0x51], r12d
jne 0x1400d2326
lea rax, [rbp - 0x61]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x49]
mov rdx, r14
mov qword [rsp + 0x40], rax
mov rcx, r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
movzx ecx, bl
cmove ecx, r12d
movzx eax, cl
jmp 0x1400d2329