Function at 0x18009ec70
Capabilities:
Query environment variable

Disassembly:
push rbp
mov eax, 0x30
call fcn.180039720
sub rsp, rax
mov rbp, rcx
test rcx, rcx
jne 0x18009ecad
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.18008f1b0
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.18008ebf0
mov rbx, qword [0x180123ae8]
test rbx, rbx
je 0x18009edf9
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 0x18009ed12
inc rax
test ecx, ecx
jne 0x18009ed00
test edx, edx
je 0x18009ed27
mov rbx, qword [rbx + 0xc0]
test rbx, rbx
jne 0x18009ecf0
jmp 0x18009edf9
test byte [rbx + 0x98], 4
je 0x18009edf3
call fcn.18009f280
mov rdx, rax
test rax, rax
jne 0x18009ed48
xor ebx, ebx
jmp 0x18009edf9
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 0x18009edf9
inc dword [rbx + 0x9c]
mov edx, 0x1e
lea r8, str..cryptoengineeng_list.c
mov r9d, 0x181
lea ecx, [rdx - 0x14]
call fcn.18008ebf0
test rbx, rbx
jne 0x18009eed3
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 0x18009eee6
lea rcx, str.OPENSSL_ENGINES
call fcn.1800607c0
lea rdi, str._usr_local_ssl_lib_engines
lea rcx, str.dynamic
test rax, rax
cmovne rdi, rax
call fcn.18009ec70
mov rbx, rax
test rax, rax
je 0x18009eee6
lea rdx, [0x1800d9b40]
xor r9d, r9d
mov r8, rbp
mov rcx, rax
call fcn.1800a3d60
test eax, eax
je 0x18009eee6
lea r8, [0x1800d9b3c]
lea rdx, str.DIR_LOAD
xor r9d, r9d
mov rcx, rbx
call fcn.1800a3d60
test eax, eax
je 0x18009eee6
lea rdx, str.DIR_ADD
xor r9d, r9d
mov r8, rdi
mov rcx, rbx
call fcn.1800a3d60
test eax, eax
je 0x18009eee6
lea rdx, str.LOAD
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.1800a3d60
test eax, eax
je 0x18009eee6
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rbp
ret
mov rcx, rbx
call fcn.18009f410
mov edx, 0x6a
lea r9, str..cryptoengineeng_list.c
lea ecx, [rdx - 0x44]
lea r8d, [rdx + 0xa]
mov dword [rsp + 0x20], 0x1a0
call fcn.18008f1b0
lea rdx, [0x1800d9b1c]
mov r8, rbp
mov ecx, 2
call fcn.18008f5b0
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rbp
ret