Function at 0x541f00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x384
push ebx
push esi
push edi
push 0x1f0
xor ebx, ebx
lea eax, [ebp - 0x278]
push ebx
push eax
mov esi, ecx
call fcn.006100a0
add esp, 0xc
push ebx
lea ecx, [ebp - 0x27c]
push ecx
push 0x1f4
push 0x29
mov dword [ebp - 0x27c], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x542095
push 0x58
lea edx, [ebp - 0x84]
push ebx
push edx
mov dword [ebp - 0x88], ebx
call fcn.006100a0
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x541f90
lea ecx, [ebp - 0x88]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp - 0x88]
cmp edx, dword [ebp - 0x19c]
jne 0x542046
mov eax, dword [ebp - 0x84]
cmp eax, dword [ebp - 0x198]
jne 0x542046
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x194]
jne 0x542046
mov edx, dword [ebp - 0x7c]
cmp edx, dword [ebp - 0x190]
jne 0x542046
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x18c]
jne 0x542046
mov cl, byte [ebp - 0x74]
cmp cl, byte [ebp - 0x188]
jne 0x542046
mov dl, byte [ebp - 0x73]
cmp dl, byte [ebp - 0x187]
jne 0x542046
mov al, byte [ebp - 0x72]
cmp al, byte [ebp - 0x186]
jne 0x542046
mov cl, byte [ebp - 0x71]
cmp cl, byte [ebp - 0x185]
jne 0x542046
mov dl, byte [ebp - 0x70]
cmp dl, byte [ebp - 0x184]
jne 0x542046
mov al, byte [ebp - 0x6f]
cmp al, byte [ebp - 0x183]
jne 0x542046
mov cl, byte [ebp - 0x6e]
cmp cl, byte [ebp - 0x182]
jne 0x542046
mov dl, byte [ebp - 0x6d]
cmp dl, byte [ebp - 0x181]
jne 0x542046
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x542095
lea edx, [ebp - 0x19c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
cmp edi, ebx
je 0x542095
cmp dword [esi + 0x10], ebx
je 0x54206f
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x54206f
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x542081
cmp eax, edi
je 0x542081
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
mov eax, edi
push eax
mov dword [esi + 0x10], edi
mov ecx, dword [esi - 0x60]
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, ebx
je 0x54209e
lea eax, [esi - 0x64]
jmp 0x5420a0
xor eax, eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x424
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push 0x671160
push edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
cmp eax, 4
jge 0x54212a
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea edx, [ebp - 0x20]
push edx
push 0xffffffffffffffff
push 0x67115c
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
jmp 0x54212d
mov dword [esi + 0x14], ebx
mov ecx, dword [ebp - 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push pe_nt_image_headers32
lea edx, [ebp - 0x38c]
push ebx
push edx
mov dword [ebp - 0x390], 0x114
call fcn.006100a0
add esp, 0xc
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x38c]
cmp eax, 5
jne 0x54217a
cmp dword [ebp - 0x388], 1
jae 0x54217c
jmp 0x5421a5
jbe 0x5421a5
push ebx
lea ecx, [ebp - 0x10]
push ecx
push ebx
push 0x1022
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x5421a0
cmp dword [ebp - 0x10], ebx
je 0x5421a0
mov eax, 1
jmp 0x5421a2
xor eax, eax
mov byte [esi + 0x18], al
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
push edi
push edx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret