Function at 0x10002590c
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x180
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1000a1108]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
add rcx, 8
mov qword [rsp + 0x28], rcx
xor esi, esi
mov qword [rcx], rsi
lea rax, [rcx + 8]
mov qword [rsp + 0x20], rax
mov qword [rax], rsi
mov dword [rax + 8], esi
mov dword [rax + 0xc], esi
lea rax, [rcx + 0x18]
mov qword [rsp + 0x20], rax
mov qword [rax], rsi
mov dword [rax + 8], esi
mov dword [rax + 0xc], esi
mov qword [rcx + 0x28], rsi
mov dword [rcx + 0x30], 0x522
cmp byte [0x1000a2a61], sil
jne 0x100025a39
mov rdi, qword [0x1000a2a20]
add rdi, 0x18
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x38], sil
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x38], 1
cmp byte [0x1000a2a61], sil
jne 0x100025a2b
mov dword [rsp + 0x20], 8
mov dword [rsp + 0x24], 0x404
lea rcx, [rsp + 0x20]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
xor edx, edx
mov r8d, VarUI4FromDisp
lea rcx, [rsp + 0x54]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x50], VarUI4FromDisp
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, esi
je 0x100025a15
cmp dword [rsp + 0x54], 5
jae 0x100025a11
cmp dword [rsp + 0x54], 4
jne 0x100025a15
cmp dword [rsp + 0x58], 0x5a
jb 0x100025a15
mov eax, esi
jmp 0x100025a1a
mov eax, 1
cmp al, sil
sete byte [0x1000a2a60]
mov byte [0x1000a2a61], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rsp + 0x38], sil
lea rax, [rbx + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rax + 0x18], rsi
mov qword [rbx + 0x60], rsi
mov dword [rbx + 0x68], esi
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rbx + 0x70], rax
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x80], rsi
mov qword [rbx + 0x88], rsi
mov dword [rbx + 0x90], esi
mov dword [rbx + 0x94], esi
mov dword [rbx + 0x98], 0xb
lea rcx, [rbx + 0xa0]
mov qword [rsp + 0x28], rcx
mov qword [rcx], rsi
lea rax, [rcx + 8]
mov qword [rsp + 0x20], rax
mov qword [rax + 0x18], rsi
mov qword [rcx + 0x28], rsi
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rbx
mov dword [rcx + 0x40], 1
mov qword [rcx + 0x48], rsi
mov byte [rbx + 0xf0], 0x84
mov byte [rbx + 0xf1], 8
and byte [rbx + 0xf2], 0xfe
or eax, 0xffffffff
mov dword [rbx + 0xf4], eax
mov dword [rbx + 0xf8], eax
mov dword [rbx + 0x10c], 0xc0c0c0
mov qword [rbx + 0x110], rsi
mov dword [rbx + 0x118], esi
mov qword [rbx + 0x120], rsi
mov dword [rbx + 0x128], esi
mov qword [rbx + 0x130], rsi
mov dword [rbx + 0x138], esi
mov dword [rbx + 0x13c], esi
mov rcx, qword [rbx + 0x80]
cmp rcx, rsi
je 0x100025b3f
call qword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
cmp eax, esi
jne 0x100025b67
mov rcx, qword [rbx + 0x80]
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov qword [rbx + 0x80], rsi
mov dword [rbx + 0xfc], 0x10
mov dword [rbx + 0x100], 0xf
mov dword [rbx + 0x104], 0x16
mov dword [rbx + 0x108], 0x15
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.10007a3b0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret