Function at 0x14005ea30
Capabilities:
Query environment variable

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
xor edi, edi
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x80], rdi
mov word [rsp + 0x78], di
test rdx, rdx
je 0x14005ea6a
lea rdx, str.LM_LICENSE_FILE
mov rcx, rbx
call fcn.14000ef90
test eax, eax
jne 0x14005ea6a
lea ecx, [rdi + 1]
jmp 0x14005eab8
xor edx, edx
mov rcx, rbx
call fcn.14002a9d0
cmp rax, 0xe
jb 0x14005eab3
xor edx, edx
mov rcx, rbx
call fcn.14002a9d0
lea rcx, [rbx - 0xd]
add rcx, rax
je 0x14005eab3
xor edx, edx
mov rcx, rbx
call fcn.14002a9d0
lea rcx, [rbx - 0xd]
lea rdx, str._LICENSE_FILE
add rcx, rax
call fcn.14000ef90
mov ecx, 2
test eax, eax
je 0x14005eab8
mov ecx, 3
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
dec ecx
je 0x14005eca7
dec ecx
je 0x14005eb71
dec ecx
jne 0x14005edb9
mov rdx, rbx
mov rcx, rsi
call fcn.14005e410
test rax, rax
jne 0x14005edb9
mov rcx, rbx
call fcn.140020944
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x14005edb9
lea rdx, str.LM_BORROW
xor r8d, r8d
mov rcx, rbx
call fcn.14002a750
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, rsi
test eax, eax
jne 0x14005eb5f
call fcn.14005e860
cmp qword [rsp + 0x80], rdi
jne 0x14005eb64
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, rsi
call fcn.14005e860
mov rax, qword [rsp + 0x80]
jmp 0x14005edb9
mov rcx, rbx
call fcn.14006dc70
mov rcx, qword [rsi + 0x238]
test rcx, rcx
je 0x14005eb91
call fcn.140064760
mov qword [rsi + 0x238], rdi
mov rcx, rbx
call fcn.140020944
lea rbp, [0x1400fca4c]
mov r14, rax
test rax, rax
je 0x14005ebb8
xor edx, edx
mov rcx, rax
call fcn.14002a9d0
lea r15, [rax + 1]
jmp 0x14005ebbe
mov r15, rdi
mov r14, rbp
test byte [rsi + 0x1a8], 4
mov qword [rsp + 0x80], rdi
jne 0x14005ec0a
lea r8, [rsp + 0x80]
xor r9d, r9d
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.14005e860
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x14005ec0a
xor edx, edx
mov rcx, rbx
call fcn.14002a9d0
mov rdi, rax
inc rdi
jne 0x14005ec16
jmp 0x14005ec0d
mov rbx, rbp
test r15, r15
je 0x14005eddc
lea rdx, [r15 + 5]
mov ecx, 1
add rdx, rdi
call fcn.140022b68
mov qword [rsi + 0x238], rax
test rax, rax
je 0x14005eddc
lea rdx, [0x140105410]
lea rcx, [rsp + 0x78]
mov r8d, 0x3b
call fcn.14000ca3c
test rbx, rbx
je 0x14005ec62
cmp byte [rbx], 0
je 0x14005ec62
lea rax, [rsp + 0x78]
test r14, r14
jne 0x14005ec65
mov rax, rbp
lea rcx, [rsp + 0x78]
test rbx, rbx
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsi + 0x238]
cmovne rbp, rbx
lea rdx, str._s_s_s_s_s
mov r9, r14
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.14000ca3c
mov rax, qword [rsi + 0x238]
jmp 0x14005edb9
mov rcx, qword [rsi + 0x230]
test rcx, rcx
je 0x14005ecbf
call fcn.140064760
mov qword [rsi + 0x230], rdi
mov rcx, rbx
call fcn.140020944
lea rbp, [0x1400fca4c]
mov r14, rax
test rax, rax
je 0x14005ece6
xor edx, edx
mov rcx, rax
call fcn.14002a9d0
lea r15, [rax + 1]
jmp 0x14005ecec
mov r15, rdi
mov r14, rbp
lea r8, [rsp + 0x80]
xor r9d, r9d
mov rdx, rbx
mov rcx, rsi
mov dword [rsp + 0x20], edi
call fcn.14005e860
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x14005edd0
xor edx, edx
mov rcx, rbx
call fcn.14002a9d0
mov rdi, rax
inc rdi
je 0x14005edd3
lea rdx, [r15 + 3]
mov ecx, 1
add rdx, rdi
call fcn.140022b68
mov qword [rsi + 0x230], rax
test rax, rax
je 0x14005eddc
lea rdx, [0x140105410]
lea rcx, [rsp + 0x78]
mov r8d, 0x3b
call fcn.14000ca3c
test rbx, rbx
je 0x14005ed79
cmp byte [rbx], 0
je 0x14005ed79
lea rax, [rsp + 0x78]
test r14, r14
jne 0x14005ed7c
mov rax, rbp
lea rcx, [rsp + 0x78]
test rbx, rbx
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsi + 0x230]
cmovne rbp, rbx
lea rdx, str._s_s_s_s_s
mov r9, r14
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rax
call fcn.14000ca3c
mov rax, qword [rsi + 0x230]
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
mov rbx, rbp
test r15, r15
jne 0x14005ed2d
xor eax, eax
jmp 0x14005edb9