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

Disassembly:
mov eax, 0x74
call fcn.0048c220
mov eax, dword [0x740184]
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 + 0x84]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
cmp edx, dword [eax + 0x4c]
jl 0x520064
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 0x52008b
push dword [edi + 4]
call fcn.005293a0
add esp, 4
mov dword [esp + 0x38], eax
mov ecx, eax
jmp 0x520091
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor eax, eax
mov dword [esp + 0x34], eax
cmp eax, ecx
jge 0x520303
push eax
push dword [edi + 4]
call fcn.005295d0
mov ebp, eax
add esp, 8
mov eax, 1
movzx ecx, byte [ebp]
shl eax, cl
test dword [esp + 0x3c], eax
je 0x520257
cmp ecx, esi
je 0x5200e3
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 0x520185
push 0xac9
push str.cryptox509x509_vfy.c
push ebx
mov dword [esp + 0x3c], esi
call fcn.005312b0
add esp, 0xc
mov dword [esp + 0x1c], 0
sub esi, 0
je 0x52013d
sub esi, 1
jne 0x520265
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.0051cbd0
add esp, 4
push eax
call fcn.00542710
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x520151
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x30]
call fcn.0052ae00
mov esi, eax
mov dword [esp + 0x1c], eax
add esp, 8
test esi, esi
js 0x520271
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x520271
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 0x5201a8
mov cl, byte [ebp + 2]
mov dl, cl
test cl, cl
je 0x5201a4
mov eax, dword [edi]
movzx ecx, cl
mov eax, dword [eax + 4]
movzx eax, byte [eax + ecx]
cmp eax, dword [esp + 0x20]
jb 0x520253
mov esi, dword [esp + 0x14]
movzx eax, dl
cmp eax, dword [esp + 0x18]
je 0x5201f3
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 0x5201fb
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.0053e0e0
add esp, 0x18
test eax, eax
je 0x5202b3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
cmp ecx, dword [ebp + 8]
jne 0x520253
mov esi, dword [ebp + 4]
sub ecx, 4
jb 0x520219
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x520222
add edx, 4
add esi, 4
sub ecx, 4
jae 0x520208
cmp ecx, 0xfffffffc
je 0x5202b8
mov al, byte [edx]
cmp al, byte [esi]
jne 0x520253
cmp ecx, 0xfffffffd
je 0x5202b8
mov al, byte [edx + 1]
cmp al, byte [esi + 1]
jne 0x520253
cmp ecx, 0xfffffffe
je 0x5202b8
mov al, byte [edx + 2]
cmp al, byte [esi + 2]
jne 0x520253
cmp ecx, 0xffffffff
je 0x5202b8
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x5202b8
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
inc eax
jmp 0x520093
mov esi, 0x85
mov edi, 0xa6d
jmp 0x52027b
mov esi, 0xc0100
mov edi, 0xa72
call fcn.00537950
push str.dane_i2d
push edi
push str.cryptox509x509_vfy.c
call fcn.00537a50
push 0
push esi
push 0xb
call fcn.00537b00
add esp, 0x18
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0048b49a
add esp, 0x74
ret
or esi, 0xffffffff
jmp 0x520305
mov eax, dword [esp + 0x10]
add eax, 0xfffffffe
cmp eax, 1
ja 0x5202cb
mov esi, 1
jmp 0x5202d2
xor esi, esi
cmp dword [edi + 0x18], esi
jge 0x520305
mov eax, dword [esp + 0x90]
push 0xafe
push str.cryptox509x509_vfy.c
push dword [edi + 0x10]
mov dword [edi + 0x18], eax
mov dword [edi + 0xc], ebp
call fcn.005312b0
mov eax, dword [esp + 0x38]
push eax
mov dword [edi + 0x10], eax
call fcn.0051cca0
add esp, 0x10
jmp 0x520305
xor esi, esi
push 0xb07
push str.cryptox509x509_vfy.c
push ebx
call fcn.005312b0
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048b49a
add esp, 0x74
ret