Function at 0x41a280
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e451d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xe8
mov eax, dword [0x572734]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
push 0x505968
lea ecx, [ebp - 0x3c]
call fcn.00445780
mov dword [ebp - 4], 0
call fcn.00406200
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xd0], 3
jne 0x41a313
mov dword [ebp - 0xbc], 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00445840
mov eax, dword [ebp - 0xbc]
jmp 0x41aaf5
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 0x10
jne 0x41a343
mov dword [ebp - 0x84], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00445840
mov eax, dword [ebp - 0x84]
jmp 0x41aaf5
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 3
je 0x41a367
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 2
je 0x41a367
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 4
jne 0x41a374
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc8], 1
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x11d0]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.004534d0
and eax, 4
je 0x41a398
mov dword [ebp + 8], 0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov dword [edx + 0x11e4], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x11e0], edx
mov dword [ebp - 0x54], 1
push str.www.corel.com.pcupk
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0xb7
jne 0x41a3f0
push 0x7d0
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453d60
movzx ecx, al
test ecx, ecx
je 0x41a418
mov dword [ebp - 0x54], 9
mov dword [ebp - 0x44], 0x13
jmp 0x41aa41
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453cd0
movzx edx, al
test edx, edx
je 0x41a452
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 0
jne 0x41a452
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 4
mov dword [ebp - 0x44], 0
jmp 0x41aa41
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453e30
movzx edx, al
test edx, edx
je 0x41a7b6
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x11e8], 0
jne 0x41a4fe
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0044e870
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41a49b
mov dword [ebp - 0x80], 0
jmp 0x41a4f3
mov ecx, dword [ebp - 0x50]
push ecx
call sub.MSVCR120.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x3fffffff
jle 0x41a4bf
mov dword [ebp - 0x74], 0
jmp 0x41a4ed
mov eax, dword [ebp - 0x48]
shl eax, 1
call fcn.004e1240
mov dword [ebp - 0xc0], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
call fcn.00417bd0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x68], ecx
jmp 0x41a58e
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x11e8]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x148
call fcn.0044e870
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41a530
mov dword [ebp - 0x64], 0
jmp 0x41a588
mov ecx, dword [ebp - 0x50]
push ecx
call sub.MSVCR120.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x3fffffff
jle 0x41a554
mov dword [ebp - 0x7c], 0
jmp 0x41a582
mov eax, dword [ebp - 0x48]
shl eax, 1
call fcn.004e1240
mov dword [ebp - 0xc8], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
call fcn.00417bd0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453f50
movzx eax, al
test eax, eax
je 0x41a79d
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044f4f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00415810
test eax, eax
jne 0x41a6cb
mov edx, dword [ebp - 0x40]
movzx eax, byte [edx + 0x4b0]
test eax, eax
jne 0x41a6cb
push 0x505a14
lea ecx, [ebp - 0xd4]
call fcn.004153a0
mov byte [ebp - 4], 3
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x49]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x120
call fcn.004157f0
push eax
lea edx, [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x1310
call fcn.00436b30
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00415710
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf8]
call fcn.00415310
push str.ProfileGuid
lea ecx, [ebp - 0xd4]
call fcn.004157f0
push eax
push SysStringLen
lea edx, [ebp - 0xec]
push edx
call fcn.0040a5f0
add esp, 0x10
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00415600
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
call fcn.00415310
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.00415310
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0xb0]
call fcn.00415d20
test eax, eax
jne 0x41a75e
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x1644], 1
mov ecx, dword [ebp - 0x40]
call fcn.00427f80
movzx eax, al
test eax, eax
je 0x41a745
push 0
push 1
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xb0]
call fcn.004157f0
push eax
push 0
push 0
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 0x17c]
call eax
movzx ecx, al
test ecx, ecx
je 0x41a745
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + 0x180]
call edx
jmp 0x41a75c
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044f9a0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], eax
jmp 0x41a785
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x1644], 0
push 1
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044f9f0
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc0], 1
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.00415310
jmp 0x41a7b1
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 3
mov dword [ebp - 0x44], 0x30
jmp 0x41aa41
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 0xf
jne 0x41a7f0
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453df0
movzx eax, al
test eax, eax
je 0x41a7f0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 3
mov dword [ebp - 0x44], 0
jmp 0x41aa41
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 0
jne 0x41a809
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc8], 1
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xec], 0
je 0x41aa41
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453d00
movzx edx, al
test edx, edx
je 0x41a865
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 1
jne 0x41a865
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x11e4], 0
je 0x41a8d4
mov edx, dword [ebp - 0x40]
add edx, 0x26e
push edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0xec]
call fcn.0045bfa0
mov edx, dword [ebp - 0x40]
add edx, 0x26e
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xec]
call fcn.0045b560
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x26e
push ecx
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xec]
call fcn.0045bfa0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x41a8d2
mov ecx, dword [ebp - 0x54]
xor ecx, dword [ebp - 0x60]
xor ecx, dword [ebp - 0x70]
not ecx
mov dword [ebp - 0x5c], ecx
jmp 0x41a8db
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 8
jne 0x41a8f4
cmp dword [ebp - 0x54], 0
jne 0x41a8f4
mov dword [ebp - 0x54], 9
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x23
ja case.0x41a90e.3
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ecx + 0x41ab3c]
jmp dword [edx*4 + 0x41ab1c]
cmp dword [ebp - 0x5c], 0
jne 0x41a941
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc0], 4
push 1
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453c70
jmp 0x41a94e
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 5
jmp 0x41aa41
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 1
mov ecx, dword [ebp - 0x40]
call fcn.00425410
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x41a97e
mov dword [ebp - 0x44], 0
jmp 0x41aa41
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc0], 1
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453df0
movzx ecx, al
test ecx, ecx
je 0x41a9ca
mov ecx, dword [ebp - 0x40]
call fcn.00425410
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x41a9ca
mov dword [ebp - 0x44], 0
jmp 0x41aa41
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453d00
movzx edx, al
test edx, edx
je 0x41aa03
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x11e4], 0
jne 0x41aa03
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 1
mov dword [ebp - 0x44], 0
jmp 0x41aa0a
mov dword [ebp - 0x44], 1
jmp 0x41aa41
mov dword [ebp - 0x44], 0x13
jmp 0x41aa41
mov dword [ebp - 0x44], 0x14
jmp 0x41aa41
mov dword [ebp - 0x44], 0x26
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 0xffffffff
jmp 0x41aa41
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc0], 1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0xc0]
mov dword [ecx + 0xc4], eax
jmp 0x41aaad
mov dword [ebp - 4], 0
jmp 0x41aabd
cmp dword [ebp - 0x58], 0
je 0x41aad7
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00445840
mov eax, dword [ebp - 0xa0]
lea esp, [ebp - 0x108]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e11cc
mov esp, ebp
pop ebp
ret 0x10