Function at 0x1400122a0
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 [0x14003f9c0]
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, [0x140036948]
lea rcx, [0x140037d70]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
and qword [rsp + 0x60], 0
mov ebx, eax
test eax, eax
js 0x140012371
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ebx, eax
test eax, eax
js 0x140012371
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 0x1400123a0
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 0x1400123be
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 0x1400123da
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 0x1400123ff
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 [0x140037d90]
movdqu xmmword [rsp + 0x80], xmm0
test ebx, ebx
js 0x14001252b
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov ebx, eax
test eax, eax
js 0x14001252b
mov ebx, 0x94
lea rcx, [rsp + 0x90]
xor edx, edx
mov r8, rbx
mov esi, 3
call fcn.1400184b0
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 0x140012509
cmp edi, r12d
jne 0x140012509
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.1400116ec
and qword [rsp + 0x78], 0
test ebx, ebx
js 0x140012549
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 0x14001257b
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov ebx, eax
test eax, eax
js 0x14001257b
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 0x1400125bd
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x50]
lea rdx, [0x140037d80]
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
js 0x1400125bd
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 0x140012637
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x48]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x50]
test eax, eax
js 0x140012637
mov rcx, qword [rsp + 0x48]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
js 0x140012637
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x140012637
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 0x140012637
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x60]
test eax, eax
js 0x140012637
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140012647
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140012657
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140012667
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140012677
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140012687
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140012697
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400126a7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400126b7
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.140016820
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret