Function at 0x47e8a8
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 [0x48b628]
call fcn.00404ac0
push eax
push 0x400
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [0x48cd74], eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
jne 0x47ea2f
mov eax, dword [0x48b628]
call fcn.00404ac0
push eax
push 0
push 0xf001f
call sub.kernel32.dll_OpenFileMappingA
mov dword [0x48cd74], eax
cmp dword [0x48cd74], 0
jne 0x47e950
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.0047bc38
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x48cd74]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x48cd8c], eax
cmp dword [0x48cd8c], 0
jne 0x47e98c
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.0047bc38
mov eax, dword [0x48cd8c]
add eax, 0x400
sub eax, 4
mov dword [0x48cd90], eax
mov eax, dword [0x48cd90]
sub eax, 4
mov dword [0x48cd94], eax
mov eax, dword [0x48cd94]
sub eax, 4
mov dword [0x48cd98], eax
mov eax, dword [0x48cd98]
sub eax, 8
mov dword [0x48cda0], eax
mov eax, dword [0x48cda0]
sub eax, 4
mov dword [0x48cd9c], eax
mov eax, dword [0x48b624]
call fcn.00404ac0
push eax
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov dword [0x48cd78], eax
mov eax, 2
call fcn.0047e80c
mov dword [0x48cd7c], eax
mov eax, 3
call fcn.0047e80c
mov dword [0x48cd80], eax
mov eax, 4
call fcn.0047e80c
mov dword [0x48cd84], eax
mov eax, 5
call fcn.0047e80c
mov dword [0x48cd88], eax
jmp 0x47eb12
mov eax, dword [0x48b624]
call fcn.00404ac0
push eax
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.00406c64
mov dword [0x48cd78], eax
push ebp
xor edx, edx
mov eax, 2
call fcn.0047e854
pop ecx
mov dword [0x48cd7c], eax
push ebp
mov dl, 1
mov eax, 3
call fcn.0047e854
pop ecx
mov dword [0x48cd80], eax
push ebp
xor edx, edx
mov eax, 4
call fcn.0047e854
pop ecx
mov dword [0x48cd84], eax
push ebp
xor edx, edx
mov eax, 5
call fcn.0047e854
pop ecx
mov dword [0x48cd88], eax
push 0
push 0
push 0
push 0xf001f
mov eax, dword [0x48cd74]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [0x48cd8c], eax
mov eax, dword [0x48cd8c]
add eax, 0x400
sub eax, 4
mov dword [0x48cd90], eax
mov eax, dword [0x48cd90]
sub eax, 4
mov dword [0x48cd94], eax
mov eax, dword [0x48cd94]
sub eax, 4
mov dword [0x48cd98], eax
mov eax, dword [0x48cd98]
sub eax, 8
mov dword [0x48cda0], eax
mov eax, dword [0x48cda0]
sub eax, 4
mov dword [0x48cd9c], eax
mov eax, dword [0x48cd90]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x48cd94]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x48cd9c]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x48cd90]
cmp dword [eax], 0
jge 0x47eb25
mov eax, dword [0x48cd90]
xor edx, edx
mov dword [eax], edx
mov eax, dword [0x48cd94]
cmp dword [eax], 0
jge 0x47eb38
mov eax, dword [0x48cd94]
xor edx, edx
mov dword [eax], edx
mov byte [ebx + 0xf], 1
pop ebx
mov esp, ebp
pop ebp
ret