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

Disassembly:
mov ecx, dword [0x61c868]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x42205f
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call sym.runtime._gcControllerState_.heapGoal
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x61d200], eax
mov dword [0x61d204], ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
mov ebx, dword [esp + 0xa4]
sub ebx, ecx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0xa8]
sbb ecx, edx
mov dword [esp + 0x48], ecx
test ecx, ecx
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and edx, esi
or ebp, edx
xchg ebp, eax
mov byte [esp + 0x13], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4219fd
movsd xmm1, qword [0x53af88]
jmp 0x421a7c
lea ecx, [eax + 0xc0]
mov dword [esp], ecx
call sym.internal_runtime_atomic._Int64_.Load
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xac]
mov ebx, eax
mul ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, ecx
add eax, edx
sar ecx, 0x1f
imul ecx, ebx
add eax, ecx
mov dword [esp + 4], eax
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x53af88]
addsd xmm1, xmm0
mov eax, dword [esp + 0xa0]
movsd qword [esp + 0x14], xmm1
lea ecx, [eax + 0x68]
mov dword [esp + 0x98], ecx
mov dword [esp], ecx
call sym.internal_runtime_atomic._Uint64_.Load
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x5c]
cmp dword [esp + 4], edx
setbe dl
cmp eax, ebx
sete al
setb bl
and eax, edx
or ebx, eax
test bl, bl
jne 0x421cab
movzx eax, byte [esp + 0x13]
test al, al
jne 0x421ace
xorps xmm0, xmm0
jmp 0x421b41
lea eax, [ecx + 0xd8]
mov dword [esp], eax
call sym.internal_runtime_atomic._Int64_.Load
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xac]
mov ebx, eax
mul ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, ecx
add eax, edx
sar ecx, 0x1f
imul ebx, ecx
add eax, ebx
mov dword [esp + 4], eax
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0xa0]
movsd qword [esp + 0x34], xmm0
lea eax, [ecx + 0xa0]
mov dword [esp + 0x94], eax
mov dword [esp], eax
call sym.internal_runtime_atomic._Int64_.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0xa8]
mov dword [esp + 0x90], ebx
mov dword [esp], ebx
call sym.internal_runtime_atomic._Int64_.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0xb0]
mov dword [esp + 0x8c], ebx
mov dword [esp], ebx
call sym.internal_runtime_atomic._Int64_.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call sym.internal_runtime_atomic._Uint64_.Load
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x34]
addsd xmm1, xmm0
movsd qword [esp + 0x84], xmm1
movsd xmm2, qword [0x53aeb8]
subsd xmm2, xmm0
movsd qword [esp + 0x64], xmm2
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
add esi, edi
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
adc edi, edx
mov edx, dword [esp + 0x70]
add esi, edx
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x6c]
adc edi, edx
mov dword [esp + 0x20], edi
sub eax, ebx
mov dword [esp], eax
sbb ecx, ebp
mov dword [esp + 4], ecx
call sym.runtime.uint64tofloat64
movsd xmm0, qword [esp + 0x84]
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x84]
divsd xmm1, xmm0
mov eax, dword [esp + 0xa0]
movsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x20], xmm1
xor ecx, ecx
jmp 0x421cb3
add esp, 0x9c
ret
inc ecx
cmp ecx, 4
jge 0x421cd0
movsd xmm2, qword [eax + ecx*8 + 0x28]
movsd xmm3, qword [eax + 0x20]
ucomisd xmm2, xmm3
jbe 0x421cb2
movsd qword [eax + 0x20], xmm2
jmp 0x421cb2
movsd qword [esp + 0x3c], xmm1
movsd qword [esp + 0x24], xmm0
lea ecx, [eax + 0x28]
mov dword [esp], ecx
lea ecx, [eax + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
call sym.runtime.memmove
movsd xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0xa0]
movsd qword [eax + 0x40], xmm0
mov ecx, dword [0x61cc38]
test ecx, ecx
jle 0x422058
call sym.runtime.printlock
call sym.runtime.printlock
lea eax, [0x52547a]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [0x53afd8]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x525481]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov dword [esp], 0x19
mov dword [esp + 4], 0
call sym.runtime.printint
lea eax, [0x526196]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call sym.internal_runtime_atomic._Int64_.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call sym.internal_runtime_atomic._Int64_.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call sym.internal_runtime_atomic._Int64_.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x80]
mov dword [esp], ebx
call sym.internal_runtime_atomic._Uint64_.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x90]
mov dword [esp], ebx
call sym.internal_runtime_atomic._Uint64_.Load
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x4c], ebp
call sym.runtime.printlock
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x524d1a]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x524d1a]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x5259c8]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
adc ecx, edx
mov edx, dword [esp + 0x50]
add eax, edx
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
adc ecx, eax
mov dword [esp + 4], ecx
call sym.runtime.printuint
lea eax, [0x5259d1]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call sym.internal_runtime_atomic._Uint64_.Load
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x58]
mov dword [esp + 0x80], ebx
mov ebp, dword [edx + 0x5c]
mov dword [esp + 0x78], ebp
mov esi, dword [edx + 0x60]
mov dword [esp + 0x70], esi
mov edx, dword [edx + 0x64]
mov dword [esp + 0x60], edx
call sym.runtime.printlock
lea eax, [0x524e51]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call sym.runtime.printuint
lea eax, [0x525286]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call sym.runtime.printuint
lea eax, [0x52671f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
sbb eax, ecx
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x52672b]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call sym.runtime.printfloat
lea eax, [0x524d16]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
call sym.runtime.printunlock
call sym.runtime.printlock
call sym.runtime.printnl
call sym.runtime.printunlock
call sym.runtime.printunlock
add esp, 0x9c
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime._gcControllerState_.endCycle