Function at 0x41ac32
Capabilities:
Check mutex on windows

Disassembly:
push 0x110
mov eax, 0x44b143
call fcn.00447ac5
mov dword [ebp - 0x74], edx
mov dword [ebp - 0xec], ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0xac], 0
and dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xb0], edi
call fcn.0041d4ca
mov byte [ebp - 0x76], al
test al, al
jne 0x41ad30
and dword [ebp - 0x80], 0
lea ecx, [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], 7
push str.Posting_message_to_all_client_top_level_windows
mov word [ebp - 0x90], ax
call fcn.0040acef
and dword [ebp - 4], 0
lea eax, [ebp - 0x90]
push eax
mov ecx, ebx
call fcn.0041ea15
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.0040521a
push edi
push esi
mov edx, ebx
call fcn.0041815b
test al, al
jne 0x41ad30
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea ecx, [ebp - 0xe0]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.00420473
push str._PostMessageToAllClientTopLevelWindows___failed_in_ShutdownRunningClientProcess__
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004162a6
push eax
lea ecx, [ebp - 0x6c]
call fcn.00416444
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.0041ea15
lea ecx, [ebp - 0x6c]
call fcn.0040521a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.0040521a
cmp dword [esi + 0x10], 0
je 0x41af51
cmp dword [esi + 0x14], 8
jb 0x41ad42
mov esi, dword [esi]
mov edx, esi
lea ecx, [ebp - 0x6c]
call fcn.0041b5ea
mov dword [ebp - 4], 3
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
cmovae eax, dword [ebp - 0x6c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x47be60]
push esi
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [0x4529ac]
mov ecx, 0x47be60
call edi
cmp ebx, 0xb7
jne 0x41aef8
mov ebx, dword [ebp - 0xe4]
lea ecx, [ebp - 0x11c]
mov edx, ebx
mov dword [ebp - 0xac], 0x80040c98
call fcn.00420473
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x54]
and dword [ebp - 0x44], 0
xor eax, eax
push str._Milliseconds__retryCount:
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.0040acef
mov edi, 0x1f4
mov byte [ebp - 4], 6
mov edx, edi
lea ecx, [ebp - 0x12]
call fcn.00420452
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0xc8]
call fcn.004204c8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x90]
and dword [ebp - 0x80], 0
xor eax, eax
push str.Client_exe_is_still_running._Retrying_shutdown_after
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.0040acef
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xe0]
call fcn.0041fac8
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x104]
call fcn.0041fac8
push esi
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xa8]
call fcn.0041fac8
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0xa8]
push eax
mov byte [ebp - 4], 0xb
call fcn.0041ea15
lea ecx, [ebp - 0xa8]
call fcn.0040521a
lea ecx, [ebp - 0x104]
call fcn.0040521a
lea ecx, [ebp - 0xe0]
call fcn.0040521a
lea ecx, [ebp - 0x90]
call fcn.0040521a
lea ecx, [ebp - 0xc8]
call fcn.0040521a
lea ecx, [ebp - 0x54]
call fcn.0040521a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x11c]
call fcn.0040521a
inc ebx
push edi
mov dword [ebp - 0xe4], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 5
jl 0x41ad53
jmp 0x41af44
and dword [ebp - 0xac], 0
lea ecx, [ebp - 0x90]
and dword [ebp - 0x80], 0
xor eax, eax
push str.Client_exe_exited.
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.0040acef
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 4
call fcn.0041ea15
lea ecx, [ebp - 0x90]
call fcn.0040521a
lea ecx, [ebp - 0x6c]
call fcn.0040521a
jmp 0x41b5dc
mov edx, dword [ebp - 0xec]
lea edi, [ebp - 0x48]
xor eax, eax
lea ecx, [ebp - 0x48]
stosd dword es:[edi], eax
push ebx
push dword [ebp - 0xb0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.004185e1
mov dword [ebp - 4], 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x48]
mov edx, eax
mov eax, dword [ebp - 0x44]
mov esi, ecx
cmp esi, eax
je 0x41affc
cmp dword [esi], edx
je 0x41af94
add esi, 4
cmp esi, eax
jne 0x41af89
cmp esi, eax
je 0x41affc
and dword [ebp - 0x80], 0
lea ecx, [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], 7
push str.Excluding_current_process_ID_from_process_list.
mov word [ebp - 0x90], ax
call fcn.0040acef
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xd
push eax
mov ecx, ebx
call fcn.0041ea15
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.0040521a
mov eax, dword [ebp - 0x44]
lea ecx, [esi + 4]
sub eax, ecx
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
sub eax, 4
mov dword [ebp - 0x44], eax
xor dl, dl
mov byte [ebp - 0x75], dl
mov byte [ebp - 0x6d], dl
cmp ecx, eax
je 0x41b561
push 7
mov edi, 0x47be60
pop esi
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x94], esi
push str._processes
mov word [ebp - 0xa8], ax
call fcn.0040acef
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x12]
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x48]
sar edx, 2
call fcn.00420452
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.004204c8
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x90]
and dword [ebp - 0x80], 0
xor eax, eax
push str.Found
mov dword [ebp - 0x7c], esi
mov word [ebp - 0x90], ax
call fcn.0040acef
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xe0]
call fcn.0041fac8
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xc8]
call fcn.0041fac8
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x12
push eax
mov ecx, ebx
call fcn.0041ea15
lea ecx, [ebp - 0xc8]
call fcn.0040521a
lea ecx, [ebp - 0xe0]
call fcn.0040521a
lea ecx, [ebp - 0x90]
call fcn.0040521a
lea ecx, [ebp - 0x104]
call fcn.0040521a
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
call fcn.0040521a
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x12]
mov edx, dword [edx - 4]
call fcn.00420452
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0xe0]
call fcn.004204c8
mov byte [ebp - 4], 0x13
and dword [ebp - 0x98], 0
xor eax, eax
mov dword [ebp - 0x94], esi
mov word [ebp - 0xa8], ax
push str.Waiting_and_shutting_down_first_process._PID
lea ecx, [ebp - 0xa8]
call fcn.0040acef
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xc8]
call fcn.0041fac8
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x15
push eax
mov ecx, ebx
call fcn.0041ea15
lea ecx, [ebp - 0xc8]
call fcn.0040521a
lea ecx, [ebp - 0xa8]
call fcn.0040521a
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xc
call fcn.0040521a
mov eax, dword [0x47be60]
mov esi, dword [eax + 0xb8]
mov ecx, esi
mov eax, dword [ebp - 0x44]
push dword [eax - 4]
push 0
push 0x100001
call dword [0x4529ac]
mov ecx, edi
call esi
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x41b362
push dword [ebp - 0x74]
mov edx, eax
mov ecx, ebx
call fcn.00418a4b
mov dword [ebp - 0xac], eax
test eax, eax
jns 0x41b33d
mov edx, eax
mov byte [ebp - 0x75], 1
lea ecx, [ebp - 0x11c]
call fcn.00420473
mov esi, eax
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x90]
and dword [ebp - 0x80], 0
xor eax, eax
push str.__hr
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.0040acef
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x12]
mov edx, dword [ebp - 0x44]
mov edx, dword [edx - 4]
call fcn.00420452
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.004204c8
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa8]
and dword [ebp - 0x98], 0
xor eax, eax
push str.Failed_to_terminate_process__PID
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.0040acef
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0x104]
call fcn.0041fac8
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xe0]
call fcn.0041fac8
push esi
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x1b
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xc8]
call fcn.0041fac8
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x1c
push eax
mov ecx, ebx
call fcn.0041ea15
lea ecx, [ebp - 0xc8]
call fcn.0040521a
lea ecx, [ebp - 0xe0]
call fcn.0040521a
lea ecx, [ebp - 0x104]
call fcn.0040521a
lea ecx, [ebp - 0xa8]
call fcn.0040521a
lea ecx, [ebp - 0x6c]
call fcn.0040521a
lea ecx, [ebp - 0x90]
call fcn.0040521a
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x11c]
call fcn.0040521a
mov eax, dword [0x47be60]
push dword [ebp - 0xb0]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4529ac]
mov ecx, edi
call esi
mov cl, byte [ebp - 0x6d]
push 7
pop esi
jmp 0x41b42f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
sete byte [ebp - 0x77]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x12]
call fcn.00420452
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0xe0]
call fcn.004204c8
push 7
pop esi
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xa8]
and dword [ebp - 0x98], 0
xor eax, eax
push str.OpenProcess___returned_nullptr._Error:
mov dword [ebp - 0x94], esi
mov word [ebp - 0xa8], ax
call fcn.0040acef
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xc8]
call fcn.0041fac8
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x1f
push eax
mov ecx, ebx
call fcn.0041ea15
lea ecx, [ebp - 0xc8]
call fcn.0040521a
lea ecx, [ebp - 0xa8]
call fcn.0040521a
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xc
call fcn.0040521a
cmp byte [ebp - 0x6d], 0
jne 0x41b42a
cmp byte [ebp - 0x76], 0
je 0x41b42a
cmp byte [ebp - 0x77], 0
je 0x41b42a
xor cl, cl
jmp 0x41b42c
mov cl, 1
mov byte [ebp - 0x6d], cl
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
sub eax, 4
mov dword [ebp - 0x44], eax
cmp edx, eax
jne 0x41b014
test cl, cl
je 0x41b557
and dword [ebp - 0x80], 0
lea ecx, [ebp - 0x90]
xor eax, eax
mov dword [ebp - 0x7c], esi
push str._due_to_OpenProcess_returning_nullptr.
mov word [ebp - 0x90], ax
call fcn.0040acef
mov esi, 0x7530
mov byte [ebp - 4], 0x20
mov edx, esi
lea ecx, [ebp - 0x12]
call fcn.00420452
push ecx
lea ecx, [ebp - 0x12]
push ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.004204c8
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0xa8]
and dword [ebp - 0x98], 0
xor eax, eax
push str.Sleeping_for
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.0040acef
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xe0]
call fcn.0041fac8
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x74]
lea ecx, [ebp - 0xc8]
call fcn.0041fac8
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x24
push eax
mov ecx, ebx
call fcn.0041ea15
lea ecx, [ebp - 0xc8]
call fcn.0040521a
lea ecx, [ebp - 0xe0]
call fcn.0040521a
lea ecx, [ebp - 0xa8]
call fcn.0040521a
lea ecx, [ebp - 0x104]
call fcn.0040521a
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
call fcn.0040521a
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
cmp edx, eax
jne 0x41b5d4
cmp byte [ebp - 0x75], 0
jne 0x41b5d4
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0x94], 7
push str.No_more_client_process_by_name:
mov word [ebp - 0xa8], ax
call fcn.0040acef
push dword [ebp - 0xec]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x25
call fcn.00416426
push eax
lea ecx, [ebp - 0xc8]
call fcn.00416444
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x26
push eax
mov ecx, ebx
call fcn.0041ea15
lea ecx, [ebp - 0xc8]
call fcn.0040521a
lea ecx, [ebp - 0xa8]
call fcn.0040521a
lea ecx, [ebp - 0x48]
call fcn.0040f405
mov eax, dword [ebp - 0xac]
call fcn.00447a6f
ret 0xc