Function at 0x1401197c0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x620], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x200], eax
lea r9, [rsi - 1]
lea r8, str.seccenter_launcher::launch_elevated
mov edx, 0x102
lea rcx, [rbp + 0x204]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401815c4]
mov edx, 0x104
lea rcx, [rbp + 0x204]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea r9, [rsi - 1]
lea r8, str.seccenter_launcher::launch_elevated
mov edx, 0x104
lea rcx, [rbp + 0x40c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
lea ebx, [rsi + 1]
lea r14, [0x140000000]
add ecx, eax
je 0x140119911
mov dword [rsp + 0x50], esi
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x1401198a0
call fcn.140005ad0
mov qword [rsp + 0x48], rax
lock inc dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x78], 0x20
lea rax, [rbp + 0x204]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40c]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, [rsp + 0x78]
movsx edx, bx
call fcn.140004c90
nop
mov qword [rsp + 0x48], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
js 0x14011990c
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x50], eax
cmp eax, 1
jns 0x1401198f7
lock inc dword [rsp + 0x50]
lea rcx, [rbp + 0x1e0]
call fcn.140116cd0
nop
cmp qword [rbp + 0x1f0], 0
jne 0x140119af0
lea rax, [r14 + 0x181628]
mov qword [rbp + 0xe8], rax
lea rcx, [rbp + 0x180]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0xe8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0xe8], rax
mov rax, qword [rbp + 0xe8]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0xe4], edx
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0x158], rsi
mov dword [rbp + 0x160], 4
mov rax, qword [rbp + 0xe8]
movsxd rcx, dword [rax + 4]
lea rax, vtable.logger_stream.0
mov qword [rbp + rcx + 0xe8], rax
mov rax, qword [rbp + 0xe8]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xe4], edx
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x140119a62
mov dword [rsp + 0x60], esi
call fcn.140005ad0
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov dword [rsp + 0x40], 0xa
mov rax, qword [rsp + 0x58]
test rax, rax
jne 0x140119a3f
call fcn.140005ad0
mov qword [rsp + 0x58], rax
lock inc dword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
je 0x140119a5e
mov rax, qword [rax + 0x58]
test rax, rax
je 0x140119a5e
call qword [case.0x140077645.0]
movzx ebx, al
jmp 0x140119a64
xor ebx, ebx
jmp 0x140119a64
xor bl, bl
mov eax, dword [rsp + 0x40]
test al, 8
je 0x140119aa2
and eax, 0xfffffff7
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x58], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
js 0x140119a9d
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x60], eax
cmp eax, 1
jns 0x140119a88
lock inc dword [rsp + 0x60]
mov byte [rbp + 0x168], bl
mov dword [rbp + 0x16c], 4
lea rax, [0x1401796e0]
mov qword [rbp + 0x170], rax
test bl, bl
je 0x140119ad8
lea rdx, str.could_not_get_seccenter_path
lea rcx, [rbp + 0xe8]
call fcn.1400062b0
nop
lea rcx, [rbp + 0x180]
call fcn.140004f20
lea rcx, [rbp + 0x180]
jmp 0x140119d0f
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x80], 0x70
mov dword [rbp - 0x7c], 0x4040
lea rax, [0x140179768]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 8
cmovae rax, qword [rbp + 0x1e0]
mov qword [rbp - 0x68], rax
cmp qword [rdi + 0x18], 8
jb 0x140119b4d
mov rdi, qword [rdi]
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rsi
mov dword [rbp - 0x50], ebx
mov qword [rbp - 0x48], rsi
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140119d17
lea rax, [r14 + 0x181628]
mov qword [rbp - 0x10], rax
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 0x20
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x14], edx
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 8], rax
mov qword [rbp + 0x60], rsi
mov dword [rbp + 0x68], 4
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea rax, vtable.logger_stream.0
mov qword [rbp + rcx - 0x10], rax
mov rax, qword [rbp - 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x14], edx
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
add ecx, eax
je 0x140119c77
mov dword [rsp + 0x70], esi
call fcn.140005ad0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov dword [rsp + 0x40], 0xa0
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x140119c54
call fcn.140005ad0
mov qword [rsp + 0x68], rax
lock inc dword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
cmp qword [rax], 0
je 0x140119c73
mov rax, qword [rax + 0x58]
test rax, rax
je 0x140119c73
call qword [case.0x140077645.0]
movzx ebx, al
jmp 0x140119c79
xor ebx, ebx
jmp 0x140119c79
xor bl, bl
mov eax, dword [rsp + 0x40]
test al, al
jns 0x140119cba
btr eax, 7
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x68], rsi
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
js 0x140119cb5
nop
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x70], eax
cmp eax, 1
jns 0x140119ca0
lock inc dword [rsp + 0x70]
mov byte [rbp + 0x70], bl
mov dword [rbp + 0x74], 4
lea rax, [0x1401797d0]
mov qword [rbp + 0x78], rax
test bl, bl
je 0x140119ce3
lea rdx, str.ShellExecuteEx_failed__err:
lea rcx, [rbp - 0x10]
call fcn.1400062b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rbp + 0x70], 0
je 0x140119cfc
mov edx, eax
lea rcx, [rbp - 0x10]
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 + 0x88]
call fcn.140004f20
lea rcx, [rbp + 0x88]
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 ebx, esi
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 8
jb 0x140119d60
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140119d5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140119d5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
mov qword [rbp + 0x1f0], rsi
mov qword [rbp + 0x1f8], 7
mov word [rbp + 0x1e0], si
lea rcx, [rbp + 0x200]
call fcn.140004e30
mov eax, ebx
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.14007e250
lea r11, [rsp + 0x730]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret