Function at 0x140031bd4
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov r12, r8
xor r15d, r15d
lea rax, [0x14009e600]
lea rbx, [0x1400dae30]
mov qword [0x1400dae48], 1
mov qword [0x1400dae40], r15
mov qword [0x1400dae30], r15
lea rdi, [0x1400dae50]
mov qword [0x1400dae50], rax
mov qword [0x1400d23a8], rbx
mov r8, qword [rdi]
lea rax, [rbx + 8]
lea rcx, [0x14002ec34]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x30], r15
mov r9d, 1
mov rdx, rbx
mov qword [rsp + 0x28], r15
add rdi, 8
mov qword [rbp - 0x41], r8
mov qword [rbp - 0x39], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140031c39
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
test rax, rax
jne 0x140031d71
call fcn.14002ecdc
cmp dword [rax + 0x28], 3
jl 0x140031d69
lea r13d, [rbx + 7]
lea rcx, [0x1400a05e8]
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], r13
mov word [rbp + 0xf], r15w
call fcn.14004a2f8
lea rdx, [0x1400a05e8]
lea rcx, [rbp + 0xf]
mov r8, rax
call fcn.140073170
mov qword [rbp - 9], r15
mov word [rbp - 0x19], r15w
lea r15, str.WinMain
mov qword [rbp - 1], r13
mov rcx, r15
call fcn.14004a2f8
lea rcx, [rbp - 0x19]
mov rdx, r15
mov r8, rax
call fcn.140073170
lea rax, [rbp - 0x59]
xor r11d, r11d
mov qword [rbp - 0x29], rax
lea rax, str.Failed_to_process_command_line._Aborting.
mov byte [rbp - 0x59], r11b
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x39], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____42____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x49], rax
call fcn.14002ecdc
lea r9, [rbp - 0x19]
mov rcx, rax
lea rax, [rbp + 0xf]
lea r8, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea edx, [rbx + 3]
mov dword [rsp + 0x20], 0x3e1
call fcn.14000d244
or eax, 0xffffffff
jmp 0x1400320a9
cmp dword [rbp - 0x21], 1
mov edi, r15d
mov r13d, 7
lea r15, str.WinMain
jle 0x140031f98
call fcn.14002ecdc
cmp dword [rax + 0x28], 6
jl 0x140031e58
xor ebx, ebx
lea rcx, [0x1400a05e8]
mov qword [rbp - 1], r13
mov qword [rbp - 9], rbx
mov word [rbp - 0x19], bx
call fcn.14004a2f8
lea rdx, [0x1400a05e8]
lea rcx, [rbp - 0x19]
mov r8, rax
call fcn.140073170
mov rcx, r15
mov qword [rbp + 0x27], r13
mov qword [rbp + 0x1f], rbx
mov word [rbp + 0xf], bx
call fcn.14004a2f8
lea rcx, [rbp + 0xf]
mov rdx, r15
mov r8, rax
call fcn.140073170
lea rax, [rbp - 0x59]
xor r11d, r11d
mov qword [rbp + 0x3f], rax
lea rax, str.Command_line_parameter:
mov byte [rbp - 0x59], r11b
mov qword [rbp - 0x51], rax
lea rax, [rbp + 0x37]
mov qword [rbp - 0x49], rax
lea rax, [rsi + 8]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x51]
mov qword [rbp - 0x39], rax
lea rax, method.Nvidia::Logging::Loggable.virtual_0
mov qword [rbp - 0x31], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x29], rax
call fcn.14002ecdc
lea r9, [rbp + 0xf]
mov rcx, rax
lea rax, [rbp - 0x19]
lea r8, [rbp - 0x31]
mov qword [rsp + 0x28], rax
lea edx, [rbx + 6]
mov dword [rsp + 0x20], 0x3ee
call fcn.14000d244
mov rcx, qword [rsi + 8]
lea rdx, [0x1400a06f8]
call fcn.14004a6e0
test eax, eax
jne 0x140031ed8
lea rdx, str._session
mov rcx, r12
call fcn.14004dfb0
lea rcx, str._session
mov rbx, rax
call fcn.14004a250
xor r12d, r12d
add rbx, rax
cmp byte [rbx], r12b
je 0x140031e98
inc rbx
call section..text
mov rdi, rax
test rax, rax
je 0x140031ed0
lea rdx, str.nvsvcInitialize
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140031ec7
xor r9d, r9d
mov r8, rbx
mov rdx, rdi
xor ecx, ecx
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, r12d
jmp 0x140031fa8
mov rcx, qword [rsi + 8]
lea rdx, str._install
call fcn.14004a6e0
xor r12d, r12d
test eax, eax
jne 0x140031ef6
call fcn.14003086c
jmp 0x140031f0f
mov rcx, qword [rsi + 8]
lea rdx, str._uninstall
call fcn.14004a6e0
test eax, eax
jne 0x140031f16
call fcn.1400310a4
mov edi, eax
jmp 0x140031fa8
mov rcx, qword [rsi + 8]
lea rdx, str._exe
call fcn.14004a6e0
test eax, eax
jne 0x140031fa8
call fcn.14002f648
mov rbx, qword [0x1400da610]
mov rcx, qword [0x1400da618]
mov eax, r12d
jmp 0x140031f6d
test eax, eax
jne 0x140031f72
mov rdx, qword [rbx]
test rdx, rdx
je 0x140031f69
cmp dword [rdx + 0x28], r12d
jne 0x140031f59
mov eax, r12d
jmp 0x140031f69
mov ecx, dword [rdx + 0x28]
call qword [sym.imp.ole32.dll_CoRevokeClassObject]
mov rcx, qword [0x1400da618]
add rbx, 8
cmp rbx, rcx
jb 0x140031f42
cmp byte [0x1400db0a0], r12b
je 0x140031f87
mov ecx, dword [0x1400db09c]
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x1400da600]
call fcn.14002d5d8
or edi, 0xffffffff
jmp 0x140031fa8
lea rcx, str.8_n_n_
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
xor r12d, r12d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.14002ecdc
cmp dword [rax + 0x28], 6
jl 0x140032070
lea rcx, [0x1400a05e8]
mov qword [rbp - 1], r13
mov qword [rbp - 9], r12
mov word [rbp - 0x19], r12w
call fcn.14004a2f8
lea rdx, [0x1400a05e8]
lea rcx, [rbp - 0x19]
mov r8, rax
call fcn.140073170
mov rcx, r15
mov qword [rbp + 0x27], r13
mov qword [rbp + 0x1f], r12
mov word [rbp + 0xf], r12w
call fcn.14004a2f8
lea rcx, [rbp + 0xf]
mov rdx, r15
mov r8, rax
call fcn.140073170
lea rax, [rbp - 0x59]
xor r11d, r11d
mov qword [rbp + 0x3f], rax
lea rax, str.All_done._Exiting
mov byte [rbp - 0x59], r11b
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x37]
mov qword [rbp - 0x29], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____18____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x31]
mov qword [rbp - 0x49], rax
call fcn.14002ecdc
lea r9, [rbp + 0xf]
mov rcx, rax
lea rax, [rbp - 0x19]
lea r8, [rbp - 0x51]
mov qword [rsp + 0x28], rax
mov edx, 6
mov dword [rsp + 0x20], 0x40d
call fcn.14000d244
mov rbx, qword [0x1400d23a8]
lea rsi, [0x1400d23a8]
cmp rbx, rsi
je 0x1400320a7
jmp 0x14003209b
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140032098
call qword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
mov qword [rbx + 8], r12
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140032085
mov qword [0x1400d23a8], rsi
mov eax, edi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret