Function at 0x48b318
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 [0x4eb3e4]
call fcn.004046c4
push eax
push 0x400
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x4efc78], eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x48b49f
mov eax, dword [0x4eb3e4]
call fcn.004046c4
push eax
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x4efc78], eax
cmp dword [0x4efc78], 0
jne 0x48b3c0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov al, 0x3a
call fcn.0049003c
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x4efc78]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4efc90], eax
cmp dword [0x4efc90], 0
jne 0x48b3fc
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov al, 0x3a
call fcn.0049003c
mov eax, dword [0x4efc90]
add eax, 0x400
sub eax, 4
mov dword [0x4efc94], eax
mov eax, dword [0x4efc94]
sub eax, 4
mov dword [0x4efc98], eax
mov eax, dword [0x4efc98]
sub eax, 4
mov dword [0x4efc9c], eax
mov eax, dword [0x4efc9c]
sub eax, 8
mov dword [0x4efca4], eax
mov eax, dword [0x4efca4]
sub eax, 4
mov dword [0x4efca0], eax
mov eax, dword [0x4eb3e0]
call fcn.004046c4
push eax
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov dword [0x4efc7c], eax
mov eax, 2
call fcn.0048b27c
mov dword [0x4efc80], eax
mov eax, 3
call fcn.0048b27c
mov dword [0x4efc84], eax
mov eax, 4
call fcn.0048b27c
mov dword [0x4efc88], eax
mov eax, 5
call fcn.0048b27c
mov dword [0x4efc8c], eax
jmp 0x48b582
mov eax, dword [0x4eb3e0]
call fcn.004046c4
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004067ac
mov dword [0x4efc7c], eax
push ebp
xor edx, edx
mov eax, 2
call fcn.0048b2c4
pop ecx
mov dword [0x4efc80], eax
push ebp
mov dl, 1
mov eax, 3
call fcn.0048b2c4
pop ecx
mov dword [0x4efc84], eax
push ebp
xor edx, edx
mov eax, 4
call fcn.0048b2c4
pop ecx
mov dword [0x4efc88], eax
push ebp
xor edx, edx
mov eax, 5
call fcn.0048b2c4
pop ecx
mov dword [0x4efc8c], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x4efc78]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x4efc90], eax
mov eax, dword [0x4efc90]
add eax, 0x400
sub eax, 4
mov dword [0x4efc94], eax
mov eax, dword [0x4efc94]
sub eax, 4
mov dword [0x4efc98], eax
mov eax, dword [0x4efc98]
sub eax, 4
mov dword [0x4efc9c], eax
mov eax, dword [0x4efc9c]
sub eax, 8
mov dword [0x4efca4], eax
mov eax, dword [0x4efca4]
sub eax, 4
mov dword [0x4efca0], eax
mov eax, dword [0x4efc94]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4efc98]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4efca0]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4efc94]
cmp dword [eax], 0
jge 0x48b595
mov eax, dword [0x4efc94]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x4efc98]
cmp dword [eax], 0
jge 0x48b5a8
mov eax, dword [0x4efc98]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0xf], 1
pop ebx
mov esp, ebp
pop ebp
ret