Function at 0x46706d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x39c
mov eax, dword [0x667710]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
push esi
push edi
push 0x1f4
lea eax, [esp + 0x98]
mov ebx, ecx
push 0
push eax
call fcn.004e0bc0
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [esp + 0x9c]
add esp, 0xc
mov ecx, 0x1f8
mov dword [esp + 0x90], ecx
push 0
push eax
push ecx
push 0x29
call edi
mov dword [esp + 0x14], 1
test eax, eax
je 0x46722d
push 0x5c
lea eax, [esp + 0x34]
push 0
push eax
call fcn.004e0bc0
lea esi, [ebx + 0xa4]
add esp, 0xc
cmp dword [esi], 0
je 0x4670ff
lea eax, [esp + 0x30]
push eax
push 0x5c
push dword [esi]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x170]
jne 0x4671cf
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x174]
jne 0x4671cf
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x178]
jne 0x4671cf
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x17c]
jne 0x4671cf
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x180]
jne 0x4671cf
mov al, byte [esp + 0x44]
cmp al, byte [esp + 0x184]
jne 0x4671cf
mov al, byte [esp + 0x45]
cmp al, byte [esp + 0x185]
jne 0x4671cf
mov al, byte [esp + 0x46]
cmp al, byte [esp + 0x186]
jne 0x4671cf
mov al, byte [esp + 0x47]
cmp al, byte [esp + 0x187]
jne 0x4671cf
mov al, byte [esp + 0x48]
cmp al, byte [esp + 0x188]
jne 0x4671cf
mov al, byte [esp + 0x49]
cmp al, byte [esp + 0x189]
jne 0x4671cf
mov al, byte [esp + 0x4a]
cmp al, byte [esp + 0x18a]
jne 0x4671cf
mov al, byte [esp + 0x4b]
cmp al, byte [esp + 0x18b]
jne 0x4671cf
lea eax, [esp + 0x18c]
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x46722d
lea eax, [esp + 0x170]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
test edi, edi
je 0x467227
cmp dword [esi], 0
je 0x4671f7
push dword [esi]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4671f7
and dword [esi], 0
push edi
mov ecx, esi
call fcn.0040f1ed
push 1
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [ebx + 4]
push 0x30
push dword [edi]
call esi
push ecx
mov ecx, edi
call fcn.00469718
push 0
push 0
push 0x421
push dword [edi]
call esi
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebx + 4]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push dword [ebx + 0xa4]
mov esi, eax
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x20], eax
call eax
push 0x424
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 0x63a9ac
push esi
movups xmmword [esp + 0x34], xmm0
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
cmp eax, 4
jge 0x4672ad
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 0x63a9b0
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
jmp 0x4672af
xor eax, eax
mov dword [ebx + 0xb0], eax
push dword [esp + 0x10]
push esi
call dword [esp + 0x20]
push 0x110
lea eax, [esp + 0x290]
mov dword [esp + 0x28c], 0x114
push 0
push eax
call fcn.004e0bc0
add esp, 0xc
lea eax, [esp + 0x288]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x28c]
cmp eax, 5
jb 0x46739a
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 1
push eax
push 0
push 0x100a
call edi
test eax, eax
je 0x467325
cmp dword [esp + 0x10], 0
jne 0x467325
mov cl, 2
jmp 0x467327
xor cl, cl
mov al, byte [ebx + 0x85]
and al, 0xfd
or al, cl
mov ecx, ebx
or al, 8
mov byte [ebx + 0x85], al
shr al, 1
not al
and al, 1
movzx eax, al
push eax
call fcn.00466f7c
mov eax, dword [esp + 0x28c]
cmp eax, 5
jne 0x467362
cmp dword [esp + 0x290], 1
jae 0x467364
cmp eax, eax
jbe 0x46739a
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push eax
push ecx
push 0x1022
mov dword [esp + 0x20], ecx
call edi
test eax, eax
je 0x467383
cmp dword [esp + 0x10], 0
jne 0x467388
mov byte [esp + 0x14], 0
mov al, byte [ebx + 0x85]
and al, 0xfe
or al, byte [esp + 0x14]
mov byte [ebx + 0x85], al
push esi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004da623
mov esp, ebp
pop ebp
ret