Function at 0x48a920
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x530471
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x589758]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589758]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24c]
mov edi, dword [esp + 0x248]
push 0x11
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_GetStockObject]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], vtable.CFont.0
push 0x154
lea eax, [esp + 0xe4]
push ebx
push eax
mov dword [esp + 0x24c], ebx
mov dword [esp + 0xe8], ebx
call fcn.004f67e0
push 0x90
lea ecx, [esp + 0x5c]
push ebx
push ecx
call fcn.004f67e0
add esp, 0x18
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x4c], 6
push ebx
sbb eax, eax
lea ecx, [esp + 0xe0]
push ecx
and eax, 0xfffffffc
push 0x158
add eax, 0x158
push 0x29
mov dword [esp + 0xec], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea edx, [esp + 0x17c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x24]
call fcn.004a732e
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call edx
mov esi, dword [esi + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], esi
call fcn.004a4f4a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x48aa41
push 0x80004005
call fcn.00401310
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x240], 1
cmp esi, ebx
je 0x48ab95
add esi, 4
push esi
lea ecx, [esp + 0x18]
call fcn.00402d50
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], ebx
jg 0x48aa7c
or eax, 0xffffffff
jmp 0x48aa92
push 9
push esi
call fcn.004f851e
add esp, 8
cmp eax, ebx
jne 0x48aa90
or eax, 0xffffffff
jmp 0x48aa92
sub eax, esi
mov ecx, dword [esi - 0xc]
mov esi, ecx
sub esi, eax
dec esi
cmp eax, ebx
jge 0x48aaa2
mov eax, ecx
xor esi, esi
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004026c0
push esi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x248], 2
call fcn.0040ee60
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [edi + 8]
push ecx
push eax
call esi
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx - 0xc]
mov edx, dword [edi + 8]
mov ebp, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x50], ebp
call esi
mov ecx, dword [esp + 0x34]
cmp dword [ecx], 1
mov eax, dword [esp + 0x2c]
lea ebp, [eax + ebp + 0x14]
jne 0x48ab20
mov eax, dword [esp + 0x18]
mov ecx, 5
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
jmp 0x48ab51
mov eax, dword [esp + 0x3c]
add eax, 0xc
cmp eax, 0x10
jle 0x48ab35
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x10], eax
jmp 0x48ab42
mov edx, dword [esp + 0x18]
mov dword [edx + 0x10], 0x10
mov ecx, edx
mov eax, dword [ecx + 0x10]
lea edx, [eax + ebp + 0x15]
mov dword [ecx + 0xc], edx
mov dword [0x810e30], eax
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48ab6d
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x240], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ab95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x28]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x240], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48abcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x240], 0xffffffff
mov dword [esp + 0x20], vtable.CFont.0
call fcn.00404e40
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004f6592
add esp, 0x230
ret