Function at 0x18000b0a0
Capabilities:
Query environment variable

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x78
mov rax, qword [0x18006d210]
xor rax, rsp
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [0x180063520]
xor edi, edi
movups xmmword [rsp + 0x50], xmm0
mov r15, rcx
lea rcx, str.HWLOC_GROUPING
movss xmm0, dword [0x1800634bc]
mov r13d, edi
movss dword [rsp + 0x60], xmm0
lea r12d, [rdi + 5]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18000b104
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
je 0x18000b4e9
lea rcx, str.HWLOC_IGNORE_DISTANCES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x18000b4e9
lea rcx, str.HWLOC_GROUPING_ACCURACY
mov qword [rsp + 0xb8], rsi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdx, rax
test rax, rax
jne 0x18000b13d
lea r12d, [rax + 1]
jmp 0x18000b182
mov rcx, rdi
lea r8, [0x180061550]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x18000b166
cmp rcx, 4
jne 0x18000b150
jmp 0x18000b182
mov rcx, rdx
mov r12d, 1
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rsp + 0x50], xmm1
lea rcx, str.HWLOC_GROUPING_VERBOSE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x18000b1a0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov r13d, eax
mov rsi, qword [r15 + 0x7d8]
test rsi, rsi
je 0x18000b4e1
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x70], r14
mov ebp, dword [rsi + 4]
test ebp, ebp
je 0x18000b4bf
mov r8, qword [rsi + 0x10]
test r8, r8
je 0x18000b4bf
cmp ebp, 2
jbe 0x18000b21a
cmp qword [rsi + 8], 0
mov eax, edi
mov r9, qword [rsi + 0x18]
mov edx, ebp
mov dword [rsp + 0x40], r13d
setne al
mov dword [rsp + 0x38], 1
mov rcx, r15
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call fcn.18000a810
mov ecx, 0xf8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor edx, edx
mov r8d, 0xf8
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x28
mov dword [r14], 7
mov dword [r14 + 4], 0xffffffff
mov dword [r14 + 0x40], 0xffffffff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14 + 0x30], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rcx
mov qword [rax + 0x20], rcx
mov ecx, 0x18
mov rax, qword [r14 + 0x30]
mov dword [rax], 0xffffffff
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x18000b295
mov rbx, rdi
jmp 0x18000b2c9
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x18000b2c4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, rdi
jmp 0x18000b2c9
mov dword [rax], edi
mov dword [rbx + 0x10], edi
mov qword [r14 + 0xa0], rbx
test ebp, ebp
je 0x18000b49d
nop dword [rax + rax]
mov rax, qword [rsi + 0x10]
mov rcx, qword [r14 + 0xa0]
mov rdx, rcx
mov r8, qword [rax + rdi]
mov r8, qword [r8 + 0xa0]
call fcn.1800075f0
mov r8, qword [rsi + 0x10]
mov rax, qword [r8 + rdi]
cmp qword [rax + 0xa8], 0
je 0x18000b387
mov rbx, qword [r14 + 0xa8]
test rbx, rbx
jne 0x18000b36d
lea ecx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x18000b362
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x18000b35b
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
jmp 0x18000b362
xor ecx, ecx
mov dword [rax], ecx
mov dword [rbx + 0x10], ecx
mov qword [r14 + 0xa8], rbx
mov r8, qword [rsi + 0x10]
mov r8, qword [r8 + rdi]
mov rdx, rbx
mov rcx, rbx
mov r8, qword [r8 + 0xa8]
call fcn.1800075f0
mov r8, qword [rsi + 0x10]
mov rax, qword [r8 + rdi]
cmp qword [rax + 0xc0], 0
je 0x18000b40c
mov rbx, qword [r14 + 0xc0]
test rbx, rbx
jne 0x18000b3f2
lea ecx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x18000b3e7
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x18000b3e0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
jmp 0x18000b3e7
xor ecx, ecx
mov dword [rax], ecx
mov dword [rbx + 0x10], ecx
mov qword [r14 + 0xc0], rbx
mov r8, qword [rsi + 0x10]
mov r8, qword [r8 + rdi]
mov rdx, rbx
mov rcx, rbx
mov r8, qword [r8 + 0xc0]
call fcn.1800075f0
mov r8, qword [rsi + 0x10]
mov rax, qword [r8 + rdi]
cmp qword [rax + 0xc8], 0
je 0x18000b48d
mov rbx, qword [r14 + 0xc8]
test rbx, rbx
jne 0x18000b477
lea ecx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x18000b46c
mov ecx, 0x40
mov dword [rax], 1
mov dword [rax + 4], 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbx + 8], rax
test rax, rax
jne 0x18000b465
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
jmp 0x18000b46c
xor ecx, ecx
mov dword [rax], ecx
mov dword [rbx + 0x10], ecx
mov qword [r14 + 0xc8], rbx
mov r8, qword [rsi + 0x10]
mov r8, qword [r8 + rdi]
mov rdx, rbx
mov rcx, rbx
mov r8, qword [r8 + 0xc8]
call fcn.1800075f0
add rdi, 8
sub rbp, 1
jne 0x18000b2e0
xor edi, edi
cmp qword [rsi + 8], 0
lea rax, [0x18000a1d0]
lea r8, [0x1800011e0]
mov rdx, r14
cmovne r8, rax
mov rcx, r15
call fcn.180002320
mov rsi, qword [rsi + 0x30]
test rsi, rsi
jne 0x18000b1c5
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180043e10
add rsp, 0x78
pop r15
pop r13
pop r12
pop rdi
ret