Function at 0x1008e100
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e86c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2c0
mov eax, dword [0x1025f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c8], esi
push 0x118
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.101b5530
add esp, 0xc
mov dword [ebp - 0x198], 0x11c
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008e271
cmp dword [ebp - 0x194], 6
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
ja 0x1008e1a6
jne 0x1008e227
cmp dword [ebp - 0x190], 2
jb 0x1008e227
push 0x1021b3b0
call edi
mov esi, eax
test esi, esi
je 0x1008e227
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1008e227
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1008e227
movups xmm0, xmmword [0x1021cad4]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x1021cae4]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1008e227
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1008e227
cmp word [esi + 2], ax
jbe 0x1008e227
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x194], edx
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], eax
push 0x1021651c
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlGetVersion
push eax
call edi
mov esi, eax
test esi, esi
je 0x1008e26b
push 0x118
lea eax, [ebp - 0x2b4]
push 0
push eax
call fcn.101b5530
add esp, 0xc
mov dword [ebp - 0x2b8], 0x11c
lea eax, [ebp - 0x2b8]
push eax
call esi
mov esi, dword [ebp - 0x2c8]
cmp dword [ebp - 0x194], 6
jae 0x1008e281
xor al, al
jmp 0x1008e41e
test esi, esi
je 0x1008e27a
push 0xc
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
push str.Advapi32.dll
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.10008490
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.10091a30
mov ecx, eax
call fcn.10091af0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x1008e310
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1008e306
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008e43c
push edx
push ecx
call fcn.101b37a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
test esi, esi
je 0x1008e27a
movups xmm0, xmmword [str.ConvertStringSecurityDescriptorToSecurityDescriptorW]
mov byte [ebp - 0x2c1], al
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov eax, dword [0x1021d910]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x3c], eax
movups xmm0, xmmword [0x1021d8f0]
mov al, byte [0x1021d914]
mov byte [ebp - 0x38], al
lea eax, [ebp - 0x6c]
movups xmmword [ebp - 0x5c], xmm0
push eax
movups xmm0, xmmword [0x1021d900]
push esi
movups xmmword [ebp - 0x4c], xmm0
call edi
mov dword [ebp - 0x2cc], eax
test eax, eax
je 0x1008e27a
push str.GetSecurityDescriptorSacl
push esi
call edi
mov dword [ebp - 0x2d0], eax
test eax, eax
je 0x1008e27a
push str.SetSecurityInfo
push esi
call edi
mov esi, eax
test esi, esi
je 0x1008e27a
push 0
lea eax, [ebp - 0x2bc]
push eax
push 1
push str.S:_ML__NW___LW_
call dword [ebp - 0x2cc]
test eax, eax
je 0x1008e418
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x2bc]
call dword [ebp - 0x2d0]
test eax, eax
je 0x1008e40c
push dword [ebp - 0x2c0]
push 0
push 0
push 0
push 0x10
push 6
push dword [ebp - 0x2c8]
call esi
test eax, eax
sete byte [ebp - 0x2c1]
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0x2c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b3122
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.101b7ad8
int3