Function at 0x40fa00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ac30
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5ac020]
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
cmp dword [0x5bd8bc], 0
jne 0x40fcac
push str._Privacy_Drive
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5bd8bc], eax
test eax, eax
je 0x40fa79
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40fcac
push dword [0x5bd8bc]
call ebx
mov dword [0x5bd8bc], 0
cmp dword [0x5be310], 0
jbe 0x40fc79
push 0
lea eax, [ebp - 0x40]
mov ecx, 0x5be300
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov esi, dword [eax]
test esi, esi
je 0x40faa9
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [esi + 8]
and edx, 3
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
cmp dword [eax], 1
jne 0x40fc19
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push str._Privacy_Drive
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x40fca8
push eax
call ebx
mov ecx, str.Privacy_Drive_Std_Dialog_Activation
call fcn.0042b9f0
mov edi, eax
test edi, edi
jne 0x40fb15
mov ecx, str.Privacy_Drive_Std_Main_Frame
call fcn.0042b9f0
mov edi, eax
test edi, edi
jne 0x40fb15
push 0x64
call esi
jmp 0x40fad2
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str._Privacy_Drive
lea eax, [ebp - 0x2c]
push str._s_Shared__u
push eax
call fcn.00401a00
add esp, 0x10
mov ecx, 0x5be2fc
push 0
call fcn.00411c00
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40fb74
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x14], 8
lea ecx, [eax*2 + 2]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], ecx
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x40fc03
push 0
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0
mov ecx, 0x5be2fc
mov esi, eax
call fcn.00411c00
push eax
push dword [ebp - 0x30]
push esi
call fcn.00500848
add esp, 0xc
push dword [ebp - 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_FlushViewOfFile]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4db
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x34]
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004021a0
xor eax, eax
jmp 0x40fcb1
push 0
lea eax, [ebp - 0x4c]
mov ecx, 0x5be300
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412010
mov ecx, eax
call fcn.004122f0
mov esi, dword [eax]
test esi, esi
je 0x40fc3c
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 3
dec eax
shr ecx, 2
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
cmp dword [eax], 2
jne 0x40fc79
push str.Rerun
push 0
mov ecx, 0x5be2fc
call fcn.00411c00
push eax
call fcn.00500c00
add esp, 8
test eax, eax
je 0x40fcac
mov ecx, str.Privacy_Drive_Std_Dialog_Activation
call fcn.0042b9f0
test eax, eax
je 0x40fc9e
push 0
push 0x4d5
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x40fcb1
mov ecx, str.Privacy_Drive_Std_Main_Frame
call fcn.0042ba50
xor eax, eax
jmp 0x40fcb1
mov eax, 1
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.004ffcef
mov esp, ebp
pop ebp
ret