Function at 0x40360f
Capabilities:
Accept command line arguments
Check mutex on windows
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
mov eax, 0x1224
call fcn.004124a0
push ebx
push esi
xor ebx, ebx
xor esi, esi
inc esi
push edi
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x4c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push dword [ebp + 0x70]
mov ecx, 0x43a140
push ebx
call fcn.00401135
xor eax, eax
mov dword [ebp + 0x44], ebx
lea edi, [ebp + 0x48]
mov dword [ebp + 0x38], ebx
stosd dword es:[edi], eax
call fcn.0040ecde
push str.SunJavaUpdateSchedulerMutex
push esi
push ebx
mov dword [ebp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp + 0x10], eax
call fcn.00410abb
mov dword [ebp - 0x6c], eax
mov dword [ebp + 0x70], 0x493e0
cmp eax, ebx
je 0x40368e
mov dword [ebp + 0x70], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x44], ebx
je 0x40411e
cmp dword [ebp + 0x10], ebx
je 0x404128
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40411e
push dword [ebp + 0x70]
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40411e
push str._Running_jusched__n
call fcn.0040f1c7
mov edi, 0x3ff
push edi
lea eax, [ebp - 0xdbb]
push ebx
push eax
mov dword [ebp + 0x58], ebx
mov dword [ebp - 0x60], esi
mov dword [ebp + 4], ebx
mov byte [ebp - 0xdbc], bl
call fcn.00411920
add esp, 0x10
call fcn.0040eab3
test eax, eax
je 0x40376e
call fcn.0040ee62
test eax, eax
je 0x40376e
push 0x400
lea eax, [ebp - 0xdbc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40376e
lea eax, [ebp - 0xdbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x40373c
cmp byte [ebp + eax - 0xdbc], 0x5c
je 0x403741
dec eax
jns 0x403732
jmp 0x403772
mov byte [ebp + eax - 0xdbc], bl
push 0x42cce0
lea eax, [ebp - 0xdbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.jucheck.exe
lea eax, [ebp - 0xdbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x403772
or dword [ebp + 0x38], 0xffffffff
call fcn.0040e890
push edi
lea eax, [ebp - 0x11bb]
push ebx
push eax
mov byte [ebp - 0x11bc], bl
call fcn.00411920
add esp, 0xc
cmp dword [ebp + 0x38], ebx
jne 0x403830
lea eax, [ebp + 0x58]
push ebx
push eax
call fcn.0040e8b8
pop ecx
pop ecx
test eax, eax
je 0x403830
lea eax, [ebp + 0x70]
push eax
push 0x42cd64
push dword [ebp + 0x58]
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x70], ebx
call fcn.0040fe18
add esp, 0xc
cmp dword [ebp + 0x70], ebx
jbe 0x403826
lea eax, [ebp + 0x64]
push esi
push eax
call fcn.0040e8b8
pop ecx
pop ecx
test eax, eax
je 0x40381b
dec dword [ebp + 0x70]
jne 0x4037ef
push 0x42cd74
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x403802
push dword [ebp + 0x70]
push str.StartupDelay
push dword [ebp + 0x64]
call fcn.0040e9b3
add esp, 0xc
push str.jusched_Main_____bRun__bReset__FALSE_n
call fcn.0040f1c7
pop ecx
push dword [ebp + 0x64]
mov dword [ebp + 0x60], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x403842
push str.Could_not_open_JavaUpdate_key_for_ALL_ACCESS_n
call fcn.0040f1c7
pop ecx
push ebx
push ebx
call fcn.0041063f
pop ecx
jmp 0x403841
push str.Either_not_a_Win2000__XP_platform_or_Non_admin_user_or_GetModuleFilename_failed_or_Error_Opening_JavaUpdate_Keys._n
call fcn.0040f1c7
or dword [ebp + 0x38], 0xffffffff
mov dword [ebp + 0x60], ebx
pop ecx
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x30]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
rep stosd dword es:[edi], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
mov dword [ebp + 0x28], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x4c], ebx
cmp dword [ebp + 0x60], ebx
je 0x403a3e
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.00401538
add esp, 0x10
test eax, eax
jne 0x4038ac
push str.Error_Querying_Frequency_Schedule_n
call fcn.0040f1c7
pop ecx
mov dword [ebp + 0x60], ebx
call fcn.0040fbcf
mov dword [ebp - 0x50], eax
cmp eax, ebx
je 0x4038de
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00410990
add esp, 0xc
test eax, eax
je 0x4038de
push 0x42ce10
call fcn.0040f1c7
pop ecx
mov dword [ebp - 0x50], ebx
cmp dword [ebp + 0x60], ebx
je 0x403a3e
lea eax, [ebp - 0xbc]
push eax
call fcn.0040db62
pop ecx
test eax, eax
jge 0x40396a
lea eax, [ebp - 0x11bc]
push 0x400
push eax
call fcn.004106ed
pop ecx
pop ecx
test eax, eax
jge 0x40396a
push ebx
call fcn.00410913
pop ecx
test eax, eax
je 0x40396d
lea eax, [ebp + 0x70]
push eax
push 0x2001f
push ebx
push 0x42ce40
push 0x80000001
mov dword [ebp + 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40396d
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x42ce68
push dword [ebp + 0x70]
call edi
push str.LastUpdateBeginTime
push dword [ebp + 0x70]
call edi
push str.LastUpdateFinishTime
push dword [ebp + 0x70]
call edi
push dword [ebp + 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40396d
mov dword [ebp + 0x40], esi
push ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xac]
push eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call fcn.0040140a
add esp, 0xc
test eax, eax
je 0x403994
lea eax, [ebp - 0xac]
mov dword [ebp + 0x54], eax
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x58]
call fcn.00401b40
pop ecx
pop ecx
mov dword [ebp + 0x48], eax
cmp eax, ebx
jne 0x4039b2
or dword [ebp + 0x38], 0xffffffff
jmp 0x403a3e
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x54]
xor eax, eax
cmp dword [ebp + 0x54], ebx
setne al
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x30]
push dword [ebp + 0x4c]
call fcn.00401228
push ebx
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x4c]
push dword [ebp + 0x14]
call fcn.00401562
add esp, 0x2c
mov dword [ebp + 4], eax
cmp dword [ebp - 0x50], ebx
je 0x403a3e
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call fcn.0040140a
add esp, 0xc
test eax, eax
je 0x403a0d
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call fcn.00401228
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x4c]
push ebx
call fcn.00401562
add esp, 0x2c
mov dword [ebp - 0x4c], eax
mov dword [ebp + 0x70], ebx
cmp dword [ebp + 0x60], ebx
je 0x4040d6
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x60]
push eax
push str.EnableJavaUpdate
push dword [ebp + 0x58]
mov esi, 0xff
call fcn.0040fe18
add esp, 0xc
test eax, eax
je 0x4040d2
cmp dword [ebp - 0x60], 1
jne 0x4040d2
call fcn.0040f6e0
test eax, eax
jne 0x4040d2
cmp dword [ebp + 4], ebx
je 0x403ae9
push dword [ebp + 0x60]
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x28]
lea eax, [ebp + 0x70]
push dword [ebp + 0x24]
mov dword [ebp + 4], ebx
push dword [ebp + 0x20]
mov dword [ebp + 0x40], ebx
push dword [ebp + 0x1c]
push eax
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 0x54]
lea eax, [ebp - 0xdbc]
push 1
push eax
call fcn.00403512
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x54]
xor eax, eax
cmp dword [ebp + 0x54], ebx
setne al
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x30]
push dword [ebp + 0x4c]
call fcn.00401228
add esp, 0x48
jmp 0x403b5d
cmp dword [ebp + 0x40], ebx
je 0x403b26
cmp dword [ebp + 0x70], ebx
jne 0x403b26
push dword [ebp + 0x60]
lea eax, [ebp + 0x40]
push eax
push dword [ebp + 0x28]
lea eax, [ebp + 0x70]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push eax
lea eax, [ebp - 0xac]
push eax
push dword [ebp + 0x54]
lea eax, [ebp - 0xdbc]
push ebx
push eax
call fcn.00403512
add esp, 0x2c
jmp 0x403b5d
cmp dword [ebp - 0x4c], ebx
je 0x403b5d
mov dword [ebp - 0x4c], ebx
call fcn.004021f0
push str.jaucheck.exe
call fcn.004019ea
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
call fcn.00401228
add esp, 0x20
push esi
lea eax, [ebp - 0x1bb]
push ebx
push eax
mov byte [ebp - 0x1bc], bl
call fcn.00411920
push esi
lea eax, [ebp - 0x5bb]
push ebx
push eax
mov byte [ebp - 0x5bc], bl
call fcn.00411920
push esi
lea eax, [ebp - 0x4bb]
push ebx
push eax
mov byte [ebp - 0x4bc], bl
call fcn.00411920
push esi
lea eax, [ebp - 0x3bb]
push ebx
push eax
mov byte [ebp - 0x3bc], bl
call fcn.00411920
add esp, 0x30
cmp dword [ebp + 0x70], ebx
jne 0x403d2a
lea eax, [ebp + 0x24]
push eax
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp], ebx
call fcn.00411483
push eax
call fcn.00411c20
push eax
lea eax, [ebp - 0x1bc]
push str.JavaUpdate_NextSchedTime_s
push eax
call edi
lea eax, [ebp - 0x3c]
push eax
call fcn.00411483
push eax
call fcn.00411c20
push eax
lea eax, [ebp - 0x5bc]
push str.JavaFXUpdate_NextSchedTime_s
push eax
call edi
push ebx
push dword [ebp + 0x28]
lea eax, [ebp - 0x64]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00401660
add esp, 0x44
push 1
push dword [ebp - 0x38]
lea eax, [ebp - 0x70]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00401660
mov esi, dword [ebp - 0x70]
add esp, 0x1c
cmp dword [ebp - 0x64], esi
ja 0x403ca9
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x64], ebx
mov dword [ebp], eax
mov dword [ebp + 0x50], 0x42c4c3
lea eax, [ebp - 4]
push eax
call fcn.00411483
push eax
call fcn.00411c20
push eax
push dword [ebp + 0x50]
lea eax, [ebp - 0x4bc]
push str._slastSchedTime_s
push eax
call edi
add esp, 0x18
cmp dword [ebp + 0x64], 1
jne 0x403cd1
mov dword [ebp + 0x50], 0x42cf24
mov dword [ebp + 0x5c], str.JavaFX:
jmp 0x403cdf
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp + 0x64], 1
mov dword [ebp], eax
mov dword [ebp + 0x50], 0x42cf04
jmp 0x403c6f
mov dword [ebp + 0x50], 0x42c4ca
mov dword [ebp + 0x5c], 0x42c4cb
lea eax, [ebp - 0xc]
push eax
call fcn.00411483
pop ecx
mov dword [ebp + 0x3c], eax
xor edx, edx
mov ecx, 0x3e8
mov eax, esi
div ecx
xor edx, edx
mov ecx, 0xe10
mov dword [ebp + 0x34], eax
div ecx
push eax
push dword [ebp + 0x34]
push dword [ebp + 0x50]
push dword [ebp + 0x3c]
call fcn.00411c20
pop ecx
push eax
push dword [ebp + 0x5c]
lea eax, [ebp - 0x3bc]
push str._snextSchedTime_s_ssleeptime__sec_u__hours_u__n
push eax
call edi
add esp, 0x1c
jmp 0x403d7f
lea eax, [ebp - 0x1bc]
push str.JavaUpdate_waittime_still_set._n
push eax
mov dword [ebp + 0x5c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
call edi
push 1
push dword [ebp - 0x38]
lea eax, [ebp + 0x5c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00401660
mov esi, dword [ebp + 0x5c]
add esp, 0x24
cmp dword [ebp + 0x70], esi
ja 0x403d78
mov esi, dword [ebp + 0x70]
mov dword [ebp + 0x64], ebx
jmp 0x403d7f
mov dword [ebp + 0x64], 1
push 0x3ff
lea eax, [ebp - 0x9bb]
push ebx
push eax
mov byte [ebp - 0x9bc], bl
call fcn.00411920
add esp, 0xc
cmp dword [ebp + 0x64], 1
mov dword [ebp + 0x5c], str.for_JavaFX
je 0x403dae
mov dword [ebp + 0x5c], 0x42c4d2
xor edx, edx
mov ecx, 0x3e8
mov eax, esi
div ecx
push 0x3c
pop ecx
xor edx, edx
push dword [ebp + 0x5c]
div ecx
mov dword [ebp + 0x34], edx
xor edx, edx
div ecx
push dword [ebp + 0x34]
push edx
push eax
mov dword [ebp + 0x3c], eax
push esi
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x4bc]
push eax
lea eax, [ebp - 0x5bc]
push eax
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x9bc]
push str._s_s_s_sactual_sleep_time_u_msecs___01u:_02u:_02u___s_n
push eax
call edi
lea eax, [ebp - 0x9bc]
push eax
call fcn.0040f1c7
add esp, 0x30
cmp dword [ebp - 0x6c], ebx
je 0x403e1b
cmp dword [ebp + 0x3c], 0xc
ja 0x4040c5
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
call fcn.00411771
pop ecx
push esi
push ebx
lea eax, [ebp + 0x44]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebx
je 0x40406a
xor esi, esi
inc esi
cmp eax, esi
je 0x403f09
cmp eax, 0x7f
jbe 0x40407d
cmp eax, 0x81
jbe 0x40406a
cmp eax, 0x102
jne 0x40407d
push 0x3ff
lea eax, [ebp - 0x9bb]
push ebx
push eax
call fcn.00411920
mov esi, str.Timeout_occured.
lea edi, [ebp - 0x9bc]
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 - 0x9bc]
push eax
movsb byte es:[edi], byte [esi]
call fcn.004106de
add esp, 0x10
lea edi, [ebp - 0x9bc]
dec edi
cmp dword [ebp + 0x64], ebx
jne 0x403ee4
cmp dword [ebp + 0x70], ebx
jne 0x403ecc
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x403eaf
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 + 4], 1
jmp 0x403efd
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x403ecc
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 + 0x70], ebx
jmp 0x403efd
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x403ee4
push 6
pop ecx
mov esi, str.Run_JavaFX_update_now._n
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x4c], 1
lea eax, [ebp - 0x9bc]
push eax
jmp 0x404072
push 0x42d0c0
call fcn.004106de
mov dword [esp], str.Registry_is_changed._n
call fcn.0040f1c7
pop ecx
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x58]
push ebx
push eax
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x5c], esi
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x64], ebx
call fcn.0040e8b8
pop ecx
pop ecx
test eax, eax
je 0x4040be
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x64]
push eax
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x5c]
push eax
call fcn.00401538
add esp, 0x10
test eax, eax
je 0x4040be
mov eax, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x50]
mov esi, dword [ebp + 0x64]
cmp eax, dword [ebp + 0x4c]
jne 0x403fb5
cmp edi, dword [ebp + 0x30]
jne 0x403fb5
cmp dword [ebp + 0x14], ebx
je 0x403f8f
cmp esi, dword [ebp + 0x2c]
jne 0x403fb5
cmp dword [ebp + 0x70], ebx
jbe 0x403fe3
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
call fcn.00411771
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp + 8]
pop ecx
imul eax, eax, 0x3e8
add dword [ebp + 0x70], eax
jmp 0x403fe3
lea ecx, [ebp + 0x24]
push ecx
push dword [ebp + 0x54]
xor ecx, ecx
cmp dword [ebp + 0x54], ebx
mov dword [ebp + 0x4c], eax
setne cl
mov dword [ebp + 0x30], edi
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x70], ebx
mov dword [ebp + 0x40], ebx
push ecx
lea ecx, [ebp + 0x1c]
push ecx
push esi
push edi
push eax
call fcn.00401228
add esp, 0x1c
cmp dword [ebp - 0x50], ebx
je 0x404058
lea eax, [ebp + 0x34]
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 1
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x34], ebx
call fcn.00410990
add esp, 0xc
test eax, eax
je 0x40401d
push str.Error_Querying_JavaFXUpdate_Frequency_Schedule_n
call fcn.0040f1c7
pop ecx
mov dword [ebp - 0x50], ebx
jmp 0x404058
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x34]
cmp eax, dword [ebp - 0x5c]
jne 0x404035
cmp ecx, dword [ebp - 0x58]
jne 0x404035
cmp edx, dword [ebp - 0x54]
je 0x404058
lea esi, [ebp - 0x3c]
push esi
lea esi, [ebp - 0x30]
push esi
push dword [ebp - 0x34]
lea esi, [ebp - 0x44]
push esi
push edx
push ecx
push eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
call fcn.00401228
add esp, 0x1c
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x58]
call fcn.00401b40
pop ecx
mov dword [ebp + 0x48], eax
jmp 0x404077
mov dword [ebp + 0x60], ebx
push str.Received_shutdown_signal_n
call fcn.0040f1c7
pop ecx
jmp 0x403a41
push 0xff
lea eax, [ebp - 0x2bb]
push ebx
push eax
mov byte [ebp - 0x2bc], bl
call fcn.00411920
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2bc]
push str.Error_in_WaitForSingleObject:__d_n
push eax
call edi
lea eax, [ebp - 0x2bc]
push eax
call fcn.0040f1c7
add esp, 0x10
jmp 0x4040d6
push str.Error_Opening_JavaUpdate_key_or_Querying_Frequency_Schedule_in_while_loop_n
jmp 0x4040ca
push str.jusched.exe_exit_because_it_is_an_OEMUpdate_and_the_sleeptime_is_greater_than_12_hours
call fcn.0040f1c7
pop ecx
jmp 0x4040d6
or dword [ebp + 0x38], 0xffffffff
cmp dword [ebp + 0x58], ebx
je 0x4040e4
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x48], ebx
je 0x4040f2
push dword [ebp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x44], ebx
je 0x404100
push dword [ebp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x43a140
call fcn.00401d90
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 0x38]
jmp 0x404145
cmp dword [ebp + 0x10], ebx
je 0x404128
push dword [ebp + 0x10]
call edi
cmp dword [ebp + 0x44], ebx
je 0x404132
push dword [ebp + 0x44]
call edi
mov ecx, 0x43a140
call fcn.00401d90
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x64
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret 0x10