Function at 0x482c04
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 [0x67e610], eax
mov dword [esp], 6
call sub.USER32.dll_GetSystemMetrics
push edx
cmp eax, dword [0x67e610]
jg 0x482f74
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 0x482f5c
mov dword [esp], 0x67e620
mov eax, dword [0x67eb7c]
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 0x482cbf
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], 0x67e620
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e0]
mov dword [esp + 8], esi
mov dword [esp + 4], 0x602268
lea ebx, [esp + 0x20]
mov dword [esp], ebx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], ebx
mov dword [esp], 0x67e620
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e0]
cmp dword [esp + 0x18], 0x2bb
jg 0x482f20
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x482e9c
call fcn.004337fc
test eax, eax
jle 0x482eff
mov dword [esp], 0x48
call sub.USER32.dll_GetSystemMetrics
push ebx
mov dword [0x67e604], 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 [0x67e608], edx
mov dword [0x67e60c], 1
call fcn.004337fc
cmp eax, 2
je 0x482f8c
add esp, 0x35c
pop ebx
pop esi
pop edi
pop ebp
ret
lea ebx, [esp + 0x124]
mov dword [esp], ebx
mov eax, dword [0x67eb7c]
call dword [eax + 0x1f0]
mov dword [esp + 4], str.italic
mov dword [esp], ebx
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e0]
mov eax, dword [esp + 0x124]
mov dword [esp + 4], eax
mov dword [esp], 0x67e620
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e0]
mov dword [esp], ebx
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e8]
call fcn.004337fc
test eax, eax
jg 0x482e1a
call sub.USER32.dll_GetMenuCheckMarkDimensions
mov edx, eax
shr edx, 0x10
mov dword [0x67e604], edx
and eax, 0xffff
mov dword [0x67e608], eax
jmp 0x482e78
lea ebx, [esp + 0x124]
mov dword [esp], ebx
mov eax, dword [0x67eb7c]
call dword [eax + 0x1f0]
mov dword [esp + 4], str.bold
mov dword [esp], ebx
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e0]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x482ec7
jmp 0x482eb1
mov dword [esp], 0x67e620
mov eax, dword [0x67eb7c]
call dword [eax + 0x1e8]
jmp 0x482c6c
mov dword [esp], 6
call sub.USER32.dll_GetSystemMetrics
push edi
mov dword [0x67e610], eax
jmp 0x482c3b
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x67e60c
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