Function at 0x4e5720
Capabilities:
Check os version
Get token privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5953c9
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x62f018]
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 edi, dword [ebp + 8]
mov ecx, 0x6355a1
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x130], 0
call fcn.00561ea5
xorps xmm0, xmm0
mov dword [ebp - method.Poco::Any::ValueHolder.virtual_4], vtable.RC::DM::ISerialization.0
mov dword [ebp - method.Poco::Any::ValueHolder.virtual_4], vtable.RC::DM::ISerialization.0
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - method.RC::DM::RCVersion.virtual_0], vtable.RC::DM::RCVersion.0
movlpd qword [ebp - 0x16c], xmm0
movlpd qword [ebp - 0x164], xmm0
movlpd qword [ebp - 0x15c], xmm0
movlpd qword [ebp - 0x154], xmm0
mov dword [ebp - 4], 1
mov ecx, 0x6321b0
mov dword [ebp - 0x18c], 0x6321b0
call fcn.004dd120
mov byte [ebp - 4], 2
cmp dword [0x6321ac], 0
jne 0x4e5845
push 0x34
call fcn.0052f564
mov esi, eax
mov dword [ebp - 0x148], esi
push 2
push esi
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov byte [ebp - 4], 3
add esp, 0xc
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov dword [0x6321ac], esi
mov esi, dword [ebp - 0x188]
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 1
call fcn.004ddce0
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.004dd380
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14c]
test eax, eax
je 0x4e58a7
mov byte [ebx], 1
mov dword [edi], eax
mov eax, dword [ebp - 0x148]
mov dword [edi + 4], eax
mov dword [ebp - 0x130], 1
mov dword [ebp - 4], 8
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 4], 9
jmp 0x4e5b5f
mov eax, dword [ebp - 0x16c]
cmp eax, 5
jne 0x4e5962
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x4e5914
cmp eax, 1
je 0x4e5987
cmp eax, 2
jne 0x4e5987
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4e5987
test dword [ebp - 0x14], 0x8000
jne 0x4e5914
cmp byte [ebp - 0x180], 0
je 0x4e590c
cmp dword [ebp - 0x178], 1
je 0x4e5914
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push esi
push 0
push 0x400
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
jne 0x4e59bd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], 0xffffffff
mov dword [edi + 4], eax
mov dword [ebp - 0x130], 1
mov dword [ebp - 4], 0xc
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 4], 0xd
jmp 0x4e5b5f
cmp eax, 6
jne 0x4e5982
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x4e5914
cmp eax, 1
je 0x4e5914
cmp eax, 2
je 0x4e5914
cmp eax, 3
jne 0x4e5987
jmp 0x4e5914
cmp eax, 0xa
je 0x4e5914
mov eax, dword [ebp - 0x148]
mov byte [ebx], 1
mov dword [edi], 0
mov dword [edi + 4], eax
mov dword [ebp - 0x130], 1
mov dword [ebp - 4], 0xa
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 4], 0xb
jmp 0x4e5b5f
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 0x4e5b2a
mov eax, dword [ebp - 0x134]
test eax, eax
je 0x4e5b2a
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [ebp - 0x138]
push ecx
push 4
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
push ecx
push 0x14
push eax
mov dword [ebp - 0x138], 0
call esi
test eax, eax
jne 0x4e5a64
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 - 0x130], 1
mov dword [ebp - 4], 0x10
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 4], 0x11
jmp 0x4e5b5f
lea eax, [ebp - 0x138]
mov dword [ebp - 0x140], 3
push eax
push 4
lea eax, [ebp - 0x140]
mov dword [ebp - 0x138], 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 0x4e5ada
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 - 0x130], 1
mov dword [ebp - 4], 0x12
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 4], 0x13
jmp 0x4e5b5f
call esi
push ebx
call esi
cmp dword [ebp - 0x13c], 0
je 0x4e5afa
cmp dword [ebp - 0x140], 3
je 0x4e5afa
mov eax, dword [ebp - 0x144]
mov byte [eax], 1
mov eax, dword [ebp - 0x148]
mov dword [edi], 0
mov dword [edi + 4], eax
mov dword [ebp - 0x130], 1
mov dword [ebp - 4], 0x14
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 4], 0x15
jmp 0x4e5b5f
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 - 0x130], 1
mov dword [ebp - 4], 0xe
mov dword [ebp - method.RC::DM::RCSystemVersion.virtual_0], vtable.RC::DM::RCSystemVersion.0
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 0
mov eax, edi
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.0052f553
mov esp, ebp
pop ebp
ret 0xc