Function at 0x415346
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x394
push ebx
push esi
push edi
push 0x1f0
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x274]
push ebx
mov edi, 0x1f4
push eax
mov dword [ebp - 0x278], edi
call fcn.00428c40
add esp, 0xc
push ebx
lea eax, [ebp - 0x278]
push eax
push edi
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x4154e3
push 0x58
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], ebx
call fcn.00428c40
mov eax, dword [esi + 0xa4]
add esp, 0xc
cmp eax, ebx
je 0x4153b8
lea ecx, [ebp - 0x80]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x198]
jne 0x415468
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x194]
jne 0x415468
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x190]
jne 0x415468
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x18c]
jne 0x415468
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x188]
jne 0x415468
mov al, byte [ebp - 0x6c]
cmp al, byte [ebp - 0x184]
jne 0x415468
mov al, byte [ebp - 0x6b]
cmp al, byte [ebp - 0x183]
jne 0x415468
mov al, byte [ebp - 0x6a]
cmp al, byte [ebp - 0x182]
jne 0x415468
mov al, byte [ebp - 0x69]
cmp al, byte [ebp - 0x181]
jne 0x415468
mov al, byte [ebp - 0x68]
cmp al, byte [ebp - 0x180]
jne 0x415468
mov al, byte [ebp - 0x67]
cmp al, byte [ebp - 0x17f]
jne 0x415468
mov al, byte [ebp - 0x66]
cmp al, byte [ebp - 0x17e]
jne 0x415468
mov al, byte [ebp - 0x65]
cmp al, byte [ebp - 0x17d]
jne 0x415468
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4154e3
lea eax, [ebp - 0x198]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4154e3
cmp dword [esi + 0xa4], ebx
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x41549c
push dword [esi + 0xa4]
call edi
test eax, eax
je 0x41549c
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x4154ae
cmp eax, dword [ebp - 4]
je 0x4154ae
push eax
call edi
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
mov dword [esi + 0xa4], eax
push dword [esi + 4]
call edi
push 0x46634c
push ebx
push 0x44d
push dword [esi + 4]
call edi
push ebx
push ebx
push 0x421
push dword [esi + 4]
call edi
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push dword [esi + 0xa4]
mov dword [ebp - 0xc], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x424
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x466354
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call edi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cmp eax, 4
jge 0x415562
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0x466358
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [esi + 0xb0], eax
jmp 0x415568
mov dword [esi + 0xb0], ebx
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea eax, [ebp - 0x38c]
push ebx
push eax
mov dword [ebp - 0x390], 0x114
call fcn.00428c40
add esp, 0xc
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x38c], 5
jb 0x41563d
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x100a
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x4155d2
cmp dword [ebp - 4], ebx
jne 0x4155d2
mov al, 1
jmp 0x4155d4
xor al, al
and al, 1
or al, 4
lea edi, [esi + 0x85]
mov cl, byte [edi]
add al, al
and cl, 0xfd
or al, cl
mov byte [edi], al
shr al, 1
not al
and al, 1
call fcn.0041564a
cmp dword [ebp - 0x38c], 5
jne 0x41560d
cmp dword [ebp - 0x388], 1
jae 0x41560f
cmp dword [ebp - 0x38c], 5
jbe 0x41563d
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push 0x1022
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x41562e
cmp dword [ebp - 4], ebx
je 0x41562e
mov bl, 1
lea eax, [esi + 0x85]
mov cl, byte [eax]
xor cl, bl
and cl, 1
xor byte [eax], cl
lea esi, [ebp - 0xc]
call fcn.0041c664
pop edi
pop esi
pop ebx
leave
ret