Function at 0x412760
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4255dc
mov eax, dword fs:[0]
push eax
sub esp, 0x694
mov eax, dword [0x435014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x6a0], 8
push eax
mov dword [ebp - 0x69c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, edi
call dword [sym.imp.mfc140u.dll_CWinApp::InitInstance]
push 0
call dword [sym.imp.mfc140u.dll_AfxEnableControlContainer]
add esp, 4
lea ecx, [ebp - 0x694]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0
push 0x8d
lea ecx, [ebp - 0x690]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_CDialogEx::CDialogEx]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x570]
xorps xmm0, xmm0
mov dword [ebp - method.CUnisoc_MES_Plus_Dlg_Center.virtual_0], vtable.CUnisoc_MES_Plus_Dlg_Center.0
movups xmmword [ebp - 0x590], xmm0
movups xmmword [ebp - 0x580], xmm0
call fcn.00401380
xorps xmm0, xmm0
lea ecx, [ebp - 0x144]
movlpd qword [ebp - 0x514], xmm0
movlpd qword [ebp - 0x50c], xmm0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 3
call fcn.004067e0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 4
mov ecx, eax
mov dword [ebp - 0x698], eax
call dword [sym.imp.mfc140u.dll_CWnd::CWnd]
mov dword [ebp - 0x98], vtable.CTabCtrl_Plus.0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], vtable.CFont.0
push 0x42a124
push 0x20
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x10
mov byte [ebp - 4], 6
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_CGdiObject::Attach]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_AfxGetModuleState]
push 0x8a
push 0xe
push 0x8a
call dword [sym.imp.mfc140u.dll_AfxFindResourceHandle]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x5b0], 0x32
mov byte [0x435e48], 0
mov byte [ebp - 0x594], 1
mov dword [ebp - 0x5a4], 0x96
mov dword [ebp - 0x598], 0x16
push str.UNISOC_MES_MANAGE
lea ecx, [ebp - 0x694]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push dword [ebp - 0x694]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412946
push dword [ebp - 0x694]
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
jmp 0x4129a7
test esi, esi
je 0x412951
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0xc
call dword [sym.imp.mfc140u.dll_operator]
add esp, 4
mov dword [ebp - 0x698], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x412976
mov ecx, eax
call dword [sym.imp.mfc140u.dll_CShellManager::CShellManager]
mov esi, eax
jmp 0x412978
xor esi, esi
push str.Local_AppWizard_Generated_Applications
mov ecx, edi
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140u.dll_CWinApp::SetRegistryKey]
lea eax, [ebp - 0x690]
mov ecx, eax
mov dword [edi + 0x20], eax
call dword [sym.imp.mfc140u.dll_CDialog::DoModal]
test esi, esi
je 0x4129a7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
lea ecx, [ebp - 0x690]
call fcn.00412ab0
lea ecx, [ebp - 0x694]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422eb6
mov esp, ebp
pop ebp
ret