Function at 0x1400261c0
Capabilities:
Delete file
Terminate process

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor edi, edi
movsxd rbx, edx
mov r13d, r8d
mov qword [rbp - 0x10], rdi
mov r14, rcx
lea r8, [rbp - 0x10]
mov rcx, qword [rcx + 0x30]
mov rdx, rbx
mov r15d, edi
mov r12d, edi
call fcn.140036a00
mov rdx, qword [rbp - 0x10]
test eax, eax
mov rcx, qword [r14 + 0x30]
cmove rdx, rdi
mov qword [rbp - 0x10], rdx
mov edx, ebx
call fcn.1400369c0
mov rcx, qword [rbp - 0x10]
test rax, rax
je 0x140026232
test rcx, rcx
jne 0x140026232
lea eax, [rdi - 2]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
lea r8, [rbp - 0x18]
lea rdx, [rbp + 0x48]
call fcn.140037580
mov eax, dword [rbp + 0x48]
test eax, eax
jne 0x140026264
mov rcx, qword [rbp - 0x18]
call fcn.140053924
mov eax, 0xffffffff
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
mov qword [rsp + 0x90], rsi
mov esi, edi
test eax, eax
je 0x140026454
nop word [rax + rax]
mov rax, qword [0x1400b3f38]
test rax, rax
je 0x140026444
cmp qword [rax], 0x240
jbe 0x140026444
mov r8, qword [rax + 0x240]
mov ebx, esi
test r8, r8
je 0x140026444
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp - 0x20]
mov rcx, qword [rcx + rbx*8]
call r8
test eax, eax
jne 0x140026444
cmp dword [r14 + 0x48], 2
jne 0x140026302
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp + 0x40]
mov rcx, qword [rcx + rbx*8]
call fcn.140047b80
test eax, eax
je 0x1400262eb
cmp eax, 3
jne 0x140026444
mov ecx, dword [rbp + 0x40]
lea eax, [rcx - 3]
cmp eax, 1
jbe 0x1400263b7
test ecx, ecx
je 0x1400263b7
cmp dword [r14 + 0x48], 1
jne 0x140026348
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp + 0x58]
mov rcx, qword [rcx + rbx*8]
call fcn.140047b80
test eax, eax
je 0x140026327
cmp eax, 3
jne 0x140026444
mov ecx, dword [rbp + 0x58]
lea eax, [rcx - 3]
cmp eax, 1
jbe 0x140026336
test ecx, ecx
jne 0x140026348
lea rcx, str.The_feature_is_not_supported_in_this_configuration_n
mov r12d, 1
call fcn.1400013f0
cmp dword [rbp - 0x20], edi
je 0x140026357
test r12d, r12d
jne 0x140026357
inc r15d
jmp 0x14002635f
mov rax, qword [rbp - 0x18]
mov qword [rax + rbx*8], rdi
inc esi
cmp esi, dword [rbp + 0x48]
jb 0x140026280
test r15d, r15d
je 0x140026454
mov esi, r13d
test r13d, r13d
je 0x1400263ec
lea rcx, str.NVSMI_SHOW_ALL_DEVICES
call fcn.14005d000
test rax, rax
jne 0x1400263d9
cmp r15d, r13d
jbe 0x1400263ec
lea rcx, str._nWARNING:_Only_monitoring_up_to_4_GPUs_is_supported_by_default._n
call fcn.140008150
lea rcx, str.Set_NVSMI_SHOW_ALL_DEVICES1_to_increase_the_limit_up_to_16_GPUs._n
call fcn.140008150
lea rcx, str.Performance_may_be_impacted_by_doing_so._n_n
call fcn.140008150
jmp 0x1400263ec
lea rcx, str.The_feature_is_not_supported_in_this_configuration_n
call fcn.1400013f0
lea rcx, str.C:Program_FilesNVIDIA_CorporationNVSMI_nvsmi_pid.txt
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rax
call fcn.14005cc3c
cmp eax, 1
mov ecx, 0x20
cmove esi, ecx
mov ebx, edi
cmp dword [rbp + 0x48], ebx
jbe 0x140026437
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbp - 0x18]
mov ecx, ebx
mov rcx, qword [rax + rcx*8]
test rcx, rcx
je 0x140026430
lea rdx, [rbp + 0x40]
call fcn.140044450
mov rcx, qword [r14 + 0x10]
lea rdx, [rbp + 0x40]
call fcn.14001dba0
inc edi
test r13d, r13d
je 0x140026430
cmp edi, esi
jge 0x140026437
inc ebx
cmp ebx, dword [rbp + 0x48]
jb 0x140026400
mov rcx, qword [rbp - 0x18]
call fcn.140053924
xor eax, eax
jmp 0x140026462
mov rcx, qword [rbp - 0x18]
call fcn.140053924
mov eax, 0xfffffff9
jmp 0x140026462
mov rcx, qword [rbp - 0x18]
call fcn.140053924
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret