Function at 0x40e1f0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x449e53
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x45e764]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e764]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
push str.CKSetup32Running
xor ebp, ebp
push ebp
push 0x1f0001
call esi
push str.CKSetup64Running
push ebp
mov edi, eax
push 0x1f0001
mov dword [esp + 0x2c], edi
call esi
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp edi, ebp
jne 0x40e279
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x40e279
cmp ebx, ebp
jne 0x40e279
call esi
cmp eax, 2
je 0x40e5a3
lea eax, [esp + 0x24]
push eax
call fcn.0040e030
mov dword [esp + 0xc0], ebp
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x4c], 0
xor eax, eax
push 0x14
mov dword [esp + 0x6a], eax
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], eax
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], eax
mov dword [esp + 0x7e], eax
mov dword [esp + 0x82], eax
mov dword [esp + 0x86], eax
mov dword [esp + 0x8a], eax
mov word [esp + 0x8e], ax
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov dword [esp + 0xb2], eax
mov word [esp + 0xb6], ax
lea eax, [esp + 0x68]
xor ecx, ecx
xor edx, edx
push str.CKSetup32Running
push eax
mov byte [esp + 0xcc], 1
mov word [esp + 0x70], cx
mov word [esp + 0x98], dx
call fcn.00435097
push 0x14
lea ecx, [esp + 0x9c]
push str.CKSetup64Running
push ecx
call fcn.00435097
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
mov esi, dword [esp + 0x40]
mov ebp, eax
add esp, 0x1c
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
mov edi, edi
mov edi, dword [esp + 0x3c]
test esi, esi
je 0x40e37e
cmp esi, dword [esp + 0x24]
je 0x40e383
call fcn.0043442e
cmp ebp, edi
je 0x40e552
test esi, esi
jne 0x40e3e9
call fcn.0043442e
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40e3a0
call fcn.0043442e
mov ebx, dword [ebp + 0xc]
test esi, esi
jne 0x40e3ed
call fcn.0043442e
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40e3b8
call fcn.0043442e
push 0xffffffffffffffff
push 0
lea edi, [ebp + 0x10]
push edi
lea ecx, [esp + 0x50]
call fcn.00405610
test esi, esi
jne 0x40e3f1
call fcn.0043442e
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40e3de
call fcn.0043442e
cmp dword [edi + 0x18], 0x10
jb 0x40e3f5
mov eax, dword [edi + 4]
jmp 0x40e3f8
mov eax, dword [esi]
jmp 0x40e396
mov eax, dword [esi]
jmp 0x40e3ae
mov eax, dword [esi]
jmp 0x40e3d4
lea eax, [edi + 4]
push 0x44e620
push eax
call fcn.00434e70
add esp, 8
test eax, eax
jne 0x40e443
test esi, esi
jne 0x40e42a
call fcn.0043442e
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40e41f
call fcn.0043442e
cmp dword [edi + 0x18], 0x10
jb 0x40e42e
mov eax, dword [edi + 4]
jmp 0x40e431
mov eax, dword [esi]
jmp 0x40e415
lea eax, [edi + 4]
push str.CKSetup
push eax
call fcn.00434e70
add esp, 8
test eax, eax
je 0x40e486
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x40e452
lea eax, [esp + 0x48]
push eax
push ebx
push str.processId_:__d__processName_:__ls_n
call fcn.004339e9
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
je 0x40e486
lea eax, [esp + 0x60]
push eax
push ebx
call fcn.004023a0
add esp, 8
test eax, eax
jne 0x40e486
push ebx
call fcn.00411a70
add esp, 4
test esi, esi
jne 0x40e4a6
call fcn.0043442e
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40e49b
call fcn.0043442e
cmp dword [edi + 0x18], 0x10
jb 0x40e4aa
mov eax, dword [edi + 4]
jmp 0x40e4ad
mov eax, dword [esi]
jmp 0x40e491
lea eax, [edi + 4]
push 0x44e5f0
push eax
call fcn.00434e70
add esp, 8
test eax, eax
jne 0x40e4f6
test esi, esi
jne 0x40e4dd
call fcn.0043442e
cmp ebp, dword [esi + 0x18]
jne 0x40e4d2
call fcn.0043442e
cmp dword [edi + 0x18], 0x10
jb 0x40e4e1
mov edi, dword [edi + 4]
jmp 0x40e4e4
mov esi, dword [esi]
jmp 0x40e4c8
add edi, 4
push str.CKSetup
push edi
call fcn.00434e70
add esp, 8
test eax, eax
je 0x40e53c
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x40e505
lea eax, [esp + 0x48]
push eax
push ebx
push str.processId_:__d__processName_:__ls_n
call fcn.004339e9
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebx, eax
je 0x40e53c
lea ecx, [esp + 0x88]
push ecx
push ebx
call fcn.004023a0
add esp, 8
test eax, eax
jne 0x40e53c
push ebx
call fcn.00411a70
add esp, 4
lea ecx, [esp + 0x14]
call fcn.00403b50
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
jmp 0x40e370
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
cmp dword [esp + 0x5c], 0x10
jb 0x40e57a
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00414d99
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0xbc], 0xffffffff
call fcn.0040d8b0
xor eax, eax
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00432ccc
add esp, 0xac
ret