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

Disassembly:
mov ecx, dword [0x5999e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4188f4
sub esp, 0x48
nop
lea eax, [0x55b7fc]
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
jmp 0x418643
mov dword [eax + 0x74], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [sym.runtime.gcMarkDone.func4]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
mov dword [esp], ecx
call sym.runtime.systemstack
nop
lea eax, [0x54b28c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call sym.runtime.semrelease1
cmp dword [0x599928], 1
jne 0x4188d4
mov eax, dword [0x55b7c4]
cmp dword [0x55b7b8], eax
jne 0x4188d4
mov dword [esp], 0
call sym.runtime.gcMarkWorkAvailable
movzx eax, byte [esp + 4]
test al, al
jne 0x4188d4
nop
lea eax, [0x54b28c]
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 dword [0x599930], 0
nop
mov dword [esp + 0x3c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], 0
lea eax, [sym.runtime.gcMarkDone.forEachP.func5]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x40], 0x1e
lea ecx, [0x4c4df4]
mov dword [esp + 0x44], ecx
lea edx, [esp + 0x3c]
mov dword [esp], edx
call sym.runtime.systemstack
mov eax, dword [0x599930]
test eax, eax
je 0x418714
nop
lea eax, [0x54b28c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call sym.runtime.semrelease1
jmp 0x418643
nop
call sym.runtime.nanotime1
mov eax, dword [esp]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
mov dword [0x55b848], eax
mov dword [0x55b84c], ecx
mov edx, dword [0x5999e8]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov dword [edx + 0x78], 5
mov ebx, dword [0x599a90]
test ebx, ebx
je 0x41875e
mov ebx, dword [edx + 0x74]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebx
lea eax, [0x4b9f01]
mov dword [edx + 0x74], eax
mov byte [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [sym.runtime.gcMarkDone.func2]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x20]
mov dword [esp + 0x38], edx
lea ebx, [esp + 0x34]
mov dword [esp], ebx
call sym.runtime.systemstack
mov byte [esp + 0x17], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea eax, [sym.runtime.gcMarkDone.func3]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x17]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
call sym.runtime.systemstack
movzx eax, byte [esp + 0x17]
test al, al
je 0x418818
mov eax, dword [0x5999e8]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x78], 0
mov ecx, dword [0x599a90]
test ecx, ecx
je 0x4185f2
mov ecx, dword [eax + 0x74]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
jmp 0x4185f2
call sym.runtime.gcComputeStartingStackSize
lea eax, [0x59992c]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime_internal_atomic.Store
lea eax, [0x599c80]
mov dword [esp], eax
mov byte [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
call sym.runtime._gcCPULimiterState_.startGCTransition
call sym.runtime.gcWakeAllAssists
nop
lea eax, [0x55b7fc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call sym.runtime.semrelease1
mov byte [esp], 1
call sym.runtime.schedEnableUser
mov eax, dword [0x5999b4]
movzx ecx, byte [0x55b80c]
lea edx, [0x59a260]
mov dword [esp], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], cl
call sym.runtime._gcControllerState_.endCycle
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov byte [esp], al
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.gcMarkTermination
add esp, 0x48
ret
nop
lea eax, [0x55b7fc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call sym.runtime.semrelease1
add esp, 0x48
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime.gcMarkDone