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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1f8]
sub rsp, 0x2f0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x18028e088]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x74], 0x7ff
lea rcx, [rsp + 0x70]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, 8
call fcn.1801cd4e0
mov rbx, rax
mov qword [rsp + 0x20], rax
lea rax, vtable.RC::RCMiniUIRenderFactory.0
mov qword [rbx], rax
lea rax, vtable.RC::RCMiniUIRenderFactorySkia.0
mov qword [rbx], rax
call fcn.18000ef10
mov rdi, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
test al, al
jne 0x1801ecade
mov rax, qword [rbx]
mov rcx, rbx
jmp 0x1801ecaf1
mov rax, qword [rdi]
mov rcx, qword [rax + 0x68]
mov qword [rax + 0x68], rbx
test rcx, rcx
je 0x1801ecaf8
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.18000ef10
mov rsi, rax
mov rcx, qword [rax]
lea rax, [0x180000000]
mov qword [rcx + 0x78], rax
mov rcx, qword [rsi]
mov rdx, qword [rcx + 0x78]
xchg qword [0x1802948c0], rdx
xor edi, edi
cmp byte [0x1802963a1], dil
jne 0x1801ecb98
cmp qword [0x1802963a8], rdi
jne 0x1801ecb98
lea ecx, [rdi + 0x38]
call fcn.1801cd4e0
mov rbx, rax
mov qword [rsp + 0x20], rax
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], rax
lea rax, vtable.RC::RCMiniUIResourceManagerInterface.0
mov qword [rbx], rax
lea rax, vtable.RC::RCMiniUIResourceManager.0
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], rdi
mov rcx, rbx
call fcn.1800102a0
mov byte [0x1802963a1], 1
mov qword [0x1802963a8], rbx
call fcn.18000e3c0
cmp qword [0x1802963b0], 0
jne 0x1801ecbde
mov ecx, 0x80
call fcn.1801cd4e0
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0x80
mov rcx, rax
call fcn.1801cf320
mov rcx, rbx
call fcn.18001f400
nop
mov qword [0x1802963b0], rax
call fcn.18001f7f0
mov rcx, rsi
call fcn.18000f240
mov rcx, qword [0x1802963a8]
test rcx, rcx
je 0x1801ecbfd
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
jmp 0x1801ecc00
mov rcx, rdi
mov rax, qword [rcx]
mov edx, 0x66
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp - 0x7c]
call fcn.1801cf320
mov dword [rbp - 0x80], 0x11c
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1801ecd35
cmp dword [rbp - 0x7c], 6
ja 0x1801ecc4b
jne 0x1801ecce9
cmp dword [rbp - 0x78], 2
jb 0x1801ecce9
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1801ecce9
mov edx, 1
lea r8d, [rdx + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1801ecce9
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1801ecce9
movups xmm0, xmmword [0x1802251f0]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [0x180225200]
movups xmmword [rbp + 0x1d0], xmm1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1801ecce9
lea rcx, [rax + 6]
lea rdx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1801ecce9
cmp word [rbx + 2], ax
jbe 0x1801ecce9
movzx edx, word [rbx + 0x32]
movzx eax, word [rbx + 0x30]
movzx ecx, word [rbx + 0x36]
mov dword [rbp - 0x7c], edx
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x74], 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 0x1801ecd35
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0xa4]
call fcn.1801cf320
mov dword [rbp + 0xa0], 0x11c
lea rcx, [rbp + 0xa0]
call rbx
cmp dword [rbp - 0x7c], 6
jb 0x1801ecdfa
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
mov r8d, 0xf
lea rdx, str.Microsoft_Yahei
lea rcx, [rsp + 0x28]
call fcn.1800089e0
nop
mov rcx, qword [0x1802963a8]
test rcx, rcx
je 0x1801ecd8b
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rax
jmp 0x1801ecd8e
mov rcx, rdi
mov rax, qword [rcx]
mov r8d, 0xfffffff4
lea rdx, [rsp + 0x28]
call qword [rax + 0x18]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1801ecde2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ecddd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ecf25
call fcn.1801ccd54
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
jmp 0x1801eceb0
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov r8d, 2
lea rdx, [0x180219b48]
lea rcx, [rsp + 0x48]
call fcn.1800089e0
nop
mov rcx, qword [0x1802963a8]
test rcx, rcx
je 0x1801ece46
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rax
jmp 0x1801ece49
mov rcx, rdi
mov rax, qword [rcx]
mov r8d, 0xfffffff4
lea rdx, [rsp + 0x48]
call qword [rax + 0x18]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1801ece9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ece98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ecf1f
call fcn.1801ccd54
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rcx, qword [0x180296398]
test rcx, rcx
jne 0x1801ecec1
mov rax, rdi
jmp 0x1801ecec6
mov rax, qword [rcx]
call qword [rax]
mov r8, qword [rax]
mov edx, 0x64
mov rcx, rax
call qword [r8]
mov rcx, qword [0x180296398]
test rcx, rcx
je 0x1801ecee9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, rax
mov r8, qword [rdi]
mov edx, 0x65
mov rcx, rdi
call qword [r8]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1801ccd30
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1801d1a6c
int3
call fcn.1801d1a6c
int3