Function at 0x405d6e
Capabilities:
Accept command line arguments
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e9cc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2628
call fcn.0043abd0
mov eax, dword [0x48c068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
and dword [ebp - 0x25a4], 0
mov eax, 0x4741c6
and dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, dword [0x48fb78]
mov eax, dword [0x48fb7c]
mov dword [0x48f648], edi
jmp 0x405df0
mov ecx, dword [esi]
test ecx, ecx
je 0x405ded
push 1
call dword [ecx + 0x1c]
mov eax, dword [0x48fb7c]
add esi, 4
cmp esi, eax
jb 0x405ddd
push ecx
lea ecx, [ebp - 0x2520]
call fcn.00413971
mov esi, eax
push edi
push ecx
push 0x48ca64
mov ecx, dword [esi + 4]
call fcn.0041416e
cmp eax, 1
jne 0x405e47
push edi
push ecx
mov ecx, dword [esi + 4]
push 0x48caac
call fcn.0041416e
shr eax, 4
test al, 1
jne 0x405e47
push edi
push ecx
mov ecx, dword [esi + 4]
push 0x48ca94
call fcn.0041416e
mov byte [ebp - 0x2599], 0
cmp eax, 0x64
jne 0x405e4e
mov byte [ebp - 0x2599], 1
lea ecx, [ebp - 0x2520]
call fcn.004139d7
cmp byte [ebp - 0x2599], 0
je 0x405e74
mov ecx, str.AutoUpdate_disabled._n
call fcn.00410fe5
push 0xfffffffffffffffc
pop eax
jmp 0x406845
call fcn.00411245
test eax, eax
jne 0x405ec5
cmp dword [0x48f67c], 3
jg 0x405ec1
push str.jusched_Error:___XP_and_not_an_admin_user
lea ecx, [ebp - 0x252c]
call fcn.004069c2
push eax
push str.WinMain
push 0x435
push str.c:_jenkins_workspace_8_2_build_windows_amd64_cygwin_jdk8u261_295_install_src_windows_au_jusched_UpdateScheduler.cpp
push 3
mov ecx, 0x48f67c
mov byte [ebp - 4], 1
call fcn.00417dda
lea ecx, [ebp - 0x252c]
call fcn.00406b80
push 0xfffffffffffffffb
jmp 0x405e6e
and dword [ebp - 0x25b8], edi
lea eax, [ebp - 0x25ac]
and dword [ebp - 0x25ac], edi
lea ecx, [ebp - 0x25c0]
push eax
lea eax, [ebp - 0x25b8]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x25c0], xmm0
call fcn.00405935
mov esi, eax
mov dword [ebp - 0x25a4], esi
pop ecx
pop ecx
test esi, esi
jne 0x405f4e
mov ecx, str._Running_jusched__n
call fcn.0041781b
mov eax, dword [ebp - 0x25c0]
mov edi, 0x493e0
mov dword [ebp - 0x25b4], eax
call fcn.00410c17
xor ecx, ecx
test al, al
cmovne edi, ecx
push edi
push dword [ebp - 0x25b4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x405f48
mov ecx, str.Shutdown_signal_received
call fcn.0041781b
push 0x64
pop esi
mov dword [ebp - 0x25a4], esi
push 0x800
lea eax, [ebp - 0x1514]
push 0
push eax
call fcn.0043c110
add esp, 0xc
test esi, esi
jne 0x405f7b
lea ecx, [ebp - 0x1514]
call fcn.00405a6d
mov esi, eax
mov dword [ebp - 0x25a4], esi
cmp dword [0x48fb60], 0
jne 0x405f9d
push 0
call fcn.0044219d
push eax
call fcn.00444916
pop ecx
pop ecx
mov dword [0x48fb60], 1
and dword [ebp - 0x2518], 0
mov edi, dword [ebp - 0x25ac]
mov dword [ebp - 0x2530], edi
mov byte [ebp - 0x251c], 0
test esi, esi
jne 0x4067a7
call fcn.00405ac0
mov esi, eax
mov dword [ebp - 0x25a8], esi
mov dword [ebp - 0x25a4], esi
test esi, esi
jne 0x4067a7
push 0x16
pop ecx
mov esi, 0x474e40
lea edi, [ebp - 0x2598]
rep movsd dword es:[edi], dword [esi]
mov esi, 0x800
push esi
push eax
lea eax, [ebp - 0x2514]
push eax
call fcn.0043c110
add esp, 0xc
lea ecx, [ebp - 0x2540]
call fcn.0041367e
test eax, eax
jns 0x4060b8
lea eax, [ebp - 0x25b0]
mov dword [ebp - 0x25b0], esi
push eax
lea eax, [ebp - 0x2514]
mov edx, str.LocalFileName
push eax
xor ecx, ecx
call fcn.004108e2
pop ecx
pop ecx
test eax, eax
je 0x406042
cmp dword [ebp - 0x25b0], 0
jne 0x4060b8
xor ecx, ecx
call fcn.00410833
test eax, eax
je 0x4060c2
and dword [ebp - 0x2518], 0
lea ecx, [ebp - 0x2530]
push 0x2001f
push str.SOFTWAREJavaSoftJava_UpdatePolicy
mov dword [ebp - 0x2530], SysReAllocString
mov byte [ebp - 0x251c], 0
call fcn.0041732b
test eax, eax
jne 0x4060c2
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.VersionXmlURL
push dword [ebp - 0x252c]
call esi
push str.LastUpdateBeginTime
push dword [ebp - 0x252c]
call esi
push str.LastUpdateFinishTime
push dword [ebp - 0x252c]
call esi
lea ecx, [ebp - 0x2530]
call fcn.00417362
jmp 0x4060c2
mov dword [ebp - 0x2580], 1
cmp dword [ebp - 0x258c], 0
je 0x4060fa
lea ecx, [ebp - 0x2598]
call fcn.00404c2d
test eax, eax
jne 0x4060fa
mov ecx, str.Error_Querying_Frequency_Schedule_n
call fcn.0041781b
and dword [ebp - 0x258c], 0
push 0xfffffffffffffffd
pop esi
mov dword [ebp - 0x25a8], esi
mov dword [ebp - 0x25a4], esi
lea ecx, [ebp - 0x2598]
call fcn.0040482d
lea ecx, [ebp - 0x2598]
call fcn.00404c80
xor edi, edi
mov dword [ebp - 0x25cc], str.JavaUpdate
mov dword [ebp - 0x25a0], edi
mov esi, dword [ebp - 0x25a8]
cmp dword [ebp - 0x258c], 0
je 0x4061c8
cmp dword [ebp - 0x2588], 0
je 0x4061fb
cmp dword [ebp - 0x257c], 0
mov ecx, str.Time_for_a_Java_Update__Critical__check._n
jne 0x406155
mov ecx, str.Time_for_a_Java_Update_check._n
call fcn.0041781b
and dword [ebp - 0x2588], 0
xor edx, edx
and dword [ebp - 0x2580], 0
inc edx
push dword [ebp - 0x257c]
lea eax, [ebp - 0x2580]
push dword [ebp - 0x258c]
lea ecx, [ebp - 0x1514]
push eax
push dword [ebp - 0x256c]
lea eax, [ebp - 0x25a0]
push dword [ebp - 0x2570]
push dword [ebp - 0x2574]
push dword [ebp - 0x2578]
push eax
lea eax, [ebp - 0x2548]
push eax
call fcn.00405750
add esp, 0x24
cmp dword [ebp - 0x258c], 0
jne 0x406219
mov ecx, str.jusched_main:_StartUpdateChecker_set_bRun_to_false__user_cancel_or_shutdown_event
call fcn.00410fe5
push 0x64
pop esi
push dword [ebp - 0x25b8]
lea ecx, [ebp - 0x25c0]
call fcn.00405906
mov eax, dword [ebp - 0x25ac]
pop ecx
test eax, eax
je 0x4061eb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00404480
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x406843
cmp dword [ebp - 0x2580], 0
je 0x40622c
test edi, edi
jne 0x40622c
mov ecx, str.There_is_a_pending_Java_Update__and_waittime0_._n
call fcn.00410fe5
xor edx, edx
jmp 0x40616b
lea ecx, [ebp - 0x2598]
call fcn.0040482d
mov edi, dword [ebp - 0x25a0]
jmp 0x406236
mov ecx, str.Top_of_update_check_loop__and_not_time_for_any_update_checks._n
call fcn.00410fe5
mov esi, 0x100
lea eax, [ebp - 0x114]
push esi
push 0
push eax
call fcn.0043c110
push esi
lea eax, [ebp - 0x514]
push 0
push eax
call fcn.0043c110
push esi
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.0043c110
push esi
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.0043c110
add esp, 0x30
test edi, edi
jne 0x40642a
xorps xmm0, xmm0
lea eax, [ebp - 0x2570]
push eax
movlpd qword [ebp - 0x251c], xmm0
movlpd qword [ebp - 0x25c8], xmm0
movlpd qword [ebp - 0x25d4], xmm0
call fcn.00442470
push eax
call fcn.0043f294
cmp dword [ebp - 0x257c], edi
mov ecx, 0x4741c6
push eax
mov eax, str.__Critical_
cmove eax, ecx
push eax
lea eax, [ebp - 0x114]
push str.JavaUpdate_s_NextSchedTime_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp - 0x257c]
lea edx, [ebp - 0x25b0]
push dword [ebp - 0x256c]
lea ecx, [ebp - 0x251c]
push dword [ebp - 0x2570]
push dword [ebp - 0x2574]
push dword [ebp - 0x2578]
call fcn.00404d95
mov eax, dword [ebp - 0x2570]
add esp, 0x2c
mov esi, dword [ebp - 0x25b0]
mov dword [ebp - 0x25c8], eax
mov eax, dword [ebp - 0x256c]
mov dword [ebp - 0x25c4], eax
mov eax, dword [ebp - 0x2578]
mov dword [ebp - 0x25d4], eax
mov eax, dword [ebp - 0x2574]
mov dword [ebp - 0x25d0], eax
lea eax, [ebp - 0x25d4]
push eax
mov dword [ebp - 0x25b4], esi
call fcn.00442470
push eax
call fcn.0043f294
cmp dword [ebp - 0x257c], edi
mov ecx, str.JavaUpdate
push eax
mov eax, str.JavaUpdate__Critical_
cmove eax, ecx
push eax
lea eax, [ebp - 0x314]
push str._slastSchedTime_s
push eax
call fcn.00401fb5
lea eax, [ebp - 0x25c8]
push eax
call fcn.00442470
mov ecx, esi
mov edi, eax
xor edx, edx
mov eax, ecx
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 + 0x47d5f0]
mov ecx, 0xe10
div ecx
cvtpd2ps xmm0, xmm0
cmp dword [ebp - 0x257c], 0
divss xmm0, dword [0x47d5a0]
divss xmm0, dword [0x47d5a4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
push esi
mov esi, str.JavaUpdate__Critical_
mov eax, esi
mov ecx, str.JavaUpdate
cmove eax, ecx
push eax
push edi
call fcn.0043f294
cmp dword [ebp - 0x257c], 0
pop ecx
push eax
mov ecx, str.JavaUpdate
mov eax, esi
cmove eax, ecx
push eax
lea eax, [ebp - 0x214]
push str._snextSchedTime_s_ssleeptime__sec_u__hours_u__days_2.2f__n
push eax
call fcn.00401fb5
mov edi, dword [ebp - 0x25a0]
add esp, 0x24
mov esi, dword [ebp - 0x25b0]
jmp 0x406445
lea eax, [ebp - 0x114]
push str.JavaUpdate_waittime_still_set._n
push eax
call fcn.00401fb5
pop ecx
pop ecx
mov esi, edi
mov dword [ebp - 0x25b4], edi
push 0x800
lea eax, [ebp - 0x1d14]
push 0
push eax
call fcn.0043c110
xor edx, edx
mov eax, esi
mov ecx, 0x3e8
div ecx
push 0x3c
pop ecx
xor edx, edx
div ecx
mov esi, edx
xor edx, edx
div ecx
cmp dword [ebp - 0x257c], 0
mov ecx, str.JavaUpdate__Critical_
cmove ecx, dword [ebp - 0x25cc]
push ecx
push esi
mov esi, dword [ebp - 0x25b4]
push edx
push eax
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x1d14]
push str._s_s_s_sactual_sleep_time_u_msecs___01u:_02u:_02u__for__s_n
push eax
call fcn.00401fb5
add esp, 0x38
lea ecx, [ebp - 0x1d14]
call fcn.0041781b
call fcn.00410c17
test al, al
je 0x4064ef
cmp esi, 0xa8c0
jbe 0x4064ef
mov ecx, str.jusched.exe_exit_because_it_is_an_OEMUpdate_and_the_sleeptime_is_greater_than_12_hours
call fcn.0041781b
mov esi, dword [ebp - 0x25a8]
jmp 0x4061c8
lea eax, [ebp - 0x25dc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x25dc], xmm0
call fcn.0044219d
pop ecx
push esi
push 0
lea eax, [ebp - 0x25c0]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x406782
cmp eax, 1
je 0x40662c
cmp eax, 0x7f
jbe 0x4065d4
cmp eax, 0x81
jbe 0x406782
cmp eax, 0x102
jne 0x4065d4
mov esi, 0x800
lea eax, [ebp - 0xd14]
push esi
push 0
push eax
call fcn.0043c110
push 0xffffffffffffffff
push str.Timeout_occured.
lea eax, [ebp - 0xd14]
push esi
push eax
call fcn.0043f433
add esp, 0x1c
lea ecx, [ebp - 0xd14]
call fcn.00410fe5
lea eax, [ebp - 0xd14]
test edi, edi
jne 0x4065af
cmp dword [ebp - 0x257c], edi
je 0x406598
push str.Run_Java_update__Critical__now._n
jmp 0x40659d
push str.Run_Java_update_now._n
push eax
call fcn.00442030
mov dword [ebp - 0x2588], 1
jmp 0x4065c2
push str.Java_update_had_a_waittime.__Clearing_waittime._n
push eax
call fcn.00442030
xor edi, edi
mov dword [ebp - 0x25a0], edi
pop ecx
pop ecx
lea ecx, [ebp - 0xd14]
call fcn.0041781b
jmp 0x406122
and dword [ebp - 0x258c], 0
lea eax, [ebp - 0x414]
push 0xffffffffffffff9d
pop esi
push 0x100
push 0
push eax
mov dword [ebp - 0x25a8], esi
mov dword [ebp - 0x25a4], esi
call fcn.0043c110
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x414]
push str.Error_in_WaitForSingleObject:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x414]
call fcn.0041781b
jmp 0x406128
mov ecx, str.Registry_change_detected._n
call fcn.0041781b
push dword [ebp - 0x25bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x25ac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x25ac], 0
lea edi, [ebp - 0x2638]
push 0x16
pop ecx
mov esi, 0x474e40
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x25ac]
call fcn.004107b5
test eax, eax
je 0x406757
lea ecx, [ebp - 0x2638]
call fcn.00404c2d
test eax, eax
je 0x406757
mov edx, dword [ebp - 0x2638]
mov ecx, dword [ebp - 0x2634]
cmp edx, dword [ebp - 0x2598]
jne 0x4066fc
cmp ecx, dword [ebp - 0x2594]
jne 0x4066fc
cmp dword [ebp - 0x2584], 0
je 0x4066be
mov eax, dword [ebp - 0x2630]
cmp eax, dword [ebp - 0x2590]
jne 0x4066fc
mov edi, dword [ebp - 0x25a0]
test edi, edi
je 0x40672d
lea eax, [ebp - 0x25c8]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x25c8], xmm0
call fcn.0044219d
mov eax, dword [ebp - 0x25dc]
sub eax, dword [ebp - 0x25c8]
imul eax, eax, 0x3e8
pop ecx
add edi, eax
mov dword [ebp - 0x25a0], edi
jmp 0x40672d
mov eax, dword [ebp - 0x2630]
xor edi, edi
and dword [ebp - 0x2580], edi
mov dword [ebp - 0x2594], ecx
lea ecx, [ebp - 0x2598]
mov dword [ebp - 0x2598], edx
mov dword [ebp - 0x2590], eax
mov dword [ebp - 0x25a0], edi
call fcn.0040482d
mov ecx, dword [ebp - 0x25ac]
call fcn.004058b8
mov esi, dword [ebp - 0x25a8]
mov dword [ebp - 0x25bc], eax
test eax, eax
jne 0x406128
and dword [ebp - 0x258c], 0
push 0xfffffffffffffffe
jmp 0x406795
mov ecx, str.jusched_ERROR:_Opening_JavaUpdate_key_or_Querying_Frequency_Schedule_in_while_loop_n
call fcn.0041781b
and dword [ebp - 0x258c], 0
mov edi, dword [ebp - 0x25a0]
push 0xfffffffffffffffd
pop esi
mov dword [ebp - 0x25a8], esi
mov dword [ebp - 0x25a4], esi
jmp 0x406128
and dword [ebp - 0x258c], 0
mov ecx, str.Received_shutdown_signal_n
call fcn.0041781b
push 0x64
pop esi
mov dword [ebp - 0x25a8], esi
mov dword [ebp - 0x25a4], esi
jmp 0x406128
mov ecx, str.jusched_ERROR:_error_detected_during_startup_checks
call fcn.00410fe5
push dword [ebp - 0x25b8]
lea ecx, [ebp - 0x25c0]
call fcn.00405906
pop ecx
lea ecx, [ebp - 0x2530]
mov dword [ebp - 0x252c], edi
call fcn.00417362
jmp 0x4061eb
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00439b80
leave
ret 0x10