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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5035d4
sub esp, 0x70
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x2c], 0
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
xor eax, eax
mov ecx, 0xffffffff
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x503043
inc eax
mov ebx, dword [esp + 0x78]
cmp edx, eax
jle 0x50351d
movzx ebx, byte [ebx + eax]
cmp bl, 0xa
je 0x503059
cmp bl, 9
jne 0x50305e
mov ebx, 0x20
mov dword [esp + 0x30], eax
mov byte [esp + 0x2b], bl
cmp bl, 0x5b
jne 0x503072
mov ecx, eax
jmp 0x5034bc
cmp bl, 0x5d
jne 0x5034bc
test ecx, ecx
jl 0x5034b5
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 8]
lea edx, [0x5efbc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call sym.runtime.mapaccess2_faststr
movzx eax, byte [esp + 0x14]
test al, al
je 0x5032aa
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx]
mov dword [esp + 0x5c], ebx
mov byte [ebx + 0x10], 1
mov eax, dword [esp + 0x2c]
nop
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jle 0x503154
mov edx, dword [esp + 0x7c]
cmp edx, ecx
jb 0x5035ce
cmp ecx, eax
jb 0x5035c9
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], 1
call sym.go_doc_comment._parseDoc_.parseText
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov ecx, eax
mov ebx, dword [esp + 0x5c]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x30]
cmp edx, eax
jb 0x5035c2
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
sub edx, ecx
lea ecx, [edx - 1]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], 0
call sym.go_doc_comment._parseDoc_.parseText
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
lea ebx, [0x602f60]
mov dword [esp], ebx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7b12d0]
test ecx, ecx
jne 0x5031f0
mov edx, dword [esp + 0x6c]
jmp 0x5031fb
call sym.runtime.gcWriteBarrier1
mov edx, dword [esp + 0x6c]
mov dword [edi], edx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 0xc]
mov edx, dword [edx + 8]
mov dword [eax + 0x14], ebx
mov ebx, dword [0x7b12d0]
test ebx, ebx
je 0x50321c
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
inc ebx
mov ebp, dword [esp + 0x4c]
cmp edx, ebx
jae 0x50326e
mov dword [esp + 0x68], eax
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5f3220]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x68]
mov dword [esp + 0x50], ebx
lea edx, [ebp + ebx*8 - 8]
lea esi, [0x66e510]
mov dword [edx], esi
mov edx, dword [0x7b12d0]
lea ebx, [ebp + ebx*8 - 4]
test edx, edx
je 0x503298
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov dword [ebx], eax
mov edx, dword [esp + 0x30]
lea ebx, [edx + 1]
mov dword [esp + 0x2c], ebx
jmp 0x5034a2
mov edx, dword [esp + 0x48]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x30]
cmp ecx, eax
jb 0x5035bd
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov ebp, ecx
sub ecx, edx
dec ecx
mov dword [esp + 0x44], ecx
mov esi, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0x7c]
sub edi, ebp
dec edi
mov dword [esp + 0x40], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
lea esi, [ebp + 1]
mov dword [esp + 0x3c], esi
and edi, esi
add edi, ecx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], edi
call sym.go_doc_comment._parseDoc_.docLink
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x1c]
test al, al
je 0x503498
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x2c]
nop
mov edx, dword [esp + 0x48]
cmp edx, eax
jle 0x5033aa
jb 0x5035b6
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x78]
add eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov byte [esp + 0x18], 1
call sym.go_doc_comment._parseDoc_.parseText
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], 0
call sym.go_doc_comment._parseDoc_.parseText
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov eax, dword [0x7b12d0]
test eax, eax
je 0x50340f
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], edx
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
inc ebp
mov esi, dword [esp + 0x4c]
cmp edx, ebp
jae 0x50345c
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5f3220]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], esi
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x50], ebp
lea edx, [esi + ebp*8 - 8]
lea edi, [0x66e520]
mov dword [edx], edi
mov edx, dword [0x7b12d0]
lea ebp, [esi + ebp*8 - 4]
test edx, edx
je 0x50348d
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov edx, dword [ebp]
mov dword [edi + 4], edx
lea edi, [0x66e520]
mov dword [ebp], ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
lea esi, [0x66e510]
mov eax, edx
mov edx, dword [esp + 0x7c]
movzx ebx, byte [esp + 0x2b]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x60]
mov ecx, 0xffffffff
xor edi, edi
test ecx, ecx
jl 0x50303e
cmp ecx, eax
je 0x50303e
inc edi
cmp ebp, edi
jae 0x503514
mov dword [esp + 0x38], ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5ed720]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x7c]
movzx ebx, byte [esp + 0x2b]
mov byte [edi + esi - 1], bl
jmp 0x50303e
mov eax, dword [esp + 0x2c]
nop
cmp edx, eax
jle 0x50358a
jb 0x5035af
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x74]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
sub edx, eax
mov ebp, edx
neg edx
sar edx, 0x1f
and eax, edx
add eax, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
mov byte [esp + 0x18], 1
call sym.go_doc_comment._parseDoc_.parseText
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x70
ret
mov ecx, edx
call sym.runtime.panicSliceB
mov ecx, edx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceB
mov ecx, edx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.go_doc_comment._parseDoc_.parseLinkedText