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

Disassembly:
mov ecx, dword [0x80b088]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x114]
cmp eax, dword [ecx + 8]
jbe 0x5afc85
sub esp, 0x194
mov eax, dword [esp + 0x1a4]
cmp eax, 1
jle 0x5af1af
mov dword [esp + 0x34], eax
lea ecx, [0x611200]
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 + 0xbc], eax
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x78], edx
xor ebx, ebx
jmp 0x5af208
mov ecx, dword [esp + 0x1a0]
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x1ac], ecx
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
add esp, 0x194
ret
mov ebp, dword [esp + 0xbc]
lea esi, [ebp + eax*8]
lea edi, [ebp + eax*8 + 4]
mov edx, dword [esp + 4]
mov ebx, ebp
mov ebp, dword [esp + 0x74]
mov dword [esi], ebp
mov dword [edi], edx
lea ebp, [eax + 1]
mov eax, ebx
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x78]
mov ebx, ebp
cmp ebx, edx
jge 0x5af257
mov dword [esp + 0x48], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x88], eax
mov ebp, dword [edx + 0x14]
mov dword [esp], eax
call ebp
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 4]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x88]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jb 0x5af1d9
jmp 0x5afc7f
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
lea ebx, [eax + edx*8 - 4]
mov ebx, dword [ebx]
mov dword [esp + 0x4c], ebx
test ecx, ecx
jne 0x5af26f
xor ebp, ebp
jmp 0x5af290
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x198]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.go_token._FileSet_.file
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov ebp, eax
mov dword [esp + 0x98], ebp
mov eax, dword [esp + 0x198]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0xd8]
lea esi, [esp + 0xc]
call fcn.004678be
mov eax, dword [esp + 0xe4]
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 + 0x64], eax
nop
mov ecx, dword [esp + 0x198]
mov dword [esp], ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0xd8]
lea esi, [esp + 0xc]
call fcn.004678be
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x5af325
xor edx, edx
jmp 0x5af33e
mov eax, dword [esp + 0x198]
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 0x5af35d
mov ebx, dword [esp + 0x4c]
jmp 0x5af375
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 + 0x19c]
mov esi, dword [ebp + 0x34]
mov dword [esp + 0xb4], esi
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x64]
mov edx, eax
xor edi, edi
mov eax, 0xffffffff
mov dword [esp + 0x3c], eax
mov eax, edx
jmp 0x5af3c1
inc edx
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0xb4]
mov ebp, dword [esp + 0x19c]
mov dword [esp + 0x3c], eax
mov eax, edi
mov edi, edx
mov edx, dword [esp + 0x78]
cmp edi, edx
jge 0x5af426
mov ebp, dword [esi + edi*4]
mov esi, dword [ebp + 4]
lea edx, [esi - 1]
cmp esi, edx
jbe 0x5afc76
mov ebp, dword [ebp]
mov esi, dword [ebp + esi*4 - 4]
mov edx, dword [esi + 8]
add edx, dword [esi]
cmp ebx, edx
jle 0x5af418
mov ebp, dword [ebp]
cmp dword [ebp], ecx
jl 0x5af40e
cmp eax, edi
jle 0x5af3f6
mov eax, edi
jmp 0x5af3fc
mov edx, eax
mov eax, edi
mov edi, edx
mov ebp, dword [esp + 0x3c]
cmp ebp, eax
jge 0x5af408
mov edx, eax
jmp 0x5af3a2
mov edx, eax
mov eax, ebp
jmp 0x5af3a2
mov edx, edi
mov edi, eax
mov eax, dword [esp + 0x3c]
jmp 0x5af3a2
mov ebp, dword [esp + 0x19c]
mov esi, dword [esp + 0xb4]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jl 0x5af45a
mov edx, dword [ebp + 0x3c]
lea ecx, [ebx + 1]
cmp edx, ecx
jb 0x5afc71
cmp eax, ecx
ja 0x5afc6c
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 0x5af460
xor ebx, ebx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0xa0], edx
lea edi, [esp + 0xec]
xor eax, eax
call fcn.004673d9
lea edi, [esp + 0x108]
call fcn.004673bd
lea ecx, [esp + 0x108]
mov dword [esp + 0xf8], ecx
call sym.runtime.fastrand
mov ecx, dword [esp]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0xa0]
xor eax, eax
xor esi, esi
jmp 0x5af4e5
mov dword [edx], ebx
mov edi, dword [esp + 0x78]
lea eax, [edi + 1]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0xa0]
mov esi, dword [esp + 0x6c]
cmp ecx, eax
jle 0x5af727
mov dword [esp + 0x78], eax
mov edi, dword [ebp + eax*4]
jmp 0x5afbe6
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x8c], edi
test esi, esi
jne 0x5af546
mov eax, dword [edi + 4]
test eax, eax
jbe 0x5afc51
mov eax, dword [edx]
mov edi, dword [edi]
mov edi, dword [edi]
cmp dword [edi], eax
jge 0x5af537
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x8c]
mov ecx, 1
jmp 0x5af625
cmp ecx, ebp
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x8c]
jmp 0x5af548
cmp ecx, ebp
jle 0x5af623
cmp esi, ebx
jae 0x5afc48
mov dword [esp + 0x28], esi
mov dword [esp + 0x70], ebp
lea eax, [edx + esi*8]
mov eax, dword [eax]
mov ecx, dword [esp + 0x198]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0xd8]
lea esi, [esp + 0xc]
call fcn.004678be
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 4]
test ecx, ecx
jbe 0x5afc3f
mov ecx, dword [esp + 0xe4]
inc ecx
mov dword [esp + 0x6c], ecx
mov edx, dword [eax]
mov edx, dword [edx]
mov edx, dword [edx]
mov ebx, dword [esp + 0x198]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0xd8]
lea esi, [esp + 0xc]
call fcn.004678be
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0xe4], eax
jne 0x5af605
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x70]
mov ecx, 1
jmp 0x5af625
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x8c]
mov esi, dword [esp + 0x28]
xor ecx, ecx
jmp 0x5af625
xor ecx, ecx
mov ebp, dword [esp + 0x1a4]
cmp esi, ebp
jae 0x5afc36
mov ebp, dword [esp + 0x1a0]
lea ebp, [ebp + esi*8]
mov edx, dword [ebp]
lea ebx, [0x68da7c]
cmp edx, ebx
jne 0x5afc1a
mov dword [esp + 0x6c], esi
mov byte [esp + 0x23], cl
mov eax, dword [ebp + 4]
lea ecx, [0x604760]
mov dword [esp], ecx
lea edx, [esp + 0xec]
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 0x5af6e4
mov dword [esp + 0xa4], eax
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x6111a0]
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 + 0xa4]
mov dword [ebx + 8], eax
mov eax, dword [0x80b220]
test eax, eax
je 0x5af6de
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 + 0x23]
xchg esi, eax
mov byte [ebp], al
xchg esi, eax
mov ebp, dword [0x80b220]
lea edx, [ebx + edx*8 - 4]
test ebp, ebp
jne 0x5af70f
mov ebx, dword [esp + 0x8c]
jmp 0x5af4c2
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x8c]
mov dword [edi], ebx
mov ebp, dword [edx]
mov dword [edi + 4], ebp
jmp 0x5af4c2
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov edx, dword [esp + 0x1a8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
lea ecx, [sym.github.com_goplus_gop_ast.sortSpecs.func1]
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0x1a0]
mov dword [esp + 0xc4], ecx
lea ecx, [0x5faf60]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0xc0]
mov dword [esp + 8], eax
call sym.sort.Slice
mov eax, dword [esp + 0x1a0]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x1a4]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x1a8]
mov ebx, eax
xor ebp, ebp
xor esi, esi
jmp 0x5af7d6
inc ebp
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x9c]
mov esi, ebx
mov ebx, edi
mov dword [esp + 0x50], esi
mov dword [esp + 0xb8], eax
cmp ebp, ecx
jge 0x5af97f
mov dword [esp + 0x44], ebp
mov dword [esp + 0x54], edx
lea edi, [ebx + ebp*8]
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x70], ebx
dec ebx
mov ecx, dword [edi]
mov dword [esp + 0x2c], ecx
mov edi, dword [edi + 4]
mov dword [esp + 0x84], edi
cmp ebp, ebx
jne 0x5af81b
mov ebx, 1
jmp 0x5af876
lea ebx, [ebp + 1]
mov edx, dword [esp + 0x70]
cmp edx, ebx
jbe 0x5afbcc
mov eax, dword [esp + 0x1a0]
lea eax, [eax + ebp*8 + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call sym.github.com_goplus_gop_ast.collapse
movzx eax, byte [esp + 0x10]
xor eax, 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x84]
mov ebx, eax
mov eax, dword [esp + 0xb8]
test bl, bl
je 0x5af8ed
lea ebx, [esi + 1]
cmp edx, ebx
jae 0x5af8be
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x611080]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x84]
lea esi, [eax + ebx*8 - 8]
mov dword [esi], ecx
mov esi, dword [0x80b220]
lea ecx, [eax + ebx*8 - 4]
test esi, esi
je 0x5af8e6
mov esi, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebp, dword [ecx]
mov dword [edi + 4], ebp
mov ebp, dword [esp + 0x44]
mov edi, esi
mov dword [ecx], edi
jmp 0x5af7c6
mov eax, dword [ecx + 0x14]
mov dword [esp], edi
call eax
mov eax, dword [esp + 4]
test eax, eax
jne 0x5af901
xor ecx, ecx
jmp 0x5af91e
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x198]
mov dword [esp], eax
call sym.go_token._FileSet_.file
mov eax, dword [esp + 8]
mov ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x198]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], 0
call sym.go_token._FileSet_.PositionFor
lea edi, [esp + 0xd8]
lea esi, [esp + 0xc]
call fcn.004678be
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.go_token._File_.MergeLine
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0xb8]
jmp 0x5af7c6
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], esi
mov dword [esp + 0x1a8], edx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xbc]
xor ebx, ebx
jmp 0x5af9c0
mov ebp, dword [esp + 0x40]
lea ebx, [ebp + 1]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
cmp ebx, esi
jge 0x5afa68
lea ebp, [eax + ebx*8]
mov edi, dword [ebp]
lea esi, [0x68da7c]
cmp edi, esi
jne 0x5afbb0
mov ebp, dword [ebp + 4]
mov edi, dword [ebp + 4]
test edi, edi
je 0x5af9f5
cmp ebx, ecx
jae 0x5afba9
lea esi, [edx + ebx*8]
mov esi, dword [esi]
mov dword [edi], esi
cmp ebx, ecx
jae 0x5afba2
mov dword [esp + 0x40], ebx
mov eax, dword [ebp + 8]
lea ecx, [edx + ebx*8]
mov dword [esp + 0xb0], ecx
mov esi, dword [ecx]
mov dword [eax], esi
lea eax, [edx + ebx*8 + 4]
mov dword [esp + 0xac], eax
mov esi, dword [eax]
mov dword [ebp + 0x10], esi
lea esi, [0x604760]
mov dword [esp], esi
lea edi, [esp + 0xec]
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
call sym.runtime.mapaccess1_fast32
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
xor ebp, ebp
jmp 0x5afb44
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea ecx, [sym.github.com_goplus_gop_ast.sortSpecs.func2]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xcc], ecx
lea ecx, [0x5f8c80]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0xc8]
mov dword [esp + 8], eax
call sym.sort.Slice
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
add esp, 0x194
ret
mov esi, dword [esp + 0x70]
lea ebp, [esi + 1]
mov ecx, dword [esp + 0xa8]
cmp ebp, eax
jge 0x5af9a3
mov dword [esp + 0x70], 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 + 0x7c], eax
xor eax, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
jmp 0x5afb84
lea eax, [ebp + 1]
mov edx, dword [esp + 0xac]
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x6c]
cmp ebp, edi
jge 0x5afb36
mov eax, dword [ecx + ebp*4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5afb9c
mov edx, dword [ebx]
dec edx
mov dword [eax], edx
jmp 0x5afb6e
mov edx, dword [edx]
mov dword [eax], edx
jmp 0x5afb6e
mov eax, ebx
call sym.runtime.panicIndex
mov eax, ebx
call sym.runtime.panicIndex
mov eax, dword [0x68da80]
mov dword [esp], edi
mov dword [esp + 4], eax
lea eax, [0x611080]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
mov eax, ebx
mov ecx, edx
call sym.runtime.panicIndex
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
mov esi, ebp
mov ebp, dword [esp + 0xa0]
lea ebp, [esi + 1]
mov ecx, dword [esp + 0x1a4]
cmp ecx, ebp
jle 0x5af502
mov eax, dword [edi + 4]
test eax, eax
jbe 0x5afc63
cmp ebx, ebp
jbe 0x5afc5a
mov dword [esp + 0x68], ecx
lea eax, [edx + esi*8 + 8]
mov ecx, dword [edi]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x5afbd5
jmp 0x5af4fa
mov eax, dword [0x68da80]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x611080]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
mov eax, esi
mov ecx, ebp
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, esi
mov ecx, ebx
call sym.runtime.panicIndex
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, ebp
mov ecx, ebx
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
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.github.com_goplus_gop_ast.sortSpecs