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

Disassembly:
mov ecx, dword [0x7762b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x503695
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 0x502fb5
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.0046b13e
mov eax, dword [0x776370]
test eax, eax
je 0x502fa1
lea eax, [0x5db460]
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.0046b13e
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, [0x5db3e0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
lea eax, [0x5c2ac0]
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 0x50304f
cmp dword [eax + 0x14], 1
je 0x50325d
test ecx, ecx
nop
je 0x5030b6
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.0046b13e
mov eax, dword [0x776370]
test eax, eax
je 0x5030a9
lea eax, [0x5db460]
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.0046b13e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5db3e0]
mov dword [esp + 0x60], eax
lea ecx, [0x63428c]
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 0x503290
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, [0x5c2ac0]
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 0x503228
mov ecx, dword [esp + 0x9c]
mov edx, dword [ecx + 8]
cmp edx, 0x40
je 0x5031af
cmp edx, 0x55
jne 0x503228
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, [0x5c2dc0]
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 0x503565
lea eax, [0x5c2dc0]
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 0x50338b
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 0x5032fb
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.0046b13e
mov eax, dword [0x776370]
test eax, eax
je 0x5032ee
lea eax, [0x5db460]
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.0046b13e
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x5db3e0]
mov dword [esp + 0x60], eax
lea eax, [0x634290]
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 0x503289
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 0x503488
mov dword [esp + 0x2c], ebp
lea esi, [edx + ebp*8]
mov edi, dword [esi]
mov esi, dword [esi + 4]
test ebp, ebp
jle 0x503457
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 0x503401
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.0046b13e
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 [0x776370]
nop
test edx, edx
je 0x50334b
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 0x50334b
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
lea eax, [0x5c2ac0]
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 0x503290
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 0x503488
lea ecx, [edx + esi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x48], ecx
test esi, esi
jle 0x503631
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 0x5035db
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.0046b13e
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 [0x776370]
nop
test ebx, ebx
je 0x503657
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, [0x635c48]
cmp edx, ebx
jne 0x503678
cmp esi, edi
jb 0x503503
mov eax, esi
mov ecx, edi
call sym.runtime.panicIndex
mov eax, dword [0x635c4c]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x5cc920]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
nop
call sym.runtime.morestack_noctxt
jmp sym.go_printer._printer_.genDecl