Function at 0x505580
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 0x505a47
sub esp, 0x68
mov eax, dword [esp + 0x74]
test eax, eax
je 0x505729
mov ecx, dword [eax + 8]
cmp ecx, 0x58c75f11
jbe 0x50566c
cmp ecx, 0x75d58ed2
je 0x5055fc
cmp ecx, 0xf9a28666
jne 0x5055f5
lea ecx, [0x66e560]
cmp eax, ecx
jne 0x5055ee
mov eax, dword [esp + 0x78]
movzx ecx, byte [eax + 0xd]
test cl, cl
jne 0x5055e4
mov ecx, dword [eax + 4]
mov edx, dword [eax]
xor ebx, ebx
jmp 0x505a29
mov ecx, 1
jmp 0x50583a
test eax, eax
jmp 0x505729
test eax, eax
jmp 0x505729
lea ecx, [0x66e530]
cmp eax, ecx
jne 0x505665
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._commentPrinter_.text
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea eax, str._n_tX_V_0.
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call sym.bytes._Buffer_.WriteString
jmp 0x50578a
test eax, eax
jmp 0x505729
cmp ecx, 0x3984f9c6
jne 0x505693
lea ecx, [0x66e550]
cmp eax, ecx
jne 0x50568c
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x5057b4
test eax, eax
jmp 0x505729
cmp ecx, 0x58c75f11
jne 0x505727
lea ecx, [0x66e540]
cmp eax, ecx
jne 0x505723
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x61d711]
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._commentPrinter_.text
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea eax, str._n_tX_V_0.
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call sym.bytes._Buffer_.WriteString
jmp 0x50578a
test eax, eax
jmp 0x505729
test eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
je 0x50573e
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x64], eax
lea eax, [0x66e0f4]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
lea eax, [0x61d919]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
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
lea ecx, str._n_tX_V_0.
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
test eax, eax
je 0x50578a
nop
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, str._n_tX_V_0.
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 0x50578e
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
lea edx, [0x66c31c]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
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 0x50578e
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 0x505863
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 0x50578a
mov dword [esp + 0x38], ebx
mov ebp, dword [eax + ebx*4]
mov dword [esp + 0x50], ebp
test ebx, ebx
jle 0x50589c
test cl, cl
je 0x50589c
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, str._n_tX_V_0.
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, str._:C2
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 0x5058e5
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x61d7ff]
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
call sym.bytes._Buffer_.WriteString
jmp 0x505919
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, [0x61d653]
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 + 0x70]
mov ebx, dword [esp + 0x6c]
xor ebp, ebp
jmp 0x5059a8
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov ebp, dword [esi + 8]
mov dword [esp], ebx
mov dword [esp + 4], edx
lea esi, [0x61db96]
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._commentPrinter_.text
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, str._n_tX_V_0.
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x34]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x58]
mov ecx, ebx
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
cmp ebp, eax
jge 0x50584f
mov dword [esp + 0x34], ebp
lea esi, [ecx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test ebp, ebp
jle 0x5059fe
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], esi
mov dword [esp], edx
lea eax, [0x61de98]
mov dword [esp + 4], eax
mov dword [esp + 8], 5
call sym.bytes._Buffer_.WriteString
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x3c]
lea ecx, [0x66e530]
cmp edi, ecx
je 0x505937
mov eax, dword [0x66e534]
mov dword [esp], edi
mov dword [esp + 4], eax
lea eax, [0x5f3280]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
inc ebx
cmp ebx, ecx
jge 0x505a40
mov ebp, dword [edx + ebx*4]
cmp dword [ebp + 0xc], 1
je 0x505a28
mov ecx, 1
jmp 0x50583a
xor ecx, ecx
jmp 0x50583a
call sym.runtime.morestack_noctxt
jmp sym.go_doc_comment._commentPrinter_.block