Function at 0x4cf200
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov ebx, eax
push 1
lea eax, [ebp - 0x20]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
mov dword [ebp - 0xc], 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x510b9c]
call fcn.0040432c
push eax
push 0x400
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x5144b0], eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x4cf387
mov eax, dword [0x510b9c]
call fcn.0040432c
push eax
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x5144b0], eax
cmp dword [0x5144b0], 0
jne 0x4cf2a8
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov al, 0x3a
call fcn.004c5d98
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x5144b0]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x5144c8], eax
cmp dword [0x5144c8], 0
jne 0x4cf2e4
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov al, 0x3a
call fcn.004c5d98
mov eax, dword [0x5144c8]
add eax, 0x400
sub eax, 4
mov dword [0x5144cc], eax
mov eax, dword [0x5144cc]
sub eax, 4
mov dword [0x5144d0], eax
mov eax, dword [0x5144d0]
sub eax, 4
mov dword [0x5144d4], eax
mov eax, dword [0x5144d4]
sub eax, 8
mov dword [0x5144dc], eax
mov eax, dword [0x5144dc]
sub eax, 4
mov dword [0x5144d8], eax
mov eax, dword [0x510b98]
call fcn.0040432c
push eax
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov dword [0x5144b4], eax
mov eax, 2
call fcn.004cf164
mov dword [0x5144b8], eax
mov eax, 3
call fcn.004cf164
mov dword [0x5144bc], eax
mov eax, 4
call fcn.004cf164
mov dword [0x5144c0], eax
mov eax, 5
call fcn.004cf164
mov dword [0x5144c4], eax
jmp 0x4cf46a
mov eax, dword [0x510b98]
call fcn.0040432c
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_CreateMutexA
mov dword [0x5144b4], eax
push ebp
xor edx, edx
mov eax, 2
call fcn.004cf1ac
pop ecx
mov dword [0x5144b8], eax
push ebp
mov dl, 1
mov eax, 3
call fcn.004cf1ac
pop ecx
mov dword [0x5144bc], eax
push ebp
xor edx, edx
mov eax, 4
call fcn.004cf1ac
pop ecx
mov dword [0x5144c0], eax
push ebp
xor edx, edx
mov eax, 5
call fcn.004cf1ac
pop ecx
mov dword [0x5144c4], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x5144b0]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x5144c8], eax
mov eax, dword [0x5144c8]
add eax, 0x400
sub eax, 4
mov dword [0x5144cc], eax
mov eax, dword [0x5144cc]
sub eax, 4
mov dword [0x5144d0], eax
mov eax, dword [0x5144d0]
sub eax, 4
mov dword [0x5144d4], eax
mov eax, dword [0x5144d4]
sub eax, 8
mov dword [0x5144dc], eax
mov eax, dword [0x5144dc]
sub eax, 4
mov dword [0x5144d8], eax
mov eax, dword [0x5144cc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5144d0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5144d8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5144cc]
cmp dword [eax], 0
jge 0x4cf47d
mov eax, dword [0x5144cc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x5144d0]
cmp dword [eax], 0
jge 0x4cf490
mov eax, dword [0x5144d0]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0xf], 1
pop ebx
mov esp, ebp
pop ebp
ret