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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x510aab
sub esp, 0x68
mov eax, dword [esp + 0x74]
test eax, eax
je 0x510769
mov ecx, dword [eax + 8]
cmp ecx, 0x58c75f11
jbe 0x5106ac
cmp ecx, 0x75d58ed2
je 0x51063c
cmp ecx, 0xf9a28666
jne 0x510635
lea ecx, [0x5fb0b0]
cmp eax, ecx
jne 0x51062e
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 0xd]
test cl, cl
jne 0x510624
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor ebx, ebx
jmp 0x510a8d
mov ecx, 1
jmp 0x510868
test eax, eax
jmp 0x510769
test eax, eax
jmp 0x510769
lea ecx, [0x5faf30]
cmp eax, ecx
jne 0x5106a5
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call sym.go_doc_comment._textPrinter_.text
jmp 0x5107ca
test eax, eax
jmp 0x510769
cmp ecx, 0x3984f9c6
jne 0x5106d3
lea ecx, [0x5fb0a0]
cmp eax, ecx
jne 0x5106cc
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x5107e2
test eax, eax
jmp 0x510769
cmp ecx, 0x58c75f11
jne 0x510767
lea ecx, [0x5fb090]
cmp eax, ecx
jne 0x510763
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x5b8ae0]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
call sym.go_doc_comment._textPrinter_.text
jmp 0x5107ca
test eax, eax
jmp 0x510769
test eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
je 0x51077e
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], eax
lea eax, [0x5face4]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea eax, [0x5b8f26]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
lea eax, [esp + 0x60]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call sym.fmt.Fprintf
add esp, 0x68
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sym.go_doc_comment.writeNL
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
test eax, eax
je 0x5107ca
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x5f9144]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call sym.internal_stringslite.Cut
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
test eax, eax
je 0x5107ce
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
call sym.bytes._Buffer_.WriteString
jmp 0x5107ce
mov byte [esp + 0x2b], cl
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov eax, dword [eax]
mov dword [esp + 0x5c], eax
xor ebx, ebx
jmp 0x510891
mov ebp, dword [esp + 0x38]
inc ebp
mov eax, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x2b]
mov edx, dword [esp + 0x44]
mov ebx, ebp
cmp ebx, edx
jge 0x5107ca
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + ebx*4]
mov dword [esp + 0x50], ebp
test ebx, ebx
jle 0x5108d6
test cl, cl
je 0x5108d6
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call sym.go_doc_comment.writeNL
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x5fa09c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x51093d
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x5b8bb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
call sym.bytes._Buffer_.WriteString
jmp 0x510971
mov edx, dword [eax]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x5b8a48]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
xor ebp, ebp
jmp 0x5109e2
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [esi + 8]
mov dword [esp], edx
mov dword [esp + 4], ebx
lea esi, [0x5b8d06]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
call sym.go_doc_comment._textPrinter_.text
mov eax, dword [esp + 0x34]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x58]
mov ecx, ebx
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
cmp ebp, eax
jge 0x51087d
mov dword [esp + 0x34], ebp
lea esi, [ecx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test ebp, ebp
jle 0x510a62
mov dword [esp + 0x54], esi
mov dword [esp + 0x3c], edi
mov dword [esp], ebx
call sym.go_doc_comment.writeNL
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x5b8d06]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x3c]
lea ecx, [0x5faf30]
cmp edi, ecx
je 0x51098f
mov eax, dword [0x5faf34]
mov dword [esp], edi
mov dword [esp + 4], eax
lea eax, [0x596a00]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
inc ebx
cmp ebx, ecx
jge 0x510aa4
mov ebp, dword [edx + ebx*4]
cmp dword [ebp + 0xc], 1
je 0x510a8c
mov ecx, 1
jmp 0x510868
xor ecx, ecx
jmp 0x510868
call sym.runtime.morestack_noctxt
jmp sym.go_doc_comment._textPrinter_.block