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

Disassembly:
mov ecx, dword [0x5fc28c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x423339
sub esp, 0x70
mov eax, dword [esp + 0x74]
test byte [eax], al
nop
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x5fc28c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
cmp dword [ecx + 4], eax
jne 0x423322
mov dword [esp + 4], 0x412e8480
mov dword [esp], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 8], ecx
call sym.runtime.fgt64
movzx eax, byte [esp + 0x10]
test al, al
je 0x422f54
mov eax, 0x412e8480
xor ecx, ecx
jmp 0x422f5c
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], 0x3ff00000
mov dword [esp + 8], 0
call sym.runtime.fmul64
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebx
call sym.runtime.fdiv64
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.runtime.f64toint64
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 8]
mov dword [esp + 0x44], edx
test ecx, ecx
je 0x423006
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
nop
nop
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x64]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x4230fe
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
nop
call sym.runtime.nanotime1
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x38], ebx
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x20]
nop
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
add ecx, edx
mov edx, dword [esp + 0x48]
adc edx, ebx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call sym.runtime.modtimer
mov eax, dword [esp + 0x74]
mov byte [eax + 8], 1
nop
lea ecx, [0x516934]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov word [esp + 8], 0x1313
mov dword [esp + 0xc], 2
call sym.runtime.gopark
call sym.runtime.nanotime1
mov eax, dword [esp]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
nop
nop
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call sym.runtime.lock2
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call sym.runtime.deltimer
nop
nop
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
sbb ecx, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0x58]
mov esi, dword [ebx + 0x5c]
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setg bl
xchg edi, ebx
test ebp, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, esi
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x4231a6
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call sym.runtime.f64toint64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
mov esi, dword [esp + 0x3c]
add esi, eax
mov eax, dword [esp + 0x40]
adc eax, ecx
mov dword [esp + 0x34], eax
cmp ebp, eax
sete cl
xchg edi, ebx
setl bl
xchg edi, ebx
cmp esi, ebx
seta al
and ecx, eax
or edi, ecx
xchg edi, eax
test al, al
xchg edi, eax
je 0x423194
mov dword [edx + 0x58], 0
mov dword [edx + 0x5c], 0
jmp 0x4231a2
sub ebx, esi
mov dword [edx + 0x58], ebx
mov eax, dword [esp + 0x34]
sbb ebp, eax
mov dword [edx + 0x5c], ebp
add esp, 0x70
ret
mov edx, dword [ebx + 0x70]
mov eax, dword [edx]
call eax
mov eax, dword [esp]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call sym.runtime.fint64to64
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 8], ecx
call sym.runtime.fadd64
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
call sym.runtime.fint32to64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
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 ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call sym.runtime.fdiv64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call sym.runtime.fint64to64
mov eax, dword [esp + 0x74]
lea ecx, [eax + 0x24]
mov dword [esp + 0x68], ecx
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
call sym.runtime.fadd64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x68]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x47ae147b
mov dword [esp + 0x10], 0x3f847ae1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call sym.runtime._piController_.next
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x74]
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], ebx
test al, al
jne 0x42331e
mov dword [ebp + 0x1c], 0xd2f1a9fc
mov dword [ebp + 0x20], 0x3f50624d
mov dword [ebp + 0x58], 0x2a05f200
mov dword [ebp + 0x5c], 1
mov dword [esp], ebp
call sym.runtime._scavengerState_.controllerFailed
add esp, 0x70
ret
lea eax, [0x514d68]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._scavengerState_.sleep