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

Disassembly:
mov ecx, dword [0x52054c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41eb1f
sub esp, 0x6c
mov eax, dword [esp + 0x70]
test byte [eax], al
nop
mov dword [esp], eax
call sym.runtime.lock2
mov eax, dword [0x52054c]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x70]
cmp dword [ecx + 4], eax
jne 0x41eb08
mov dword [esp], 0
mov dword [esp + 4], 0x412e8480
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
call sym.runtime.fgt64
movzx eax, byte [esp + 0x10]
test al, al
je 0x41e744
xor eax, eax
mov ecx, 0x412e8480
jmp 0x41e74c
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x3ff00000
call sym.runtime.fmul64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x70]
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call sym.runtime.fdiv64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.runtime.f64toint64
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 8]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
test ecx, ecx
je 0x41e7f6
nop
nop
mov dword [esp], eax
call sym.runtime.unlock2
mov eax, dword [esp + 0x70]
mov edx, dword [eax + 0x64]
mov ecx, dword [edx]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
call ecx
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x41e8e6
nop
call sym.runtime.nanotime1
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x34], ebx
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x68], eax
mov eax, dword [ecx + 0x20]
nop
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
add ecx, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
adc ecx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call sym.runtime.modtimer
mov eax, dword [esp + 0x70]
mov byte [eax + 8], 1
nop
lea ecx, [0x47e680]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov word [esp + 8], 0xe13
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 + 0x70]
mov dword [esp], edx
call sym.runtime.lock2
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov dword [esp], ecx
call sym.runtime.deltimer
nop
nop
mov eax, dword [esp + 0x70]
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 + 0x34]
sbb ecx, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x70]
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 esi, ebp
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
je 0x41e98c
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call sym.runtime.f64toint64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x70]
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 + 0x38], eax
cmp ebp, eax
setl cl
xchg edi, ebx
sete bl
xchg edi, ebx
cmp esi, ebx
seta al
and eax, edi
or eax, ecx
test al, al
je 0x41e97a
mov dword [edx + 0x58], 0
mov dword [edx + 0x5c], 0
jmp 0x41e988
sub ebx, esi
mov dword [edx + 0x58], ebx
mov eax, dword [esp + 0x38]
sbb ebp, eax
mov dword [edx + 0x5c], ebp
add esp, 0x6c
ret
mov edx, dword [ebx + 0x70]
mov eax, dword [edx]
call eax
mov eax, dword [esp]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
call sym.runtime.fint64to64
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
call sym.runtime.fadd64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
call sym.runtime.fint32to64
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
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 ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.runtime.fdiv64
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 4], ebx
call sym.runtime.fint64to64
mov eax, dword [esp + 0x70]
lea ecx, [eax + 0x24]
mov dword [esp + 0x64], ecx
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call sym.runtime.fadd64
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
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 + 0x70]
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], ebx
test al, al
jne 0x41eb04
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, 0x6c
ret
lea eax, [0x47d648]
mov dword [esp], eax
mov dword [esp + 4], 0x2f
call sym.runtime.throw
nop
call sym.runtime.morestack_noctxt
jmp sym.runtime._scavengerState_.sleep