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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x588088]
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 0x410862
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esi, 0x64
jns 0x410840
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
je 0x410a0e
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x410882
mov al, 1
jmp 0x4109f0
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 0x5570a8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
call fcn.00402b50
lea edx, [ebp - 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0048fce0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00402af0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x4109df
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [edi]
call ebx
cmp esi, eax
je 0x4109df
test esi, esi
je 0x41097b
call ebx
cmp eax, esi
je 0x41097b
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41097b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
jne 0x41094c
xor bl, bl
jmp 0x41096a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne bl
test eax, eax
je 0x41096a
push 0x1388
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x4109cd
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 0x4109cd
call ebx
cmp eax, esi
je 0x4109cd
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4109cd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp eax, esi
je 0x4109c6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4109c6
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 0x410914
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040af30
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.004e1a24
mov esp, ebp
pop ebp
ret 8
call fcn.004d98d1
int3