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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1290
call fcn.00413350
push ebx
push esi
push edi
push 0x42c65b
call fcn.004012d1
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 8]
mov esi, 0x43b248
push ebx
mov ecx, esi
call fcn.00401456
call fcn.004111d0
test eax, eax
je 0x403ed0
push str.AutoUpdate_disabled._n
call fcn.00410f3c
pop ecx
push 0xfffffffffffffffc
jmp 0x40498f
call fcn.0040f4ba
test eax, eax
je 0x404982
call fcn.00411157
test eax, eax
je 0x404982
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push 2
push eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
call fcn.00402034
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x403f2b
push str._Running_jusched__n
call fcn.0040fb5b
push dword [ebp - 0x1c]
call fcn.0040216a
pop ecx
pop ecx
mov edi, eax
push 0x3ff
lea eax, [ebp - 0xe8f]
push ebx
push eax
mov byte [ebp - 0xe90], bl
call fcn.00412420
add esp, 0xc
cmp edi, ebx
jne 0x403f5f
lea eax, [ebp - 0xe90]
push 0x400
push eax
call fcn.004021a3
pop ecx
pop ecx
mov edi, eax
call fcn.0040f29e
cmp edi, ebx
jne 0x403f7a
push dword [ebp - 0xc]
call fcn.004021fd
mov edi, eax
pop ecx
mov dword [ebp - 0x10], edi
cmp edi, ebx
je 0x403fb2
push str.jusched_ERROR:_error_detected_during_startup_checks
call fcn.00410f3c
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push 2
push eax
call fcn.00402000
add esp, 0x10
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.004024ca
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
jmp 0x404990
push 0x18
pop ecx
mov eax, 0x42c728
mov esi, eax
push 0x18
lea edi, [ebp - 0x94]
rep movsd dword es:[edi], dword [esi]
pop ecx
mov esi, eax
push 0x3ff
lea eax, [ebp - 0x128f]
lea edi, [ebp - 0x114]
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0xbc], 2
mov byte [ebp - 0x1290], bl
call fcn.00412420
lea eax, [ebp - 0x130]
push eax
call fcn.0040e488
add esp, 0x10
test eax, eax
jns 0x40407f
lea eax, [ebp - 0x1290]
push 0x400
push eax
call fcn.00410f50
pop ecx
pop ecx
test eax, eax
jns 0x40407f
push ebx
call fcn.00411531
pop ecx
test eax, eax
je 0x404086
lea eax, [ebp + 8]
push eax
push 0x2001f
push ebx
push 0x42d38c
push 0x80000001
mov dword [ebp + 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404086
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x42d3b4
push dword [ebp + 8]
call esi
push str.LastUpdateBeginTime
push dword [ebp + 8]
call esi
push str.LastUpdateFinishTime
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x404086
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x88], ebx
je 0x4040f8
lea eax, [ebp - 0x94]
push eax
call fcn.00401a1b
pop ecx
test eax, eax
jne 0x4040b7
push str.Error_Querying_Frequency_Schedule_n
call fcn.0040fb5b
pop ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x10], 0xfffffffd
call fcn.00410565
mov dword [ebp - 0x108], eax
cmp eax, ebx
je 0x4040f8
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004115ae
add esp, 0xc
test eax, eax
je 0x4040f8
push 0x42d414
call fcn.0040fb5b
pop ecx
mov dword [ebp - 0x108], ebx
lea eax, [ebp - 0x94]
push eax
call fcn.004016ad
lea eax, [ebp - 0x94]
push eax
call fcn.00401a4b
pop ecx
pop ecx
cmp dword [ebp - 0x108], ebx
je 0x40413f
push str.jusched_main:JavaFX_calling_GetNextSched_n
call fcn.00410f3c
lea eax, [ebp - 0x114]
push eax
call fcn.004016ad
lea eax, [ebp - 0x114]
push eax
call fcn.00401a4b
add esp, 0xc
mov dword [ebp + 8], ebx
cmp dword [ebp - 0x88], ebx
je 0x40494e
mov esi, 0xff
cmp dword [ebp - 0x84], ebx
je 0x4041ca
cmp dword [ebp - 0x78], ebx
je 0x404167
push str.Time_for_a_Java_Update__Critical__check._n
jmp 0x40416c
push str.Time_for_a_Java_Update_check._n
call fcn.0040fb5b
pop ecx
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x88]
mov dword [ebp - 0x84], ebx
push eax
push dword [ebp - 0x68]
lea eax, [ebp + 8]
push dword [ebp - 0x6c]
mov dword [ebp - 0x7c], ebx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xe90]
push 1
push eax
call fcn.00403d87
add esp, 0x2c
cmp dword [ebp - 0x88], ebx
je 0x404930
lea eax, [ebp - 0x94]
push eax
call fcn.004016ad
jmp 0x404257
cmp dword [ebp - 0x7c], ebx
je 0x404221
cmp dword [ebp + 8], ebx
jne 0x404221
push str.There_is_a_pending_Java_Update__and_waittime0_._n
call fcn.00410f3c
push dword [ebp - 0x78]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x88]
push eax
push dword [ebp - 0x68]
lea eax, [ebp + 8]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xe90]
push ebx
push eax
call fcn.00403d87
add esp, 0x30
cmp dword [ebp - 0x88], ebx
jne 0x4041b9
push str.jusched_main:_StartUpdateChecker_set_bRun_to_false__user_cancel_or_shutdown_event
jmp 0x404935
cmp dword [ebp - 0x104], ebx
je 0x40424d
push str.Time_for_JavaFX_update._n
call fcn.0040fb5b
mov dword [ebp - 0x104], ebx
call fcn.0040297d
lea eax, [ebp - 0x114]
push eax
call fcn.004016ad
pop ecx
jmp 0x404257
push str.Top_of_update_check_loop__and_not_time_for_any_update_checks._n
call fcn.00410f3c
pop ecx
push esi
lea eax, [ebp - 0x28f]
push ebx
push eax
mov byte [ebp - 0x290], bl
call fcn.00412420
push esi
lea eax, [ebp - 0x38f]
push ebx
push eax
mov byte [ebp - 0x390], bl
call fcn.00412420
push esi
lea eax, [ebp - 0x68f]
push ebx
push eax
mov byte [ebp - 0x690], bl
call fcn.00412420
push esi
lea eax, [ebp - 0x58f]
push ebx
push eax
mov byte [ebp - 0x590], bl
call fcn.00412420
add esp, 0x30
cmp dword [ebp + 8], ebx
jne 0x4044dc
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov esi, str.__Critical_
cmp dword [ebp - 0x78], ebx
jne 0x4042db
mov esi, 0x42c662
lea eax, [ebp - 0x6c]
push eax
call fcn.00411f49
push eax
call fcn.0041223c
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x290]
push str.JavaUpdate_s_NextSchedTime_s
push eax
call esi
lea eax, [ebp - 0xec]
push eax
call fcn.00411f49
push eax
call fcn.0041223c
push eax
lea eax, [ebp - 0x390]
push str.JavaFXUpdate_NextSchedTime_s
push eax
call esi
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00401b6a
add esp, 0x48
cmp dword [ebp - 0x108], ebx
je 0x4043c4
push dword [ebp - 0xbc]
lea eax, [ebp - 0xa8]
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00401b6a
add esp, 0x1c
cmp dword [ebp - 0x108], ebx
je 0x4043c4
mov esi, dword [ebp - 0xa8]
cmp dword [ebp - 0x34], esi
jbe 0x4043c4
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 8], 2
mov dword [ebp - 0x24], eax
mov edi, 0x42d640
jmp 0x4043f5
mov eax, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], 1
mov dword [ebp - 0x24], eax
mov edi, 0x42d64c
cmp dword [ebp - 0x78], ebx
jne 0x4043f5
mov edi, 0x42d664
lea eax, [ebp - 0x28]
push eax
call fcn.00411f49
push eax
call fcn.0041223c
push eax
push edi
lea eax, [ebp - 0x690]
push str._slastSchedTime_s
push eax
call fcn.004136d9
add esp, 0x18
cmp dword [ebp - 8], 2
jne 0x404430
mov dword [ebp - 0x14], 0x42d684
mov dword [ebp - 4], str.JavaFX:
jmp 0x404453
cmp dword [ebp - 0x78], ebx
je 0x4044d0
mov dword [ebp - 0x14], 0x42d690
mov dword [ebp - 4], 0x42d6c0
cmp dword [ebp - 0x78], ebx
jne 0x404453
mov dword [ebp - 4], 0x42d6d8
lea eax, [ebp - 0x30]
push eax
call fcn.00411f49
mov dword [ebp - 0xb4], eax
xor edx, edx
mov ecx, 0x3e8
mov eax, esi
div ecx
mov ecx, eax
mov eax, esi
mov dword [ebp - 0x120], eax
fild dword [ebp - 0x120]
test eax, eax
jns 0x404487
fadd dword [0x42dc48]
fdiv qword [0x42dc40]
mov eax, ecx
xor edx, edx
mov edi, 0xe10
div edi
push ecx
fdiv qword [0x42dc38]
fstp qword [esp]
push eax
push ecx
push dword [ebp - 0x14]
push dword [ebp - 0xb4]
call fcn.0041223c
pop ecx
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x590]
push str._snextSchedTime_s_ssleeptime__sec_u__hours_u__days_2.2f__n
push eax
call fcn.004136d9
add esp, 0x24
jmp 0x404554
mov dword [ebp - 0x14], 0x42d6a8
jmp 0x404440
lea eax, [ebp - 0x290]
push str.JavaUpdate_waittime_still_set._n
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
call fcn.004136d9
pop ecx
pop ecx
cmp dword [ebp - 0x108], ebx
je 0x40454a
push 2
pop edi
push edi
push dword [ebp - 0xe8]
lea eax, [ebp - 4]
push dword [ebp - 0xec]
push dword [ebp - 0xf0]
push dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00401b6a
add esp, 0x1c
cmp dword [ebp - 0x108], ebx
je 0x40454a
mov esi, dword [ebp - 4]
cmp dword [ebp + 8], esi
jbe 0x40454a
mov dword [ebp - 8], edi
jmp 0x404554
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 1
push 0x3ff
lea eax, [ebp - 0xa8f]
push ebx
push eax
mov byte [ebp - 0xa90], bl
call fcn.00412420
add esp, 0xc
cmp dword [ebp - 8], 2
jne 0x40457e
mov dword [ebp - 4], str.JavaFX
jmp 0x404591
mov dword [ebp - 4], str.JavaUpdate__Critical_
cmp dword [ebp - 0x78], ebx
jne 0x404591
mov dword [ebp - 4], str.JavaUpdate
xor edx, edx
mov ecx, 0x3e8
mov eax, esi
div ecx
push 0x3c
pop ecx
xor edx, edx
push 0x3c
pop edi
push dword [ebp - 4]
div ecx
mov ecx, edx
xor edx, edx
div edi
push ecx
push edx
push eax
push esi
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x390]
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0xa90]
push str._s_s_s_sactual_sleep_time_u_msecs___01u:_02u:_02u__for__s_n
push eax
call fcn.004136d9
lea eax, [ebp - 0xa90]
push eax
call fcn.0040fb5b
add esp, 0x30
call fcn.00410e9e
test eax, eax
je 0x404604
cmp esi, 0xa8c0
ja 0x404943
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
call fcn.00411f70
pop ecx
push esi
push ebx
lea eax, [ebp - 0x1c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebx
je 0x4048fa
cmp eax, 1
je 0x404774
cmp eax, 0x7f
jbe 0x40471f
cmp eax, 0x81
jbe 0x4048fa
cmp eax, 0x102
jne 0x40471f
push 0x3ff
lea eax, [ebp - 0xa8f]
push ebx
push eax
call fcn.00412420
mov esi, str.Timeout_occured.
lea edi, [ebp - 0xa90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0xa90]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00410f3c
add esp, 0x10
lea edi, [ebp - 0xa90]
dec edi
cmp dword [ebp - 8], 1
jne 0x4046f2
cmp dword [ebp + 8], ebx
jne 0x4046da
cmp dword [ebp - 0x78], ebx
je 0x4046ba
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4046a5
push 8
pop ecx
mov esi, str.Run_Java_update__Critical__now._n
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x4046ce
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4046ba
push 5
pop ecx
mov esi, str.Run_Java_update_now._n
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x84], 1
jmp 0x40470e
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4046da
push 0xc
pop ecx
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 [ebp + 8], ebx
jmp 0x40470e
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x4046f2
push 6
pop ecx
mov esi, str.Run_JavaFX_update_now._n
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x104], 1
lea eax, [ebp - 0xa90]
push eax
call fcn.0040fb5b
jmp 0x404911
push 0xff
lea eax, [ebp - 0x48f]
push ebx
push eax
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x10], 0xffffff9d
mov byte [ebp - 0x490], bl
call fcn.00412420
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x490]
push str.Error_in_WaitForSingleObject:__d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x490]
push eax
call fcn.0040fb5b
add esp, 0x10
jmp 0x404142
push str.Registry_change_detected._n
call fcn.0040fb5b
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x18
pop ecx
lea eax, [ebp - 0xc]
push ebx
mov esi, 0x42c728
lea edi, [ebp - 0x190]
push eax
mov dword [ebp - 0xc], ebx
rep movsd dword es:[edi], dword [esi]
call fcn.0040f2c1
pop ecx
pop ecx
test eax, eax
je 0x404917
lea eax, [ebp - 0x190]
push eax
call fcn.00401a1b
pop ecx
test eax, eax
je 0x404917
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x188]
mov edx, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x94]
jne 0x404830
cmp edx, dword [ebp - 0x90]
jne 0x404830
cmp dword [ebp - 0x80], ebx
je 0x4047fc
cmp ecx, dword [ebp - 0x8c]
jne 0x404830
cmp dword [ebp + 8], ebx
jbe 0x404855
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
call fcn.00411f70
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0xa4]
imul eax, eax, 0x3e8
add dword [ebp + 8], eax
jmp 0x404854
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], ecx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x7c], ebx
call fcn.004016ad
pop ecx
cmp dword [ebp - 0x108], ebx
je 0x4048d4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
call fcn.004115ae
add esp, 0xc
test eax, eax
je 0x404894
push str.Error_Querying_JavaFXUpdate_Frequency_Schedule_n
call fcn.0040fb5b
mov dword [ebp - 0x108], ebx
jmp 0x4048d3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
cmp eax, dword [ebp - 0x114]
jne 0x4048b5
cmp ecx, dword [ebp - 0x110]
jne 0x4048b5
cmp edx, dword [ebp - 0x10c]
je 0x4048d4
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edx
call fcn.004016ad
pop ecx
push dword [ebp - 0xc]
call fcn.00401fae
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x404142
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x404142
push str.Received_shutdown_signal_n
mov dword [ebp - 0x88], ebx
call fcn.0040fb5b
mov dword [ebp - 0x10], 0x64
pop ecx
jmp 0x404142
push str.jusched_ERROR:_Opening_JavaUpdate_key_or_Querying_Frequency_Schedule_in_while_loop_n
call fcn.0040fb5b
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x10], 0xfffffffd
jmp 0x40494d
push 0x42d4f0
call fcn.00410f3c
mov dword [ebp - 0x10], 0x64
jmp 0x40494d
push str.jusched.exe_exit_because_it_is_an_OEMUpdate_and_the_sleeptime_is_greater_than_12_hours
call fcn.0040fb5b
pop ecx
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push 2
push eax
call fcn.00402000
add esp, 0xc
cmp dword [ebp - 0xc], ebx
je 0x40496d
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x43b248
call fcn.004024ca
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x10]
jmp 0x404990
push str.jusched_Error:_This_is_either_A__not_a_scheduler_platform___Win2k_sp2__or_B____XP_and_not_an_admin_user
call fcn.0040fb5b
pop ecx
push 0xfffffffffffffffb
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10