Function at 0x140119220
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7c0]
sub rsp, 0x8c0
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov qword [rbp - 0x38], rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x390], eax
mov r9, 0xffffffffffffffff
lea r8, [0x140179780]
mov edx, 0x102
lea rcx, [rbp + 0x394]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401815c4]
mov edx, 0x104
lea rcx, [rbp + 0x394]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, [0x140179780]
mov edx, 0x104
lea rcx, [rbp + 0x59c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
xor r15d, r15d
add ecx, eax
je 0x14011937d
mov dword [rsp + 0x78], r15d
call fcn.140005ad0
mov qword [rsp + 0x70], rax
lock inc dword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
test rax, rax
jne 0x140119305
call fcn.140005ad0
mov qword [rsp + 0x70], rax
lock inc dword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov dword [rbp - 0x80], 0x20
mov edx, 1
lea rax, [rbp + 0x394]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x59c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rbp - 0x80]
movsx edx, dx
call fcn.140004c90
nop
mov qword [rsp + 0x70], r15
mov eax, 0xffffffff
lock xadd dword [rsp + 0x78], eax
cmp eax, 1
js 0x140119378
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x78], eax
cmp eax, 1
jns 0x140119363
lock inc dword [rsp + 0x78]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
mov qword [rbp - 0x78], r15
lea rdx, [rbp - 0x78]
call fcn.140118590
test eax, eax
jne 0x140119768
mov rsi, qword [rbp - 0x78]
mov qword [rbp - 8], rsi
mov qword [rbp - 0x50], r15
lea rcx, [rbp - 0x50]
call fcn.140118230
test eax, eax
jne 0x140119758
mov rbx, qword [rbp - 0x50]
mov qword [rbp], rbx
mov qword [rbp - 0x48], r15
lea r9, [rbp - 0x48]
mov rdx, qword [rbp - 0x78]
mov rcx, rbx
call fcn.140118bd0
test eax, eax
jne 0x140119748
mov rdi, qword [rbp - 0x48]
mov qword [rbp + 8], rdi
mov qword [rbp - 0x40], r15
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x40]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x140119485
lea r8, [0x1401798d0]
lea edx, [rax + 4]
lea rcx, [rbp + 0xa0]
call fcn.140005190
mov r14, rax
cmp byte [rax + 0x80], 0
je 0x14011944b
lea rdx, str.CreateEnvironmentBlock_failed__err:
mov rcx, rax
call fcn.1400062b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [r14 + 0x80], 0
je 0x140119467
mov edx, eax
mov rcx, r14
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
nop
lea rcx, [rbp + 0x138]
call fcn.140004f20
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
jmp 0x140119738
mov r14, qword [rbp - 0x40]
mov qword [rbp + 0x10], r14
mov word [rsp + 0x60], r15w
mov rdx, qword [rbp - 0x38]
mov rax, qword [rdx + 0x10]
add rax, 1
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x18], xmm0
mov r12, r15
mov qword [rbp + 0x28], r15
je 0x140119527
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x1401197a7
lfence
lea rdi, [rax + rax]
mov rcx, rdi
call fcn.140002610
mov r13, rax
mov qword [rbp + 0x18], rax
lea r12, [rdi + rax]
mov qword [rbp + 0x28], r12
cmp word [rsp + 0x60], r15w
jne 0x1401194fc
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x14011950a
movzx eax, r15w
mov rdi, r13
mov rcx, qword [rbp - 0x70]
rep stosw word [rdi], ax
mov rax, r12
mov qword [rbp + 0x20], rax
mov rsi, qword [rbp - 8]
mov rbx, qword [rbp]
mov rdi, qword [rbp + 8]
mov r14, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x38]
jmp 0x14011952b
mov r13, qword [rbp + 0x18]
cmp qword [rdx + 0x18], 8
jb 0x140119542
mov rcx, qword [rdx + 0x10]
mov rax, qword [rdx]
lea r8, [rax + rcx*2]
mov rdx, rax
jmp 0x14011954a
mov rax, qword [rdx + 0x10]
lea r8, [rdx + rax*2]
sub r8, rdx
mov rcx, r13
call sub.VCRUNTIME140.dll_memmove
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], 0x400
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, r13
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x1401195d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x30], eax
lea rax, [0x1401b9210]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov qword [rbp - 0x58], r15
mov ecx, dword [rbp - 0x30]
jmp 0x1401195f2
mov ecx, r15d
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x60], rax
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x58], eax
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x54], eax
mov dword [rsp + 0x60], ecx
test ecx, ecx
jne 0x14011965a
lea r8, [0x140179920]
lea edx, [rcx + 0x10]
lea rcx, [rbp + 0x198]
call fcn.140005190
nop
cmp byte [rax + 0x80], 0
je 0x14011962a
lea rdx, str.created_instance_with_restricted_privileges__wait_for_it_to_close
mov rcx, rax
call fcn.1400062b0
nop
lea rcx, [rbp + 0x230]
call fcn.140004f20
lea rcx, [rbp + 0x230]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete r15b
jmp 0x1401196c7
lea r8, str.seccenter_launcher::launch_restricted
mov edx, 4
lea rcx, [rbp + 0x290]
call fcn.140005190
mov qword [rbp - 0x70], rax
movzx ecx, byte [rax + 0x80]
test cl, cl
je 0x1401196ad
lea rdx, str.winapi::process::create_failed__err:
mov rcx, rax
call fcn.1400062b0
mov rax, qword [rbp - 0x70]
movzx ecx, byte [rax + 0x80]
test cl, cl
je 0x1401196ad
mov edx, dword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
nop
lea rcx, [rbp + 0x328]
call fcn.140004f20
lea rcx, [rbp + 0x328]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1401196d6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x1401196e9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test r13, r13
je 0x140119729
sub r12, r13
sar r12, 1
lea rdx, [r12 + r12]
mov rax, r13
cmp rdx, 0x1000
jb 0x140119720
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140119720
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.14007e2a0
nop
test r14, r14
je 0x140119738
mov rcx, r14
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
nop
cmp rdi, 0xffffffffffffffff
je 0x140119748
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp rbx, 0xffffffffffffffff
je 0x140119758
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp rsi, 0xffffffffffffffff
je 0x140119768
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x390]
call fcn.140004e30
mov eax, r15d
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x8c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140006190
nop
int3