Function at 0x419000
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2b80
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xe8
mov eax, dword [0x56f734]
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 0x502d3c
lea ecx, [ebp - 0x3c]
call fcn.00440bd0
mov dword [ebp - 4], 0
call fcn.00405870
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 0x419093
mov dword [ebp - 0xbc], 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00440c90
mov eax, dword [ebp - 0xbc]
jmp 0x419875
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 0x10
jne 0x4190c3
mov dword [ebp - 0x84], 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00440c90
mov eax, dword [ebp - 0x84]
jmp 0x419875
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 3
je 0x4190e7
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 2
je 0x4190e7
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xc8], 4
jne 0x4190f4
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.0044ea80
and eax, 4
je 0x419118
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 0x419170
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.0044f310
movzx ecx, al
test ecx, ecx
je 0x419198
mov dword [ebp - 0x54], 9
mov dword [ebp - 0x44], 0x13
jmp 0x4197c1
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0044f280
movzx edx, al
test edx, edx
je 0x4191d2
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 0
jne 0x4191d2
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 4
mov dword [ebp - 0x44], 0
jmp 0x4197c1
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0044f3e0
movzx edx, al
test edx, edx
je 0x419536
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x11e8], 0
jne 0x41927e
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.00449e20
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x41921b
mov dword [ebp - 0x80], 0
jmp 0x419273
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 0x41923f
mov dword [ebp - 0x74], 0
jmp 0x41926d
mov eax, dword [ebp - 0x48]
shl eax, 1
call fcn.004dfa20
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.00416c20
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 0x41930e
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.00449e20
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x4192b0
mov dword [ebp - 0x64], 0
jmp 0x419308
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 0x4192d4
mov dword [ebp - 0x7c], 0
jmp 0x419302
mov eax, dword [ebp - 0x48]
shl eax, 1
call fcn.004dfa20
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.00416c20
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.0044f500
movzx eax, al
test eax, eax
je 0x41951d
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044aaa0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.004147e0
test eax, eax
jne 0x41944b
mov edx, dword [ebp - 0x40]
movzx eax, byte [edx + 0x4b0]
test eax, eax
jne 0x41944b
push 0x502e10
lea ecx, [ebp - 0xd4]
call fcn.00414370
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.004147c0
push eax
lea edx, [ebp - 0xf8]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x1310
call fcn.00431f40
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.004146e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf8]
call fcn.004142e0
push str.ProfileGuid
lea ecx, [ebp - 0xd4]
call fcn.004147c0
push eax
push SysStringLen
lea edx, [ebp - 0xec]
push edx
call fcn.004099d0
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.004145d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
call fcn.004142e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.004142e0
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0xb0]
call fcn.00414db0
test eax, eax
jne 0x4194de
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x1644], 1
mov ecx, dword [ebp - 0x40]
call fcn.00426a10
movzx eax, al
test eax, eax
je 0x4194c5
push 0
push 1
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xb0]
call fcn.004147c0
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 0x4194c5
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + 0x180]
call edx
jmp 0x4194dc
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044af50
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], eax
jmp 0x419505
mov edx, dword [ebp - 0x40]
mov byte [edx + 0x1644], 0
push 1
mov ecx, dword [ebp - 0x40]
add ecx, 0x4a8
call fcn.0044afa0
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.004142e0
jmp 0x419531
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 3
mov dword [ebp - 0x44], 0x30
jmp 0x4197c1
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 0xf
jne 0x419570
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0044f3a0
movzx eax, al
test eax, eax
je 0x419570
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 3
mov dword [ebp - 0x44], 0
jmp 0x4197c1
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 0
jne 0x419589
mov eax, dword [ebp - 0x40]
mov dword [eax + 0xc8], 1
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0xec], 0
je 0x4197c1
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.0044f2b0
movzx edx, al
test edx, edx
je 0x4195e5
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0xc8], 1
jne 0x4195e5
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x11e4], 0
je 0x419654
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.00457510
mov edx, dword [ebp - 0x40]
add edx, 0x26e
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xec]
call fcn.00456ad0
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.00457510
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0xffffffff
je 0x419652
mov ecx, dword [ebp - 0x54]
xor ecx, dword [ebp - 0x60]
xor ecx, dword [ebp - 0x70]
not ecx
mov dword [ebp - 0x5c], ecx
jmp 0x41965b
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 0x40]
cmp dword [edx + 0xc8], 8
jne 0x419674
cmp dword [ebp - 0x54], 0
jne 0x419674
mov dword [ebp - 0x54], 9
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x23
ja case.0x41968e.3
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ecx + 0x4198bc]
jmp dword [edx*4 + 0x41989c]
cmp dword [ebp - 0x5c], 0
jne 0x4196c1
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.0044f220
jmp 0x4196ce
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 5
jmp 0x4197c1
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 1
mov ecx, dword [ebp - 0x40]
call fcn.00424160
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x4196fe
mov dword [ebp - 0x44], 0
jmp 0x4197c1
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.0044f3a0
movzx ecx, al
test ecx, ecx
je 0x41974a
mov ecx, dword [ebp - 0x40]
call fcn.00424160
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x41974a
mov dword [ebp - 0x44], 0
jmp 0x4197c1
mov ecx, dword [ebp - 0x40]
add ecx, 0x148
call fcn.0044f2b0
movzx edx, al
test edx, edx
je 0x419783
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x11e4], 0
jne 0x419783
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 0xc0], 1
mov dword [ebp - 0x44], 0
jmp 0x41978a
mov dword [ebp - 0x44], 1
jmp 0x4197c1
mov dword [ebp - 0x44], 0x13
jmp 0x4197c1
mov dword [ebp - 0x44], 0x14
jmp 0x4197c1
mov dword [ebp - 0x44], 0x26
mov edx, dword [ebp - 0x40]
mov dword [edx + 0xc0], 0xffffffff
jmp 0x4197c1
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 0x41982d
mov dword [ebp - 4], 0
jmp 0x41983d
cmp dword [ebp - 0x58], 0
je 0x419857
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.00440c90
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.004df9ac
mov esp, ebp
pop ebp
ret 0x10