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

Disassembly:
mov ecx, dword [0x5d53a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x419956
sub esp, 0x58
mov eax, dword [0x5d53a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x78], 0xe
mov edx, dword [0x5d54a0]
test edx, edx
je 0x4194c4
mov edx, dword [ecx + 0x74]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea eax, [0x4f1c38]
mov dword [ecx + 0x74], eax
lea eax, [0x4e3980]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 4]
mov dword [ecx + 0x78], 0
mov ebx, dword [0x5d54a0]
test ebx, ebx
je 0x419501
mov ebx, dword [ecx + 0x74]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
mov dword [esp + 0x40], edx
mov dword [ecx + 0x74], 0
nop
mov dword [edx + 0xc], eax
mov eax, dword [0x5d53a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ebx, dword [eax + 0x18]
nop
inc dword [ebx + 0x7c]
mov eax, dword [eax + 0x18]
nop
mov dword [edx + 0x10], eax
lea eax, [0x5b0880]
mov dword [esp], eax
call sym.runtime.notewakeup
lea eax, [0x4fb858]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov word [esp + 8], 0x141a
mov dword [esp + 0xc], 0
call sym.runtime.gopark
mov eax, dword [0x5d53a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
nop
mov ecx, dword [esp + 0x40]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x18]
mov edx, dword [edx + 0x58]
mov ebx, dword [0x5d52d4]
test ebx, ebx
je 0x4198fb
mov ebx, dword [edx + 0x950]
test ebx, ebx
je 0x4198e5
mov dword [esp + 0x48], edx
nop
call sym.runtime.nanotime1
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x48]
mov dword [ebx + 0x958], eax
mov dword [ebx + 0x954], ecx
cmp dword [ebx + 0x950], 3
je 0x4195d9
xor eax, eax
jmp 0x4195f9
lea edx, [ebx + 0x948]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call sym.runtime._limiterEvent_.start
movzx eax, byte [esp + 0x10]
mov byte [esp + 0x17], al
lea ecx, [0x5b0844]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call sym.runtime_internal_atomic.Xadd
mov eax, dword [esp + 8]
mov ecx, dword [0x5b0838]
cmp ecx, eax
je 0x419864
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [sym.runtime.gcBgMarkWorker.func2]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x54], edx
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
call sym.runtime.systemstack
nop
call sym.runtime.nanotime1
mov eax, dword [esp]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 0x950]
mov ebp, dword [esp + 4]
mov dword [esp + 0x24], ebp
lea esi, [0x5d5ae0]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x20]
sbb ecx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
call sym.runtime._gcControllerState_.markWorkerStop
movzx eax, byte [esp + 0x17]
test al, al
je 0x4196e4
mov eax, dword [esp + 0x48]
lea ecx, [eax + 0x948]
mov dword [esp], ecx
mov byte [esp + 4], 1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], ecx
call sym.runtime._limiterEvent_.stop
mov eax, dword [esp + 0x48]
cmp dword [eax + 0x950], 2
jne 0x41970f
lea ecx, [eax + 0x940]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call sym.runtime_internal_atomic.Xaddint64
lea eax, [0x5b0844]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime_internal_atomic.Xadd
mov eax, dword [esp + 8]
mov ecx, dword [0x5b0838]
cmp ecx, eax
jb 0x4197aa
mov ecx, dword [esp + 0x48]
mov dword [ecx + 0x950], 0
cmp dword [0x5b0838], eax
je 0x41974d
xor eax, eax
jmp 0x419761
mov dword [esp], 0
call sym.runtime.gcMarkWorkAvailable
movzx eax, byte [esp + 4]
xor eax, 1
test al, al
je 0x419537
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov ebp, dword [0x5d53a4]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x41979a
movzx ecx, byte [ebp + 0x65]
test cl, cl
je 0x41979a
mov dword [ebp + 8], 0xfffffade
xor ecx, ecx
nop
mov dword [eax + 0x10], ecx
call sym.runtime.gcMarkDone
jmp 0x419537
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x950]
mov dword [esp + 0x38], eax
call sym.runtime.printlock
lea eax, [0x4f626e]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call sym.runtime.printstring
mov eax, dword [esp + 0x38]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
lea eax, [0x4f1910]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4f1903]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4f4563]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call sym.runtime.throw
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
call sym.runtime.printlock
lea eax, [0x4f3a47]
mov dword [esp], eax
mov dword [esp + 4], 0x15
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x4f1903]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call sym.runtime.printstring
mov dword [esp + 4], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym.runtime.printuint
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4f5959]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call sym.runtime.throw
lea eax, [0x4f5e06]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call sym.runtime.throw
mov eax, dword [edx + 0x950]
mov dword [esp + 0x38], eax
call sym.runtime.printlock
lea eax, [0x4f153b]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x38]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
call sym.runtime.printnl
call sym.runtime.printunlock
lea eax, [0x4f862b]
mov dword [esp], eax
mov dword [esp + 4], 0x26
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime.gcBgMarkWorker