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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100880b2
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x100ab008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x284], edi
mov esi, ecx
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x290], esi
xor eax, eax
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 1
test edi, edi
jne 0x100714e4
movups xmm0, xmmword [ebp - 0x48]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
mov word [ebp - 0x48], ax
movq xmm0, qword [ebp - 0x38]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x28c], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x38], eax
jmp 0x10071736
push 0x118
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x164], 0x11c
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1007160e
cmp dword [ebp - 0x160], 6
ja 0x10071535
jne 0x100715c0
cmp dword [ebp - 0x15c], 2
jb 0x100715c0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x100715ba
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100715ba
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100715ba
movups xmm0, xmmword [0x100943b0]
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x100943c0]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100715ba
lea eax, [ebp - 0x30]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100715ba
cmp word [edi + 2], ax
jbe 0x100715ba
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], eax
mov edi, dword [ebp - 0x284]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x288], eax
test eax, eax
je 0x1007160e
push 0x118
lea eax, [ebp - 0x27c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x280], 0x11c
lea eax, [ebp - 0x280]
push eax
call dword [ebp - 0x288]
cmp dword [ebp - 0x160], 6
push edi
push 0
jb 0x10071621
push 0x1000
jmp 0x1007163e
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x1007164e
push dword [ebp - 0x284]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100716f3
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.10071760
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
cmp ecx, eax
je 0x10071698
call fcn.10004c90
mov eax, dword [ebp - 0x288]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x38], xmm0
mov word [eax], cx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x100716d8
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100716ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100716ce
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007b73a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x48]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x48], ax
movq xmm0, qword [ebp - 0x38]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x28c], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov eax, esi
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.1007b6f9
mov esp, ebp
pop ebp
ret