Function at 0x140032040
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1402151f8]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, rdx
mov r14, rcx
cmp byte [rdx], 0
jne 0x140032093
lea r8, [0x1401e2af0]
jmp 0x14003257e
mov rcx, qword [rdx + 0x20]
call fcn.140156200
test al, al
jne 0x1400320ac
lea r8, str.e_0_31m__failed_to_load_CUDA_plugin_
jmp 0x14003257e
mov ecx, 2
call qword [0x140256f78]
nop
mov dword [r14 + 0x74], eax
mov ecx, 1
call qword [0x140256f78]
nop
mov dword [r14 + 0x70], eax
cmp dword [r14 + 0x74], 0
je 0x140032577
test eax, eax
je 0x140032577
call qword [0x140256f48]
nop
test eax, eax
je 0x140032577
lea rbx, [r14 + 0x30]
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
jne 0x140032591
lea r9, [rdi + 8]
mov r8d, dword [rdi + 0x64]
mov edx, dword [rdi + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140155d30
mov rsi, rax
xor r12d, r12d
cmp rbx, rax
je 0x140032147
mov rcx, rbx
call fcn.140033690
mov rcx, qword [rsi]
mov qword [rbx], rcx
mov rcx, qword [rsi + 8]
mov qword [rbx + 8], rcx
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x10], rax
mov qword [rsi], r12
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
lea rcx, [rbp - 0x78]
call fcn.140033690
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
je 0x140032577
mov edx, dword [r14 + 0x70]
lea rcx, [rbp]
call fcn.140155f50
mov r15, rax
mov edx, dword [r14 + 0x74]
lea rcx, [rbp - 0x78]
call fcn.140155f50
mov rsi, rax
call qword [0x140256f38]
nop
cmp qword [r15 + 0x18], 0x10
jb 0x14003218e
mov r15, qword [r15]
cmp qword [rsi + 0x18], 0x10
jb 0x140032198
mov rsi, qword [rsi]
mov qword [rsp + 0x20], rax
mov r9, r15
mov r8, rsi
lea rdx, str.CUDA
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_37m_se_0m_e_1_37m_se_0me_1_30m__se_0m
call fcn.1401163c0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400321f2
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400321ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400325c1
call fcn.1400cc090
movdqa xmm0, xmmword [0x1401e6a80]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14003223e
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032239
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400325bb
call fcn.1400cc090
cmp byte [rdi + 0x68], 0
je 0x140032432
mov rdi, qword [rdi + 0x70]
cmp byte [0x140251594], 0
jne 0x140032343
mov rcx, qword [0x140254210]
call fcn.1400cc090
test rdi, rdi
jne 0x14003227a
mov qword [0x140254218], r12
mov qword [0x140254210], r12
jmp 0x1400322c1
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140032281
mov qword [0x140254218], rcx
inc rcx
call fcn.1400cc690
mov qword [0x140254210], rax
mov r8, qword [0x140254218]
inc r8
mov rdx, rdi
mov rcx, rax
call fcn.1400eab30
mov rcx, qword [0x140254210]
test rcx, rcx
jne 0x140032304
lea rdx, [0x140256fc8]
lea rcx, str.nvml.dll
call fcn.1400a9c80
test eax, eax
je 0x140032319
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x20]
call fcn.1400eaf90
mov r8d, 0x104
lea rdx, [rbp + 0x20]
lea rcx, str._PROGRAMFILES_NVIDIA_CorporationNVSMI_nvml.dll
call qword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsA]
lea rcx, [rbp + 0x20]
lea rdx, [0x140256fc8]
call fcn.1400a9c80
test eax, eax
sete al
test al, al
je 0x140032332
call fcn.1401562e0
test al, al
je 0x140032332
mov al, 1
mov byte [0x140251593], al
mov byte [0x140251594], al
jmp 0x14003234a
xor al, al
mov byte [0x140251593], al
mov byte [0x140251594], 1
jmp 0x14003234a
movzx eax, byte [0x140251593]
test al, al
je 0x140032429
mov dword [rsp + 0x60], r12d
lea rcx, [rsp + 0x60]
call qword [0x140257020]
test eax, eax
jne 0x140032406
mov edi, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x140032406
nop dword [rax + rax]
lea rdx, [rsp + 0x68]
mov ecx, edi
call qword [0x140256fe8]
test eax, eax
jne 0x1400323fa
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x30], r12d
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
mov qword [rbp - 0x1c], rax
mov qword [rbp - 0x14], rax
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x68]
call qword [0x140256ff0]
test eax, eax
jne 0x1400323fa
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, rdx
je 0x1400323fa
movzx ecx, byte [rax + 0x11]
cmp ecx, dword [rbp - 0x3c]
jne 0x1400323f1
movzx ecx, byte [rax + 0x12]
cmp ecx, dword [rbp - 0x38]
jne 0x1400323f1
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x28], rcx
add rax, 0x30
cmp rax, rdx
jne 0x1400323d6
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x140032380
lea r9, [0x1402515a0]
lea r8, [0x1402515f0]
lea rdx, str.NVML
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_37m_se_0m_e_1_32m_se_0m_press_e_45me_1_37mee_0m_for_health_report
call fcn.1401163c0
jmp 0x14003244c
lea r8, str.e_0_31m__failed_to_load_NVML_
jmp 0x140032439
lea r8, [0x1401e2af0]
lea rdx, str.NVML
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_31mdisablede_0m_s
call fcn.1401163c0
mov r15, qword [rbx]
mov qword [rsp + 0x60], r15
mov rax, qword [rbx + 8]
mov qword [rsp + 0x78], rax
cmp r15, rax
je 0x140032591
nop word [rax + rax]
lea rcx, [r15 + 0x10]
lea rdx, [rbp - 0x78]
call fcn.140024560
mov r14, rax
mov edx, ntohs
mov rcx, qword [r15 + 8]
call qword [0x140256fb0]
mov qword [rsp + 0x68], rax
mov edx, ntohs
mov rcx, qword [r15 + 8]
call qword [0x140256fb0]
mov rbx, rax
mov edx, 3
mov rcx, qword [r15 + 8]
call qword [0x140256fc0]
mov r13d, eax
mov edx, 2
mov rcx, qword [r15 + 8]
call qword [0x140256fc0]
mov r12d, eax
mov edx, 4
mov rcx, qword [r15 + 8]
call qword [0x140256fc0]
mov edi, eax
mov rsi, qword [r15 + 0x18]
mov r14, qword [r14]
mov r15d, dword [r15]
shr qword [rsp + 0x68], 0x14
shr rbx, 0x14
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x60]
call fcn.140155190
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call fcn.140155200
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov r9, r14
mov r8d, r15d
lea rdx, str.CUDA_GPU
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_36m_zue_0me_0_33m__se_0me_1_32m__s_e_0me_1_37m_u__u_MHze_0m_smx:e_1_37m_ue_0m_arch:e_1_37m_u_ue_0m_mem:e_0_36m_zu__zue_0m_MB
call fcn.1401163c0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1400cc090
mov r15, qword [rsp + 0x60]
add r15, 0x30
mov qword [rsp + 0x60], r15
cmp r15, qword [rsp + 0x78]
jne 0x140032470
jmp 0x140032591
lea r8, str.e_0_31m__no_devices_
lea rdx, str.CUDA
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_31mdisablede_0m_s
call fcn.1401163c0
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1400cc030
mov rbx, qword [rsp + 0x290]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400edb3c
nop
call fcn.1400edb3c
nop
int3