Function at 0x14000dd88
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14002a288]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r12, rcx
test rcx, rcx
jne 0x14000dde2
mov edx, 0xbc
mov rcx, qword [rbp + 0x78]
lea r8, str.onecore_sdktoolsconnectivitydevtoolsbootstrappingwinrtlibusercontexthelpers_onecore.cpp
mov ebx, 0x80070057
mov r9d, ebx
call fcn.140002c38
mov eax, ebx
jmp 0x14000e0cb
test rsi, rsi
jne 0x14000ddee
mov edx, 0xbd
jmp 0x14000ddc3
mov ebx, 1
lea r9, [rbp + 0x10]
mov edx, ebx
lea r8, [rbp + 0x18]
lea rcx, [0x140022400]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCreateStringReference]
test eax, eax
jns 0x14000de21
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov ecx, 0xc000000d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_RaiseException]
xor eax, eax
lea rcx, [rbp - 0x5c]
xor ebx, ebx
mov qword [rbp - 0x80], rax
and qword [rsp + 0x70], rbx
xor edx, edx
xor edi, edi
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea r8d, [rbx + 0x64]
call sub.msvcrt.dll_memset
and qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x68]
mov rcx, rsi
mov dword [rbp - 0x60], 0x68
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDuplicateString]
mov esi, eax
test eax, eax
js 0x14000e04f
mov rbx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
test r14, r14
je 0x14000def1
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDuplicateString]
mov esi, eax
test eax, eax
js 0x14000df60
mov rdi, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov rdx, qword [rbp + 0x10]
lea r8, [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsConcatString]
mov esi, eax
test eax, eax
js 0x14000df56
mov rcx, rbx
mov rbx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
lea r8, [rsp + 0x68]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsConcatString]
mov esi, eax
test eax, eax
js 0x14000df4c
mov rcx, rbx
mov rbx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov ecx, dword [rsp + 0x60]
mov rsi, rax
inc ecx
mov eax, 2
mov edx, ecx
mul rdx
mov dword [rsp + 0x60], ecx
lea rdx, [0x14002085f]
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001b2d4
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x14000df6a
mov esi, 0x8007000e
mov edx, 0xe3
mov r9d, esi
jmp 0x14000e057
mov edx, 0xdb
jmp 0x14000e054
mov edx, 0xda
jmp 0x14000e054
mov edx, 0xd9
jmp 0x14000e054
mov edx, dword [rsp + 0x60]
mov r8, rsi
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcscpy_s]
xor r8d, r8d
lea rcx, [rsp + 0x70]
mov rdx, r12
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x14000dfa4
mov rcx, qword [rbp + 0x78]
lea r8, str.onecore_sdktoolsconnectivitydevtoolsbootstrappingwinrtlibusercontexthelpers_onecore.cpp
mov edx, 0xe6
jmp 0x14000e030
mov r8, qword [rsp + 0x78]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rcx, r12
and qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000400
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14000e002
mov rcx, qword [rbp + 0x78]
lea r8, str.onecore_sdktoolsconnectivitydevtoolsbootstrappingwinrtlibusercontexthelpers_onecore.cpp
mov edx, 0xf3
jmp 0x14000e030
test r15, r15
je 0x14000e04b
mov edx, 0x2710
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x14000e04b
mov rcx, qword [rbp + 0x78]
lea r8, str.onecore_sdktoolsconnectivitydevtoolsbootstrappingwinrtlibusercontexthelpers_onecore.cpp
cmp eax, 0x102
je 0x14000e039
mov edx, 0x109
call fcn.140002c6c
mov esi, eax
jmp 0x14000e067
mov r9d, 0x5b4
mov edx, 0x105
call fcn.14000d2e8
jmp 0x14000e035
xor esi, esi
jmp 0x14000e067
mov edx, 0xd6
mov r9d, eax
mov rcx, qword [rbp + 0x78]
lea r8, str.onecore_sdktoolsconnectivitydevtoolsbootstrappingwinrtlibusercontexthelpers_onecore.cpp
call fcn.140002c38
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000e077
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000e087
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000e09a
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x14000e0f8
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000e0ad
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test eax, eax
je 0x14000e0e9
test rdi, rdi
je 0x14000e0bb
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
test rbx, rbx
je 0x14000e0c9
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov eax, esi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14001ae30
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x78]
mov edx, 0x8f0
call fcn.140002c8c
int3
mov rcx, qword [rbp + 0x78]
mov edx, 0x8f0
call fcn.140002c8c
int3