Function at 0x140009470
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14009a110]
xor rax, rsp
mov qword [rbp], rax
mov rdi, rcx
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_SetDefaultDllDirectories]
lea rdx, str.RLA_Utility
lea rcx, str.NVIDIA__ls_n
call fcn.140021ee0
lea rdx, str.0.24
lea rcx, str.Version:__s_n
call fcn.140021ee0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1400094f7
lea rcx, str.CommandLineToArgvW_failed_n
call fcn.140002800
mov eax, 1
jmp 0x14000987f
mov ecx, dword [rbp - 0x20]
mov rdx, rax
call fcn.140009300
test eax, eax
jne 0x1400094ed
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400a1578], rax
test rax, rax
je 0x1400094ed
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400a1550], rax
test rax, rax
je 0x1400094ed
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400a1560], rax
test rax, rax
je 0x1400094ed
mov edx, Ordinal_41
mov qword [rsp + 0x128], rbx
mov qword [rsp + 0x130], rsi
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
jne 0x140009594
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LocalAlloc_Error_code:__d_n
call fcn.140021ee0
xor esi, esi
mov word [rbp - 0x24], 0x100
lea rax, [rbp - 0x80]
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x28]
mov dword [rsp + 0x48], esi
xor r9d, r9d
mov dword [rsp + 0x40], esi
xor r8d, r8d
mov dword [rsp + 0x38], esi
mov dl, 1
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x28], esi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x1400095f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.AllocateAndInitializeSid_Error_code:__d_n
call fcn.140021ee0
xor eax, eax
lea r9, [rbp - 0x78]
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x70]
mov qword [rbp - 0x68], rax
xor r8d, r8d
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x80]
lea ecx, [r8 + 1]
mov dword [rbp - 0x70], 2
mov qword [rbp - 0x6c], 2
mov dword [rbp - 0x54], esi
mov dword [rbp - 0x50], 5
mov qword [rbp - 0x48], rax
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x140009656
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SetEntriesInAcl_Error_code:__d_n
call fcn.140021ee0
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x14000967c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InitializeSecurityDescriptor_Error_code:__d_n
call fcn.140021ee0
mov r8, qword [rbp - 0x78]
xor r9d, r9d
mov rcx, rbx
lea edx, [r9 + 1]
call qword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x1400096a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.SetSecurityDescriptorDacl_Error_code:__d_n
call fcn.140021ee0
xor r8d, r8d
mov dword [rbp - 0x40], Ordinal_26
lea r9, str.GlobalFlashIndicatorEvent
mov qword [rbp - 0x38], rbx
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x30], esi
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x1400a1570], rax
test rax, rax
jne 0x1400096f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_create_flash_indicator_event_code:__d_n
call fcn.140021ee0
mov eax, 1
jmp 0x14000986f
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x20]
lea rdx, [0x140008bf0]
lea rcx, [rsp + 0x70]
call fcn.140016840
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.1400168b0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140009732
mov edx, Ordinal_26
call fcn.14006fc30
mov rcx, rdi
call fcn.140009170
mov qword [0x1400a1548], rax
call fcn.140009280
mov rcx, qword [0x1400a1548]
test rcx, rcx
je 0x140009758
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [rbp - 8]
test eax, eax
je 0x1400097d4
mov rcx, qword [0x1400a1580]
test rcx, rcx
je 0x140009774
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [rbp - 8]
test eax, eax
jne 0x140009791
lea ecx, [rax + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [rbp - 8], esi
jne 0x140009791
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp - 8], eax
jne 0x1400097a7
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rbp - 0x10]
lea rcx, [rsp + 0x70]
xor edx, edx
movdqa xmmword [rsp + 0x70], xmm0
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x1400097cd
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], esi
mov rcx, qword [0x1400a1570]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400097f0
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400097ff
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rbx, rbx
je 0x14000980d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1400a1578]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400a1560]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1400a1550]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14001cc30
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1400a1598]
mov qword [0x1400a1598], rsi
test rcx, rcx
je 0x140009861
mov edx, reloc.WS2_32.dll_recv
call fcn.14006fc30
cmp dword [rbp - 8], esi
je 0x14000986d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
xor eax, eax
mov rbx, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x130]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14006f2e0
mov rdi, qword [rsp + 0x138]
add rsp, 0x110
pop rbp
ret