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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x41dbba
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call dbg.runtime.(*gcControllerState).heapGoalInternal
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x582acc], eax
mov dword [0x582ac8], ecx
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0xc8]
mov edx, dword [eax + 0xcc]
mov ebx, dword [esp + 0xa0]
sub ebx, ecx
mov dword [esp + 0x50], ebx
mov ecx, dword [esp + 0xa4]
sbb ecx, edx
mov dword [esp + 0x54], ecx
test ebx, ebx
seta dl
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, edx
or esi, ebp
xchg esi, eax
mov byte [esp + 0x17], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x41d582
movsd xmm1, qword [0x4efd24]
jmp 0x41d61a
mov ecx, eax
mov eax, ebx
mov edx, dword [esp + 0xa8]
mul edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
lea esi, [ecx + 0xa8]
mov dword [esp], esi
call dbg.runtime/internal/atomic.Loadint64
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dbg.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xa8]
imul ecx, edx
mov ebp, dword [esp + 0x64]
add ecx, ebp
sar edx, 0x1f
mov esi, dword [esp + 0x50]
imul edx, esi
add ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call dbg.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x80]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x4efd24]
addsd xmm1, xmm0
mov eax, dword [esp + 0x9c]
movsd qword [esp + 0x68], xmm1
lea ecx, [eax + 0x50]
mov dword [esp + 0x94], ecx
mov dword [esp], ecx
call dbg.runtime/internal/atomic.Load64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x9c]
cmp dword [ecx + 0x40], eax
setae al
mov edx, dword [esp + 8]
mov ebx, dword [ecx + 0x44]
cmp edx, ebx
sete dl
setb bl
and edx, eax
or ebx, edx
test bl, bl
jne 0x41dbb3
movzx edx, byte [esp + 0x17]
test dl, dl
jne 0x41d66f
xorps xmm0, xmm0
jmp 0x41d6fb
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0xa8]
mul edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
lea esi, [ecx + 0xc0]
mov dword [esp], esi
call dbg.runtime/internal/atomic.Loadint64
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dbg.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x80], xmm0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xa8]
imul ecx, edx
mov ebx, dword [esp + 0x64]
add ecx, ebx
sar edx, 0x1f
mov ebx, dword [esp + 0x50]
imul ebx, edx
add ecx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
call dbg.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x80]
divsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0x9c]
movsd qword [esp + 0x78], xmm0
lea eax, [ecx + 0x88]
mov dword [esp + 0x90], eax
mov dword [esp], eax
call dbg.runtime/internal/atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x9c]
lea ebx, [edx + 0x90]
mov dword [esp + 0x8c], ebx
mov dword [esp], ebx
call dbg.runtime/internal/atomic.Loadint64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x2c]
add edx, eax
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x30]
adc eax, ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x9c]
lea ebx, [ecx + 0x98]
mov dword [esp + 0x88], ebx
mov dword [esp], ebx
call dbg.runtime/internal/atomic.Loadint64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x64]
add eax, edx
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x5c]
adc edx, ecx
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
call dbg.runtime/internal/atomic.Load64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x9c]
mov ebx, dword [edx + 0x40]
mov ebp, dword [edx + 0x44]
sub eax, ebx
sbb ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004587f0
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x78]
addsd xmm1, xmm0
mulsd xmm1, qword [esp + 8]
movsd qword [esp + 0x80], xmm1
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call dbg.runtime.int64tofloat64
movsd xmm0, qword [0x4efd44]
movsd xmm1, qword [esp + 0x68]
subsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
movsd xmm2, qword [esp + 0x80]
divsd xmm2, xmm0
mov eax, dword [esp + 0x9c]
movsd xmm0, qword [eax + 0x20]
movsd xmm3, qword [eax + 0x28]
addsd xmm3, xmm2
movsd xmm4, qword [0x4efd34]
mulsd xmm3, xmm4
movsd qword [eax + 0x20], xmm3
movsd qword [eax + 0x28], xmm2
mov ecx, dword [0x5824d0]
test ecx, ecx
jle 0x41dbac
movsd qword [esp + 0x70], xmm0
call dbg.runtime.printlock
call dbg.runtime.printlock
lea eax, [0x4ce5b6]
mov dword [esp], eax
mov dword [esp + 4], 7
call dbg.runtime.printstring
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [0x4efd84]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call dbg.runtime.printint
lea eax, [0x4ce419]
mov dword [esp], eax
mov dword [esp + 4], 7
call dbg.runtime.printstring
mov dword [esp + 4], 0
mov dword [esp], 0x19
call dbg.runtime.printint
lea eax, [0x4cee36]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call dbg.runtime.printstring
call fcn.00435d30
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call dbg.runtime/internal/atomic.Loadint64
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call dbg.runtime/internal/atomic.Loadint64
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x88]
mov dword [esp], edx
call dbg.runtime/internal/atomic.Loadint64
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x9c]
lea ebx, [edx + 0x68]
mov dword [esp], ebx
call dbg.runtime/internal/atomic.Load64
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x9c]
lea ebx, [edx + 0x78]
mov dword [esp], ebx
call dbg.runtime/internal/atomic.Load64
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x60]
mov edx, dword [eax + 0x64]
mov ebx, dword [esp + 0x1c]
add ecx, ebx
mov ebx, dword [esp + 0x38]
adc edx, ebx
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
add ebx, ecx
mov dword [esp + 0x64], ebx
adc edx, ebp
mov dword [esp + 0x5c], edx
call dbg.runtime.printlock
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dbg.runtime.printint
lea eax, [0x4cdd76]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call dbg.runtime.printint
lea eax, [0x4cdd76]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dbg.runtime.printint
lea eax, [0x4ce881]
mov dword [esp], eax
mov dword [esp + 4], 9
call dbg.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call dbg.runtime.printuint
lea eax, [0x4ce878]
mov dword [esp], eax
mov dword [esp + 4], 9
call dbg.runtime.printstring
call fcn.00435d30
nop
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call dbg.runtime/internal/atomic.Load64
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x4c]
mov ebx, dword [esp + 8]
mov dword [esp + 0x34], ebx
mov ebp, dword [esp + 4]
mov dword [esp + 0x18], ebp
sub ebp, ecx
mov dword [esp + 0x64], ebp
sbb ebx, edx
mov dword [esp + 0x5c], ebx
mov edx, dword [eax + 0x40]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0x44]
mov dword [esp + 0x58], eax
call dbg.runtime.printlock
lea eax, [0x4cdf01]
mov dword [esp], eax
mov dword [esp + 4], 3
call dbg.runtime.printstring
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call dbg.runtime.printuint
lea eax, [0x4ce1d1]
mov dword [esp], eax
mov dword [esp + 4], 6
call dbg.runtime.printstring
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dbg.runtime.printuint
lea eax, [0x4cf1e8]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call dbg.runtime.printstring
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call dbg.runtime.printint
lea eax, [0x4cf2e4]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call dbg.runtime.printstring
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
call dbg.runtime.printfloat
lea eax, [0x4cdd75]
mov dword [esp], eax
mov dword [esp + 4], 1
call dbg.runtime.printstring
call fcn.00435d30
call dbg.runtime.printlock
call dbg.runtime.printnl
call fcn.00435d30
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x41dbac
nop
lea eax, [0x5821b4]
mov dword [esp], eax
call dbg.runtime.unlock2
add esp, 0x98
ret
add esp, 0x98
ret
call dbg.runtime.morestack_noctxt
jmp dbg.runtime.(*gcControllerState).endCycle