Function at 0x4ee2d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b65d6
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x60e070]
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.0053f5f8
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x198]
push eax
call fcn.005431f0
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 0x4ee384
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.004d1570
test al, al
je 0x4ee685
mov edi, dword [ebp - 0x1b8]
test edi, edi
je 0x4ee685
push str.Advapi32.dll
lea ecx, [ebp - 0x1e4]
call fcn.00403be0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1e4]
push eax
call fcn.004bb6f0
mov ecx, eax
call fcn.004bb7c0
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1e4]
call fcn.00403b90
test esi, esi
je 0x4ee685
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 0x4ee685
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 0x4ee458
mov esi, dword [ebp - 0x1a0]
mov dword [ebp - 0x1c0], esi
mov byte [ebp - 0x1b1], 1
jmp 0x4ee467
mov eax, dword [ebp - 0x1a0]
test eax, eax
je 0x4ee465
push eax
call edi
xor esi, esi
push dword [ebp - 0x1b8]
call edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d04a0
cmp byte [ebp - 0x1b1], 0
je 0x4ee694
test esi, esi
je 0x4ee694
xorps xmm0, xmm0
lea ecx, [ebp - 0x1fc]
push str.Advapi32.dll
movups xmmword [ebp - 0x1b0], xmm0
call fcn.00403be0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x1fc]
push eax
call fcn.004bb6f0
mov ecx, eax
call fcn.004bb7c0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1fc]
call fcn.00403b90
test esi, esi
je 0x4ee627
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 0x4ee627
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 0x4ee627
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.004ed3f0
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.00403b20
mov ecx, dword [ebp - 0x1bc]
push eax
call fcn.00403b20
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.00403b90
cmp byte [ebp - 0x1b1], 0
je 0x4ee627
push dword [ebp - 0x1cc]
mov ecx, dword [ebp - 0x1b0]
xor edx, edx
push 0
call fcn.004eec60
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 0x4ee696
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.004ee780
add esp, 8
mov byte [ebp - 0x1b1], al
test al, al
je 0x4ee675
push dword [ebp - 0x1cc]
mov esi, dword [ebp - 0x1b8]
xor edx, edx
push 0
mov ecx, esi
call fcn.004eec60
add esp, 8
push esi
call edi
push dword [ebp - 0x1c0]
call edi
mov al, byte [ebp - 0x1b1]
jmp 0x4ee696
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d04a0
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.0053f5d9
mov esp, ebp
pop ebp
ret