Function at 0x1400e5a60
Capabilities:
Link many functions at runtime
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x140391620]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov r8d, 0x200
lea rdx, [rbp + 0x70]
lea rcx, str._WINDIR__System32_nvml.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x1400e5bb8
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x38]
call fcn.1400ccca0
lea rdx, str.Failed_to_obtain_all_required_NVML_function_pointers
lea rcx, [rsp + 0x48]
call fcn.14004ebf0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004bbe0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400e5b31
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e5b2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e5f07
call fcn.1402550ac
lea rcx, [rsp + 0x38]
call fcn.140016120
nop
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x38]
call fcn.1400ccca0
lea rdx, str.NVIDIA_hardware_monitoring_disabled
lea rcx, [rsp + 0x48]
call fcn.14004ebf0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004bbe0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400e5ba8
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e5ba3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e5f0d
call fcn.1402550ac
lea rcx, [rsp + 0x38]
call fcn.140016120
nop
jmp 0x1400e5ecf
mov edx, 0x78
lea ecx, [rdx - 0x77]
call fcn.1402613bc
mov rbx, rax
mov qword [rax], rdi
lea rdx, str.nvmlInit
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
mov qword [rbx + 0x30], rax
lea rdx, str.nvmlDeviceGetCount_v2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov qword [rbx + 0x38], rax
lea rdx, str.nvmlDeviceGetHandleByIndex_v2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
mov qword [rbx + 0x40], rax
lea rdx, str.nvmlDeviceGetPciInfo
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
mov qword [rbx + 0x48], rax
lea rdx, str.nvmlDeviceGetName
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rbx + 0x50], rax
lea rdx, str.nvmlDeviceGetTemperature
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
mov qword [rbx + 0x58], rax
lea rdx, str.nvmlDeviceGetFanSpeed
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
mov qword [rbx + 0x60], rax
lea rdx, str.nvmlDeviceGetPowerUsage
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
mov qword [rbx + 0x68], rax
lea rdx, str.nvmlShutdown
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x70], rax
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400e5dd4
test rax, rax
je 0x1400e5dd4
test rsi, rsi
je 0x1400e5dd4
test r14, r14
je 0x1400e5dd4
test r15, r15
je 0x1400e5dd4
test r12, r12
je 0x1400e5dd4
cmp qword [rsp + 0x28], 0
je 0x1400e5dd4
cmp qword [rsp + 0x30], 0
je 0x1400e5dd4
test r13, r13
je 0x1400e5dd4
call rcx
lea rcx, [rbx + 8]
call qword [rbx + 0x38]
movsxd rcx, dword [rbx + 8]
mov edx, 8
call fcn.1402613bc
mov qword [rbx + 0x28], rax
movsxd rcx, dword [rbx + 8]
mov edx, 4
call fcn.1402613bc
mov qword [rbx + 0x10], rax
movsxd rcx, dword [rbx + 8]
mov edx, 4
call fcn.1402613bc
mov qword [rbx + 0x18], rax
movsxd rcx, dword [rbx + 8]
mov edx, 4
call fcn.1402613bc
mov qword [rbx + 0x20], rax
xor esi, esi
mov edi, esi
mov eax, dword [rbx + 8]
test eax, eax
jle 0x1400e5dcc
nop word [rax + rax]
movsxd rcx, edi
mov rax, qword [rbx + 0x28]
lea rdx, [rax + rcx*8]
mov ecx, edi
call qword [rbx + 0x40]
inc edi
mov eax, dword [rbx + 8]
cmp edi, eax
jl 0x1400e5d60
test eax, eax
jle 0x1400e5dcc
mov rdi, rsi
mov r14, rsi
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbx + 0x28]
lea rdx, [rbp + 0x30]
mov rcx, qword [rcx + r14]
call qword [rbx + 0x48]
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbp + 0x40]
mov dword [rdi + rcx], eax
mov rcx, qword [rbx + 0x18]
mov eax, dword [rbp + 0x44]
mov dword [rdi + rcx], eax
mov rcx, qword [rbx + 0x20]
mov eax, dword [rbp + 0x48]
mov dword [rdi + rcx], eax
inc esi
lea r14, [r14 + 8]
lea rdi, [rdi + 4]
cmp esi, dword [rbx + 8]
jl 0x1400e5d90
mov rax, rbx
jmp 0x1400e5ed1
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x38]
call fcn.1400ccca0
lea rdx, str.Failed_to_obtain_all_required_NVML_function_pointers
lea rcx, [rsp + 0x48]
call fcn.14004ebf0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004bbe0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400e5e40
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e5e3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e5f13
call fcn.1402550ac
lea rcx, [rsp + 0x38]
call fcn.140016120
nop
lea rdx, str.e_91m_X
lea rcx, [rsp + 0x38]
call fcn.1400ccca0
lea rdx, str.NVIDIA_hardware_monitoring_disabled
lea rcx, [rsp + 0x48]
call fcn.14004ebf0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004bbe0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1400e5eb3
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e5eae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e5f01
call fcn.1402550ac
lea rcx, [rsp + 0x38]
call fcn.140016120
nop
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140266d24
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140255050
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140260990
nop
call fcn.140260990
nop
call fcn.140260990
nop
call fcn.140260990
int3