Function at 0x4c9770
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 0x4ca2b5
sub esp, 0x194
mov eax, dword [esp + 0x1a4]
cmp eax, 1
jle 0x4c97df
mov dword [esp + 0x34], eax
lea ecx, [0x60fb80]
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 0x4c9838
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 0x4c9887
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 0x4c9809
jmp 0x4ca2af
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 0x4c989f
xor ebp, ebp
jmp 0x4c98c0
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 0x4c9955
xor edx, edx
jmp 0x4c996e
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 0x4c998d
mov ebx, dword [esp + 0x4c]
jmp 0x4c99a5
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 + 0x3c]
mov dword [esp + 0xb4], esi
mov eax, dword [ebp + 0x40]
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 0x4c99f1
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 0x4c9a56
mov ebp, dword [esi + edi*4]
mov esi, dword [ebp + 4]
lea edx, [esi - 1]
cmp esi, edx
jbe 0x4ca2a6
mov ebp, dword [ebp]
mov esi, dword [ebp + esi*4 - 4]
mov edx, dword [esi + 8]
add edx, dword [esi]
cmp ebx, edx
jle 0x4c9a48
mov ebp, dword [ebp]
cmp dword [ebp], ecx
jl 0x4c9a3e
cmp eax, edi
jle 0x4c9a26
mov eax, edi
jmp 0x4c9a2c
mov edx, eax
mov eax, edi
mov edi, edx
mov ebp, dword [esp + 0x3c]
cmp ebp, eax
jge 0x4c9a38
mov edx, eax
jmp 0x4c99d2
mov edx, eax
mov eax, ebp
jmp 0x4c99d2
mov edx, edi
mov edi, eax
mov eax, dword [esp + 0x3c]
jmp 0x4c99d2
mov ebp, dword [esp + 0x19c]
mov esi, dword [esp + 0xb4]
mov ebx, dword [esp + 0x3c]
test ebx, ebx
jl 0x4c9a8a
mov edx, dword [ebp + 0x44]
lea ecx, [ebx + 1]
cmp edx, ecx
jb 0x4ca2a1
cmp eax, ecx
ja 0x4ca29c
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 0x4c9a90
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 0x4c9b15
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 0x4c9d57
mov dword [esp + 0x78], eax
mov edi, dword [ebp + eax*4]
jmp 0x4ca216
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x8c], edi
test esi, esi
jne 0x4c9b76
mov eax, dword [edi + 4]
test eax, eax
jbe 0x4ca281
mov eax, dword [edx]
mov edi, dword [edi]
mov edi, dword [edi]
cmp dword [edi], eax
jge 0x4c9b67
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x8c]
mov ecx, 1
jmp 0x4c9c55
cmp ecx, ebp
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x8c]
jmp 0x4c9b78
cmp ecx, ebp
jle 0x4c9c53
cmp esi, ebx
jae 0x4ca278
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 0x4ca26f
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 0x4c9c35
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 0x4c9c55
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 0x4c9c55
xor ecx, ecx
mov ebp, dword [esp + 0x1a4]
cmp esi, ebp
jae 0x4ca266
mov ebp, dword [esp + 0x1a0]
lea ebp, [ebp + esi*8]
mov edx, dword [ebp]
lea ebx, [0x68d638]
cmp edx, ebx
jne 0x4ca24a
mov dword [esp + 0x6c], esi
mov byte [esp + 0x23], cl
mov eax, dword [ebp + 4]
lea ecx, [0x603ea0]
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 0x4c9d14
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, [0x60fb20]
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 0x4c9d0e
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 0x4c9d3f
mov ebx, dword [esp + 0x8c]
jmp 0x4c9af2
call sym.runtime.gcWriteBarrier2
mov ebx, dword [esp + 0x8c]
mov dword [edi], ebx
mov ebp, dword [edx]
mov dword [edi + 4], ebp
jmp 0x4c9af2
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.go_ast.sortSpecs.func1]
mov dword [esp + 0xc0], ecx
lea ecx, [esp + 0x1a0]
mov dword [esp + 0xc4], ecx
lea ecx, [0x5f8e80]
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 0x4c9e06
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 0x4c9faf
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 0x4c9e4b
mov ebx, 1
jmp 0x4c9ea6
lea ebx, [ebp + 1]
mov edx, dword [esp + 0x70]
cmp edx, ebx
jbe 0x4ca1fc
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.go_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 0x4c9f1d
lea ebx, [esi + 1]
cmp edx, ebx
jae 0x4c9eee
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x60fa60]
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 0x4c9f16
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 0x4c9df6
mov eax, dword [ecx + 0x14]
mov dword [esp], edi
call eax
mov eax, dword [esp + 4]
test eax, eax
jne 0x4c9f31
xor ecx, ecx
jmp 0x4c9f4e
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 0x4c9df6
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 0x4c9ff0
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 0x4ca098
lea ebp, [eax + ebx*8]
mov edi, dword [ebp]
lea esi, [0x68d638]
cmp edi, esi
jne 0x4ca1e0
mov ebp, dword [ebp + 4]
mov edi, dword [ebp + 4]
test edi, edi
je 0x4ca025
cmp ebx, ecx
jae 0x4ca1d9
lea esi, [edx + ebx*8]
mov esi, dword [esi]
mov dword [edi], esi
cmp ebx, ecx
jae 0x4ca1d2
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, [0x603ea0]
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 0x4ca174
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.go_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 0x4c9fd3
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 0x4ca1b4
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 0x4ca166
mov eax, dword [ecx + ebp*4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x4ca1cc
mov edx, dword [ebx]
dec edx
mov dword [eax], edx
jmp 0x4ca19e
mov edx, dword [edx]
mov dword [eax], edx
jmp 0x4ca19e
mov eax, ebx
call sym.runtime.panicIndex
mov eax, ebx
call sym.runtime.panicIndex
mov eax, dword [0x68d63c]
mov dword [esp], edi
mov dword [esp + 4], eax
lea eax, [0x60fa60]
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 0x4c9b32
mov eax, dword [edi + 4]
test eax, eax
jbe 0x4ca293
cmp ebx, ebp
jbe 0x4ca28a
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 0x4ca205
jmp 0x4c9b2a
mov eax, dword [0x68d63c]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x60fa60]
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.go_ast.sortSpecs