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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x5c]
cmp eax, dword [ecx + 8]
jbe 0x505698
sub esp, 0xdc
lea eax, [0x6262c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xd0], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 8], ecx
lea ecx, [0x5ecae0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.encoding/asn1.Unmarshal
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
test ecx, ecx
jne 0x505620
test eax, eax
jne 0x50554e
mov eax, dword [esp + 0xd0]
movzx ebx, byte [eax + 8]
test bl, bl
je 0x504dd3
mov ebx, dword [eax + 4]
cmp ebx, 0x10
je 0x504e8f
mov dword [esp + 0xd8], 0
lea eax, [0x648dcd]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0x10
lea eax, [0x7584f0]
mov dword [esp], eax
lea eax, [esp + 0xd4]
mov dword [esp + 4], eax
call dbg.runtime.convT2I
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
add esp, 0xdc
ret
mov ebx, dword [eax]
test ebx, ebx
jne 0x504dd3
mov ebx, dword [eax + 0xc]
mov ebp, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
xor esi, esi
xor edi, edi
mov dword [esp + 0x90], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x88], ecx
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], edx
xor edx, edx
mov dword [esp + 0xc8], edx
mov dword [esp + 0x78], ebx
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x70], ebp
xor ebp, ebp
mov dword [esp + 0x58], ebp
xor esi, esi
mov dword [esp + 0xc4], esi
xor edi, edi
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
xor esi, esi
xor edi, edi
jmp 0x504f4a
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0xc8], ebp
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ebx
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x9c]
test ebp, ebp
jle 0x5054d8
mov dword [esp + 0xc0], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x9c], ebx
lea eax, [0x6262c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
lea ecx, [0x5ecae0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call dbg.encoding/asn1.Unmarshal
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test ebx, ebx
jne 0x505457
mov dword [esp + 0x9c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], ebp
mov esi, dword [esp + 0xcc]
mov edi, dword [esi + 4]
cmp edi, 1
je 0x505354
cmp edi, 2
je 0x505267
cmp edi, 7
jne 0x505240
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
cmp eax, 4
jne 0x505111
mov ecx, dword [esp + 0x5c]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x58]
cmp edx, ebx
jg 0x5050a8
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x68]
lea ecx, [ecx + ecx*2]
mov ebp, dword [esp + 0xb4]
mov dword [ebp + ecx*4 + 4], eax
mov dword [ebp + ecx*4 + 8], esi
mov eax, dword [0x79b700]
lea esi, [ebp + ecx*4]
test eax, eax
jne 0x505083
mov dword [ebp + ecx*4], edi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x50]
jmp 0x504f16
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov dword [esp], esi
mov dword [esp + 4], edi
call dbg.runtime.writebarrierptr
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0xb4]
jmp 0x50506b
mov dword [esp + 0xb0], edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x44], esi
lea eax, [0x639780]
mov dword [esp], eax
mov ebp, dword [esp + 0xc8]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call dbg.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xb8]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x58]
jmp 0x505047
cmp eax, 0x10
je 0x505022
mov dword [esp], eax
call dbg.strconv.Itoa
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x65404f]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x31
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call dbg.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
lea edx, [0x60f6c0]
mov dword [esp], edx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x50521a
mov ecx, dword [esp + 0x98]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xf0], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x100], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x108], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10c], ecx
lea ecx, [0x757cf0]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0xdc
ret
mov dword [esp + 0xac], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0xac]
jmp 0x505193
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0xc0]
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xc8]
jmp 0x504f16
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], 0
call dbg.runtime.slicebytetostring
mov eax, dword [esp + 0x60]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x64]
cmp ecx, ebp
jg 0x505301
mov esi, dword [esp + 0xc0]
lea edi, [esi + eax*8 + 4]
mov dword [edi], ebx
lea eax, [esi + eax*8]
mov ebx, dword [0x79b700]
test ebx, ebx
jne 0x5052d5
mov dword [eax], edx
mov eax, ebp
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xc8]
jmp 0x504f16
mov dword [esp + 0xa8], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebp
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0xa8]
jmp 0x5052bb
mov dword [esp + 0xa4], edx
mov dword [esp + 0x64], ebx
lea edx, [0x604c20]
mov dword [esp], edx
mov ebx, dword [esp + 0xc0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x64]
jmp 0x5052a6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp], 0
call dbg.runtime.slicebytetostring
mov eax, dword [esp + 0x54]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x50]
cmp ecx, ebp
jg 0x505404
mov esi, dword [esp + 0xc4]
lea edi, [esi + eax*8 + 4]
mov dword [edi], ebx
lea eax, [esi + eax*8]
mov ebx, dword [0x79b700]
test ebx, ebx
jne 0x5053d8
mov dword [eax], edx
mov eax, dword [esp + 0x64]
mov edi, ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0xc4], esi
mov ebx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xc8]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0xc0]
jmp 0x504f16
mov dword [esp + 0xa0], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0xa0]
jmp 0x5053a8
mov dword [esp + 0xa4], edx
mov dword [esp + 0x50], ebx
lea edx, [0x604c20]
mov dword [esp], edx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call dbg.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x50]
jmp 0x505393
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebp
add esp, 0xdc
ret
mov dword [esp + 0xec], esi
mov eax, dword [esp + 0x60]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], edi
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
add esp, 0xdc
ret
lea eax, [0x60f6c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x29
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x5055fb
lea ecx, [0x652497]
mov dword [eax], ecx
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
lea ecx, [0x757cf0]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
add esp, 0xdc
ret
mov dword [esp + 0xac], eax
mov dword [esp], eax
lea ecx, [0x652497]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0xac]
jmp 0x50557d
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
add esp, 0xdc
ret
call dbg.runtime.morestack_noctxt
jmp dbg.crypto/x509.parseSANExtension