Function at 0x5164a0
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 0x51683c
sub esp, 0x44
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x51650a
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
cmp dword [esp + 0x58], ecx
je 0x5164d3
mov ecx, 1
jmp 0x516510
mov ecx, dword [eax + 0x70]
cmp dword [esp + 0x50], ecx
je 0x5164e3
mov ecx, 1
jmp 0x516510
mov edx, dword [eax + 0x6c]
mov ebx, dword [esp + 0x4c]
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 + 0x48]
jmp 0x516510
mov eax, dword [esp + 0x48]
xor ecx, ecx
test cl, cl
je 0x516838
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x61d609]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
call sym.strings.IndexAny
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x5165f6
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jne 0x5165f2
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5ed6a0]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
lea eax, [0x6311a2]
mov dword [esp], eax
mov dword [esp + 4], 0x45
lea eax, [esp + 0x3c]
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 + 0x48]
mov dword [edx + 0x98], eax
mov eax, dword [0x7b12d0]
test eax, eax
je 0x5165ec
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, 0x44
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
inc edx
mov ebx, dword [eax + 0x10]
cmp ecx, edx
jae 0x51665b
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5ed720]
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 + 0x48]
mov dword [ebx + 0x18], eax
mov eax, dword [0x7b12d0]
test eax, eax
je 0x516654
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 + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5ed6a0]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5ed8e0]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea eax, [0x620ba5]
mov dword [esp], eax
mov dword [esp + 4], 0xd
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call sym.fmt.Sprintf
mov eax, dword [esp + 0x48]
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 0x516753
mov dword [esp + 0x28], 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, [0x5ed720]
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 + 0x28]
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 + 0x48]
mov dword [ecx + 0x14], eax
mov edx, dword [esp + 0x20]
mov dword [ecx + 0x18], edx
mov ebx, dword [0x7b12d0]
test ebx, ebx
jne 0x516794
mov ebx, dword [esp + 0x28]
jmp 0x5167a5
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 0x516804
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5ed720]
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 + 0x48]
mov dword [ebx + 0x18], eax
mov eax, dword [0x7b12d0]
test eax, eax
je 0x5167f9
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 + 0x50]
mov edx, dword [esp + 0x4c]
mov dword [ecx + 0x70], eax
mov eax, dword [0x7b12d0]
test eax, eax
je 0x51682e
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 + 0x58]
mov dword [ecx + 0x78], eax
add esp, 0x44
ret
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.writeLineDirective