Function at 0x4ec440
Capabilities:
Check mutex on windows
Check os version

Disassembly:
sub esp, 0xbc
mov eax, dword [0x56a8e0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x298], 0
push edi
mov dword [esp + 0x10], esi
jl 0x4ec47b
push 0x56e3c0
mov ecx, 0x5743a1
mov ebx, esi
call fcn.004e2040
add esp, 4
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 1
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x1c], 0xc
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4ec4c9
push 0
push 0
push 1
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4ec4c9
lea edx, [esp + 0x20]
mov dword [esp + 0x18], edx
lea ebx, [esp + 0x14]
jmp 0x4ec4cb
xor ebx, ebx
push 0xc
call fcn.00494940
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4ec516
call fcn.00499e50
mov eax, dword [eax]
push eax
push str.zV_d
lea edi, [esi + 0x18]
call fcn.004ddcb0
add esp, 8
cmp dword [esi + 0x298], ebp
jl 0x4ec50f
push 0x56e3cc
mov ecx, 0x5743a1
mov ebx, esi
call fcn.004e2040
add esp, 4
xor eax, eax
jmp 0x4ec6fc
xor eax, eax
push 0x94
mov dword [ebp], eax
push eax
lea ecx, [esp + 0x3c]
mov dword [ebp + 4], eax
push ecx
mov dword [ebp + 8], eax
call fcn.004948b0
add esp, 0xc
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4ec591
cmp dword [esp + 0x38], 5
jb 0x4ec591
mov eax, dword [str.PV03_AS_001]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ec560
sub eax, edx
add eax, 0xd
push eax
call fcn.00494940
mov dword [ebp], eax
mov ecx, dword [str.Globalclp.]
mov dword [eax], ecx
mov edx, dword [0x56e3d4]
mov dword [eax + 4], edx
mov ecx, dword [0x56e3d8]
mov dword [eax + 8], ecx
jmp 0x4ec5c6
mov eax, dword [str.PV03_AS_001]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ec5a0
sub eax, edx
add eax, 6
push eax
call fcn.00494940
mov dword [ebp], eax
mov edx, dword [str.clp.]
mov dword [eax], edx
mov cl, byte [0x56e3e0]
mov byte [eax + 4], cl
mov eax, dword [str.PV03_AS_001]
add esp, 4
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ec5d0
mov edi, dword [ebp]
sub eax, esi
dec edi
lea ecx, [ecx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4ec5e0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp]
push edx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 4], eax
call edi
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x4ec639
mov ebx, dword [esp + 0x10]
push eax
push str.zW_ld
lea edi, [ebx + 0x18]
mov dword [ebx + 8], eax
mov dword [ebx + 4], 0x16
call fcn.004ddcb0
add esp, 8
jmp 0x4ec6ce
cmp eax, 0xb7
jne 0x4ec647
mov dword [ebp + 8], 1
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push ecx
call ebx
mov esi, eax
call edi
cmp esi, 0x102
ja 0x4ec676
mov edi, edi
jne 0x4ec69d
mov eax, dword [ebp + 4]
push 0xffffffffffffffff
push eax
call ebx
mov esi, eax
call edi
cmp esi, 0x102
jbe 0x4ec65e
cmp esi, 0xffffffff
je 0x4ec6ab
mov ecx, dword [esp + 0x10]
push eax
push esi
push str.zY_ld__ld
lea edi, [ecx + 0x18]
mov dword [ecx + 8], esi
mov dword [ecx + 4], 0x18
call fcn.004ddcb0
add esp, 0xc
jmp 0x4ec6ca
test esi, esi
je 0x4ec6ca
cmp esi, 0x80
jne 0x4ec67b
jmp 0x4ec6ca
mov ecx, dword [esp + 0x10]
push eax
push str.zX_ld
lea edi, [ecx + 0x18]
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0x17
call fcn.004ddcb0
add esp, 8
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 4], 0
je 0x4ec6df
mov esi, ebp
mov eax, ebx
call fcn.004e6f90
xor ebp, ebp
cmp dword [ebx + 0x298], 0
jl 0x4ec6fa
push 0x56e400
mov ecx, 0x5743a1
call fcn.004e2040
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00493d56
add esp, 0xbc
ret