Function at 0x438a20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46551b
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x4826d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x110
lea eax, [ebp - 0x498]
mov dword [ebp - 0x49c], 0x114
push 0
push eax
call fcn.00446f50
add esp, 0xc
lea eax, [ebp - 0x49c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x438a8e
cmp dword [ebp - 0x498], 6
mov eax, 0x1f8
jae 0x438a93
mov eax, 0x1f4
push 0x1f4
mov dword [ebp - 0x274], eax
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.00446f50
add esp, 0xc
lea eax, [ebp - 0x274]
push 0
push eax
push 0x1f8
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x438c28
push 0x5c
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00446f50
mov eax, dword [edi + 0xa4]
add esp, 0xc
test eax, eax
je 0x438af4
lea ecx, [ebp - 0x7c]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x194]
jne 0x438ba8
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x190]
jne 0x438ba8
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x18c]
jne 0x438ba8
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x188]
jne 0x438ba8
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x184]
jne 0x438ba8
mov al, byte [ebp - 0x68]
cmp al, byte [ebp - 0x180]
jne 0x438ba8
mov al, byte [ebp - 0x67]
cmp al, byte [ebp - 0x17f]
jne 0x438ba8
mov al, byte [ebp - 0x66]
cmp al, byte [ebp - 0x17e]
jne 0x438ba8
mov al, byte [ebp - 0x65]
cmp al, byte [ebp - 0x17d]
jne 0x438ba8
mov al, byte [ebp - 0x64]
cmp al, byte [ebp - 0x17c]
jne 0x438ba8
mov al, byte [ebp - 0x63]
cmp al, byte [ebp - 0x17b]
jne 0x438ba8
mov al, byte [ebp - 0x62]
cmp al, byte [ebp - 0x17a]
jne 0x438ba8
mov al, byte [ebp - 0x61]
cmp al, byte [ebp - 0x179]
jne 0x438ba8
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x438c28
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
test esi, esi
je 0x438c28
mov eax, dword [edi + 0xa4]
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x438be2
push eax
call ecx
mov ecx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x438be2
mov dword [edi + 0xa4], 0
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x438bf3
cmp eax, esi
je 0x438bf3
push eax
call ecx
push 1
push esi
mov dword [edi + 0xa4], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push dword [edi + 4]
call esi
push 0x46ace0
push 0
push 0x44d
push dword [edi + 4]
call esi
push 0
push 0
push 0x421
push dword [edi + 4]
call esi
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x4a8], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov dword [ebp - 0x4ac], esi
push dword [edi + 0xa4]
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x424
mov dword [ebp - 0x4a4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x46ace8
push esi
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, 4
jge 0x438cb2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [ebp - 0x20]
push eax
push 0xffffffffffffffff
push 0x46acec
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [edi + 0xb0], eax
jmp 0x438cbc
mov dword [edi + 0xb0], 0
push dword [ebp - 0x4a4]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea eax, [ebp - 0x384]
mov dword [ebp - 0x388], 0x114
push 0
push eax
call fcn.00446f50
add esp, 0xc
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x384]
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, 5
jb 0x438db4
push 0
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x4a4], 1
push eax
push 0
push 0x100a
call esi
test eax, eax
je 0x438d38
cmp dword [ebp - 0x4a4], 0
jne 0x438d38
mov cl, 2
jmp 0x438d3a
xor cl, cl
mov al, byte [edi + 0x85]
and al, 0xfd
or al, cl
mov ecx, edi
or al, 8
mov byte [edi + 0x85], al
shr al, 1
not al
and al, 1
movzx eax, al
push eax
call fcn.0043e790
mov eax, dword [ebp - 0x384]
cmp eax, 5
jne 0x438d73
cmp dword [ebp - 0x380], 1
jae 0x438d75
jmp 0x438db4
jbe 0x438db4
push 0
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x4a4], 0
push eax
push 0
push 0x1022
call esi
test eax, eax
je 0x438da2
cmp dword [ebp - 0x4a4], 0
je 0x438da2
mov cl, 1
jmp 0x438da4
xor cl, cl
mov al, byte [edi + 0x85]
and al, 0xfe
or al, cl
mov byte [edi + 0x85], al
test byte [edi + 0x58], 0x10
jne 0x438e2b
call fcn.004391e0
test al, al
je 0x438e2b
call fcn.00439140
test al, al
je 0x438e2b
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x438e2b
push 0x468370
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x438e10
call eax
test eax, eax
je 0x438e10
push str.IsAppThemed
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x438e10
call eax
mov byte [ebp - 0x49d], 1
test eax, eax
jne 0x438e17
mov byte [ebp - 0x49d], 0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 0x49d], 0
je 0x438e2b
mov cl, 1
jmp 0x438e54
test byte [edi + 0x86], 1
mov byte [ebp - 0x49d], 0
je 0x438e4e
cmp dword [edi + 0x44], 0
je 0x438e4e
cmp dword [edi + 0x50], 0
jle 0x438e4e
mov ecx, edi
call fcn.0043f8b0
mov cl, byte [ebp - 0x49d]
mov al, byte [edi + 0x86]
push dword [ebp - 0x4ac]
and al, 0xfe
push dword [ebp - 0x4a8]
or al, cl
mov byte [edi + 0x86], al
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444abb
mov esp, ebp
pop ebp
ret