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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5265e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, 0x1d4c0
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x20], eax
nop
push edi
push 0
push 0x100000
call ebx
test eax, eax
je 0x410972
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esi, 0x64
jns 0x410950
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x410b1e
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x410992
mov al, 1
jmp 0x410b00
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
push 0x1b
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push 0x557cb0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00402b20
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00494bc0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00402ac0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x410aef
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [edi]
call ebx
cmp esi, eax
je 0x410aef
test esi, esi
je 0x410a8b
call ebx
cmp eax, esi
je 0x410a8b
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x410a8b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
jne 0x410a5c
xor bl, bl
jmp 0x410a7a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x410a7a
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x410add
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [edi]
test esi, esi
je 0x410add
call ebx
cmp eax, esi
je 0x410add
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x410add
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
je 0x410ad6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x410ad6
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add edi, 4
cmp edi, dword [ebp - 0x20]
jne 0x410a24
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b040
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1ff4
mov esp, ebp
pop ebp
ret 8
call fcn.004d9ead
int3