Function at 0x180083d70
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.1800a7270
sub rsp, rax
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1500], rbx
mov rax, qword [0x1801aed20]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov rsi, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x40]
call fcn.1800cf2b0
or rbx, 0xffffffffffffffff
test rdi, rdi
je 0x180083df9
mov rax, rbx
nop dword [rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x180083dd0
test rax, rax
je 0x180083df9
mov r8, rbx
inc r8
cmp byte [rdi + r8], 0
jne 0x180083de1
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.1800e3890
jmp 0x180083e55
mov r8d, 0x400
lea rdx, [rbp + 0x3c0]
lea rcx, str.SystemDrive
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x180084064
lea rax, [rbp + 0x3c0]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x180083e25
lea rdx, [rbp + 0x3c0]
lea rcx, [rbp - 0x40]
call fcn.1800e3890
mov r8d, 0x42
lea rdx, str.Program_FilesNVIDIA_Corporation_vGPU_LicensingClientConfigToken
lea rcx, [rbp - 0x40]
call fcn.1800e9af0
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.180082e90
cmp eax, 2
jne 0x180083f55
lea r9, [rbp - 0x40]
lea r8, str.Unable_to_open_directory___s_
mov edx, 0x7ff
lea rcx, [rbp + 0x3c0]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x18008415a
lea rax, [rsp + 0x58]
mov qword [rbp - 0x68], rax
lea rax, [rsp + 0x78]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x70], 7
xor ebx, ebx
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
lea r8d, [rbx + 0x13]
lea rdx, str.GridCommonUtils.cpp
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
mov qword [rbp - 0x70], 7
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
lea r8d, [rbx + 0x15]
lea rdx, str.isNLSTokenFilePresent
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x307
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x48]
jmp 0x180084150
cmp eax, 1
jne 0x18008403c
lea r8, str.Unable_to_fetch_the_client_configuration_token_file
mov edx, 0x7ff
lea rcx, [rbp + 0x3c0]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x18008415a
lea rax, [rsp + 0x78]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], 7
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
lea r8d, [rbx + 0x13]
lea rdx, str.GridCommonUtils.cpp
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
lea r8d, [rbx + 0x15]
lea rdx, str.isNLSTokenFilePresent
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0x3c0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x30c
jmp 0x180084146
test rsi, rsi
je 0x18008405d
lea rax, [rbp - 0x40]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180084045
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.1800e3890
mov al, 1
jmp 0x18008415c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Failed_to_get_system_drive_path___d_
mov edx, 0x7ff
lea rcx, [rbp + 0xbc0]
call fcn.18000e038
call fcn.18003e228
cmp dword [rax + 0x20], 3
jl 0x18008415a
lea rax, [rsp + 0x78]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], 7
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov word [rsp + 0x78], bx
lea r8d, [rbx + 0x13]
lea rdx, str.GridCommonUtils.cpp
lea rcx, [rsp + 0x78]
call fcn.18001eca0
nop
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
lea r8d, [rbx + 0x15]
lea rdx, str.isNLSTokenFilePresent
lea rcx, [rsp + 0x58]
call fcn.18001eca0
nop
lea rax, [rsp + 0x30]
mov qword [rbp - 0x50], rax
lea rax, [rbp + 0xbc0]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rax, vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____2048____ptr64__class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
call fcn.18003e228
mov rcx, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2fe
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x58]
mov edx, 3
call fcn.180019ae4
xor al, al
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.1800a6240
mov rbx, qword [rsp + 0x1500]
add rsp, 0x14d0
pop rdi
pop rsi
pop rbp
ret