Function at 0x140066b40
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x458
mov dword [rsp + 0x4a0], ecx
mov qword [rsp + 0x4a8], rdx
call fcn.140058910
lea rcx, str.OPENSSL_CONF
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call sub.msvcrt.dll_getenv
test rax, rax
je 0x140066c6d
mov r8d, 0x69
lea rdx, str..._openssl_1.1.1s_apps_openssl.c
mov rcx, rax
call sub.libcrypto_1_1_x64.dll_CRYPTO_strdup
mov rbx, rax
mov ecx, 0x8001
mov qword [0x1400a0108], rbx
call fcn.14004def0
mov ecx, 0x8001
mov qword [0x1400a0100], rax
call fcn.14004df20
mov ecx, 0x8001
mov qword [0x1400a00f8], rax
call fcn.14004f180
lea rcx, [rsp + 0x4a0]
lea rdx, [rsp + 0x4a8]
mov qword [0x1400a00f0], rax
call fcn.140055a80
lea rcx, str.OPENSSL_DEBUG_MEMORY
call sub.msvcrt.dll_getenv
test rax, rax
je 0x140066c0a
cmp byte [rax], 0x6f
je 0x140066c55
mov ecx, 1
call sub.libcrypto_1_1_x64.dll_CRYPTO_mem_ctrl
lea rcx, str.OPENSSL_FIPS
call sub.msvcrt.dll_getenv
test rax, rax
je 0x140066d14
mov rcx, qword [0x1400a00f0]
lea rdx, str.FIPS_mode_not_supported._n
call sub.libcrypto_1_1_x64.dll_BIO_printf
mov eax, 1
add rsp, 0x458
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rax + 1], 0x6e
jne 0x140066c0a
cmp byte [rax + 2], 0
jne 0x140066c0a
mov ecx, 1
call sub.libcrypto_1_1_x64.dll_CRYPTO_set_mem_debug
jmp 0x140066c0a
call sub.libcrypto_1_1_x64.dll_X509_get_default_cert_area
cmp byte [rax], 0
mov rsi, rax
je 0x140066d10
mov rdx, rax
xor eax, eax
jmp 0x140066c8f
cmp eax, 0x80000000
je 0x140066c9b
add rdx, 1
add eax, 1
cmp byte [rdx], 0
jne 0x140066c88
and eax, 0x7fffffff
lea rcx, str.openssl.cnf
mov edx, eax
xor eax, eax
jmp 0x140066cb7
cmp eax, 0x80000000
je 0x140066cc3
add rcx, 1
add eax, 1
cmp byte [rcx], 0
jne 0x140066cb0
movabs rdi, 0x2e6c73736e65706f
and eax, 0x7fffffff
lea ecx, [rdx + rax + 2]
lea rdx, str.config_filename_buffer
call fcn.14004b800
mov rdx, rsi
mov rbx, rax
mov rcx, rax
call sub.msvcrt.dll_strcpy
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov byte [rbx + rax], 0x2f
lea rax, [rbx + rax + 1]
mov qword [rax], rdi
mov dword [rax + 8], 0x666e63
jmp 0x140066ba5
xor eax, eax
jmp 0x140066c9b
xor edx, edx
mov ecx, 0x7640
call sub.libssl_1_1_x64.dll_OPENSSL_init_ssl
test eax, eax
jne 0x140066dbf
mov rcx, qword [0x1400a00f0]
lea rdx, str.FATAL:_Startup_failure__dev_note:_apps_startup___failed__n
call sub.libcrypto_1_1_x64.dll_BIO_printf
mov rcx, qword [0x1400a00f0]
call sub.libcrypto_1_1_x64.dll_ERR_print_errors
xor esi, esi
mov ebx, 1
mov rcx, qword [0x1400a0108]
lea rdi, str..._openssl_1.1.1s_apps_openssl.c
mov r8d, 0x104
mov rdx, rdi
call sub.libcrypto_1_1_x64.dll_CRYPTO_free
mov rcx, rsi
call sub.libcrypto_1_1_x64.dll_OPENSSL_LH_free
mov rcx, qword [rsp + 0x28]
mov r8d, 0x106
mov rdx, rdi
call sub.libcrypto_1_1_x64.dll_CRYPTO_free
call fcn.140049a40
mov rcx, qword [0x1400a0100]
call sub.libcrypto_1_1_x64.dll_BIO_free
mov rcx, qword [0x1400a00f8]
call sub.libcrypto_1_1_x64.dll_BIO_free_all
call fcn.14004b240
call fcn.14004f1b0
mov rcx, qword [0x1400a00f0]
call sub.libcrypto_1_1_x64.dll_BIO_free
mov ecx, ebx
call sub.msvcrt.dll_exit
call fcn.14004b1c0
cmp dword [0x1400a0118], 0
mov rsi, qword [0x1400a0110]
jne 0x140066e59
lea rcx, [0x140068120]
xor edx, edx
mov dword [0x1400a0118], 1
mov rax, rcx
jmp 0x140066df8
add rax, 0x20
add rdx, 1
cmp qword [rax + 8], 0
jne 0x140066df0
lea r9, [0x140018150]
mov r8d, 0x20
lea rbx, [0x140068120]
call sub.msvcrt.dll_qsort
lea rdx, [0x140017fa0]
lea rcx, [0x140017fc0]
call sub.libcrypto_1_1_x64.dll_OPENSSL_LH_new
mov qword [0x1400a0110], rax
test rax, rax
jne 0x140066e4b
jmp 0x140066fd3
mov rdx, rbx
mov rcx, rsi
add rbx, 0x20
call sub.libcrypto_1_1_x64.dll_OPENSSL_LH_insert
cmp qword [rbx + 8], 0
mov rsi, qword [0x1400a0110]
jne 0x140066e3c
test rsi, rsi
je 0x140066fd3
mov rax, qword [rsp + 0x4a8]
mov rcx, qword [rax]
call fcn.14004ff20
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov qword [rsp + 0x38], rax
mov rbx, rax
call sub.libcrypto_1_1_x64.dll_OPENSSL_LH_retrieve
test rax, rax
je 0x140066ea8
mov rdx, qword [rsp + 0x4a8]
mov ecx, dword [rsp + 0x4a0]
mov qword [rdx], rbx
call qword [rax + 0x10]
mov ebx, eax
jmp 0x140066d4e
mov ebx, dword [rsp + 0x4a0]
cmp ebx, 1
jne 0x140066ff7
mov rbp, qword [fcn.1400662a0]
lea r13, [rsp + 0x50]
mov r12d, 0x80000001
mov r15d, 0x400
mov rdi, r13
lea r14, str.OpenSSL_
mov ecx, 1
mov byte [rdi], 0
call rbp
mov rcx, r14
mov rdx, rax
call sub.msvcrt.dll_fputs
mov ecx, 1
call rbp
mov rcx, rax
call sub.msvcrt.dll_fflush
xor ecx, ecx
call rbp
mov edx, r15d
mov rcx, rdi
mov r8, rax
call sub.msvcrt.dll_fgets
test rax, rax
je 0x140066fcc
cmp byte [rdi], 0
je 0x140066fcc
xor eax, eax
jmp 0x140066f2f
add rax, 1
cmp rax, r12
je 0x140066f66
cmp byte [rdi + rax], 0
jne 0x140066f26
mov edx, eax
and edx, 0x7fffffff
test eax, 0x7ffffffe
je 0x140066f66
mov eax, edx
lea rdi, [rdi + rax - 2]
cmp byte [rdi], 0x5c
jne 0x140066f66
sub edx, 2
lea r14, [0x14007d177]
sub r15d, edx
test r15d, r15d
jg 0x140066eda
lea rcx, [rsp + 0x20]
mov rdx, r13
call fcn.14004aec0
test eax, eax
je 0x14006704b
mov r8, qword [rsp + 0x28]
mov edx, dword [rsp + 0x24]
mov rcx, rsi
call fcn.140017fd0
cmp eax, 0xffffffff
je 0x140066fcc
test eax, eax
jne 0x14006702b
mov rcx, qword [0x1400a00f8]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb
mov rcx, qword [0x1400a00f0]
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
jmp 0x140066eca
xor ebx, ebx
jmp 0x140066d4e
mov rcx, qword [0x1400a00f0]
lea rdx, str.FATAL:_Startup_failure__dev_note:_prog_init___failed__n
call sub.libcrypto_1_1_x64.dll_BIO_printf
mov rcx, qword [0x1400a00f0]
call sub.libcrypto_1_1_x64.dll_ERR_print_errors
jmp 0x140066d47
mov rax, qword [rsp + 0x4a8]
lea edx, [rbx - 1]
mov rcx, rsi
mov dword [rsp + 0x4a0], edx
lea r8, [rax + 8]
mov qword [rsp + 0x4a8], r8
call fcn.140017fd0
xor edx, edx
mov ebx, edx
test eax, eax
cmovns ebx, eax
jmp 0x140066d4e
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x1400a00f0]
lea rdx, str.error_in__s_n
mov r8, qword [rax]
call sub.libcrypto_1_1_x64.dll_BIO_printf
jmp 0x140066f99
mov rcx, qword [0x1400a00f0]
lea rdx, str.Cant_parse__no_memory___n
call sub.libcrypto_1_1_x64.dll_BIO_printf
jmp 0x140066d4e