Function at 0x14005da00
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r12d, r9d
mov r13d, r8d
mov r14d, edx
mov rsi, rcx
lea rax, vtable.CSABListControl.0
mov qword [rcx], rax
xor edx, edx
add rcx, 8
call fcn.14005d890
nop
lea rbx, [rsi + 0x1a0]
mov qword [rbp - 0x48], rbx
xor r15d, r15d
mov qword [rbx], r15
mov qword [rbx + 8], r15
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.14000b0b0
mov qword [rbx], rax
mov dword [rsi + 0x460], 0xffffffff
mov dword [rsi + 0x464], 0x15
mov qword [rsi + 0x47c], 0xcfcfcf
mov dword [rsi + 0x468], 0xffffff
mov qword [rsi + 0x46c], 0xffffff
mov qword [rsi + 0x474], r15
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [rbp + 0xd8]
mov eax, ecx
mov ebx, ecx
and ebx, 0xfffffffe
and al, 0x20
cmove ebx, ecx
xor eax, eax
mov qword [rsi + 0x1e0], rax
mov qword [rsi + 0x1e8], rax
mov dword [rsi + 0x484], 0xcfcfcf
mov dword [rsi + 0x488], 0xffffff
mov qword [rsi + 0x200], r15
mov dword [rsi + 0x1fc], r15d
mov qword [rsi + 0x208], r15
mov dword [rsi + 0x198], reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsi + 0x49c], 0x10
mov dword [rsi + 0x4a0], 0xa
mov dword [rsi + 0x4a4], 0xa
mov dword [rsi + 0x4a8], 0x12
mov dword [rsi + 0x4ac], 0xf
mov qword [rsi + 0x4b0], 0xf
mov dword [rsi + 0x4b8], 0xffffffff
mov qword [rsi + 0x1c4], r15
mov dword [rsi + 0x1cc], 1
mov qword [rsi + 0x440], r15
mov qword [rsi + 0x448], r15
mov qword [rsi + 0x430], r15
mov qword [rsi + 0x428], r15
mov qword [rsi + 0x438], r15
mov qword [rsi + 0x418], r15
mov qword [rsi + 0x420], r15
lea rcx, [rsi + 0x1d0]
mov dword [rsp + 0x20], 2
mov edx, 4
mov r9d, edx
lea r8d, [r15 + 2]
call qword [sym.imp.USER32.dll_SetRect]
movzx eax, bl
not al
movzx ecx, al
shr ecx, 5
and ecx, 1
mov dword [rsi + 0x1f8], ecx
mov dword [rsi + 0xd0], 0xffffffff
mov dword [rsi + 0xc8], 1
mov dword [rsi + 0xcc], 5
mov dword [rsi + 0x1b4], 5
mov dword [rsi + 0x1b8], 8
mov dword [rsi + 0x1bc], ebx
mov dword [rsi + 0x1b0], 3
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x48], 9
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], SafeArrayGetDim
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], 1
lea r9d, [r15 + 8]
xor r8d, r8d
lea edx, [r15 + 9]
mov rcx, rsi
call fcn.140066920
mov edx, dword [rsi + 0x10]
or edx, 1
mov r8, rsi
lea rcx, [rsi + 8]
call fcn.140065f50
mov dword [rsi + 0x19c], r15d
mov dword [rsi + 0x118], PathResolve
mov dword [rsi + 0x11c], 0xaf
lea rcx, [rsi + 0x128]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x120], eax
mov rdi, qword [rbp + 0xc8]
mov qword [rsi + 0xf8], rdi
mov dword [rsp + 0x60], 0x50
mov dword [rsp + 0x64], SafeArrayGetDim
lea rax, [0x140063490]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], rdi
mov qword [rbp - 0x80], r15
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
lea rax, str.ListControl_WndClass
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], r15
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov dword [rsp + 0x64], SafeArrayGetDim
lea rax, [0x1400616f0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r15
mov rax, qword [rsi + 0xf8]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r15
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
lea rbx, str.ListControl_HiddenParentWndClass
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], r15
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x80000000
lea r8, [0x1402849c8]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsi + 0x108], rax
mov r15d, dword [rbp + 0xd0]
test r15d, r15d
je 0x14005ddc4
bt r14d, 0x1e
jb 0x14005ddc4
bts r14d, 0x1e
mov rbx, qword [rbp + 0xc0]
test rbx, rbx
jne 0x14005ddd9
bt r14d, 0x1e
cmovb rbx, rax
xor edx, edx
mov r8d, 0x98
lea rcx, [rbp - 0x3c]
call fcn.140249b10
mov dword [rbp - 0x40], 0x9c
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rbp - 0x3c], 5
jne 0x14005de0b
cmp dword [rbp - 0x38], 0
jne 0x14005de0b
xor ecx, ecx
jmp 0x14005de10
mov ecx, 0x2000000
mov rax, r15
mov r9d, r14d
bts r9d, 0x19
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov eax, dword [rbp + 0xb8]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xb0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
lea r8, [0x1402849c8]
lea rdx, str.ListControl_WndClass
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rsi + 0x110], rax
xor r8d, r8d
lea edx, [r15 + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableScrollBar]
xor r9d, r9d
mov r8, rsi
lea edx, [r15 + 0x12]
mov rcx, qword [rsi + 0x110]
call fcn.1400ddaf0
bt r14d, 0x1c
jae 0x14005debf
mov rcx, qword [rsi + 0x110]
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14005debf
mov rcx, qword [rsi + 0x110]
call qword [sym.imp.USER32.dll_SetFocus]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r15
mov rax, qword [rsi + 0x110]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0x80000033
xor r8d, r8d
lea rdx, str.tooltips_class32
lea ecx, [r8 + 0x28]
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rsi + 0x100], rax
xor r9d, r9d
mov edx, 0x403
lea r8d, [r9 + 3]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
mov edx, 0x403
lea r8d, [r9 + 1]
mov rcx, qword [rsi + 0x100]
call qword [sym.imp.USER32.dll_SendMessageA]
mov edx, 0x403
mov r9d, 0x7d00
mov r8d, 2
mov rcx, qword [rsi + 0x100]
call qword [sym.imp.USER32.dll_SendMessageA]
nop
mov rax, rsi
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret