Function at 0x140001680
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x170
lea rbp, [0x1401f7d10]
mov qword [rax + 8], rbp
xor edx, edx
mov rcx, rbp
call fcn.1400f4b54
nop
lea rax, vtable.CMCWinAppEx.0
mov qword [0x1401f7d10], rax
lea rcx, [0x1401f80a0]
call fcn.1400fe9b4
nop
lea rax, vtable.CMap_unsigned_int__unsigned_int__int__int_.0
mov qword [0x1401f80b0], rax
xor edi, edi
mov qword [0x1401f80b8], rdi
mov dword [0x1401f80c0], 0x11
mov qword [0x1401f80c8], rdi
xorps xmm0, xmm0
movdqa xmmword [0x1401f80d0], xmm0
mov qword [0x1401f80e0], 0xa
lea rax, vtable.CMap_int__int__int__int_.0
mov qword [0x1401f80e8], rax
mov qword [0x1401f80f0], rdi
mov dword [0x1401f80f8], 0x11
movdqa xmmword [0x1401f8100], xmm0
movdqa xmm1, xmmword [0x1401b0ae0]
movdqa xmmword [0x1401f8110], xmm1
mov dword [rsp + 0x50], 0x114
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rsp + 0x60]
sub eax, 1
je 0x140001772
cmp eax, 1
je 0x140001766
lea eax, [rdi + 5]
jmp 0x14000178b
cmp dword [rsp + 0x54], 5
sbb eax, eax
add eax, 3
jmp 0x14000178b
cmp dword [rsp + 0x54], 4
ja 0x140001786
jne 0x140001782
cmp dword [rsp + 0x58], 0
ja 0x140001786
mov eax, edi
jmp 0x14000178b
mov eax, 1
mov dword [0x1401f7e88], eax
dec eax
test eax, 0xfffffffd
sete byte [0x1401f8098]
mov dword [0x1401f7e8c], edi
lea rcx, str.COMCTL32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14000180c
lea rdx, str.DllGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400017f9
mov dword [rsp + 0x30], 0x14
lea rcx, [rsp + 0x30]
call rax
test eax, eax
js 0x140001803
movzx ecx, word [rsp + 0x34]
shl ecx, 0x10
movzx eax, word [rsp + 0x38]
or ecx, eax
mov dword [0x1401f7e8c], ecx
jmp 0x140001803
mov dword [0x1401f7e8c], 0x40000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbp
call fcn.1400d35f0
nop
lea rax, vtable.CCDLabelerApp.0
mov qword [0x1401f7d10], rax
mov ecx, 0xe8
call fcn.1400f2ce0
mov r14, rax
mov qword [rsp + 0x198], rax
test rax, rax
je 0x1400019c0
lea rax, vtable.CSettings.0
mov qword [r14], rax
mov qword [r14 + 0xb0], rdi
lea rcx, [r14 + 0xc0]
call fcn.140002570
nop
lea rcx, [r14 + 0xd0]
call fcn.140002570
nop
lea rcx, [r14 + 0xd8]
call fcn.140002570
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r14 + 0x38], xmm0
movups xmmword [r14 + 0x48], xmm0
movups xmmword [r14 + 0x58], xmm0
mov qword [r14 + 0x68], rax
mov dword [r14 + 0x5c], 0x1d3
mov dword [r14 + 0x60], 0x1f
mov dword [r14 + 0x64], 0x1f
mov dword [r14 + 0x58], 0x25d
mov dword [r14 + 0x3c], 0x1dc
mov dword [r14 + 0x40], 0x1e0
mov dword [r14 + 0x38], 0x1e0
mov dword [r14 + 0x68], 0x4b
mov dword [r14 + 0x6c], 0xe8
movups xmm0, xmmword [r14 + 0x38]
movups xmmword [r14 + 0x70], xmm0
movups xmm1, xmmword [r14 + 0x48]
movups xmmword [r14 + 0x80], xmm1
movups xmm0, xmmword [r14 + 0x58]
movups xmmword [r14 + 0x90], xmm0
movsd xmm1, qword [r14 + 0x68]
movsd qword [r14 + 0xa0], xmm1
mov dword [r14 + 0xa8], 0x32
mov dword [r14 + 0xac], 0xffffff
mov byte [r14 + 0xb8], 1
mov dword [r14 + 0xe0], 0xf7f3f7
xorps xmm0, xmm0
movups xmmword [r14 + 8], xmm0
movups xmmword [r14 + 0x18], xmm0
mov qword [r14 + 0x28], rax
mov dword [r14 + 0x30], eax
mov byte [r14 + 0x34], al
xor r9d, r9d
lea rdx, str.DataCDLabel
lea rcx, [r14 + 0xc0]
call fcn.140035440
mov dword [r14 + 0xc8], 0x1010101
mov word [r14 + 0xcc], 0x101
mov byte [r14 + 0xce], 1
xor r9d, r9d
lea rdx, str.Default
lea rcx, [r14 + 0xd0]
call fcn.140035440
xor r9d, r9d
lea rdx, str.DataLabel_Themes
lea rcx, [r14 + 0xd8]
call fcn.140035440
mov byte [r14 + 0xcf], 1
mov rcx, r14
call fcn.140015db0
nop
jmp 0x1400019c3
mov r14, rdi
mov qword [0x1401f7b80], r14
mov byte [0x1401f8120], 0
mov rax, rbp
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret