Function at 0x100c41a0
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 0x101c0562
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x10224008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x294], edi
mov esi, ecx
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x2a0], esi
xor eax, eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], 1
test edi, edi
jne 0x100c4265
movups xmm0, xmmword [ebp - 0x4c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
mov word [ebp - 0x4c], ax
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x29c], 1
mov byte [ebp - 4], al
jmp 0x100c4468
push 0x118
lea eax, [ebp - 0x16c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x170], 0x11c
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100c438f
cmp dword [ebp - 0x16c], 6
ja 0x100c42b6
jne 0x100c4341
cmp dword [ebp - 0x168], 2
jb 0x100c4341
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x100c433b
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100c433b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100c433b
movups xmm0, xmmword [0x101e4238]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x101e4248]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100c433b
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100c433b
cmp word [edi + 2], ax
jbe 0x100c433b
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], eax
mov edi, dword [ebp - 0x294]
push 0x101e0f40
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x298], eax
test eax, eax
je 0x100c438f
push 0x118
lea eax, [ebp - 0x28c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x290], 0x11c
lea eax, [ebp - 0x290]
push eax
call dword [ebp - 0x298]
cmp dword [ebp - 0x16c], 6
push edi
push 0
jb 0x100c43a2
push 0x1000
jmp 0x100c43bf
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x100c43cb
push dword [ebp - 0x294]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x100c4428
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.100c4490
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
cmp ecx, eax
je 0x100c4415
call fcn.10005540
mov eax, dword [ebp - 0x298]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x3c], xmm0
mov word [eax], cx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10005540
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x4c]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x4c], ax
movq xmm0, qword [ebp - 0x3c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x29c], 1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x4c]
call fcn.10005540
mov eax, esi
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.1019e7b8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret