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

Disassembly:
push ebp
sub esp, 0x70
lea ebp, [esp - 4]
mov eax, dword [0x4946a0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push 0x28
mov eax, 0x46f330
call fcn.00450fbc
xor edi, edi
push 0x474e74
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
lea eax, [ebp - 0x14]
push eax
push str.kernel32
push 2
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
test eax, eax
je 0x408242
push str.SetDefaultDllDirectories
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x408242
push 0x800
call eax
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x20], 0x80ff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
jne 0x4082a8
cmp dword [0x4991c0], 3
jg 0x4082a8
push str.Could_not_initialize_common_controls_
lea ecx, [ebp + 0x38]
call fcn.00402559
push str.WinMain
push 0x57
push str.d:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u73_6086_install_src_windows_au_jucheck_UpdateChecker.cpp
push 3
mov edx, eax
mov ecx, 0x4991c0
mov byte [ebp - 4], 1
call fcn.00423c4e
push edi
push 1
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0
call fcn.00403182
mov eax, 0x4990dc
cmp eax, 0xffffffff
je 0x4082c7
mov dword [0x499158], eax
mov esi, eax
cmp dword [esi], edi
je 0x4082c7
push 1
call dword [esi + 0x20]
add esi, 0x24
jmp 0x4082b9
mov esi, dword [0x4980c0]
cmp esi, dword [0x4980c4]
jae 0x4082e5
mov eax, dword [esi]
cmp eax, edi
je 0x4082e0
push 1
call dword [eax + 0x20]
add esi, 4
jmp 0x4082cd
mov esi, 0x4780ac
lea edi, [ebp - 0x1c]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1c]
push eax
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
call fcn.0040beef
mov ebx, str.setconfig
mov edi, str.getconfig
mov esi, eax
pop ecx
test esi, esi
je 0x4086cc
push str.UnregServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40847f
push str.RegServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40847f
push str.auto
call fcn.0044ada0
push eax
push str.auto
push esi
call fcn.0044b207
add esp, 0x10
test eax, eax
jne 0x408376
and dword [0x495d5c], eax
mov dword [str.jau_m], 0x4780d0
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.0040beef
jmp 0x408309
push str.scheduled
call fcn.0044ada0
push eax
push str.scheduled
push esi
call fcn.0044b207
add esp, 0x10
test eax, eax
jne 0x40839f
mov dword [0x499100], 1
jmp 0x408369
push str.pending
call fcn.0044ada0
push eax
push str.pending
push esi
call fcn.0044b207
add esp, 0x10
test eax, eax
jne 0x4083c8
mov dword [0x499104], 1
jmp 0x408369
push str.critical
call fcn.0044ada0
push eax
push str.critical
push esi
call fcn.0044b207
add esp, 0x10
test eax, eax
jne 0x4083f4
mov dword [0x499108], 1
jmp 0x408369
push str.test
call fcn.0044ada0
push eax
push str.test
push esi
call fcn.0044b207
add esp, 0x10
test eax, eax
jne 0x40842f
lea eax, [esi + 5]
push eax
push 0x498eb8
mov dword [0x49910c], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x408369
push ebx
call fcn.0044ada0
push eax
push ebx
push esi
call fcn.0044b207
add esp, 0x10
test eax, eax
jne 0x408549
push ebx
call fcn.0044ada0
pop ecx
add eax, esi
push eax
lea ecx, [ebp + 0x38]
call fcn.00402559
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 3
call fcn.00417619
pop ecx
mov dword [ebp - 4], 2
lea ecx, [ebp + 0x38]
push 0
push 1
mov byte [ebp - 4], 0
call fcn.00403182
xor ebx, ebx
mov esi, dword [0x499158]
cmp esi, ebx
je 0x4087cb
cmp dword [esi], ebx
je 0x4087cb
mov eax, dword [esi + 0x10]
invalid