Function at 0x40c0d8
Capabilities:
Acquire debug privileges
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x439030]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
mov dword [0x43c318], edi
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x40b0d9
mov dword [0x43c338], ebx
mov dword [0x43c334], ebx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x43c10c
push 0x42c4c0
push 0x433c80
call dword [sym.imp.ysmu.dll_DllGetClassObject]
test eax, eax
js 0x40c2ce
cmp dword [0x43c10c], ebx
je 0x40c2ce
push str.appmaindll.119.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40c167
push 0x433b68
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c167
push 0x4339d4
call eax
push 1
call fcn.00418d7f
pop ecx
mov dword [0x43c328], eax
call fcn.00401988
mov esi, dword [0x43c318]
mov dword [esp + 0xc], ebx
push 0x433b6c
test al, al
je 0x40c193
push 0x12c
jmp 0x40c198
push 0x190
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c39a
push eax
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.0040b27e
mov ebx, dword [esp + 0x10]
mov esi, eax
pop ecx
test ebx, ebx
je 0x40c398
push dword [0x43c318]
call dword [sym.imp.zbgui.dll_DUI_Init]
push esi
push ebx
call dword [sym.imp.zbgui.dll_LoadStyleZipMemory]
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [0x43c0dc], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x40c1e3
sub ecx, edx
sar ecx, 1
je 0x40c201
call fcn.0040bb7b
test eax, eax
jne 0x40c2ce
push str.MPlayer_Main_Window
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40c2e6
cmp dword [0x43c334], esi
jne 0x40c2ce
push esi
push str.MPlayer_Main_Window
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test esi, esi
je 0x40c2e4
lea eax, [esp + 0xc]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor edi, edi
test eax, eax
je 0x40c2c0
lea eax, [esp + 0x10]
push eax
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40c2b6
mov eax, dword [esp + 0x10]
push edi
push edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
push edi
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push eax
push edi
push dword [esp + 0x20]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x58], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push edi
push 0x46e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041813f
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
push str.ChangeWindowMessageFilter
push str.USER32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c30a
push 1
push 0x46e
call eax
mov ecx, edi
call fcn.0040c3b4
cmp dword [0x43c338], 0
jne 0x40c394
cmp dword [0x43c334], 0
jne 0x40c394
push 5
pop edx
mov ecx, edi
call fcn.0040c432
test eax, eax
je 0x40c2ce
push esi
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x40c378
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.0040b12a
test eax, eax
jne 0x40c36a
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push edi
push edi
push edi
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
jne 0x40c347
push ebx
call fcn.004183e2
pop ecx
call dword [sym.imp.zbgui.dll_DUI_UnLoad]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [esp + 0x20]
jmp 0x40c2d0
xor edx, edx
jmp 0x40c326
xor ebx, ebx
push ebx
push 0x43311c
push 0x433b70
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
inc eax
jmp 0x40c2d0