Function at 0x42ec80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4511eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x390
push ebx
push esi
push edi
push 0x1f4
lea eax, [esp + 0x90]
push 0
push eax
mov esi, ecx
call fcn.0043da70
add esp, 0xc
lea eax, [esp + 0x88]
push 0
push eax
push 0x1f8
push 0x29
mov dword [esp + 0x98], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x42ee46
push 0x58
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0x34], 0
call fcn.0043da70
mov eax, dword [esi + 0x10]
add esp, 0xc
test eax, eax
je 0x42ed15
lea ecx, [esp + 0x28]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x168]
jne 0x42ede5
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x16c]
jne 0x42ede5
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x170]
jne 0x42ede5
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x174]
jne 0x42ede5
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x178]
jne 0x42ede5
mov al, byte [esp + 0x3c]
cmp al, byte [esp + 0x17c]
jne 0x42ede5
mov al, byte [esp + 0x3d]
cmp al, byte [esp + 0x17d]
jne 0x42ede5
mov al, byte [esp + 0x3e]
cmp al, byte [esp + 0x17e]
jne 0x42ede5
mov al, byte [esp + 0x3f]
cmp al, byte [esp + 0x17f]
jne 0x42ede5
mov al, byte [esp + 0x40]
cmp al, byte [esp + 0x180]
jne 0x42ede5
mov al, byte [esp + 0x41]
cmp al, byte [esp + 0x181]
jne 0x42ede5
mov al, byte [esp + 0x42]
cmp al, byte [esp + 0x182]
jne 0x42ede5
mov al, byte [esp + 0x43]
cmp al, byte [esp + 0x183]
jne 0x42ede5
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42ee46
push str.Tahoma
lea eax, [esp + 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x168]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
test edi, edi
je 0x42ee46
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x42ee27
push eax
call ebx
test eax, eax
je 0x42ee27
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x42ee35
cmp eax, edi
je 0x42ee35
push eax
call ebx
push 1
push edi
push 0x30
push dword [ebp + 8]
mov dword [esi + 0x10], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 8]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x3a4], 0
push dword [esi + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call ebx
push 0x424
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push 0x45bb18
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
cmp eax, 4
jge 0x42eece
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esi + 0x14], 6
jmp 0x42eed5
mov dword [esi + 0x14], 0
push dword [esp + 0xc]
push edi
call ebx
push 0x110
lea eax, [esp + 0x288]
push 0
push eax
mov dword [esp + 0x28c], 0x114
call fcn.0043da70
add esp, 0xc
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x284]
cmp eax, 5
jne 0x42ef24
cmp dword [esp + 0x288], 1
jae 0x42ef26
jmp 0x42ef59
jbe 0x42ef59
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0x1022
mov dword [esp + 0x1c], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x42ef54
cmp dword [esp + 0xc], 0
je 0x42ef54
mov eax, 1
jmp 0x42ef56
xor eax, eax
mov byte [esi + 0x18], al
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x39c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4