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

Disassembly:
push 0x94
mov eax, 0x472e07
call fcn.00449371
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 0x40985e
cmp dword [0x4ad0bc], 3
jg 0x40985e
push str.Could_not_initialize_common_controls_
lea ecx, [ebp - 0x5c]
call fcn.00403e1c
push eax
push str.WinMain
push 0x70
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_au_jucheck_UpdateChecker.cpp
push 3
mov ecx, 0x4ad0bc
mov byte [ebp - 4], 1
call fcn.00427376
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.004049ff
mov esi, 0x4ad478
cmp esi, 0xffffffff
je 0x409884
cmp dword [0x4ad478], 0
mov dword [0x4ad030], esi
je 0x409884
push 1
call dword [esi + 0x20]
lea esi, [esi + 0x24]
cmp dword [esi], 0
jne 0x409877
mov esi, dword [0x4ad5e8]
mov eax, dword [0x4ad5ec]
jmp 0x4098a4
mov ecx, dword [esi]
test ecx, ecx
je 0x4098a1
push 1
call dword [ecx + 0x1c]
mov eax, dword [0x4ad5ec]
add esi, 4
cmp esi, eax
jb 0x409891
xor esi, esi
inc esi
cmp dword [0x4ad0bc], esi
jg 0x409900
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.00426718
push eax
mov edx, str.UpdateChecker.cpp_MOS_MODE
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x5c]
call fcn.0040a04e
pop ecx
push eax
push str.WinMain
push 0x76
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_au_jucheck_UpdateChecker.cpp
push esi
mov ecx, 0x4ad0bc
mov byte [ebp - 4], 3
call fcn.00427376
lea ecx, [ebp - 0x5c]
call fcn.004049ff
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004049ff
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.0040978f
mov edi, eax
test edi, edi
je 0x409b2e
push str.UnregServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x409d85
push str.RegServer
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x409d85
push str.auto
call fcn.004519b0
push eax
push str.auto
push edi
call fcn.004520f0
add esp, 0x10
test eax, eax
jne 0x409988
and dword [0x4a9a04], eax
mov dword [str.jau_m], 0x489c6c
mov ecx, edi
jmp 0x40991d
push str.scheduled
call fcn.004519b0
push eax
push str.scheduled
push edi
call fcn.004520f0
add esp, 0x10
test eax, eax
jne 0x4099ad
mov dword [0x4aced0], esi
jmp 0x409984
push str.pending
call fcn.004519b0
push eax
push str.pending
push edi
call fcn.004520f0
add esp, 0x10
test eax, eax
jne 0x4099d2
mov dword [0x4aced4], esi
jmp 0x409984
push str.critical
call fcn.004519b0
push eax
push str.critical
push edi
call fcn.004520f0
add esp, 0x10
test eax, eax
jne 0x4099f7
mov dword [0x4aced8], esi
jmp 0x409984
push str.test
call fcn.004519b0
push eax
push str.test
push edi
call fcn.004520f0
add esp, 0x10
test eax, eax
jne 0x409a2e
lea eax, [edi + 5]
mov dword [0x4ad49c], esi
push eax
push 0x4ad4a0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x409984
push str.setconfig
call fcn.004519b0
push eax
push str.setconfig
push edi
call fcn.004520f0
add esp, 0x10
test eax, eax
jne 0x409b86
push str.setconfig
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], eax
call fcn.004519b0
pop ecx
add eax, edi
lea ecx, [ebp - 0x5c]
push eax
call fcn.00403e1c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.0041769c
jmp 0x409b1b
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.004049ff
cmp dword [ebp - 0x7c], 0
je 0x409d85
push str.SunJavaUpdateCheckerMutex
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x409d28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x409d28
call fcn.00410877
push dword [0x4a9a00]
mov edx, str.Method
xor ecx, ecx
call fcn.00410312
pop ecx
call fcn.0040974b
mov dword [ebp - 0x78], eax
jmp 0x409d7e
push str.getconfig
call fcn.004519b0
push eax
push str.getconfig
push edi
call fcn.004520f0
add esp, 0x10
test eax, eax
jne 0x409984
push str.getconfig
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], eax
call fcn.004519b0
pop ecx
add eax, edi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403e1c
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.004072e1
add esp, 0xc
cmp eax, esi
je 0x409c49
cmp dword [ebp - 0x84], 0
jl 0x409c49
cmp dword [0x4ad0bc], 3
jg 0x409c41
lea eax, [ebp - 0x2c]
mov edx, str.getconfig_error___incorrect_version:
push eax
lea ecx, [ebp - 0x74]
call fcn.00409fe9
pop ecx
push eax
push str.WinMain
push 0xb5
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_jdk8u361_3183_install_src_windows_au_jucheck_UpdateChecker.cpp
push 3
mov ecx, 0x4ad0bc
mov byte [ebp - 4], 0x10
call fcn.00427376
lea ecx, [ebp - 0x74]
call fcn.004049ff
mov dword [ebp - 0x78], esi
jmp 0x409d20
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x84]
call fcn.00417ca8
cmp dword [eax + 0x14], 0x10
jb 0x409c63
mov eax, dword [eax]
push eax
push 0x489cc8
call fcn.004072b7
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.004049ff
jmp 0x409d19
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
jmp 0x409b25
mov dword [ebp - 0x78], 0x64
test edi, edi
je 0x409d85
cmp dword [0x4a9a04], 0
jne 0x409d45
cmp dword [0x4aced0], 0
je 0x409d7e
push dword [0x4a9a00]
mov edx, str.Method
xor ecx, ecx
call fcn.00410312
pop ecx
push str.SunJavaUpdateRecheckUpdateEvent
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
je 0x409d7e
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 [0x4ad030]
test esi, esi
je 0x409e19
jmp 0x409e14
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x409e08
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 0x409dfb
mov esi, dword [0x4ad5e8]
mov eax, dword [0x4ad5ec]
jmp 0x409e39
mov ecx, dword [esi]
test ecx, ecx
je 0x409e36
push 0
call dword [ecx + 0x1c]
mov eax, dword [0x4ad5ec]
add esi, 4
cmp esi, eax
jb 0x409e26
mov ecx, 0x4ad004
call fcn.004074b2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x78]
call fcn.004492be
ret 0x10