Function at 0x18016d700
Capabilities:
Query environment variable

Disassembly:
push rbp
mov eax, 0x30
call fcn.1800faf10
sub rsp, rax
mov rbp, rcx
test rcx, rcx
jne 0x18016d73d
lea r9, str..cryptoengineeng_list.c
lea edx, [rax + 0x3a]
lea ecx, [rax - 0xa]
lea r8d, [rax + 0x13]
mov dword [rsp + 0x20], 0x164
call fcn.18015cb10
xor eax, eax
add rsp, 0x30
pop rbp
ret
mov edx, 0x1e
lea r8, str..cryptoengineeng_list.c
mov r9d, 0x167
lea ecx, [rdx - 0x15]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rdi
call fcn.18015a480
mov rbx, qword [0x18023d8e8]
test rbx, rbx
je 0x18016d889
nop word [rax + rax]
mov rdi, qword [rbx]
mov rax, rbp
sub rdi, rbp
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + rdi]
sub edx, ecx
jne 0x18016d7a2
inc rax
test ecx, ecx
jne 0x18016d790
test edx, edx
je 0x18016d7b7
mov rbx, qword [rbx + 0xc0]
test rbx, rbx
jne 0x18016d780
jmp 0x18016d889
test byte [rbx + 0x98], 4
je 0x18016d883
call fcn.18016dd10
mov rdx, rax
test rax, rax
jne 0x18016d7d8
xor ebx, ebx
jmp 0x18016d889
mov rax, qword [rbx]
mov qword [rdx], rax
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rbx + 0x10]
mov qword [rdx + 0x10], rax
mov rax, qword [rbx + 0x18]
mov qword [rdx + 0x18], rax
mov rax, qword [rbx + 0x20]
mov qword [rdx + 0x20], rax
mov rax, qword [rbx + 0x28]
mov qword [rdx + 0x28], rax
mov rax, qword [rbx + 0x30]
mov qword [rdx + 0x30], rax
mov rax, qword [rbx + 0x38]
mov qword [rdx + 0x38], rax
mov rax, qword [rbx + 0x40]
mov qword [rdx + 0x40], rax
mov rax, qword [rbx + 0x48]
mov qword [rdx + 0x48], rax
mov rax, qword [rbx + 0x50]
mov qword [rdx + 0x50], rax
mov rax, qword [rbx + 0x58]
mov qword [rdx + 0x58], rax
mov rax, qword [rbx + 0x60]
mov qword [rdx + 0x60], rax
mov rax, qword [rbx + 0x68]
mov qword [rdx + 0x68], rax
mov rax, qword [rbx + 0x70]
mov qword [rdx + 0x70], rax
mov rax, qword [rbx + 0x78]
mov qword [rdx + 0x78], rax
mov rax, qword [rbx + 0x80]
mov qword [rdx + 0x80], rax
mov rax, qword [rbx + 0x90]
mov qword [rdx + 0x90], rax
mov eax, dword [rbx + 0x98]
mov rbx, rdx
mov dword [rdx + 0x98], eax
jmp 0x18016d889
inc dword [rbx + 0x9c]
mov edx, 0x1e
lea r8, str..cryptoengineeng_list.c
mov r9d, 0x181
lea ecx, [rdx - 0x14]
call fcn.18015a480
test rbx, rbx
jne 0x18016d963
mov qword [rsp + 0x48], rsi
lea rdi, str.dynamic
mov ecx, 8
mov rsi, rbp
repe cmpsb byte [rsi], byte [rdi]
mov rsi, qword [rsp + 0x48]
je 0x18016d976
lea rcx, str.OPENSSL_ENGINES
call fcn.180120bd8
lea rdi, str._usr_local_ssl_lib_engines
lea rcx, str.dynamic
test rax, rax
cmovne rdi, rax
call fcn.18016d700
mov rbx, rax
test rax, rax
je 0x18016d976
lea rdx, [0x1801e2f80]
xor r9d, r9d
mov r8, rbp
mov rcx, rax
call fcn.18017da70
test eax, eax
je 0x18016d976
lea r8, [0x1801e2f7c]
lea rdx, str.DIR_LOAD
xor r9d, r9d
mov rcx, rbx
call fcn.18017da70
test eax, eax
je 0x18016d976
lea rdx, str.DIR_ADD
xor r9d, r9d
mov r8, rdi
mov rcx, rbx
call fcn.18017da70
test eax, eax
je 0x18016d976
lea rdx, str.LOAD
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.18017da70
test eax, eax
je 0x18016d976
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret
mov rcx, rbx
call fcn.18016dea0
mov edx, 0x6a
lea r9, str..cryptoengineeng_list.c
lea ecx, [rdx - 0x44]
lea r8d, [rdx + 0xa]
mov dword [rsp + 0x20], 0x1a0
call fcn.18015cb10
lea rdx, [0x1801e2f5c]
mov r8, rbp
mov ecx, 2
call fcn.18015cf10
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rbp
ret