Function at 0x409229
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x2618]
mov eax, 0x2618
call fcn.00440f40
push 0xffffffffffffffff
push 0x4663c7
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x494244]
xor eax, ebp
mov dword [ebp + 0x2614], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, 0x46fb0e
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
call fcn.00407e5f
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 0x2620]
mov ecx, 0x4966c4
push ebx
call fcn.00405c3f
push str.CRASHDIALOG_INSTALL_DEBUG
lea ecx, [ebp + 0xc8]
call fcn.00402f72
push 0xf
pop edi
mov dword [ebp + 0xfc], ebx
mov dword [ebp + 0x10c], ebx
mov dword [ebp + 0x110], edi
mov byte [ebp + 0xfc], bl
lea eax, [ebp + 0xfc]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp + 0xc8]
push eax
lea eax, [ebp + 0xe4]
push 0x47b3f0
push eax
call fcn.0041c7b6
add esp, 0x10
lea ecx, [ebp + 0xe4]
mov esi, dword [eax + 0x10]
call fcn.004083fa
mov eax, dword [ebp + 0x110]
cmp eax, 0x10
jb 0x409340
mov ecx, dword [ebp + 0xfc]
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp eax, 0x1000
jb 0x409337
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00407ee8
mov eax, dword [ebp - 0x24]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call fcn.00440879
pop ecx
pop ecx
lea ecx, [ebp + 0xc8]
mov dword [ebp + 0x10c], ebx
mov dword [ebp + 0x110], edi
mov byte [ebp + 0xfc], bl
mov byte [ebp - 4], bl
call fcn.004083fa
test esi, esi
jne 0x409c77
push 1
lea ecx, [ebp + 0x108]
call fcn.00415603
mov ecx, eax
call fcn.00415b23
lea ecx, [ebp + 0x108]
mov bl, al
call fcn.00415663
test bl, bl
jne 0x4093a0
push str.AutoUpdate_disabled._n
call fcn.004131c2
pop ecx
push 0xfffffffffffffffc
pop eax
jmp 0x409c21
call fcn.0041299e
test eax, eax
jne 0x4093e1
call fcn.004185e3
push 3
mov ecx, eax
call fcn.0041879e
test al, al
je 0x4093dd
call fcn.004185e3
push str.jusched_Error:___XP_and_not_an_admin_user
push str.WinMain
push 0x449
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_au_jusched_UpdateScheduler.cpp
push 3
mov ecx, eax
call fcn.004088a5
push 0xfffffffffffffffb
jmp 0x40939a
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x24]
movlpd qword [ebp - 0x2c], xmm0
push eax
lea eax, [ebp - 0x2c]
xor esi, esi
push 2
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], esi
call fcn.00404ba4
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x409429
push str._Running_jusched__n
call fcn.004198f9
pop ecx
push dword [ebp - 0x2c]
call fcn.00407600
pop ecx
mov ebx, eax
mov dword [ebp - 0x18], eax
mov edi, 0x800
lea eax, [ebp + 0x1114]
push edi
push esi
push eax
call fcn.00442690
add esp, 0xc
test ebx, ebx
jne 0x409457
lea eax, [ebp + 0x1114]
push edi
push eax
call fcn.00405088
pop ecx
mov ebx, eax
pop ecx
mov dword [ebp - 0x18], ebx
call fcn.0041319f
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x68]
call fcn.00419a04
test ebx, ebx
jne 0x409b23
call fcn.00404d03
mov ebx, eax
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x409b23
push 0x16
pop ecx
mov esi, 0x46e4e8
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x800
lea eax, [ebp + 0x114]
push esi
xor edi, edi
push edi
push eax
call fcn.00442690
lea eax, [ebp + 0x7c]
push eax
call fcn.00414e69
add esp, 0x10
test eax, eax
jns 0x40953b
lea eax, [ebp + 0x114]
push esi
push eax
call fcn.00412e67
pop ecx
pop ecx
test eax, eax
jns 0x40953b
push edi
call fcn.00412606
pop ecx
test eax, eax
je 0x409542
push SysReAllocString
lea ecx, [ebp + 0xe0]
call fcn.00419a04
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicy
lea ecx, [ebp + 0xe0]
call fcn.00419aa2
test eax, eax
jne 0x409542
push str.VersionXmlURL
lea ecx, [ebp + 0xe0]
call fcn.00419a79
push str.LastUpdateBeginTime
lea ecx, [ebp + 0xe0]
call fcn.00419a79
push str.LastUpdateFinishTime
lea ecx, [ebp + 0xe0]
call fcn.00419a79
lea ecx, [ebp + 0xe0]
call fcn.00419a4c
jmp 0x409542
mov dword [ebp + 0x18], 1
cmp dword [ebp + 0xc], edi
je 0x409569
lea eax, [ebp]
push eax
call fcn.00405857
pop ecx
test eax, eax
jne 0x409569
push str.Error_Querying_Frequency_Schedule_n
call fcn.004198f9
pop ecx
push 0xfffffffffffffffd
pop ebx
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x18], ebx
lea eax, [ebp]
push eax
call fcn.00405292
pop ecx
lea eax, [ebp]
push eax
call fcn.00405745
mov esi, edi
mov dword [ebp - 0x14], esi
pop ecx
cmp dword [ebp + 0xc], 0
je 0x4095f3
cmp dword [ebp + 0x10], 0
je 0x40962a
cmp dword [ebp + 0x1c], 0
je 0x40959f
push str.Time_for_a_Java_Update__Critical__check._n
jmp 0x4095a4
push str.Time_for_a_Java_Update_check._n
call fcn.004198f9
pop ecx
push dword [ebp + 0x1c]
lea eax, [ebp + 0x18]
mov dword [ebp + 0x10], edi
push dword [ebp + 0xc]
mov dword [ebp + 0x18], edi
push eax
push dword [ebp + 0x2c]
lea eax, [ebp - 0x14]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x50]
push eax
push 1
lea eax, [ebp + 0x1114]
push eax
call fcn.004074ac
add esp, 0x2c
cmp dword [ebp + 0xc], 0
jne 0x40961c
push str.jusched_main:_StartUpdateChecker_set_bRun_to_false__user_cancel_or_shutdown_event
call fcn.004131c2
pop ecx
push 0x64
pop ebx
push dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push 2
push eax
call fcn.00404808
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x409b52
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x409b52
lea eax, [ebp]
push eax
call fcn.00405292
mov esi, dword [ebp - 0x14]
jmp 0x40966d
cmp dword [ebp + 0x18], 0
je 0x409663
test esi, esi
jne 0x409663
push str.There_is_a_pending_Java_Update__and_waittime0_._n
call fcn.004131c2
pop ecx
push dword [ebp + 0x1c]
lea eax, [ebp + 0x18]
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x2c]
lea eax, [ebp - 0x14]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x50]
push eax
push edi
jmp 0x4095d0
push str.Top_of_update_check_loop__and_not_time_for_any_update_checks._n
call fcn.004131c2
pop ecx
push 0x100
lea eax, [ebp + 0x2514]
push edi
push eax
call fcn.00442690
push 0x100
lea eax, [ebp + 0x2114]
push edi
push eax
call fcn.00442690
push 0x100
lea eax, [ebp + 0x2314]
push edi
push eax
call fcn.00442690
push 0x100
lea eax, [ebp + 0x2414]
push edi
push eax
call fcn.00442690
add esp, 0x30
test esi, esi
jne 0x40981a
xorps xmm0, xmm0
lea eax, [ebp + 0x28]
push eax
movlpd qword [ebp + 0x10c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x40], xmm0
call fcn.004479b5
push eax
call fcn.00447423
cmp dword [ebp + 0x1c], esi
mov ecx, 0x46fb0e
push eax
mov eax, str.__Critical_
cmove eax, ecx
push eax
lea eax, [ebp + 0x2514]
push str.JavaUpdate_s_NextSchedTime_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
lea eax, [ebp + 0x10c]
push eax
call fcn.0040716b
mov eax, dword [ebp + 0x28]
add esp, 0x34
mov ecx, dword [ebp + 0x2c]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x24]
push eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], esi
call fcn.004479b5
push eax
call fcn.00447423
cmp dword [ebp + 0x1c], 0
mov ecx, str.JavaUpdate
push eax
mov eax, str.JavaUpdate__Critical_
cmove eax, ecx
push eax
lea eax, [ebp + 0x2314]
push str._slastSchedTime_s
push eax
call fcn.00409dd2
lea eax, [ebp - 0x34]
push eax
call fcn.004479b5
mov ecx, esi
mov edi, eax
mov eax, ecx
xor edx, edx
mov esi, 0x3e8
add esp, 0x14
div esi
movd xmm0, ecx
xor edx, edx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mov esi, eax
addsd xmm0, qword [ecx*8 + 0x470ae0]
mov ecx, 0xe10
div ecx
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x470acc]
divss xmm0, dword [0x470ad0]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
push esi
mov esi, str.JavaUpdate__Critical_
cmp dword [ebp + 0x1c], 0
mov ecx, str.JavaUpdate
mov eax, esi
cmove eax, ecx
push eax
push edi
call fcn.00447423
cmp dword [ebp + 0x1c], 0
pop ecx
push eax
mov ecx, str.JavaUpdate
mov eax, esi
cmove eax, ecx
push eax
lea eax, [ebp + 0x2414]
push str._snextSchedTime_s_ssleeptime__sec_u__hours_u__days_2.2f__n
push eax
call fcn.00409dd2
mov esi, dword [ebp - 0x20]
add esp, 0x24
xor edi, edi
jmp 0x409830
lea eax, [ebp + 0x2514]
push str.JavaUpdate_waittime_still_set._n
push eax
call fcn.00409dd2
pop ecx
pop ecx
mov dword [ebp - 0x38], esi
push 0x800
lea eax, [ebp + 0x914]
push edi
push eax
call fcn.00442690
xor edx, edx
mov eax, esi
mov ecx, 0x3e8
div ecx
push 0x3c
pop ecx
mov esi, eax
xor edx, edx
div ecx
cmp dword [ebp + 0x1c], 0
mov ecx, str.JavaUpdate__Critical_
mov edi, eax
mov eax, str.JavaUpdate
cmove ecx, eax
xor edx, edx
push ecx
push 0x3c
pop ecx
mov eax, esi
mov esi, dword [ebp - 0x38]
div ecx
mov eax, edi
push edx
xor edx, edx
div ecx
mov eax, edi
push edx
xor edx, edx
div ecx
push eax
push esi
lea eax, [ebp + 0x2414]
push eax
lea eax, [ebp + 0x2314]
push eax
lea eax, [ebp + 0x2114]
push eax
lea eax, [ebp + 0x2514]
push eax
lea eax, [ebp + 0x914]
push str._s_s_s_sactual_sleep_time_u_msecs___01u:_02u:_02u__for__s_n
push eax
call fcn.00409dd2
lea eax, [ebp + 0x914]
push eax
call fcn.004198f9
add esp, 0x3c
call fcn.00412a18
test al, al
je 0x4098e3
cmp esi, 0xa8c0
jbe 0x4098e3
push str.jusched.exe_exit_because_it_is_an_OEMUpdate_and_the_sleeptime_is_greater_than_12_hours
call fcn.004198f9
pop ecx
jmp 0x4095f3
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x48], xmm0
call fcn.00447e6f
pop ecx
push esi
xor edi, edi
lea eax, [ebp - 0x2c]
push edi
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, edi
je 0x409b07
sub eax, 1
je 0x409a06
sub eax, 0x7f
je 0x409b07
sub eax, 1
je 0x409b07
sub eax, 0x81
je 0x40997a
push 0xffffffffffffff9d
pop ebx
push 0x100
lea eax, [ebp + 0x2214]
mov dword [ebp + 0xc], edi
push edi
push eax
mov dword [ebp - 0x18], ebx
call fcn.00442690
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x2214]
push str.Error_in_WaitForSingleObject:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp + 0x2214]
push eax
call fcn.004198f9
add esp, 0x10
jmp 0x409b1b
mov esi, 0x800
lea eax, [ebp + 0x1914]
push esi
push edi
push eax
call fcn.00442690
push 0xffffffffffffffff
push str.Timeout_occured.
lea eax, [ebp + 0x1914]
push esi
push eax
call fcn.00446579
lea eax, [ebp + 0x1914]
push eax
call fcn.004131c2
mov esi, dword [ebp - 0x14]
add esp, 0x20
test esi, esi
jne 0x4099dd
cmp dword [ebp + 0x1c], edi
mov ecx, str.Run_Java_update_now._n
mov eax, str.Run_Java_update__Critical__now._n
cmove eax, ecx
push eax
lea eax, [ebp + 0x1914]
push eax
call fcn.004465a0
mov dword [ebp + 0x10], 1
jmp 0x4099f3
lea eax, [ebp + 0x1914]
push str.Java_update_had_a_waittime.__Clearing_waittime._n
push eax
call fcn.004465a0
mov esi, edi
mov dword [ebp - 0x14], esi
pop ecx
pop ecx
lea eax, [ebp + 0x1914]
push eax
call fcn.004198f9
jmp 0x409581
push str.Registry_change_detected._n
call fcn.004198f9
pop ecx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x1c]
push 0x16
pop ecx
mov esi, 0x46e4e8
lea edi, [ebp - 0xc0]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
push eax
call fcn.00412cc9
pop ecx
pop ecx
test eax, eax
je 0x409af5
lea eax, [ebp - 0xc0]
push eax
call fcn.00405857
pop ecx
test eax, eax
je 0x409af5
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
cmp edx, dword [ebp]
jne 0x409ab2
cmp ecx, dword [ebp + 4]
jne 0x409ab2
cmp dword [ebp + 0x14], edi
je 0x409a87
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp + 8]
jne 0x409ab2
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x409ad3
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x34], xmm0
call fcn.00447e6f
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x34]
imul eax, eax, 0x3e8
add esi, eax
mov dword [ebp - 0x14], esi
jmp 0x409ad2
mov eax, dword [ebp - 0xb8]
mov esi, edi
mov dword [ebp + 8], eax
lea eax, [ebp]
push eax
mov dword [ebp], edx
mov dword [ebp + 4], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp + 0x18], edi
call fcn.00405292
pop ecx
push dword [ebp - 0x1c]
call fcn.004055f1
mov dword [ebp - 0x28], eax
pop ecx
test eax, eax
jne 0x409582
push 0xfffffffffffffffe
pop ebx
mov dword [ebp + 0xc], edi
mov dword [ebp - 0x18], ebx
jmp 0x409582
push str.jusched_ERROR:_Opening_JavaUpdate_key_or_Querying_Frequency_Schedule_in_while_loop_n
call fcn.004198f9
pop ecx
mov dword [ebp + 0xc], edi
push 0xfffffffffffffffd
jmp 0x409b17
push str.Received_shutdown_signal_n
mov dword [ebp + 0xc], edi
call fcn.004198f9
pop ecx
push 0x64
pop ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp - 0x14]
jmp 0x409582
push str.jusched_ERROR:_error_detected_during_startup_checks
call fcn.004131c2
pop ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x2c]
push 2
push eax
call fcn.00404808
add esp, 0xc
lea ecx, [ebp - 0x68]
push dword [ebp - 0x1c]
call fcn.00419a42
lea ecx, [ebp - 0x68]
call fcn.00419a4c
mov ecx, 0x4966c4
call fcn.00407727
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
jmp 0x409c21
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2614]
xor ecx, ebp
call fcn.00440ce3
add ebp, 0x2618
leave
ret 0x10
lea ecx, [ebp - 0x100]
call fcn.00403265
push str.Showing_Auto_update_jusched.exe_crash_dialog_for_test.
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004027c0
push 0x438
push str.WinMain
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_au_jusched_UpdateScheduler.cpp
lea ecx, [ebp + 0x108]
mov esi, eax
call fcn.004030f3
push eax
lea eax, [ebp + 0x58]
push esi
push eax
call fcn.0040893d
add esp, 0xc
lea eax, [ebp + 0x58]
push 0x4891b4
push eax
call fcn.00442add
int3