Function at 0x140032e20
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 [0x1403df5c8]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, rdx
mov r14, rcx
cmp byte [rdx], 0
jne 0x140032e73
lea r8, [0x140398500]
jmp 0x14003335e
mov rcx, qword [rdx + 0x20]
call fcn.14028dfd0
test al, al
jne 0x140032e8c
lea r8, str.e_0_31m__failed_to_load_CUDA_plugin_
jmp 0x14003335e
mov ecx, 2
call qword [0x140428738]
nop
mov dword [r14 + 0x74], eax
mov ecx, 1
call qword [0x140428738]
nop
mov dword [r14 + 0x70], eax
cmp dword [r14 + 0x74], 0
je 0x140033357
test eax, eax
je 0x140033357
call qword [0x140428708]
nop
test eax, eax
je 0x140033357
lea rbx, [r14 + 0x30]
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
jne 0x140033371
lea r9, [rdi + 8]
mov r8d, dword [rdi + 0x64]
mov edx, dword [rdi + 0x60]
lea rcx, [rbp - 0x78]
call fcn.14028db00
mov rsi, rax
xor r12d, r12d
cmp rbx, rax
je 0x140032f27
mov rcx, rbx
call fcn.140034460
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.140034460
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
je 0x140033357
mov edx, dword [r14 + 0x70]
lea rcx, [rbp]
call fcn.14028dd20
mov r15, rax
mov edx, dword [r14 + 0x74]
lea rcx, [rbp - 0x78]
call fcn.14028dd20
mov rsi, rax
call qword [0x1404286f8]
nop
cmp qword [r15 + 0x18], 0x10
jb 0x140032f6e
mov r15, qword [r15]
cmp qword [rsi + 0x18], 0x10
jb 0x140032f78
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.14024b7c0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140032fd2
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032fcd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400333a1
call fcn.1401fe640
movdqa xmm0, xmmword [0x14039c560]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x14003301e
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140033019
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003339b
call fcn.1401fe640
cmp byte [rdi + 0x68], 0
je 0x140033212
mov rdi, qword [rdi + 0x70]
cmp byte [0x140422d54], 0
jne 0x140033123
mov rcx, qword [0x1404259d0]
call fcn.1401fe640
test rdi, rdi
jne 0x14003305a
mov qword [0x1404259d8], r12
mov qword [0x1404259d0], r12
jmp 0x1400330a1
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdi + rcx], 0
jne 0x140033061
mov qword [0x1404259d8], rcx
inc rcx
call fcn.1401fec40
mov qword [0x1404259d0], rax
mov r8, qword [0x1404259d8]
inc r8
mov rdx, rdi
mov rcx, rax
call fcn.14021ce50
mov rcx, qword [0x1404259d0]
test rcx, rcx
jne 0x1400330e4
lea rdx, [0x140428788]
lea rcx, str.nvml.dll
call fcn.1400b3d50
test eax, eax
je 0x1400330f9
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x20]
call fcn.14021d2b0
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, [0x140428788]
call fcn.1400b3d50
test eax, eax
sete al
test al, al
je 0x140033112
call fcn.14028e0b0
test al, al
je 0x140033112
mov al, 1
mov byte [0x140422d53], al
mov byte [0x140422d54], al
jmp 0x14003312a
xor al, al
mov byte [0x140422d53], al
mov byte [0x140422d54], 1
jmp 0x14003312a
movzx eax, byte [0x140422d53]
test al, al
je 0x140033209
mov dword [rsp + 0x60], r12d
lea rcx, [rsp + 0x60]
call qword [0x1404287e0]
test eax, eax
jne 0x1400331e6
mov edi, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x1400331e6
nop dword [rax + rax]
lea rdx, [rsp + 0x68]
mov ecx, edi
call qword [0x1404287a8]
test eax, eax
jne 0x1400331da
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 [0x1404287b0]
test eax, eax
jne 0x1400331da
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, rdx
je 0x1400331da
movzx ecx, byte [rax + 0x11]
cmp ecx, dword [rbp - 0x3c]
jne 0x1400331d1
movzx ecx, byte [rax + 0x12]
cmp ecx, dword [rbp - 0x38]
jne 0x1400331d1
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x28], rcx
add rax, 0x30
cmp rax, rdx
jne 0x1400331b6
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x140033160
lea r9, [0x140422d60]
lea r8, [0x140422db0]
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.14024b7c0
jmp 0x14003322c
lea r8, str.e_0_31m__failed_to_load_NVML_
jmp 0x140033219
lea r8, [0x140398500]
lea rdx, str.NVML
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_31mdisablede_0m_s
call fcn.14024b7c0
mov r15, qword [rbx]
mov qword [rsp + 0x60], r15
mov rax, qword [rbx + 8]
mov qword [rsp + 0x78], rax
cmp r15, rax
je 0x140033371
nop word [rax + rax]
lea rcx, [r15 + 0x10]
lea rdx, [rbp - 0x78]
call fcn.140024a00
mov r14, rax
mov edx, ntohs
mov rcx, qword [r15 + 8]
call qword [0x140428770]
mov qword [rsp + 0x68], rax
mov edx, ntohs
mov rcx, qword [r15 + 8]
call qword [0x140428770]
mov rbx, rax
mov edx, 3
mov rcx, qword [r15 + 8]
call qword [0x140428780]
mov r13d, eax
mov edx, 2
mov rcx, qword [r15 + 8]
call qword [0x140428780]
mov r12d, eax
mov edx, 4
mov rcx, qword [r15 + 8]
call qword [0x140428780]
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.14028cf60
mov ebx, eax
mov rcx, qword [rsp + 0x60]
call fcn.14028cfd0
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.14024b7c0
nop
mov rcx, qword [rbp - 0x78]
call fcn.1401fe640
mov r15, qword [rsp + 0x60]
add r15, 0x30
mov qword [rsp + 0x60], r15
cmp r15, qword [rsp + 0x78]
jne 0x140033250
jmp 0x140033371
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.14024b7c0
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1401fe5e0
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.140220188
nop
call fcn.140220188
nop
int3