Function at 0x410660
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x48aa39
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4b1ae0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1ae0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
cmp byte [0x4b0533], 0
jne 0x4106ae
mov al, byte [0x4b2ec2]
jmp 0x41096b
lea eax, [esp + 0x98]
push eax
call fcn.0042f100
add esp, 4
xor ebp, ebp
mov dword [esp + 0xc0], ebp
cmp dword [esp + 0xac], ebp
je 0x410944
call fcn.0042c3c0
mov ecx, dword [eax + 0x14]
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x4106eb
mov eax, dword [eax + 4]
jmp 0x4106ee
add eax, 4
push ecx
mov ecx, dword [esp + 0xb0]
push eax
push ecx
push ebp
lea ecx, [esp + 0xa8]
call fcn.0040a190
test eax, eax
je 0x410949
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
push str.Media_Get_LLCMediaGet2
lea ecx, [esp + 0x3c]
mov byte [esp + 0xc4], 1
call fcn.0040b8c0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xc8], 2
call fcn.00429c40
add esp, 8
mov byte [esp + 0xc0], 1
cmp dword [esp + 0x50], esi
jb 0x410760
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00473948
add esp, 4
mov edx, dword [esp + 0x14]
push edx
push 1
push ebp
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov ebx, eax
cmp ebx, ebp
jne 0x4107a1
mov eax, dword [esp + 0x14]
mov byte [0x4b0533], 0
cmp eax, ebp
je 0x410790
push eax
call fcn.00473f71
add esp, 4
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x98]
call fcn.0040ae00
jmp 0x410969
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x4107df
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [0x4b0533], 0
mov byte [0x4b2ec2], 1
lea ecx, [esp + 0x14]
call fcn.00409fb0
lea ecx, [esp + 0x98]
call fcn.0040ae00
mov al, 1
jmp 0x41096b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.00429c40
mov edx, dword [esp + 0x20]
add esp, 8
push edx
lea ecx, [esp + 0x24]
call fcn.00409f80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
push eax
push ecx
push esi
call fcn.00474e05
mov eax, dword [esp + 0x30]
dec eax
add esp, 0xc
cmp eax, ebp
jl 0x410836
cmp word [esi + eax*2], 0x5c
je 0x410830
sub eax, 1
jns 0x410822
jmp 0x410836
xor edx, edx
mov word [esi + eax*2], dx
push 0x44
lea eax, [esp + 0x58]
push ebp
push eax
call fcn.004747b0
mov edi, dword [sym.imp.KERNEL32.DLL_SetErrorMode]
add esp, 0xc
xor ecx, ecx
push 1
mov dword [esp + 0x58], 0x44
mov dword [esp + 0x84], 1
mov word [esp + 0x88], cx
call edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x1c]
push esi
push ebp
push ebp
push ebp
push ebp
push ebp
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov ebp, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x4108fc
mov ecx, dword [esp + 0x28]
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x4108e1
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x4108ee
cmp dword [esp + 0x1c], 0x66
jne 0x4108ee
push ebx
call ebp
lea ecx, [esp + 0x20]
mov byte [0x4b0533], 0
mov byte [0x4b2ec2], 1
call fcn.00409fb0
jmp 0x4107c3
mov ecx, dword [esp + 0x28]
push 0
push ecx
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov edx, dword [esp + 0x28]
push edx
call ebp
mov eax, dword [esp + 0x2c]
push eax
call ebp
push 0
call edi
push ebx
call ebp
mov byte [0x4b0533], 0
test esi, esi
je 0x410917
push esi
call fcn.00473f71
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x410930
push eax
call fcn.00473f71
add esp, 4
mov dword [esp + 0x18], 0
cmp dword [esp + 0xb0], 0x10
jb 0x410969
mov ecx, dword [esp + 0x9c]
push ecx
jmp 0x410961
mov esi, 0x10
mov byte [0x4b0533], 0
cmp dword [esp + 0xb0], esi
jb 0x410969
mov edx, dword [esp + 0x9c]
push edx
call fcn.00473948
add esp, 4
xor al, al
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00474468
add esp, 0xb0
ret