Function at 0x494330
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd64
mov eax, dword [0x556358]
xor eax, esp
mov dword [esp + 0xd60], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x40a900
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.00494250
test eax, eax
jne 0x4945f0
push 8
call fcn.004d7fcd
add esp, 4
mov esi, eax
xorps xmm0, xmm0
push 0x545e08
push 1
push 0
movq qword [esi], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
mov dword [esp + 0x14], 0
cmp eax, 0xb7
mov dword [esp + 0x18], 0
push esi
sete cl
mov dword [esi + 4], ecx
lea ecx, [esp + 0x18]
call fcn.004946b0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x55b720]
mov dword [0x55b720], eax
mov eax, dword [esp + 0x14]
mov dword [0x55b71c], eax
test ecx, ecx
je 0x4943e6
call fcn.0040ac60
mov eax, dword [0x55b71c]
cmp dword [eax + 4], 0
je 0x494550
push str.soft_mutex
call fcn.00493a80
add esp, 4
lea eax, [esp + 0xb60]
push 0x208
push 0
push eax
call fcn.004e0850
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0xb6c]
add esp, 0xc
push str.7c4585
push 0x54b3a8
push eax
call esi
add esp, 0xc
test edi, edi
je 0x494692
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494440
sub ecx, edx
sar ecx, 1
je 0x494618
lea eax, [esp + 0xb60]
push eax
push edi
call fcn.004e7f04
add esp, 8
test eax, eax
jne 0x494618
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.00493760
test al, al
je 0x494618
push 0
push str.GdZipVirtualCDWindow
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
test ebx, ebx
je 0x494609
push 0x208
lea eax, [esp + 0x95c]
push 0
push eax
call fcn.004e0850
add esp, 0xc
lea eax, [esp + 0x958]
push 0x54539c
push 0x54b3a8
push eax
call esi
lea ecx, [esp + 0x964]
mov dword [esp + 0x20], 0
add esp, 0xc
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4944e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x958]
push eax
push str.send_cmd_:__s
mov dword [esp + 0x24], eax
call fcn.00493a80
add esp, 8
lea eax, [esp + 0x14]
push eax
push 0
push 0x4a
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push str.send_res_:__x_end___wait_end.
call fcn.00493a80
add esp, 8
call fcn.00493e80
test al, al
je 0x494550
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x12c
call esi
call fcn.00493e80
test al, al
jne 0x494540
call fcn.004939e0
mov esi, dword [esp + 0x10]
push esi
call fcn.0049b5a8
add esp, 4
push esi
call fcn.00401bb0
mov ecx, eax
call fcn.00401650
push 0x938
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004e0850
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040b230
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.VirtualCDWindow
push 0
lea ecx, [esp + 0x44]
call fcn.0049be82
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.0049c2d5
push 0
push edi
lea ecx, [esp + 0x28]
call fcn.0040b620
call fcn.004994b5
call fcn.0049b9c7
mov ecx, dword [0x55ac88]
test ecx, ecx
je 0x4945e7
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x55ac88], 0
lea ecx, [esp + 0x20]
call fcn.0040b350
mov ecx, dword [esp + 0xd6c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7fbc
mov esp, ebp
pop ebp
ret 0x10
push str.soft_mutex_uninstall_not_find_window_exit.
call fcn.00493a80
add esp, 4
jmp 0x4945f0
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494620
sub ecx, edx
sar ecx, 1
je 0x494692
push 0
push str.GdZipVirtualCDWindow
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x4945f0
mov ecx, edi
mov dword [esp + 0x14], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x494651
sub ecx, edx
mov dword [esp + 0x1c], edi
sar ecx, 1
push edi
push str.send_cmd_:__s
lea eax, [ecx*2 + 2]
mov dword [esp + 0x20], eax
call fcn.00493a80
add esp, 8
lea eax, [esp + 0x14]
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4945f0
push str.soft_mutex_exit.
call fcn.00493a80
add esp, 4
jmp 0x4945f0