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

Disassembly:
mov eax, 0x74
call fcn.004a2410
mov eax, dword [0x6f1114]
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
mov dword [esp + 0x20], ecx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 8], ebx
push ebp
mov dword [esp + 0x20], ecx
test edx, edx
mov dword [esp + 0x1c], ecx
mov ebp, 0xa
push esi
mov esi, 0x100
mov ecx, 5
cmove ecx, ebp
mov dword [esp + 0xc], esi
push edi
mov edi, dword [eax + 0x80]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
cmp edx, dword [eax + 0x4c]
jl 0x58fff4
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 2
mov eax, ecx
and eax, 0xfffffffc
cmp dword [edi + 0x18], ebx
cmovl eax, ecx
mov dword [esp + 0x3c], eax
test dword [edi + 0x14], eax
je 0x59001b
push dword [edi + 4]
call fcn.005694e0
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, eax
jmp 0x590021
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor eax, eax
mov dword [esp + 0x34], eax
cmp eax, ecx
jge 0x590280
push eax
push dword [edi + 4]
call fcn.005696a0
mov ebp, eax
add esp, 8
mov eax, 1
movzx ecx, byte [ebp]
shl eax, cl
test dword [esp + 0x3c], eax
je 0x5901e3
cmp ecx, esi
je 0x590073
mov eax, dword [edi]
mov dword [esp + 0x10], ecx
movzx ecx, byte [ebp + 2]
mov dword [esp + 0x18], 0x100
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
mov dword [esp + 0x20], eax
movzx esi, byte [ebp + 1]
cmp esi, dword [esp + 0x30]
je 0x590115
push 0xa91
push str.....cryptox509x509_vfy.c
push ebx
mov dword [esp + 0x3c], esi
call fcn.0056a0f0
add esp, 0xc
mov dword [esp + 0x1c], 0
sub esi, 0
je 0x5900cd
sub esi, 1
jne 0x5901f1
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.00576130
add esp, 4
push eax
call fcn.00575bd0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x5900e1
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.00576000
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 8
test esi, esi
js 0x5901fd
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x5901fd
mov eax, dword [edi]
mov dl, byte [ebp + 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 0x590138
mov cl, byte [ebp + 2]
mov dl, cl
test cl, cl
je 0x590134
mov eax, dword [edi]
movzx ecx, cl
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x20]
jb 0x5901df
mov esi, dword [esp + 0x14]
movzx eax, dl
cmp eax, dword [esp + 0x18]
je 0x590183
mov edx, eax
mov ecx, esi
mov eax, dword [edi]
mov dword [esp + 0x18], edx
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
mov edx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x59018b
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 ebx
call fcn.00571490
add esp, 0x18
test eax, eax
je 0x590230
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
cmp ecx, dword [ebp + 8]
jne 0x5901df
mov esi, dword [ebp + 4]
sub ecx, 4
jb 0x5901a9
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x5901b2
add edx, 4
add esi, 4
sub ecx, 4
jae 0x590198
cmp ecx, 0xfffffffc
je 0x590235
mov al, byte [edx]
cmp al, byte [esi]
jne 0x5901df
cmp ecx, 0xfffffffd
je 0x590235
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x5901df
cmp ecx, 0xfffffffe
je 0x590235
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x5901df
cmp ecx, 0xffffffff
je 0x590235
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x590235
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc eax
jmp 0x590023
mov eax, 0x85
mov ecx, 0xa34
jmp 0x590207
mov eax, 0x41
mov ecx, 0xa39
push ecx
push str.....cryptox509x509_vfy.c
push eax
push 0x6b
push 0xb
call fcn.0057a880
add esp, 0x14
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004a1496
add esp, 0x74
ret
or esi, 0xffffffff
jmp 0x590282
mov eax, dword [esp + 0x10]
add eax, 0xfffffffe
cmp eax, 1
ja 0x590248
mov esi, 1
jmp 0x59024f
xor esi, esi
cmp dword [edi + 0x18], esi
jge 0x590282
mov eax, dword [esp + 0x90]
push 0xac5
push str.....cryptox509x509_vfy.c
push dword [edi + 0x10]
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], ebp
call fcn.0056a0f0
mov eax, dword [esp + 0x38]
push eax
mov dword [edi + 0x10], eax
call fcn.005761c0
add esp, 0x10
jmp 0x590282
xor esi, esi
push 0xace
push str.....cryptox509x509_vfy.c
push ebx
call fcn.0056a0f0
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a1496
add esp, 0x74
ret