Function at 0x14000e770
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x330
mov rax, qword [0x1400d8538]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov dword [rsp + 0x60], 0x154
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x120], eax
lea rax, [rsp + 0x124]
mov rdi, rax
xor eax, eax
mov ecx, 0x150
rep stosb byte [rdi], al
xor r9d, r9d
lea r8, [rsp + 0x120]
mov edx, 0x154
mov ecx, 0x29
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14000eab6
lea rax, [rsp + 0xd8]
mov rdi, rax
xor eax, eax
mov ecx, 0x3c
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x340]
cmp qword [rax + 0x110], 0
je 0x14000e842
lea r8, [rsp + 0xd8]
mov edx, 0x3c
mov rax, qword [rsp + 0x340]
mov rcx, qword [rax + 0x110]
call qword [sym.imp.GDI32.dll_GetObjectA]
cdqe
cmp rax, 0x3c
jne 0x14000e83a
mov dword [rsp + 0x64], 1
jmp 0x14000e842
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x1c0]
cmp dword [rsp + 0xd8], eax
jne 0x14000e970
mov eax, dword [rsp + 0x1c4]
cmp dword [rsp + 0xdc], eax
jne 0x14000e970
mov eax, dword [rsp + 0x1c8]
cmp dword [rsp + 0xe0], eax
jne 0x14000e970
mov eax, dword [rsp + 0x1cc]
cmp dword [rsp + 0xe4], eax
jne 0x14000e970
mov eax, dword [rsp + 0x1d0]
cmp dword [rsp + 0xe8], eax
jne 0x14000e970
movzx eax, byte [rsp + 0xec]
movzx ecx, byte [rsp + 0x1d4]
cmp eax, ecx
jne 0x14000e970
movzx eax, byte [rsp + 0xed]
movzx ecx, byte [rsp + 0x1d5]
cmp eax, ecx
jne 0x14000e970
movzx eax, byte [rsp + 0xee]
movzx ecx, byte [rsp + 0x1d6]
cmp eax, ecx
jne 0x14000e970
movzx eax, byte [rsp + 0xef]
movzx ecx, byte [rsp + 0x1d7]
cmp eax, ecx
jne 0x14000e970
movzx eax, byte [rsp + 0xf0]
movzx ecx, byte [rsp + 0x1d8]
cmp eax, ecx
jne 0x14000e970
movzx eax, byte [rsp + 0xf1]
movzx ecx, byte [rsp + 0x1d9]
cmp eax, ecx
jne 0x14000e970
movzx eax, byte [rsp + 0xf2]
movzx ecx, byte [rsp + 0x1da]
cmp eax, ecx
jne 0x14000e970
movzx eax, byte [rsp + 0xf3]
movzx ecx, byte [rsp + 0x1db]
cmp eax, ecx
jne 0x14000e970
lea rdx, [rsp + 0x1dc]
lea rcx, [rsp + 0xf4]
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x14000eab6
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000eab6
mov rax, qword [rsp + 0x340]
cmp qword [rax + 0x110], 0
je 0x14000e9e2
mov rax, qword [rsp + 0x340]
add rax, 0x110
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x14000e9e2
mov rax, qword [rsp + 0x88]
mov qword [rax], 0
mov rax, qword [rsp + 0x340]
add rax, 0x110
mov qword [rsp + 0x50], rax
xor eax, eax
cmp eax, 1
je 0x14000ea24
mov rax, qword [rsp + 0x50]
cmp qword [rax], 0
je 0x14000ea24
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
cmp qword [rax], rcx
je 0x14000ea24
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov rax, qword [rsp + 0x340]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0xa8], rax
mov eax, 1
and rax, 0xffff
movzx eax, ax
mov r9d, eax
mov r8, qword [rsp + 0xa8]
mov edx, 0x30
mov rax, qword [rsp + 0x340]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_SendMessageA]
lea r9, [0x1400835f8]
xor r8d, r8d
mov edx, 0x41c
mov rax, qword [rsp + 0x340]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_SendMessageA]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x421
mov rax, qword [rsp + 0x340]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [rsp + 0x340]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_GetWindowDC]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x340]
mov rax, qword [rax + 0x110]
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc8], 0
mov dword [rsp + 0xcc], 0
mov dword [rsp + 0xd0], 0
mov dword [rsp + 0xd4], 0
mov dword [rsp + 0x20], 0x424
lea r9, [rsp + 0xc8]
mov r8d, 0xffffffff
lea rdx, [0x1400835fc]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xd0]
sub ecx, eax
mov eax, ecx
cmp eax, 4
jge 0x14000ebeb
lea rcx, [rsp + 0xc8]
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [rsp + 0x20], 0x424
lea r9, [rsp + 0xc8]
mov r8d, 0xffffffff
lea rdx, [0x140083600]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_DrawTextA]
mov eax, dword [rsp + 0xc8]
mov ecx, dword [rsp + 0xd0]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x340]
mov dword [rcx + 0x128], eax
jmp 0x14000ebfd
mov rax, qword [rsp + 0x340]
mov dword [rax + 0x128], 0
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x280], 0x94
lea rax, [rsp + 0x284]
mov rdi, rax
xor eax, eax
mov ecx, 0x90
rep stosb byte [rdi], al
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x284], 5
jb 0x14000ed0b
mov dword [rsp + 0x38], 1
xor r9d, r9d
lea r8, [rsp + 0x38]
xor edx, edx
mov ecx, 0x100a
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14000ec81
cmp dword [rsp + 0x38], 0
jne 0x14000ec81
mov byte [rsp + 0x31], 1
jmp 0x14000ec86
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x340]
movzx ecx, byte [rcx + 0xf1]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x340]
mov byte [rcx + 0xf1], al
mov rax, qword [rsp + 0x340]
movzx eax, byte [rax + 0xf1]
or al, 8
mov rcx, qword [rsp + 0x340]
mov byte [rcx + 0xf1], al
mov rax, qword [rsp + 0x340]
movzx eax, byte [rax + 0xf1]
shr al, 1
and al, 1
movzx eax, al
test eax, eax
jne 0x14000ecf4
mov byte [rsp + 0x32], 1
jmp 0x14000ecf9
mov byte [rsp + 0x32], 0
movzx edx, byte [rsp + 0x32]
mov rcx, qword [rsp + 0x340]
call fcn.14001b9b0
cmp dword [rsp + 0x284], 5
jne 0x14000ed1f
cmp dword [rsp + 0x288], 1
jae 0x14000ed29
cmp dword [rsp + 0x284], 5
jbe 0x14000ed90
mov dword [rsp + 0x3c], 0
xor r9d, r9d
lea r8, [rsp + 0x3c]
xor edx, edx
mov ecx, 0x1022
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x14000ed5f
cmp dword [rsp + 0x3c], 0
je 0x14000ed5f
mov byte [rsp + 0x33], 1
jmp 0x14000ed64
mov byte [rsp + 0x33], 0
movzx eax, byte [rsp + 0x33]
and al, 1
mov rcx, qword [rsp + 0x340]
movzx ecx, byte [rcx + 0xf1]
and cl, 0xfe
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x340]
mov byte [rcx + 0xf1], al
call fcn.14000f790
movzx eax, al
test eax, eax
je 0x14000edc1
xor eax, eax
test eax, eax
je 0x14000edc1
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x98]
and eax, 0x10
test eax, eax
jne 0x14000edc1
mov dword [rsp + 0x40], 1
jmp 0x14000edc9
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14000eeb0
lea rcx, str.uxtheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000eeb0
lea rdx, str.IsThemeActive
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x98], rax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14000ee40
cmp qword [rsp + 0x98], 0
je 0x14000ee40
call qword [rsp + 0x98]
test eax, eax
je 0x14000ee40
mov dword [rsp + 0x44], 1
jmp 0x14000ee48
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
mov byte [rsp + 0x30], al
lea rdx, str.IsAppThemed
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xa0], rax
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x14000ee94
cmp qword [rsp + 0xa0], 0
je 0x14000ee94
call qword [rsp + 0xa0]
test eax, eax
je 0x14000ee94
mov dword [rsp + 0x48], 1
jmp 0x14000ee9c
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x30], al
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14000ef16
mov rax, qword [rsp + 0x340]
movzx eax, byte [rax + 0xf2]
and al, 1
movzx eax, al
test eax, eax
je 0x14000ef16
mov rax, qword [rsp + 0x340]
cmp qword [rax + 0x78], 0
je 0x14000ef16
mov rax, qword [rsp + 0x340]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jle 0x14000ef16
mov rax, qword [rsp + 0x340]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14001f830
movzx eax, byte [rsp + 0x30]
and al, 1
mov rcx, qword [rsp + 0x340]
movzx ecx, byte [rcx + 0xf2]
and cl, 0xfe
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x340]
mov byte [rcx + 0xf2], al
lea rcx, [rsp + 0x78]
call fcn.1400035f0
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.140022d70
add rsp, 0x330
pop rdi
ret