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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46f442
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x495014]
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 esi, ecx
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x290], esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x288], 0
call fcn.00403ac0
mov dword [ebp - 4], 1
test edi, edi
jne 0x418eaf
lea ecx, [ebp - 0x48]
call fcn.00403bd0
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00404060
mov byte [ebp - 0x284], 0
lea eax, [ebp - 0x48]
push dword [ebp - 0x284]
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00403ef0
jmp 0x41906c
push pe_nt_image_headers32
lea eax, [ebp - 0x160]
push 0
push eax
call fcn.0044de20
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 0x418fcb
cmp dword [ebp - 0x160], 6
ja 0x418f00
jne 0x418f85
cmp dword [ebp - 0x15c], 2
jb 0x418f85
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x418f85
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418f85
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x418f85
movups xmm0, xmmword [0x484974]
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x484984]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x418f85
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x418f85
cmp word [esi + 2], ax
jbe 0x418f85
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x158], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x418fcb
push pe_nt_image_headers32
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.0044de20
add esp, 0xc
mov dword [ebp - 0x280], 0x11c
lea eax, [ebp - 0x280]
push eax
call esi
cmp dword [ebp - 0x160], 6
push edi
push 0
jb 0x418fde
push 0x1000
jmp 0x418ff6
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x419002
push edi
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41902c
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.004190a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
push eax
call fcn.00403a30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004039d0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
call fcn.00403bd0
push eax
call fcn.00404050
mov esi, dword [ebp - 0x284]
add esp, 4
mov ecx, esi
push eax
call fcn.00404060
mov byte [ebp - 0x284], 0
lea eax, [ebp - 0x48]
push dword [ebp - 0x284]
push eax
call fcn.00404050
add esp, 4
mov ecx, esi
push eax
call fcn.00403ef0
mov dword [ebp - 0x288], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004039d0
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.00436e3f
mov esp, ebp
pop ebp
ret