Function at 0x100ec8f0
Capabilities:
Check os version
Get system information on windows
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189cd3
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - method.Poco::AbstractObserver.virtual_4], vtable.RC::DM::ISerialization.0
mov dword [ebp - method.Poco::AbstractObserver.virtual_4], vtable.RC::DM::ISerialization.0
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x140], ebx
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - method.RC::DM::RCVersion.virtual_0], vtable.RC::DM::RCVersion.0
movlpd qword [ebp - 0x168], xmm0
movlpd qword [ebp - 0x160], xmm0
movlpd qword [ebp - 0x158], xmm0
movlpd qword [ebp - 0x150], xmm0
mov dword [ebp - 4], 0
mov ecx, 0x1021277c
mov dword [ebp - 0x138], 0x1021277c
call fcn.10003430
mov byte [ebp - 4], 1
cmp dword [0x10212778], 0
jne 0x100ec9ef
push 0x34
call fcn.10161f74
mov esi, eax
add esp, 4
mov dword [ebp - 0x188], esi
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10003fa0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 1
mov dword [0x10212778], esi
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 0
call fcn.100077d0
lea eax, [ebp - 0x12c]
push eax
call fcn.100f7e70
test al, al
jne 0x100eca2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebx], 1
mov dword [edi], 0xffffffff
mov dword [edi + 4], eax
mov dword [ebp - 4], 4
jmp 0x100ecd88
xorps xmm0, xmm0
mov dword [ebp - method.Poco::AbstractObserver.virtual_4], vtable.RC::DM::ISerialization.0
mov dword [ebp - method.RC::DM::RCVersion.virtual_0], vtable.RC::DM::RCVersion.0
movlpd qword [ebp - 0x1ac], xmm0
movlpd qword [ebp - 0x1a4], xmm0
movlpd qword [ebp - 0x19c], xmm0
movlpd qword [ebp - 0x194], xmm0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x128]
cdq
mov ebx, eax
mov byte [ebp - 0x12d], 0
mov dword [ebp - 0x1ac], ebx
mov eax, edx
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x124]
cdq
mov esi, eax
mov eax, edx
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x120]
cdq
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x1e0]
mov dword [ebp - 0x190], edx
movzx ecx, word [ebp - 0x18]
push eax
mov dword [ebp - 0x178], ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x1e0], 9
mov edx, ebx
mov ecx, esi
mov eax, ebx
je 0x100ecaf2
cmp word [ebp - 0x1e0], 6
mov dword [ebp - 0x138], ebx
jne 0x100ecaff
mov byte [ebp - 0x12d], 1
mov dword [ebp - 0x138], edx
movzx edx, byte [ebp - 0x12d]
xorps xmm0, xmm0
mov dword [ebp - 0x174], edx
mov edx, dword [ebp - 0x188]
cmp byte [ebp - 0x12], 1
mov dword [ebp - 0x164], edx
mov edx, dword [ebp - 0x1b8]
sete byte [ebp - 0x17c]
mov dword [ebp - 0x15c], edx
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x150], edx
mov edx, dword [ebp - 0x190]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x138], 5
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x160], esi
movlpd qword [ebp - 0x158], xmm0
mov dword [ebp - 0x14c], edx
mov dword [ebp - method.RC::DM::RCVersion.virtual_0], vtable.RC::DM::RCVersion.0
jne 0x100ecc0a
test ecx, ecx
je 0x100ecbcd
cmp esi, 1
je 0x100ecc29
cmp esi, 2
jne 0x100ecc29
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100ecc29
test dword [ebp - 0x14], 0x8000
jne 0x100ecbcd
cmp byte [ebp - 0x17c], 0
je 0x100ecbc5
cmp dword [ebp - 0x174], 1
je 0x100ecbcd
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push dword [ebp - 0x184]
mov eax, dword [ebp - 0x140]
push 0
push 0x400
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x100ecc4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0xffffffff
mov dword [edi + 4], eax
mov dword [ebp - 4], 6
jmp 0x100ecd88
cmp eax, 6
jne 0x100ecc24
test esi, esi
je 0x100ecbcd
cmp esi, 1
je 0x100ecbcd
cmp esi, 2
je 0x100ecbcd
cmp esi, 3
jne 0x100ecc29
jmp 0x100ecbcd
cmp ebx, 0xa
je 0x100ecbcd
mov eax, dword [ebp - 0x140]
mov byte [eax], 1
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [ebp - 4], 5
jmp 0x100ecd88
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], 0
push eax
push 8
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100ecd6b
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x100ecd6b
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp - 0x13c]
push ecx
push 4
lea ecx, [ebp - 0x144]
mov dword [ebp - 0x144], 0
push ecx
push 0x14
push eax
mov dword [ebp - 0x13c], 0
call esi
test eax, eax
jne 0x100eccda
push dword [ebp - 0x134]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0xffffffff
mov dword [edi + 4], eax
mov dword [ebp - 4], 8
jmp 0x100ecd88
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x148], 3
push eax
push 4
lea eax, [ebp - 0x148]
mov dword [ebp - 0x13c], 0
push eax
push 0x12
push dword [ebp - 0x134]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x134]
test eax, eax
jne 0x100ecd35
call esi
push ebx
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0xffffffff
mov dword [edi + 4], eax
mov dword [ebp - 4], 9
jmp 0x100ecd88
call esi
push ebx
call esi
cmp dword [ebp - 0x144], 0
je 0x100ecd55
cmp dword [ebp - 0x148], 3
je 0x100ecd55
mov eax, dword [ebp - 0x140]
mov byte [eax], 1
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
mov dword [ebp - 4], 0xa
jmp 0x100ecd88
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0xffffffff
mov dword [edi + 4], eax
mov dword [ebp - 4], 7
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov dword [ebp - method.RC::DM::RCVersion.virtual_0], vtable.RC::DM::RCVersion.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10161f63
mov esp, ebp
pop ebp
ret 0xc