Function at 0x49c400
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e23c3
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x521390]
xor eax, esp
mov dword [esp + 0x394], eax
push ebx
push edi
mov eax, dword [0x521390]
xor eax, esp
push eax
lea eax, [esp + 0x3a8]
mov dword fs:[0], eax
push 0x1f4
xor ebx, ebx
lea eax, [esp + 0x94]
mov edi, ecx
push ebx
push eax
mov dword [esp + 0x1c], edi
call fcn.004cfd40
add esp, 0xc
push ebx
lea ecx, [esp + 0x90]
push ecx
push 0x1f8
push 0x29
mov dword [esp + 0x9c], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x49c5e5
push 0x58
lea edx, [esp + 0x34]
push ebx
push edx
mov dword [esp + 0x38], ebx
call fcn.004cfd40
mov eax, dword [esi + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x49c4af
lea ecx, [esp + 0x2c]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x2c]
cmp edx, dword [esp + 0x16c]
jne 0x49c57f
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x170]
jne 0x49c57f
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x174]
jne 0x49c57f
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x178]
jne 0x49c57f
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x17c]
jne 0x49c57f
mov cl, byte [esp + 0x40]
cmp cl, byte [esp + 0x180]
jne 0x49c57f
mov dl, byte [esp + 0x41]
cmp dl, byte [esp + 0x181]
jne 0x49c57f
mov al, byte [esp + 0x42]
cmp al, byte [esp + 0x182]
jne 0x49c57f
mov cl, byte [esp + 0x43]
cmp cl, byte [esp + 0x183]
jne 0x49c57f
mov dl, byte [esp + 0x44]
cmp dl, byte [esp + 0x184]
jne 0x49c57f
mov al, byte [esp + 0x45]
cmp al, byte [esp + 0x185]
jne 0x49c57f
mov cl, byte [esp + 0x46]
cmp cl, byte [esp + 0x186]
jne 0x49c57f
mov dl, byte [esp + 0x47]
cmp dl, byte [esp + 0x187]
jne 0x49c57f
lea eax, [esp + 0x188]
push eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x49c5e5
push str.Tahoma
lea edx, [esp + 0x18c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x16c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [esp + 0xc], eax
cmp eax, ebx
je 0x49c5e5
cmp dword [esi + 0x10], ebx
je 0x49c5be
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
je 0x49c5be
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x49c5d2
cmp eax, dword [esp + 0xc]
je 0x49c5d2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0xc]
push 1
push edx
push 0x30
push edi
mov dword [esi + 0x10], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x3b0], ebx
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x3b0], 1
mov eax, dword [esi + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x424
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push 0x5012a4
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
cmp edx, 4
jge 0x49c664
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esi + 0x14], 6
jmp 0x49c667
mov dword [esi + 0x14], ebx
mov ecx, dword [esp + 0xc]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push pe_nt_image_headers32
lea edx, [esp + 0x28c]
push ebx
push edx
mov dword [esp + 0x290], 0x114
call fcn.004cfd40
add esp, 0xc
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x288]
cmp eax, 5
jne 0x49c6ba
cmp dword [esp + 0x28c], 1
jae 0x49c6bc
jmp 0x49c6e8
jbe 0x49c6e8
push ebx
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0x1022
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x49c6e3
cmp dword [esp + 0xc], ebx
je 0x49c6e3
mov eax, 1
jmp 0x49c6e5
xor eax, eax
mov byte [esi + 0x18], al
mov dword [esp + 0x3b0], 2
mov edx, dword [esp + 0x10]
push edi
push edx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esp + 0x3b0], 0xffffffff
mov ecx, dword [esp + 0x3a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x394]
xor ecx, esp
call fcn.004cbf11
mov esp, ebp
pop ebp
ret