Function at 0x4828ec
Capabilities:
Check os version

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x35c
mov esi, eax
mov dword [esp], 5
call sub.USER32.dll_GetSystemMetrics
push ebp
mov dword [0x67b5f0], eax
mov dword [esp], 6
call sub.USER32.dll_GetSystemMetrics
push edx
cmp eax, dword [0x67b5f0]
jg 0x482c5c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.DISPLAY
call sub.GDI32.dll_CreateDCA
sub esp, 0x10
mov ebx, eax
test esi, esi
je 0x482c44
mov dword [esp], 0x67b600
mov eax, dword [0x67bad4]
call dword [eax + 0x1f0]
mov dword [esp + 0x1f8], 0x158
mov dword [esp + 0x90], 0x94
lea eax, [esp + 0x90]
mov dword [esp], eax
call sub.KERNEL32.dll_GetVersionExA
push esi
mov eax, dword [esp + 0x1f8]
cmp dword [esp + 0x94], 5
ja 0x4829a7
sub eax, 4
mov dword [esp + 0x1f8], eax
mov dword [esp + 0xc], 0
lea edx, [esp + 0x1f8]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x29
call sub.USER32.dll_SystemParametersInfoA
sub esp, 0x10
lea eax, [esp + 0x298]
mov dword [esp], eax
call sub.GDI32.dll_CreateFontIndirectA
push esi
mov edi, eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.GDI32.dll_SelectObject
sub esp, 8
lea eax, [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.GDI32.dll_GetTextMetricsA
sub esp, 8
lea ebp, [esp + 0x38]
mov dword [esp + 8], ebp
mov dword [esp + 4], 0x20
mov dword [esp], ebx
call sub.GDI32.dll_GetTextFaceA
sub esp, 0xc
mov dword [esp + 4], 0x5a
mov dword [esp], ebx
call sub.GDI32.dll_GetDeviceCaps
sub esp, 8
mov dword [esp + 8], eax
mov dword [esp + 4], 0x48
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x64]
mov dword [esp], edx
call sub.KERNEL32.dll_MulDiv
sub esp, 0xc
mov esi, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
xor eax, eax
cmp byte [esp + 0x88], 0
setne al
mov dword [esp + 0x1c], eax
mov dword [esp], 0xd
call sub.GDI32.dll_GetStockObject
push edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.GDI32.dll_SelectObject
sub esp, 8
mov dword [esp], ebx
call sub.GDI32.dll_DeleteDC
push ecx
mov dword [esp], edi
call sub.GDI32.dll_DeleteObject
push ebx
mov dword [esp + 4], ebp
mov dword [esp], 0x67b600
mov eax, dword [0x67bad4]
call dword [eax + 0x1e0]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x600088
lea ebx, [esp + 0x20]
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], ebx
mov dword [esp], 0x67b600
mov eax, dword [0x67bad4]
call dword [eax + 0x1e0]
cmp dword [esp + 0x18], 0x2bb
jg 0x482c08
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x482b84
call fcn.004335ac
test eax, eax
jle 0x482be7
mov dword [esp], 0x48
call sub.USER32.dll_GetSystemMetrics
push ebx
mov dword [0x67b5e4], eax
mov dword [esp], 7
call sub.USER32.dll_GetSystemMetrics
push esi
mov ebx, eax
mov dword [esp], 5
call sub.USER32.dll_GetSystemMetrics
push edi
add ebx, eax
mov dword [esp], 0x47
call sub.USER32.dll_GetSystemMetrics
push ebp
mov esi, eax
mov dword [esp], 7
call sub.USER32.dll_GetSystemMetrics
push edx
lea edx, [ebx + esi + 7]
and edx, 0xfff8
sub edx, eax
mov dword [0x67b5e8], edx
mov dword [0x67b5ec], 1
call fcn.004335ac
cmp eax, 2
je 0x482c74
add esp, 0x35c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [esp + 0x124]
mov dword [esp], ebx
mov eax, dword [0x67bad4]
call dword [eax + 0x1f0]
mov dword [esp + 4], str.italic
mov dword [esp], ebx
mov eax, dword [0x67bad4]
call dword [eax + 0x1e0]
mov eax, dword [esp + 0x124]
mov dword [esp + 4], eax
mov dword [esp], 0x67b600
mov eax, dword [0x67bad4]
call dword [eax + 0x1e0]
mov dword [esp], ebx
mov eax, dword [0x67bad4]
call dword [eax + 0x1e8]
call fcn.004335ac
test eax, eax
jg 0x482b02
call sub.USER32.dll_GetMenuCheckMarkDimensions
mov edx, eax
shr edx, 0x10
mov dword [0x67b5e4], edx
and eax, 0xffff
mov dword [0x67b5e8], eax
jmp 0x482b60
lea ebx, [esp + 0x124]
mov dword [esp], ebx
mov eax, dword [0x67bad4]
call dword [eax + 0x1f0]
mov dword [esp + 4], str.bold
mov dword [esp], ebx
mov eax, dword [0x67bad4]
call dword [eax + 0x1e0]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x482baf
jmp 0x482b99
mov dword [esp], 0x67b600
mov eax, dword [0x67bad4]
call dword [eax + 0x1e8]
jmp 0x482954
mov dword [esp], 6
call sub.USER32.dll_GetSystemMetrics
push edi
mov dword [0x67b5f0], eax
jmp 0x482923
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x67b5ec
mov dword [esp + 4], 0
mov dword [esp], 0x100a
call sub.USER32.dll_SystemParametersInfoA
sub esp, 0x10
add esp, 0x35c
pop ebx
pop esi
pop edi
pop ebp
ret