Function at 0x140026170
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.140036860
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.140036820
mov rcx, qword [rbp - 0x10]
test rax, rax
je 0x1400261e2
test rcx, rcx
jne 0x1400261e2
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.1400373e0
mov eax, dword [rbp + 0x48]
test eax, eax
jne 0x140026214
mov rcx, qword [rbp - 0x18]
call fcn.140053784
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 0x1400263e4
nop word [rax + rax]
mov rax, qword [0x1400b3ed8]
test rax, rax
je 0x1400263d4
cmp qword [rax], 0x240
jbe 0x1400263d4
mov r8, qword [rax + 0x240]
mov ebx, esi
test r8, r8
je 0x1400263d4
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp - 0x20]
mov rcx, qword [rcx + rbx*8]
call r8
test eax, eax
jne 0x1400263d4
cmp dword [r14 + 0x48], 2
jne 0x1400262b2
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp + 0x40]
mov rcx, qword [rcx + rbx*8]
call fcn.1400479e0
test eax, eax
je 0x14002629b
cmp eax, 3
jne 0x1400263d4
mov ecx, dword [rbp + 0x40]
lea eax, [rcx - 3]
cmp eax, 1
jbe 0x14002635b
test ecx, ecx
je 0x14002635b
cmp dword [r14 + 0x48], 1
jne 0x1400262ec
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp + 0x58]
mov rcx, qword [rcx + rbx*8]
call fcn.1400479e0
test eax, eax
je 0x1400262d7
cmp eax, 3
jne 0x1400263d4
mov ecx, dword [rbp + 0x58]
lea eax, [rcx - 3]
cmp eax, 1
jbe 0x1400262e6
test ecx, ecx
jne 0x1400262ec
mov r12d, 1
cmp dword [rbp - 0x20], edi
je 0x1400262fb
test r12d, r12d
jne 0x1400262fb
inc r15d
jmp 0x140026303
mov rax, qword [rbp - 0x18]
mov qword [rax + rbx*8], rdi
inc esi
cmp esi, dword [rbp + 0x48]
jb 0x140026230
test r15d, r15d
je 0x1400263e4
mov esi, r13d
test r13d, r13d
je 0x140026384
lea rcx, str.NVSMI_SHOW_ALL_DEVICES
call fcn.14005ce60
test rax, rax
jne 0x140026371
cmp r15d, r13d
jbe 0x140026384
lea rcx, str._nWARNING:_Only_monitoring_up_to_4_GPUs_is_supported_by_default._n
call fcn.140008340
lea rcx, str.Set_NVSMI_SHOW_ALL_DEVICES1_to_increase_the_limit_up_to_16_GPUs._n
call fcn.140008340
lea rcx, str.Performance_may_be_impacted_by_doing_so._n_n
call fcn.140008340
jmp 0x140026384
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.14005ca9c
cmp eax, 1
mov ecx, 0x20
cmove esi, ecx
mov ebx, edi
cmp dword [rbp + 0x48], ebx
jbe 0x1400263c7
nop dword [rax + rax]
mov rax, qword [rbp - 0x18]
mov ecx, ebx
mov rcx, qword [rax + rcx*8]
test rcx, rcx
je 0x1400263c0
lea rdx, [rbp + 0x40]
call fcn.1400442b0
mov rcx, qword [r14 + 0x10]
lea rdx, [rbp + 0x40]
call fcn.14001dbb0
inc edi
test r13d, r13d
je 0x1400263c0
cmp edi, esi
jge 0x1400263c7
inc ebx
cmp ebx, dword [rbp + 0x48]
jb 0x140026390
mov rcx, qword [rbp - 0x18]
call fcn.140053784
xor eax, eax
jmp 0x1400263f2
mov rcx, qword [rbp - 0x18]
call fcn.140053784
mov eax, 0xfffffff9
jmp 0x1400263f2
mov rcx, qword [rbp - 0x18]
call fcn.140053784
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