Function at 0x41a310
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e46a8
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 0x505a18
lea ecx, [ebp - 0x3c]
call fcn.00445910
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 0x41a3a3
mov dword [ebp - 0xbc], 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004459d0
mov eax, dword [ebp - 0xbc]
jmp 0x41ab85
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 0x10
jne 0x41a3d3
mov dword [ebp - 0x84], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004459d0
mov eax, dword [ebp - 0x84]
jmp 0x41ab85
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 3
je 0x41a3f7
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 2
je 0x41a3f7
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 4
jne 0x41a404
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.00453630
and eax, 4
je 0x41a428
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 0x41a480
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.00453ee0
movzx ecx, al
test ecx, ecx
je 0x41a4a8
mov dword [ebp - 0x54], 9
mov dword [ebp - 0x44], 0x13
jmp 0x41aad1
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453e50
movzx edx, al
test edx, edx
je 0x41a4e2
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 0
jne 0x41a4e2
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 4
mov dword [ebp - 0x44], 0
jmp 0x41aad1
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453fb0
movzx edx, al
test edx, edx
je 0x41a846
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x11e8], 0
jne 0x41a58e
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0044e9d0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41a52b
mov dword [ebp - 0x80], 0
jmp 0x41a583
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 0x41a54f
mov dword [ebp - 0x74], 0
jmp 0x41a57d
mov eax, dword [ebp - 0x48]
shl eax, 1
call fcn.004e13c0
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 0x41a61e
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.0044e9d0
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41a5c0
mov dword [ebp - 0x64], 0
jmp 0x41a618
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 0x41a5e4
mov dword [ebp - 0x7c], 0
jmp 0x41a612
mov eax, dword [ebp - 0x48]
shl eax, 1
call fcn.004e13c0
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.004540d0
movzx eax, al
test eax, eax
je 0x41a82d
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044f650
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00415810
test eax, eax
jne 0x41a75b
mov edx, dword [ebp - 0x40]
movzx eax, byte [edx + 0x4b0]
test eax, eax
jne 0x41a75b
push 0x505ab8
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.00436cc0
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 0x41a7ee
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x1644], 1
mov ecx, dword [ebp - 0x40]
call fcn.00428140
movzx eax, al
test eax, eax
je 0x41a7d5
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 0x41a7d5
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + 0x180]
call edx
jmp 0x41a7ec
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044fb00
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], eax
jmp 0x41a815
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x1644], 0
push 1
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044fb50
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 0x41a841
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 3
mov dword [ebp - 0x44], 0x30
jmp 0x41aad1
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 0xf
jne 0x41a880
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453f70
movzx eax, al
test eax, eax
je 0x41a880
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 3
mov dword [ebp - 0x44], 0
jmp 0x41aad1
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 0
jne 0x41a899
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc8], 1
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xec], 0
je 0x41aad1
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.00453e80
movzx edx, al
test edx, edx
je 0x41a8f5
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 1
jne 0x41a8f5
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x11e4], 0
je 0x41a964
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.0045c120
mov edx, dword [ebp - 0x40]
add edx, 0x26e
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xec]
call fcn.0045b6e0
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.0045c120
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x41a962
mov ecx, dword [ebp - 0x54]
xor ecx, dword [ebp - 0x60]
xor ecx, dword [ebp - 0x70]
not ecx
mov dword [ebp - 0x5c], ecx
jmp 0x41a96b
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 8
jne 0x41a984
cmp dword [ebp - 0x54], 0
jne 0x41a984
mov dword [ebp - 0x54], 9
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x23
ja case.0x41a99e.3
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ecx + 0x41abcc]
jmp dword [edx*4 + 0x41abac]
cmp dword [ebp - 0x5c], 0
jne 0x41a9d1
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.00453df0
jmp 0x41a9de
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 5
jmp 0x41aad1
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 1
mov ecx, dword [ebp - 0x40]
call fcn.004255d0
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x41aa0e
mov dword [ebp - 0x44], 0
jmp 0x41aad1
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.00453f70
movzx ecx, al
test ecx, ecx
je 0x41aa5a
mov ecx, dword [ebp - 0x40]
call fcn.004255d0
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x41aa5a
mov dword [ebp - 0x44], 0
jmp 0x41aad1
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00453e80
movzx edx, al
test edx, edx
je 0x41aa93
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x11e4], 0
jne 0x41aa93
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 1
mov dword [ebp - 0x44], 0
jmp 0x41aa9a
mov dword [ebp - 0x44], 1
jmp 0x41aad1
mov dword [ebp - 0x44], 0x13
jmp 0x41aad1
mov dword [ebp - 0x44], 0x14
jmp 0x41aad1
mov dword [ebp - 0x44], 0x26
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 0xffffffff
jmp 0x41aad1
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 0x41ab3d
mov dword [ebp - 4], 0
jmp 0x41ab4d
cmp dword [ebp - 0x58], 0
je 0x41ab67
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.004459d0
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.004e134c
mov esp, ebp
pop ebp
ret 0x10