Function at 0x1800109e0
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rsi, rcx
lea r8, [r11 + 0x20]
xor ecx, ecx
lea rdx, [r11 - 0x58]
mov qword [rsp + 0x80], rcx
xor edi, edi
mov rcx, rsi
xor r13d, r13d
mov rax, qword [rsi + 8]
xor r14d, r14d
xor r12d, r12d
xor r15d, r15d
xor ebp, ebp
call qword [rax + 0x18]
test eax, eax
js 0x180010d7e
mov rbx, qword [rsp + 0x20]
lea rdx, str.type
xor ecx, ecx
movzx eax, byte [rbx + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180010a60
cmp rcx, 5
jne 0x180010a40
mov rdi, qword [rsp + 0x98]
jmp 0x180010b31
lea rdx, str.obj_depth
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180010a80
mov r13, qword [rsp + 0x98]
jmp 0x180010b31
lea rdx, str.obj_index
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180010aa8
mov rbx, qword [rsp + 0x98]
mov qword [rsp + 0x80], rbx
jmp 0x180010b39
lea rdx, str.obj_attr_type
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180010ac5
mov r14, qword [rsp + 0x98]
jmp 0x180010b31
lea rdx, str.obj_attr_index
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x180010b31
lea rdx, str.obj_attr_name
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180010af5
mov r12, qword [rsp + 0x98]
jmp 0x180010b31
lea rdx, str.obj_attr_oldvalue
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180010b12
mov r15, qword [rsp + 0x98]
jmp 0x180010b31
lea rdx, str.obj_attr_newvalue
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x180010be1
mov rbp, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x80]
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
jns 0x180010a32
test rdi, rdi
je 0x180010d7e
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
jne 0x180010d7e
test r13, r13
je 0x180010d53
test rbx, rbx
je 0x180010d53
test r14, r14
je 0x180010d53
test r15, r15
je 0x180010d32
test rbp, rbp
je 0x180010d32
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edi, eax
cmp eax, 2
jne 0x180010c4d
test r12, r12
jne 0x180010c4d
call fcn.18000ea50
test eax, eax
je 0x180010d7e
mov rbx, qword [rsi + 8]
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._s:_missing_mandatory_obj_attr_info_name_attribute_n
jmp 0x180010d72
cmp dword [0x18006d24c], 0
je 0x180010c15
lea rcx, str.HWLOC_XML_VERBOSE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180010c0b
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x18006e328], eax
mov dword [0x18006d24c], 0
cmp dword [0x18006e328], 0
je 0x180010c45
mov rbx, qword [rsi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [rsp + 0x20]
lea rdx, str._s:_ignoring_unknown_diff_attribute__s_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.180001030
or eax, 0xffffffff
jmp 0x180010d88
mov ecx, 0x38
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x180010c45
mov rcx, r13
mov dword [rax], 0
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov rcx, qword [rsp + 0x80]
mov dword [rbx + 0x10], eax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rbx + 0x14], eax
mov rcx, r14
xor eax, eax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
mov dword [rbx + 0x18], edi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
test eax, eax
je 0x180010cd4
sub eax, 1
je 0x180010cbc
cmp eax, 1
jne 0x180010cf8
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov qword [rbx + 0x20], rax
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov rcx, rbp
mov qword [rbx + 0x28], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
jmp 0x180010cf4
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoui64]
xor r8d, r8d
xor edx, edx
mov rcx, rbp
mov qword [rbx + 0x28], rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__strtoui64]
mov qword [rbx + 0x30], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x180010d22
mov rax, qword [rcx]
mov qword [rcx], rbx
mov qword [rax + 8], rbx
mov qword [rbx + 8], 0
jmp 0x180010d7e
mov qword [rax], rbx
mov qword [rcx], rbx
mov qword [rbx + 8], 0
jmp 0x180010d7e
call fcn.18000ea50
test eax, eax
je 0x180010d7e
mov rbx, qword [rsi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._s:_missing_mandatory_obj_attr_value_attributes_n
jmp 0x180010d72
call fcn.18000ea50
test eax, eax
je 0x180010d7e
mov rbx, qword [rsi + 8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str._s:_missing_mandatory_obj_attr_generic_attributes_n
mov r8, qword [rbx + 0x48]
mov rcx, rax
call fcn.180001030
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x28]
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret