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

Disassembly:
mov eax, 0x74
call fcn.0059eec0
mov eax, dword [0x647f80]
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 + 0x84]
mov ebp, 0xa
push esi
mov dword [esp + 0x28], ecx
mov esi, pe_nt_image_headers32
xor ecx, ecx
mov dword [esp + 0xc], esi
push edi
xor edi, edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
test edx, edx
mov ecx, 5
mov dword [esp + 0x30], esi
cmove ecx, ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
cmp edx, dword [eax + 0x4c]
jl 0x4be004
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 2
mov eax, ecx
and eax, 0xfffffffc
cmp dword [ebx + 0x18], edi
cmovl eax, ecx
mov dword [esp + 0x3c], eax
test dword [ebx + 0x14], eax
je 0x4be02b
push dword [ebx + 4]
call fcn.004953b0
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, eax
jmp 0x4be031
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor eax, eax
mov dword [esp + 0x34], eax
cmp eax, ecx
jge 0x4be2de
push eax
push dword [ebx + 4]
call fcn.00495570
mov ebp, eax
add esp, 8
mov eax, 1
movzx ecx, byte [ebp]
shl eax, cl
test dword [esp + 0x3c], eax
je 0x4be203
cmp ecx, esi
je 0x4be083
mov eax, dword [ebx]
mov dword [esp + 0x10], ecx
movzx ecx, byte [ebp + 2]
mov dword [esp + 0x18], pe_nt_image_headers32
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 0x4be125
push 0xa9b
push str.cryptox509x509_vfy.c
push edi
mov dword [esp + 0x3c], esi
call fcn.00496500
add esp, 0xc
mov dword [esp + 0x1c], 0
sub esi, 0
je 0x4be0dd
sub esi, 1
jne 0x4be211
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.004a7440
add esp, 4
push eax
call fcn.004a6ee0
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x4be0f1
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.004a73b0
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 8
test esi, esi
js 0x4be251
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4be251
mov eax, dword [ebx]
mov dl, byte [ebp + 2]
movzx ecx, dl
mov dword [esp + 0x18], pe_nt_image_headers32
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
mov dword [esp + 0x20], eax
jmp 0x4be148
mov cl, byte [ebp + 2]
mov dl, cl
test cl, cl
je 0x4be144
mov eax, dword [ebx]
movzx ecx, cl
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x20]
jb 0x4be1ff
mov esi, dword [esp + 0x14]
movzx eax, dl
cmp eax, dword [esp + 0x18]
je 0x4be193
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, edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
test eax, eax
je 0x4be19b
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 edi
call fcn.0049f750
add esp, 0x18
test eax, eax
je 0x4be28e
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
cmp ecx, dword [ebp + 8]
jne 0x4be1ff
mov esi, dword [ebp + 4]
sub ecx, 4
jb 0x4be1b9
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x4be1c2
add edx, 4
add esi, 4
sub ecx, 4
jae 0x4be1a8
cmp ecx, 0xfffffffc
je 0x4be293
mov al, byte [edx]
cmp al, byte [esi]
jne 0x4be1ff
cmp ecx, 0xfffffffd
je 0x4be293
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x4be1ff
cmp ecx, 0xfffffffe
je 0x4be293
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x4be1ff
cmp ecx, 0xffffffff
je 0x4be293
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x4be293
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc eax
jmp 0x4be033
call fcn.00499720
push str.dane_i2d
push 0xa3e
push str.cryptox509x509_vfy.c
call fcn.004997d0
push 0
push 0x85
push 0xb
call fcn.00499810
add esp, 0x18
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0059e4d3
add esp, 0x74
ret
call fcn.00499720
push str.dane_i2d
push 0xa43
push str.cryptox509x509_vfy.c
call fcn.004997d0
push 0
push 0x41
push 0xb
call fcn.00499810
add esp, 0x18
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0059e4d3
add esp, 0x74
ret
or esi, 0xffffffff
jmp 0x4be2e0
mov eax, dword [esp + 0x10]
add eax, 0xfffffffe
cmp eax, 1
ja 0x4be2a6
mov esi, 1
jmp 0x4be2ad
xor esi, esi
cmp dword [ebx + 0x18], esi
jge 0x4be2e0
mov eax, dword [esp + 0x90]
push 0xacf
push str.cryptox509x509_vfy.c
push dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0xc], ebp
call fcn.00496500
mov eax, dword [esp + 0x38]
push eax
mov dword [ebx + 0x10], eax
call fcn.004a74d0
add esp, 0x10
jmp 0x4be2e0
xor esi, esi
push 0xad8
push str.cryptox509x509_vfy.c
push edi
call fcn.00496500
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059e4d3
add esp, 0x74
ret