Function at 0x1400a75e0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x280], rbx
mov rax, qword [0x140526598]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, rdx
mov r14, rcx
cmp byte [rdx], 0
jne 0x1400a7634
lea r8, [0x14042d0b5]
jmp 0x1400a7b54
mov rcx, qword [rdx + 0x20]
call fcn.1400ad6a0
test al, al
jne 0x1400a7654
mov r8, qword [0x14053b0a0]
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_31mdisabled_e_0me_0_31m__s_e_0m
jmp 0x1400a7b5b
mov ecx, 2
call qword [0x14053c240]
nop
mov dword [r14 + 0x74], eax
mov ecx, 1
call qword [0x14053c240]
nop
mov dword [r14 + 0x70], eax
cmp dword [r14 + 0x74], 0
je 0x1400a7b4d
test eax, eax
je 0x1400a7b4d
call qword [0x14053c200]
nop
test eax, eax
je 0x1400a7b4d
lea rbx, [r14 + 0x30]
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
jne 0x1400a7b67
lea r9, [rdi + 8]
mov r8d, dword [rdi + 0x64]
mov edx, dword [rdi + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400adc10
mov rsi, rax
xor r12d, r12d
cmp rbx, rax
je 0x1400a76f0
mov rcx, rbx
call fcn.1400aa3f0
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, [rsp + 0x78]
call fcn.1400aa3f0
mov rax, qword [rbx + 8]
cmp qword [rbx], rax
je 0x1400a7b4d
mov edx, dword [r14 + 0x70]
lea rcx, [rbp - 0x10]
call fcn.1400ada30
mov r15, rax
mov edx, dword [r14 + 0x74]
lea rcx, [rsp + 0x78]
call fcn.1400ada30
mov rsi, rax
call qword [0x14053c1f0]
nop
cmp qword [r15 + 0x18], 0x10
jb 0x1400a7739
mov r15, qword [r15]
cmp qword [rsi + 0x18], 0x10
jb 0x1400a7743
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.140028100
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x1400a779e
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a7799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7b97
call fcn.140343460
movdqa xmm0, xmmword [0x1404d5dd0]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1400a77eb
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a77e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7b91
call fcn.140343460
cmp byte [rdi + 0x68], 0
je 0x1400a79ec
mov rdi, qword [rdi + 0x70]
cmp byte [0x140536c7b], 0
jne 0x1400a78f2
mov rcx, qword [0x14053b0b0]
call fcn.140343460
test rdi, rdi
jne 0x1400a7827
mov qword [0x14053b0b8], r12
mov qword [0x14053b0b0], r12
jmp 0x1400a7870
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400a7830
mov qword [0x14053b0b8], rcx
inc rcx
call fcn.140343a90
mov qword [0x14053b0b0], rax
mov r8, qword [0x14053b0b8]
inc r8
mov rdx, rdi
mov rcx, rax
call fcn.140361cf0
mov rcx, qword [0x14053b0b0]
test rcx, rcx
jne 0x1400a78b3
lea rdx, [0x14053c298]
lea rcx, str.nvml.dll
call fcn.14019a510
test eax, eax
je 0x1400a78c8
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x10]
call fcn.140362150
mov r8d, 0x104
lea rdx, [rbp + 0x10]
lea rcx, str._PROGRAMFILES_NVIDIA_CorporationNVSMI_nvml.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea rcx, [rbp + 0x10]
lea rdx, [0x14053c298]
call fcn.14019a510
test eax, eax
sete al
test al, al
je 0x1400a78e1
call fcn.1400aefd0
test al, al
je 0x1400a78e1
mov al, 1
mov byte [0x140536c7a], al
mov byte [0x140536c7b], al
jmp 0x1400a78f9
xor al, al
mov byte [0x140536c7a], al
mov byte [0x140536c7b], 1
jmp 0x1400a78f9
movzx eax, byte [0x140536c7a]
test al, al
je 0x1400a79e3
mov dword [rsp + 0x60], r12d
lea rcx, [rsp + 0x60]
call qword [0x14053c2f0]
test eax, eax
jne 0x1400a79c0
mov edi, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x1400a79c0
nop word [rax + rax]
mov qword [rsp + 0x68], r12
lea rdx, [rsp + 0x68]
mov ecx, edi
call qword [0x14053c2b8]
test eax, eax
jne 0x1400a79b4
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x3c], rax
mov qword [rbp - 0x34], rax
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x24], rax
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x68]
call qword [0x14053c2c0]
test eax, eax
jne 0x1400a79b4
mov rdx, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, rdx
je 0x1400a79b4
nop dword [rax + rax]
movzx ecx, byte [rax + 0x11]
cmp ecx, dword [rbp - 0x4c]
jne 0x1400a79ab
movzx ecx, byte [rax + 0x12]
cmp ecx, dword [rbp - 0x48]
jne 0x1400a79ab
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x28], rcx
add rax, 0x30
cmp rax, rdx
jne 0x1400a7990
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x1400a7930
lea r9, [0x140536c80]
lea r8, [0x140536cd0]
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.140028100
jmp 0x1400a7a06
lea r8, str.e_0_31m__failed_to_load_NVML_
jmp 0x1400a79f3
lea r8, [0x14042d0b5]
lea rdx, str.NVML
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_31mdisablede_0m_s
call fcn.140028100
mov rax, qword [rbx]
mov qword [rsp + 0x60], rax
mov rax, qword [rbx + 8]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x60]
cmp rbx, rax
je 0x1400a7b67
nop word [rax + rax]
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x78]
call fcn.140089ac0
mov r12, rax
mov edx, listen
mov rcx, qword [rbx + 8]
call qword [0x14053c278]
mov r13, rax
mov edx, recv
mov rcx, qword [rbx + 8]
call qword [0x14053c278]
mov r15, rax
mov edx, 3
mov rcx, qword [rbx + 8]
call qword [0x14053c290]
mov r14d, eax
mov edx, 2
mov rcx, qword [rbx + 8]
call qword [0x14053c290]
mov esi, eax
mov edx, 4
mov rcx, qword [rbx + 8]
call qword [0x14053c290]
mov edi, eax
mov edx, 0xa
mov rcx, qword [rbx + 8]
call qword [0x14053c290]
mov ebx, eax
mov edx, 9
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
call qword [0x14053c290]
mov r10d, eax
mov rax, qword [rsp + 0x60]
mov r11, qword [rax + 0x18]
shr r13, 0x14
shr r15, 0x14
mov eax, 0x10624dd3
mul ebx
mov ecx, edx
shr ecx, 6
mov eax, 0x10624dd3
mul r10d
shr edx, 6
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r11
mov r9, qword [r12]
mov rbx, qword [rsp + 0x60]
mov r8d, dword [rbx]
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.140028100
nop
mov rcx, qword [rsp + 0x78]
call fcn.140343460
add rbx, 0x30
mov qword [rsp + 0x60], rbx
cmp rbx, qword [rsp + 0x68]
jne 0x1400a7a30
jmp 0x1400a7b67
lea r8, str.e_0_31m__no_devices_
lea rcx, str.e_1_32m__e_0me_1_37m__13se_0me_1_31mdisablede_0m_s
lea rdx, str.CUDA
call fcn.140028100
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140343400
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14036500c
nop
call fcn.14036500c
nop
int3