Function at 0x406cdf
Capabilities:
Accept command line arguments

Disassembly:
push 0xc4
mov eax, 0x42844c
call fcn.00423fef
push str.F275ED8E_232B_4810_BB6F_7E8D75505DBC
call dword [sym.imp.KERNEL32.dll_AddAtomW]
lea esi, [ebp - 0x11]
call fcn.00406172
xor ebx, ebx
mov dword [ebp - 4], ebx
push 1
push 1
lea ecx, [ebp - 0x30]
call fcn.0040b436
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
push 0x40b64d
call fcn.0041742c
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
push ebx
call fcn.00409dab
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push 0x40b3ee
mov esi, dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call esi
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], ebx
push 0x40b6a1
call fcn.0041756a
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
mov dword [0x439254], eax
mov dword [esp], str.Communications_Master_Singleton_Event
push ebx
push 1
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
call edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x20], ebx
je 0x406e3d
cmp eax, ebx
jne 0x406e3d
push str.Master_Process_Shutdown_Event
push ebx
push 1
push ebx
call edi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 8], ebx
je 0x406e20
cmp eax, ebx
jne 0x406e20
lea eax, [ebp - 0xd0]
push eax
call fcn.004013fe
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0xd0]
call fcn.00401789
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [ebp + 8]
call edi
mov byte [ebp - 4], 6
lea eax, [ebp - 0xd0]
push eax
call fcn.0040154d
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
call fcn.0041756a
pop ecx
mov byte [ebp - 4], 4
push dword [ebp - 0x24]
call esi
mov dword [ebp - 4], 3
jmp 0x406eae
push ebx
push str.Groove_Account_Upgrade
push str.Groove_upgrade_process_cannot_start.__Make_sure_Groove_is_not_currently_running.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x406e4f
push ebx
push str.Groove_Account_Upgrade
push str.Groove_upgrade_process_cannot_start.__Make_sure_Groove_is_not_currently_running.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 5
push dword [ebp - 0x18]
call fcn.0041756a
pop ecx
mov byte [ebp - 4], 4
push dword [ebp - 0x24]
call esi
mov byte [ebp - 4], 2
call fcn.00406335
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041742c
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0040b4ad
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x11], bl
je 0x406e9c
xor ecx, ecx
call fcn.0040d1e6
call dword [sym.imp.ole32.dll_CoUninitialize]
or eax, 0xffffffff
jmp 0x406ee7
mov byte [ebp - 4], 2
call fcn.00406335
mov byte [ebp - 4], 1
push dword [ebp - 0x1c]
call fcn.0041742c
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0040b4ad
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x11], bl
je 0x406ee5
xor ecx, ecx
call fcn.0040d1e6
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
call fcn.00424094
ret 0x10