Function at 0x424710
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x483a5b
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x4a4720]
xor eax, esp
mov dword [esp + 0x338], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4720]
xor eax, esp
push eax
lea eax, [esp + 0x350]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x360]
mov eax, dword [esp + 0x364]
push 0x206
mov dword [esp + 0x24], eax
xor ebx, ebx
lea eax, [esp + 0x14a]
xor edx, edx
push ebx
push eax
mov dword [esp + 0x30], ecx
mov word [esp + 0x150], dx
call fcn.00464a00
add esp, 0xc
xor eax, eax
jmp 0x424790
movzx ecx, word [eax + str.taskkill__f__im_explorer.exe]
mov word [esp + eax + 0x144], cx
add eax, 2
cmp cx, bx
jne 0x424790
lea ecx, [esp + 0x144]
push ecx
call fcn.00427ff0
add esp, 4
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4248e1
cmp dword [esp + 0x3c], 2
jne 0x4248e1
cmp dword [esp + 0x30], 6
jb 0x4248e1
lea eax, [esp + 0x1c]
push eax
push 8
xor esi, esi
mov dword [esp + 0x24], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4248e1
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push 0x14
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x42483e
xor ecx, ecx
cmp dword [esp + 0x18], ebx
setne cl
mov esi, ecx
mov edi, esi
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x4248e1
cmp edi, ebx
je 0x4248e1
xor eax, eax
jmp 0x424860
movzx ecx, word [eax + str.schtasks__create__tn__StartExplorer___tr__explorer.exe___sc_ONCE__st_00:00:00__sd_2100_01_01]
mov word [esp + eax + 0x144], cx
add eax, 2
cmp cx, bx
jne 0x424860
lea eax, [esp + 0x144]
push eax
call fcn.00427ff0
add esp, 4
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.schtasks__run__tn__StartExplorer_]
mov word [esp + eax + 0x144], cx
add eax, 2
cmp cx, bx
jne 0x424890
lea ecx, [esp + 0x144]
push ecx
call fcn.00427ff0
add esp, 4
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + str.schtasks__delete__tn__StartExplorer___f]
mov word [esp + eax + 0x144], cx
add eax, 2
cmp cx, bx
jne 0x4248c0
lea edx, [esp + 0x144]
push edx
jmp 0x42490f
xor eax, eax
jmp 0x4248f0
movzx ecx, word [eax + str.explorer.exe]
mov word [esp + eax + 0x144], cx
add eax, 2
cmp cx, bx
jne 0x4248f0
lea eax, [esp + 0x144]
push eax
call fcn.00427ff0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
add esp, 4
xor edi, edi
lea esi, [esp + 0x18]
mov dword [edx], ecx
call fcn.00414000
mov edx, dword [esp + 0x24]
mov dword [esp + 0x358], ebx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x2c]
push ecx
push eax
push edx
call fcn.00403800
mov dword [esp + 0x364], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x350]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x338]
xor ecx, esp
call fcn.00461706
add esp, 0x348
ret