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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xcc]
cmp eax, dword [ecx + 8]
jbe 0x501b08
sub esp, 0x14c
xor eax, eax
lea edi, [esp + 0xa4]
call fcn.0044c026
mov eax, dword [esp + 0x150]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x501ac6
mov ecx, dword [esp + 0x15c]
test ecx, ecx
je 0x50149b
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
xor ebx, ebx
jmp 0x50144c
add ecx, 4
inc ebx
cmp ebx, edx
jge 0x50149b
mov ebp, dword [ecx]
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x501448
mov eax, dword [0x7888b4]
mov ecx, dword [0x7888b0]
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], eax
add esp, 0x14c
ret
mov ecx, dword [esp + 0x160]
test ecx, ecx
je 0x501a75
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x154]
mov dword [esp + 0x14], ecx
call dbg.crypto/x509.(*Certificate).isValid
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x501a3f
mov edx, dword [esp + 0x158]
test edx, edx
jg 0x5019d4
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x160]
mov dword [esp], edx
mov edx, dword [esp + 0x150]
mov dword [esp + 4], edx
call dbg.crypto/x509.(*CertPool).contains
movzx eax, byte [esp + 8]
test al, al
je 0x5018da
lea eax, [0x5fca00]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x5018bb
mov ecx, dword [esp + 0x150]
mov dword [eax], ecx
test byte [eax], al
lea ecx, [0x5f4da0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 1
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov ebx, dword [0x79b700]
test ebx, ebx
jne 0x50188b
mov ebx, dword [esp + 0x8c]
mov dword [eax], ebx
inc ecx
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x94], ebp
mov esi, dword [esp + 0x178]
mov edi, dword [esp + 0x17c]
mov ebp, dword [esp + 0x180]
test edi, edi
jne 0x501876
mov ebp, dword [0x67aa58]
mov dword [esp + 0x58], ebp
mov ebp, 1
mov esi, 1
lea edi, [esp + 0x58]
mov dword [esp + 0x30], esi
mov dword [esp + 0x90], edi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x64]
jmp 0x501644
add edi, 4
lea ebx, [esi + 1]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x88]
mov esi, dword [esp + 0x54]
cmp esi, ebp
jge 0x50168a
mov ebx, dword [edi]
test ebx, ebx
jne 0x50162f
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], ecx
mov dword [esp + 0x18c], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x194], eax
add esp, 0x14c
ret
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ecx
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
jmp 0x5016d0
mov eax, dword [esp + 0x80]
add eax, 0xc
mov ebp, dword [esp + 0x4c]
inc ebp
mov esi, ebx
mov edi, ecx
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x88]
mov edx, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x50], edi
cmp edx, ecx
jge 0x5017f6
mov dword [esp + 0x4c], edx
mov dword [esp + 0x80], eax
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x40], ebx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov esi, dword [esp + 0x90]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], edi
call dbg.crypto/x509.checkChainForKeyUsage
movzx eax, byte [esp + 0x18]
test al, al
je 0x5017e2
mov eax, dword [esp + 0x50]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x54]
cmp ecx, edx
jg 0x5017a5
mov ebx, dword [esp + 0x84]
lea eax, [eax + eax*2]
mov ebp, dword [esp + 0x3c]
mov dword [ebx + eax*4 + 4], ebp
mov ebp, dword [esp + 0x40]
mov dword [ebx + eax*4 + 8], ebp
mov ebp, dword [0x79b700]
lea esi, [ebx + eax*4]
test ebp, ebp
jne 0x501778
mov ebp, dword [esp + 0x78]
mov dword [ebx + eax*4], ebp
jmp 0x5016a8
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
mov dword [esp], esi
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
jmp 0x5016a8
lea ebx, [0x5f4da0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x84]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call dbg.runtime.growslice
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x50]
jmp 0x50174c
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
jmp 0x5016a8
test edi, edi
je 0x50182f
mov eax, dword [esp + 0x94]
mov dword [esp + 0x184], esi
mov dword [esp + 0x188], edi
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18c], ecx
mov dword [esp + 0x190], ebx
mov dword [esp + 0x194], eax
add esp, 0x14c
ret
mov eax, dword [esp + 0x150]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 4
lea eax, [0x758430]
mov dword [esp], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
call dbg.runtime.convT2I
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x50]
jmp 0x501801
mov dword [esp + 0x6c], eax
mov eax, ebp
mov ebp, edi
mov edi, esi
mov esi, eax
mov eax, dword [esp + 0x6c]
jmp 0x50160d
mov dword [esp + 0x74], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
jmp 0x5015c2
mov dword [esp], eax
mov ecx, dword [esp + 0x150]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x8c]
jmp 0x501561
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0044c049
lea edi, [esp + 0xc0]
call fcn.0044c02d
lea ecx, [0x6066a0]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
lea ecx, [esp + 0xa4]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x10], ecx
call dbg.runtime.makemap
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], 0
mov edx, dword [esp + 0x150]
mov dword [esp + 0x98], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x154]
mov dword [esp + 0x14], ecx
call dbg.crypto/x509.(*Certificate).buildChains
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
test ebp, ebp
jne 0x50199e
mov eax, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
mov ebp, esi
jmp 0x5015d1
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], ebp
mov dword [esp + 0x194], esi
add esp, 0x14c
ret
mov eax, dword [esp + 0x150]
mov dword [esp], eax
mov ecx, dword [esp + 0x154]
mov edx, dword [esp + 0x158]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call dbg.crypto/x509.(*Certificate).VerifyHostname
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5014fc
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], ecx
add esp, 0x14c
ret
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], ecx
add esp, 0x14c
ret
mov dword [esp], eax
lea eax, [esp + 0x154]
mov dword [esp + 4], eax
call dbg.crypto/x509.(*Certificate).systemVerify
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 8]
mov dword [esp + 0x184], ebp
mov dword [esp + 0x188], edx
mov dword [esp + 0x18c], ebx
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], eax
add esp, 0x14c
ret
mov eax, dword [0x7888b0]
mov ecx, dword [0x7888b4]
mov dword [esp + 0x184], 0
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], ecx
add esp, 0x14c
ret
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/x509.(*Certificate).Verify