Function at 0x406fe0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x1e74
call fcn.0043c050
mov eax, dword [0x46f7c0]
xor eax, esp
mov dword [esp + 0x1e70], eax
push ebx
push esi
push edi
push 0x45845a
call fcn.00415420
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [0x471264]
mov dword [0x470d24], edi
cmp esi, dword [0x471268]
jae 0x407049
mov eax, dword [esi]
cmp eax, edi
je 0x40703e
mov eax, dword [eax + 0x20]
push 1
call eax
add esi, 4
cmp esi, dword [0x471268]
jb 0x407031
push 1
lea ecx, [esp + 0x6c]
call fcn.00413070
mov ecx, eax
call fcn.004131f0
test al, al
lea ecx, [esp + 0x68]
sete bl
call fcn.004130f0
test bl, bl
je 0x407096
push str.AutoUpdate_disabled._n
call fcn.0040f9d0
add esp, 4
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e70]
xor ecx, esp
call fcn.0043b8c7
mov esp, ebp
pop ebp
ret 0x10
call fcn.0040e320
test eax, eax
jne 0x40713f
push 3
call fcn.00417630
mov ecx, eax
call fcn.00417640
test al, al
je 0x407123
call fcn.00417630
push 0x2a
push str.jusched_Error:___XP_and_not_an_admin_user
lea ecx, [esp + 0x154]
mov esi, eax
mov dword [esp + 0x168], 0xf
mov dword [esp + 0x164], edi
mov byte [esp + 0x154], 0
call fcn.00405990
lea ecx, [esp + 0x14c]
push ecx
push str.WinMain
push 0x443
push str.d:_re_workspace_9_2_build_windows_i586_cygwin_jdk9_993.nc_install_make_au2.0_jusched_UpdateScheduler.cpp
push 3
mov ecx, esi
call fcn.00419b70
cmp dword [esp + 0x160], 0x10
jb 0x407123
mov edx, dword [esp + 0x14c]
push edx
call fcn.0043a71e
add esp, 4
mov eax, 0xfffffffb
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e70]
xor ecx, esp
call fcn.0043b8c7
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push 2
push edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], edi
call fcn.00401480
mov ebx, eax
add esp, 0x10
cmp ebx, edi
jne 0x407187
push str._Running_jusched__n
call fcn.004160d0
mov eax, dword [esp + 0x34]
push eax
call fcn.00401650
add esp, 8
mov ebx, eax
push 0x7ff
lea ecx, [esp + 0xe7d]
push edi
push ecx
mov byte [esp + 0xe84], 0
call fcn.0043b8e0
add esp, 0xc
cmp ebx, edi
jne 0x4071c0
lea edx, [esp + 0xe78]
push 0x800
push edx
call fcn.00401690
add esp, 8
mov ebx, eax
call fcn.0040de20
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x80]
call fcn.004172e0
cmp ebx, edi
jne 0x4071e9
call fcn.00406cd0
mov ebx, eax
mov dword [esp + 0x2c], ebx
cmp ebx, edi
je 0x40723b
push str.jusched_ERROR:_error_detected_during_startup_checks
call fcn.0040f9d0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
xor esi, esi
mov edi, edi
mov eax, dword [esp + esi*4 + 0x30]
test eax, eax
je 0x40720b
push eax
call edi
inc esi
cmp esi, 2
jb 0x407200
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40721c
push eax
call edi
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x80]
call fcn.00417380
lea ecx, [esp + 0x7c]
call fcn.00417300
jmp 0x407b41
push 0x7ff
lea edx, [esp + 0x167d]
push 0
mov ecx, 0x16
mov esi, 0x4583f0
lea edi, [esp + 0xf8]
push edx
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x1684], 0
call fcn.0043b8e0
lea eax, [esp + 0x174]
push eax
call fcn.00411d00
add esp, 0x10
test eax, eax
jns 0x407316
lea ecx, [esp + 0x1678]
push 0x800
push ecx
call fcn.0040fa30
add esp, 8
test eax, eax
jns 0x407316
xor edi, edi
push edi
call fcn.0040fb70
add esp, 4
test eax, eax
je 0x407323
push 0x80000001
lea ecx, [esp + 0x150]
call fcn.004172e0
push 0x2001f
push 0x459024
lea ecx, [esp + 0x154]
call fcn.00417390
test eax, eax
jne 0x407323
push 0x45904c
lea ecx, [esp + 0x150]
call fcn.00417360
push 0x45905c
lea ecx, [esp + 0x150]
call fcn.00417360
push 0x459070
lea ecx, [esp + 0x150]
call fcn.00417360
lea ecx, [esp + 0x14c]
call fcn.00417300
jmp 0x407323
mov dword [esp + 0x108], 1
xor edi, edi
cmp dword [esp + 0xfc], edi
je 0x40735d
lea edx, [esp + 0xf0]
push edx
call fcn.00401280
add esp, 4
test eax, eax
jne 0x40735d
push str.Error_Querying_Frequency_Schedule_n
call fcn.004160d0
mov ebx, 0xfffffffd
add esp, 4
mov dword [esp + 0xfc], edi
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0xf0]
push eax
call fcn.00404b40
lea ecx, [esp + 0xf4]
push ecx
call fcn.00404eb0
add esp, 8
mov dword [esp + 0x24], edi
cmp dword [esp + 0xfc], edi
je 0x407b0e
jmp 0x407390
cmp dword [esp + 0x100], edi
je 0x40743e
cmp dword [esp + 0x10c], edi
je 0x4073ad
push str.Time_for_a_Java_Update__Critical__check._n
jmp 0x4073b2
push str.Time_for_a_Java_Update_check._n
call fcn.004160d0
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x100]
add esp, 4
push edx
mov edx, dword [esp + 0x120]
push eax
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x110]
push ecx
mov ecx, dword [esp + 0x120]
push edx
mov edx, dword [esp + 0x120]
push eax
push ecx
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x160]
push ecx
lea edx, [esp + 0xe9c]
push 1
push edx
mov dword [esp + 0x12c], edi
mov dword [esp + 0x134], edi
call fcn.00405710
add esp, 0x2c
cmp dword [esp + 0xfc], edi
je 0x407adb
lea eax, [esp + 0xf0]
push eax
call fcn.00404b40
jmp 0x4074d7
cmp dword [esp + 0x108], edi
je 0x4074cd
cmp dword [esp + 0x24], edi
jne 0x4074cd
push str.There_is_a_pending_Java_Update__and_waittime0_._n
call fcn.0040f9d0
mov ecx, dword [esp + 0x110]
mov edx, dword [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x124]
push edx
mov edx, dword [esp + 0x124]
lea eax, [esp + 0x114]
push eax
mov eax, dword [esp + 0x124]
push ecx
mov ecx, dword [esp + 0x124]
push edx
push eax
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0xea0]
push edi
push ecx
call fcn.00405710
add esp, 0x30
cmp dword [esp + 0xfc], edi
je 0x407aec
lea edx, [esp + 0xf0]
push edx
call fcn.00404b40
jmp 0x4074d7
push str.Top_of_update_check_loop__and_not_time_for_any_update_checks._n
call fcn.0040f9d0
add esp, 4
push 0xff
lea eax, [esp + 0x17d]
push edi
push eax
mov byte [esp + 0x184], 0
call fcn.0043b8e0
push 0xff
lea ecx, [esp + 0x589]
push edi
push ecx
mov byte [esp + 0x590], 0
call fcn.0043b8e0
push 0xff
lea edx, [esp + 0x295]
push edi
push edx
mov byte [esp + 0x29c], 0
call fcn.0043b8e0
push 0xff
lea eax, [esp + 0x3a1]
push edi
push eax
mov byte [esp + 0x3a8], 0
call fcn.0043b8e0
mov esi, dword [esp + 0x54]
add esp, 0x30
cmp esi, edi
jne 0x4076e9
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov esi, str.__Critical_
cmp dword [esp + 0x10c], edi
jne 0x407580
mov esi, 0x45845b
lea ecx, [esp + 0x118]
push ecx
call fcn.0043ac11
push eax
call fcn.0043c5d5
push eax
push esi
lea edx, [esp + 0x188]
push str.JavaUpdate_s_NextSchedTime_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x124]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x130]
push eax
mov eax, dword [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x130]
push edx
push eax
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00404ff0
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
mov eax, dword [esp + 0x144]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x148]
add esp, 0x34
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov ebx, 0x459240
cmp dword [esp + 0x10c], edi
jne 0x40762e
mov ebx, 0x459258
lea edx, [esp + 0x48]
push edx
call fcn.0043ac11
push eax
call fcn.0043c5d5
push eax
push ebx
lea eax, [esp + 0x288]
push str._slastSchedTime_s
push eax
call fcn.0043c512
add esp, 0x18
cmp dword [esp + 0x10c], edi
je 0x40766d
mov dword [esp + 0x3c], 0x459278
mov ebx, 0x45929c
jmp 0x40767a
mov dword [esp + 0x3c], 0x459290
mov ebx, 0x4592b4
lea ecx, [esp + 0x40]
push ecx
call fcn.0043ac11
mov edi, eax
mov eax, 0x10624dd3
mul esi
mov ecx, edx
mov edx, esi
shr ecx, 6
mov dword [esp + 0x7c], edx
fild dword [esp + 0x7c]
test edx, edx
jns 0x4076a6
fadd dword [0x459878]
fdiv qword [0x459870]
mov eax, 0x91a2b3c5
push ecx
fdiv qword [0x459868]
mul ecx
mov eax, dword [esp + 0x44]
shr edx, 0xb
fstp qword [esp]
push edx
push ecx
push eax
push edi
call fcn.0043c5d5
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x394]
push str._snextSchedTime_s_ssleeptime__sec_u__hours_u__days_2.2f__n
push ecx
call fcn.0043c512
add esp, 0x24
jmp 0x4076fe
lea edx, [esp + 0x178]
push str.JavaUpdate_waittime_still_set._n
push edx
call fcn.0043c512
add esp, 8
push 0x7ff
lea eax, [esp + 0x67d]
push 0
push eax
mov byte [esp + 0x684], 0
call fcn.0043b8e0
add esp, 0xc
cmp dword [esp + 0x10c], 0
mov edi, str.JavaUpdate__Critical_
jne 0x407731
mov edi, str.JavaUpdate
mov eax, 0x10624dd3
mul esi
mov eax, edx
xor edx, edx
shr eax, 6
mov ecx, 0x3c
div ecx
mov ebx, 0x3c
push edi
mov ecx, edx
xor edx, edx
div ebx
push ecx
lea ecx, [esp + 0x580]
push edx
push eax
push esi
lea edx, [esp + 0x38c]
push edx
lea eax, [esp + 0x290]
push eax
push ecx
lea edx, [esp + 0x198]
push edx
lea eax, [esp + 0x69c]
push str._s_s_s_sactual_sleep_time_u_msecs___01u:_02u:_02u__for__s_n
push eax
call fcn.0043c512
lea ecx, [esp + 0x6a4]
push ecx
call fcn.004160d0
add esp, 0x30
call fcn.0040fc40
test eax, eax
je 0x4077ad
cmp esi, 0xa8c0
ja 0x407afd
lea edx, [esp + 0x58]
xor ebx, ebx
push edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.0043aef9
add esp, 4
push esi
push ebx
lea eax, [esp + 0x38]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x81
ja 0x407944
cmp eax, 0x80
jae 0x407922
sub eax, ebx
je 0x407922
dec eax
jne 0x40794b
push str.Registry_change_detected._n
call fcn.004160d0
mov ecx, dword [esp + 0x38]
add esp, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x28]
push ebx
mov ecx, 0x16
mov esi, 0x4583f0
lea edi, [esp + 0x9c]
push eax
mov dword [esp + 0x30], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0040de90
add esp, 8
test eax, eax
je 0x407ac3
lea ecx, [esp + 0x98]
push ecx
call fcn.00401280
add esp, 4
test eax, eax
je 0x407ac3
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
cmp eax, dword [esp + 0xf0]
jne 0x4078c8
cmp edx, dword [esp + 0xf4]
jne 0x4078c8
cmp dword [esp + 0x104], ebx
je 0x407899
cmp ecx, dword [esp + 0xf8]
jne 0x4078c8
cmp dword [esp + 0x24], ebx
jbe 0x4078f8
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0043aef9
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x64]
add esp, 4
imul eax, eax, 0x3e8
add dword [esp + 0x24], eax
jmp 0x4078f8
mov dword [esp + 0xf8], ecx
lea ecx, [esp + 0xf0]
push ecx
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x10c], ebx
call fcn.00404b40
add esp, 4
mov edx, dword [esp + 0x28]
push edx
call fcn.00401420
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x407aae
mov dword [esp + 0xfc], ebx
mov ebx, 0xfffffffe
jmp 0x407b0e
push str.Received_shutdown_signal_n
mov dword [esp + 0x100], ebx
call fcn.004160d0
mov ebx, 0x64
add esp, 4
mov dword [esp + 0x2c], ebx
jmp 0x407ab2
cmp eax, 0x102
je 0x4079a9
push 0xff
lea eax, [esp + 0x47d]
mov dword [esp + 0x100], ebx
push 0
mov ebx, 0xffffff9d
push eax
mov dword [esp + 0x38], ebx
mov byte [esp + 0x484], 0
call fcn.0043b8e0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x47c]
push str.Error_in_WaitForSingleObject:__d_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x484]
push edx
call fcn.004160d0
add esp, 0x10
jmp 0x407ab2
push 0x7ff
lea eax, [esp + 0x67d]
push ebx
push eax
mov byte [esp + 0x684], bl
call fcn.0043b8e0
push 0xffffffffffffffff
push str.Timeout_occured.
lea ecx, [esp + 0x68c]
push 0x800
push ecx
call fcn.0043b812
lea edx, [esp + 0x694]
push edx
call fcn.0040f9d0
add esp, 0x20
cmp dword [esp + 0x24], ebx
jne 0x407a7d
cmp dword [esp + 0x10c], ebx
je 0x407a29
lea edi, [esp + 0x678]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407a07
mov ecx, 8
mov esi, str.Run_Java_update__Critical__now._n
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x100], 1
jmp 0x407a9e
lea eax, [esp + 0x678]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x407a31
mov ecx, dword [str.Run_Java_update_now._n]
mov edx, dword [0x459414]
mov dword [eax], ecx
mov ecx, dword [0x459418]
mov dword [eax + 4], edx
mov edx, dword [0x45941c]
mov dword [eax + 8], ecx
mov ecx, dword [0x459420]
mov dword [eax + 0xc], edx
mov dx, word [0x459424]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
mov dword [esp + 0x100], 1
jmp 0x407a9e
lea edi, [esp + 0x678]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407a85
mov ecx, 0xc
mov esi, str.Java_update_had_a_waittime.__Clearing_waittime._n
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x678]
push eax
call fcn.004160d0
add esp, 4
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0xfc], 0
je 0x407b0e
xor edi, edi
jmp 0x407390
push str.jusched_ERROR:_Opening_JavaUpdate_key_or_Querying_Frequency_Schedule_in_while_loop_n
call fcn.004160d0
mov dword [esp + 0x100], ebx
mov ebx, 0xfffffffd
jmp 0x407b0b
push 0x4590f8
call fcn.0040f9d0
mov ebx, 0x64
jmp 0x407b0b
push str.jusched_main:_StartUpdateChecker_set_bRun_to_false__user_cancel_or_shutdown_event
call fcn.0040f9d0
mov ebx, 0x64
jmp 0x407b0b
push str.jusched.exe_exit_because_it_is_an_OEMUpdate_and_the_sleeptime_is_greater_than_12_hours
call fcn.004160d0
mov ebx, dword [esp + 0x30]
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [esp + esi*4 + 0x30]
test eax, eax
je 0x407b21
push eax
call edi
inc esi
cmp esi, 2
jb 0x407b16
mov eax, dword [esp + 0x38]
test eax, eax
je 0x407b32
push eax
call edi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x407b41
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x470cf8
call fcn.00401940
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x1e7c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0043b8c7
mov esp, ebp
pop ebp
ret 0x10