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

Disassembly:
mov eax, 0x10239da
call fcn.01014f68
sub esp, 0x39c
mov eax, dword [0x10309f4]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x334], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [0x103153c], ebx
jne 0x1014bc7
mov dword [ebp - 0x328], 0x114
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1014bc7
push 2
pop esi
cmp dword [ebp - 0x318], esi
jne 0x1014bc7
cmp dword [ebp - 0x324], 5
jb 0x1014bc7
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x398], eax
cmp eax, ebx
jl 0x1014bc9
mov byte [ebp - 4], 1
push ebx
push esi
push ebx
push esi
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x38c], eax
cmp eax, ebx
jge 0x101479c
mov dword [ebp - 0x394], eax
mov esi, eax
jmp 0x10148aa
lea ecx, [ebp - 0x380]
call sym.WMIADAP.exe_public:_void___thiscall_CHPtrArray::constructor_void_
mov byte [ebp - 4], 2
push 0x1001554
push 0x80000002
lea ecx, [ebp - 0x380]
call fcn.0100e27a
test eax, eax
jne 0x10147d9
push 0x1030968
push 0x1003634
lea ecx, [ebp - 0x380]
call fcn.0100e349
call fcn.01012eab
mov dword [ebp - 0x360], eax
lea eax, [ebp - 0x338]
push eax
push 0x1f0003
call fcn.010130da
mov edi, eax
mov dword [ebp - 0x340], edi
mov dword [ebp - 0x368], edi
mov byte [ebp - 4], 3
cmp edi, ebx
mov eax, dword [ebp - 0x338]
jne 0x1014816
mov eax, 0x80
mov dword [ebp - 0x358], eax
cmp edi, ebx
mov eax, edi
jne 0x1014827
mov eax, 0x1030970
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], ebx
push dword [ebp - 0x360]
push 0x10035f0
push 0x100
lea eax, [ebp - 0x214]
push eax
call fcn.01005fe2
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
push esi
push esi
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [ebp - 0x36c], eax
cmp eax, ebx
jne 0x10148ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10035b8
push 0xc
call sub.wbemcomn.dll_int___cdecl_DebugTrace_char__char_const__
add esp, 0xc
mov dword [ebp - 0x39c], ebx
mov byte [ebp - 4], 2
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x380]
call fcn.0100e252
xor esi, esi
mov byte [ebp - 4], bl
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x1014bc9
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 4
push ebx
push eax
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
mov dword [ebp - 0x3a4], eax
cmp eax, ebx
je 0x10148fd
mov dword [ebp - 0x384], ebx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x33c]
call fcn.01012daa
mov byte [ebp - 4], 2
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x10149b1
lea eax, [ebp - 0x338]
push eax
push 0x1f0001
call fcn.010130da
mov edi, eax
mov dword [ebp - 0x390], edi
mov dword [ebp - 0x35c], edi
mov byte [ebp - 4], 5
cmp edi, ebx
mov eax, dword [ebp - 0x338]
jne 0x101492f
mov eax, 0x80
mov dword [ebp - 0x358], eax
cmp edi, ebx
mov eax, dword [ebp - 0x340]
jne 0x1014944
mov eax, 0x1030970
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x350], ebx
push 0x100358c
push ebx
lea eax, [ebp - 0x358]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x364], eax
cmp eax, ebx
jne 0x10149ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1003560
push 0xc
call sub.wbemcomn.dll_int___cdecl_DebugTrace_char__char_const__
add esp, 0xc
mov dword [ebp - 0x3a0], ebx
mov byte [ebp - 4], 4
push edi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x33c]
call fcn.01012daa
mov byte [ebp - 4], 2
push dword [ebp - 0x340]
call esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x380]
call fcn.0100e252
mov byte [ebp - 4], bl
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1014bc7
mov dword [ebp - 0x370], eax
mov byte [ebp - 4], 6
push 0x61a80
push eax
call esi
cmp eax, ebx
je 0x10149ef
cmp eax, 0x80
jne 0x1014b5a
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x348], ebx
mov dword [ebp - 0x34c], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x344], ebx
mov edi, dword [ebp - 0x334]
cmp edi, ebx
je 0x1014b1b
mov esi, dword [sym.imp.msvcrt.dll_toupper]
cmp byte [edi], bl
je 0x1014af4
mov al, byte [edi]
cmp al, bl
je 0x1014a47
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
pop ecx
test eax, eax
je 0x1014a47
inc edi
mov dword [ebp - 0x334], edi
jmp 0x1014a29
mov al, byte [edi]
cmp al, 0x2d
je 0x1014a51
cmp al, 0x2f
jne 0x1014ace
inc edi
mov dword [ebp - 0x334], edi
movzx eax, byte [edi]
push eax
call esi
pop ecx
cmp eax, 0x54
jne 0x1014a70
mov dword [ebp - 0x32c], 1
jmp 0x1014ace
movzx eax, byte [edi]
push eax
call esi
pop ecx
cmp eax, 0x52
jne 0x1014a88
mov dword [ebp - 0x330], 1
jmp 0x1014ace
movzx eax, byte [edi]
push eax
call esi
pop ecx
cmp eax, 0x46
jne 0x1014aa0
mov dword [ebp - 0x348], 1
jmp 0x1014ace
movzx eax, byte [edi]
push eax
call esi
pop ecx
cmp eax, 0x44
jne 0x1014ab8
mov dword [ebp - 0x34c], 1
jmp 0x1014ace
movzx eax, byte [edi]
push eax
call esi
pop ecx
cmp eax, 0x43
jne 0x1014ace
mov dword [ebp - 0x344], 1
mov al, byte [edi]
cmp al, bl
je 0x1014a21
movsx eax, al
push eax
call dword [sym.imp.msvcrt.dll_isspace]
pop ecx
test eax, eax
jne 0x1014a21
inc edi
mov dword [ebp - 0x334], edi
jmp 0x1014ace
cmp dword [ebp - 0x344], ebx
je 0x1014b03
call fcn.01014324
jmp 0x1014b3b
cmp dword [ebp - 0x348], ebx
jne 0x1014b25
cmp dword [ebp - 0x34c], ebx
jne 0x1014b2e
cmp dword [ebp - 0x330], ebx
jne 0x1014b43
push ebx
push 1
call fcn.01014560
jmp 0x1014b4e
push dword [ebp - 0x32c]
push ebx
jmp 0x1014b36
push dword [ebp - 0x32c]
push 1
call fcn.01014560
cmp dword [ebp - 0x330], ebx
je 0x1014b4e
push dword [ebp - 0x32c]
call fcn.01016145
push dword [ebp - 0x364]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea eax, [ebp - 0x388]
push eax
push 1
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x370]
call fcn.01012daa
mov byte [ebp - 4], 4
push dword [ebp - 0x35c]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x33c]
call fcn.01012daa
mov byte [ebp - 4], 2
push dword [ebp - 0x368]
call esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x380]
call fcn.0100e252
mov byte [ebp - 4], bl
call dword [sym.imp.ole32.dll_CoUninitialize]
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.01014c6a
pop edi
pop esi
pop ebx
leave
ret 0x10