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

Disassembly:
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x46dbba
sub esp, 0xe4
nop
lea eax, [0x773320]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call sym.runtime.semacquire1
nop
lea eax, [0x792f34]
mov dword [esp], eax
call sym.internal_runtime_atomic.Loaduintptr
mov eax, dword [esp + 4]
test eax, eax
je 0x46d5aa
mov dword [esp + 0x3c], eax
mov dword [esp], eax
call sym.runtime.traceFrequency
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [sym.runtime.traceAdvance.func1]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0xd0]
mov dword [esp], ecx
call sym.runtime.forEachGRace
movzx eax, byte [esp + 0xe8]
test al, al
jne 0x46d3e5
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
jne 0x46d3da
mov edx, 4
jmp 0x46d3dd
lea edx, [ecx + 1]
mov dword [esp], edx
call sym.runtime.traceRegisterLabelsAndReasons
nop
lea eax, [0x773308]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call sym.runtime.semacquire1
mov eax, dword [0x7b1178]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x3c]
mov dword [0x792f38], ecx
movzx edx, byte [esp + 0xe8]
test dl, dl
jne 0x46d46a
cmp ecx, 0xffffffff
jne 0x46d449
mov ebx, 4
jmp 0x46d44c
lea ebx, [ecx + 1]
lea eax, [0x792f34]
mov dword [esp], eax
mov dword [esp + 4], ebx
call sym.internal_runtime_atomic.Storeuintptr
movzx eax, byte [esp + 0xe8]
test al, al
jmp 0x46d482
lea eax, [0x635308]
mov dword [esp], eax
call sym.runtime.systemstack
movzx eax, byte [esp + 0xe8]
test al, al
jne 0x46d4df
movzx ecx, byte [0x792f30]
test cl, cl
jne 0x46d495
xor ecx, ecx
xor edx, edx
jmp 0x46d4a3
call sym.runtime.traceAcquireEnabled
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x74], edx
mov eax, dword [0x7b1118]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.traceLocker.Gomaxprocs
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
movzx eax, byte [esp + 0xe8]
test al, al
jne 0x46d540
mov ecx, dword [0x7b1094]
cmp ecx, 1
je 0x46d4f1
cmp ecx, 2
jne 0x46d540
movzx ecx, byte [0x792f30]
test cl, cl
jne 0x46d502
xor ecx, ecx
xor edx, edx
jmp 0x46d510
call sym.runtime.traceAcquireEnabled
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x70], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.traceLocker.GCActive
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call sym.runtime.traceRelease
movzx eax, byte [esp + 0xe8]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
nop
mov ebp, dword [0x7b1178]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x46d56f
movzx ecx, byte [ebp + 0x69]
test cl, cl
je 0x46d56f
mov dword [ebp + 8], 0xfffffade
nop
lea eax, [0x773308]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call sym.runtime.semrelease1
nop
nop
lea eax, [0x793798]
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x791824]
mov dword [esp + 0xb4], eax
jmp 0x46d5d9
nop
lea eax, [0x773320]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call sym.runtime.semrelease1
add esp, 0xe4
ret
mov dword [eax + 0x1a8], edx
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x46d5ff
mov ecx, dword [0x7b12d0]
mov edx, dword [eax + 0xb0]
test ecx, ecx
je 0x46d5cd
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x1a8]
mov dword [edi + 4], ecx
jmp 0x46d5cd
mov eax, dword [0x793810]
jmp 0x46d61a
mov dword [eax + 0x1a8], edx
mov dword [esp + 0xb4], eax
mov eax, dword [eax + 0x198]
test eax, eax
je 0x46d641
mov ecx, dword [0x7b12d0]
mov edx, dword [esp + 0xb4]
test ecx, ecx
je 0x46d607
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x1a8]
mov dword [edi + 4], ecx
jmp 0x46d607
nop
nop
lea eax, [0x793798]
mov dword [esp], eax
call sym.runtime.unlock2
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea eax, [sym.runtime.traceAdvance.func3]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0xc4]
mov dword [esp], ecx
call sym.runtime.systemstack
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
xor ebx, ebx
xor ebp, ebp
jmp 0x46d6c0
mov eax, dword [esp + 0xe0]
add eax, 0x24
mov ecx, dword [esp + 0x6c]
dec ecx
test ecx, ecx
jle 0x46d7ea
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xe0], eax
lea edi, [esp + 0x88]
mov esi, eax
call fcn.00470486
mov ecx, dword [esp + 0x88]
test byte [ecx], al
mov eax, 0xaaaaaaab
mov ebx, dword [esp + 0x3c]
mul ebx
shr edx, 1
lea edx, [edx + edx*2]
sub ebx, edx
lea ecx, [ecx + ebx*4 + 0xec]
mov dword [esp], ecx
call sym.internal_runtime_atomic.Load
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x46d736
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x44]
jmp 0x46d6b1
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0xa8]
mov dword [esp], eax
mov byte [esp + 4], cl
call sym.runtime.goStatusToTraceGoStatus
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x98]
movzx esi, byte [esp + 0xa9]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0xac]
mov dword [esp], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
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 + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
call sym.runtime.traceWriter.writeGoStatus
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
jmp 0x46d6b1
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call sym.runtime.traceWriter.flush
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46d814
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
and ecx, 1
mov dword [eax + ecx*4 + 0x1a0], edx
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 + 0x60], eax
lea edx, [eax + eax*4]
shl edx, 5
mov dword [esp + 0x6c], edx
lea ebx, [0x7929d8]
add ebx, edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime._traceStackTable_.dump
mov eax, dword [esp + 0x6c]
lea ecx, [0x792c68]
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 + 0x60]
imul ecx, eax, 0xa8
lea edx, [0x792b18]
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 + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x54]
mov dword [esp], ecx
call sym.runtime.systemstack
mov eax, dword [0x7b1178]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [0x791afc]
mov edx, ecx
shl ecx, 2
mov ebx, dword [0x791b00]
sub ebx, edx
mov dword [esp + 0x6c], ebx
mov edx, ebx
neg ebx
sar ebx, 0x1f
and ecx, ebx
add ecx, dword [0x791af8]
mov dword [esp + 0xdc], ecx
mov eax, dword [eax + 0x18]
mov dword [esp + 0xb0], eax
xor ebx, ebx
jmp 0x46d92e
test byte [ebp], al
lea eax, [ebp + 0x910]
mov dword [esp], eax
mov dword [esp + 4], edi
call sym.runtime._traceSchedResourceState_.readyNextGen
mov eax, dword [esp + 0x5c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x6c]
cmp ebx, edx
jge 0x46d94e
mov dword [esp + 0x5c], ebx
mov ebp, dword [ecx + ebx*4]
mov esi, dword [esp + 0x3c]
cmp esi, 0xffffffff
jne 0x46d949
mov edi, 4
jmp 0x46d900
lea edi, [esi + 1]
jmp 0x46d900
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x7b1178]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x46d98f
movzx eax, byte [ebx + 0x69]
test al, al
je 0x46d983
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xe8]
test al, al
jmp 0x46d999
movzx eax, byte [esp + 0xe8]
test al, al
jmp 0x46d999
movzx eax, byte [esp + 0xe8]
test al, al
je 0x46d9f1
nop
lea eax, [0x773324]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call sym.runtime.semacquire1
call sym.runtime.traceStopReadCPU
movzx eax, byte [0x792f31]
test al, al
je 0x46da7b
mov byte [0x792f31], 0
movzx eax, byte [0x792f54]
mov byte [0x7b15a0], al
jmp 0x46da7b
nop
lea eax, [0x773308]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call sym.runtime.semacquire1
nop
mov dword [esp + 0xb8], 0
mov byte [esp + 0xbc], 0
lea eax, [sym.runtime.traceAdvance.forEachP.func7]
mov dword [esp + 0xb8], eax
mov byte [esp + 0xbc], 0x22
lea eax, [0x635310]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xb8]
mov dword [esp], eax
call sym.runtime.systemstack
nop
lea eax, [0x773308]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call sym.runtime.semrelease1
mov eax, dword [esp + 0x60]
lea ecx, [0x7929cc]
lea eax, [ecx + eax*4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call sym.runtime.semacquire1
lea eax, [sym.runtime.traceAdvance.func6]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
movzx eax, byte [esp + 0xe8]
mov byte [esp + 0x50], al
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call sym.runtime.systemstack
movzx eax, byte [esp + 0xe8]
test al, al
je 0x46db05
mov ecx, dword [0x7b1178]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [0x791af8]
mov ebx, dword [0x791b00]
mov ecx, dword [ecx + 0x18]
xor ebp, ebp
jmp 0x46db7e
lea eax, [0x773320]
mov dword [esp], eax
mov byte [esp + 4], 1
mov dword [esp + 8], 0
call sym.runtime.semrelease1
movzx eax, byte [esp + 0xe8]
test al, al
je 0x46db56
lea eax, [0x7919e0]
mov dword [esp], eax
call sym.runtime._traceAdvancerState_.stop
nop
lea eax, [0x773324]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call sym.runtime.semrelease1
add esp, 0xe4
ret
mov esi, dword [edx + ebp*4]
mov word [esi + 0x934], 0
mov dword [esi + 0x938], 0
mov dword [esi + 0x93c], 0
inc ebp
cmp ebp, ebx
jl 0x46db5d
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
nop
mov ebp, dword [0x7b1178]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x46db05
movzx ecx, byte [ebp + 0x69]
test cl, cl
je 0x46db05
mov dword [ebp + 8], 0xfffffade
jmp 0x46db05
call sym.runtime.morestack_noctxt
jmp sym.runtime.traceAdvance