Function at 0x14000ca90
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x51], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov r14d, ecx
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, rax
test rax, rax
je 0x14000cd07
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r8, rax
xor r9d, r9d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.mfc120u.dll_Ordinal_2327]
test eax, eax
je 0x14000cd07
lea rcx, [rbp - 0x79]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov qword [rsp + 0x28], rbx
cmp r14d, 1
jle 0x14000cbfa
mov rdx, qword [rdi + 8]
movzx eax, word [rdx]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x14000cbfa
add rdx, 2
lea rcx, str.install
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000cb51
call fcn.1400043f0
call fcn.140006830
jmp 0x14000ccfb
mov rdx, qword [rdi + 8]
add rdx, 2
lea rcx, str.uninstall
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000cb79
call fcn.140004630
call fcn.140006830
jmp 0x14000ccfb
mov rdx, qword [rdi + 8]
add rdx, 2
lea rcx, str.debug
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000ccfb
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 1
lea rcx, [rbp - 0x49]
call fcn.14000a720
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x49]
call fcn.14000a600
nop
mov r9, qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov edx, 8
lea r8d, [rdx + 4]
lea rcx, [rbp - 0x31]
call fcn.14000cf64
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rsp + 0x20]
jmp 0x14000ccf4
call fcn.140006830
lea rdi, vtable.CService.0
mov qword [rbp - 0x49], rdi
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov qword [rbp - 9], rbx
mov dword [rbp - 0x29], 0x10
mov dword [rbp - 0x25], 2
mov qword [rbp - 0x21], 5
mov qword [rbp - 0x19], rbx
mov dword [rbp - 0x11], ebx
mov dword [rbp - 1], ebx
mov dword [rbp - 0x41], ebx
lea rax, [rbp - 0x49]
mov qword [0x140017a78], rax
mov qword [rbp - 0x31], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 7], rax
test rax, rax
jne 0x14000cc82
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, [0x1400157f8]
lea rcx, [rsp + 0x20]
call sub.MSVCR120.dll__CxxThrowException
nop
lea rax, str.NitroUpdateService
mov qword [rbp - 0x71], rax
lea rax, [0x1400054b0]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rbx
mov qword [rbp - 0x59], rbx
lea rcx, [rbp - 0x71]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x14000ccbb
lea rcx, str.Service_run
call fcn.140004d40
nop
mov qword [rbp - 0x49], rdi
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14000ccd2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 7], rbx
mov rcx, qword [0x140017a70]
test rcx, rcx
je 0x14000ccf0
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
mov qword [0x140017a70], rbx
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp - 0x79]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
jmp 0x14000cd0c
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14000cd50
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret