Function at 0x48fff0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x60
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x18
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x40], 0
mov ecx, 0x566250
call fcn.00529bc0
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 0
jmp 0x4900ce
push dword [ebp - 0x48]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x566250
call fcn.00529d40
cmp dword [ebp - 0x1c], 0x5242506c
jne 0x4900cb
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movsx edx, byte [eax]
mov dword [ebp - 0x54], edx
push 0x10
call fcn.00487050
pop ecx
cmp eax, 0
je 0x490075
mov dword [eax + 8], 0
mov eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x54]
add edx, 0xffffffff
mov eax, dword [ebp - 0x40]
mov dword [eax], edx
mov edx, dword [ebp - 0x54]
add edx, 1
add edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x40]
mov dword [eax + 4], edx
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
add eax, 1
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 8
call fcn.0040cb20
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
je 0x4900cb
mov eax, dword [ebp - 0x40]
mov ebx, dword [eax + 8]
mov edx, dword [0x5494fc]
mov dword [ebx + 0x10], edx
inc dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x48], eax
jl 0x49002c
cmp dword [ebp - 0x40], 0
je 0x490145
push 8
call fcn.00487050
pop ecx
cmp eax, 0
je 0x490142
mov esi, eax
mov dword [ebp - 0x3c], 0
push 0x5657b7
call fcn.0040e8d0
pop ecx
push eax
push 0x5657b7
lea ecx, [ebp - 0x3c]
call fcn.0040cb20
cmp dword [ebp - 0x3c], 0
je 0x490121
mov ebx, dword [ebp - 0x3c]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.00439650
cmp dword [ebp - 0x3c], 0
je 0x49013a
mov ecx, dword [ebp - 0x3c]
call fcn.0040c8f0
mov dword [esi], 0x565dd0
mov eax, esi
mov dword [ebp - 0x20], eax
push str.REALBASIC_MUTEX
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x490172
push 0xfa0
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.0048fbc0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], 1
cmp dword [ebp - 0x5c], 0
je 0x490248
jmp 0x49023e
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 8]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x4901a1
mov edx, dword [ebp - 0x38]
inc dword [edx]
push 0x40
lea eax, [ebp - 0x38]
push eax
mov edx, dword [ebp - 0x5c]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0xcc]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x38], 0
je 0x4901c7
mov ecx, dword [ebp - 0x38]
call fcn.0040c8f0
cmp dword [ebp - 0x64], 0
je 0x4901ec
mov eax, dword [ebp - 0x40]
push dword [eax]
mov eax, dword [ebp - 0x40]
push dword [eax + 4]
push dword [ebp - 0x64]
call fcn.0048fde0
add esp, 0xc
mov byte [ebp - 0x5d], al
cmp byte [ebp - 0x5d], 0
je 0x490248
push 0
push dword [ebp - 0x64]
call fcn.0048fa10
pop ecx
pop ecx
mov edx, dword [ebp - 0x64]
cmp edx, 0
je 0x49020c
push 1
mov edx, edx
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x40], 0
je 0x490238
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
je 0x49022f
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
call fcn.0040c8f0
push dword [ebp - 0x40]
call fcn.00487090
pop ecx
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x49018d
cmp byte [ebp - 0x5d], 0
jne 0x490279
push 0x10
push 0
push str.The_application_cannot_continue_because_a_needed_file_cannot_be_installed._You_dont_have_appropriate_permission_to_install_the_file.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call fcn.0048f950
pop ecx
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret