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

Disassembly:
push 0x18c
mov eax, 0x47b347
call fcn.00450f47
xor ebx, ebx
push 0x486974
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_SetDllDirectoryA]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xe8], 8
push eax
mov dword [ebp - 0xe4], 0x80ff
call dword [sym.imp.comctl32.dll_InitCommonControlsEx]
test eax, eax
jne 0x40aaa2
call fcn.00425c61
push 3
mov ecx, eax
call fcn.00425e91
test al, al
je 0x40aaa2
call fcn.00425c61
push str.Could_not_initialize_common_controls_
push str.WinMain
push 0x71
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_au_jucheck_UpdateChecker.cpp
push 3
mov ecx, eax
call fcn.0040714b
push ebx
push dword [ebp + 8]
mov ecx, 0x4b6168
push 0x4b6198
call fcn.00408c35
call fcn.00425c61
push 1
mov ecx, eax
call fcn.00425e91
test al, al
je 0x40ab1d
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004256c0
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push str.UpdateChecker.cpp_MOS_MODE
push eax
call fcn.00474cc0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
call fcn.00425c61
push esi
push str.WinMain
push 0x77
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_au_jucheck_UpdateChecker.cpp
push 1
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp - 0x44]
call fcn.004063d7
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004063d7
mov ax, word [0x4873f8]
mov word [ebp - 0xe0], ax
mov al, byte [0x4873fa]
mov byte [ebp - 0xde], al
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00408ab0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x40af0f
push str.UnregServer
push esi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x40af96
push str.RegServer
push esi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
je 0x40af96
push str.auto
call fcn.00456520
push eax
push str.auto
push esi
call fcn.0045a750
add esp, 0x10
test eax, eax
jne 0x40abb3
mov dword [0x4b3008], ebx
mov dword [0x4b300c], 0x48741c
lea eax, [ebp - 0xe0]
push eax
push esi
jmp 0x40ab43
push str.scheduled
call fcn.00456520
push eax
push str.scheduled
push esi
call fcn.0045a750
add esp, 0x10
test eax, eax
jne 0x40abdc
mov dword [0x4b615c], 1
jmp 0x40aba9
push str.pending
call fcn.00456520
push eax
push str.pending
push esi
call fcn.0045a750
add esp, 0x10
test eax, eax
jne 0x40ac05
mov dword [0x4b6160], 1
jmp 0x40aba9
push str.critical
call fcn.00456520
push eax
push str.critical
push esi
call fcn.0045a750
add esp, 0x10
test eax, eax
jne 0x40ac31
mov dword [0x4b6164], 1
jmp 0x40aba9
push str.test
call fcn.00456520
push eax
push str.test
push esi
call fcn.0045a750
add esp, 0x10
test eax, eax
jne 0x40ac5d
lea eax, [esi + 5]
push eax
call fcn.004114a3
pop ecx
jmp 0x40aba9
push str.setconfig
call fcn.00456520
push eax
push str.setconfig
push esi
call fcn.0045a750
add esp, 0x10
test eax, eax
jne 0x40ad5b
push str.setconfig
call fcn.00456520
pop ecx
add eax, esi
lea ecx, [ebp - 0x44]
push eax
call fcn.004038cc
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
call fcn.00419888
pop ecx
jmp 0x40ad44
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004063d7
jmp 0x40af96
push str.getconfig
call fcn.00456520
push eax
push str.getconfig
push esi
call fcn.0045a750
add esp, 0x10
test eax, eax
jne 0x40aba9
push str.getconfig
call fcn.00456520
pop ecx
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.004038cc
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0xdc]
push ecx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x2c]
push 0x487474
push eax
mov dword [ebp - 0xdc], ebx
call fcn.0040b295
add esp, 0xc
cmp eax, 1
je 0x40ae2c
cmp dword [ebp - 0xdc], 0
jl 0x40ae2c
call fcn.00425c61
push 3
mov ecx, eax
call fcn.00425e91
test al, al
je 0x40ae1d
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
push str.getconfig_error___incorrect_version:
push eax
call fcn.00474cc0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0xf
call fcn.00425c61
push esi
push str.WinMain
push 0xb6
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_au_jucheck_UpdateChecker.cpp
push 3
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp - 0x5c]
call fcn.004063d7
mov dword [ebp - 0xd8], 1
jmp 0x40af07
push dword [ebp - 0xdc]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
push eax
call fcn.00419f0c
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x40ae49
mov eax, dword [eax]
push eax
push 0x487478
call fcn.0040b278
pop ecx
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.004063d7
jmp 0x40af00
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x2c]
jmp 0x40ad4e
push str.SunJavaUpdateCheckerMutex
push 1
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40af56
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x40af56
call fcn.0041235c
push dword [0x4b300c]
push str.Method
push ebx
call fcn.004121c3
add esp, 0xc
call fcn.00474cc0
mov dword [ebp - 0xd8], eax
jmp 0x40af8f
mov dword [ebp - 0xd8], 0x64
test esi, esi
je 0x40af96
cmp dword [0x4b3008], 0
jne 0x40af76
cmp dword [0x4b615c], 0
je 0x40af8f
push dword [0x4b300c]
push str.Method
push ebx
call fcn.004121c3
add esp, 0xc
call fcn.004109bd
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, 0x4b6168
call fcn.0040a1aa
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.CRASHDIALOG_INSTALL_DEBUG
lea ecx, [ebp - 0x44]
call fcn.004038cc
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push 0x494e68
push eax
call fcn.0042c618
add esp, 0x10
lea ecx, [ebp - 0x5c]
mov esi, dword [eax + 0x10]
call fcn.004063d7
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x40b034
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xf0], ecx
cmp eax, 0x1000
jb 0x40b02b
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.004055a1
mov eax, dword [ebp - 0xdc]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xf0]
push eax
push ecx
call fcn.00474cc0
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], bl
call fcn.004063d7
test esi, esi
jne 0x40b150
jmp 0x40b111
mov eax, dword [ebp - 0xd8]
call fcn.00450e99
ret 0x10
lea ecx, [ebp - 0x198]
call fcn.00403bef
push str.Showing_Auto_update_jucheck.exe_crash_dialog_for_test.
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.00402c01
push 0xeb
push str.WinMain
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u381_237_install_src_windows_au_jucheck_UpdateChecker.cpp
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00403a94
push eax
lea eax, [ebp - 0xd4]
push esi
push eax
call fcn.0040722d
add esp, 0xc
lea eax, [ebp - 0xd4]
push 0x4a443c
push eax
call fcn.00474cc0
int3