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

Disassembly:
mov ecx, dword [0x52fb9c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x420d8f
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00421670
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x530480], eax
mov dword [0x530484], ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
mov ebx, dword [esp + 0xa4]
sub ebx, ecx
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0xa8]
sbb ecx, edx
mov dword [esp + 0x48], 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 edx, esi
or ebp, edx
xchg ebp, eax
mov byte [esp + 0x13], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x42072d
movsd xmm1, qword [0x4adfe4]
jmp 0x4207ac
lea ecx, [eax + 0xc0]
mov dword [esp], ecx
call fcn.00474920
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00463cd0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xac]
mov ebx, eax
mul ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, ecx
add eax, edx
sar ecx, 0x1f
imul ecx, ebx
add eax, ecx
mov dword [esp + 4], eax
call fcn.00463cd0
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x4adfe4]
addsd xmm1, xmm0
mov eax, dword [esp + 0xa0]
movsd qword [esp + 0x14], xmm1
lea ecx, [eax + 0x68]
mov dword [esp + 0x98], ecx
mov dword [esp], ecx
call fcn.00474be0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xa0]
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 eax, edx
or ebx, eax
test bl, bl
jne 0x4209db
movzx eax, byte [esp + 0x13]
test al, al
jne 0x4207fe
xorps xmm0, xmm0
jmp 0x420871
lea eax, [ecx + 0xd8]
mov dword [esp], eax
call fcn.00474920
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00463cd0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0xac]
mov ebx, eax
mul ecx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
imul eax, ecx
add eax, edx
sar ecx, 0x1f
imul ebx, ecx
add eax, ebx
mov dword [esp + 4], eax
call fcn.00463cd0
movsd xmm0, qword [esp + 0x84]
divsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0xa0]
movsd qword [esp + 0x34], xmm0
lea eax, [ecx + 0xa0]
mov dword [esp + 0x94], eax
mov dword [esp], eax
call fcn.00474920
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0xa8]
mov dword [esp + 0x90], ebx
mov dword [esp], ebx
call fcn.00474920
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0xb0]
mov dword [esp + 0x8c], ebx
mov dword [esp], ebx
call fcn.00474920
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp], edx
call fcn.00474be0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [esp + 0x34]
addsd xmm1, xmm0
movsd qword [esp + 0x84], xmm1
movsd xmm2, qword [0x4adff4]
subsd xmm2, xmm0
movsd qword [esp + 0x64], xmm2
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
add esi, edi
mov edi, dword [esp + 0x7c]
mov edx, dword [esp + 0x74]
adc edi, edx
mov edx, dword [esp + 0x70]
add esi, edx
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x6c]
adc edi, edx
mov dword [esp + 0x20], edi
sub eax, ebx
mov dword [esp], eax
sbb ecx, ebp
mov dword [esp + 4], ecx
call fcn.00463d50
movsd xmm0, qword [esp + 0x84]
mulsd xmm0, qword [esp + 8]
movsd qword [esp + 0x84], xmm0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.00463cd0
movsd xmm0, qword [esp + 0x64]
mulsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x84]
divsd xmm1, xmm0
mov eax, dword [esp + 0xa0]
movsd xmm0, qword [eax + 0x20]
movsd qword [eax + 0x20], xmm1
xor ecx, ecx
jmp 0x4209e3
add esp, 0x9c
ret
inc ecx
cmp ecx, 4
jge 0x420a00
movsd xmm2, qword [eax + ecx*8 + 0x28]
movsd xmm3, qword [eax + 0x20]
ucomisd xmm2, xmm3
jbe 0x4209e2
movsd qword [eax + 0x20], xmm2
jmp 0x4209e2
movsd qword [esp + 0x3c], xmm1
movsd qword [esp + 0x24], xmm0
lea ecx, [eax + 0x28]
mov dword [esp], ecx
lea ecx, [eax + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x18
call fcn.00470ab0
movsd xmm0, qword [esp + 0x3c]
mov eax, dword [esp + 0xa0]
movsd qword [eax + 0x40], xmm0
mov ecx, dword [0x52feb8]
test ecx, ecx
jle 0x420d88
call fcn.0043a8c0
call fcn.0043a8c0
lea eax, [0x4a0cde]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043b0d0
movsd xmm0, qword [esp + 0x14]
movsd xmm1, qword [0x4ae06c]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043af20
lea eax, [0x4a0ce5]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043b0d0
mov dword [esp], 0x19
mov dword [esp + 4], 0
call fcn.0043af20
lea eax, [0x4a163e]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043b0d0
call fcn.0043a920
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00474920
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call fcn.00474920
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp], edx
call fcn.00474920
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x80]
mov dword [esp], ebx
call fcn.00474be0
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0xa0]
lea ebx, [edx + 0x90]
mov dword [esp], ebx
call fcn.00474be0
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x54], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x4c], ebp
call fcn.0043a8c0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
call fcn.0043af20
lea eax, str..____M____:1_yi___:_M___________n__s____Pn___n__n___n__t__LlLtLuMn__nosnilEOFNaNintmapptr...fin386objgc__:_gp___in__n___n_____P_m__MPC___end___run_:_n___pc__Gadxaesshaavxfmanettruesyncpipefilebind_InfInfboolint8uintchanfuncallgallprootitabsbrkidledead_is_LEAFbase_of______GOGC____pc:_pcas1cas2cas3cas4cas5cas6_at__n_tm_sp_sp:_lr:_fplockstoptake_gp_mp__mermssse3avx2bmi1bmi2timefalseclosentohsint16int32int64uint8arrayslice_and_defersweeptestRtestWexecWhchanexecRschedsudogtimergscanmheaptracepanicsleep_cntgcing_MB___got_..._n_maxscav__ptr_____usageinit__ms__fault_tabcheck_top_...___fp:Greeksse41sse42ssse3stringlistensocketuint16uint32uint64structGetACPsysmontimersefenceselect__not_object_next_jobs_goid_sweep__B______util_alloc_free__span_prev_list__i___code_addr_m__p_p__mSCHED__curg_ctxt:_min__max_unlockmodifybad_tsadjust_...__n_mnil_base_Commonrdtscppopcntcmd_gonetdnsfloat32float64consoleCopySidWSARecvWSASendconnectinvaliduintptrforcegcallocmWcpuprofallocmRunknowngctraceIO_waitrunningsyscallwaitingforevernetworkUNKNOWN: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_avx512fos_execruntimetls3desno_anodeCancelIoReadFileAcceptExWSAIoctlshutdownnil_PoolscavengepollDesctraceBufdeadlockraceFinipanicnilcgocheckrunnable_procid_eax_____ebx_____ecx_____edx_____edi_____esi_____ebp_____esp_____eip_____eflags__cs______fs______gs_______is_not__pointer_packedBAD_RANK_status_unknown_trigger_npages_nalloc_nfreedruntime._signal_reflect._newval_mcount_bytes___stack__minLC__maxpc_maybeAdd_tstack__minutes_status_etypes_wsaioctlavx512bwavx512vlgo_typesnet_httpgo_buildnetedns0tlskyberx509sha1FindCloseLocalFreeMoveFileWWriteFileWSASendTocomplex64interfacentdll.dllpsapi.dlltimerSendpollCacheprofBlockstackpoolhchanLeafwbufSpansGC__idle_mSpanDeadinittracescavtracepanicwaitchan_sendpreemptedcoroutinecopystack____node_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_needsAddneedsAdd_cleanHeadtraceback_stack__gp.goid_lockedmInheritedpclmulqdqmath_randtlsrsakex_dev_stdinwinsymlinkowner_dieddnsapi.dllws2_32.dllDnsQuery_WGetIfEntryCancelIoExCreatePipeGetVersionWSACleanupWSAStartupgetsockoptsetsockoptcomplex128LockFileExWSASocketWnotifyListprofInsertstackLargeNot_workermSpanInUseGOMAXPROCSstop_tracedisablethpinvalidptrschedtracesemacquiredebug_call_flushGen__MB_goal__s.state___s.base___heapGoalGOMEMLIMIT_KiB_now___pages_at__sweepgen_sweepgen___bound____limit__exitThreadBad_varintGC_forced_n_runqueue_stopwait_runqsize_gfreecnt_throwing_spinningatomicand8float64nanfloat32nanException__ptrSize__targetpc_until_pcupdateHeapunknown_pcruntime:_ggoroutine_unixpacketexecerrdothttp2debugcrypto_tlsshort_write_dev_stdout_dev_stderrOpenProcessunreachableGetFileTypebroken_pipebad_messagefile_existsbad_addresscrypt32.dllmswsock.dllsecur32.dllshell32.dlluserenv.dllRegCloseKeyCloseHandleCreateFileWDeleteFileWExitProcessFreeLibrarySetFileTimeVirtualLockWSARecvFromclosesocketgetpeernamegetsocknameProcessPrngMoveFileExWNetShareAddNetShareDelassistQueuenetpollInitreflectOffsglobalAllocmSpanManualstart_traceclobberfreegccheckmarkscheddetailunspecifiedcgocall_nil_s.nelems___of_size__runtime:_p__ms_clock___nBSSRootsruntime:_P__exp.__for_minTriggerGOMEMLIMITbad_m_value__elemsize_freeindex_span.list__npages___p__status_in_status__idleprocs_gcwaiting_schedtick_timerslen_mallocingbad_timedivfloat64nan1float64nan2float64nan3float32nan2GOTRACEBACK__at_entry__targetpc___plugin:_runtime:_g_:_frame.spcreated_by_i_o_timeoutread_varintgocachehashgocachetesthttp2clienthttp2serverarchive_tartls10servercrypto_x509archive_zipkernel32.dllshort_bufferinvalid_slothost_is_downillegal_seekadvapi32.dlliphlpapi.dllnetapi32.dllGetLengthSidGetLastErrorGetStdHandleGetTempPathWLoadLibraryWReadConsoleWSetEn
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043b0d0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.0043af20
lea eax, str..____M____:1_yi___:_M___________n__s____Pn___n__n___n__t__LlLtLuMn__nosnilEOFNaNintmapptr...fin386objgc__:_gp___in__n___n_____P_m__MPC___end___run_:_n___pc__Gadxaesshaavxfmanettruesyncpipefilebind_InfInfboolint8uintchanfuncallgallprootitabsbrkidledead_is_LEAFbase_of______GOGC____pc:_pcas1cas2cas3cas4cas5cas6_at__n_tm_sp_sp:_lr:_fplockstoptake_gp_mp__mermssse3avx2bmi1bmi2timefalseclosentohsint16int32int64uint8arrayslice_and_defersweeptestRtestWexecWhchanexecRschedsudogtimergscanmheaptracepanicsleep_cntgcing_MB___got_..._n_maxscav__ptr_____usageinit__ms__fault_tabcheck_top_...___fp:Greeksse41sse42ssse3stringlistensocketuint16uint32uint64structGetACPsysmontimersefenceselect__not_object_next_jobs_goid_sweep__B______util_alloc_free__span_prev_list__i___code_addr_m__p_p__mSCHED__curg_ctxt:_min__max_unlockmodifybad_tsadjust_...__n_mnil_base_Commonrdtscppopcntcmd_gonetdnsfloat32float64consoleCopySidWSARecvWSASendconnectinvaliduintptrforcegcallocmWcpuprofallocmRunknowngctraceIO_waitrunningsyscallwaitingforevernetworkUNKNOWN: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_avx512fos_execruntimetls3desno_anodeCancelIoReadFileAcceptExWSAIoctlshutdownnil_PoolscavengepollDesctraceBufdeadlockraceFinipanicnilcgocheckrunnable_procid_eax_____ebx_____ecx_____edx_____edi_____esi_____ebp_____esp_____eip_____eflags__cs______fs______gs_______is_not__pointer_packedBAD_RANK_status_unknown_trigger_npages_nalloc_nfreedruntime._signal_reflect._newval_mcount_bytes___stack__minLC__maxpc_maybeAdd_tstack__minutes_status_etypes_wsaioctlavx512bwavx512vlgo_typesnet_httpgo_buildnetedns0tlskyberx509sha1FindCloseLocalFreeMoveFileWWriteFileWSASendTocomplex64interfacentdll.dllpsapi.dlltimerSendpollCacheprofBlockstackpoolhchanLeafwbufSpansGC__idle_mSpanDeadinittracescavtracepanicwaitchan_sendpreemptedcoroutinecopystack____node_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_needsAddneedsAdd_cleanHeadtraceback_stack__gp.goid_lockedmInheritedpclmulqdqmath_randtlsrsakex_dev_stdinwinsymlinkowner_dieddnsapi.dllws2_32.dllDnsQuery_WGetIfEntryCancelIoExCreatePipeGetVersionWSACleanupWSAStartupgetsockoptsetsockoptcomplex128LockFileExWSASocketWnotifyListprofInsertstackLargeNot_workermSpanInUseGOMAXPROCSstop_tracedisablethpinvalidptrschedtracesemacquiredebug_call_flushGen__MB_goal__s.state___s.base___heapGoalGOMEMLIMIT_KiB_now___pages_at__sweepgen_sweepgen___bound____limit__exitThreadBad_varintGC_forced_n_runqueue_stopwait_runqsize_gfreecnt_throwing_spinningatomicand8float64nanfloat32nanException__ptrSize__targetpc_until_pcupdateHeapunknown_pcruntime:_ggoroutine_unixpacketexecerrdothttp2debugcrypto_tlsshort_write_dev_stdout_dev_stderrOpenProcessunreachableGetFileTypebroken_pipebad_messagefile_existsbad_addresscrypt32.dllmswsock.dllsecur32.dllshell32.dlluserenv.dllRegCloseKeyCloseHandleCreateFileWDeleteFileWExitProcessFreeLibrarySetFileTimeVirtualLockWSARecvFromclosesocketgetpeernamegetsocknameProcessPrngMoveFileExWNetShareAddNetShareDelassistQueuenetpollInitreflectOffsglobalAllocmSpanManualstart_traceclobberfreegccheckmarkscheddetailunspecifiedcgocall_nil_s.nelems___of_size__runtime:_p__ms_clock___nBSSRootsruntime:_P__exp.__for_minTriggerGOMEMLIMITbad_m_value__elemsize_freeindex_span.list__npages___p__status_in_status__idleprocs_gcwaiting_schedtick_timerslen_mallocingbad_timedivfloat64nan1float64nan2float64nan3float32nan2GOTRACEBACK__at_entry__targetpc___plugin:_runtime:_g_:_frame.spcreated_by_i_o_timeoutread_varintgocachehashgocachetesthttp2clienthttp2serverarchive_tartls10servercrypto_x509archive_zipkernel32.dllshort_bufferinvalid_slothost_is_downillegal_seekadvapi32.dlliphlpapi.dllnetapi32.dllGetLengthSidGetLastErrorGetStdHandleGetTempPathWLoadLibraryWReadConsoleWSetEn
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043b0d0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0043af20
lea eax, [0x4a108d]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043b0d0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
adc ecx, edx
mov edx, dword [esp + 0x50]
add eax, edx
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
adc ecx, eax
mov dword [esp + 4], ecx
call fcn.0043adf0
lea eax, [0x4a1096]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043b0d0
call fcn.0043a920
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.00474be0
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x58]
mov dword [esp + 0x80], ebx
mov ebp, dword [edx + 0x5c]
mov dword [esp + 0x78], ebp
mov esi, dword [edx + 0x60]
mov dword [esp + 0x70], esi
mov edx, dword [edx + 0x64]
mov dword [esp + 0x60], edx
call fcn.0043a8c0
lea eax, [0x4a0906]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043b0d0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0043adf0
lea eax, [0x4a0b73]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043b0d0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0043adf0
lea eax, [0x4a1a2d]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043b0d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
sub eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
sbb eax, ecx
mov dword [esp + 4], eax
call fcn.0043af20
lea eax, [0x4a1a39]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043b0d0
movsd xmm0, qword [esp + 0x24]
movsd qword [esp], xmm0
call fcn.0043ab40
lea eax, [0x4a0897]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043b0d0
call fcn.0043a920
call fcn.0043a8c0
call fcn.0043aaa0
call fcn.0043a920
call fcn.0043a920
add esp, 0x9c
ret
call fcn.0046eed0
jmp fcn.00420690