Function at 0x41fa80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6529f3
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xe8
mov eax, dword [0x750990]
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 0x687064
lea ecx, [ebp - 0x3c]
call fcn.0043f3a0
mov dword [ebp - 4], 0
call fcn.00408f00
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 0x41fb13
mov dword [ebp - 0xbc], 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0043f460
mov eax, dword [ebp - 0xbc]
jmp 0x420335
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 0x10
jne 0x41fb43
mov dword [ebp - 0x84], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0043f460
mov eax, dword [ebp - 0x84]
jmp 0x420335
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 3
je 0x41fb67
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 2
je 0x41fb67
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 4
jne 0x41fb74
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.0045ac20
and eax, 4
je 0x41fb98
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 0x41fbf0
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.0045b4c0
movzx ecx, al
test ecx, ecx
je 0x41fc18
mov dword [ebp - 0x54], 9
mov dword [ebp - 0x44], 0x13
jmp 0x420281
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0045b430
movzx edx, al
test edx, edx
je 0x41fc52
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 0
jne 0x41fc52
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 4
mov dword [ebp - 0x44], 0
jmp 0x420281
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0045b590
movzx edx, al
test edx, edx
je 0x41ffb6
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x11e8], 0
jne 0x41fcfe
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00456040
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41fc9b
mov dword [ebp - 0x80], 0
jmp 0x41fcf3
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00631b50
add esp, 4
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x3fffffff
jle 0x41fcbf
mov dword [ebp - 0x74], 0
jmp 0x41fced
mov eax, dword [ebp - 0x48]
shl eax, 1
call fcn.0062f6a0
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.0041d300
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 0x41fd8e
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.00456040
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41fd30
mov dword [ebp - 0x64], 0
jmp 0x41fd88
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00631b50
add esp, 4
add eax, 1
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x3fffffff
jle 0x41fd54
mov dword [ebp - 0x7c], 0
jmp 0x41fd82
mov eax, dword [ebp - 0x48]
shl eax, 1
call fcn.0062f6a0
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.0041d300
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.0045b6b0
movzx eax, al
test eax, eax
je 0x41ff9d
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.00456cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.0041ae90
test eax, eax
jne 0x41fecb
mov edx, dword [ebp - 0x40]
movzx eax, byte [edx + 0x4b0]
test eax, eax
jne 0x41fecb
push str..DEFAULT_
lea ecx, [ebp - 0xd4]
call fcn.0041aa50
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.0041ae70
push eax
lea edx, [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x1328
call fcn.0043d210
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.0041ada0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf8]
call fcn.0041a9d0
push str.ProfileGuid
lea ecx, [ebp - 0xd4]
call fcn.0041ae70
push eax
push SysReAllocStringLen
lea edx, [ebp - 0xec]
push edx
call fcn.0040e270
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.0041aca0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
call fcn.0041a9d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.0041a9d0
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0xb0]
call fcn.0041b380
test eax, eax
jne 0x41ff5e
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x165c], 1
mov ecx, dword [ebp - 0x40]
call fcn.0042dad0
movzx eax, al
test eax, eax
je 0x41ff45
push 0
push 1
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xb0]
call fcn.0041ae70
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 0x41ff45
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + 0x180]
call edx
jmp 0x41ff5c
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.00457160
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], eax
jmp 0x41ff85
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x165c], 0
push 1
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.004571b0
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.0041a9d0
jmp 0x41ffb1
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 3
mov dword [ebp - 0x44], 0x30
jmp 0x420281
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 0xf
jne 0x41fff0
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0045b550
movzx eax, al
test eax, eax
je 0x41fff0
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 3
mov dword [ebp - 0x44], 0
jmp 0x420281
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0045b460
movzx edx, al
test edx, edx
je 0x420031
mov ecx, dword [ebp - 0x40]
add ecx, 0x344
call fcn.004559a0
cmp eax, 4
jne 0x420031
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc0], 1
mov dword [ebp - 0x44], 0
jmp 0x420281
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 0
jne 0x42004a
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc8], 1
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xec], 0
je 0x420281
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.0045b460
movzx ecx, al
test ecx, ecx
je 0x4200a6
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 1
jne 0x4200a6
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x11e4], 0
je 0x420114
mov ecx, dword [ebp - 0x40]
add ecx, 0x26e
push ecx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xec]
call fcn.004636b0
mov ecx, dword [ebp - 0x40]
add ecx, 0x26e
push ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0xec]
call fcn.00462c70
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
add eax, 0x26e
push eax
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0xec]
call fcn.004636b0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x420112
mov eax, dword [ebp - 0x54]
xor eax, dword [ebp - 0x60]
xor eax, dword [ebp - 0x70]
not eax
mov dword [ebp - 0x5c], eax
jmp 0x42011b
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 8
jne 0x420134
cmp dword [ebp - 0x54], 0
jne 0x420134
mov dword [ebp - 0x54], 9
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x78], 0x23
ja case.0x42014e.3
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 0x42037c]
jmp dword [ecx*4 + 0x42035c]
cmp dword [ebp - 0x5c], 0
jne 0x420181
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 4
push 1
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0045b3d0
jmp 0x42018e
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc0], 5
jmp 0x420281
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 1
mov ecx, dword [ebp - 0x40]
call fcn.0042af80
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4201be
mov dword [ebp - 0x44], 0
jmp 0x420281
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 1
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0045b550
movzx eax, al
test eax, eax
je 0x42020a
mov ecx, dword [ebp - 0x40]
call fcn.0042af80
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x42020a
mov dword [ebp - 0x44], 0
jmp 0x420281
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0045b460
movzx ecx, al
test ecx, ecx
je 0x420243
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0x11e4], 0
jne 0x420243
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc0], 1
mov dword [ebp - 0x44], 0
jmp 0x42024a
mov dword [ebp - 0x44], 1
jmp 0x420281
mov dword [ebp - 0x44], 0x13
jmp 0x420281
mov dword [ebp - 0x44], 0x14
jmp 0x420281
mov dword [ebp - 0x44], 0x26
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 0xffffffff
jmp 0x420281
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 1
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0xc0]
mov dword [eax + 0xc4], edx
jmp 0x4202ed
mov dword [ebp - 4], 0
jmp 0x4202fd
cmp dword [ebp - 0x58], 0
je 0x420317
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0043f460
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.0062dc28
mov esp, ebp
pop ebp
ret 0x10