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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x419ffd
sub esp, 0xb4
mov ecx, dword [0x4f3180]
mov edx, dword [0x4f3184]
mov dword [0x4f3188], ecx
mov dword [0x4f318c], edx
mov ecx, dword [esp + 0xb8]
mov edx, dword [ecx + 0xe8]
mov ebx, dword [esp + 0xbc]
sub ebx, edx
mov dword [esp + 0x60], ebx
mov edx, dword [ecx + 0xec]
mov ebp, dword [esp + 0xc0]
sbb ebp, edx
mov dword [esp + 0x64], ebp
test ebx, ebx
seta dl
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
setg bl
xchg edi, ebx
and esi, edx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x419901
movsd xmm1, qword [0x485b80]
jmp 0x4199ae
xchg edi, eax
mov byte [esp + 0x2b], al
xchg edi, eax
mov eax, ebx
mov edx, dword [esp + 0xc4]
mul edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov esi, dword [ecx + 0xc8]
mov edi, dword [ecx + 0xcc]
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00450f70
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xa0], xmm0
mov ecx, dword [esp + 0xc4]
mov edx, ecx
sar ecx, 0x1f
mov ebx, dword [esp + 0x60]
imul ecx, ebx
mov ebp, dword [esp + 0x64]
imul ebp, edx
mov edi, dword [esp + 0x84]
add ebp, edi
add ecx, ebp
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call fcn.00450f70
movsd xmm0, qword [esp + 0xa0]
divsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x485b80]
addsd xmm1, xmm0
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
movzx edi, byte [esp + 0x2b]
mov edx, dword [ecx + 0x70]
cmp dword [ecx + 0x18], edx
setae dl
mov esi, dword [ecx + 0x74]
mov ebp, dword [ecx + 0x1c]
cmp esi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setb bl
xchg esi, ebx
and ebp, edx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x419fea
movsd qword [esp + 0x88], xmm1
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4199f2
xorps xmm0, xmm0
jmp 0x419a7e
mov eax, ebx
mov edx, dword [esp + 0xc4]
mul edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], eax
mov esi, dword [ecx + 0xe0]
mov edi, dword [ecx + 0xe4]
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00450f70
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xa0], xmm0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xc4]
imul ecx, edx
mov ebx, dword [esp + 0x84]
add ecx, ebx
sar edx, 0x1f
mov ebx, dword [esp + 0x60]
imul ebx, edx
add ecx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], ecx
call fcn.00450f70
movsd xmm0, qword [esp + 0xa0]
divsd xmm0, qword [esp + 8]
mov ecx, dword [esp + 0xb8]
movsd qword [esp + 0x98], xmm0
lea eax, [ecx + 0xa8]
mov dword [esp + 0xb0], eax
mov dword [esp], eax
call fcn.00401ce0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xb8]
lea ebx, [edx + 0xb0]
mov dword [esp + 0xac], ebx
mov dword [esp], ebx
call fcn.00401ce0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
add ecx, eax
mov dword [esp + 0x84], ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0xb8]
lea esi, [ebp + 0xb8]
mov dword [esp + 0xa8], esi
mov dword [esp], esi
call fcn.00401ce0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x84]
add eax, ecx
mov dword [esp + 0x5c], eax
mov ebx, dword [esp + 0xb8]
mov ebp, dword [ebx + 0x70]
mov esi, dword [ebx + 0x18]
sub ebp, esi
mov esi, dword [ebx + 0x74]
mov edi, dword [ebx + 0x1c]
sbb esi, edi
mov edi, dword [esp + 8]
mov dword [esp + 0x4c], edi
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.00451040
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
add eax, ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
adc eax, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
add ecx, edx
mov ecx, dword [esp + 0x4c]
adc eax, ecx
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x98]
addsd xmm1, xmm0
mulsd xmm1, qword [esp + 8]
movsd qword [esp + 0xa0], xmm1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00450f70
movsd xmm0, qword [0x485bb0]
movsd xmm1, qword [esp + 0x88]
subsd xmm0, xmm1
mulsd xmm0, qword [esp + 8]
mov eax, dword [esp + 0xb8]
movsd xmm2, qword [eax + 0x20]
movsd qword [esp + 0x90], xmm2
lea ecx, [eax + 0x28]
mov dword [esp], ecx
movsd qword [esp + 4], xmm2
movsd xmm3, qword [esp + 0xa0]
divsd xmm3, xmm0
movsd qword [esp + 0xc], xmm3
movsd xmm0, qword [0x485bb0]
movsd qword [esp + 0x14], xmm0
call fcn.0041ae60
movzx eax, byte [esp + 0x24]
movsd xmm0, qword [esp + 0x1c]
mov ecx, dword [esp + 0xb8]
movsd qword [ecx + 0x20], xmm0
test al, al
jne 0x419c22
xorps xmm0, xmm0
movsd qword [ecx + 0x20], xmm0
mov edx, dword [0x4f2c50]
test edx, edx
jle 0x419fd7
mov byte [esp + 0x2a], al
call fcn.004309a0
call fcn.004309a0
lea eax, [0x46c656]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00431280
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [0x485be8]
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00431080
lea eax, [0x46c5ca]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.00431280
mov dword [esp + 4], 0
mov dword [esp], 0x19
call fcn.00431080
lea eax, [0x46cbe5]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00431280
call fcn.00430a10
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
call fcn.00401ce0
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call fcn.00401ce0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call fcn.00401ce0
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x88]
mov dword [esp + 0x80], edx
add edx, ecx
mov dword [esp + 0x7c], edx
mov ebp, dword [eax + 0x98]
mov dword [esp + 0x78], ebp
add ebp, edx
mov dword [esp + 0x74], ebp
mov edi, dword [eax + 0x84]
mov dword [esp + 0x70], edi
mov ebp, dword [eax + 0x8c]
mov dword [esp + 0x6c], ebp
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 4]
mov dword [esp + 0x2c], edx
call fcn.004309a0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.00431080
lea eax, [0x46c14a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00431280
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.00431080
lea eax, [0x46c14a]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00431280
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00431080
lea eax, [0x46c801]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00431280
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
add eax, ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
adc eax, ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
add ecx, edx
mov ecx, dword [esp + 0x68]
adc ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00430f20
lea eax, [0x46c7f8]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00431280
call fcn.00430a10
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax + 0x70]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x80], edx
sub ecx, edx
mov dword [esp + 0x7c], ecx
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x78], ebp
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x74], esi
mov edi, dword [eax + 0x74]
mov dword [esp + 0x70], edi
mov eax, dword [eax + 0x64]
mov dword [esp + 0x6c], eax
call fcn.004309a0
lea eax, [0x46c273]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00431280
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00430f20
lea eax, [0x46c461]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.00431280
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call fcn.00430f20
lea eax, [0x46ce84]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00431280
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
sub eax, ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
sbb eax, ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
call fcn.00431080
lea eax, [0x46cf74]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00431280
movsd xmm0, qword [esp + 0x90]
movsd qword [esp], xmm0
call fcn.00430c60
lea eax, [0x46c149]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00431280
call fcn.00430a10
movzx eax, byte [esp + 0x2a]
test al, al
jne 0x419f93
call fcn.004309a0
lea eax, str._controller_reset_bad_manualFreeListconnection_refusedfaketimeState.lockfile_name_too_longforEachP:_not_donegarbage_collectionidentifier_removedindex_out_of_rangeinput_output_errormultihop_attemptedno_child_processesno_locks_availableoperation_canceledruntime.semacreateruntime.semawakeupruntime:_npages__runtime:_range__runtime:_textAddr_streams_pipe_errorsystem_page_size__tracebackancestors__controller_reset__called_using_nil____g__atomicstatus__gp__atomicstatusAltai_Standard_TimeBahia_Standard_TimeChina_Standard_TimeCreateSymbolicLinkWCryptReleaseContextEgypt_Standard_TimeGC_work_not_flushedGetCurrentProcessIdGetSystemDirectoryWGetTokenInformationHaiti_Standard_TimeIndia_Standard_TimeKorea_Standard_TimeLibya_Standard_TimeNepal_Standard_TimeRussia_Time_Zone_10Russia_Time_Zone_11Samoa_Standard_TimeSudan_Standard_TimeSyria_Standard_TimeTokyo_Standard_TimeTomsk_Standard_TimeTonga_Standard_TimeWaitForSingleObjectadjusttimers:_bad_pbad_ABI_descriptionbad_file_descriptorbad_notifyList_sizebad_runtimemstartbad_sequence_numberbad_value_for_fielddevice_not_a_streamdirectory_not_emptydisk_quota_exceededdodeltimer:_wrong_Pfile_already_closedfile_already_existsfile_does_not_existm_not_found_in_allmmarking_free_objectmarkroot:_bad_indexmissing_deferreturnmspan.sweep:_statenotesleep_not_on_g0ntdll.dll_not_foundnwait___work.nprocspageAlloc.scav.lockpanic_during_mallocpanic_during_panic_npanic_holding_lockspanicwrap:_no___in_panicwrap:_no___in_runtime:_g0_stack__runtime:_pcdata_is_runtime:_preempt_g0semaRoot_rotateLeftskip_this_directorystopm_holding_lockssysMemStat_overflowtoo_many_open_filesunexpected_g_statusunknown_wait_reasonwinmm.dll_not_found_markroot_jobs_done_n_to_unallocated_spanArabic_Standard_TimeAzores_Standard_TimeCertOpenSystemStoreWCreateProcessAsUserWCryptAcquireContextWGetAcceptExSockaddrsGetCurrentDirectoryWGetFileAttributesExWIsrael_Standard_TimeJordan_Standard_TimeSeek:_invalid_offsetSeek:_invalid_whenceSetCurrentDirectoryWSetHandleInformationTaipei_Standard_TimeTurkey_Standard_Timebad_font_file_formatbad_system_page_sizebad_use_of_bucket.bpbad_use_of_bucket.mpchan_send__nil_chan_close_of_nil_channelconnection_timed_outdodeltimer0:_wrong_Pfloating_point_errorforcegc:_phase_errorgo_of_nil_func_valuegopark:_bad_g_statusinvalid_request_codeinvalid_write_resultis_a_named_type_filekey_has_been_revokedmalloc_during_signalnotetsleep_not_on_g0p_mcache_not_flushedpacer:_assist_ratiopreempt_off_reason:_reflect.makeFuncStubruntime:_unknown_pc_semaRoot_rotateRighttime:_invalid_numbertrace:_out_of_memorywirep:_already_in_goworkbuf_is_not_emptywrite_of_Go_pointer_ws2_32.dll_not_found_pcHeader.textStart__previous_allocCount__levelBits_level___Alaskan_Standard_TimeArabian_Standard_TimeBelarus_Standard_TimeCentral_Standard_TimeEastern_Standard_TimeMagadan_Standard_TimeMorocco_Standard_TimeMyanmar_Standard_TimeNamibia_Standard_TimeNetGetJoinInformationNorfolk_Standard_TimePacific_Standard_TimeReadDirectoryChangesWRomance_Standard_TimeRussian_Standard_TimeSE_Asia_Standard_TimeSaratov_Standard_TimeYakutsk_Standard_Timeasync_stack_too_largeblock_device_requiredcheckdead:_runnable_gconcurrent_map_writesfindrunnable:_wrong_plink_has_been_severednegative_shift_amountpackage_not_installedpanic_on_system_stackpreempt_at_unknown_pcread_only_file_systemreleasep:_invalid_argruntime:_confused_by_runtime:_newstack_at_runtime:_newstack_spruntime:_searchIdx__runtime:_work.nwait_stale_NFS_file_handlestartlockedm:_m_has_pstartm:_m_is_spinningstate_not_recoverabletimer_data_corruption_lib_time_zoneinfo.zipAleutian_Standard_TimeAtlantic_Standard_TimeCaucasus_Standard_TimeConvertSidToStringSidWConvertStringSidToSidWCreateIoCompletionPortDateline_Standard_TimeGeorgian_Standard_TimeGetEnvironmentStringsWGetTimeZoneInformationHawaiian_Standard_TimeMountain_Standard_TimeNtWaitForSingleObject
mov dword [esp], eax
mov dword [esp + 4], 0x12
call fcn.00431280
call fcn.00430a10
call fcn.004309a0
call fcn.00430bc0
call fcn.00430a10
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x87]
lea edx, [ecx - 1]
mov byte [eax + 0x87], dl
cmp cl, 1
jne 0x419fd7
nop
lea eax, [0x4f2994]
mov dword [esp], eax
call fcn.00407f10
xorps xmm0, xmm0
movsd qword [esp + 0xcc], xmm0
add esp, 0xb4
ret
xorps xmm0, xmm0
movsd qword [esp + 0xcc], xmm0
add esp, 0xb4
ret
call fcn.00453220
jmp fcn.00419870