Function at 0x6b533b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0x4c], eax
xor eax, eax
test ebx, ebx
je 0x6b533ca0
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_EVP_MD_CTX_pkey_ctx
test eax, eax
je 0x6b533ca0
mov dword [esp], ebx
call sym.libcrypto_1_1.dll_EVP_MD_CTX_pkey_ctx
mov dword [esp], eax
call sym.libcrypto_1_1.dll_EVP_PKEY_CTX_get0_pkey
test eax, eax
je 0x6b533c48
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_check_private_key
test eax, eax
je 0x6b533c48
test byte [esp + 0x80], 1
je 0x6b533d40
test dword [esp + 0x80], 0x400
jne 0x6b533cd0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_get_subject_name
mov dword [esp + 4], eax
lea eax, [esi + 8]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_NAME_set
test eax, eax
je 0x6b533db8
mov dword [esi + 4], 0
test dword [esp + 0x80], 0x800
jne 0x6b533c0f
mov dword [esp + 4], 0
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_gmtime_adj
test eax, eax
je 0x6b533db8
mov edi, dword [esi + 0x20]
call sym.libcrypto_1_1.dll_OCSP_RESPDATA_it
mov dword [esp + 0x10], esi
add esi, 0x18
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_ASN1_item_sign_ctx
test eax, eax
setne al
movzx eax, al
jmp 0x6b533c80
mov dword [esp + 0x10], 0xc0
mov dword [esp + 0xc], str.crypto_ocsp_ocsp_srv.c
mov dword [esp + 8], 0x6e
mov dword [esp + 4], 0x77
mov dword [esp], 0x27
call sym.libcrypto_1_1.dll_ERR_put_error
xor eax, eax
lea esi, [esi]
lea esi, [esi]
mov ecx, dword [esp + 0x4c]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b533e0c
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xba
mov dword [esp + 0xc], str.crypto_ocsp_ocsp_srv.c
mov dword [esp + 8], 0x82
mov dword [esp + 4], 0x77
mov dword [esp], 0x27
call sym.libcrypto_1_1.dll_ERR_put_error
xor eax, eax
jmp 0x6b533c80
call sym.libcrypto_1_1.dll_EVP_sha1
lea edi, [esp + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], edi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_pubkey_digest
test eax, eax
je 0x6b533db8
call sym.libcrypto_1_1.dll_ASN1_OCTET_STRING_new
mov ebp, eax
test eax, eax
je 0x6b533db8
mov dword [esp + 8], 0x14
mov dword [esp + 4], edi
mov dword [esp], eax
call sym.libcrypto_1_1.dll_ASN1_OCTET_STRING_set
test eax, eax
je 0x6b533df7
mov dword [esi + 4], 1
mov dword [esi + 8], ebp
jmp 0x6b533be7
mov eax, dword [esi + 0x24]
test eax, eax
je 0x6b533de0
mov edi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], edi
call sym.libcrypto_1_1.dll_OPENSSL_sk_push
test eax, eax
je 0x6b533db8
mov dword [esp], edi
xor edi, edi
call sym.libcrypto_1_1.dll_X509_up_ref
jmp 0x6b533d7f
mov edx, dword [esp + 0x2c]
add edi, 1
mov dword [esp], edx
call sym.libcrypto_1_1.dll_X509_up_ref
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
cmp edi, eax
jge 0x6b533bac
mov dword [esp + 4], edi
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov edx, eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x6b533dc0
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call sym.libcrypto_1_1.dll_OPENSSL_sk_push
test eax, eax
jne 0x6b533d70
xor eax, eax
jmp 0x6b533c80
mov dword [esp + 0x2c], edx
call sym.libcrypto_1_1.dll_OPENSSL_sk_new_null
mov edx, dword [esp + 0x2c]
test eax, eax
mov dword [esi + 0x24], eax
jne 0x6b533da4
xor eax, eax
jmp 0x6b533c80
call sym.libcrypto_1_1.dll_OPENSSL_sk_new_null
mov dword [esi + 0x24], eax
test eax, eax
jne 0x6b533d4b
xor eax, eax
jmp 0x6b533c80
mov dword [esp], ebp
mov dword [esp + 0x28], eax
call sym.libcrypto_1_1.dll_ASN1_OCTET_STRING_free
mov eax, dword [esp + 0x28]
jmp 0x6b533c80
call sym.___stack_chk_fail
lea esi, [esi]
lea esi, [esi]
nop