Function at 0x418d00
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 0x4de7c2
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x290
mov eax, dword [0x501008]
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, edx
mov dword [ebp - 0x294], esi
mov edi, ecx
mov dword [ebp - 0x29c], edi
mov dword [ebp - 0x2a0], edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x298], 0
call fcn.00402ed0
mov dword [ebp - 4], 1
test esi, esi
jne 0x418d83
mov eax, ecx
mov ecx, edi
push eax
call fcn.00405590
jmp 0x418f1e
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 0x418ead
cmp dword [ebp - 0x16c], 6
ja 0x418dd4
jne 0x418e5f
cmp dword [ebp - 0x168], 2
jb 0x418e5f
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x418e59
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418e59
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x418e59
movups xmm0, xmmword [0x4ebbec]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x4ebbfc]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x418e59
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x418e59
cmp word [esi + 2], ax
jbe 0x418e59
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], eax
mov esi, dword [ebp - 0x294]
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 - 0x29c], eax
test eax, eax
je 0x418ead
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 - 0x29c]
cmp dword [ebp - 0x16c], 6
push esi
push 0
jb 0x418ec0
push 0x1000
jmp 0x418edd
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x418ee9
push dword [ebp - 0x294]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x418f13
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00418f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
push eax
call fcn.00402e90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004020f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.00405590
mov dword [ebp - 0x298], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.004020f0
mov eax, edi
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.004d99e2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret