Function at 0x10094f40
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 0x101b9da0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x278
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, ecx
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
cmp edi, eax
je 0x10094fa2
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x10094f97
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.100055f0
lea ecx, [edi + 0x18]
cmp ecx, esi
je 0x10094fbc
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10094fb3
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.100055f0
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.10095500
mov dword [ebp - 0x27c], eax
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x1009500a
mov ecx, esi
call fcn.10005540
mov eax, dword [ebp - 0x27c]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004f10
mov eax, dword [ebx + 0x10]
mov ecx, esi
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x4c], eax
call fcn.100b5cd0
push 0x118
lea eax, [ebp - 0x154]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x158], 0x11c
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10095168
cmp dword [ebp - 0x154], 6
ja 0x1009507d
jne 0x1009511a
cmp dword [ebp - 0x150], 2
jb 0x1009511a
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x1009511a
push 0x10
push 1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1009511a
push eax
push dword [ebp - 0x27c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1009511a
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 dword [ebp - 0x27c], eax
test eax, eax
je 0x1009511a
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [eax + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1009511a
mov eax, dword [ebp - 0x27c]
cmp word [eax + 2], 0
jbe 0x1009511a
movzx edx, word [eax + 0x32]
movzx ecx, word [eax + 0x30]
movzx eax, word [eax + 0x36]
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], eax
push 0x101e0f40
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x10095168
push 0x118
lea eax, [ebp - 0x274]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x278], 0x11c
lea eax, [ebp - 0x278]
push eax
call dword [ebp - 0x27c]
cmp dword [ebp - 0x154], 6
jae 0x10095199
push 0x101cdc64
mov edx, str.UEME_RUNPATH:
mov ecx, esi
call fcn.100b59e0
add esp, 4
mov edx, str.ueme_runpath:
mov ecx, esi
push 0x101cdc64
call fcn.100b59e0
add esp, 4
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.10095630
mov dword [ebp - 0x27c], eax
mov dword [ebp - 4], 1
cmp esi, eax
je 0x100951e4
mov ecx, esi
call fcn.10005540
mov eax, dword [ebp - 0x27c]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004f10
mov ecx, esi
call fcn.100b5cd0
cmp dword [edi + 0x40], 0
je 0x100953e5
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.100b3380
mov ecx, eax
mov dword [ebp - 0x27c], ecx
lea eax, [edi + 0x68]
mov dword [ebp - 4], 2
mov dword [ebp - 0x280], eax
cmp eax, ecx
je 0x1009525b
mov ecx, eax
call fcn.10005540
mov ecx, dword [ebp - 0x27c]
xor eax, eax
movups xmm0, xmmword [ecx]
movups xmmword [edi + 0x68], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [edi + 0x78], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004f10
lea edx, [edi + 0x68]
lea ecx, [ebp - 0x2c]
call fcn.100b3290
mov ecx, eax
mov dword [ebp - 0x27c], ecx
lea eax, [edi + 0x80]
mov dword [ebp - 4], 3
mov dword [ebp - 0x284], eax
cmp eax, ecx
je 0x100952cb
mov ecx, eax
call fcn.10005540
mov eax, dword [ebp - 0x27c]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x80], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x90], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004f10
mov eax, dword [edi + 0x40]
mov ecx, esi
sub eax, dword [edi + 0x78]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.1002ab80
mov ecx, eax
mov dword [ebp - 0x27c], ecx
lea eax, [edi + 0x50]
mov dword [ebp - 4], 4
cmp eax, ecx
je 0x10095335
mov ecx, eax
call fcn.10005540
mov eax, dword [ebp - 0x27c]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004f10
cmp dword [edi + 0x78], 0
jne 0x100953e5
cmp dword [edi + 0x60], 0
jne 0x10095370
lea eax, [edi + 0x50]
cmp eax, esi
je 0x10095370
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x10095365
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.100055f0
mov edi, dword [ebp - 0x280]
cmp edi, esi
je 0x1009538f
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10095384
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.100055f0
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.100b3290
mov esi, eax
mov edi, dword [ebp - 0x284]
mov dword [ebp - 4], 5
cmp edi, esi
je 0x100953d6
mov ecx, edi
call fcn.10005540
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.10004f10
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 0x10