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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50505c
sub esp, 0x48
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x504d2a
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x78]
cmp dword [esp + 0x5c], ecx
je 0x504cf3
mov ecx, 1
jmp 0x504d30
mov ecx, dword [eax + 0x70]
cmp dword [esp + 0x54], ecx
je 0x504d03
mov ecx, 1
jmp 0x504d30
mov edx, dword [eax + 0x6c]
mov ebx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call sym.runtime.memequal
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, eax
mov eax, dword [esp + 0x4c]
jmp 0x504d30
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test cl, cl
je 0x505058
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5eccce]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call sym.strings.IndexAny
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x504e16
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x504e12
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b40]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
lea eax, [0x5fdff4]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0x98], eax
mov eax, dword [0x776350]
test eax, eax
je 0x504e0c
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x9c]
mov dword [edi + 4], eax
mov dword [edx + 0x9c], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
inc edx
mov ebx, dword [eax + 0x10]
cmp ecx, edx
jae 0x504e7b
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5c2bc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x18], eax
mov eax, dword [0x776350]
test eax, eax
je 0x504e74
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x10], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 0x14], edx
mov byte [edx + ebx - 1], 0xff
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5c2b40]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5c2d80]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea eax, [0x5efddc]
mov dword [esp], eax
mov dword [esp + 4], 0xd
lea eax, [esp + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Sprintf
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
mov ebx, dword [esp + 0x18]
lea ebp, [edx + ebx]
mov esi, dword [eax + 0x10]
mov edi, dword [esp + 0x14]
cmp ecx, ebp
jae 0x504f73
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x5c2bc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ecx
lea eax, [esi + edx]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call sym.runtime.memmove
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x14], eax
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x18], edx
mov ebx, dword [0x776350]
test ebx, ebx
jne 0x504fb4
mov ebx, dword [esp + 0x28]
jmp 0x504fc5
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x28]
mov dword [edi], ebx
mov ebp, dword [ecx + 0x10]
mov dword [edi + 4], ebp
mov dword [ecx + 0x10], ebx
inc eax
cmp edx, eax
jae 0x505024
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5c2bc0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x4c]
mov dword [ebx + 0x18], eax
mov eax, dword [0x776350]
test eax, eax
je 0x505019
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x10]
mov dword [edi + 4], eax
mov dword [ebx + 0x10], ecx
mov eax, edx
mov ebp, ecx
mov ecx, ebx
mov ebx, ebp
mov dword [ecx + 0x14], eax
mov byte [eax + ebx - 1], 0xff
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov dword [ecx + 0x70], eax
mov eax, dword [0x776350]
test eax, eax
je 0x50504e
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ecx + 0x6c]
mov dword [edi + 4], eax
mov dword [ecx + 0x6c], edx
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x78], eax
add esp, 0x48
ret
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.writeLineDirective