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

Disassembly:
mov eax, 0x74
call fcn.004ce320
mov eax, dword [0x74b1ac]
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 0x5789d4
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 0x5789fb
push dword [edi + 4]
call fcn.0055fab0
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, eax
jmp 0x578a01
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor eax, eax
mov dword [esp + 0x34], eax
cmp eax, ecx
jge 0x578c60
push eax
push dword [edi + 4]
call fcn.0055fc70
mov ebp, eax
add esp, 8
mov eax, 1
movzx ecx, byte [ebp]
shl eax, cl
test dword [esp + 0x3c], eax
je 0x578bc3
cmp ecx, esi
je 0x578a53
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 0x578af5
push 0xa98
push str.....cryptox509x509_vfy.c
push ebx
mov dword [esp + 0x3c], esi
call fcn.0055fdf0
add esp, 0xc
mov dword [esp + 0x1c], 0
sub esi, 0
je 0x578aad
sub esi, 1
jne 0x578bd1
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.00569520
add esp, 4
push eax
call fcn.00569360
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x578ac1
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.0055f580
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 8
test esi, esi
js 0x578bdd
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x578bdd
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 0x578b18
mov cl, byte [ebp + 2]
mov dl, cl
test cl, cl
je 0x578b14
mov eax, dword [edi]
movzx ecx, cl
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x20]
jb 0x578bbf
mov esi, dword [esp + 0x14]
movzx eax, dl
cmp eax, dword [esp + 0x18]
je 0x578b63
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 0x578b6b
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.00565d50
add esp, 0x18
test eax, eax
je 0x578c10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
cmp ecx, dword [ebp + 8]
jne 0x578bbf
mov esi, dword [ebp + 4]
sub ecx, 4
jb 0x578b89
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x578b92
add edx, 4
add esi, 4
sub ecx, 4
jae 0x578b78
cmp ecx, 0xfffffffc
je 0x578c15
mov al, byte [edx]
cmp al, byte [esi]
jne 0x578bbf
cmp ecx, 0xfffffffd
je 0x578c15
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x578bbf
cmp ecx, 0xfffffffe
je 0x578c15
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x578bbf
cmp ecx, 0xffffffff
je 0x578c15
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x578c15
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc eax
jmp 0x578a03
mov eax, 0x85
mov ecx, 0xa3b
jmp 0x578be7
mov eax, 0x41
mov ecx, 0xa40
push ecx
push str.....cryptox509x509_vfy.c
push eax
push 0x6b
push 0xb
call fcn.0056dc20
add esp, 0x14
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004cd30a
add esp, 0x74
ret
or esi, 0xffffffff
jmp 0x578c62
mov eax, dword [esp + 0x10]
add eax, 0xfffffffe
cmp eax, 1
ja 0x578c28
mov esi, 1
jmp 0x578c2f
xor esi, esi
cmp dword [edi + 0x18], esi
jge 0x578c62
mov eax, dword [esp + 0x90]
push 0xacc
push str.....cryptox509x509_vfy.c
push dword [edi + 0x10]
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], ebp
call fcn.0055fdf0
mov eax, dword [esp + 0x38]
push eax
mov dword [edi + 0x10], eax
call fcn.005695b0
add esp, 0x10
jmp 0x578c62
xor esi, esi
push 0xad5
push str.....cryptox509x509_vfy.c
push ebx
call fcn.0055fdf0
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004cd30a
add esp, 0x74
ret