Function at 0x14006dbd0
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 0x14006dc36
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 0x14006de29
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 0x14006dca1
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.140070380
test al, al
je 0x14006ddf9
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, [rbp - 0x79]
call fcn.140070380
movzx ebx, al
test al, al
je 0x14006ddf9
mov ecx, dword [rbp - 0x79]
cmp ecx, 0x3000
jne 0x14006de14
cmp dword [rbp + 0x7f], 0x2000
jne 0x14006de29
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 0x14006ddf2
lea r8, [rbp - 0x69]
mov edx, 0x2000a
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14006dde7
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 0x14006ddd9
lea rcx, str.AdvApi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x14006ddb3
lea rdx, str.CreateProcessWithTokenW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006ddb3
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 0x14006ddba
xor bl, bl
jmp 0x14006ddba
xor bl, bl
test rdi, rdi
je 0x14006ddc3
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 0x14006dde9
mov rcx, qword [rbp - 0x69]
xor bl, bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006dde9
xor bl, bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x14006de29
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 0x14006de29
cmp dword [rbp + 0x7f], 0x3000
jne 0x14006de29
xor al, al
jmp 0x14006ddf9
cmp dword [rbp - 0x51], r12d
jne 0x14006ddf6
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 0x14006ddf9