Function at 0x14004d290
Capabilities:
Query environment variable
Terminate process

Disassembly:
push rsi
push rdi
push r12
push r15
mov eax, reloc.LIBEAY32.dll_Ordinal_1224
call fcn.14004f210
sub rsp, rax
mov rax, qword [0x14007b940]
xor rax, rsp
mov qword [rsp + Ordinal_1186], rax
xor r12d, r12d
mov rdi, rdx
cmp qword [0x14007cc10], r12
mov esi, ecx
mov r15d, r12d
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x50], r12d
jne reloc.LIBEAY32.dll_Ordinal_255
call sub.LIBEAY32.dll_Ordinal_93
mov rcx, rax
call sub.LIBEAY32.dll_Ordinal_78_1
mov qword [0x14007cc10], rax
test rax, rax
je reloc.LIBEAY32.dll_Ordinal_255
lea ecx, [r12 + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, qword [0x14007cc10]
lea edx, [r12 + 0x6a]
mov r9, rax
lea r8d, [r12 + 0x10]
call sub.LIBEAY32.dll_Ordinal_52_1
lea rcx, [0x14007a680]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je reloc.LIBEAY32.dll_Ordinal_255
lea rcx, str.OPENSSL_DEBUG_MEMORY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
lea r8, [0x14007a5d4]
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne reloc.LIBEAY32.dll_Ordinal_255
inc rax
test ecx, ecx
jne reloc.LIBEAY32.dll_Ordinal_255
test edx, edx
je reloc.LIBEAY32.dll_Ordinal_255
lea rax, [0x14004f190]
lea r9, [0x14004f18a]
mov qword [rsp + 0x20], rax
lea r8, [0x14004f184]
lea rdx, [0x14004f17e]
lea rcx, [0x14004f178]
call sub.LIBEAY32.dll_Ordinal_2161
mov ecx, 3
call sub.LIBEAY32.dll_Ordinal_2164
jmp reloc.LIBEAY32.dll_Ordinal_255
xor r9d, r9d
mov qword [rsp + 0x20], r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call sub.LIBEAY32.dll_Ordinal_2161
mov ecx, 1
call sub.LIBEAY32.dll_Ordinal_189_1
lea rcx, [0x14004d170]
call sub.LIBEAY32.dll_Ordinal_197
lea rcx, str.OPENSSL_FIPS
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je reloc.LIBEAY32.dll_Ordinal_255
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.FIPS_mode_not_supported._n
call fcn.1400012a0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rcx, qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + reloc.LIBEAY32.dll_Ordinal_1280], rbx
call sub.LIBEAY32.dll_Ordinal_198
call sub.LIBEAY32.dll_Ordinal_246
call sub.LIBEAY32.dll_Ordinal_3212
call sub.LIBEAY32.dll_Ordinal_2708
call fcn.140034810
lea rcx, str.OPENSSL_CONF
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
test rax, rax
jne reloc.LIBEAY32.dll_Ordinal_255
lea rcx, str.SSLEAY_CONF
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, rax
test rax, rax
jne reloc.LIBEAY32.dll_Ordinal_255
call fcn.140032bf0
mov r15, rax
mov rbx, rax
xor ecx, ecx
mov qword [0x14007cc08], rbx
call sub.LIBEAY32.dll_Ordinal_2279
lea r8, [rsp + 0x40]
mov qword [0x14007cc00], rax
mov rdx, rbx
mov rcx, rax
call sub.LIBEAY32.dll_Ordinal_2276
test eax, eax
jne reloc.LIBEAY32.dll_Ordinal_255
call sub.LIBEAY32.dll_Ordinal_3205
mov rcx, qword [0x14007cc10]
and eax, reloc.LIBEAY32.dll_Ordinal_255
cmp eax, 0x72
jne reloc.LIBEAY32.dll_Ordinal_255
mov r8, rbx
lea rdx, str.WARNING:_cant_open_config_file:__s_n
call sub.LIBEAY32.dll_Ordinal_86_1
call sub.LIBEAY32.dll_Ordinal_222
mov rcx, qword [0x14007cc00]
call sub.LIBEAY32.dll_Ordinal_2281
mov qword [0x14007cc00], r12
mov qword [rsp + reloc.LIBEAY32.dll_Ordinal_1216], rbp
mov qword [rsp + Ordinal_1205], r14
call fcn.14004d780
mov rcx, qword [rdi]
lea rdx, [rsp + 0x70]
mov r8d, reloc.SSLEAY32.dll_Ordinal_40
mov r14, rax
call fcn.140033880
lea rax, [rsp + 0x70]
mov rcx, r14
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x60], rax
call sub.LIBEAY32.dll_Ordinal_897
test rax, rax
je reloc.LIBEAY32.dll_Ordinal_255
lea rdx, [rsp + 0x70]
mov ecx, esi
mov qword [rdi], rdx
mov rdx, rdi
call qword [rax + reloc.SSLEAY32.dll_Ordinal_16]
mov ebp, eax
jmp reloc.LIBEAY32.dll_Ordinal_255
call sub.LIBEAY32.dll_Ordinal_250
mov rcx, qword [0x14007cc00]
call sub.LIBEAY32.dll_Ordinal_2281
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
cmp esi, 1
je reloc.LIBEAY32.dll_Ordinal_255
lea r8, [rdi + 8]
mov rcx, r14
lea edx, [rsi - 1]
call fcn.14004c930
mov ebp, eax
test eax, eax
jns reloc.LIBEAY32.dll_Ordinal_255
mov ebp, r12d
jmp reloc.LIBEAY32.dll_Ordinal_255
mov qword [rsp + Ordinal_1215], r13
lea r13, str.OpenSSL_
nop word [rax + rax]
mov ebp, r12d
lea rbx, [rsp + 0xa0]
mov esi, reloc.LIBEAY32.dll_Ordinal_255
mov edi, r12d
nop dword [rax]
nop word [rax + rax]
mov ecx, 1
mov byte [rbx], bpl
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
test edi, edi
lea rcx, [0x14007b1ac]
mov rdx, rax
cmove rcx, r13
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, esi
mov rcx, rbx
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je reloc.LIBEAY32.dll_Ordinal_255
cmp byte [rbx], bpl
je reloc.LIBEAY32.dll_Ordinal_255
mov rcx, rbx
mov eax, r12d
cmp eax, reloc.LIBEAY32.dll_Ordinal_255
jae reloc.LIBEAY32.dll_Ordinal_255
inc rcx
inc eax
cmp byte [rcx], bpl
jne reloc.LIBEAY32.dll_Ordinal_255
btr eax, 0x1f
cmp eax, 1
jbe reloc.LIBEAY32.dll_Ordinal_255
lea edi, [rax - 2]
movsxd rax, edi
add rbx, rax
cmp byte [rbx], 0x5c
jne reloc.LIBEAY32.dll_Ordinal_255
sub esi, edi
jmp reloc.LIBEAY32.dll_Ordinal_255
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.140030f20
test eax, eax
je reloc.LIBEAY32.dll_Ordinal_255
mov r8, qword [rsp + 0x38]
mov rcx, r14
mov edx, dword [rsp + 0x30]
call fcn.14004c930
test eax, eax
js reloc.LIBEAY32.dll_Ordinal_255
je reloc.LIBEAY32.dll_Ordinal_255
mov r8, qword [rsp + 0x38]
lea rdx, str.error_in__s_n
mov rcx, qword [0x14007cc10]
mov r8, qword [r8]
call sub.LIBEAY32.dll_Ordinal_86_1
mov rcx, qword [0x14007cc10]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xb]
call sub.LIBEAY32.dll_Ordinal_52_1
jmp reloc.LIBEAY32.dll_Ordinal_255
mov rcx, qword [0x14007cc10]
lea rdx, str.bad_exit_n
call sub.LIBEAY32.dll_Ordinal_86_1
mov ebp, 1
mov r13, qword [rsp + 0x4b8]
test r15, r15
je reloc.LIBEAY32.dll_Ordinal_255
mov rcx, r15
call sub.LIBEAY32.dll_Ordinal_181
mov rcx, qword [0x14007cc00]
test rcx, rcx
je reloc.LIBEAY32.dll_Ordinal_255
call sub.LIBEAY32.dll_Ordinal_2281
mov qword [0x14007cc00], r12
test r14, r14
je reloc.LIBEAY32.dll_Ordinal_255
mov rcx, r14
call sub.LIBEAY32.dll_Ordinal_890
mov rcx, qword [rsp + 0x48]
mov r14, qword [rsp + 0x4b0]
test rcx, rcx
je reloc.LIBEAY32.dll_Ordinal_255
call sub.LIBEAY32.dll_Ordinal_181
mov ecx, 1
call sub.LIBEAY32.dll_Ordinal_3189
call fcn.140031320
call sub.LIBEAY32.dll_Ordinal_355_1
call sub.LIBEAY32.dll_Ordinal_298
call sub.LIBEAY32.dll_Ordinal_2949
call sub.LIBEAY32.dll_Ordinal_2604
xor ecx, ecx
call sub.LIBEAY32.dll_Ordinal_4445
call sub.LIBEAY32.dll_Ordinal_465
call sub.LIBEAY32.dll_Ordinal_224
call sub.LIBEAY32.dll_Ordinal_3936
mov rcx, qword [0x14007cc10]
call sub.LIBEAY32.dll_Ordinal_190
mov rcx, qword [0x14007cc10]
test rcx, rcx
je reloc.LIBEAY32.dll_Ordinal_255
call sub.LIBEAY32.dll_Ordinal_66
mov qword [0x14007cc10], r12
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov rbp, qword [rsp + reloc.LIBEAY32.dll_Ordinal_1216]
int3