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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push str.A4686398_F8A8_49B9_8A59_9852A9750013
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x489a48], eax
push 0x435f58
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0xfffe
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41a7d2
jmp 0x41aaa3
push 0x104
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x41a7f1
jmp 0x41aaa3
push 0x435f74
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041df60
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41a810
jmp 0x41ab35
mov edx, dword [ebp - 0x34]
add edx, 2
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], 0
push str.40DFB76F_2AC8_4484_8835_0F9420090547
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41a845
jmp 0x41aaa3
call fcn.00401c80
test eax, eax
jne 0x41a858
jmp 0x41aaa3
call fcn.00416120
test eax, eax
jne 0x41a86b
jmp 0x41aaa3
call fcn.004042e0
test eax, eax
jne 0x41a87e
jmp 0x41aaa3
call fcn.00415480
test eax, eax
jne 0x41a891
jmp 0x41aaa3
call fcn.00402aa0
test eax, eax
jne 0x41a8a4
jmp 0x41aaa3
call fcn.00402040
test eax, eax
jne 0x41a8b7
jmp 0x41aaa3
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
call fcn.004095b0
cmp eax, 1
jne 0x41a8f3
push str.89549536_BBEB_4492_85AF_876DBB6F07D0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x41a8ec
jmp 0x41ab35
mov dword [ebp - 8], 1
push str.89549536_BBEB_4492_85AF_876DBB6F07D0
call fcn.0041b0f0
add esp, 4
mov dword [ebp - 0x10], 0
call fcn.004096b0
cmp eax, 1
jne 0x41a935
push str.09C9CB7F_FCF7_4684_8170_5AC6D6B57F14
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41a92e
jmp 0x41ab35
mov dword [ebp - 0x10], 1
push str.09C9CB7F_FCF7_4684_8170_5AC6D6B57F14
call fcn.0041b0f0
add esp, 4
mov dword [ebp - 0x30], 0
call fcn.004097b0
cmp eax, 1
jne 0x41a977
push str.53B319FD_F2FA_4051_896B_12FE1F96A14E
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41a970
jmp 0x41ab35
mov dword [ebp - 0x30], 1
push str.53B319FD_F2FA_4051_896B_12FE1F96A14E
call fcn.0041b0f0
add esp, 4
cmp dword [0x47e2f0], 1
jne 0x41aa4a
cmp dword [0x4863b0], 0
jne 0x41aa4a
cmp dword [ebp - 8], 0
jne 0x41a9b0
cmp dword [ebp - 0x10], 0
jne 0x41a9b0
cmp dword [ebp - 0x30], 0
je 0x41a9dc
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 5
jge 0x41a9dc
call fcn.00408fd0
test eax, eax
jne 0x41a9dc
push 0x3e8
call dword [0x48946c]
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
jmp 0x41a9b7
cmp dword [0x47e2f4], 1
jne 0x41aa4a
mov dword [ebp - 0x3c], 0
call fcn.00407870
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x41aa4a
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [0x489474]
cmp eax, 0xffffffff
je 0x41aa40
mov edx, dword [ebp - 0x3c]
push edx
call dword [0x489460]
test eax, eax
jne 0x41aa3c
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xa
jl 0x41aa2f
jmp 0x41aa40
push 0x3e8
call dword [0x48946c]
jmp 0x41aa3e
jmp 0x41aa40
jmp 0x41aa01
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [0x4893f8]
cmp dword [0x47e2f0], 1
jne 0x41aa66
push 0xffffffffffffffff
mov edx, dword [0x487918]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x41aaa3
mov eax, dword [0x4863b0]
neg eax
sbb eax, eax
add eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [0x487918]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [0x487918]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.00401d40
call fcn.004020d0
call fcn.00402af0
call fcn.00416170
test eax, eax
jne 0x41aac3
push 0
call dword [0x489408]
call fcn.004156c0
cmp dword [0x487918], 0
je 0x41aadd
mov eax, dword [0x487918]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], 0
je 0x41aaed
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov dword [0x487918], 0
cmp dword [0x489a48], 0
je 0x41ab14
mov edx, dword [0x489a48]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x41ab24
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x4863b0], 0
jne 0x41ab35
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret