Function at 0x1400d9c50
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x38
mov eax, dword [rcx + 0xc8]
mov r12, rcx
mov rbx, rdx
mov r15d, r8d
test eax, eax
je 0x1400da050
cmp qword [rcx + 0xe8], 0
jne 0x1400da067
test r8d, 0xffffffe0
jne 0x1400da050
test r8b, 8
je 0x1400d9dd0
test r8b, 1
jne 0x1400da050
mov rdx, qword [rcx + 0x1c0]
mov rcx, rbx
call fcn.1400e7730
test eax, eax
je 0x1400da050
call fcn.1400e6170
mov r13, rax
call fcn.1400e6170
mov r14, rax
test r13, r13
je 0x1400da0a8
test rax, rax
je 0x1400da0a8
mov rdx, rbx
mov rcx, r14
call fcn.1400e7f40
test r15b, 0x10
je 0x1400d9fc0
mov edx, 3
mov rcx, r12
call fcn.1400dae90
mov edx, eax
lea eax, [rax + 2]
cmp eax, 1
jbe 0x1400da000
xor r8d, r8d
mov rcx, r12
call fcn.1400db050
mov rbx, rax
test rax, rax
je 0x1400da000
nop dword [rax]
mov rcx, qword [rbx + 0xb8]
call fcn.1400e75b0
test eax, eax
jne 0x1400d9d4b
mov rcx, qword [rbx + 0xc8]
mov rdx, r14
call fcn.1400e7830
test eax, eax
je 0x1400d9d56
mov edx, dword [rbx + 0x10]
mov rcx, r13
call fcn.1400e7060
mov rbx, qword [rbx + 0x38]
test rbx, rbx
jne 0x1400d9d28
mov rcx, qword [r12 + 0x1b8]
mov rdx, r13
call fcn.1400e7830
test eax, eax
jne 0x1400da096
mov rcx, r13
call fcn.1400e75b0
test eax, eax
jne 0x1400d9fc0
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0x20], r14
mov r9, r13
mov edx, r15d
mov rcx, r12
mov r8, qword [rax]
call fcn.1400d74b0
mov rcx, qword [r12 + 0x1c0]
mov r8, r14
mov rdx, rcx
call fcn.1400e7c50
mov rcx, qword [r12 + 0x1b8]
mov r8, r13
mov rdx, rcx
call fcn.1400e7c50
jmp 0x1400d9f3d
test r8b, 0x10
jne 0x1400da050
mov rdx, qword [rcx + 0x1b8]
mov rcx, rbx
call fcn.1400e7730
test eax, eax
je 0x1400da050
call fcn.1400e6170
mov r13, rax
call fcn.1400e6170
mov r14, rax
test r13, r13
je 0x1400da0a8
test rax, rax
je 0x1400da0a8
mov rdx, rbx
mov rcx, r13
call fcn.1400e7f40
test r15b, 1
je 0x1400d9f00
mov edx, 0xd
mov rcx, r12
call fcn.1400dae90
mov edx, eax
lea eax, [rax + 2]
cmp eax, 1
jbe 0x1400da028
xor r8d, r8d
mov rcx, r12
call fcn.1400db050
mov rbx, rax
test rax, rax
je 0x1400da028
nop word [rax + rax]
mov rsi, qword [rbx + 0xb8]
mov rcx, rsi
call fcn.1400e75b0
test eax, eax
jne 0x1400d9e82
mov rdx, r13
mov rcx, rsi
call fcn.1400e7830
test eax, eax
je 0x1400d9e8d
mov edx, dword [rbx + 0x10]
mov rcx, r14
call fcn.1400e7060
mov rbx, qword [rbx + 0x38]
test rbx, rbx
jne 0x1400d9e60
mov rcx, qword [r12 + 0x1c0]
mov rdx, r14
call fcn.1400e7830
test eax, eax
jne 0x1400da096
mov rcx, r14
call fcn.1400e75b0
test eax, eax
jne 0x1400d9f00
mov rax, qword [r12 + 0x18]
mov qword [rsp + 0x20], r14
mov r9, r13
mov edx, r15d
mov rcx, r12
mov r8, qword [rax]
call fcn.1400d77c0
mov rcx, qword [r12 + 0x1b8]
mov r8, r13
mov rdx, rcx
call fcn.1400e7c50
mov rcx, qword [r12 + 0x1c0]
mov r8, r14
mov rdx, rcx
call fcn.1400e7c50
jmp 0x1400d9f3d
mov rcx, r14
xor r14d, r14d
call fcn.1400e6200
mov rax, qword [r12 + 0x18]
mov r9, r13
mov edx, r15d
mov qword [rsp + 0x20], 0
mov rcx, r12
mov r8, qword [rax]
call fcn.1400d77c0
mov rcx, qword [r12 + 0x1b8]
mov r8, r13
mov rdx, rcx
call fcn.1400e7c50
mov rcx, r13
call fcn.1400e6200
mov rcx, r14
call fcn.1400e6200
mov rcx, r12
call fcn.1400d4620
mov rcx, r12
test eax, eax
js 0x1400da07e
call fcn.1400deff0
mov rcx, r12
call fcn.1400e0800
mov rax, qword [r12 + 0x18]
mov rax, qword [rax]
mov r13, qword [rax]
mov rcx, r13
call fcn.1400d2f60
mov rcx, r13
xor r13d, r13d
call fcn.1400d1450
mov rcx, r12
call fcn.1400e2560
lea rcx, str.HWLOC_DEBUG_CHECK
call sub.msvcrt.dll_getenv
test rax, rax
je 0x1400d9fac
mov rcx, r12
call fcn.1400d89b0
mov eax, r13d
add rsp, 0x38
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r13
xor r13d, r13d
call fcn.1400e6200
mov rax, qword [r12 + 0x18]
xor r9d, r9d
mov edx, r15d
mov qword [rsp + 0x20], r14
mov rcx, r12
mov r8, qword [rax]
call fcn.1400d74b0
mov rcx, qword [r12 + 0x1c0]
mov r8, r14
mov rdx, rcx
call fcn.1400e7c50
jmp 0x1400d9f3d
mov r8d, 0x110b
lea rdx, str.topology.c
lea rcx, [0x1402a1ae5]
xor ebx, ebx
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400d9d28
mov r8d, 0x112f
lea rdx, str.topology.c
lea rcx, [0x1402a1ae8]
xor ebx, ebx
call qword [sym.imp.msvcrt.dll__assert]
jmp 0x1400d9e60
call qword [sym.imp.msvcrt.dll__errno]
mov r13d, 0xffffffff
mov dword [rax], 0x16
jmp 0x1400d9fac
call qword [sym.imp.msvcrt.dll__errno]
mov r13d, 0xffffffff
mov dword [rax], 1
jmp 0x1400d9fac
call fcn.1400d8530
mov rcx, r12
mov r13d, 0xffffffff
call fcn.1400d7be0
jmp 0x1400d9fac
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x16
nop word [rax + rax]
mov rcx, r13
mov r13d, 0xffffffff
call fcn.1400e6200
mov rcx, r14
call fcn.1400e6200
jmp 0x1400d9fac