Function at 0x1400efa00
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea r15, str.type
lea rax, [rsp + 0x78]
mov qword [rsp + 0x110], rcx
lea r14, [rsp + 0x90]
mov qword [rsp + 0x118], rdx
mov qword [rdx], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x58], rax
nop dword [rax]
mov rax, qword [rsp + 0x110]
mov r8, qword [rsp + 0x58]
mov rdx, r14
mov rcx, qword [rsp + 0x110]
mov rax, qword [rax + 8]
call qword [rax + 0x20]
test eax, eax
js 0x1400efd8e
je 0x1400efebb
mov rcx, qword [rsp + 0x78]
lea rdx, str.diff
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400efd8e
mov qword [rsp + 0x50], 0
xor r12d, r12d
lea rsi, [rsp + 0x88]
lea rbx, [rsp + 0x80]
mov qword [rsp + 0x48], 0
lea rdi, str.obj_depth
lea rbp, str.obj_index
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
nop dword [rax]
mov rax, qword [rsp + 0x98]
mov r8, rsi
mov rdx, rbx
mov rcx, r14
call qword [rax + 0x18]
test eax, eax
js 0x1400efbf0
mov r13, qword [rsp + 0x80]
mov rdx, r15
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400efb38
mov r12, qword [rsp + 0x88]
jmp 0x1400efaf8
mov rdx, rdi
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400efb60
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
jmp 0x1400efaf8
mov rdx, rbp
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400efb88
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x30], rax
jmp 0x1400efaf8
lea rdx, str.obj_attr_type
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400efbb0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x38], rax
jmp 0x1400efaf8
lea rdx, str.obj_attr_index
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x1400efaf8
lea rdx, str.obj_attr_name
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400efce0
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x40], rax
jmp 0x1400efaf8
test r12, r12
je 0x1400efcb0
mov rcx, r12
call sub.msvcrt.dll_atoi
test eax, eax
jne 0x1400efcb0
cmp qword [rsp + 0x28], 0
sete al
cmp qword [rsp + 0x30], 0
sete dl
or al, dl
jne 0x1400efd05
cmp qword [rsp + 0x38], 0
je 0x1400efd05
cmp qword [rsp + 0x48], 0
je 0x1400efda7
cmp qword [rsp + 0x50], 0
je 0x1400efda7
mov rcx, qword [rsp + 0x38]
call sub.msvcrt.dll_atoi
mov esi, eax
cmp eax, 2
jne 0x1400efdf1
cmp qword [rsp + 0x40], 0
jne 0x1400efdf1
mov eax, dword [0x140588430]
test eax, eax
je 0x1400eff0c
mov eax, dword [0x14058842c]
test eax, eax
je 0x1400efcb0
mov rax, qword [rsp + 0x98]
mov ecx, 2
mov rbx, qword [rax + 0x48]
call qword [fcn.140124330]
lea rdx, str._s:_missing_mandatory_obj_attr_info_name_attribute_n
mov rcx, rax
mov r8, rbx
call fcn.1400e71f0
nop dword [rax]
mov rax, qword [rsp + 0x98]
mov rcx, r14
call qword [rax + 0x28]
test eax, eax
js 0x1400efd93
mov rax, qword [rsp + 0x110]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [rax + 0x30]
jmp 0x1400efa58
lea rdx, str.obj_attr_oldvalue
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400efd4b
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x48], rax
jmp 0x1400efaf8
mov ecx, dword [0x140588430]
mov eax, dword [0x14058842c]
test ecx, ecx
je 0x1400efe87
test eax, eax
je 0x1400efcb0
mov rax, qword [rsp + 0x98]
mov ecx, 2
mov rbx, qword [rax + 0x48]
call qword [fcn.140124330]
lea rdx, str._s:_missing_mandatory_obj_attr_generic_attributes_n
mov rcx, rax
mov r8, rbx
call fcn.1400e71f0
jmp 0x1400efcb0
lea rdx, str.obj_attr_newvalue
mov rcx, r13
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1400efd70
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
jmp 0x1400efaf8
mov r8d, dword [0x140588430]
mov eax, dword [0x14058842c]
test r8d, r8d
je 0x1400effeb
test eax, eax
jne 0x1400effb2
mov eax, 0xffffffff
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov edx, dword [0x140588430]
mov eax, dword [0x14058842c]
test edx, edx
je 0x1400efed0
test eax, eax
je 0x1400efcb0
mov rax, qword [rsp + 0x98]
mov ecx, 2
mov rbx, qword [rax + 0x48]
call qword [fcn.140124330]
lea rdx, str._s:_missing_mandatory_obj_attr_value_attributes_n
mov rcx, rax
mov r8, rbx
call fcn.1400e71f0
jmp 0x1400efcb0
mov ecx, 0x38
call sub.msvcrt.dll_malloc
mov rbx, rax
test rax, rax
je 0x1400efd8e
mov dword [rax], 0
mov rcx, qword [rsp + 0x28]
call sub.msvcrt.dll_atoi
mov rcx, qword [rsp + 0x30]
mov dword [rbx + 0x10], eax
call sub.msvcrt.dll_atoi
mov qword [rbx + 0x18], 0
mov dword [rbx + 0x14], eax
mov qword [rbx + 0x20], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], 0
mov dword [rbx + 0x18], esi
cmp esi, 1
je 0x1400effa9
cmp esi, 2
je 0x1400eff6b
test esi, esi
je 0x1400eff40
cmp qword [rsp + 0x60], 0
je 0x1400eff9f
mov rax, qword [rsp + 0x68]
mov qword [rax + 8], rbx
mov qword [rbx + 8], 0
mov qword [rsp + 0x68], rbx
jmp 0x1400efcb0
lea rcx, str.HWLOC_XML_VERBOSE
call sub.msvcrt.dll_getenv
mov rcx, rax
mov eax, dword [0x14058842c]
test rcx, rcx
je 0x1400efeac
call sub.msvcrt.dll_atoi
mov dword [0x14058842c], eax
mov dword [0x140588430], 1
jmp 0x1400efd19
mov rdi, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x60]
mov qword [rdi], rsi
jmp 0x1400efd93
lea rcx, str.HWLOC_XML_VERBOSE
call sub.msvcrt.dll_getenv
mov rcx, rax
mov eax, dword [0x14058842c]
test rcx, rcx
je 0x1400efef5
call sub.msvcrt.dll_atoi
mov dword [0x14058842c], eax
mov dword [0x140588430], 1
test eax, eax
je 0x1400efcb0
jmp 0x1400efdc3
lea rcx, str.HWLOC_XML_VERBOSE
call sub.msvcrt.dll_getenv
mov rcx, rax
mov eax, dword [0x14058842c]
test rcx, rcx
je 0x1400eff31
call sub.msvcrt.dll_atoi
mov dword [0x14058842c], eax
mov dword [0x140588430], 1
jmp 0x1400efc7c
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
xor edx, edx
call sub.msvcrt.dll__strtoui64
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov qword [rbx + 0x28], rax
call sub.msvcrt.dll__strtoui64
mov qword [rbx + 0x30], rax
jmp 0x1400efe60
mov rcx, qword [rsp + 0x40]
mov rsi, qword [sym.imp.msvcrt.dll__strdup_1]
call rsi
mov qword [rbx + 0x20], rax
mov rcx, qword [rsp + 0x48]
call rsi
mov rcx, qword [rsp + 0x50]
mov qword [rbx + 0x28], rax
call rsi
cmp qword [rsp + 0x60], 0
mov qword [rbx + 0x30], rax
jne 0x1400efe6c
mov qword [rsp + 0x60], rbx
jmp 0x1400efe75
mov rsi, qword [sym.imp.msvcrt.dll__strdup_1]
jmp 0x1400eff7d
mov rax, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x80]
mov ecx, 2
mov rbx, qword [rax + 0x48]
call qword [fcn.140124330]
mov r9, rsi
lea rdx, str._s:_ignoring_unknown_diff_attribute__s_n
mov rcx, rax
mov r8, rbx
call fcn.1400e71f0
jmp 0x1400efd8e
lea rcx, str.HWLOC_XML_VERBOSE
call sub.msvcrt.dll_getenv
mov rcx, rax
mov eax, dword [0x14058842c]
test rcx, rcx
je 0x1400f0010
call sub.msvcrt.dll_atoi
mov dword [0x14058842c], eax
mov dword [0x140588430], 1
jmp 0x1400efd86