Function at 0x406d05
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.00406198
xor ebx, ebx
mov dword [ebp - 4], ebx
push 1
push 1
lea ecx, [ebp - 0x30]
call fcn.0040b419
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
push 0x40b62d
call fcn.0041742c
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
push ebx
call fcn.00409dae
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
push 0x40b3d1
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 0x40b681
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 0x406e63
cmp eax, ebx
jne 0x406e63
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 0x406e46
cmp eax, ebx
jne 0x406e46
lea eax, [ebp - 0xd0]
push eax
call fcn.00401420
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0xd0]
call fcn.004017ab
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.0040156f
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 0x406ed4
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 0x406e75
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.0040635b
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.0040b490
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x11], bl
je 0x406ec2
xor ecx, ecx
call fcn.0040d206
call dword [sym.imp.ole32.dll_CoUninitialize]
or eax, 0xffffffff
jmp 0x406f0d
mov byte [ebp - 4], 2
call fcn.0040635b
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.0040b490
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x11], bl
je 0x406f0b
xor ecx, ecx
call fcn.0040d206
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
call fcn.00424094
ret 0x10