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.76505A24_1781_4194_B805_5B2DFAFECAD9
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x489ae0], eax
push 0x435f70
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 0x435f8c
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.5ECF2A6B_4A8F_4B6A_BDB9_785A1A800BAC
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.00416100
test eax, eax
jne 0x41a86b
jmp 0x41aaa3
call fcn.004042e0
test eax, eax
jne 0x41a87e
jmp 0x41aaa3
call fcn.00415460
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.004095c0
cmp eax, 1
jne 0x41a8f3
push str.04B1D95E_91AB_46F8_9624_3460A802495B
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.04B1D95E_91AB_46F8_9624_3460A802495B
call fcn.0041b0f0
add esp, 4
mov dword [ebp - 0x10], 0
call fcn.004096c0
cmp eax, 1
jne 0x41a935
push str.E4E30697_AC48_4D6B_93FA_2C91A842EFF8
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.E4E30697_AC48_4D6B_93FA_2C91A842EFF8
call fcn.0041b0f0
add esp, 4
mov dword [ebp - 0x30], 0
call fcn.004097c0
cmp eax, 1
jne 0x41a977
push str.48892A61_9EBE_4B54_BDD6_F7009288A224
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.48892A61_9EBE_4B54_BDD6_F7009288A224
call fcn.0041b0f0
add esp, 4
cmp dword [0x47e398], 1
jne 0x41aa4a
cmp dword [0x486450], 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.00408fe0
test eax, eax
jne 0x41a9dc
push 0x3e8
call dword [0x48950c]
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
jmp 0x41a9b7
cmp dword [0x47e39c], 1
jne 0x41aa4a
mov dword [ebp - 0x3c], 0
call fcn.00407880
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 [0x489514]
cmp eax, 0xffffffff
je 0x41aa40
mov edx, dword [ebp - 0x3c]
push edx
call dword [0x489500]
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 [0x48950c]
jmp 0x41aa3e
jmp 0x41aa40
jmp 0x41aa01
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [0x489498]
cmp dword [0x47e398], 1
jne 0x41aa66
push 0xffffffffffffffff
mov edx, dword [0x4879b8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x41aaa3
mov eax, dword [0x486450]
neg eax
sbb eax, eax
add eax, 2
mov dword [ebp - 0xc], eax
mov ecx, dword [0x4879b8]
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 [0x4879b8]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
call fcn.00401d40
call fcn.004020d0
call fcn.00402af0
call fcn.00416150
test eax, eax
jne 0x41aac3
push 0
call dword [0x4894a8]
call fcn.004156a0
cmp dword [0x4879b8], 0
je 0x41aadd
mov eax, dword [0x4879b8]
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 [0x4879b8], 0
cmp dword [0x489ae0], 0
je 0x41ab14
mov edx, dword [0x489ae0]
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 [0x486450], 0
jne 0x41ab35
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret