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

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x420dcf
sub esp, 0xbc
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sym.runtime._gcControllerState_.heapGoalInternal
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5fcaa4], eax
mov dword [0x5fcaa0], ecx
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
mov ebx, dword [esp + 0xc4]
sub ebx, ecx
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0xc8]
sbb ecx, edx
mov dword [esp + 0x74], 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 esi, edx
or ebp, esi
xchg ebp, eax
mov byte [esp + 0x1b], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4204af
mov edx, 0x3fd00000
xor esi, esi
jmp 0x42057a
mov edx, eax
mov eax, ebx
mov ebp, dword [esp + 0xcc]
mov esi, edx
mul ebp
mov dword [esp + 0x9c], eax
imul ecx, ebp
add ecx, edx
sar ebp, 0x1f
imul ebp, ebx
add ecx, ebp
mov dword [esp + 0x98], ecx
lea ebp, [esi + 0xc0]
mov dword [esp], ebp
call sym.runtime_internal_atomic.Loadint64
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym.runtime.fint64to64
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
call sym.runtime.fint64to64
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call sym.runtime.fdiv64
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 4], 0x3fd00000
mov dword [esp], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call sym.runtime.fadd64
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
mov esi, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], esi
lea ecx, [eax + 0x68]
mov dword [esp + 0xb8], ecx
mov dword [esp], ecx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc0]
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 edx, eax
or ebx, edx
test bl, bl
jne 0x4208e9
movzx edx, byte [esp + 0x1b]
test dl, dl
jne 0x4205d8
xor edx, edx
xor eax, eax
jmp 0x420685
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0xcc]
mov ebx, edx
mov ebp, eax
mul edx
mov dword [esp + 0x94], eax
mov esi, dword [esp + 0x74]
imul esi, ebx
add edx, esi
sar ebx, 0x1f
imul ebp, ebx
add edx, ebp
mov dword [esp + 0x90], edx
lea ebx, [ecx + 0xd8]
mov dword [esp], ebx
call sym.runtime_internal_atomic.Loadint64
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym.runtime.fint64to64
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
call sym.runtime.fint64to64
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call sym.runtime.fdiv64
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
mov ebx, dword [esp + 0x9c]
xor ebx, 0x80000000
mov dword [esp + 0x8c], ebx
lea esi, [ecx + 0xa0]
mov dword [esp + 0xb4], esi
lea edi, [ecx + 0xa8]
mov dword [esp + 0xb0], edi
lea ebx, [ecx + 0xb0]
mov dword [esp + 0xac], ebx
mov dword [esp], esi
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add esi, edi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
adc edi, edx
mov edx, dword [esp + 0x30]
add edx, esi
mov dword [esp + 0x60], edx
mov esi, dword [esp + 0x3c]
adc edi, esi
mov dword [esp + 0x64], edi
sub eax, ebx
sbb ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.runtime.fuint64to64
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x90]
mov dword [esp + 8], ebp
call sym.runtime.fadd64
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call sym.runtime.fmul64
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call sym.runtime.fint64to64
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 4], 0x3ff00000
mov dword [esp], 0
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
call sym.runtime.fadd64
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call sym.runtime.fmul64
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call sym.runtime.fdiv64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 0x20]
mov dword [esp + 0x8c], ebx
mov ebp, dword [edx + 0x24]
mov dword [esp + 0x88], ebp
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
xor esi, esi
jmp 0x420913
add esp, 0xbc
ret
mov edi, dword [esp + 0x6c]
lea esi, [edi + 1]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
cmp esi, 4
jge 0x420976
mov dword [esp + 0x6c], esi
lea eax, [edx + esi*8 + 0x28]
mov dword [esp + 0xa8], eax
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [edx + 0x20]
mov edi, dword [edx + 0x24]
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
call sym.runtime.fgt64
movzx eax, byte [esp + 0x10]
test al, al
je 0x42096a
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xc0]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
jmp 0x4208f0
mov edx, dword [esp + 0xc0]
jmp 0x4208f0
lea eax, [edx + 0x28]
mov dword [esp], eax
lea eax, [edx + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
call sym.runtime.memmove
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xc0]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 0x44], eax
mov eax, dword [0x5fc654]
test eax, eax
jle 0x420dc8
call sym.runtime.printlock
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 0xc], 0x40590000
mov dword [esp + 8], 0
call sym.runtime.fmul64
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.f64toint32
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 4], 0x40390000
mov dword [esp], 0
call sym.runtime.f64toint32
mov eax, dword [esp + 0x80]
sar eax, 0x1f
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 8]
mov dword [esp + 0x78], edx
call sym.runtime.printlock
lea eax, [0x50b345]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x50b34c]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x78]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.printint
lea eax, [0x50bddd]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0xc0]
lea ecx, [eax + 0x80]
mov dword [esp + 0xa4], ecx
lea edx, [eax + 0x90]
mov dword [esp + 0xa0], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x4c], ebp
call sym.runtime.printlock
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x50ac75]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x50ac75]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x50b7c6]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x50]
adc ecx, edx
mov edx, dword [esp + 0x1c]
add eax, edx
mov edx, dword [esp + 0x4c]
adc ecx, edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x50b7cf]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
call sym.runtime.printunlock
nop
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 0x58]
mov dword [esp + 0x9c], ebx
mov ebp, dword [edx + 0x5c]
mov dword [esp + 0x98], ebp
mov esi, dword [edx + 0x60]
mov dword [esp + 0x94], esi
mov edx, dword [edx + 0x64]
mov dword [esp + 0x90], edx
call sym.runtime.printlock
lea eax, [0x50ad25]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call sym.runtime.printuint
lea eax, [0x50b183]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call sym.runtime.printuint
lea eax, [0x50c263]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x94]
sub eax, ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x90]
sbb ecx, edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym.runtime.printint
lea eax, [0x50c26f]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call sym.runtime.printfloat
lea eax, [0x50ac77]
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
mov eax, dword [0x5fc28c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
nop
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x420dc8
nop
nop
lea eax, [0x5fc214]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0xbc
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime._gcControllerState_.endCycle