Function at 0x1400018e0
Capabilities:
Query environment variable

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rsi
mov rdi, rcx
mov rax, qword [rcx + 0x778]
test rax, rax
jne 0x140001c40
xor esi, esi
cmp dword [rcx + 0x770], esi
jne 0x140001ae8
lea rcx, str.DC_LIC_PRODUCT_KEY
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001ae8
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rcx, [rdi + 0x788]
lea rdx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
inc dword [rdi + 0x770]
lea rcx, str.DC_LIC_PRODUCT_VERSION
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x1400019bc
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rcx, [rdi + 0x798]
lea rdx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
inc dword [rdi + 0x770]
lea rcx, str.DC_LIC_TYPE
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001a07
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rcx, [rdi + 0x7a8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
inc dword [rdi + 0x770]
lea rcx, str.DC_LIC_NW_PATH
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001a52
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rcx, [rdi + 0x7b8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
inc dword [rdi + 0x770]
lea rcx, str.DC_LIC_RES_PATH
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001a9d
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rcx, [rdi + 0x7c8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
inc dword [rdi + 0x770]
lea rcx, str.DC_LIC_LOCALE
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001ae8
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rcx, [rdi + 0x7d8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_class_awString::IString____ptr64___cdecl_awString::IString::operator_class_awString::IString_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
inc dword [rdi + 0x770]
mov rcx, rdi
call fcn.1400017a0
test al, al
je 0x140001c3d
lea r8, str.Found_associated_product_key_n
mov edx, 2
mov rcx, qword [rdi + 8]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awOS::AppOutputStream::operator___int__char_const____ptr64_const___ptr64]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14002d2d0]
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awString::IString::constructor_char_const____ptr64__enum_awString::Encoding__bool____ptr64____ptr64]
nop
lea rdx, [rsp + 0x48]
lea rcx, [rdi + 0x7a8]
call qword [sym.imp.libBase.dll_bool___cdecl_awString::equal_class_awString::IString_const____ptr64__class_awString::IString_const____ptr64_]
movzx ebx, al
lea rcx, [rsp + 0x48]
call qword [sym.imp.libBase.dll_public_virtual:_void___cdecl_awString::IString::destructor_void____ptr64]
test bl, bl
je 0x140001bbf
cmp dword [rdi + 0x770], 4
jl 0x140001bac
call qword [sym.imp.libArubaModelBase.dll_public:_static_class_awModelDefn::arubaSecurity____ptr64___cdecl_awModelDefn::arubaSecurity::newSecurityHandler_void_]
mov rsi, rax
mov rax, qword [rax]
lea rcx, [rdi + 0x7d8]
lea r10, [rdi + 0x7c8]
lea r11, [rdi + 0x7b8]
lea r8, [rdi + 0x798]
lea rdx, [rdi + 0x788]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r10
mov qword [rsp + 0x20], r11
lea r9, [rdi + 0x7a8]
mov rcx, rsi
call qword [rax + 8]
test al, al
jne 0x140001c03
lea rdx, str.Unable_to_get_network_license_n
jmp 0x140001c12
lea rdx, str.Unable_to_get_network_license_n
mov rcx, qword [rdi + 8]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awOS::AppOutputStream::operator___char_const____ptr64_const___ptr64]
jmp 0x140001c3d
call qword [sym.imp.libArubaModelBase.dll_public:_static_class_awModelDefn::arubaSecurity____ptr64___cdecl_awModelDefn::arubaSecurity::newSecurityHandler_void_]
mov rsi, rax
mov r10, qword [rax]
lea rax, [rdi + 0x7d8]
lea rcx, [rdi + 0x7c8]
lea r8, [rdi + 0x798]
lea rdx, [rdi + 0x788]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rdi + 0x7a8]
mov rcx, rsi
call qword [r10 + 0x10]
test al, al
je 0x140001c0b
inc dword [rdi + 0x780]
jmp 0x140001c36
lea rdx, str.Unable_to_get_stand_alone_license_n
mov rcx, qword [rdi + 8]
call qword [sym.imp.libBase.dll_public:_void___cdecl_awOS::AppOutputStream::operator___char_const____ptr64_const___ptr64]
mov r11, qword [rsi]
mov rcx, rsi
call qword [r11 + 0x20]
mov r11, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [r11]
xor esi, esi
mov qword [rdi + 0x778], rsi
mov rax, rsi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret