Function at 0x140023fbc
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1f0
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400c2688]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, rcx
call fcn.140033ac8
lea r15, [rdi + 0x148]
mov r8, rdi
mov edx, 0x3f4
mov rcx, r15
call fcn.14002f82c
lea r14, [rdi + 0x230]
mov r8, rdi
mov edx, 0x3f3
mov rcx, r14
call fcn.14002f82c
mov dword [rbp - 0x40], 0x11c
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rsi, [rdi + 0x138]
and dword [rsp + 0x28], 0
mov r9d, 0x21
mov rcx, rsi
and dword [rsp + 0x20], 0
cmp dword [rbp - 0x3c], 0xa
lea edx, [r9 - 0xd]
jae 0x140024065
lea edx, [r9 - 0x11]
mov r8d, edx
call fcn.14003638c
call fcn.1400293ac
call fcn.1400293ac
mov edx, 0x83
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov r8, rax
or r12d, 0xffffffff
mov edx, r12d
mov rcx, qword [rdi + 0x140]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call fcn.1400293ac
call fcn.1400293ac
mov edx, 0x84
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov r8, rax
mov edx, r12d
mov rcx, qword [rdi + 0x140]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call fcn.1400293ac
call fcn.1400293ac
mov edx, 0x86
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov r8, rax
mov edx, r12d
mov rcx, qword [rdi + 0x140]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
call fcn.1400293ac
call fcn.1400293ac
mov edx, 0x87
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov r8, rax
mov edx, r12d
mov rcx, qword [rdi + 0x140]
call qword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edx, 0x3ec
mov rcx, rdi
call fcn.140032178
mov rbx, rax
lea r9d, [r12 + 0x25]
xor r8d, r8d
mov edx, 0x1036
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test rsi, rsi
jne 0x140024152
xor r9d, r9d
jmp 0x140024156
mov r9, qword [rsi + 8]
mov esi, 1
mov r8d, esi
mov edx, 0x1003
mov rcx, qword [rbx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.140036464
call fcn.1400293ac
mov r8d, 0x4e22
lea rdx, [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0xa0
xor r9d, r9d
mov r8, qword [rax]
xor edx, edx
mov rcx, rbx
call fcn.140036850
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400241ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e23
lea rdx, [rsp + 0x38]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x78
mov r9d, 2
mov r8, qword [rax]
mov edx, esi
mov rcx, rbx
call fcn.140036850
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14002422a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e28
lea rdx, [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x78
mov r9d, 2
mov r8, qword [rax]
mov edx, r9d
mov rcx, rbx
call fcn.140036850
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140024287
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e24
lea rdx, [rsp + 0x48]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x64
mov r9d, 2
mov r8, qword [rax]
lea edx, [r9 + 1]
mov rcx, rbx
call fcn.140036850
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400242e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e25
lea rdx, [rsp + 0x50]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x64
mov r9d, esi
mov r8, qword [rax]
mov edx, 4
mov rcx, rbx
call fcn.140036850
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140024341
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e26
lea rdx, [rsp + 0x58]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x64
mov r9d, esi
mov r8, qword [rax]
mov edx, 5
mov rcx, rbx
call fcn.140036850
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14002439d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e27
lea rdx, [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x46
mov r9d, esi
mov r8, qword [rax]
mov edx, 6
mov rcx, rbx
call fcn.140036850
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400243f9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e20
lea rdx, [rsp + 0x68]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rdx, qword [rax]
mov rcx, r15
call fcn.140032d38
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140024440
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e21
lea rdx, [rsp + 0x70]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rbx, qword [rax]
mov edx, 0x40f
mov rcx, rdi
call fcn.140032178
mov rcx, rax
mov rdx, rbx
call fcn.140032d38
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140024497
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e2c
lea rdx, [rsp + 0x78]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rdx, qword [rax]
mov rcx, r14
call fcn.140032d38
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400244de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
call fcn.1400293ac
mov r8d, 0xc8
lea rdx, [rbp - 0x80]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rdx, rax
mov rcx, r14
call fcn.14002263c
call fcn.1400293ac
mov r8d, 0x4e29
lea rdx, [rbp - 0x78]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rbx, qword [rax]
mov edx, 0x432
mov rcx, rdi
call fcn.140032178
mov rcx, rax
mov rdx, rbx
call fcn.140032d38
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14002455f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e2a
lea rdx, [rbp - 0x70]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rbx, qword [rax]
mov edx, 0x431
mov rcx, rdi
call fcn.140032178
mov rcx, rax
mov rdx, rbx
call fcn.140032d38
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x1400245b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e2b
lea rdx, [rbp - 0x68]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rbx, qword [rax]
mov edx, 0x433
mov rcx, rdi
call fcn.140032178
mov rcx, rax
mov rdx, rbx
call fcn.140032d38
nop
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140024609
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e31
lea rdx, [rbp - 0x60]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rbx, qword [rax]
mov edx, 0x45a
mov rcx, rdi
call fcn.140032178
mov rcx, rax
mov rdx, rbx
call fcn.140032d38
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14002465e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400293ac
mov r8d, 0x4e33
lea rdx, [rbp - 0x58]
mov rcx, qword [rax + 8]
call fcn.14000d8dc
nop
mov rbx, qword [rax]
mov edx, 0x45f
mov rcx, rdi
call fcn.140032178
mov rcx, rax
mov rdx, rbx
call fcn.140032d38
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
mov r8d, r12d
lock xadd dword [rdx + 0x10], r8d
add r8d, r12d
test r8d, r8d
jg 0x1400246b6
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov r8, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [r8 + 0x318]
mov eax, esi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.14005ef50
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret