Function at 0x140007a50
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x130
xor r12d, r12d
lea rcx, str.SeTcbPrivilege
mov rbp, rdx
mov ebx, r12d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
call fcn.1400119f0
lea rcx, [rsp + 0x68]
call fcn.1400010d0
mov r11, qword [rsp + 0x78]
cmp r11, r12
je 0x140007aa4
call r11
mov edi, eax
jmp 0x140007aa7
mov edi, r12d
cmp edi, 0xffffffff
jne 0x140007ac3
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x140007abc
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x140007d31
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x168], r12
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x60], r12
call fcn.1400010d0
mov r11, qword [rsp + 0x70]
cmp r11, r12
je 0x140007afb
lea rdx, [rsp + 0x168]
mov ecx, edi
call r11
jmp 0x140007afe
mov eax, r12d
cmp eax, r12d
je 0x140007c98
mov rdx, qword [rsp + 0x168]
lea rax, [rsp + 0x160]
mov esi, 1
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x98]
xor r9d, r9d
mov r8d, 0x2000000
mov dword [rsp + 0x28], esi
mov qword [rsp + 0xb8], r12
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xb0], r12
call fcn.14000107c
cmp eax, r12d
je 0x140007c74
cmp qword [0x14001cbb0], r12
mov rdi, qword [rsp + 0x160]
jne 0x140007bae
lea rcx, str.Userenv.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.CreateEnvironmentBlock
mov rcx, rax
mov qword [0x14001cbb0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14001cbb8], rax
jmp 0x140007bb5
mov rax, qword [0x14001cbb8]
cmp rax, r12
je 0x140007bc7
lea rcx, [rsp + 0x60]
mov r8d, esi
mov rdx, rdi
call rax
xor edx, edx
lea rcx, [rsp + 0xc8]
lea r8d, [rdx + 0x60]
call sub.msvcrt.dll_memset
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x160]
xor eax, eax
lea rcx, [rsp + 0x98]
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
mov dword [rsp + 0xc0], 0x68
call fcn.140001000
mov r11, qword [rsp + 0xb0]
cmp r11, r12
je 0x140007c6c
lea rax, [rsp + 0x80]
xor r9d, r9d
mov r8, rbp
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xc0]
xor edx, edx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], 0x400
mov rcx, rsi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call r11
jmp 0x140007c6f
mov eax, r12d
cmp eax, r12d
jne 0x140007c7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0xb8]
cmp rcx, r12
je 0x140007d1f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140007d1f
xor edx, edx
lea rcx, [rsp + 0xc8]
lea r8d, [rdx + 0x60]
call sub.msvcrt.dll_memset
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov rdx, rbp
xor ecx, ecx
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x80], r12
mov dword [rsp + 0xc0], 0x68
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, r12d
jne 0x140007d1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x68]
cmp rcx, r12
je 0x140007d2f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret