Function at 0x4eb130
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2b36
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x60a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c8], edx
mov dword [ebp - 0x1bc], ecx
mov eax, dword [ebp + 0x10]
push 1
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x14], 0
call fcn.0053c458
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x198]
push eax
call fcn.00540030
add esp, 0x10
mov dword [ebp - 0x19c], 0x11c
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4eb1e4
cmp dword [ebp - 0x198], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.004ce3e0
test al, al
je 0x4eb4e5
mov edi, dword [ebp - 0x1b8]
test edi, edi
je 0x4eb4e5
push str.Advapi32.dll
lea ecx, [ebp - 0x1e4]
call fcn.00403c00
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1e4]
push eax
call fcn.004b8560
mov ecx, eax
call fcn.004b8630
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00403bb0
test esi, esi
je 0x4eb4e5
push str.DuplicateTokenEx
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4eb4e5
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 0x1b1], 0
push ecx
push 1
push 2
push 0
push 0x18b
push edi
mov dword [ebp - 0x1a0], 0
call eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4eb2b8
mov esi, dword [ebp - 0x1a0]
mov dword [ebp - 0x1c0], esi
mov byte [ebp - 0x1b1], 1
jmp 0x4eb2c7
mov eax, dword [ebp - 0x1a0]
test eax, eax
je 0x4eb2c5
push eax
call edi
xor esi, esi
push dword [ebp - 0x1b8]
call edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004cd310
cmp byte [ebp - 0x1b1], 0
je 0x4eb4f4
test esi, esi
je 0x4eb4f4
xorps xmm0, xmm0
lea ecx, [ebp - 0x1fc]
push str.Advapi32.dll
movups xmmword [ebp - 0x1b0], xmm0
call fcn.00403c00
mov dword [ebp - 4], 2
lea eax, [ebp - 0x1fc]
push eax
call fcn.004b8560
mov ecx, eax
call fcn.004b8630
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.00403bb0
test esi, esi
je 0x4eb487
push str.AdjustTokenPrivileges
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4eb487
mov esi, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x68]
push 0
push 0
push 0x10
push ecx
push 0
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x68], xmm0
call eax
push str.CreateProcessWithTokenW
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c4], eax
test eax, eax
je 0x4eb487
push dword [ebp - 0x1c8]
mov edx, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x80]
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0x44
xor eax, eax
movlpd qword [ebp - 0x54], xmm0
mov word [ebp - 0x16], ax
mov eax, 5
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x26], xmm0
movlpd qword [ebp - 0x1e], xmm0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 1
call fcn.004ea250
add esp, 4
mov dword [ebp - 4], 3
lea eax, [ebp - 0x1b0]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x10
lea ecx, [ebp - 0x80]
call fcn.00403b40
mov ecx, dword [ebp - 0x1bc]
push eax
call fcn.00403b40
push eax
push 1
push esi
call dword [ebp - 0x1c4]
test eax, eax
setne byte [ebp - 0x1b1]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00403bb0
cmp byte [ebp - 0x1b1], 0
je 0x4eb487
push dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0x1b0]
xor edx, edx
push 0
call fcn.004ebac0
add esp, 8
push dword [ebp - 0x1b0]
call edi
push dword [ebp - 0x1ac]
call edi
push esi
call edi
mov al, byte [ebp - 0x1b1]
jmp 0x4eb4f6
mov edx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1bc]
push eax
push 0
mov dword [ebp - 0x1b8], 0
call fcn.004eb5e0
add esp, 8
mov byte [ebp - 0x1b1], al
test al, al
je 0x4eb4d5
push dword [ebp - 0x1cc]
mov esi, dword [ebp - 0x1b8]
xor edx, edx
push 0
mov ecx, esi
call fcn.004ebac0
add esp, 8
push esi
call edi
push dword [ebp - 0x1c0]
call edi
mov al, byte [ebp - 0x1b1]
jmp 0x4eb4f6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004cd310
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c439
mov esp, ebp
pop ebp
ret