Function at 0x140017380
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x220], rbx
mov rsi, rcx
call fcn.1400148d0
nop
call fcn.140025210
mov qword [rsp + 0x78], 0xf
xor edi, edi
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x60], dil
lea rcx, [0x140077e00]
call fcn.14004ee64
mov r14, rax
test rax, rax
je 0x1400175b5
cmp byte [rax], dil
je 0x1400175b5
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x1400173f6
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002390
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
mov r8d, 0xc
mov r15, qword [rsp + 0x70]
cmp r15, r8
cmovb r8, r15
test r8, r8
jne 0x140017439
mov eax, edi
jmp 0x140017445
lea rdx, str.noconfig.cfg
call fcn.14004e1e0
cdqe
test rax, rax
jne 0x14001745f
cmp r15, 0xc
jae 0x140017456
mov eax, ebx
jmp 0x14001745f
mov eax, edi
cmp r15, 0xc
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x1400178ba
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140014a40
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], 0
mov r8d, 0xc
lea rdx, [0x140077e20]
lea rcx, [rsp + 0x40]
call fcn.140002390
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140014f00
test al, al
sete bl
cmp qword [rsp + 0x58], 0x10
jb 0x1400174d0
mov rcx, qword [rsp + 0x40]
call fcn.14004cc48
test bl, bl
je 0x1400178ba
lea rcx, [rbp - 0x40]
call fcn.14001f6b0
mov rbx, rax
lea rcx, [rbp + 0x40]
call fcn.140012bc0
nop
mov r9d, 0x1b0
lea r8, [0x140077e38]
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140017ba0
mov rsi, rax
cmp qword [rbx + 0x20], 0
jne 0x140017540
mov ecx, 0x108
call fcn.14004cbdc
mov qword [rbp + 0x118], rax
test rax, rax
je 0x140017539
mov edx, 1
mov rcx, rax
call fcn.1400137e0
jmp 0x14001753c
mov rax, rdi
mov qword [rbx + 0x20], rax
lea rdx, str.Cannot_find_ENTUITY_HOME_in
mov rcx, qword [rbx + 0x20]
call fcn.140004b30
cmp qword [rbx + 0x20], 0
jne 0x140017581
mov ecx, 0x108
call fcn.14004cbdc
mov qword [rbp + 0x118], rax
test rax, rax
je 0x14001757d
mov edx, 1
mov rcx, rax
call fcn.1400137e0
mov rdi, rax
mov qword [rbx + 0x20], rdi
mov rdx, r14
mov rcx, qword [rbx + 0x20]
call fcn.140004b30
mov rdx, rbx
mov rcx, rsi
call fcn.140012c30
mov rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.1400136e0
lea rdx, [0x1400a2a90]
lea rcx, [rbp - 0x18]
call fcn.14004d318
nop
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], 0
lea rcx, [0x140077e90]
call fcn.14004ee64
test rax, rax
je 0x140017600
cmp byte [rax], 0
je 0x140017600
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400175e2
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002390
jmp 0x140017741
lea rcx, [rbp - 0x40]
call fcn.14003b4a0
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x140017648
cmp qword [rsp + 0x58], 0x10
jb 0x140017628
mov rcx, qword [rsp + 0x40]
call fcn.14004cc48
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], 0
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140001b10
cmp qword [rbp - 0x28], 0x10
jb 0x140017658
mov rcx, qword [rbp - 0x40]
call fcn.14004cc48
cmp qword [rsp + 0x50], 0
jne 0x140017741
lea rdx, [0x140077f00]
lea rcx, [0x1400acf20]
call fcn.140004b30
mov rbx, rax
mov dl, 0xa
mov rcx, rax
call fcn.140018420
mov rcx, rbx
call fcn.1400080a0
lea rcx, [rbp - 0x40]
call fcn.14001f6b0
mov rbx, rax
lea rdx, str.ENTUITY_HOME_not_set
lea rcx, [rbp + 0x90]
call fcn.140012ad0
nop
mov r9d, 0x1c3
lea r8, str.MIBADistUtilsSysConfig.cpp
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140017ba0
mov rsi, rax
mov rdx, rbx
mov rcx, rax
call fcn.140012c30
mov rdx, rsi
lea rcx, [rbp - 0x18]
call fcn.14004e020
nop
test rsi, rsi
je 0x1400176eb
add rsi, 0x18
jmp 0x1400176ee
mov rsi, rdi
mov eax, dword [rsi]
mov dword [rbp], eax
mov qword [rbp + 0x20], 0xf
mov qword [rbp + 0x18], rdi
mov byte [rbp + 8], 0
lea rdx, [rsi + 8]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 8]
call fcn.140002260
mov rax, qword [rsi + 0x28]
mov qword [rbp + 0x28], rax
mov eax, dword [rsi + 0x30]
mov dword [rbp + 0x30], eax
lea rax, vtable.Entuity::ExceptionFatal.0
mov qword [rbp - 0x18], rax
lea rdx, [0x1400a2a90]
lea rcx, [rbp - 0x18]
call fcn.14004d318
nop
mov r8, qword [str.8Z_b_]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140017ac0
nop
lea r8, [0x140077dfc]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400017a0
nop
mov r8, qword [str.8Z_b_]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400017a0
nop
lea r8, [0x140077f50]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400017a0
mov rbx, rax
lea rax, [rsp + 0x60]
cmp rax, rbx
je 0x1400177d2
cmp qword [rsp + 0x78], 0x10
jb 0x1400177b2
mov rcx, qword [rsp + 0x60]
call fcn.14004cc48
mov qword [rsp + 0x78], 0xf
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x60], 0
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140001b10
cmp qword [rsp + 0x38], 0x10
jb 0x1400177e4
mov rcx, qword [rsp + 0x20]
call fcn.14004cc48
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], 0
cmp qword [rbp - 0x68], 0x10
jb 0x140017807
mov rcx, qword [rbp - 0x80]
call fcn.14004cc48
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], rdi
mov byte [rbp - 0x80], 0
cmp qword [rbp - 0x48], 0x10
jb 0x140017827
mov rcx, qword [rbp - 0x60]
call fcn.14004cc48
mov qword [rbp - 0x48], 0xf
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x60], 0
cmp qword [rbp - 0x28], 0x10
jb 0x140017847
mov rcx, qword [rbp - 0x40]
call fcn.14004cc48
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140014a40
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], 0
mov r8d, 0xc
lea rdx, [0x140077f60]
lea rcx, [rsp + 0x20]
call fcn.140002390
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014ef0
nop
cmp qword [rsp + 0x38], 0x10
jb 0x1400178a8
mov rcx, qword [rsp + 0x20]
call fcn.14004cc48
nop
cmp qword [rsp + 0x58], 0x10
jb 0x1400178ba
mov rcx, qword [rsp + 0x40]
call fcn.14004cc48
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], 0
mov r8d, 0xc
lea rdx, [0x140077f70]
lea rcx, [rsp + 0x20]
call fcn.140002390
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014f00
movzx ebx, al
cmp qword [rsp + 0x38], 0x10
jb 0x140017907
mov rcx, qword [rsp + 0x20]
call fcn.14004cc48
test bl, bl
je 0x140017a1f
mov r9b, 1
lea r8, [0x140077f98]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140014b40
nop
mov r8, qword [str.8Z_b_]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400017a0
nop
lea r8, [0x140077e8c]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400017a0
nop
mov r8, qword [str.8Z_b_]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.1400017a0
nop
lea r8, str.entuity_protected.cfg
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1400017a0
nop
cmp qword [rbp - 0x48], 0x10
jb 0x140017988
mov rcx, qword [rbp - 0x60]
call fcn.14004cc48
mov qword [rbp - 0x48], 0xf
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x60], 0
cmp qword [rbp - 0x68], 0x10
jb 0x1400179a8
mov rcx, qword [rbp - 0x80]
call fcn.14004cc48
mov qword [rbp - 0x68], 0xf
mov qword [rbp - 0x70], rdi
mov byte [rbp - 0x80], 0
cmp qword [rsp + 0x38], 0x10
jb 0x1400179ca
mov rcx, qword [rsp + 0x20]
call fcn.14004cc48
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], 0
cmp qword [rsp + 0x58], 0x10
jb 0x1400179ef
mov rcx, qword [rsp + 0x40]
call fcn.14004cc48
mov qword [rsp + 0x58], 0xf
mov qword [rsp + 0x50], rdi
mov byte [rsp + 0x40], 0
lea rdx, [rbp - 0x40]
mov rcx, rsi
call fcn.140016f40
nop
cmp qword [rbp - 0x28], 0x10
jb 0x140017a1f
mov rcx, qword [rbp - 0x40]
call fcn.14004cc48
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], 0
mov r8d, 0xe
lea rdx, str.ENTUITY_CONFIG
lea rcx, [rsp + 0x20]
call fcn.140002390
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140014ef0
nop
cmp qword [rsp + 0x38], 0x10
jb 0x140017a6f
mov rcx, qword [rsp + 0x20]
call fcn.14004cc48
mov rcx, rsi
call fcn.140016160
mov rcx, rsi
call fcn.140016400
mov rcx, rsi
call fcn.140016b40
call fcn.140025230
nop
cmp qword [rsp + 0x78], 0x10
jb 0x140017aa0
mov rcx, qword [rsp + 0x60]
call fcn.14004cc48
nop
mov rax, rsi
mov rbx, qword [rsp + 0x220]
add rsp, 0x1e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret