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

Disassembly:
push 0xffffffffffffffff
push 0x486af8
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4acab8]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4acab8]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
cmp byte [0x4ab50b], 0
jne 0x41047e
mov al, byte [0x4adea1]
jmp 0x41073b
lea eax, [esp + 0x98]
push eax
call fcn.0042cfa0
add esp, 4
xor ebp, ebp
mov dword [esp + 0xc0], ebp
cmp dword [esp + 0xac], ebp
je 0x410714
call fcn.0042a210
mov ecx, dword [eax + 0x14]
mov esi, 0x10
cmp dword [eax + 0x18], esi
jb 0x4104bb
mov eax, dword [eax + 4]
jmp 0x4104be
add eax, 4
push ecx
mov ecx, dword [esp + 0xb0]
push eax
push ecx
push ebp
lea ecx, [esp + 0xa8]
call fcn.0040a1a0
test eax, eax
je 0x410719
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.0040b920
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0xc8], 2
call fcn.00427f10
add esp, 8
mov byte [esp + 0xc0], 1
cmp dword [esp + 0x50], esi
jb 0x410530
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0046fa18
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 0x410571
mov eax, dword [esp + 0x14]
mov byte [0x4ab50b], 0
cmp eax, ebp
je 0x410560
push eax
call fcn.00470041
add esp, 4
mov dword [esp + 0x18], ebp
lea ecx, [esp + 0x98]
call fcn.0040ae10
jmp 0x410739
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x4105af
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [0x4ab50b], 0
mov byte [0x4adea1], 1
lea ecx, [esp + 0x14]
call fcn.00409fc0
lea ecx, [esp + 0x98]
call fcn.0040ae10
mov al, 1
jmp 0x41073b
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.00427f10
mov edx, dword [esp + 0x20]
add esp, 8
push edx
lea ecx, [esp + 0x24]
call fcn.00409f90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
push eax
push ecx
push esi
call fcn.00470ed5
mov eax, dword [esp + 0x30]
dec eax
add esp, 0xc
cmp eax, ebp
jl 0x410606
cmp word [esi + eax*2], 0x5c
je 0x410600
sub eax, 1
jns 0x4105f2
jmp 0x410606
xor edx, edx
mov word [esi + eax*2], dx
push 0x44
lea eax, [esp + 0x58]
push ebp
push eax
call fcn.00470880
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 0x4106cc
mov ecx, dword [esp + 0x28]
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x4106b1
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x4106be
cmp dword [esp + 0x1c], 0x66
jne 0x4106be
push ebx
call ebp
lea ecx, [esp + 0x20]
mov byte [0x4ab50b], 0
mov byte [0x4adea1], 1
call fcn.00409fc0
jmp 0x410593
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 [0x4ab50b], 0
test esi, esi
je 0x4106e7
push esi
call fcn.00470041
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x410700
push eax
call fcn.00470041
add esp, 4
mov dword [esp + 0x18], 0
cmp dword [esp + 0xb0], 0x10
jb 0x410739
mov ecx, dword [esp + 0x9c]
push ecx
jmp 0x410731
mov esi, 0x10
mov byte [0x4ab50b], 0
cmp dword [esp + 0xb0], esi
jb 0x410739
mov edx, dword [esp + 0x9c]
push edx
call fcn.0046fa18
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.00470538
add esp, 0xb0
ret