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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x514bf5
sub esp, 0x90
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.go_printer._printer_.setComment
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
nop
nop
test ecx, ecx
je 0x514535
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0xc]
lea ebx, [eax + 0x58]
mov dword [esp + 0x58], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x74]
lea esi, [esp + 0xc]
call fcn.004704ae
mov eax, dword [0x7b12d0]
test eax, eax
je 0x514521
lea eax, [0x609e80]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
lea ecx, [esp + 0x74]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x58]
lea esi, [esp + 0x74]
call fcn.004704ae
mov eax, dword [esp + 0x98]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x609e00]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x5ed5e0]
mov dword [esp + 0x6c], eax
mov edx, 0x20
lea ebx, [0x77dc60]
lea edx, [ebx + edx*8]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x94]
mov dword [esp], edx
lea ebp, [esp + 0x64]
mov dword [esp + 4], ebp
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call sym.go_printer._printer_.print
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x5145cf
cmp dword [eax + 0x14], 1
je 0x5147cd
test ecx, ecx
nop
je 0x514636
mov eax, dword [esp + 0x94]
mov edx, dword [eax + 0xc]
lea ebx, [eax + 0x58]
mov dword [esp + 0x58], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x74]
lea esi, [esp + 0xc]
call fcn.004704ae
mov eax, dword [0x7b12d0]
test eax, eax
je 0x514629
lea eax, [0x609e80]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
lea ecx, [esp + 0x74]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x58]
lea esi, [esp + 0x74]
call fcn.004704ae
lea eax, [0x609e00]
mov dword [esp + 0x5c], eax
lea ecx, [0x66d544]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call sym.go_printer._printer_.print
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x514800
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x5ed5e0]
mov dword [esp + 0x64], eax
mov ecx, 0x3e
lea edx, [0x77dc60]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov ecx, 0xc
lea ecx, [edx + ecx*8]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x70], ecx
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
lea ebp, [esp + 0x64]
mov dword [esp + 4], ebp
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call sym.go_printer._printer_.print
mov eax, dword [esp + 0x40]
cmp eax, 1
jle 0x514798
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 8]
cmp edx, 0x40
je 0x51471f
cmp edx, 0x55
jne 0x514798
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.go_printer.keepTypeColumn
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
lea edx, [0x5ed8e0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x50], edx
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x40], ebx
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
jmp 0x514ac5
lea eax, [0x5ed8e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x50], edx
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x3c], ebx
xor ebp, ebp
jmp 0x5148eb
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov byte [esp + 0x10], 1
call sym.go_printer._printer_.spec
add esp, 0x90
ret
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x51486b
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0xc]
lea ebx, [ecx + 0x58]
mov dword [esp + 0x58], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x74]
lea esi, [esp + 0xc]
call fcn.004704ae
mov eax, dword [0x7b12d0]
test eax, eax
je 0x51485e
lea eax, [0x609e80]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
lea ecx, [esp + 0x74]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x58]
lea esi, [esp + 0x74]
call fcn.004704ae
lea eax, [0x609e00]
mov dword [esp + 0x5c], eax
lea eax, [0x66d548]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea eax, [esp + 0x5c]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call sym.go_printer._printer_.print
jmp 0x5147f9
mov dword [ecx + 0x94], eax
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edx
mov byte [esp + 0x10], 0
call sym.go_printer._printer_.spec
mov eax, dword [esp + 0x2c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
cmp ebp, ebx
jge 0x5149e8
mov dword [esp + 0x2c], ebp
lea esi, [edx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test ebp, ebp
jle 0x5149b7
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0x10]
mov dword [esp], esi
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x94]
cmp dword [ecx + 0xc4], eax
je 0x514961
mov dword [ecx + 0xc4], eax
mov eax, dword [ecx + 0xc]
mov dword [esp], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x74]
lea esi, [esp + 0xc]
call fcn.004704ae
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
mov dword [ecx + 0xc8], eax
mov eax, dword [ecx + 0xc8]
mov edx, dword [ecx + 0x78]
mov ebx, dword [esp + 0x88]
sub edx, dword [ebx]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
test edx, edx
setg al
mov byte [esp + 0xd], al
call sym.go_printer._printer_.linebreak
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x94]
test byte [ecx], al
mov edx, dword [0x7b12d0]
nop
test edx, edx
je 0x5148ab
mov edx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ebx, dword [ecx + 0x94]
mov dword [edi + 4], ebx
mov edi, edx
jmp 0x5148ab
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x5ed5e0]
mov dword [esp + 0x64], eax
mov ecx, 0x3c
lea edx, [0x77dc60]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea ecx, [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call sym.go_printer._printer_.print
mov eax, dword [esp + 0x98]
jmp 0x514800
mov eax, dword [esp + 0x4c]
movzx edx, byte [eax + esi]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov byte [esp + 8], dl
call sym.go_printer._printer_.valueSpec
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x94]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x98]
mov edx, edi
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x30]
cmp esi, ebx
jge 0x5149e8
lea ecx, [edx + esi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x48], ecx
test esi, esi
jle 0x514b91
mov dword [esp + 0x24], edx
mov eax, dword [edx + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x94]
cmp dword [ecx + 0xc4], eax
je 0x514b3b
mov dword [ecx + 0xc4], eax
mov eax, dword [ecx + 0xc]
mov dword [esp], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x74]
lea esi, [esp + 0xc]
call fcn.004704ae
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
mov dword [ecx + 0xc8], eax
mov eax, dword [ecx + 0xc8]
mov edx, dword [ecx + 0x78]
mov ebx, dword [esp + 0x8c]
sub edx, dword [ebx]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov byte [esp + 0xc], 0
test edx, edx
setg al
mov byte [esp + 0xd], al
call sym.go_printer._printer_.linebreak
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
test byte [ebp], al
mov ebx, dword [0x7b12d0]
nop
test ebx, ebx
je 0x514bb7
mov ebx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [ebp + 0x94]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x48]
mov edi, ebx
mov dword [ebp + 0x94], eax
lea ebx, [0x66f134]
cmp edx, ebx
jne 0x514bd8
cmp esi, edi
jb 0x514a63
mov eax, esi
mov ecx, edi
call sym.runtime.panicIndex
mov eax, dword [0x66f138]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x5f8d80]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
nop
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.genDecl