Function at 0x14024f150
Capabilities:
Query environment variable

Disassembly:
push rsi
mov eax, gethostbyname
call fcn.1400be950
sub rsp, rax
mov rsi, rcx
test rcx, rcx
jne 0x14024f18d
lea r9, str.cryptoengineeng_list.c
mov dword [rsp + 0x20], 0x11f
lea edx, [rax + 0x3a]
lea ecx, [rax - 0xa]
lea r8d, [rax + 0x13]
call fcn.1401cf2c0
xor eax, eax
add rsp, 0x30
pop rsi
ret
lea rdx, [0x14021e340]
mov qword [rsp + 0x50], rdi
lea rcx, [0x1403c7858]
call fcn.1401d46a0
xor edi, edi
test eax, eax
mov ecx, edi
cmovne ecx, dword [0x1403c785c]
test ecx, ecx
jne 0x14024f1e1
lea r9, str.cryptoengineeng_list.c
mov dword [rsp + 0x20], 0x123
lea edx, [rdi + 0x6a]
lea ecx, [rdi + 0x26]
lea r8d, [rdi + 0x41]
call fcn.1401cf2c0
mov rdi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rsi
ret
mov rcx, qword [0x1403c7b00]
mov qword [rsp + 0x40], rbx
call fcn.1401d4680
mov rbx, qword [0x1403c7950]
test rbx, rbx
je 0x14024f385
mov r8, qword [rbx]
mov rax, rsi
sub r8, rsi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14024f223
inc rax
test ecx, ecx
jne 0x14024f210
test edx, edx
je 0x14024f2ba
mov rbx, qword [rbx + 0xb8]
test rbx, rbx
jne 0x14024f202
mov rcx, qword [0x1403c7b00]
call fcn.1401d4740
mov qword [rsp + 0x48], rbp
lea rbp, str.dynamic
nop
movzx eax, byte [rsi + rdi]
inc rdi
cmp al, byte [rdi + rbp - 1]
jne 0x14024f3ad
cmp rdi, 8
jne 0x14024f250
mov rcx, rbx
call fcn.14021e0a0
mov edx, 0x6a
mov dword [rsp + 0x20], 0x153
lea r9, str.cryptoengineeng_list.c
lea ecx, [rdx - 0x44]
lea r8d, [rdx + 0xa]
call fcn.1401cf2c0
mov r8, rsi
lea rdx, [0x14033551c]
mov ecx, 2
call fcn.1401ce450
xor eax, eax
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
test byte [rbx + 0x98], 4
je 0x14024f37f
call fcn.14021e160
mov rcx, rax
test rax, rax
jne 0x14024f2dc
mov rbx, rdi
jmp 0x14024f237
mov rax, qword [rbx]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rbx + 0x10]
mov qword [rcx + 0x10], rax
mov rax, qword [rbx + 0x18]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x20]
mov qword [rcx + 0x20], rax
mov rax, qword [rbx + 0x28]
mov qword [rcx + 0x28], rax
mov rax, qword [rbx + 0x30]
mov qword [rcx + 0x30], rax
mov rax, qword [rbx + 0x38]
mov qword [rcx + 0x38], rax
mov rax, qword [rbx + 0x40]
mov qword [rcx + 0x40], rax
mov rax, qword [rbx + 0x48]
mov qword [rcx + 0x48], rax
mov rax, qword [rbx + 0x58]
mov qword [rcx + 0x58], rax
mov rax, qword [rbx + 0x60]
mov qword [rcx + 0x60], rax
mov rax, qword [rbx + 0x68]
mov qword [rcx + 0x68], rax
mov rax, qword [rbx + 0x70]
mov qword [rcx + 0x70], rax
mov rax, qword [rbx + 0x78]
mov qword [rcx + 0x78], rax
mov rax, qword [rbx + 0x80]
mov qword [rcx + 0x80], rax
mov rax, qword [rbx + 0x90]
mov qword [rcx + 0x90], rax
mov eax, dword [rbx + 0x98]
mov rbx, rcx
mov dword [rcx + 0x98], eax
jmp 0x14024f385
inc dword [rbx + 0x9c]
mov rcx, qword [0x1403c7b00]
call fcn.1401d4740
test rbx, rbx
je 0x14024f243
mov rdi, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret
lea rcx, str.OPENSSL_ENGINES
call sub.api_ms_win_crt_environment_l1_1_0.dll_getenv
test rax, rax
lea rdi, str.C:Program_FilesOpenSSLlibengines_1_1
mov rcx, rbp
cmovne rdi, rax
call fcn.14024f150
mov rbx, rax
test rax, rax
je 0x14024f267
xor r9d, r9d
lea rdx, [0x14032e3c8]
mov r8, rsi
mov rcx, rax
call fcn.1402575d0
test eax, eax
je 0x14024f267
xor r9d, r9d
lea r8, reloc.WLDAP32.dll_Ordinal_50
lea rdx, str.DIR_LOAD
mov rcx, rbx
call fcn.1402575d0
test eax, eax
je 0x14024f267
xor r9d, r9d
lea rdx, str.DIR_ADD
mov r8, rdi
mov rcx, rbx
call fcn.1402575d0
test eax, eax
je 0x14024f267
xor r9d, r9d
lea r8, [0x1402aa06c]
lea rdx, str.LIST_ADD
mov rcx, rbx
call fcn.1402575d0
test eax, eax
je 0x14024f267
xor r9d, r9d
lea rdx, str.LOAD
xor r8d, r8d
mov rcx, rbx
call fcn.1402575d0
test eax, eax
je 0x14024f267
mov rax, rbx
jmp 0x14024f2a5