Function at 0x14000cc20
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 0x14000cecc
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 0x14000cecc
lea rcx, [rbp - 0x79]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov qword [rsp + 0x28], rbx
cmp r14d, 1
jle 0x14000cd8a
mov rdx, qword [rdi + 8]
movzx eax, word [rdx]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x14000cd8a
add rdx, 2
lea rcx, str.install
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000cce1
call fcn.140004a50
call fcn.140006e70
jmp 0x14000cea4
mov rdx, qword [rdi + 8]
add rdx, 2
lea rcx, str.uninstall
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000cd09
call fcn.140004c90
call fcn.140006e70
jmp 0x14000cea4
mov rdx, qword [rdi + 8]
add rdx, 2
lea rcx, str.debug
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000cea4
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 1
lea rcx, [rbp - 0x49]
call fcn.14000ae70
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x49]
call fcn.14000ad50
nop
mov r9, qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov edx, 8
lea r8d, [rdx + 4]
lea rcx, [rbp - 0x31]
call fcn.14000d248
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 0x14000ce9d
call fcn.140006e70
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 - 0x41], ebx
lea rax, [rbp - 0x49]
mov qword [0x140018a88], 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 - 1], rax
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
je 0x14000ceb0
cmp qword [rbp - 1], 0
je 0x14000ceb0
lea rax, str.NitroUpdateService
mov qword [rbp - 0x71], rax
lea rax, [0x140005b10]
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 0x14000ce51
lea rcx, str.Service_run
call fcn.1400053a0
nop
mov qword [rbp - 0x49], rdi
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14000ce68
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 7], rbx
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14000ce7b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 1], rbx
mov rcx, qword [0x140018a80]
test rcx, rcx
je 0x14000ce99
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
mov qword [0x140018a80], 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 0x14000ced1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, [0x140016488]
lea rcx, [rsp + 0x20]
call sub.MSVCR120.dll__CxxThrowException
nop
mov ebx, 1
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14000cf10
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret