Function at 0x429370
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x384
push ebx
push esi
push edi
push 0x1f4
lea eax, [esp + 0x88]
push 0
push eax
mov esi, ecx
call fcn.0043f760
add esp, 0xc
lea eax, [esp + 0x80]
push 0
push eax
push 0x1f8
push 0x29
mov dword [esp + 0x90], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x429525
push 0x58
lea eax, [esp + 0x28]
push 0
push eax
mov dword [esp + 0x2c], 0
call fcn.0043f760
mov eax, dword [esi + 0x10]
add esp, 0xc
test eax, eax
je 0x4293f3
lea ecx, [esp + 0x20]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x160]
jne 0x4294c3
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x164]
jne 0x4294c3
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x168]
jne 0x4294c3
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x16c]
jne 0x4294c3
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x170]
jne 0x4294c3
mov al, byte [esp + 0x34]
cmp al, byte [esp + 0x174]
jne 0x4294c3
mov al, byte [esp + 0x35]
cmp al, byte [esp + 0x175]
jne 0x4294c3
mov al, byte [esp + 0x36]
cmp al, byte [esp + 0x176]
jne 0x4294c3
mov al, byte [esp + 0x37]
cmp al, byte [esp + 0x177]
jne 0x4294c3
mov al, byte [esp + 0x38]
cmp al, byte [esp + 0x178]
jne 0x4294c3
mov al, byte [esp + 0x39]
cmp al, byte [esp + 0x179]
jne 0x4294c3
mov al, byte [esp + 0x3a]
cmp al, byte [esp + 0x17a]
jne 0x4294c3
mov al, byte [esp + 0x3b]
cmp al, byte [esp + 0x17b]
jne 0x4294c3
lea eax, [esp + 0x17c]
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x429525
push str.Tahoma
lea eax, [esp + 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x160]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov edi, eax
test edi, edi
je 0x429525
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x429505
push eax
call ebx
test eax, eax
je 0x429505
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x429513
cmp eax, edi
je 0x429513
push eax
call ebx
mov ebx, dword [ebp + 8]
push 1
push edi
push 0x30
push ebx
mov dword [esi + 0x10], edi
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
push dword [esi + 0x10]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x424
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push 0x462dd0
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 0x429595
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [esi + 0x14], 6
jmp 0x42959c
mov dword [esi + 0x14], 0
push dword [esp + 0xc]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea eax, [esp + 0x280]
push 0
push eax
mov dword [esp + 0x284], 0x114
call fcn.0043f760
add esp, 0xc
lea eax, [esp + 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x27c]
cmp eax, 5
jne 0x4295fe
cmp dword [esp + 0x280], 1
jae 0x429600
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
jbe 0x429645
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 0x429640
cmp dword [esp + 0xc], 0
je 0x429640
push edi
mov eax, 1
push ebx
mov byte [esi + 0x18], al
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov byte [esi + 0x18], al
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4