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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5104b8
sub esp, 0x8c
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0046f596
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x50], ecx
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edx
mov edx, dword [ecx + 0x20]
mov ebx, dword [ecx + 0x1c]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ebx
mov ebx, dword [ecx + 0x24]
mov dword [esp + 0x74], ebx
test edx, edx
jne 0x5101e7
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x5f9148]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call sym.runtime.concatstring2
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x510210
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.unicode_utf8.RuneCountInString
mov eax, dword [esp + 8]
add eax, 0xffffffb0
neg eax
mov dword [esp + 0x74], eax
lea eax, [0x59e900]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx]
mov dword [esp + 0x4c], edx
mov ebx, dword [ecx + 4]
mov dword [esp + 0x3c], ebx
xor ebp, ebp
jmp 0x51027e
lea ecx, [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
call sym.go_doc_comment._textPrinter_.block
mov eax, dword [esp + 0x2c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x3c]
cmp ebp, ebx
jge 0x5102e0
mov dword [esp + 0x2c], ebp
lea esi, [edx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test ebp, ebp
jle 0x510241
mov dword [esp + 0x40], esi
lea ecx, [0x5fb0b0]
cmp edi, ecx
je 0x5102a5
mov esi, 0
mov dword [esp + 0x28], edi
jne 0x510454
movzx ecx, byte [esi + 0xc]
nop
test cl, cl
jne 0x510454
movzx ecx, byte [esi + 0xd]
test cl, cl
jne 0x510454
mov ecx, dword [esi + 4]
mov esi, dword [esi]
mov dword [esp + 0x30], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
jmp 0x51049c
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
xor ebp, ebp
jmp 0x5102eb
inc ebp
cmp ebp, ebx
jge 0x51031d
mov esi, dword [edx + ebp*4]
movzx esi, byte [esi + 0x10]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5102ea
mov dword [esp], eax
call sym.go_doc_comment.writeNL
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], eax
xor edx, edx
jmp 0x510360
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
cmp ecx, edx
jb 0x510358
mov ebx, dword [eax]
mov eax, dword [eax + 8]
sub eax, edx
sub ecx, edx
mov ebp, eax
neg eax
sar eax, 0x1f
and edx, eax
lea eax, [ebx + edx]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ebp
add esp, 0x8c
ret
mov eax, edx
call sym.runtime.panicSliceB
inc edx
cmp edx, eax
jge 0x510448
mov ebx, dword [ecx + edx*4]
movzx ebp, byte [ebx + 0x10]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x51035f
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x591ae0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x591ae0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x5face4]
mov dword [esp], eax
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
lea ebx, [0x5ba271]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 9
lea ebp, [esp + 0x78]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 2
call sym.fmt.Fprintf
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x38]
jmp 0x51035f
mov eax, dword [esp + 0x88]
jmp 0x51031d
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call sym.go_doc_comment.writeNL
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
jmp 0x510241
inc edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
cmp edx, ecx
jge 0x5104af
mov ebx, dword [esi + edx*4]
cmp dword [ebx + 0xc], 1
je 0x51048f
jmp 0x510454
mov esi, dword [esp + 0x40]
jmp 0x510241
call sym.runtime.morestack_noctxt
jmp sym.go_doc_comment._Printer_.Text