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

Disassembly:
mov ecx, dword [0x71d934]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xfc]
cmp eax, dword [ecx + 8]
jbe 0x5019c3
sub esp, 0x17c
mov eax, dword [esp + 0x18c]
cmp eax, 1
jle 0x500fb5
lea ecx, [0x59b660]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x178], eax
xor ecx, ecx
jmp 0x501052
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x194], ecx
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 0x19c], eax
add esp, 0x17c
ret
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x188]
lea ebx, [edx + ecx*8]
mov ebp, dword [ebx]
mov dword [esp + 0x30], ebp
mov ebx, dword [ebx + 4]
mov dword [esp + 0x88], ebx
lea esi, [eax + ecx*8]
mov dword [esp + 0x174], esi
mov edi, dword [ebp + 0x10]
mov dword [esp], ebx
call edi
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, dword [esp + 0x88]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x174]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov eax, dword [esp + 0x44]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x18c]
cmp edx, ecx
jg 0x500fdf
mov ecx, dword [eax]
lea ebx, [eax + edx*8 - 4]
mov ebx, dword [ebx]
mov dword [esp + 0x48], ebx
test ecx, ecx
jne 0x501071
xor ebp, ebp
jmp 0x501092
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.go_token._FileSet_.file
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
mov ebp, eax
mov dword [esp + 0x98], ebp
mov eax, dword [esp + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x14c]
lea esi, [esp + 0xc]
call fcn.0046fa7e
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.go_token._File_.LineStart
mov eax, dword [esp + 8]
mov dword [esp + 0x60], eax
nop
mov ecx, dword [esp + 0x180]
mov dword [esp], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x14c]
lea esi, [esp + 0xc]
call fcn.0046fa7e
mov eax, dword [esp + 0x158]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x501127
xor edx, edx
jmp 0x501140
mov eax, dword [esp + 0x180]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.go_token._FileSet_.file
mov eax, dword [esp + 8]
mov edx, eax
mov dword [esp + 0x94], edx
mov dword [esp], edx
call sym.go_token._File_.LineCount
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
jne 0x50115f
mov ebx, dword [esp + 0x48]
jmp 0x501177
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
inc eax
mov dword [esp + 4], eax
call sym.go_token._File_.LineStart
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x184]
mov esi, dword [ebp + 0x3c]
mov dword [esp + 0x170], esi
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x60]
mov edx, eax
xor edi, edi
mov eax, 0xffffffff
mov dword [esp + 0x38], eax
mov eax, edx
jmp 0x5011c3
inc edx
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x170]
mov ebp, dword [esp + 0x184]
mov dword [esp + 0x38], eax
mov eax, edi
mov edi, edx
mov edx, dword [esp + 0x7c]
cmp edi, edx
jge 0x501228
mov ebp, dword [esi + edi*4]
mov esi, dword [ebp + 4]
lea edx, [esi - 1]
cmp esi, edx
jbe 0x5019b9
mov ebp, dword [ebp]
mov esi, dword [ebp + esi*4 - 4]
mov edx, dword [esi + 8]
add edx, dword [esi]
cmp ebx, edx
jle 0x50121a
mov ebp, dword [ebp]
cmp dword [ebp], ecx
jl 0x501210
cmp eax, edi
jle 0x5011f8
mov eax, edi
jmp 0x5011fe
mov edx, eax
mov eax, edi
mov edi, edx
mov ebp, dword [esp + 0x38]
cmp ebp, eax
jge 0x50120a
mov edx, eax
jmp 0x5011a4
mov edx, eax
mov eax, ebp
jmp 0x5011a4
mov edx, edi
mov edi, eax
mov eax, dword [esp + 0x38]
jmp 0x5011a4
mov ebp, dword [esp + 0x184]
mov esi, dword [esp + 0x170]
mov ebx, dword [esp + 0x38]
test ebx, ebx
jl 0x50125c
mov edx, dword [ebp + 0x44]
lea ecx, [ebx + 1]
cmp edx, ecx
jb 0x5019b4
cmp eax, ecx
ja 0x5019af
sub edx, eax
sub ebx, eax
mov ecx, edx
neg edx
shl eax, 2
sar edx, 0x1f
and eax, edx
lea edx, [esi + eax]
inc ebx
jmp 0x501262
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0xa0], edx
lea edi, [esp + 0x130]
xor eax, eax
call fcn.0046f599
lea edi, [esp + 0xa4]
call fcn.0046f57d
lea ecx, [esp + 0xa4]
mov dword [esp + 0x13c], ecx
call sym.runtime.rand32
mov ecx, dword [esp]
mov dword [esp + 0x138], ecx
mov ecx, dword [esp + 0x18c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0xa0]
xor eax, eax
xor esi, esi
jmp 0x5012ed
mov dword [edx], ebx
mov edi, dword [esp + 0x7c]
lea eax, [edi + 1]
mov ecx, dword [esp + 0x18c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x178]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x74]
cmp edx, eax
jle 0x501530
mov dword [esp + 0x7c], eax
mov edi, dword [ebp + eax*4]
jmp 0x50193a
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x8c], edi
test esi, esi
jne 0x501348
mov edx, dword [edi + 4]
test edx, edx
jbe 0x501996
mov edx, dword [ebx]
mov eax, dword [edi]
mov eax, dword [eax]
cmp dword [eax], edx
jge 0x50133c
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov ebp, 1
jmp 0x501435
cmp ecx, ebp
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
jmp 0x50134a
cmp ecx, ebp
jle 0x501433
cmp ecx, esi
jbe 0x50198f
mov dword [esp + 0x28], esi
mov dword [esp + 0x78], ebp
lea eax, [ebx + esi*8]
mov eax, dword [eax]
mov ecx, dword [esp + 0x180]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x14c]
lea esi, [esp + 0xc]
call fcn.0046fa7e
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 4]
test ecx, ecx
jbe 0x501986
mov ecx, dword [esp + 0x158]
inc ecx
mov dword [esp + 0x74], ecx
mov edx, dword [eax]
mov edx, dword [edx]
mov edx, dword [edx]
mov ebx, dword [esp + 0x180]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x14c]
lea esi, [esp + 0xc]
call fcn.0046fa7e
mov eax, dword [esp + 0x74]
cmp dword [esp + 0x158], eax
jne 0x50140e
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x178]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x78]
mov ebp, 1
jmp 0x501435
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x178]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x28]
xor ebp, ebp
jmp 0x501435
xor ebp, ebp
cmp ecx, esi
jbe 0x50197f
mov ebx, dword [esp + 0x188]
lea ebx, [ebx + esi*8]
mov ecx, dword [ebx]
lea edx, [0x5fb8f4]
cmp ecx, edx
jne 0x501963
mov dword [esp + 0x74], esi
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
mov eax, dword [ebx + 4]
lea ecx, [0x593800]
mov dword [esp], ecx
lea edx, [esp + 0x130]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.mapassign_fast32ptr
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
inc edx
mov ebx, dword [eax]
cmp ecx, edx
jae 0x5014ed
mov dword [esp + 0x160], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x59b600]
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 + 0x160]
mov dword [ebx + 8], eax
mov eax, dword [0x71da68]
test eax, eax
je 0x5014e7
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebp, dword [ebx]
mov dword [edi + 4], ebp
mov dword [ebx], ecx
mov eax, ebx
mov ebx, ecx
mov dword [eax + 4], edx
lea ebp, [ebx + edx*8 - 8]
movzx esi, byte [esp + 0x22]
xchg esi, eax
mov byte [ebp], al
xchg esi, eax
mov ebp, dword [0x71da68]
lea edx, [ebx + edx*8 - 4]
test ebp, ebp
jne 0x501518
mov ebx, dword [esp + 0x8c]
jmp 0x5012c7
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x8c]
mov dword [edi], ebx
mov ebp, dword [edx]
mov dword [edi + 4], ebp
jmp 0x5012c7
lea eax, [0x5fb6e0]
mov dword [esp], eax
mov eax, dword [esp + 0x188]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x190]
mov dword [esp + 0xc], edx
lea ebx, [0x5c95c8]
mov dword [esp + 0x10], ebx
call sym.slices.SortFunc_go.shape.__go_ast.Spec_go.shape.interface__End___go_token.Pos__Pos___go_token.Pos__go_ast.specNode____
mov ecx, dword [esp + 0x18c]
lea eax, [ecx - 1]
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x188]
mov ebx, dword [esp + 0x190]
mov ebp, edx
xor esi, esi
xor edi, edi
jmp 0x5015a6
mov ecx, dword [esp + 0x40]
inc ecx
mov ebp, dword [esp + 0x18c]
mov edi, dword [esp + 0x188]
mov ebp, edi
mov edi, esi
mov esi, ecx
mov ecx, dword [esp + 0x18c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x9c], edx
cmp ecx, esi
jle 0x50175d
mov dword [esp + 0x40], esi
lea ebp, [ebp + esi*8]
mov ecx, dword [ebp]
mov dword [esp + 0x2c], ecx
mov ebp, dword [ebp + 4]
mov dword [esp + 0x84], ebp
cmp esi, eax
jne 0x5015ed
mov dword [esp + 0x6c], eax
mov eax, 1
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x6c]
jmp 0x501651
lea eax, [esi + 1]
mov edx, dword [esp + 0x18c]
cmp edx, eax
jbe 0x501922
mov eax, dword [esp + 0x188]
lea edx, [eax + esi*8 + 8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call sym.go_ast.collapse
movzx eax, byte [esp + 0x10]
xor eax, 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x7c]
movzx esi, byte [esp + 0x23]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5016cb
lea esi, [edi + 1]
cmp ebx, esi
jae 0x5016a0
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x59b540]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x84]
lea edi, [edx + esi*8 - 8]
mov dword [edi], ecx
mov edi, dword [0x71da68]
lea ecx, [edx + esi*8 - 4]
test edi, edi
je 0x5016c4
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebp
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [ecx], ebp
jmp 0x501586
mov eax, dword [ecx + 0x10]
mov dword [esp], ebp
call eax
mov eax, dword [esp + 4]
test eax, eax
jne 0x5016df
xor ecx, ecx
jmp 0x5016fc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x180]
mov dword [esp], eax
call sym.go_token._FileSet_.file
mov eax, dword [esp + 8]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x180]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0x14c]
lea esi, [esp + 0xc]
call fcn.0046fa7e
mov eax, dword [esp + 0x158]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.go_token._File_.MergeLine
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x9c]
jmp 0x501586
mov ebp, dword [esp + 0x178]
xor eax, eax
jmp 0x50178c
mov esi, dword [esp + 0x3c]
lea eax, [esi + 1]
mov ecx, dword [esp + 0x18c]
mov ebp, dword [esp + 0x178]
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
cmp eax, edi
jge 0x501832
lea esi, [edx + eax*8]
mov ebx, dword [esi]
lea edx, [0x5fb8f4]
cmp ebx, edx
jne 0x501906
mov ebx, dword [esi + 4]
mov esi, dword [ebx + 4]
test esi, esi
je 0x5017c1
cmp ecx, eax
jbe 0x501901
lea edx, [ebp + eax*8]
mov edx, dword [edx]
mov dword [esi], edx
cmp ecx, eax
jbe 0x5018fc
mov dword [esp + 0x3c], eax
mov ecx, dword [ebx + 8]
lea edx, [ebp + eax*8]
mov dword [esp + 0x16c], edx
mov esi, dword [edx]
mov dword [ecx], esi
lea ecx, [ebp + eax*8 + 4]
mov dword [esp + 0x168], ecx
mov esi, dword [ecx]
mov dword [ebx + 0x10], esi
lea esi, [0x593800]
mov dword [esp], esi
lea edi, [esp + 0x130]
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
call sym.runtime.mapaccess1_fast32
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x164], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x168]
mov ebx, dword [esp + 0x16c]
xor ebp, ebp
jmp 0x50189e
lea eax, [0x5fb700]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
lea eax, [0x5c95cc]
mov dword [esp + 0x10], eax
call sym.slices.SortFunc_go.shape.__go_ast.CommentGroup_go.shape.uint8_
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x19c], eax
add esp, 0x17c
ret
mov esi, dword [esp + 0x78]
lea ebp, [esi + 1]
mov ecx, dword [esp + 0x164]
cmp ebp, eax
jge 0x501768
mov dword [esp + 0x78], ebp
lea esi, [ecx + ebp*8]
mov edi, dword [esi + 4]
movzx esi, byte [esi]
mov ecx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x64]
jmp 0x5018de
lea eax, [ebp + 1]
mov edx, dword [esp + 0x168]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x74]
cmp ebp, edi
jge 0x501890
mov eax, dword [ecx + ebp*4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5018f6
mov edx, dword [ebx]
dec edx
mov dword [eax], edx
jmp 0x5018c8
mov edx, dword [edx]
mov dword [eax], edx
jmp 0x5018c8
call sym.runtime.panicIndex
call sym.runtime.panicIndex
mov eax, dword [0x5fb8f8]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [0x59b540]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
mov ecx, edx
call sym.runtime.panicIndex
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x54]
mov esi, ebp
mov ebp, dword [esp + 0xa0]
lea ebp, [esi + 1]
cmp ecx, ebp
jle 0x50130a
mov edx, dword [edi + 4]
test edx, edx
jbe 0x5019a6
cmp ecx, ebp
jbe 0x50199f
lea edx, [ebx + esi*8 + 8]
mov eax, dword [edi]
mov eax, dword [eax]
mov eax, dword [eax]
cmp dword [edx], eax
jle 0x501929
jmp 0x501302
mov eax, dword [0x5fb8f8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x59b540]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
mov eax, esi
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, esi
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, ebp
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAcap
mov eax, edx
mov ecx, esi
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.go_ast.sortSpecs