Function at 0x1009a310
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
test ebp, ebp
push edi
jne 0x1009a33b
push 0x164
push str..cryptoengineeng_list.c
push 0x43
push 0x6a
push 0x26
call sym.LIBEAY32_smt.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x167
push str..cryptoengineeng_list.c
push 0x1e
push 9
call sym.LIBEAY32_smt.dll_CRYPTO_lock
mov edi, dword [0x10101d10]
add esp, 0x10
test edi, edi
je 0x1009a436
mov esi, dword [edi]
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x1009a38b
test cl, cl
je 0x1009a387
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x1009a38b
add eax, 2
add esi, 2
test cl, cl
jne 0x1009a363
xor eax, eax
jmp 0x1009a390
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1009a3a0
mov edi, dword [edi + 0x60]
test edi, edi
jne 0x1009a35f
jmp 0x1009a436
test edi, edi
je 0x1009a436
test byte [edi + 0x48], 4
je 0x1009a433
call sym.LIBEAY32_smt.dll_ENGINE_new
test eax, eax
jne 0x1009a3bf
xor edi, edi
jmp 0x1009a436
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [eax + 0x14], edx
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [edi + 0x20]
mov dword [eax + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [eax + 0x24], edx
mov ecx, dword [edi + 0x28]
mov dword [eax + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [eax + 0x2c], edx
mov ecx, dword [edi + 0x30]
mov dword [eax + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [eax + 0x34], edx
mov ecx, dword [edi + 0x38]
mov dword [eax + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x3c], edx
mov ecx, dword [edi + 0x40]
mov dword [eax + 0x40], ecx
mov edx, dword [edi + 0x44]
mov dword [eax + 0x44], edx
mov ecx, dword [edi + 0x48]
mov dword [eax + 0x48], ecx
mov edi, eax
jmp 0x1009a436
inc dword [edi + 0x4c]
push 0x181
push str..cryptoengineeng_list.c
push 0x1e
push 0xa
call sym.LIBEAY32_smt.dll_CRYPTO_lock
add esp, 0x10
test edi, edi
je 0x1009a457
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov esi, str.dynamic
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x1009a486
test cl, cl
je 0x1009a482
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x1009a486
add eax, 2
add esi, 2
test cl, cl
jne 0x1009a45e
xor eax, eax
jmp 0x1009a48b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1009a51f
push str.OPENSSL_ENGINES
call dword [sym.imp.MSVCRT.dll_getenv]
mov edi, eax
add esp, 4
test edi, edi
jne 0x1009a4ac
mov edi, str._usr_local_ssl_lib_engines
push str.dynamic
call sym.LIBEAY32_smt.dll_ENGINE_by_id
mov esi, eax
add esp, 4
test esi, esi
je 0x1009a51f
push 0
push ebp
push 0x100d6714
push esi
call sym.LIBEAY32_smt.dll_ENGINE_ctrl_cmd_string
add esp, 0x10
test eax, eax
je 0x1009a51f
push 0
push 0x100c31bc
push str.DIR_LOAD
push esi
call sym.LIBEAY32_smt.dll_ENGINE_ctrl_cmd_string
add esp, 0x10
test eax, eax
je 0x1009a51f
push 0
push edi
push str.DIR_ADD
push esi
call sym.LIBEAY32_smt.dll_ENGINE_ctrl_cmd_string
add esp, 0x10
test eax, eax
je 0x1009a51f
push 0
push 0
push str.LOAD
push esi
call sym.LIBEAY32_smt.dll_ENGINE_ctrl_cmd_string
add esp, 0x10
test eax, eax
je 0x1009a51f
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x19f
push str..cryptoengineeng_list.c
push 0x74
push 0x6a
push 0x26
call sym.LIBEAY32_smt.dll_ERR_put_error
push ebp
push 0x100d66f4
push 2
call sym.LIBEAY32_smt.dll_ERR_add_error_data
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret