Function at 0x41bbc0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x52054c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x41c57f
sub esp, 0xbc
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call sym.runtime._gcControllerState_.heapGoalInternal
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x520dc0], eax
mov dword [0x520dc4], 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 0x41bc5f
xor edx, edx
mov esi, 0x3fd00000
jmp 0x41bd2c
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 + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime.fint64to64
mov ecx, dword [esp + 8]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
call sym.runtime.fint64to64
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
call sym.runtime.fdiv64
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], 0
mov dword [esp + 4], 0x3fd00000
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.runtime.fadd64
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
mov esi, edx
mov edx, 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 + 0xc0]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ebx, dword [esp + 8]
cmp dword [esp + 4], ecx
setbe cl
cmp ebx, edx
sete dl
setb bl
and ecx, edx
or ebx, ecx
test bl, bl
jne 0x41c09b
movzx ecx, byte [esp + 0x1b]
test cl, cl
jne 0x41bd8a
xor ecx, ecx
xor edx, edx
jmp 0x41be37
mov ecx, eax
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 + 4]
mov edx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], edx
call sym.runtime.fint64to64
mov ecx, dword [esp + 8]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
call sym.runtime.fint64to64
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
call sym.runtime.fdiv64
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x98]
xor ebx, 0x80000000
mov dword [esp + 0x8c], ebx
lea esi, [eax + 0xa0]
mov dword [esp + 0xb4], esi
lea edi, [eax + 0xa8]
mov dword [esp + 0xb0], edi
lea ebx, [eax + 0xb0]
mov dword [esp + 0xac], ebx
mov dword [esp], esi
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xac]
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 + 0x58], ecx
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
add esi, edi
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
adc edi, eax
mov eax, dword [esp + 0x34]
add esi, eax
mov dword [esp + 0x64], esi
mov eax, dword [esp + 0x58]
adc edi, eax
mov dword [esp + 0x68], edi
sub ebx, ecx
mov dword [esp], ebx
sbb ebp, edx
mov dword [esp + 4], ebp
call sym.runtime.fuint64to64
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x90]
mov dword [esp + 0xc], ebp
call sym.runtime.fadd64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.fmul64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
call sym.runtime.fint64to64
mov eax, dword [esp + 8]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x84], ecx
mov dword [esp], 0
mov dword [esp + 4], 0x3ff00000
mov edx, dword [esp + 0x9c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0xc], ebx
call sym.runtime.fadd64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x88]
mov dword [esp], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.fmul64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 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 0x41c0c5
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 0x41c128
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], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
call sym.runtime.fgt64
movzx eax, byte [esp + 0x10]
test al, al
je 0x41c11c
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 0x41c0a2
mov edx, dword [esp + 0xc0]
jmp 0x41c0a2
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 [0x5207f8]
test eax, eax
jle 0x41c578
call sym.runtime.printlock
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x40590000
call sym.runtime.fmul64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.f64toint32
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp], 0
mov dword [esp + 4], 0x40390000
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, [0x477531]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
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, [0x477538]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
mov eax, dword [esp + 0x78]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x477d2c]
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 + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], 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 + 0x20], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x44], ebp
call sym.runtime.printlock
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x47719d]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x47719d]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x477859]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x24]
add eax, ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x48]
adc ecx, edx
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp], eax
mov eax, dword [esp + 0x44]
adc ecx, eax
mov dword [esp + 4], ecx
call sym.runtime.printuint
lea eax, [0x477862]
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 + 0xc0]
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x98], edx
mov ebx, dword [eax + 0x60]
mov dword [esp + 0x94], ebx
mov eax, dword [eax + 0x64]
mov dword [esp + 0x90], eax
mov ebp, dword [esp + 4]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 8]
mov dword [esp + 0x40], esi
call sym.runtime.printlock
lea eax, [0x4771f0]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call sym.runtime.printuint
lea eax, [0x47740a]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
call sym.runtime.printuint
lea eax, [0x47806e]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
sub eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x90]
sbb eax, ecx
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x47807a]
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, [0x4771a0]
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 [0x52054c]
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 0x41c578
nop
nop
lea eax, [0x5204ec]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0xbc
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime._gcControllerState_.endCycle