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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18028e088]
xor rax, rsp
mov qword [rbp + 0x1f8], rax
mov r15, rcx
xor edx, edx
mov r8d, 0x118
lea rcx, [rsp + 0x64]
call fcn.1801cf320
mov dword [rsp + 0x60], 0x11c
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x180094f40
cmp dword [rsp + 0x64], 6
ja 0x180094e53
jne 0x180094ef4
cmp dword [rsp + 0x68], 2
jb 0x180094ef4
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x180094ef4
mov edx, 1
lea r8d, [rdx + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x180094ef4
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x180094ef4
movups xmm0, xmmword [0x1802251f0]
movups xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [0x180225200]
movups xmmword [rbp + 0x1b0], xmm1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180094ef4
lea rcx, [rax + 6]
lea rdx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x180094ef4
cmp word [rbx + 2], ax
jbe 0x180094ef4
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 0x180094f40
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x84]
call fcn.1801cf320
mov dword [rbp + 0x80], 0x11c
lea rcx, [rbp + 0x80]
call rbx
cmp dword [rsp + 0x64], 6
jae 0x180094f4e
xor al, al
jmp 0x18009512b
test r15, r15
je 0x180094f47
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1b0], xmm0
movdqa xmm1, xmmword [0x18023af10]
movdqu xmmword [rbp + 0x1b0], xmm1
xor r12d, r12d
mov word [rbp + 0x1a0], r12w
lea r8d, [r12 + 0xc]
lea rdx, str.Advapi32.dll
lea rcx, [rbp + 0x1a0]
call fcn.1800089e0
nop
call fcn.180098a90
mov rcx, rax
lea rdx, [rbp + 0x1a0]
call fcn.180098b30
mov rbx, rax
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 8
jb 0x180094fef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180094fea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180095156
call fcn.1801ccd54
movdqa xmm0, xmmword [0x18023af10]
movdqu xmmword [rbp + 0x1b0], xmm0
mov word [rbp + 0x1a0], r12w
test rbx, rbx
je 0x180094f47
xor dil, dil
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x5c], r12d
mov dword [rsp + 0x58], r12d
movups xmm0, xmmword [str.ConvertStringSecurityDescriptorToSecurityDescriptorW]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [0x1802260e0]
movups xmmword [rbp + 0x1d0], xmm1
movups xmm0, xmmword [0x1802260f0]
movups xmmword [rbp + 0x1e0], xmm0
mov eax, dword [0x180226100]
mov dword [rbp + 0x1f0], eax
movzx eax, byte [0x180226104]
mov byte [rbp + 0x1f4], al
lea rdx, [rbp + 0x1c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x180094f47
lea rdx, str.GetSecurityDescriptorSacl
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x180094f47
lea rdx, str.SetSecurityInfo
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x180094f47
xor r9d, r9d
lea r8, [rsp + 0x48]
lea edx, [r9 + 1]
lea rcx, str.S:_ML__NW___LW_
call r14
test eax, eax
je 0x180095127
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x48]
call rsi
test eax, eax
je 0x18009511c
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea edx, [r9 + 6]
lea r8d, [r9 + 0x10]
mov rcx, r15
call rbx
test eax, eax
sete dil
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movzx eax, dil
mov rcx, qword [rbp + 0x1f8]
xor rcx, rsp
call fcn.1801ccd30
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1801d1a6c
int3