Function at 0x14000cba0
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 0x14000ce4c
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 0x14000ce4c
lea rcx, [rbp - 0x79]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
mov qword [rsp + 0x28], rbx
cmp r14d, 1
jle 0x14000cd0a
mov rdx, qword [rdi + 8]
movzx eax, word [rdx]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x14000cd0a
add rdx, 2
lea rcx, str.install
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000cc61
call fcn.1400049f0
call fcn.140006e10
jmp 0x14000ce24
mov rdx, qword [rdi + 8]
add rdx, 2
lea rcx, str.uninstall
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000cc89
call fcn.140004c30
call fcn.140006e10
jmp 0x14000ce24
mov rdx, qword [rdi + 8]
add rdx, 2
lea rcx, str.debug
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
jne 0x14000ce24
lea rcx, [rsp + 0x20]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
mov edx, 1
lea rcx, [rbp - 0x49]
call fcn.14000adf0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x49]
call fcn.14000acd0
nop
mov r9, qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov edx, 8
lea r8d, [rdx + 4]
lea rcx, [rbp - 0x31]
call fcn.14000d1c8
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 0x14000ce1d
call fcn.140006e10
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 0x14000ce30
cmp qword [rbp - 1], 0
je 0x14000ce30
lea rax, str.NitroUpdateService
mov qword [rbp - 0x71], rax
lea rax, [0x140005ab0]
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 0x14000cdd1
lea rcx, str.Service_run
call fcn.140005340
nop
mov qword [rbp - 0x49], rdi
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14000cde8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 7], rbx
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14000cdfb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 1], rbx
mov rcx, qword [0x140018a80]
test rcx, rcx
je 0x14000ce19
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 0x14000ce51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, [0x140016458]
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.14000ce90
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret