Function at 0x1801eca40
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.1801cd4f0
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.18000ef20
mov rdi, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
test al, al
jne 0x1801ecaee
mov rax, qword [rbx]
mov rcx, rbx
jmp 0x1801ecb01
mov rax, qword [rdi]
mov rcx, qword [rax + 0x68]
mov qword [rax + 0x68], rbx
test rcx, rcx
je 0x1801ecb08
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.18000ef20
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 [0x1802948e0], rdx
xor edi, edi
cmp byte [0x1802963c1], dil
jne 0x1801ecba8
cmp qword [0x1802963c8], rdi
jne 0x1801ecba8
lea ecx, [rdi + 0x38]
call fcn.1801cd4f0
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.1800102b0
mov byte [0x1802963c1], 1
mov qword [0x1802963c8], rbx
call fcn.18000e3d0
cmp qword [0x1802963d0], 0
jne 0x1801ecbee
mov ecx, 0x80
call fcn.1801cd4f0
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0x80
mov rcx, rax
call fcn.1801cf330
mov rcx, rbx
call fcn.18001f410
nop
mov qword [0x1802963d0], rax
call fcn.18001f800
mov rcx, rsi
call fcn.18000f250
mov rcx, qword [0x1802963c8]
test rcx, rcx
je 0x1801ecc0d
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
jmp 0x1801ecc10
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.1801cf330
mov dword [rbp - 0x80], 0x11c
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1801ecd45
cmp dword [rbp - 0x7c], 6
ja 0x1801ecc5b
jne 0x1801eccf9
cmp dword [rbp - 0x78], 2
jb 0x1801eccf9
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x1801eccf9
mov edx, 1
lea r8d, [rdx + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x1801eccf9
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1801eccf9
movups xmm0, xmmword [0x1802255d0]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [0x1802255e0]
movups xmmword [rbp + 0x1d0], xmm1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1801eccf9
lea rcx, [rax + 6]
lea rdx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1801eccf9
cmp word [rbx + 2], ax
jbe 0x1801eccf9
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 0x1801ecd45
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0xa4]
call fcn.1801cf330
mov dword [rbp + 0xa0], 0x11c
lea rcx, [rbp + 0xa0]
call rbx
cmp dword [rbp - 0x7c], 6
jb 0x1801ece0a
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 [0x1802963c8]
test rcx, rcx
je 0x1801ecd9b
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rax
jmp 0x1801ecd9e
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 0x1801ecdf2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ecded
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ecf35
call fcn.1801ccd64
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], di
jmp 0x1801ecec0
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 [0x1802963c8]
test rcx, rcx
je 0x1801ece56
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rax
jmp 0x1801ece59
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 0x1801ecead
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801ecea8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801ecf2f
call fcn.1801ccd64
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov rcx, qword [0x1802963b8]
test rcx, rcx
jne 0x1801eced1
mov rax, rdi
jmp 0x1801eced6
mov rax, qword [rcx]
call qword [rax]
mov r8, qword [rax]
mov edx, 0x64
mov rcx, rax
call qword [r8]
mov rcx, qword [0x1802963b8]
test rcx, rcx
je 0x1801ecef9
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.1801ccd40
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.1801d1a7c
int3
call fcn.1801d1a7c
int3