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

Disassembly:
mov ecx, dword [0x591894]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x420c2c
sub esp, 0xc0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
call sym.runtime._gcControllerState_.heapGoalInternal
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x592180], eax
mov dword [0x592184], ecx
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
mov ebx, dword [esp + 0xc8]
sub ebx, ecx
mov dword [esp + 0x80], ebx
mov ecx, dword [esp + 0xcc]
sbb ecx, edx
mov dword [esp + 0x84], ecx
test ecx, ecx
setg dl
xchg ebp, ebx
sete bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, ebp
or esi, edx
xchg esi, eax
mov byte [esp + 0x17], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
jne 0x420536
movsd xmm1, qword [0x4d98f4]
jmp 0x4205cf
mov edx, eax
mov eax, ebx
mov ebp, dword [esp + 0xd0]
mov esi, edx
mul ebp
mov dword [esp + 0xa4], eax
mov edi, ebp
imul ebp, ecx
add edx, ebp
sar edi, 0x1f
imul edi, ebx
add edx, edi
mov dword [esp + 0xa0], edx
lea edi, [esi + 0xc0]
mov dword [esp], edi
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.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x98], xmm0
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x98]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x4d98f4]
addsd xmm1, xmm0
mov eax, dword [esp + 0xc4]
movsd qword [esp + 0x60], xmm1
lea ecx, [eax + 0x68]
mov dword [esp + 0xbc], ecx
mov dword [esp], ecx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 0xc4]
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 edx, ecx
or ebx, edx
test bl, bl
jne 0x42081b
movzx ecx, byte [esp + 0x17]
test cl, cl
jne 0x420624
xorps xmm0, xmm0
jmp 0x4206bd
mov ecx, eax
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0xd0]
mov ebx, edx
mov ebp, eax
mul edx
mov dword [esp + 0xa4], eax
mov esi, dword [esp + 0x84]
imul esi, ebx
add edx, esi
sar ebx, 0x1f
imul ebp, ebx
add edx, ebp
mov dword [esp + 0xa0], 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.int64tofloat64
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x98], xmm0
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x98]
divsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0xc4]
movsd xmm1, qword [esp + 0x60]
addsd xmm0, xmm1
movsd qword [esp + 0x98], xmm0
movsd xmm2, qword [0x4d991c]
subsd xmm2, xmm1
movsd qword [esp + 0x90], xmm2
lea ecx, [eax + 0xa0]
mov dword [esp + 0xb8], ecx
lea edx, [eax + 0xa8]
mov dword [esp + 0xb4], edx
lea ebx, [eax + 0xb0]
mov dword [esp + 0xb0], ebx
mov dword [esp], ecx
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 + 0xb4]
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 + 0xb0]
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 + 0x54], ecx
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add esi, edi
mov edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
adc edi, eax
mov eax, dword [esp + 0x30]
add esi, eax
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x54]
adc edi, eax
mov dword [esp + 0x6c], edi
sub ebx, ecx
mov dword [esp], ebx
sbb ebp, edx
mov dword [esp + 4], ebp
call sym.runtime.uint64tofloat64
movsd xmm0, qword [esp + 0x98]
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 0x98], xmm0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call sym.runtime.int64tofloat64
movsd xmm0, qword [esp + 0x90]
mulsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x98]
divsd xmm1, xmm0
mov eax, dword [esp + 0xc4]
movsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x20], xmm1
xor ecx, ecx
jmp 0x420823
add esp, 0xc0
ret
inc ecx
cmp ecx, 4
jge 0x420840
movsd xmm2, qword [eax + ecx*8 + 0x28]
movsd xmm3, qword [eax + 0x20]
ucomisd xmm2, xmm3
jbe 0x420822
movsd qword [eax + 0x20], xmm2
jmp 0x420822
movsd qword [esp + 0x78], xmm1
movsd qword [esp + 0x70], 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 + 0x78]
mov eax, dword [esp + 0xc4]
movsd qword [eax + 0x40], xmm0
mov ecx, dword [0x591bb8]
test ecx, ecx
jle 0x420c25
call sym.runtime.printlock
call sym.runtime.printlock
lea eax, [0x4b7ad1]
mov dword [esp], eax
mov dword [esp + 4], 7
call sym.runtime.printstring
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [0x4d9954]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x4b7ad8]
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, [0x4b840a]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call sym.runtime.printstring
call sym.runtime.printunlock
mov eax, dword [esp + 0xc4]
lea ecx, [eax + 0x80]
mov dword [esp + 0xac], ecx
lea edx, [eax + 0x90]
mov dword [esp + 0xa8], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
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 + 0xb4]
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 + 0xb0]
mov dword [esp], edx
call sym.runtime_internal_atomic.Loadint64
mov eax, dword [esp + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0xac]
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 + 0x44], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0xa0], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x40], ebp
call sym.runtime.printlock
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, [0x4b7549]
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, [0x4b7549]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.printstring
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x4b7eb1]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x44]
adc ecx, edx
mov edx, dword [esp + 0x1c]
add eax, edx
mov dword [esp], eax
mov eax, dword [esp + 0x40]
adc ecx, eax
mov dword [esp + 4], ecx
call sym.runtime.printuint
lea eax, [0x4b7eba]
mov dword [esp], eax
mov dword [esp + 4], 9
call sym.runtime.printstring
call sym.runtime.printunlock
nop
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call sym.runtime_internal_atomic.Load64
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0x58]
mov dword [esp + 0xa4], ecx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0xa0], edx
mov ebx, dword [eax + 0x60]
mov dword [esp + 0x8c], ebx
mov eax, dword [eax + 0x64]
mov dword [esp + 0x88], eax
mov ebp, dword [esp + 4]
mov dword [esp + 0x18], ebp
mov esi, dword [esp + 8]
mov dword [esp + 0x3c], esi
call sym.runtime.printlock
lea eax, [0x4b75bd]
mov dword [esp], eax
mov dword [esp + 4], 3
call sym.runtime.printstring
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call sym.runtime.printuint
lea eax, [0x4b794b]
mov dword [esp], eax
mov dword [esp + 4], 6
call sym.runtime.printstring
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call sym.runtime.printuint
lea eax, [0x4b882d]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8c]
sub eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x88]
sbb eax, ecx
mov dword [esp + 4], eax
call sym.runtime.printint
lea eax, [0x4b8839]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call sym.runtime.printstring
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
call sym.runtime.printfloat
lea eax, str._.____:1_____My:_01.i_M_____________n__s____Pn___n__n___n__t______nLlLtLuMn_NUL:_EOFNaNfinptrnilobjgc__:_gp___in__n___n_____P_m__MPC___end___..._:_n___pc__GMayUTCEET0001CATWATEATGMTHSTHDT_03_04_05ESTCSTCDTMSTMDT_02EDTASTADTPSTPDTNSTNDT06030407IST0908IDT12PKT11KST05JST10_01_11_12_08_0913CETBSTMSK_0614StdDlt.__intmapadxaesshaavxfmanetfilereadopenpipeStat.com.exe.bat.cmdpathtrue_InfInfallgallprootitabsbrkidledead_is_LEAFbase_of______GOGC____pc:_pcas1cas2cas3cas4cas5cas6_at__n_tm_sp_sp:_lr:_fp_gp_mp__mquitbindJuneJulyEESTSASTAKSTAKDTACSTACDTAESTAEDTAWSTCESTNZSTNZDTboolint8uintchanfuncermssse3avx2bmi1bmi2chdir_nil_writecloseLstatfalsedefersweeptestRtestWexecWexecRschedhchansudoggscanmheaptracepanicsleepgcing_MB___got_..._n_maxscav__ptr_____usageinit__ms__fault_and__tab_top_...___fp:ntohsMarchApril053004300545063003300845103012451345_0930Localint16int32int64uint8arrayslicesse41sse42ssse3Greekremoveexec:_GetACPsysmontimersefenceselect__not_object_next_jobs_goid_sweep__B______util_alloc_free__span_prev_list__i___code_addr_m__p_p__mSCHED__curg_ctxt:_min__max__...__n_mnil_base_hangupkilledlistensocketSundayMondayFridayAugustUTC_11UTC_02UTC_08UTC_09UTC12UTC13uint16uint32uint64stringstructrdtscppopcntcmd_gonetdnsCommonconsolePATHEXTforcegcallocmWcpuprofallocmRunknowngctraceIO_waitrunningsyscallwaitingUNKNOWN:events__goid_snil_n__scan__MB_in_pacer:___CPU___zombie__j0__head__panic:__nmsys_locks_dying_allocsGODEBUG_m__g0_pad1__pad2__text_minpc__tvalue__scan__ttypes_:_type_abortedCopySidWSARecvWSASendconnectsignal_TuesdayJanuaryOctoberMUI_StdMUI_Dlt.UNCinvaliduintptrfloat32float64avx512fos_execruntimeFullPathscavengepollDesctraceBufdeadlockraceFinipanicnilcgocheckrunnable_procid_eax_____ebx_____ecx_____edx_____edi_____esi_____ebp_____esp_____eip_____eflags__cs______fs______gs_______is_not__pointerBAD_RANK_status_unknown_trigger_npages_nalloc_nfreedruntime._signal_reflect._newval_mcount_bytes___stack__minLC__maxpc__tstack__minutes_etypes_nil_Poolno_anodeCancelIoReadFileAcceptExWSAIoctlshutdownwsaioctlThursdaySaturdayFebruaryNovemberDecember__Month_avx512bwavx512vlgo_typesnet_httpgo_buildx509sha1fork_execexecwaitrwxrwxrwxpsapi.dllprofBlockstackpoolhchanLeafwbufSpansmSpanDeadscavtraceinittracepanicwaitchan_sendpreemptedcoroutinecopystackinterface_ms_cpu____forced__wbuf1.n_wbuf2.n_s.limit_s.state_B_work___B_exp.___marked___unmarked_in_use__n__size____tail__recover:__not_in__ctxt___0__oldval__newval_threads:_status_blocked_lockedgatomicor8_runtime_m__curg_unknown_traceback_stack__lockedminterruptbus_errorFindCloseLocalFreeMoveFileWWriteFileWSASendTontdll.dllWednesdaySeptember_07:00:00Z07:00:00complex64pclmulqdqmath_randtlsrsakexInherited_dev_stdinCreateFilecreatetempexecerrdotSYSTEMROOTLockFileExWSASocketWws2_32.dllnotifyListprofInsertstackLargemSpanInUseGOMAXPROCSstop_tracedisablethpinvalidptrschedtracesemacquiredebug_call_flushGen__MB_goal__s.state___s.base___heapGoalGOMEMLIMIT_KiB_now___pages_at__sweepgen_sweepgen___bound____limit__tracefree_tracegc___nexitThreadBad_varintGC_forced_n_runqueue_stopwait_runqsize_gfreecnt_throwing_spinningatomicand8float64nanfloat32nanException__ptrSize__targetpc_until_pcunknown_pcruntime:_ggoroutine_terminatedowner_diedDnsQuery_WGetIfEntryCancelIoExCreatePipeGetVersionWSACleanupWSAStartupgetsockoptsetsockoptdnsapi.dllunixpacket__Weekday_complex128http2debugcrypto_tls_dev_stdout_dev_stderrCloseHandleOpenProcessGetFileTypeSYSTEMROOTshort_writeProcessPrngMoveFileExWNetShareAddNetShareDeluserenv.dllassistQueuenetpollInitreflectOffsglobalAllocmSpanManualstart_traceclobberfreegccheckmarkscheddetailcgocall_nilunreachable_s.nelems___of_size__runtime:_p__ms_clock___nBSSRootsruntime:_P__exp.__for_minTriggerGOMEMLIMITbad_m_value__elemsize_freeindex_span.list__npages__tracealloc__p__status_in_status__idleprocs_gcwaiting_schedtick_timerslen_mallocingbad_timedivfloat64nan1float64nan2float64nan3float32nan2GOTRACEBACK__at_entry__targetpc___plugin:_runtime:
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 [0x591894]
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 0x420c25
nop
nop
lea eax, [0x591824]
mov dword [esp], eax
call sym.runtime.unlock2
add esp, 0xc0
ret
call sym.runtime.morestack_noctxt
jmp sym.runtime._gcControllerState_.endCycle