Function at 0x140029f78
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140165040]
xor rax, rsp
mov qword [rbp + 0xf8], rax
mov rdi, r8
mov rbx, rdx
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x5c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], 0x68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
mov r14b, 1
or qword [rsp + 0x68], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea r9, [rsp + 0x68]
mov esi, VariantTimeToDosDateTime
lea r8d, [rsi - 0xa]
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x14002a011
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
cmp eax, 0x3f0
jne 0x14002a1b0
xor r14b, r14b
mov rsi, qword [rsp + 0x68]
mov r12d, 0x18
mov ecx, r12d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14002a87a
lea rax, vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__int____cdecl___void____ptr64___void____ptr64____ptr64__.0
mov qword [rcx], rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rsi
mov qword [rbp - 0x80], rcx
mov rdx, qword [rdi + 0x10]
inc rdx
lea rcx, [rbp + 0xa8]
call fcn.140009e14
cmp qword [rdi + 0x18], 7
jbe 0x14002a06b
mov rdi, qword [rdi]
mov rdx, qword [rbp + 0xb0]
mov rsi, qword [rbp + 0xa8]
sub rdx, rsi
sar rdx, 1
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edi, 0x1000
test r14b, r14b
je 0x14002a66f
mov byte [rbp + 0x58], 0
and qword [rbp + 0x60], 0
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp + 0x60]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
setne byte [rbp + 0x58]
test eax, eax
jne 0x14002a3b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, str.AppV::Integration::ManagingAuthority::ManagingAuthorityLegacyT_struct_AppV::Integration::ManagingAuthority::_anonymous_namespace::empty_::LaunchSftmimeCommand
lea rcx, [rbp + 0x78]
call fcn.14005b990
mov dword [rbp + 0x98], 0xe3
call fcn.140014840
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r8d, 0x2f
lea rdx, str.Failed_to_create_environment_block._Error:__1_.
lea rcx, [rbp + 0x10]
call fcn.140005d34
nop
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0xc8]
call fcn.14005b6d0
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140014a5c
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
mov r8d, VariantTimeToDosDateTime
lea rdx, [0x14010fc40]
lea rcx, [rbp + 0x38]
call fcn.140005d34
nop
mov r9, rbx
lea r8, [rbp + 0x38]
mov edx, 1
lea rcx, [rbp + 0x78]
call fcn.14005b908
nop
mov rax, qword [rbp + 0x50]
cmp rax, 7
jbe 0x14002a32a
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a323
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a323
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.AppV::Integration::ManagingAuthority::ManagingAuthorityLegacyT_struct_AppV::Integration::ManagingAuthority::_anonymous_namespace::empty_::LaunchSftmimeCommand
lea rcx, [rbp + 0x10]
call fcn.14005b990
mov dword [rbp + 0x30], 0xcf
call fcn.140014840
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x68], xmm1
mov r8d, 0x28
lea rdx, str.Failed_to_open_thread_token._Error:__1_.
lea rcx, [rbp + 0x58]
call fcn.140005d34
nop
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x78]
call fcn.14005b6d0
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140014a5c
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb8], xmm1
mov r8, rsi
lea rdx, [0x14010fc40]
lea rcx, [rbp + 0xa8]
call fcn.140005d34
nop
mov r9, rbx
lea r8, [rbp + 0xa8]
mov edx, 1
lea rcx, [rbp + 0x10]
call fcn.14005b908
nop
mov edi, 0x1000
mov rax, qword [rbp + 0xc0]
cmp rax, 7
jbe 0x14002a29d
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a296
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a296
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0x78]
call fcn.14005bba8
mov rax, qword [rbp + 0x70]
cmp rax, 7
jbe 0x14002a2e3
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x58]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a2dc
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a2dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x28]
cmp rax, 0xf
jbe 0x14002a31a
inc rax
mov rcx, qword [rbp + 0x10]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a314
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a314
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsp + 0x60]
jmp 0x14002a84b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0xc8]
call fcn.14005bba8
mov rax, qword [rbp + 0x28]
cmp rax, 7
jbe 0x14002a373
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a36c
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a36c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x90]
cmp rax, 0xf
jbe 0x14002a577
inc rax
mov rcx, qword [rbp + 0x78]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a571
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a571
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp qword [rbx + 0x18], 7
jbe 0x14002a3bd
mov rbx, qword [rbx]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000400
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rsi
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14002a594
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, str.AppV::Integration::ManagingAuthority::ManagingAuthorityLegacyT_struct_AppV::Integration::ManagingAuthority::_anonymous_namespace::empty_::LaunchSftmimeCommand
lea rcx, [rbp + 0x78]
call fcn.14005b990
mov dword [rbp + 0x98], 0xee
call fcn.140014840
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
mov r8d, 0x25
lea rdx, str.Failed_to_create_process._Error:__1_.
lea rcx, [rbp + 0x38]
call fcn.140005d34
nop
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0xc8]
call fcn.14005b6d0
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140014a5c
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r8d, VariantTimeToDosDateTime
lea rdx, [0x14010fc40]
lea rcx, [rbp + 0x10]
call fcn.140005d34
nop
mov r9, rbx
lea r8, [rbp + 0x10]
mov edx, 1
lea rcx, [rbp + 0x78]
call fcn.14005b908
nop
mov rax, qword [rbp + 0x28]
cmp rax, 7
jbe 0x14002a4f4
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a4ed
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a4ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0xc8]
call fcn.14005bba8
mov rax, qword [rbp + 0x50]
cmp rax, 7
jbe 0x14002a53d
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a536
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a536
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x90]
cmp rax, 0xf
jbe 0x14002a577
inc rax
mov rcx, qword [rbp + 0x78]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a571
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a571
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [rsp + 0x60]
cmp byte [rbp + 0x58], 0
je 0x14002a62e
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x14002a62e
cmp byte [rbp + 0x58], 0
je 0x14002a5a4
mov rcx, qword [rbp + 0x60]
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rbx, qword [rbp - 0x78]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14002a883
lea r14, vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__int____cdecl___void____ptr64___void____ptr64____ptr64__.0
mov qword [rax], r14
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rbx
mov qword [rsp + 0x78], rcx
mov rbx, qword [rbp - 0x70]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
je 0x14002a871
mov qword [rax], r14
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rbx
mov qword [rsp + 0x70], rcx
mov r9, rsi
mov rdx, qword [rbp - 0x78]
call fcn.14002ab68
xor ebx, ebx
lea rcx, [rsp + 0x70]
call fcn.140019f18
lea rcx, [rsp + 0x78]
call fcn.140019f18
nop
test rsi, rsi
je 0x14002a840
mov rax, qword [rbp + 0xb8]
sub rax, rsi
sar rax, 1
add rax, rax
mov rcx, rsi
cmp rax, rdi
jb 0x14002a836
mov rsi, qword [rsi - 8]
sub rcx, rsi
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14002a836
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
cmp qword [rbx + 0x18], 7
jbe 0x14002a679
mov rbx, qword [rbx]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14002a5a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, str.AppV::Integration::ManagingAuthority::ManagingAuthorityLegacyT_struct_AppV::Integration::ManagingAuthority::_anonymous_namespace::empty_::LaunchSftmimeCommand
lea rcx, [rbp + 0x78]
call fcn.14005b990
mov dword [rbp + 0x98], 0xf9
call fcn.140014840
xorps xmm0, xmm0
movups xmmword [rbp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
mov r8d, 0x25
lea rdx, str.Failed_to_create_process._Error:__1_.
lea rcx, [rbp + 0x38]
call fcn.140005d34
nop
nop dword [rax + rax]
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0xc8]
call fcn.14005b6d0
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140014a5c
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
mov r8d, VariantTimeToDosDateTime
lea rdx, [0x14010fc40]
lea rcx, [rbp + 0x10]
call fcn.140005d34
nop
mov r9, rbx
lea r8, [rbp + 0x10]
mov edx, 1
lea rcx, [rbp + 0x78]
call fcn.14005b908
nop
mov rax, qword [rbp + 0x28]
cmp rax, 7
jbe 0x14002a7aa
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a7a3
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a7a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp + 0xc8]
call fcn.14005bba8
mov rax, qword [rbp + 0x50]
cmp rax, 7
jbe 0x14002a7f3
lea rax, [rax*2 + 2]
mov rcx, qword [rbp + 0x38]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a7ec
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a7ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x90]
cmp rax, 0xf
jbe 0x14002a82d
inc rax
mov rcx, qword [rbp + 0x78]
mov rdx, rcx
cmp rax, rdi
jb 0x14002a827
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14002a827
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ebx, dword [rsp + 0x60]
jmp 0x14002a62e
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rbp - 0x80]
call fcn.140019f18
mov eax, ebx
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.1400e4b70
mov rbx, qword [rsp + 0x230]
add rsp, 0x200
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f594
nop
jmp 0x14002a879
nop
call fcn.14000f594
nop
jmp 0x14002a882
nop
call fcn.14000f594
int3