Function at 0x418458
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x604
mov eax, dword [0x54c548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push ebx
mov dword [ebp - 0x5c8], eax
call fcn.0040e951
mov ecx, eax
call fcn.0041067c
lea ecx, [ebp - 0x5c1]
call fcn.00415c20
push eax
lea ecx, [ebp - 0x5cc]
call fcn.00405c86
xor edi, edi
lea eax, [ebp - 0x34]
push edi
push edi
push edi
push edi
push dword [ebp - 0x5cc]
push eax
call fcn.00431580
add esp, 0x18
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x5c1]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00414fe8
push eax
call fcn.0040ea86
mov ecx, eax
call fcn.0042f730
lea ecx, [ebp - 0x5c1]
call fcn.004156d6
push eax
xor esi, esi
inc esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
test edi, edi
je 0x41852d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41852d
push 0
push 0
push 0x515abc
lea ecx, [ebp - 0x5c1]
call fcn.0041501f
push eax
call fcn.0042c54c
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4187c0
lea ecx, [ebp - 0x5c1]
call fcn.0041569f
push eax
call fcn.0042c097
pop ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x41855e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.0042bbd2
pop ecx
xor esi, esi
jmp 0x4187c0
push 0
lea ecx, [ebp - 0x5c1]
call fcn.0041508d
push eax
lea ecx, [ebp - 0x5c2]
call fcn.00412f66
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 4
call fcn.0041663e
pop ecx
push 0
push dword [ebp - 0x5c8]
mov ecx, 0x552a00
push 0
call fcn.00416a78
push dword [ebp - 0x5c8]
call fcn.0043ba90
lea eax, [ebp - 0xd0]
push eax
call fcn.00437490
pop ecx
pop ecx
lea ecx, [ebp - 0x5c1]
call fcn.00415056
push eax
lea ecx, [ebp - 0xd0]
call fcn.004343f0
lea ecx, [ebp - 0xd0]
call fcn.0041a4c0
push eax
call fcn.0043bd10
pop ecx
push esi
lea ecx, [ebp - 0x5c1]
call fcn.00415be9
push eax
call fcn.0043bdd0
and dword [ebp - 0xc], 0
xor eax, eax
pop ecx
pop ecx
lea ecx, [ebp - 0x5c1]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.00415744
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040ce35
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040e951
mov ecx, eax
call fcn.00410519
lea ecx, [ebp - 0x4c]
call fcn.0040fb7f
lea ecx, [ebp - 0x5c1]
call fcn.0041570d
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fa1a
test al, al
jne 0x418686
lea ecx, [ebp - 0x5c1]
call fcn.00415a5d
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fa1a
test al, al
jne 0x418686
lea ecx, [ebp - 0x5c1]
call fcn.004158c4
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040fa1a
test al, al
je 0x4186cc
call fcn.0040e9b8
mov ecx, eax
call fcn.00411b77
test eax, eax
jne 0x4186cc
sub esp, 0x28
lea ecx, [ebp - 0x5c1]
mov eax, esp
xor ebx, ebx
push ebx
mov dword [eax + 0x24], ebx
call fcn.00415a26
push eax
push esi
push ebx
lea ecx, [ebp - 0x5c1]
call fcn.00415bb2
push eax
call fcn.0040ea86
mov ecx, eax
call fcn.0042f9e0
jmp 0x418794
push ebx
call fcn.0042bdfa
pop ecx
test eax, eax
jne 0x4186f9
xor ebx, ebx
lea ecx, [ebp - 0x5c1]
push ebx
push ebx
push 0x515abc
call fcn.00415a94
push eax
call fcn.0042c54c
add esp, 0x10
jmp 0x418794
call fcn.004166be
xor ebx, ebx
test al, al
je 0x418718
push ebx
push ebx
push 0x515abc
lea ecx, [ebp - 0x5c1]
call fcn.00415280
jmp 0x4186eb
lea eax, [ebp - 0x604]
mov dword [ebp - 0x604], 0x51610c
xorps xmm0, xmm0
mov dword [ebp - 0x5f0], ebx
mov esi, 0x552a00
mov dword [ebp - 0x5ec], ebx
push eax
mov ecx, esi
movups xmmword [ebp - 0x600], xmm0
call fcn.00415ffb
lea ecx, [ebp - 0x5c0]
call fcn.0040cef6
lea ecx, [ebp - 0x5c0]
call fcn.0040eb98
lea ecx, [ebp - 0x604]
call fcn.00417d12
mov ecx, esi
call fcn.00417bc2
lea ecx, [ebp - 0x5c0]
call fcn.0040d0ad
lea ecx, [ebp - 0x5f4]
call fcn.00407cbc
lea ecx, [ebp - 0x600]
call fcn.00407cbc
lea ecx, [ebp - 0x1c]
call fcn.0040fb7f
call fcn.00417aaf
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0xd0]
mov esi, ebx
call fcn.00430490
lea ecx, [ebp - 0x5c2]
call fcn.00407ef0
lea ecx, [ebp - 0x34]
call fcn.0040fb7f
mov ecx, dword [ebp - 0x5cc]
add ecx, 0xfffffff0
call fcn.00407c78
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aabf0
leave
ret 0x10