Function at 0x14000ca60
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1400650c0]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
lea rdx, str.Allowed_options
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], rdi
mov r14, rax
lea r8d, [rdi + 0xf]
movups xmmword [rsp + 0x30], xmm0
call fcn.140001ca0
mov rcx, qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_unsigned_int_const_boost::program_options::options_description::m_default_line_length]
lea rdx, [rsp + 0x30]
mov r8d, dword [rcx]
mov r9d, r8d
shr r9d, 1
lea rcx, [rbp + 0x20]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public:_void___cdecl_boost::program_options::options_description::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__unsigned_int__unsigned_int____ptr64]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14000cb28
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cb23
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf21
call fcn.14001ee3c
mov ecx, 0xb8
mov qword [rsp + 0x1e8], rbx
call fcn.14001ee00
xor edx, edx
mov r8d, 0xb8
mov rcx, rax
mov rbx, rax
call fcn.1400474f0
mov rcx, rbx
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public:_void___cdecl_boost::program_options::value_semantic_codecvt_helper_char_::constructor_void____ptr64]
mov qword [rbx + 0x10], rdi
lea rax, vtable.boost::program_options::typed_value_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____char_.1.0
mov qword [rbx], rax
lea rdx, [rsp + 0x70]
xorps xmm0, xmm0
lea rax, vtable.boost::program_options::typed_value_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____char_.0
mov qword [rbx + 8], rax
lea rcx, [rbp + 0x20]
movups xmmword [rbx + 0x18], xmm0
mov qword [rbx + 0x28], rdi
mov qword [rbx + 0x30], 0xf
mov byte [rbx + 0x18], dil
mov qword [rbx + 0x38], rdi
movups xmmword [rbx + 0x40], xmm0
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], 0xf
mov byte [rbx + 0x40], dil
mov qword [rbx + 0x60], rdi
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx + 0x78], rdi
mov qword [rbx + 0x80], 0xf
mov byte [rbx + 0x68], dil
mov dword [rbx + 0x88], edi
mov byte [rbx + 0x8c], dil
mov qword [rbx + 0x90], rdi
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public:_class_boost::program_options::options_description_easy_init___cdecl_boost::program_options::options_description::add_options_void____ptr64]
lea r9, str.Set_program_mode:_desktop_or_service._Default_mode_is_normal
mov r8, rbx
mov rcx, rax
lea rdx, str.mode
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public:_class_boost::program_options::options_description_easy_init____ptr64___cdecl_boost::program_options::options_description_easy_init::operator___char_const____ptr64__class_boost::program_options::value_semantic_const____ptr64__char_const____ptr64____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public:_void___cdecl_boost::program_options::variables_map::constructor_void____ptr64]
mov edx, dword [rbp - 0x38]
lea rax, [rbp + 0x90]
xorps xmm0, xmm0
mov qword [rsp + 0x28], rax
xorps xmm1, xmm1
mov qword [rbp + 0x90], rdi
lea r9, [rbp + 0x20]
mov r8, r14
lea rcx, [rsp + 0x78]
movdqu xmmword [rbp + 0x98], xmm0
movdqu xmmword [rbp + 0xa8], xmm1
call fcn.14000deb0
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_void___cdecl_boost::program_options::store_class_boost::program_options::basic_parsed_options_wchar_t__const____ptr64__class_boost::program_options::variables_map____ptr64_]
lea rcx, [rsp + 0x78]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public:_void___cdecl_boost::program_options::basic_parsed_options_wchar_t_::destructor_void____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_void___cdecl_boost::program_options::notify_class_boost::program_options::variables_map____ptr64_]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rdi
mov r8d, 4
mov qword [rsp + 0x48], rdi
lea rdx, str.mode
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
call fcn.140001ca0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll__count____Tree_V___Tmap_traits_V__basic_string_DU__char_traits_D_std__V__alloc]
mov rdx, qword [rsp + 0x48]
mov rbx, rax
cmp rdx, 0xf
jbe 0x14000ccd7
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ccd2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf27
call fcn.14001ee3c
mov qword [rsp + 0x1f0], rsi
test rbx, rbx
je 0x14000cea6
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
mov r8d, 4
mov qword [rsp + 0x68], rdi
lea rdx, str.mode
lea rcx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
call fcn.140001ca0
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x20]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public:_class_boost::program_options::variable_value_const____ptr64___cdecl_boost::program_options::variables_map::operator___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64_const___ptr64]
mov rbx, rax
test rax, rax
je 0x14000cd5c
mov rcx, qword [rax]
test rcx, rcx
je 0x14000cd38
mov rdx, qword [rcx]
call qword [rdx + 8]
jmp 0x14000cd3f
lea rax, vtable.type_info.0
lea rcx, [rax + 8]
lea rdx, [0x140066138]
call fcn.140020e18
test eax, eax
jne 0x14000cd5c
mov rdx, qword [rbx]
add rdx, 8
jmp 0x14000cd5f
mov rdx, rdi
test rdx, rdx
je 0x14000cf2d
lea rcx, [rbp + 0x90]
call fcn.1400019e0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000cdb1
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cdac
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf4f
call fcn.14001ee3c
mov rsi, qword [rbp + 0xa8]
lea rcx, [rbp + 0x90]
mov rbx, qword [rbp + 0x90]
cmp rsi, 0xf
mov r8, qword [rbp + 0xa0]
cmova rcx, rbx
cmp r8, 7
jne 0x14000ce73
lea rdx, str.service
call fcn.1400478a0
test eax, eax
jne 0x14000ce73
lea rax, [0x140056c18]
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x90]
lea rax, [0x14000cf70]
mov qword [rbp + 0xa8], rdi
mov qword [rbp + 0x98], rax
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14000ce36
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rsi, 0xf
jbe 0x14000ced1
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000ce69
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf55
mov rcx, rbx
call fcn.14001ee3c
jmp 0x14000ced1
cmp rsi, 0xf
jbe 0x14000cea6
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000ce9e
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000cf1b
mov rcx, rbx
call fcn.14001ee3c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, r15
mov qword [rbp - 0x30], rdi
call fcn.140009310
test eax, eax
js 0x14000cecc
lea rcx, [rbp - 0x30]
call fcn.140009830
test eax, eax
jns 0x14000ced1
mov edi, 0xffffffff
lea rcx, [rbp - 0x20]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public_virtual:_void___cdecl_boost::program_options::variables_map::destructor_void____ptr64]
lea rcx, [rbp + 0x20]
call qword [sym.imp.boost_program_options_vc143_mt_x64_1_83.dll_public:_void___cdecl_boost::program_options::options_description::destructor_void____ptr64]
mov rsi, qword [rsp + 0x1f0]
mov eax, edi
mov rbx, qword [rsp + 0x1e8]
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.14001ede0
mov rdi, qword [rsp + 0x1f8]
add rsp, 0x1c0
pop r15
pop r14
pop rbp
ret
call fcn.140025cfc
int3
call fcn.140025cfc
int3
call fcn.140025cfc
int3
xor eax, eax
lea rcx, [rsp + 0x30]
xorps xmm0, xmm0
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
call fcn.14000ee80
mov rcx, rax
call fcn.14000eeb0
int3
call fcn.140025cfc
int3
call fcn.140025cfc
int3