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

Disassembly:
mov ecx, dword [0x7c4f4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58e97d
add esp, 0xffffff80
mov ebx, dword [esp + 0x8c]
mov edx, dword [ebx + 4]
mov ebp, dword [ebx]
test edx, edx
jle 0x58e64e
lea eax, [edx - 1]
cmp edx, eax
jb 0x58e975
mov dword [esp + 0x34], ebp
mov dword [esp + 0x1c], edx
lea eax, [edx + ebp - 1]
mov dword [esp], eax
lea eax, [0x666754]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x34]
jmp 0x58e650
xor eax, eax
test al, al
je 0x58e660
lea ecx, [edx - 1]
cmp edx, ecx
jae 0x58e662
jmp 0x58e970
mov ecx, edx
mov dword [esp], ebp
mov dword [esp + 4], ecx
call sym.syscall.UTF16FromString
mov eax, dword [esp + 0x14]
test eax, eax
je 0x58e67e
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x58e692
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x58e967
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x58e955
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 2
mov dword [esp + 0x50], edx
mov dword [esp + 0x44], 0x10
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], 0xc
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0046a9fb
mov dword [esp], 4
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
call sym.syscall.CertVerifyCertificateChainPolicy
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x58e93f
mov eax, dword [esp + 0x24]
test eax, eax
je 0x58e925
cmp eax, 0x800b0101
je 0x58e8b0
cmp eax, 0x800b0109
je 0x58e83b
cmp eax, 0x800b010f
jne 0x58e7e6
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x604240]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x66824c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x605c20]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x668260]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x605c20]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x668260]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x605ba0]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x668238]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
sub esp, 0xffffff80
ret
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
sub esp, 0xffffff80
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
call sym.runtime.panicSliceAlen
mov ecx, edx
call sym.runtime.panicSliceB
nop
call sym.runtime.morestack_noctxt
jmp sym.crypto_x509.checkChainSSLServerPolicy