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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1f8]
sub rsp, 0x2e0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x18002e010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm6, xmmword [0x180028210]
movdqu xmmword [rsp + 0x48], xmm6
mov word [rsp + 0x38], r14w
test edx, edx
jne 0x1800070df
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm6
movdqa xmm0, xmm6
movdqu xmmword [rsp + 0x48], xmm6
mov word [rsp + 0x38], r14w
jmp 0x18000732a
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x64]
call fcn.18000dba0
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180007211
cmp dword [rsp + 0x64], 6
ja 0x180007124
jne 0x1800071c5
cmp dword [rsp + 0x68], 2
jb 0x1800071c5
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1800071c5
mov edx, 1
lea r8d, [rdx + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1800071c5
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800071c5
movups xmm0, xmmword [0x180027b00]
movups xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [0x180027b10]
movups xmmword [rbp + 0x1b0], xmm1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800071c5
lea rcx, [rax + 6]
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1800071c5
cmp word [rbx + 2], ax
jbe 0x1800071c5
movzx edx, word [rbx + 0x32]
movzx eax, word [rbx + 0x30]
movzx ecx, word [rbx + 0x36]
mov dword [rsp + 0x64], edx
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], ecx
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180007211
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x84]
call fcn.18000dba0
mov dword [rbp + 0x80], 0x11c
lea rcx, [rbp + 0x80]
call rbx
mov r8d, esi
xor edx, edx
cmp dword [rsp + 0x64], 6
jb 0x180007224
mov ecx, 0x1000
jmp 0x180007241
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x180007253
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18000730a
mov rdx, rbx
lea rcx, [rbp + 0x1a0]
call fcn.180007380
nop
lea rcx, [rsp + 0x38]
cmp rcx, rax
je 0x1800072a3
movdqa xmm0, xmmword [0x180028210]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm6, xmmword [rax + 0x10]
movdqu xmmword [rsp + 0x48], xmm6
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 8
jb 0x1800072e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800072e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007375
call fcn.18000c054
movdqa xmm0, xmmword [0x180028210]
movdqu xmmword [rbp + 0x1b0], xmm0
mov word [rbp + 0x1a0], r14w
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm6
movdqa xmm0, xmmword [0x180028210]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
mov dword [rsp + 0x20], 1
movdqa xmm0, xmmword [0x180028210]
mov rax, rdi
mov word [rsp + 0x38], r14w
movdqu xmmword [rsp + 0x48], xmm0
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18000c030
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800101e4
int3