Function at 0x414e3e
Capabilities:
Check mutex on windows
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30c
push ebx
push esi
push edi
push dword [0x423724]
xor ebx, ebx
xor eax, eax
lea esi, [esp + 0x24]
mov byte [esp + 0x13], bl
call fcn.00409e64
test al, al
je 0x414e92
mov eax, dword [esp + 0x24]
push dword [esp + 0x20]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
call fcn.00414aba
mov dword [esp + 0x18], eax
cmp eax, ebx
jne 0x414e89
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x20]
call fcn.00409f0c
cmp dword [esp + 0x10], 0x1e6
jne 0x414f86
push dword [esp + 0x18]
call fcn.00419276
test al, al
je 0x41516e
push 1
lea eax, [esp + 0x34]
push eax
push 0x32901130
call fcn.00414611
lea eax, [esp + 0x30]
push eax
push 1
push 0x423700
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esp + 0x10], eax
cmp eax, ebx
je 0x41516e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xb7
jne 0x414efd
push dword [esp + 0x10]
call esi
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], ebx
je 0x41516e
lea eax, [esp + 0x98]
push eax
call fcn.0040b332
test byte [esp + 0x98], 0x20
je 0x414f25
or dword [0x4236c8], 0x10
call fcn.0041c8ea
test byte [0x4236c8], 0x10
je 0x414f40
push bind
push 0x14
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 1
lea eax, [esp + 0x34]
push eax
push 0x1a43533f
call fcn.00414611
lea eax, [esp + 0x30]
push eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov edi, eax
cmp edi, ebx
je 0x414f6f
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call esi
push 1
call fcn.00414b77
push dword [esp + 0x10]
mov byte [esp + 0x13], 1
call esi
jmp 0x41516e
cmp dword [esp + 0x10], 0xc
jne 0x41516e
push 2
push 0x8889347b
call fcn.0041464c
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x41515d
push 1
lea eax, [esp + 0x34]
push eax
push 0x19367401
call fcn.00414611
lea eax, [esp + 0x30]
push eax
call fcn.0040842e
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov edi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test al, al
je 0x414ffd
push ebx
push 1
lea eax, [esp + 0x17]
push eax
push esi
push 0xffffffffffffffff
mov byte [esp + 0x23], bl
call edi
test eax, eax
je 0x414ff0
cmp byte [esp + 0xf], 0xe9
je 0x414ffd
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x414fd4
mov eax, dword [0x4236cc]
push 0x16
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
cmp eax, 1
jne 0x41501f
call fcn.0041968d
mov byte [esp + 0xf], al
jmp 0x415154
push ebx
push 1
lea eax, [esp + 0x17]
push eax
push esi
push 0xffffffffffffffff
mov byte [esp + 0x23], bl
call edi
test eax, eax
je 0x415095
cmp byte [esp + 0xf], 0xe9
jne 0x415095
lea eax, [esp + 0x10]
push eax
push 0x78f16360
push 0x423b36
call esi
cmp eax, 1
jne 0x415095
mov eax, dword [esp + 0x18]
push dword [eax]
mov edi, fcn.0041932d
push dword [eax + 8]
call fcn.0040b064
push dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x114]
mov esi, 0x423728
push eax
mov edx, esi
call fcn.0041932d
push 0x8000
push ebx
push dword [esp + 0x18]
mov byte [esp + 0x1b], al
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4150bf
mov eax, dword [esp + 0x18]
push dword [eax]
mov edi, fcn.00418fc1
push dword [eax + 4]
call fcn.0040b064
mov esi, 0x423728
lea edx, [esp + 0x110]
mov ecx, esi
call fcn.00418fc1
mov byte [esp + 0xf], al
cmp byte [esp + 0xf], 1
jne 0x415154
lea eax, [esp + 0x20]
push eax
push ebx
push esi
push ebx
lea eax, [esp + 0x120]
push eax
call fcn.00406512
test eax, eax
setne byte [esp + 0xf]
cmp byte [esp + 0xf], bl
je 0x415154
push 1
lea eax, [esp + 0x34]
push eax
push 0x1a43533f
call fcn.00414611
lea eax, [esp + 0x30]
push eax
push ebx
push 1
push 0x423700
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
push 0xffffffffffffffff
cmp eax, ebx
jne 0x41512b
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x415139
push ebx
lea eax, [esp + 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebx
je 0x41514b
push dword [esp + 0x10]
call esi
push dword [esp + 0x24]
call esi
push edi
call esi
push dword [esp + 0x1c]
call fcn.0040841e
cmp byte [ebp + 0xc], 1
jne 0x41516e
push dword [0x423724]
call fcn.004066b0
push dword [esp + 0x18]
call fcn.00404c4b
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8