Function at 0x409798
Capabilities:
Accept command line arguments
Check mutex on windows

Disassembly:
push 0x94
mov eax, 0x4728e8
call fcn.00448e4b
and dword [ebp - 0x78], 0
and dword [ebp - 4], 0
push 0x4880ad
call dword [sym.imp.kernel32.dll_SetDllDirectoryA]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 8
push eax
mov dword [ebp - 0x8c], 0x80ff
call dword [sym.imp.comctl32.dll_InitCommonControlsEx]
test eax, eax
jne 0x409826
cmp dword [0x4ac0bc], 3
jg 0x409826
push str.Could_not_initialize_common_controls_
lea ecx, [ebp - 0x5c]
call fcn.00403e12
push eax
push str.WinMain
push 0x70
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_au_jucheck_UpdateChecker.cpp
push 3
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 1
call fcn.00427250
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.004049c7
mov esi, 0x4ac478
cmp esi, 0xffffffff
je 0x40984c
cmp dword [0x4ac478], 0
mov dword [0x4ac030], esi
je 0x40984c
push 1
call dword [esi + 0x20]
lea esi, [esi + 0x24]
cmp dword [esi], 0
jne 0x40983f
mov esi, dword [0x4ac5e8]
mov eax, dword [0x4ac5ec]
jmp 0x40986c
mov ecx, dword [esi]
test ecx, ecx
je 0x409869
push 1
call dword [ecx + 0x1c]
mov eax, dword [0x4ac5ec]
add esi, 4
cmp esi, eax
jb 0x409859
xor esi, esi
inc esi
cmp dword [0x4ac0bc], esi
jg 0x4098c8
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.004265f2
push eax
mov edx, str.UpdateChecker.cpp_MOS_MODE
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.004523ea
pop ecx
push eax
push str.WinMain
push 0x76
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_au_jucheck_UpdateChecker.cpp
push esi
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 3
call fcn.00427250
lea ecx, [ebp - 0x5c]
call fcn.004049c7
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004049c7
mov ax, word [0x489c48]
mov word [ebp - 0x80], ax
mov al, byte [0x489c4a]
mov dword [ebp - 0x7c], esi
mov byte [ebp - 0x7e], al
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ecx, eax
lea edx, [ebp - 0x80]
call fcn.00409757
mov edi, eax
test edi, edi
je 0x409af6
push str.UnregServer
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x409d4d
push str.RegServer
push edi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x409d4d
push str.auto
call fcn.00451490
push eax
push str.auto
push edi
call fcn.00451bd0
add esp, 0x10
test eax, eax
jne 0x409950
and dword [0x4a8a04], eax
mov dword [str.jau_m], 0x489c6c
mov ecx, edi
jmp 0x4098e5
push str.scheduled
call fcn.00451490
push eax
push str.scheduled
push edi
call fcn.00451bd0
add esp, 0x10
test eax, eax
jne 0x409975
mov dword [0x4abed0], esi
jmp 0x40994c
push str.pending
call fcn.00451490
push eax
push str.pending
push edi
call fcn.00451bd0
add esp, 0x10
test eax, eax
jne 0x40999a
mov dword [0x4abed4], esi
jmp 0x40994c
push str.critical
call fcn.00451490
push eax
push str.critical
push edi
call fcn.00451bd0
add esp, 0x10
test eax, eax
jne 0x4099bf
mov dword [0x4abed8], esi
jmp 0x40994c
push str.test
call fcn.00451490
push eax
push str.test
push edi
call fcn.00451bd0
add esp, 0x10
test eax, eax
jne 0x4099f6
lea eax, [edi + 5]
mov dword [0x4ac49c], esi
push eax
push 0x4ac4a0
call dword [sym.imp.kernel32.dll_lstrcpyA]
jmp 0x40994c
push str.setconfig
call fcn.00451490
push eax
push str.setconfig
push edi
call fcn.00451bd0
add esp, 0x10
test eax, eax
jne 0x409b4e
push str.setconfig
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], eax
call fcn.00451490
pop ecx
add eax, edi
lea ecx, [ebp - 0x5c]
push eax
call fcn.00403e12
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.0041759c
jmp 0x409ae3
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.004049c7
cmp dword [ebp - 0x7c], 0
je 0x409d4d
push str.SunJavaUpdateCheckerMutex
push esi
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x409cf0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x409cf0
call fcn.00410843
push dword [0x4a8a00]
mov edx, str.Method
xor ecx, ecx
call fcn.004102de
pop ecx
call fcn.004523ea
mov dword [ebp - 0x78], eax
jmp 0x409d46
push str.getconfig
call fcn.00451490
push eax
push str.getconfig
push edi
call fcn.00451bd0
add esp, 0x10
test eax, eax
jne 0x40994c
push str.getconfig
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], eax
call fcn.00451490
pop ecx
add eax, edi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403e12
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x84]
and dword [ebp - 0x84], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push 0x489cc4
push eax
call fcn.004072a9
add esp, 0xc
cmp eax, esi
je 0x409c11
cmp dword [ebp - 0x84], 0
jl 0x409c11
cmp dword [0x4ac0bc], 3
jg 0x409c09
lea eax, [ebp - 0x2c]
mov edx, str.getconfig_error___incorrect_version:
push eax
lea ecx, [ebp - 0x74]
call fcn.00409fb1
pop ecx
push eax
push str.WinMain
push 0xb5
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u281_880_install_src_windows_au_jucheck_UpdateChecker.cpp
push 3
mov ecx, 0x4ac0bc
mov byte [ebp - 4], 0x10
call fcn.00427250
lea ecx, [ebp - 0x74]
call fcn.004049c7
mov dword [ebp - 0x78], esi
jmp 0x409ce8
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x84]
call fcn.00417ba8
cmp dword [eax + 0x14], 0x10
jb 0x409c2b
mov eax, dword [eax]
push eax
push 0x489cc8
call fcn.0040727f
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.004049c7
jmp 0x409ce1
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
jmp 0x409aed
mov dword [ebp - 0x78], 0x64
test edi, edi
je 0x409d4d
cmp dword [0x4a8a04], 0
jne 0x409d0d
cmp dword [0x4abed0], 0
je 0x409d46
push dword [0x4a8a00]
mov edx, str.Method
xor ecx, ecx
call fcn.004102de
pop ecx
push str.SunJavaUpdateRecheckUpdateEvent
push 0
push 0x1f0003
call dword [sym.imp.kernel32.dll_OpenEventA]
mov esi, eax
test esi, esi
je 0x409d46
push esi
call dword [sym.imp.kernel32.dll_SetEvent]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [0x4ac030]
test esi, esi
je 0x409de1
jmp 0x409ddc
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x409dd0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0x10], 0
push 0
call dword [esi + 0x20]
add esi, 0x24
cmp dword [esi], 0
jne 0x409dc3
mov esi, dword [0x4ac5e8]
mov eax, dword [0x4ac5ec]
jmp 0x409e01
mov ecx, dword [esi]
test ecx, ecx
je 0x409dfe
push 0
call dword [ecx + 0x1c]
mov eax, dword [0x4ac5ec]
add esi, 4
cmp esi, eax
jb 0x409dee
mov ecx, 0x4ac004
call fcn.0040747a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x78]
call fcn.00448d98
ret 0x10