Function at 0x484bc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1f0
xor ebx, ebx
lea eax, [ebp - 0x260]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x264], 0x1f4
call fcn.00499330
add esp, 0xc
push ebx
lea ecx, [ebp - 0x264]
push ecx
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x484d6b
push 0x58
lea edx, [ebp - 0x6c]
push ebx
push edx
mov dword [ebp - 0x70], ebx
call fcn.00499330
mov eax, dword [esi + 0xa4]
add esp, 0xc
cmp eax, ebx
je 0x484c3f
lea ecx, [ebp - 0x70]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp - 0x184]
jne 0x484cef
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x180]
jne 0x484cef
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x17c]
jne 0x484cef
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x178]
jne 0x484cef
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x174]
jne 0x484cef
mov cl, byte [ebp - 0x5c]
cmp cl, byte [ebp - 0x170]
jne 0x484cef
mov dl, byte [ebp - 0x5b]
cmp dl, byte [ebp - 0x16f]
jne 0x484cef
mov al, byte [ebp - 0x5a]
cmp al, byte [ebp - 0x16e]
jne 0x484cef
mov cl, byte [ebp - 0x59]
cmp cl, byte [ebp - 0x16d]
jne 0x484cef
mov dl, byte [ebp - 0x58]
cmp dl, byte [ebp - 0x16c]
jne 0x484cef
mov al, byte [ebp - 0x57]
cmp al, byte [ebp - 0x16b]
jne 0x484cef
mov cl, byte [ebp - 0x56]
cmp cl, byte [ebp - 0x16a]
jne 0x484cef
mov dl, byte [ebp - 0x55]
cmp dl, byte [ebp - 0x169]
jne 0x484cef
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x484d6b
lea edx, [ebp - 0x184]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
cmp edi, ebx
je 0x484d6b
cmp dword [esi + 0xa4], ebx
je 0x484d21
mov eax, dword [esi + 0xa4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x484d21
mov dword [esi + 0xa4], ebx
mov eax, dword [esi + 0xa4]
cmp eax, ebx
je 0x484d36
cmp eax, edi
je 0x484d36
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 1
push edi
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 0x4c8fa8
push ebx
push 0x44d
push eax
call edi
mov ecx, dword [esi + 4]
push ebx
push ebx
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]
push 0x424
lea edx, [ebp - 0x14]
push edx
push 0xffffffffffffffff
push 0x4c8fa4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.USER32.dll_DrawTextW]
push edi
mov dword [ebp - 0x37c], eax
call ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cmp eax, 4
jge 0x484dec
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea edx, [ebp - 0x14]
push edx
push 0xffffffffffffffff
push 0x4d3038
push edi
call ebx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [esi + 0xb0], eax
jmp 0x484df6
mov dword [esi + 0xb0], 0
mov ecx, dword [ebp - 0x37c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea edx, [ebp - 0x374]
push 0
push edx
mov dword [ebp - 0x378], 0x114
call fcn.00499330
add esp, 0xc
lea eax, [ebp - 0x378]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x374]
cmp eax, 5
jb 0x484ef7
push 0
lea ecx, [ebp - 0x37c]
push ecx
push 0
push 0x100a
mov dword [ebp - 0x37c], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x484e71
cmp dword [ebp - 0x37c], 0
jne 0x484e71
mov al, 1
jmp 0x484e73
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.00483ff0
mov eax, dword [ebp - 0x374]
cmp eax, 5
jne 0x484eb1
cmp dword [ebp - 0x370], 1
jae 0x484eb3
jmp 0x484ef7
jbe 0x484ef7
push 0
lea ecx, [ebp - 0x37c]
push ecx
push 0
push 0x1022
mov dword [ebp - 0x37c], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x484ee4
cmp dword [ebp - 0x37c], 0
je 0x484ee4
mov al, 1
jmp 0x484ee6
xor al, al
mov dl, byte [esi + 0x85]
xor dl, al
and dl, 1
xor byte [esi + 0x85], dl
mov eax, dword [ebp - 0x380]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret