Function at 0x14002ee40
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
cmp dword [rcx + 4], 0
mov r12d, r9d
mov rbx, r8
mov rdi, rdx
mov r15, rcx
ja 0x14002ee72
xor ebp, ebp
jmp 0x14002ee89
mov rax, qword [rcx + 0x10]
cmp dword [rax], 0
ja 0x14002ee7f
xor ebp, ebp
jmp 0x14002ee89
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax]
mov rbp, qword [rcx]
lea rcx, str.HWLOC_SYNTHETIC_VERBOSE
xor esi, esi
xor r14d, r14d
xor r13d, r13d
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14002eeaf
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r13d, eax
cmp dword [r15 + 0xb8], esi
je 0x14002eee8
test r12d, 0xfffffff0
jne 0x14002eee8
cmp dword [rbp + 0x88], esi
jne 0x14002eefc
test r13d, r13d
je 0x14002eee8
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Cannot_export_to_synthetic_unless_topology_is_symmetric__root__symmetric_subtree_must_be_set_._n
call fcn.140001e00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
or eax, 0xffffffff
jmp 0x14002f177
mov eax, r12d
and eax, 8
mov dword [rsp + 0x70], eax
jne 0x14002ef47
mov rcx, r15
call fcn.14002ec20
test eax, eax
jns 0x14002ef47
test r13d, r13d
je 0x14002ef33
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Cannot_export_to_synthetic_unless_memory_is_attached_symmetrically._n
call fcn.140001e00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
or eax, 0xffffffff
jmp 0x14002f177
test r12b, 4
je 0x14002efd3
movsxd rax, dword [r15 + 0x58]
cmp eax, 0xffffffff
jne 0x14002ef5e
xor ecx, ecx
jmp 0x14002efb1
cmp eax, 0xfffffffe
jne 0x14002ef67
xor ecx, ecx
jmp 0x14002efb1
cmp eax, dword [r15 + 4]
jb 0x14002ef96
mov ecx, 0xfffffffd
sub ecx, eax
cmp ecx, 5
jae 0x14002efa2
mov eax, ecx
shl rax, 5
cmp dword [rax + r15 + 0xe8], esi
jbe 0x14002efa2
mov rax, qword [rax + r15 + 0xf0]
mov rcx, qword [rax]
jmp 0x14002efb1
mov rcx, rax
mov rax, qword [r15 + 0x10]
cmp dword [rax + rcx*4], esi
ja 0x14002efa6
xor ecx, ecx
jmp 0x14002efb1
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx]
mov rax, qword [rcx + 0x48]
mov rcx, qword [rcx + 0x38]
mov edx, dword [rax + 0x30]
test rcx, rcx
je 0x14002efd3
mov rax, qword [rcx + 0x48]
cmp dword [rax + 0x30], edx
jne 0x14002f011
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x14002efc1
test r12b, 2
jne 0x14002f04f
mov r9, rbx
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14002e6b0
movsxd rsi, eax
test eax, eax
mov eax, 1
mov ecx, esi
cmovg r14d, eax
test esi, esi
js 0x14002eef4
cmp rsi, rbx
jl 0x14002f046
test rbx, rbx
jle 0x14002f044
lea ecx, [rbx - 1]
jmp 0x14002f046
test r13d, r13d
je 0x14002f030
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Cannot_export_to_synthetic_v1_if_memory_is_attached_to_parents_at_different_depths._n
call fcn.140001e00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
or eax, 0xffffffff
jmp 0x14002f177
xor ecx, ecx
movsxd rax, ecx
add rdi, rax
sub rbx, rax
cmp dword [rsp + 0x70], 0
jne 0x14002f0a8
mov dword [rsp + 0x30], r13d
mov r9, rdi
mov dword [rsp + 0x28], r14d
mov r8, rbp
mov edx, r12d
mov qword [rsp + 0x20], rbx
mov rcx, r15
call fcn.14002eaa0
test eax, eax
movsxd rcx, eax
mov eax, 1
cmovg r14d, eax
test ecx, ecx
js 0x14002eef4
add esi, ecx
cmp rcx, rbx
jl 0x14002f09f
test rbx, rbx
jle 0x14002f09d
lea ecx, [rbx - 1]
jmp 0x14002f09f
xor ecx, ecx
movsxd rax, ecx
add rdi, rax
sub rbx, rax
mov eax, dword [rbp + 0x68]
test eax, eax
je 0x14002f175
mov rbp, qword [rbp + 0x78]
test r14d, r14d
je 0x14002f0d0
cmp rbx, 1
jle 0x14002f0ce
mov byte [rdi], 0x20
inc rdi
dec rbx
mov byte [rdi], 0
inc esi
mov qword [rsp + 0x28], rbx
mov r9d, eax
mov r8, rbp
mov qword [rsp + 0x20], rdi
mov edx, r12d
mov rcx, r15
call fcn.14002e910
movsxd rcx, eax
test eax, eax
js 0x14002eef4
add esi, ecx
cmp rcx, rbx
jl 0x14002f109
test rbx, rbx
jle 0x14002f107
lea ecx, [rbx - 1]
jmp 0x14002f109
xor ecx, ecx
movsxd rax, ecx
add rdi, rax
sub rbx, rax
cmp dword [rsp + 0x70], 0
jne 0x14002f164
mov eax, 1
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], eax
mov r9, rdi
mov r8, rbp
mov qword [rsp + 0x20], rbx
mov edx, r12d
mov rcx, r15
call fcn.14002eaa0
movsxd rcx, eax
test eax, eax
js 0x14002eef4
add esi, ecx
cmp rcx, rbx
jl 0x14002f15b
test rbx, rbx
jle 0x14002f159
lea ecx, [rbx - 1]
jmp 0x14002f15b
xor ecx, ecx
movsxd rax, ecx
add rdi, rax
sub rbx, rax
mov eax, dword [rbp + 0x68]
mov r14d, 1
test eax, eax
jne 0x14002f0b3
mov eax, esi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret