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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002f382
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x1003c008]
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, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x274], edi
mov dword [ebp - 0x27c], ecx
mov eax, dword [edi + 0x24]
cmp eax, dword [edi + 0x28]
je 0x1002b256
test ecx, ecx
je 0x1002b256
mov eax, dword [ebp + 0x1c]
test al, 1
je 0x1002ae11
xor eax, eax
jmp 0x1002b25b
test al, 2
jne 0x1002ae0a
test al, 0xf
je 0x1002ae21
test al, 6
je 0x1002b256
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
cmp esi, eax
je 0x1002ae4a
mov edi, eax
nop dword [eax]
mov ecx, esi
call fcn.10006af0
add esi, 0x94
cmp esi, edi
jne 0x1002ae30
mov edi, dword [ebp - 0x274]
mov esi, dword [edi + 4]
mov dword [edi + 8], esi
mov eax, dword [edi + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x30], eax
sub eax, dword [ebp + 0x14]
cmp eax, 2
jb 0x1002b256
push 0x118
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.10018520
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x154]
add esp, 0xc
mov dword [ebp - 0x154], 0x11c
push eax
call esi
test eax, eax
je 0x1002af89
cmp dword [ebp - 0x150], 6
ja 0x1002aeb8
jne 0x1002af3d
cmp dword [ebp - 0x14c], 2
jb 0x1002af3d
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x1002af3d
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1002af3d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002af3d
movups xmm0, xmmword [0x10036994]
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x100369a4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1002af3d
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1002af3d
cmp word [esi + 2], ax
jbe 0x1002af3d
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], 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 0x1002af83
push 0x118
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.10018520
add esp, 0xc
mov dword [ebp - 0x270], 0x11c
lea eax, [ebp - 0x270]
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x150], 6
jb 0x1002af9b
mov byte [edi + 0x34], 0
jmp 0x1002b0d1
push 0x118
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.10018520
add esp, 0xc
mov dword [ebp - 0x154], 0x11c
lea eax, [ebp - 0x154]
push eax
call esi
test eax, eax
je 0x1002b0b3
cmp dword [ebp - 0x150], 6
ja 0x1002afe8
jne 0x1002b06d
cmp dword [ebp - 0x14c], 2
jb 0x1002b06d
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x1002b06d
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1002b06d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1002b06d
movups xmm0, xmmword [0x10036994]
push eax
movups xmmword [ebp - 0x30], xmm0
movups xmm0, xmmword [0x100369a4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1002b06d
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1002b06d
cmp word [esi + 2], ax
jbe 0x1002b06d
movzx edx, word [esi + 0x32]
movzx ecx, word [esi + 0x30]
movzx eax, word [esi + 0x36]
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x148], 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 0x1002b0b3
push 0x118
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.10018520
add esp, 0xc
mov dword [ebp - 0x270], 0x11c
lea eax, [ebp - 0x270]
push eax
call esi
cmp dword [ebp - 0x150], 5
ja 0x1002b0cd
jne 0x1002b0c7
cmp dword [ebp - 0x14c], 1
jae 0x1002b0cd
mov byte [edi + 0x34], 0
jmp 0x1002b0d1
mov byte [edi + 0x34], 1
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x27c]
push 0x10035bb8
mov dword [ebp - 0x34], eax
call fcn.10007090
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi - 4]
call fcn.1002a080
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1002b177
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b16d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b278
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x10035bb8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10007090
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push eax
push 2
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi - 4]
call fcn.1002a080
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1002b1fa
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002b1f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002b27d
push edx
push ecx
call fcn.100168c9
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [edi + 0x30], eax
cmp byte [edi + 0x34], al
je 0x1002b244
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
movlpd qword [ebp - 0x24], xmm0
push eax
push dword [ebp - 0x27c]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], 0x1c
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.USER32.dll_GetMenuInfo]
mov eax, dword [ebp - 0x274]
sub eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0xffffffff
jmp 0x1002b25b
mov eax, 0x80004005
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.10016207
mov esp, ebp
pop ebp
ret 0x18
call fcn.1001abba
call fcn.1001abba
int3