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

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4edce6
sub esp, 0x7c
lea eax, [0x55dd00]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.makechan
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
lea ecx, [0x56efc0]
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 + 0x80]
mov dword [eax + 4], ecx
mov edx, dword [0x6e9960]
test edx, edx
jne 0x4ed9a7
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x88]
jmp 0x4ed9c6
call sym.runtime.gcWriteBarrier3
mov edx, dword [esp + 0x84]
mov dword [edi], edx
mov ebx, dword [esp + 0x58]
mov dword [edi + 4], ebx
mov ebp, dword [esp + 0x88]
mov dword [edi + 8], ebp
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ebp
mov dword [esp], eax
call sym.runtime.newproc
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
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 0x4edb1f
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x70]
test ecx, ecx
je 0x4edbdc
mov dword [esp + 0x50], ecx
mov dword [esp + 0x23], 0
lea edi, [esp + 0x24]
xor eax, eax
call fcn.0047029a
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x19
jge 0x4edabf
mov eax, ecx
jmp 0x4edac6
mov eax, ecx
mov ecx, 0x19
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x44], ecx
mov esi, dword [esp + 0x88]
lea edi, [esp + 0x23]
cmp esi, edi
je 0x4edb0f
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
call sym.runtime.memmove
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x88]
lea edi, [esp + 0x23]
cmp ecx, 0x19
ja 0x4edcdb
xor edx, edx
jmp 0x4edc01
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
cmp dword [0x6c4cc8], eax
jne 0x4edb82
mov edx, dword [0x6c4ccc]
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 0x4edb7a
lea eax, [0x5ca830]
lea ecx, [0x6e96c0]
jmp 0x4edbbf
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
cmp dword [0x6c4cd0], eax
jne 0x4edbbf
mov edx, dword [0x6c4cd4]
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 0x4edbb7
mov eax, dword [0x6c4ad0]
mov ecx, dword [0x6c4ad4]
jmp 0x4edbbf
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
add esp, 0x7c
ret
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ebx
add esp, 0x7c
ret
inc edx
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x88]
cmp edx, ecx
jge 0x4edc1f
movzx ebp, byte [esp + edx + 0x23]
lea esi, [ebp - 0x41]
xchg esi, eax
cmp al, 0x19
xchg esi, eax
ja 0x4edbf5
add ebp, 0x20
xchg ebp, eax
mov byte [esp + edx + 0x23], al
xchg ebp, eax
jmp 0x4edbf5
mov eax, dword [0x6c9fec]
lea edx, [0x563340]
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 0x4edc61
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x4edc68
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
xor edx, edx
jmp 0x4edc70
mov eax, dword [esp + 0x8c]
lea edx, [0x5ca840]
xor ecx, ecx
test edx, edx
je 0x4edcba
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x4c]
lea ecx, [0x5ca850]
jmp 0x4edbdc
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
add esp, 0x7c
ret
mov edx, 0x19
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.net.lookupProtocol