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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x150
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rdi, rdx
xor ecx, ecx
xor edx, edx
mov esi, r8d
movapd xmm6, xmm0
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor ecx, ecx
mov edx, 0x2710
lea r8d, [rcx + 0xa]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
xor ecx, ecx
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
and qword [rsp + 0x30], 0
xor edx, edx
lea rax, [rsp + 0x30]
lea r8d, [rdx + 1]
lea r9, [0x140037978]
lea rcx, [0x140038dc0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
and qword [rsp + 0x60], 0
mov ebx, eax
test eax, eax
js 0x140012335
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ebx, eax
test eax, eax
js 0x140012335
mov rcx, qword [rsp + 0x60]
mov r8d, esi
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x80]
mov ebx, eax
and qword [rsp + 0x70], 0
test ebx, ebx
js 0x140012364
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
mov r9d, 1
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x60]
xor r8d, r8d
call qword [rax + 0x20]
mov ebx, eax
and qword [rsp + 0x40], 0
test ebx, ebx
js 0x140012382
mov rcx, qword [rsp + 0x70]
lea r8, [rsp + 0x40]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x68]
mov ebx, eax
and qword [rsp + 0x58], 0
test ebx, ebx
js 0x14001239e
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov ebx, eax
and dword [rsp + 0x3c], 0
and dword [rsp + 0x38], 0
test ebx, ebx
js 0x1400123c3
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x3c]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, eax
movdqu xmm0, xmmword [0x140038de0]
movdqu xmmword [rsp + 0x80], xmm0
test ebx, ebx
js 0x1400124ef
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x1400124ef
mov ebx, 0x94
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8, rbx
mov esi, 3
call fcn.1400186e0
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x90], ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
pxor xmm0, xmm0
pxor xmm1, xmm1
cmp dword [rsp + 0x94], 0xa
mov r10, qword [rcx]
mov rdx, qword [rsp + 0x40]
cvtsi2sd xmm0, rax
mov eax, dword [rsp + 0x3c]
lea r12d, [rsi + 1]
mov edi, esi
mulsd xmm0, xmm6
cvttsd2si r9, xmm0
cmovae edi, r12d
cvtsi2sd xmm1, rax
mov dword [rsp + 0x20], edi
mulsd xmm1, xmm6
cvttsd2si r8, xmm1
call qword [r10 + 0x40]
mov ebx, eax
test eax, eax
jns 0x1400124cd
cmp edi, r12d
jne 0x1400124cd
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x40]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, rax
mov eax, dword [rsp + 0x3c]
mov r10, qword [rcx]
mov edi, esi
mov dword [rsp + 0x20], esi
mulsd xmm0, xmm6
cvtsi2sd xmm1, rax
cvttsd2si r9, xmm0
mulsd xmm1, xmm6
cvttsd2si r8, xmm1
call qword [r10 + 0x40]
mov ebx, eax
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x94]
lea rcx, str.interpolation_mode__d__d__d__p
mov edx, edi
mov dword [rsp + 0x20], ebx
call fcn.1400116b0
and qword [rsp + 0x78], 0
test ebx, ebx
js 0x14001250d
lea r8, [rsp + 0x78]
mov edx, 1
xor ecx, ecx
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, eax
and qword [rsp + 0x68], 0
test ebx, ebx
js 0x14001253f
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ebx, eax
test eax, eax
js 0x14001253f
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ebx, eax
and qword [rsp + 0x50], 0
test ebx, ebx
js 0x140012581
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x50]
lea rdx, [0x140038dd0]
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x140012581
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
mov r8d, 2
mov rax, qword [rcx]
call qword [rax + 0x18]
mov ebx, eax
and qword [rsp + 0x48], 0
test ebx, ebx
js 0x1400125fb
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x48]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
js 0x1400125fb
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x1400125fb
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x1400125fb
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
js 0x1400125fb
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
js 0x1400125fb
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001260b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001261b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001262b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001263b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14001264b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001265b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001266b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001267b
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140016a50
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret