Function at 0x1400e8e30
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x138
mov r14, rdx
mov r12, rcx
call fcn.1400e6170
movzx r10d, byte [r14 + 2]
movzx r9d, word [r14]
mov r13, rax
mov eax, dword [r12 + 0x350]
test eax, eax
je 0x1400e8f88
mov edx, dword [r12 + 0x354]
test edx, edx
je 0x1400e8ec0
mov rax, qword [r12 + 0x358]
sub edx, 1
lea rdx, [rdx + rdx*2]
lea rdx, [rax + rdx*8 + 0x18]
jmp 0x1400e8e99
add rax, 0x18
cmp rax, rdx
je 0x1400e8ec0
cmp dword [rax], r9d
jne 0x1400e8e90
cmp r10d, dword [rax + 4]
jb 0x1400e8e90
cmp r10d, dword [rax + 8]
ja 0x1400e8e90
mov rdx, qword [rax + 0x10]
mov rcx, r13
call fcn.1400e6380
jmp 0x1400e8f25
mov dword [rsp + 0x20], r10d
lea r15, [rsp + 0x30]
mov edx, 0x100
lea r8, str.HWLOC_PCI__04x__02x_LOCALCPUS
mov rcx, r15
call fcn.1400e8e00
mov rcx, r15
call sub.msvcrt.dll_getenv
mov r15, rax
test rax, rax
je case.0x1400e902b.2
mov eax, dword [r12 + 0x350]
or eax, dword [0x140584900]
je 0x1400e9048
cmp byte [r15], 0
jne 0x1400e8f60
mov rax, qword [r12 + 0x320]
test rax, rax
je 0x1400e8f70
mov r8, r13
mov rdx, r14
mov rcx, rax
call qword [rax + 0x48]
test eax, eax
js 0x1400e8f70
mov rdx, r13
mov rcx, r12
call fcn.1400d7170
mov r14, rax
test rax, rax
je 0x1400e9030
mov rcx, r13
call fcn.1400e6200
mov rax, r14
add rsp, 0x138
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r15
mov rcx, r13
call fcn.1400e6930
jmp 0x1400e8f25
mov rcx, r12
call fcn.1400d8930
mov rcx, r13
mov rdx, rax
call fcn.1400e6380
jmp 0x1400e8f25
mov dword [rsp + 0x20], r10d
lea r15, [rsp + 0x30]
mov edx, 0x100
lea r8, str.HWLOC_PCI__04x__02x_LOCALCPUS
mov rcx, r15
call fcn.1400e8e00
mov rcx, r15
call sub.msvcrt.dll_getenv
mov r15, rax
test rax, rax
jne 0x1400e8eee
mov rax, qword [r12 + 0x360]
test rax, rax
je case.0x1400e902b.2
cmp rax, 0xffffffffffffffff
je 0x1400e906e
movabs rdx, 0x4000000000000000
and rdx, rax
test rdx, rdx
jne 0x1400e9114
test al, 1
je case.0x1400e902b.2
cmp word [r14], 0
jne case.0x1400e902b.2
movzx eax, byte [r14 + 2]
lea edx, [rax + 0x30]
cmp dl, 1
jbe 0x1400e928f
add eax, 0x40
cmp al, 0x1e
ja case.0x1400e902b.2
lea rdx, [0x1402a3188]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
xor r8d, r8d
xor edx, edx
mov rcx, r12
call fcn.1400db050
mov r14, rax
jmp 0x1400e8f3c
call fcn.1400d4f50
test eax, eax
je 0x1400e926d
mov dword [0x140584900], 1
cmp byte [r15], 0
je case.0x1400e902b.2
jmp 0x1400e8f60
xor r8d, r8d
xor edx, edx
mov rcx, r12
mov qword [r12 + 0x360], 0
call fcn.1400db050
mov r15, qword [rax + 0xd8]
mov eax, dword [rax + 0xe0]
test eax, eax
je 0x1400e90ed
sub eax, 1
lea rbx, [0x1402a314a]
shl rax, 4
lea rsi, [r15 + rax + 0x10]
jmp 0x1400e90b9
add r15, 0x10
cmp rsi, r15
je 0x1400e90ed
mov rcx, qword [r15]
mov rdx, rbx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400e90b0
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400e90ed
lea rdx, str.HPE_CRAY_EX235A
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400e90ed
mov qword [r12 + 0x360], 1
lea rcx, str.HWLOC_PCI_LOCALITY_QUIRK_FAKE
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x1400e9133
call sub.msvcrt.dll_atoi
test eax, eax
je 0x1400e9133
bts qword [r12 + 0x360], 0x3e
mov rcx, r12
call fcn.1400d8930
mov rcx, rax
call fcn.1400e8060
mov rcx, r13
mov edx, eax
call fcn.1400e7060
jmp 0x1400e8f25
mov rax, qword [r12 + 0x360]
jmp 0x1400e8fd5
mov rcx, r13
mov r8d, 0x2f
mov edx, 0x28
call fcn.1400e70c0
mov r8d, 0x6f
mov edx, 0x68
mov rcx, r13
call fcn.1400e70c0
jmp 0x1400e8f25
mov rcx, r13
mov r8d, 0xf
mov edx, 8
call fcn.1400e70c0
mov r8d, 0x4f
mov edx, 0x48
mov rcx, r13
call fcn.1400e70c0
jmp 0x1400e8f25
mov rcx, r13
mov r8d, 0x1f
mov edx, 0x18
call fcn.1400e70c0
mov r8d, 0x5f
mov edx, 0x58
mov rcx, r13
call fcn.1400e70c0
jmp 0x1400e8f25
mov rcx, r13
mov r8d, 0x3f
mov edx, 0x38
call fcn.1400e70c0
mov r8d, 0x7f
mov edx, 0x78
mov rcx, r13
call fcn.1400e70c0
jmp 0x1400e8f25
mov rcx, r13
mov r8d, 0x17
mov edx, 0x10
call fcn.1400e70c0
mov r8d, 0x57
mov edx, 0x50
mov rcx, r13
call fcn.1400e70c0
jmp 0x1400e8f25
mov rcx, r13
mov r8d, 0x27
mov edx, 0x20
call fcn.1400e70c0
mov r8d, 0x67
mov edx, 0x60
mov rcx, r13
call fcn.1400e70c0
jmp 0x1400e8f25
mov rcx, r13
mov r8d, 0x37
mov edx, 0x30
call fcn.1400e70c0
mov r8d, 0x77
mov edx, 0x70
mov rcx, r13
call fcn.1400e70c0
jmp 0x1400e8f25
mov ecx, 2
call qword [fcn.140119ad0]
mov r8, r15
lea rdx, str.hwloc_pci:_Environment_variable__s_is_deprecated__please_use_HWLOC_PCI_LOCALITY_instead._n
mov rcx, rax
call fcn.1400e8b60
jmp 0x1400e9055
xor edx, edx
mov rcx, r13
mov r8d, 7
call fcn.1400e70c0
mov r8d, 0x47
mov edx, 0x40
mov rcx, r13
call fcn.1400e70c0
jmp 0x1400e8f25