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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x20], 0
lea ebp, [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0xbc], eax
xor eax, eax
jmp 0x6b5adb0d
add dword [esp + 0x20], 1
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
cmp dword [esp + 0x20], eax
jge 0x6b5ae058
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov edx, dword [eax + 4]
cmp dword [edx], 1
jne 0x6b5adb08
mov edi, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], edi
test eax, eax
je 0x6b5ae000
mov edx, dword [eax + 8]
test edx, edx
je 0x6b5ae000
cmp dword [eax], 1
jle 0x6b5ae000
movzx edx, word [edx]
mov eax, edx
rol ax, 8
cmp dx, 0x100
jne 0x6b5ae010
mov edi, 3
mov esi, 4
lea esi, [esi]
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_sort
lea eax, [edi - 1]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x34], eax
lea eax, [edi - 2]
mov dword [esp + 0x38], eax
lea eax, [edi - 3]
mov dword [esp + 0x3c], eax
lea eax, [edi - 4]
mov dword [esp + 0x40], eax
lea eax, [edi - 5]
mov dword [esp + 0x44], eax
lea eax, [edi - 6]
mov dword [esp + 0x48], eax
lea eax, [edi - 7]
mov dword [esp + 0x4c], eax
lea eax, [edi - 8]
mov dword [esp + 0x50], eax
lea eax, [edi - 9]
mov dword [esp + 0x54], eax
lea eax, [edi - 0xa]
mov dword [esp + 0x5c], eax
lea eax, [edi - 0xb]
mov dword [esp + 0x60], eax
lea eax, [edi - 0xc]
mov dword [esp + 0x64], eax
lea eax, [edi - 0xd]
mov dword [esp + 0x68], eax
lea eax, [edi - 0xe]
mov dword [esp + 0x6c], eax
lea eax, [edi - 0xf]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
sub eax, 1
cmp dword [esp + 0x1c], eax
jge 0x6b5ae090
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
lea ecx, [ebx + 1]
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov dword [esp], esi
mov ecx, ebp
lea edx, [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
call sym._extract_min_max
test eax, eax
je 0x6b5adf7f
mov dword [esp], esi
lea ebx, [esp + 0x9c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xac]
mov edx, ebx
call sym._extract_min_max
test eax, eax
je 0x6b5adf7f
lea eax, [esp + 0x7c]
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], eax
call sym._memcmp
test eax, eax
jg 0x6b5adf7f
lea eax, [esp + 0xac]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._memcmp
test eax, eax
jg 0x6b5adf7f
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym._memcmp
test eax, eax
jns 0x6b5adf7f
cmp edi, 0xffffffff
je 0x6b5adf48
movzx eax, byte [esp + edi + 0x9c]
lea edx, [eax - 1]
mov byte [esp + edi + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x34]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x38]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x40]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x44]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x48]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x50]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x54]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x5c]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x60]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x64]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x68]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xffffffff
je 0x6b5adf20
movzx eax, byte [esp + ecx + 0x9c]
lea edx, [eax - 1]
mov byte [esp + ecx + 0x9c], dl
test al, al
jne 0x6b5adf20
cmp dword [esp + 0x58], 0xffffffff
je 0x6b5adf20
mov eax, dword [esp + 0x58]
sub byte [esp + eax + 0x9c], 1
nop
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call sym._memcmp
test eax, eax
je 0x6b5adf48
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
jmp 0x6b5adc05
mov ecx, esi
lea edx, [esp + 0xac]
lea eax, [esp + 0x7c]
call sym._range_should_be_prefix
mov ecx, eax
test eax, eax
jns 0x6b5ae040
mov dword [esp], esi
lea ecx, [esp + 0xac]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x78]
call sym._make_addressRange.part.0
test eax, eax
jne 0x6b5adfa0
xor eax, eax
mov esi, dword [esp + 0xbc]
xor esi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b5ae105
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_set
mov eax, dword [esp + 0x30]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_delete
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 0x6b61cd30
mov dword [esp], eax
call sym.libcrypto_1_1.dll_ASN1_item_free
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0x6b61cd30
mov dword [esp], eax
call sym.libcrypto_1_1.dll_ASN1_item_free
jmp 0x6b5adc05
mov edi, 0xffffffff
xor esi, esi
jmp 0x6b5adb88
mov edx, 0xf
cmp ax, 2
mov eax, 0x10
mov ecx, 0xffffffff
mov edi, edx
mov edx, 0
cmovne eax, edx
cmovne edi, ecx
mov esi, eax
jmp 0x6b5adb88
lea edx, [esp + 0x7c]
lea eax, [esp + 0x78]
call sym._make_addressPrefix
jmp 0x6b5adf7b
mov esi, dword [esp + 0x2c]
mov dword [esp + 4], sym._IPAddressFamily_cmp
mov dword [esp], esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_set_cmp_func
mov dword [esp], esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_sort
mov dword [esp], esi
call sym.libcrypto_1_1.dll_X509v3_addr_is_canonical
test eax, eax
setne al
movzx eax, al
jmp 0x6b5adf81
mov edi, dword [esp + 0x18]
mov dword [esp], edi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
mov dword [esp], edi
sub eax, 1
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
test eax, eax
je 0x6b5adb08
cmp dword [eax], 1
jne 0x6b5adb08
mov dword [esp], esi
lea ecx, [esp + 0xac]
lea edx, [esp + 0x9c]
call sym._extract_min_max
test eax, eax
je 0x6b5adf7f
lea eax, [esp + 0xac]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call sym._memcmp
test eax, eax
jle 0x6b5adb08
jmp 0x6b5adf7f
call sym.___stack_chk_fail
lea esi, [esi]