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

Disassembly:
mov ecx, dword [0x776294]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x503375
sub esp, 0x94
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.go_printer._printer_.setComment
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 4]
nop
nop
test ecx, ecx
je 0x502c95
mov eax, dword [esp + 0x98]
mov edx, dword [eax + 0xc]
lea ebx, [eax + 0x58]
mov dword [esp + 0x5c], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x78]
lea esi, [esp + 0xc]
call fcn.0046b07e
mov eax, dword [0x776350]
test eax, eax
je 0x502c81
lea eax, [0x5db3c0]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x5c]
lea esi, [esp + 0x78]
call fcn.0046b07e
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov ecx, dword [eax + 8]
mov dword [esp], ecx
call sym.runtime.convT32
mov eax, dword [esp + 4]
lea ecx, [0x5db340]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5c2a80]
mov dword [esp + 0x70], eax
mov edx, 0x20
lea ebx, [0x7289c0]
lea edx, [ebx + edx*8]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
lea ebp, [esp + 0x68]
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 + 0x9c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x502d2f
cmp dword [eax + 0x14], 1
je 0x502f3d
test ecx, ecx
nop
je 0x502d96
mov eax, dword [esp + 0x98]
mov edx, dword [eax + 0xc]
lea ebx, [eax + 0x58]
mov dword [esp + 0x5c], ebx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x78]
lea esi, [esp + 0xc]
call fcn.0046b07e
mov eax, dword [0x776350]
test eax, eax
je 0x502d89
lea eax, [0x5db3c0]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x5c]
lea esi, [esp + 0x78]
call fcn.0046b07e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5db340]
mov dword [esp + 0x60], eax
lea ecx, [0x634138]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
lea edx, [esp + 0x60]
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 + 0x9c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x502f70
mov dword [esp + 0x38], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x5c2a80]
mov dword [esp + 0x68], eax
mov ecx, 0x3e
lea edx, [0x7289c0]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov ecx, 0xc
lea ecx, [edx + ecx*8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x74], ecx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
lea ebp, [esp + 0x68]
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 + 0x38]
cmp eax, 1
jle 0x502f08
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 8]
cmp edx, 0x40
je 0x502e8f
cmp edx, 0x55
jne 0x502f08
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, [0x5c2d80]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x54], edx
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
jmp 0x503245
lea eax, [0x5c2d80]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x50], edx
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x34], ebx
xor ebp, ebp
jmp 0x50306b
mov eax, dword [eax + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x98]
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, 0x94
ret
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x502fdb
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0xc]
lea ebx, [ecx + 0x58]
mov dword [esp + 0x5c], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x78]
lea esi, [esp + 0xc]
call fcn.0046b07e
mov eax, dword [0x776350]
test eax, eax
je 0x502fce
lea eax, [0x5db3c0]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
lea ecx, [esp + 0x78]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x5c]
lea esi, [esp + 0x78]
call fcn.0046b07e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5db340]
mov dword [esp + 0x60], eax
lea eax, [0x63413c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea eax, [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call sym.go_printer._printer_.print
jmp 0x502f69
mov dword [ecx + 0x94], eax
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov edx, dword [esp + 0x38]
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 + 0x8c]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x34]
cmp ebp, ebx
jge 0x503168
mov dword [esp + 0x2c], ebp
lea esi, [edx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test ebp, ebp
jle 0x503137
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], edi
mov eax, dword [edi + 0x14]
mov dword [esp], esi
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x98]
cmp dword [ecx + 0xc4], eax
je 0x5030e1
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 + 0x78]
lea esi, [esp + 0xc]
call fcn.0046b07e
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x98]
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 + 0x9c]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x98]
test byte [ecx], al
mov edx, dword [0x776350]
nop
test edx, edx
je 0x50302b
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 0x50302b
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x5c2a80]
mov dword [esp + 0x68], eax
mov ecx, 0x3c
lea edx, [0x7289c0]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
lea ecx, [esp + 0x68]
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 + 0x9c]
jmp 0x502f70
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 + 0x38]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x9c]
mov edx, edi
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x30]
cmp esi, ebx
jge 0x503168
lea ecx, [edx + esi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x48], ecx
test esi, esi
jle 0x503311
mov dword [esp + 0x24], edx
mov eax, dword [edx + 0x14]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x98]
cmp dword [ecx + 0xc4], eax
je 0x5032bb
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 + 0x78]
lea esi, [esp + 0xc]
call fcn.0046b07e
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x98]
mov dword [ecx + 0xc8], eax
mov eax, dword [ecx + 0xc8]
mov edx, dword [ecx + 0x78]
mov ebx, dword [esp + 0x90]
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 + 0x90]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
test byte [ebp], al
mov ebx, dword [0x776350]
nop
test ebx, ebx
je 0x503337
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, [0x635af8]
cmp edx, ebx
jne 0x503358
cmp esi, edi
jb 0x5031e3
mov eax, esi
mov ecx, edi
call sym.runtime.panicIndex
mov eax, dword [0x635afc]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x5cc880]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
nop
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.genDecl