Function at 0x140030090
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 0x1400300c2
xor ebp, ebp
jmp 0x1400300d9
mov rax, qword [rcx + 0x10]
cmp dword [rax], 0
ja 0x1400300cf
xor ebp, ebp
jmp 0x1400300d9
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 0x1400300ff
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 0x140030138
test r12d, 0xfffffff0
jne 0x140030138
cmp dword [rbp + 0x88], esi
jne 0x14003014e
test r13d, r13d
je 0x140030138
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Cannot_export_to_synthetic_unless_topology_is_symmetric__root__symmetric_subtree_must_be_set_._n
mov rcx, rax
call fcn.140001fc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WS2_32.dll_shutdown
mov eax, 0xffffffff
jmp 0x1400303a4
mov eax, r12d
and eax, 8
mov dword [rsp + 0x70], eax
jne 0x14003017f
mov rcx, r15
call fcn.14002fdd0
test eax, eax
jns 0x14003017f
test r13d, r13d
je 0x140030138
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Cannot_export_to_synthetic_unless_memory_is_attached_symmetrically._n
jmp 0x140030130
test r12b, 4
je 0x140030212
movsxd rax, dword [r15 + 0x58]
cmp eax, 0xffffffff
jne 0x140030196
xor ecx, ecx
jmp 0x1400301e9
cmp eax, 0xfffffffe
jne 0x14003019f
xor ecx, ecx
jmp 0x1400301e9
cmp eax, dword [r15 + 4]
jb 0x1400301ce
mov ecx, 0xfffffffd
sub ecx, eax
cmp ecx, 5
jae 0x1400301da
mov eax, ecx
shl rax, 5
cmp dword [rax + r15 + 0xe8], esi
jbe 0x1400301da
mov rax, qword [rax + r15 + 0xf0]
mov rcx, qword [rax]
jmp 0x1400301e9
mov rcx, rax
mov rax, qword [r15 + 0x10]
cmp dword [rax + rcx*4], esi
ja 0x1400301de
xor ecx, ecx
jmp 0x1400301e9
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 0x140030212
nop dword [rax]
mov rax, qword [rcx + 0x48]
cmp dword [rax + 0x30], edx
jne 0x140030250
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x140030200
test r12b, 2
jne 0x14003027b
mov r9, rbx
mov r8, rdi
mov rdx, rbp
mov rcx, r15
call fcn.14002f870
movsxd rsi, eax
test eax, eax
mov eax, 1
mov ecx, esi
cmovg r14d, eax
test esi, esi
js 0x140030144
cmp rsi, rbx
jl 0x140030272
test rbx, rbx
jle 0x140030270
lea ecx, [rbx - 1]
jmp 0x140030272
test r13d, r13d
je 0x140030138
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Cannot_export_to_synthetic_v1_if_memory_is_attached_to_parents_at_different_depths._n
jmp 0x140030130
xor ecx, ecx
movsxd rax, ecx
add rdi, rax
sub rbx, rax
cmp dword [rsp + 0x70], 0
jne 0x1400302d4
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.14002fc50
test eax, eax
movsxd rcx, eax
mov eax, 1
cmovg r14d, eax
test ecx, ecx
js 0x140030144
add esi, ecx
cmp rcx, rbx
jl 0x1400302cb
test rbx, rbx
jle 0x1400302c9
lea ecx, [rbx - 1]
jmp 0x1400302cb
xor ecx, ecx
movsxd rax, ecx
add rdi, rax
sub rbx, rax
mov eax, dword [rbp + 0x68]
test eax, eax
je 0x1400303a2
nop
mov rbp, qword [rbp + 0x78]
test r14d, r14d
je 0x1400302fd
cmp rbx, 1
jle 0x1400302fb
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.14002fad0
movsxd rcx, eax
test eax, eax
js 0x140030144
add esi, ecx
cmp rcx, rbx
jl 0x140030336
test rbx, rbx
jle 0x140030334
lea ecx, [rbx - 1]
jmp 0x140030336
xor ecx, ecx
movsxd rax, ecx
add rdi, rax
sub rbx, rax
cmp dword [rsp + 0x70], 0
jne 0x140030391
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.14002fc50
movsxd rcx, eax
test eax, eax
js 0x140030144
add esi, ecx
cmp rcx, rbx
jl 0x140030388
test rbx, rbx
jle 0x140030386
lea ecx, [rbx - 1]
jmp 0x140030388
xor ecx, ecx
movsxd rax, ecx
add rdi, rax
sub rbx, rax
mov eax, dword [rbp + 0x68]
mov r14d, 1
test eax, eax
jne 0x1400302e0
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