Function at 0x1400132d0
Capabilities:
Query environment variable
Terminate process

Disassembly:
push rbx
push r14
mov eax, 0x488
call fcn.1400473e0
sub rsp, rax
mov rax, qword [0x1400826b8]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov dword [rsp + 0x20], ecx
xor r14d, r14d
lea rcx, str.OPENSSL_CONF
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rdx
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140013336
lea r8d, [r14 + 0x6a]
mov rcx, rax
lea rdx, str.appsopenssl.c
call sub.libcrypto_1_1_x64.dll_CRYPTO_strdup
mov rdx, rax
jmp 0x1400133ef
call sub.libcrypto_1_1_x64.dll_X509_get_default_cert_area
mov rcx, rax
mov rbx, rax
xor eax, eax
cmp byte [rcx], al
je 0x140013358
cmp eax, 0x80000000
jae 0x140013358
inc rcx
inc eax
cmp byte [rcx], r14b
jne 0x140013347
lea rdx, str.openssl.cnf
xor ecx, ecx
cmp ecx, 0x80000000
jae 0x140013373
inc rdx
inc ecx
cmp byte [rdx], r14b
jne 0x140013361
btr eax, 0x1f
lea rdx, str.config_filename_buffer
add eax, 2
btr ecx, 0x1f
add ecx, eax
call fcn.14003ca10
mov rcx, rax
mov rdx, rax
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1400133a0
lea rcx, [rdx - 1]
cmp byte [rcx + 1], r14b
lea rcx, [rcx + 1]
jne 0x1400133b2
movzx eax, word [0x14004d9a0]
mov word [rcx], ax
lea rcx, [rdx - 1]
nop word [rax + rax]
cmp byte [rcx + 1], r14b
lea rcx, [rcx + 1]
jne 0x1400133d0
movsd xmm0, qword [str.openssl.cnf]
movsd qword [rcx], xmm0
mov eax, dword [0x140057c20]
mov dword [rcx + 8], eax
mov ecx, 0x8001
mov qword [0x1400827a0], rdx
call fcn.14003d800
mov ecx, 0x8001
mov qword [0x1400827a8], rax
call fcn.14003d830
mov ecx, 0x8001
mov qword [0x1400827b0], rax
call fcn.14003d7d0
lea rdx, [rsp + 0x28]
mov qword [0x1400827b8], rax
lea rcx, [rsp + 0x20]
call fcn.140041880
lea rcx, str.OPENSSL_DEBUG_MEMORY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rcx, rax
test rax, rax
je 0x14001347a
movzx eax, byte [rax]
cmp al, byte [reloc.WS2_32.dll_WSAGetLastError]
jne 0x14001347a
movzx eax, byte [rcx + 1]
cmp al, byte [0x140057c59]
jne 0x14001347a
movzx eax, byte [rcx + 2]
cmp al, byte [0x140057c5a]
jne 0x14001347a
mov ecx, 1
call sub.libcrypto_1_1_x64.dll_CRYPTO_set_mem_debug
mov ecx, 1
call sub.libcrypto_1_1_x64.dll_CRYPTO_mem_ctrl
lea rcx, str.OPENSSL_FIPS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1400134c9
mov rcx, qword [0x1400827b8]
lea rdx, str.FIPS_mode_not_supported._n
call sub.libcrypto_1_1_x64.dll_BIO_printf
mov eax, 1
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400474c0
add rsp, 0x488
pop r14
pop rbx
ret
mov qword [rsp + 0x4b0], rbp
xor edx, edx
mov qword [rsp + 0x480], rsi
mov ecx, 0x7640
mov qword [rsp + 0x478], rdi
mov qword [rsp + 0x470], r12
call sub.libssl_1_1_x64.dll_OPENSSL_init_ssl
test eax, eax
je 0x1400136ce
call fcn.140040f10
call fcn.1400137a0
mov rcx, qword [rsp + 0x28]
mov r14, rax
mov rcx, qword [rcx]
call fcn.14003b700
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rcx, r14
mov rbx, rax
call sub.libcrypto_1_1_x64.dll_OPENSSL_LH_retrieve
test rax, rax
je 0x14001354c
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rbx
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
call qword [rax + reloc.WS2_32.dll_recv]
mov ebp, eax
jmp 0x1400136f2
mov edx, dword [rsp + 0x20]
cmp edx, 1
je 0x140013582
mov r8, qword [rsp + 0x28]
dec edx
add r8, 8
mov dword [rsp + 0x20], edx
mov rcx, r14
mov qword [rsp + 0x28], r8
call fcn.140012e10
mov ebp, eax
test eax, eax
jns 0x1400136f2
xor ebp, ebp
jmp 0x1400136f2
lea r12, str.OpenSSL_
nop dword [rax]
xor ebp, ebp
lea rbx, [rsp + 0x60]
mov edi, 0x400
lea esi, [rbp + 1]
nop
mov ecx, 1
mov byte [rbx], bpl
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
test esi, esi
lea rcx, [0x140057cdc]
mov rdx, rax
cmovne rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov edx, edi
mov rcx, rbx
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x1400136f2
cmp byte [rbx], bpl
je 0x1400136f2
mov rcx, rbx
xor eax, eax
cmp eax, 0x80000000
jae 0x140013616
inc rcx
inc eax
cmp byte [rcx], bpl
jne 0x140013605
btr eax, 0x1f
cmp eax, 1
jbe 0x14001363c
add rbx, 0xfffffffffffffffe
mov ecx, eax
add rbx, rcx
lea edx, [rax - 2]
cmp byte [rbx], 0x5c
jne 0x14001363c
sub edi, edx
xor esi, esi
test edi, edi
jg 0x1400135a0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14003d200
test eax, eax
je 0x1400136b9
mov r8, qword [rsp + 0x38]
mov rcx, r14
mov edx, dword [rsp + 0x34]
call fcn.140012e10
cmp eax, 0xffffffff
je 0x1400136f2
test eax, eax
je 0x140013688
mov r8, qword [rsp + 0x38]
lea rdx, str.error_in__s_n
mov rcx, qword [0x1400827b8]
mov r8, qword [r8]
call sub.libcrypto_1_1_x64.dll_BIO_printf
mov rcx, qword [0x1400827b0]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
mov rcx, qword [0x1400827b8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
call sub.libcrypto_1_1_x64.dll_BIO_ctrl
jmp 0x140013590
mov rcx, qword [0x1400827b8]
lea rdx, str.Cant_parse__no_memory___n
call sub.libcrypto_1_1_x64.dll_BIO_printf
jmp 0x1400136ed
mov rcx, qword [0x1400827b8]
lea rdx, str.FATAL:_Startup_failure__dev_note:_apps_startup___failed__n
call sub.libcrypto_1_1_x64.dll_BIO_printf
mov rcx, qword [0x1400827b8]
call sub.libcrypto_1_1_x64.dll_ERR_print_errors
mov ebp, 1
mov r8d, 0xff
lea rdx, str.appsopenssl.c
xor ecx, ecx
call sub.libcrypto_1_1_x64.dll_CRYPTO_free
mov rcx, qword [0x1400827a0]
lea rdx, str.appsopenssl.c
mov r8d, 0x100
call sub.libcrypto_1_1_x64.dll_CRYPTO_free
mov rcx, r14
call fcn.140013070
mov rcx, qword [rsp + 0x38]
lea rdx, str.appsopenssl.c
mov r8d, 0x102
call sub.libcrypto_1_1_x64.dll_CRYPTO_free
call fcn.140041350
mov rcx, qword [0x1400827a8]
call sub.libcrypto_1_1_x64.dll_BIO_free
mov rcx, qword [0x1400827b0]
call sub.libcrypto_1_1_x64.dll_BIO_free_all
call fcn.140012df0
mov rcx, qword [0x1400827b8]
call sub.libcrypto_1_1_x64.dll_BIO_free
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r12, qword [rsp + 0x470]
mov rdi, qword [rsp + 0x478]
mov rsi, qword [rsp + 0x480]
mov rbp, qword [rsp + 0x4b0]
int3