Function at 0x14000fd3c
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x140085930]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r15, r9
mov qword [rsp + 0x30], r9
mov r14, r8
mov qword [rsp + 0x38], r8
mov r12, rdx
mov qword [rsp + 0x40], rdx
mov r13, rcx
mov rdi, qword [rbp + 0x150]
xor r8d, r8d
lea rdx, [0x140072d02]
mov rcx, rdi
call fcn.14001e444
mov ebx, 0x80
mov r8d, ebx
xor edx, edx
mov rcx, r13
call fcn.14002f000
mov r8d, ebx
xor edx, edx
mov rcx, r12
call fcn.14002f000
lea esi, [rbx - 0x71]
mov qword [rbp + 0xa8], rsi
xor ebx, ebx
mov qword [rbp + 0xa0], rbx
mov byte [rbp + 0x90], bl
xor r8d, r8d
lea rdx, [0x140072d02]
lea rcx, [rbp + 0x90]
call fcn.14001e444
nop
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.14001e320
lea rcx, [rsp + 0x50]
call fcn.140003880
test al, al
jne 0x14000fe64
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
lea r8d, [rsi + 9]
lea rdx, str.aescriptsLicensingServer
lea rcx, [rsp + 0x50]
call fcn.14001e444
mov byte [rsp + 0x20], 1
lea r8, [rbp + 0x90]
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14000e99c
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.14001e320
lea rcx, [rsp + 0x50]
call fcn.140003880
test al, al
jne 0x14000fed5
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
mov r8d, 0x18
lea rdx, str.aescriptsLicensingServer
lea rcx, [rsp + 0x50]
call fcn.14001e444
mov byte [rsp + 0x20], 1
lea r8, [rbp + 0x90]
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.14000e99c
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.14001e320
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140003960
nop
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x70], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.14001e320
lea rcx, [rsp + 0x70]
call fcn.140003880
test al, al
je 0x1400105eb
lea rdx, [0x140072d02]
lea rcx, [rbp - 0x10]
call fcn.140023d6c
test al, al
jne 0x1400105eb
lea rax, [rbp + 0x90]
cmp rdi, rax
je 0x14000ff7a
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, rdi
call fcn.14001e320
mov r14, rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x70], bl
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x20], rbx
mov byte [rbp + 0x10], bl
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x60], rbx
mov byte [rbp + 0x50], bl
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x40], rbx
mov byte [rbp + 0x30], bl
mov r15d, 1
lea rax, [rbp - 0x10]
mov r8, qword [rbp - 0x10]
mov r9, qword [rbp + 8]
lea edi, [r15 + 0xf]
cmp r9, rdi
cmovae rax, r8
mov esi, ebx
cmp byte [rax], 0x3c
jne 0x140010182
movsxd r8, esi
mov r9d, 5
lea rdx, str._key_
lea rcx, [rbp - 0x10]
call fcn.14001eb5c
mov rsi, rax
movsxd r8, eax
mov r9d, 9
lea rdx, str.__string_
lea rcx, [rbp - 0x10]
call fcn.14001eb5c
mov r14, rax
test esi, esi
js 0x140010179
cmp eax, esi
jle 0x140010171
sub eax, esi
sub eax, 5
movsxd r9, eax
lea eax, [rsi + 5]
movsxd r8, eax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.14001b2c8
nop
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140073184]
lea rcx, [rbp - 0x50]
call fcn.14001eb5c
movsxd rsi, eax
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.14001b2c8
nop
lea rdx, [0x140072d02]
lea rcx, [rbp - 0x50]
call fcn.140023d6c
test al, al
jne 0x140010098
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.14001c3a0
or r9, 0xffffffffffffffff
mov r8, rsi
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x50]
call fcn.14001b2c8
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14001af54
cmp qword [rbp + 0xc8], rdi
jb 0x1400100d0
mov rcx, qword [rbp + 0xb0]
call fcn.14002df20
mov r9d, 1
lea rdx, [0x140073188]
lea rcx, [rbp - 0x50]
call fcn.14001ec30
inc eax
movsxd r8, eax
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x50]
call fcn.14001b2c8
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14001af54
cmp qword [rbp + 0xc8], rdi
jb 0x140010120
mov rcx, qword [rbp + 0xb0]
call fcn.14002df20
lea rdx, [0x140072d02]
lea rcx, [rbp - 0x50]
call fcn.140023d6c
test al, al
jne 0x140010141
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x70]
call fcn.14001c3a0
mov esi, r14d
cmp qword [rbp - 0x18], rdi
jb 0x140010153
mov rcx, qword [rbp - 0x30]
call fcn.14002df20
mov qword [rbp - 0x18], select
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
cmp qword [rbp - 0x38], rdi
jb 0x140010171
mov rcx, qword [rbp - 0x50]
call fcn.14002df20
test esi, esi
jns 0x14000ffe3
mov r14, qword [rbp - 0x70]
jmp 0x140010289
cmp dword [rbp], ebx
jle 0x140010276
lea rcx, [rbp - 0x10]
cmp r9, rdi
cmovae rcx, r8
movsxd rax, esi
mov dl, byte [rax + rcx]
cmp dl, 0x5f
jne 0x1400101bc
lea rdx, [rbp - 0x10]
cmp r9, rdi
cmovae rdx, r8
lea eax, [rsi + 2]
movsxd rcx, eax
movsx eax, byte [rcx + rdx]
lea r14d, [rsi + 3]
jmp 0x1400101d2
mov al, dl
and al, 0xf0
cmp al, 0x50
jne 0x140010267
movzx eax, dl
and eax, 0xf
lea r14d, [rsi + 1]
test eax, eax
jle 0x140010267
mov qword [rbp - 0x78], select
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x70], bl
lea esi, [r14 + rax]
movsxd r15, r14d
jmp 0x140010225
cmp r14d, dword [rbp]
jge 0x14001021f
lea rax, [rbp - 0x10]
cmp r9, rdi
cmovae rax, r8
mov r8b, byte [rax + r15]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.14001e220
mov r9, qword [rbp + 8]
mov r8, qword [rbp - 0x10]
inc r14d
inc r15
cmp r14d, esi
jl 0x1400101f3
lea rdx, [0x140072d02]
lea rcx, [rsp + 0x70]
call fcn.140023d6c
test al, al
jne 0x14001024d
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.14001c3a0
dec esi
cmp qword [rbp - 0x78], rdi
jb 0x14001025f
mov rcx, qword [rsp + 0x70]
call fcn.14002df20
mov r8, qword [rbp - 0x10]
mov r9, qword [rbp + 8]
inc esi
cmp esi, dword [rbp]
jl 0x14001018b
mov r14, qword [rbp - 0x70]
mov rax, qword [rbp - 0x68]
sub rax, r14
sar rax, 5
cdq
sub eax, edx
sar eax, 1
mov r15d, eax
mov rcx, qword [rbp - 0x68]
sub rcx, r14
sar rcx, 5
lea eax, [rcx - 4]
test eax, 0xfffffffb
je 0x14001035b
lea rdx, [r14 + 0x20]
cmp ecx, 3
jne 0x14001030c
lea r8, [0x140072db4]
lea rcx, [rbp + 0xb0]
call fcn.1400242e8
nop
lea r8, [r14 + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400241f4
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.14000e61c
nop
cmp qword [rbp + 0xc8], rdi
jb 0x140010425
mov rcx, qword [rbp + 0xb0]
call fcn.14002df20
jmp 0x140010425
mov qword [rsp + 0x68], select
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
cmp ecx, 2
lea rcx, [rsp + 0x50]
je 0x140010332
mov rdx, r14
call fcn.14001e320
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14000e61c
jmp 0x140010425
test ecx, ecx
jle 0x140010425
movsxd r15, r15d
mov rsi, r15
shl rsi, 5
add rsi, r14
neg r15
shl r15, 5
mov r12d, ecx
lea r14, [r15 + rsi]
lea rdx, str.LicensingServer_Address
mov rcx, r14
call fcn.140023d6c
test al, al
je 0x1400103a0
lea rax, [rbp + 0x70]
cmp rax, rsi
je 0x140010413
lea rcx, [rbp + 0x70]
jmp 0x140010404
lea rdx, str.LicensingServer_Port
mov rcx, r14
call fcn.140023d6c
test al, al
je 0x1400103c2
lea rax, [rbp + 0x10]
cmp rax, rsi
je 0x140010413
lea rcx, [rbp + 0x10]
jmp 0x140010404
lea rdx, str.LicensingBackupServer_Address
mov rcx, r14
call fcn.140023d6c
test al, al
je 0x1400103e4
lea rax, [rbp + 0x50]
cmp rax, rsi
je 0x140010413
lea rcx, [rbp + 0x50]
jmp 0x140010404
lea rdx, str.LicensingBackupServer_Port
mov rcx, r14
call fcn.140023d6c
test al, al
je 0x140010413
lea rax, [rbp + 0x30]
cmp rax, rsi
je 0x140010413
lea rcx, [rbp + 0x30]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
call fcn.14001e320
add rsi, 0x20
dec r12
jne 0x14001037a
mov r12, qword [rsp + 0x40]
lea rsi, [0x140072d02]
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.140023d6c
test al, al
je 0x140010452
mov r8d, 5
lea rdx, str.27100
lea rcx, [rbp + 0x10]
call fcn.14001e444
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.140023d6c
test al, al
je 0x140010476
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.14001e320
mov rdx, rsi
lea rcx, [rbp + 0x30]
call fcn.140023d6c
test al, al
je 0x14001049a
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x30]
call fcn.14001e320
mov esi, 0x80
mov r8d, esi
xor edx, edx
mov rcx, r13
call fcn.14002f000
mov r8d, esi
xor edx, edx
mov rcx, r12
call fcn.14002f000
mov r8d, esi
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.14002f000
mov r8d, esi
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.14002f000
mov eax, dword [rbp + 0x80]
mov esi, 0x7f
cmp eax, esi
cmovg eax, esi
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], rdi
cmovae rdx, qword [rbp + 0x70]
movsxd r8, eax
mov rcx, r13
call fcn.14002db60
mov eax, dword [rbp + 0x20]
cmp eax, esi
cmovg eax, esi
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], rdi
cmovae rdx, qword [rbp + 0x10]
movsxd r8, eax
mov rcx, r12
call fcn.14002db60
mov eax, dword [rbp + 0x60]
cmp eax, esi
cmovg eax, esi
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], rdi
cmovae rdx, qword [rbp + 0x50]
movsxd r8, eax
mov rcx, qword [rsp + 0x38]
call fcn.14002db60
mov eax, dword [rbp + 0x40]
cmp eax, esi
cmovg eax, esi
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], rdi
cmovae rdx, qword [rbp + 0x30]
movsxd r8, eax
mov rcx, qword [rsp + 0x30]
call fcn.14002db60
nop
cmp qword [rbp + 0x48], rdi
jb 0x140010576
mov rcx, qword [rbp + 0x30]
call fcn.14002df20
mov esi, select
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x40], rbx
mov byte [rbp + 0x30], bl
cmp qword [rbp + 0x68], rdi
jb 0x140010595
mov rcx, qword [rbp + 0x50]
call fcn.14002df20
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x60], rbx
mov byte [rbp + 0x50], bl
cmp qword [rbp + 0x28], rdi
jb 0x1400105af
mov rcx, qword [rbp + 0x10]
call fcn.14002df20
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x20], rbx
mov byte [rbp + 0x10], bl
cmp qword [rbp + 0x88], rdi
jb 0x1400105cc
mov rcx, qword [rbp + 0x70]
call fcn.14002df20
mov qword [rbp + 0x88], rsi
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x70], bl
lea rcx, [rbp - 0x70]
call fcn.14001c330
jmp 0x140010845
lea rcx, str.aescriptsLicensingServer
call fcn.14002e654
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], bl
mov edi, reloc.WS2_32.dll_recv
test rax, rax
je 0x14001065d
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x70], bl
cmp byte [rax], bl
jne 0x140010624
mov r8, rbx
jmp 0x140010631
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140010628
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14001e444
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14001af54
cmp qword [rbp - 0x78], rdi
jb 0x14001065d
mov rcx, qword [rsp + 0x70]
call fcn.14002df20
lea rdx, [0x140072d02]
lea rcx, [rsp + 0x50]
call fcn.140023d6c
test al, al
jne 0x140010830
mov r8d, 0x18
lea rdx, str.aescriptsLicensingServer
lea rcx, [rbp + 0x90]
call fcn.14001e444
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x80], rbx
mov byte [rsp + 0x70], bl
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x50], bl
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x70], bl
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xc0], rbx
mov byte [rbp + 0xb0], bl
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xb0]
call fcn.14001e320
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.14000e61c
mov esi, 0x80
mov r8d, esi
xor edx, edx
mov rcx, r13
call fcn.14002f000
mov r8d, esi
xor edx, edx
mov rcx, r12
call fcn.14002f000
mov r8d, esi
xor edx, edx
mov rcx, r14
call fcn.14002f000
mov r8d, esi
xor edx, edx
mov rcx, r15
call fcn.14002f000
mov eax, dword [rbp - 0x80]
mov esi, 0x7f
cmp eax, esi
cmovg eax, esi
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], rdi
cmovae rdx, qword [rsp + 0x70]
movsxd r8, eax
mov rcx, r13
call fcn.14002db60
mov eax, dword [rbp - 0x20]
cmp eax, esi
cmovg eax, esi
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], rdi
cmovae rdx, qword [rbp - 0x30]
movsxd r8, eax
mov rcx, r12
call fcn.14002db60
mov eax, dword [rbp - 0x40]
cmp eax, esi
cmovg eax, esi
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], rdi
cmovae rdx, qword [rbp - 0x50]
movsxd r8, eax
mov rcx, r14
call fcn.14002db60
mov eax, dword [rbp - 0x60]
cmp eax, esi
cmovg eax, esi
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], rdi
cmovae rdx, qword [rbp - 0x70]
movsxd r8, eax
mov rcx, r15
call fcn.14002db60
nop
cmp qword [rbp - 0x58], rdi
jb 0x1400107da
mov rcx, qword [rbp - 0x70]
call fcn.14002df20
mov esi, select
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x70], bl
cmp qword [rbp - 0x38], rdi
jb 0x1400107f9
mov rcx, qword [rbp - 0x50]
call fcn.14002df20
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x50], bl
cmp qword [rbp - 0x18], rdi
jb 0x140010813
mov rcx, qword [rbp - 0x30]
call fcn.14002df20
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x20], rbx
mov byte [rbp - 0x30], bl
cmp qword [rbp - 0x78], rdi
jb 0x140010833
mov rcx, qword [rsp + 0x70]
call fcn.14002df20
jmp 0x140010833
or ebx, 0xffffffff
cmp qword [rsp + 0x68], rdi
jb 0x140010845
mov rcx, qword [rsp + 0x50]
call fcn.14002df20
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x10]
call fcn.14001edc8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x90]
call fcn.14001edc8
mov eax, ebx
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14002b700
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret