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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0xd4]
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0xac], eax
xor eax, eax
mov eax, dword [ebx + 0x50]
mov ebp, dword [ebx + 0x5c]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x6b5a0d00
mov ebp, dword [edi + 0x60]
test ebp, ebp
je 0x6b5a0c50
test byte [ebx + 0x70], 0x40
jne 0x6b5a0be6
mov ecx, 1
mov edx, edi
mov eax, ebx
call sym._check_crl_time
test eax, eax
je 0x6b5a0cd8
mov dword [esp], esi
call sym.libcrypto_1_1.dll_X509_get0_pubkey
mov esi, eax
test eax, eax
je 0x6b5a0d30
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 8], eax
call sym.libcrypto_1_1.dll_X509_CRL_check_suiteb
test eax, eax
je 0x6b5a0c2b
mov dword [ebx + 0x60], eax
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x1c]
test eax, eax
je 0x6b5a0cd8
mov dword [esp + 4], esi
mov dword [esp], edi
call sym.libcrypto_1_1.dll_X509_CRL_verify
test eax, eax
jle 0x6b5a0d90
mov eax, 1
jmp 0x6b5a0cda
test byte [esi + 0x80], 2
je 0x6b5a0c80
test byte [esi + 0x84], 2
jne 0x6b5a0c80
mov dword [ebx + 0x60], 0x23
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x1c]
test eax, eax
je 0x6b5a0cd8
lea esi, [esi]
nop
mov eax, dword [ebx + 0x70]
test al, 0x80
jne 0x6b5a0ca3
mov dword [ebx + 0x60], 0x2c
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x1c]
test eax, eax
je 0x6b5a0cd8
mov eax, dword [ebx + 0x70]
test al, 8
je 0x6b5a0da0
test byte [edi + 0x54], 2
je 0x6b5a0bca
mov dword [ebx + 0x60], 0x29
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x1c]
test eax, eax
jne 0x6b5a0bca
lea esi, [esi]
xor eax, eax
mov ecx, dword [esp + 0xac]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b5a0f32
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
sub eax, 1
mov edx, dword [ebx + 0x50]
cmp ebp, eax
jge 0x6b5a0d50
add ebp, 1
mov dword [esp], edx
mov dword [esp + 4], ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov esi, eax
test esi, esi
jne 0x6b5a0bbf
mov eax, 1
jmp 0x6b5a0cda
mov dword [ebx + 0x60], 6
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x1c]
test eax, eax
setne al
movzx eax, al
jmp 0x6b5a0cda
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov dword [esp], ebx
mov dword [esp + 8], eax
mov esi, eax
mov dword [esp + 4], eax
call dword [ebx + 0x24]
test eax, eax
jne 0x6b5a0d1b
mov dword [ebx + 0x60], 0x21
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x1c]
test eax, eax
jne 0x6b5a0d1b
jmp 0x6b5a0cd8
mov dword [ebx + 0x60], 8
jmp 0x6b5a0d37
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x6b5a0dd0
mov dword [ebx + 0x60], 0x36
mov dword [esp + 4], ebx
mov dword [esp], 0
call dword [ebx + 0x1c]
test eax, eax
jne 0x6b5a0cab
jmp 0x6b5a0cd8
mov eax, dword [ebx + 8]
lea ebp, [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x68]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_X509_STORE_CTX_init
test eax, eax
je 0x6b5a0da7
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], edx
mov dword [esp + 0x18], eax
call sym.libcrypto_1_1.dll_X509_VERIFY_PARAM_free
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp], ebp
mov dword [esp + 0x40], eax
call sym.libcrypto_1_1.dll_X509_verify_cert
mov dword [esp + 0x18], eax
test eax, eax
jle 0x6b5a0e9d
mov edx, dword [ebx + 0x50]
mov eax, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
mov edx, dword [esp + 0x1c]
sub eax, 1
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym.libcrypto_1_1.dll_X509_cmp
test eax, eax
sete al
movzx eax, al
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x6b5a0eb2
mov dword [esp], ebp
call eax
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x6b5a0ecd
mov edx, dword [esp + 0x9c]
test edx, edx
je 0x6b5a0f28
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_policy_tree_free
mov eax, dword [esp + 0x74]
mov dword [esp + 4], sym.libcrypto_1_1.dll_X509_free
mov dword [esp + 0x78], 0
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_pop_free
lea eax, [esp + 0xa0]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp], 5
mov dword [esp + 0x74], 0
call sym.libcrypto_1_1.dll_CRYPTO_free_ex_data
cmp dword [esp + 0x18], 1
je 0x6b5a0cab
jmp 0x6b5a0da7
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_VERIFY_PARAM_free
jmp 0x6b5a0ec5
call sym.___stack_chk_fail
lea esi, [esi]
nop