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

Disassembly:
mov ecx, dword [0x6975f0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4d1486
sub esp, 0x88
lea eax, [0x522ee0]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.makechan
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
lea ecx, [0x52f820]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.net.lookupProtocol.func1]
mov dword [eax], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 8], ecx
mov edx, dword [0x6976a8]
test edx, edx
jne 0x4d10ae
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x90]
jmp 0x4d10cd
call sym.runtime.gcWriteBarrier3
mov edx, dword [esp + 0x94]
mov dword [edi], edx
mov ebx, dword [esp + 0x60]
mov dword [edi + 4], ebx
mov ebp, dword [esp + 0x90]
mov dword [edi + 8], ebp
mov dword [eax + 4], edx
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ebp
mov dword [esp], eax
call sym.runtime.newproc
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4d1232
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x7c]
test ecx, ecx
je 0x4d12f2
mov dword [esp + 0x54], ecx
mov dword [esp + 0x23], 0
lea edi, [esp + 0x24]
xor eax, eax
call fcn.0046a38a
mov ecx, dword [esp + 0x98]
cmp ecx, 0x19
jge 0x4d11d2
mov eax, ecx
jmp 0x4d11d9
mov eax, ecx
mov ecx, 0x19
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x94]
lea edi, [esp + 0x23]
cmp esi, edi
je 0x4d1222
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x94]
lea edi, [esp + 0x23]
cmp ecx, 0x19
ja 0x4d147b
xor edx, edx
jmp 0x4d131a
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
cmp dword [0x64fa10], eax
jne 0x4d1295
mov edx, dword [0x64fa14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d128d
lea eax, [0x57c5b8]
lea ecx, [0x6974a0]
jmp 0x4d12d2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
cmp dword [0x64fa18], eax
jne 0x4d12d2
mov edx, dword [0x64fa1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d12ca
mov eax, dword [0x64f910]
mov ecx, dword [0x64f914]
jmp 0x4d12d2
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ebx
add esp, 0x88
ret
inc edx
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x94]
cmp edx, ecx
jge 0x4d1338
movzx ebp, byte [esp + edx + 0x23]
lea esi, [ebp - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4d130e
add ebp, 0x20
xchg ebp, eax
mov byte [esp + edx + 0x23], al
xchg ebp, eax
jmp 0x4d130e
mov eax, dword [0x65826c]
lea edx, [0x526ee0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x4d137a
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x4d1381
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
xor edx, edx
jmp 0x4d1389
mov eax, dword [esp + 0x98]
lea edx, [0x57c5cc]
xor ecx, ecx
test edx, edx
je 0x4d1457
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x64], ecx
lea edx, [0x537f40]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, dword [0x6976a8]
test ecx, ecx
jne 0x4d13e1
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x94]
jmp 0x4d13f6
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov edx, dword [esp + 0x94]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x54]
cmp dword [0x64f918], ecx
jne 0x4d1446
mov dword [esp + 0x5c], eax
mov eax, dword [0x64f91c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4d1442
mov eax, dword [esp + 0x5c]
mov byte [eax + 0x1a], 1
jmp 0x4d1446
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x50]
lea ecx, [0x57c5e0]
mov ebx, eax
jmp 0x4d12f2
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
mov edx, 0x19
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.net.lookupProtocol