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

Disassembly:
mov eax, 0x74
call fcn.1011d0a0
mov eax, dword [0x101a7890]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
push ebx
push ebp
mov ebx, dword [eax + 0x80]
xor ebp, ebp
mov dword [esp + 0x24], ecx
xor ecx, ecx
push esi
mov dword [esp + 0x24], ecx
test edx, edx
mov dword [esp + 0x20], ecx
mov esi, 0x100
push edi
mov ecx, 5
mov dword [esp + 0x10], esi
mov edi, 0xa
mov dword [esp + 0x30], esi
cmove ecx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebp
cmp edx, dword [eax + 0x4c]
jl 0x10105dc4
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 2
mov eax, ecx
and eax, 0xfffffffc
cmp dword [ebx + 0x18], ebp
cmovl eax, ecx
mov dword [esp + 0x3c], eax
test dword [ebx + 0x14], eax
je 0x10105deb
push dword [ebx + 4]
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, eax
jmp 0x10105df1
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor eax, eax
mov dword [esp + 0x34], eax
cmp eax, ecx
jge 0x10106059
push eax
push dword [ebx + 4]
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
mov edx, dword [esp + 0x44]
mov edi, eax
mov eax, 1
add esp, 8
movzx ecx, byte [edi]
shl eax, cl
test edx, eax
je 0x10105fbb
cmp ecx, esi
je 0x10105e44
mov eax, dword [ebx]
mov dword [esp + 0x10], ecx
movzx ecx, byte [edi + 2]
mov dword [esp + 0x18], 0x100
mov eax, dword [eax + 4]
movzx eax, byte [ecx + eax]
mov dword [esp + 0x20], eax
movzx esi, byte [edi + 1]
cmp esi, dword [esp + 0x30]
je 0x10105ee6
push 0xa63
push str.cryptox509x509_vfy.c
push ebp
mov dword [esp + 0x3c], esi
call sym.libcrypto_1_1.dll_CRYPTO_free
add esp, 0xc
mov dword [esp + 0x1c], 0
sub esi, 0
je 0x10105e9e
sub esi, 1
jne 0x10105fc9
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call sym.libcrypto_1_1.dll_DSA_get_method
add esp, 4
push eax
call sym.libcrypto_1_1.dll_i2d_X509_PUBKEY
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x10105eb2
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call sym.libcrypto_1_1.dll_i2d_X509
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 8
test esi, esi
js 0x10105fd5
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10105fd5
mov eax, dword [ebx]
mov dl, byte [edi + 2]
movzx ecx, dl
mov dword [esp + 0x18], 0x100
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
mov dword [esp + 0x20], eax
jmp 0x10105f09
mov cl, byte [edi + 2]
mov dl, cl
test cl, cl
je 0x10105f05
mov eax, dword [ebx]
movzx ecx, cl
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x20]
jb 0x10105fb7
mov esi, dword [esp + 0x14]
movzx eax, dl
cmp eax, dword [esp + 0x18]
je 0x10105f54
mov edx, eax
mov ecx, esi
mov eax, dword [ebx]
mov dword [esp + 0x18], edx
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
mov edx, ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x10105f5c
push 0
push eax
lea ecx, [esp + 0x48]
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push eax
mov eax, ecx
push eax
push esi
push ebp
call sym.libcrypto_1_1.dll_EVP_Digest
add esp, 0x18
test eax, eax
je 0x10106008
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
cmp ecx, dword [edi + 8]
jne 0x10105fb7
mov esi, dword [edi + 4]
sub ecx, 4
jb 0x10105f81
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x10105f8a
add edx, 4
add esi, 4
sub ecx, 4
jae 0x10105f70
cmp ecx, 0xfffffffc
je 0x1010600d
mov al, byte [edx]
cmp al, byte [esi]
jne 0x10105fb7
cmp ecx, 0xfffffffd
je 0x1010600d
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x10105fb7
cmp ecx, 0xfffffffe
je 0x1010600d
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x10105fb7
cmp ecx, 0xffffffff
je 0x1010600d
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x1010600d
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc eax
jmp 0x10105df3
mov eax, 0x85
mov ecx, 0xa06
jmp 0x10105fdf
mov eax, 0x41
mov ecx, 0xa0b
push ecx
push str.cryptox509x509_vfy.c
push eax
push 0x6b
push 0xb
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.1011d087
add esp, 0x74
ret
or esi, 0xffffffff
jmp 0x1010605b
mov eax, dword [esp + 0x10]
mov ecx, 1
add eax, 0xfffffffe
cmp ecx, eax
sbb esi, esi
inc esi
cmp eax, ecx
jbe 0x10106028
cmp dword [ebx + 0x18], 0
jge 0x1010605b
mov eax, dword [esp + 0x90]
push 0xa97
push str.cryptox509x509_vfy.c
push dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0xc], edi
call sym.libcrypto_1_1.dll_CRYPTO_free
mov eax, dword [esp + 0x38]
push eax
mov dword [ebx + 0x10], eax
call sym.libcrypto_1_1.dll_X509_up_ref
add esp, 0x10
jmp 0x1010605b
xor esi, esi
push 0xaa0
push str.cryptox509x509_vfy.c
push ebp
call sym.libcrypto_1_1.dll_CRYPTO_free
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011d087
add esp, 0x74
ret