Function at 0x4d2bfc
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 [0x630afc]
call fcn.00405298
push eax
push 0x400
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x634e18], eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x4d2d83
mov eax, dword [0x630afc]
call fcn.00405298
push eax
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x634e18], eax
cmp dword [0x634e18], 0
jne 0x4d2ca4
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.004cd068
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x634e18]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x634e30], eax
cmp dword [0x634e30], 0
jne 0x4d2ce0
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.004cd068
mov eax, dword [0x634e30]
add eax, 0x400
sub eax, 4
mov dword [0x634e34], eax
mov eax, dword [0x634e34]
sub eax, 4
mov dword [0x634e38], eax
mov eax, dword [0x634e38]
sub eax, 4
mov dword [0x634e3c], eax
mov eax, dword [0x634e3c]
sub eax, 8
mov dword [0x634e44], eax
mov eax, dword [0x634e44]
sub eax, 4
mov dword [0x634e40], eax
mov eax, dword [0x630af8]
call fcn.00405298
push eax
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov dword [0x634e1c], eax
mov eax, 2
call fcn.004d2b60
mov dword [0x634e20], eax
mov eax, 3
call fcn.004d2b60
mov dword [0x634e24], eax
mov eax, 4
call fcn.004d2b60
mov dword [0x634e28], eax
mov eax, 5
call fcn.004d2b60
mov dword [0x634e2c], eax
jmp 0x4d2e66
mov eax, dword [0x630af8]
call fcn.00405298
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004075f4
mov dword [0x634e1c], eax
push ebp
xor edx, edx
mov eax, 2
call fcn.004d2ba8
pop ecx
mov dword [0x634e20], eax
push ebp
mov dl, 1
mov eax, 3
call fcn.004d2ba8
pop ecx
mov dword [0x634e24], eax
push ebp
xor edx, edx
mov eax, 4
call fcn.004d2ba8
pop ecx
mov dword [0x634e28], eax
push ebp
xor edx, edx
mov eax, 5
call fcn.004d2ba8
pop ecx
mov dword [0x634e2c], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x634e18]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x634e30], eax
mov eax, dword [0x634e30]
add eax, 0x400
sub eax, 4
mov dword [0x634e34], eax
mov eax, dword [0x634e34]
sub eax, 4
mov dword [0x634e38], eax
mov eax, dword [0x634e38]
sub eax, 4
mov dword [0x634e3c], eax
mov eax, dword [0x634e3c]
sub eax, 8
mov dword [0x634e44], eax
mov eax, dword [0x634e44]
sub eax, 4
mov dword [0x634e40], eax
mov eax, dword [0x634e34]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x634e38]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x634e40]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x634e34]
cmp dword [eax], 0
jge 0x4d2e79
mov eax, dword [0x634e34]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x634e38]
cmp dword [eax], 0
jge 0x4d2e8c
mov eax, dword [0x634e38]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0xf], 1
pop ebx
mov esp, ebp
pop ebp
ret