Function at 0x4694f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
mov eax, dword [0x633634]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1f0
lea eax, [ebp - 0x250]
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x254], 0x1f4
call fcn.0046f8b0
add esp, 0xc
push 0
lea ecx, [ebp - 0x254]
push ecx
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x4696a5
push 0x5c
lea edx, [ebp - 0x60]
push 0
push edx
call fcn.0046f8b0
mov eax, dword [esi + 0xa4]
add esp, 0xc
test eax, eax
je 0x46956d
lea ecx, [ebp - 0x60]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp - 0x60]
cmp edx, dword [ebp - 0x174]
jne 0x469621
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x170]
jne 0x469621
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0x16c]
jne 0x469621
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x168]
jne 0x469621
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x164]
jne 0x469621
mov cl, byte [ebp - 0x4c]
cmp cl, byte [ebp - 0x160]
jne 0x469621
mov dl, byte [ebp - 0x4b]
cmp dl, byte [ebp - 0x15f]
jne 0x469621
mov al, byte [ebp - 0x4a]
cmp al, byte [ebp - 0x15e]
jne 0x469621
mov cl, byte [ebp - 0x49]
cmp cl, byte [ebp - 0x15d]
jne 0x469621
mov dl, byte [ebp - 0x48]
cmp dl, byte [ebp - 0x15c]
jne 0x469621
mov al, byte [ebp - 0x47]
cmp al, byte [ebp - 0x15b]
jne 0x469621
mov cl, byte [ebp - 0x46]
cmp cl, byte [ebp - 0x15a]
jne 0x469621
mov dl, byte [ebp - 0x45]
cmp dl, byte [ebp - 0x159]
jne 0x469621
lea eax, [ebp - 0x158]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4696a5
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
test edi, edi
je 0x4696a5
cmp dword [esi + 0xa4], 0
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x46965a
mov eax, dword [esi + 0xa4]
push eax
call ebx
test eax, eax
je 0x46965a
mov dword [esi + 0xa4], 0
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x46966b
cmp eax, edi
je 0x46966b
push eax
call ebx
push 1
mov ecx, edi
push ecx
mov dword [esi + 0xa4], edi
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push edx
call edi
mov eax, dword [esi + 4]
push 0x48ffdc
push 0
push 0x44d
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0
push 0x421
push ecx
call edi
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x380], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov eax, dword [esi + 0xa4]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
push 0x424
lea edx, [ebp - 0x37c]
push edx
push 0xffffffffffffffff
mov dword [ebp - 0x36c], eax
xor eax, eax
push 0x48ffd8
push edi
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x370], eax
call ebx
mov eax, dword [ebp - 0x374]
sub eax, dword [ebp - 0x37c]
cmp eax, 4
jge 0x469749
lea ecx, [ebp - 0x37c]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea edx, [ebp - 0x37c]
push edx
push 0xffffffffffffffff
push 0x48ffd4
push edi
call ebx
mov eax, dword [ebp - 0x374]
sub eax, dword [ebp - 0x37c]
mov dword [esi + 0xb0], eax
jmp 0x469753
mov dword [esi + 0xb0], 0
mov ecx, dword [ebp - 0x36c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea edx, [ebp - 0x364]
push 0
push edx
mov dword [ebp - 0x368], 0x114
call fcn.0046f8b0
add esp, 0xc
lea eax, [ebp - 0x368]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x364]
cmp eax, 5
jb 0x469854
push 0
lea ecx, [ebp - 0x36c]
push ecx
push 0
push 0x100a
mov dword [ebp - 0x36c], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x4697ce
cmp dword [ebp - 0x36c], 0
jne 0x4697ce
mov al, 1
jmp 0x4697d0
xor al, al
mov dl, byte [esi + 0x85]
and al, 1
or al, 4
add al, al
and dl, 0xfd
or al, dl
mov byte [esi + 0x85], al
shr al, 1
not al
and al, 1
movzx eax, al
push eax
mov ecx, esi
call fcn.004688b0
mov eax, dword [ebp - 0x364]
cmp eax, 5
jne 0x46980e
cmp dword [ebp - 0x360], 1
jae 0x469810
jmp 0x469854
jbe 0x469854
push 0
lea ecx, [ebp - 0x36c]
push ecx
push 0
push 0x1022
mov dword [ebp - 0x36c], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x469841
cmp dword [ebp - 0x36c], 0
je 0x469841
mov al, 1
jmp 0x469843
xor al, al
mov dl, byte [esi + 0x85]
xor dl, al
and dl, 1
xor byte [esi + 0x85], dl
test byte [esi + 0x58], 0x10
jne 0x469870
call fcn.00401550
test al, al
je 0x469870
call fcn.00466e60
test al, al
je 0x469870
mov bl, 1
jmp 0x46988e
xor bl, bl
test byte [esi + 0x86], 1
je 0x46988e
cmp dword [esi + 0x44], 0
je 0x46988e
cmp dword [esi + 0x50], 0
jle 0x46988e
mov ecx, esi
call fcn.0045ab60
mov al, byte [esi + 0x86]
mov ecx, dword [ebp - 0x380]
xor al, bl
push edi
and al, 1
xor byte [esi + 0x86], al
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046f8a1
mov esp, ebp
pop ebp
ret