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

Disassembly:
mov ecx, dword [0x61c868]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x4c]
cmp eax, dword [ecx + 8]
jbe 0x47320c
sub esp, 0xcc
lea eax, [0x5d8360]
mov dword [esp], eax
call sym.runtime.semacquire
lea eax, [0x5fde94]
mov dword [esp], eax
call sym.internal_runtime_atomic._Uintptr_.Load
mov eax, dword [esp + 4]
test eax, eax
je 0x472d35
mov dword [esp + 0x3c], eax
mov dword [esp], eax
call sym.runtime.traceFrequency
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [sym.runtime.traceAdvance.func1]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc4], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0xc8], ecx
lea ecx, [esp + 0xc0]
mov dword [esp], ecx
call sym.runtime.forEachGRace
movzx eax, byte [esp + 0xd0]
test al, al
jne 0x472c00
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.runtime.traceNextGen
mov eax, dword [esp + 4]
mov dword [esp], eax
call sym.runtime.traceRegisterLabelsAndReasons
lea eax, [0x5d834c]
mov dword [esp], eax
call sym.runtime.semacquire
call sym.runtime.acquirem
mov eax, dword [esp]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x3c]
mov dword [0x5fde98], ecx
movzx edx, byte [esp + 0xd0]
test dl, dl
je 0x472c4d
lea eax, [0x532b8c]
mov dword [esp], eax
call sym.runtime.systemstack
movzx eax, byte [esp + 0xd0]
test al, al
jmp 0x472c6d
mov dword [esp], ecx
call sym.runtime.traceNextGen
lea eax, [0x5fde94]
mov dword [esp], eax
call sym.internal_runtime_atomic._Uintptr_.Store
movzx eax, byte [esp + 0xd0]
test al, al
jne 0x472cb6
call sym.runtime.traceAcquire
mov eax, dword [esp]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [0x61c80c]
mov dword [esp + 8], edx
call sym.runtime.traceLocker.Gomaxprocs
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
movzx eax, byte [esp + 0xd0]
test al, al
jne 0x472cfb
mov ecx, dword [0x61c788]
cmp ecx, 1
je 0x472cc8
cmp ecx, 2
jne 0x472cfb
call sym.runtime.traceAcquire
mov eax, dword [esp]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
call sym.runtime.traceLocker.GCActive
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sym.runtime.releasem
lea eax, [0x5d834c]
mov dword [esp], eax
call sym.runtime.semrelease
lea eax, [0x5fee98]
mov dword [esp], eax
call sym.runtime.lock
mov eax, dword [0x5fc638]
mov dword [esp + 0xa4], eax
jmp 0x472d56
lea eax, [0x5d8360]
mov dword [esp], eax
call sym.runtime.semrelease
add esp, 0xcc
ret
mov dword [eax + 0x1a8], edx
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x472d7c
mov ecx, dword [0x61c998]
mov edx, dword [eax + 0xb0]
test ecx, ecx
je 0x472d4a
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x1a8]
mov dword [edi + 4], ecx
jmp 0x472d4a
mov eax, dword [0x5fef10]
jmp 0x472d97
mov dword [eax + 0x1a8], edx
mov dword [esp + 0xa4], eax
mov eax, dword [eax + 0x198]
test eax, eax
je 0x472dbe
mov ecx, dword [0x61c998]
mov edx, dword [esp + 0xa4]
test ecx, ecx
je 0x472d84
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x1a8]
mov dword [edi + 4], ecx
jmp 0x472d84
lea eax, [0x5fee98]
mov dword [esp], eax
call sym.runtime.unlock
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
lea eax, [sym.runtime.traceAdvance.func3]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa4]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xbc], eax
lea ecx, [esp + 0xb4]
mov dword [esp], ecx
call sym.runtime.systemstack
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.unsafeTraceWriter
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x6c]
jmp 0x472e50
mov eax, dword [esp + 0xac]
add eax, 0x24
mov ebp, dword [esp + 0x4c]
dec ebp
test ebp, ebp
jle 0x472f61
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0xac], eax
lea edi, [esp + 0x74]
mov esi, eax
call fcn.00475946
mov ecx, dword [esp + 0x74]
test byte [ecx], al
add ecx, 0xec
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call sym.runtime._traceSchedResourceState_.statusWasTraced
movzx eax, byte [esp + 8]
test al, al
je 0x472eb3
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x38]
jmp 0x472e41
mov eax, dword [esp + 0x90]
movzx ecx, byte [esp + 0x94]
mov dword [esp], eax
mov byte [esp + 4], cl
call sym.runtime.goStatusToTraceGoStatus
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x84]
movzx esi, byte [esp + 0x95]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x44], edi
mov edi, dword [esp + 0x98]
mov dword [esp], edi
mov edi, dword [esp + 0x34]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov byte [esp + 0x1c], al
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
call sym.runtime.traceWriter.writeGoStatus
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
jmp 0x472e41
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call sym.runtime.traceWriter.flush
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.traceWriter.end
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.runtime.traceReadCPU
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.runtime.traceCPUFlush
mov eax, dword [esp + 0x3c]
mov ecx, eax
and eax, 1
mov dword [esp + 0x50], eax
lea edx, [eax + eax*4]
shl edx, 5
mov dword [esp + 0x4c], edx
lea ebx, [0x5fd938]
add ebx, edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime._traceStackTable_.dump
mov eax, dword [esp + 0x4c]
lea ecx, [0x5fdbc8]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call sym.runtime._traceTypeTable_.dump
mov eax, dword [esp + 0x50]
imul ecx, eax, 0xa8
lea edx, [0x5fda78]
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call sym.runtime._traceStringTable_.reset
lea eax, [sym.runtime.traceAdvance.func4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x60]
mov dword [esp], ecx
call sym.runtime.systemstack
call sym.runtime.acquirem
mov eax, dword [0x5fcbdc]
mov ecx, eax
shl eax, 2
mov edx, dword [0x5fcbe0]
sub edx, ecx
mov dword [esp + 0x4c], edx
mov ecx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp]
mov dword [esp + 0xa0], edx
add eax, dword [0x5fcbd8]
mov dword [esp + 0xa8], eax
xor ebx, ebx
jmp 0x4730b5
mov dword [esp + 0x40], ebx
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp], edx
call sym.runtime.traceNextGen
mov eax, dword [esp + 0x9c]
test byte [eax], al
add eax, 0x910
mov dword [esp], eax
call sym.runtime._traceSchedResourceState_.readyNextGen
mov eax, dword [esp + 0x40]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xa0]
cmp ebx, ecx
jl 0x47306c
mov dword [esp], edx
call sym.runtime.releasem
movzx eax, byte [esp + 0xd0]
test al, al
je 0x473101
lea eax, [0x5d8364]
mov dword [esp], eax
call sym.runtime.semacquire
call sym.runtime.traceStopReadCPU
movzx eax, byte [0x5fde91]
test al, al
je 0x473130
mov byte [0x5fde91], 0
movzx eax, byte [0x5fdeb4]
mov byte [0x61cc80], al
jmp 0x473130
lea eax, [0x5d834c]
mov dword [esp], eax
call sym.runtime.semacquire
mov byte [esp], 0x22
lea eax, [0x532b90]
mov dword [esp + 4], eax
call sym.runtime.forEachP
lea eax, [0x5d834c]
mov dword [esp], eax
call sym.runtime.semrelease
mov eax, dword [esp + 0x50]
lea ecx, [0x5fd92c]
lea eax, [ecx + eax*4]
mov dword [esp], eax
call sym.runtime.semacquire
lea eax, [sym.runtime.traceAdvance.func6]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
movzx eax, byte [esp + 0xd0]
mov byte [esp + 0x5c], al
lea ecx, [esp + 0x54]
mov dword [esp], ecx
call sym.runtime.systemstack
movzx eax, byte [esp + 0xd0]
test al, al
je 0x473193
call sym.runtime.acquirem
mov eax, dword [esp]
mov ecx, dword [0x5fcbd8]
mov edx, dword [0x5fcbe0]
xor ebx, ebx
jmp 0x4731fe
lea eax, [0x5d8360]
mov dword [esp], eax
mov byte [esp + 4], 1
mov dword [esp + 8], 0
call sym.runtime.semrelease1
movzx eax, byte [esp + 0xd0]
test al, al
je 0x4731d6
lea eax, [0x5fc968]
mov dword [esp], eax
call sym.runtime._traceAdvancerState_.stop
lea eax, [0x5d8364]
mov dword [esp], eax
call sym.runtime.semrelease
add esp, 0xcc
ret
mov ebp, dword [ecx + ebx*4]
mov word [ebp + 0x934], 0
mov dword [ebp + 0x938], 0
mov dword [ebp + 0x93c], 0
inc ebx
cmp ebx, edx
jl 0x4731dd
mov dword [esp], eax
call sym.runtime.releasem
jmp 0x473193
call sym.runtime.morestack_noctxt
jmp sym.runtime.traceAdvance