Function at 0x10429d8
Capabilities:
Check os version

Disassembly:
mov eax, 0x1270bf2
call fcn.01160118
sub esp, 0x384
mov eax, dword [0x12cf8c8]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x10], eax
mov eax, 0x1f4
push ecx
push eax
push 0x29
mov dword [ebp - 0x260], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x1042b53
push 0x17
xor eax, eax
pop ecx
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
lea edi, [esi + 0xa0]
mov eax, dword [edi]
cmp eax, ebx
je 0x1042a3e
lea ecx, [ebp - 0x6c]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x180]
jne 0x1042aee
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x17c]
jne 0x1042aee
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x178]
jne 0x1042aee
mov eax, dword [ebp - 0x60]
cmp eax, dword [ebp - 0x174]
jne 0x1042aee
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x170]
jne 0x1042aee
mov al, byte [ebp - 0x58]
cmp al, byte [ebp - 0x16c]
jne 0x1042aee
mov al, byte [ebp - 0x57]
cmp al, byte [ebp - 0x16b]
jne 0x1042aee
mov al, byte [ebp - 0x56]
cmp al, byte [ebp - 0x16a]
jne 0x1042aee
mov al, byte [ebp - 0x55]
cmp al, byte [ebp - 0x169]
jne 0x1042aee
mov al, byte [ebp - 0x54]
cmp al, byte [ebp - 0x168]
jne 0x1042aee
mov al, byte [ebp - 0x53]
cmp al, byte [ebp - 0x167]
jne 0x1042aee
mov al, byte [ebp - 0x52]
cmp al, byte [ebp - 0x166]
jne 0x1042aee
mov al, byte [ebp - 0x51]
cmp al, byte [ebp - 0x165]
jne 0x1042aee
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1042b53
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
cmp eax, ebx
mov dword [ebp - 0x378], eax
je 0x1042b53
cmp dword [edi], ebx
je 0x1042b10
mov ecx, edi
call fcn.0103d737
mov eax, dword [edi]
cmp eax, ebx
je 0x1042b1d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x378]
mov dword [edi], eax
push 1
mov edi, eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push dword [esi + 4]
call edi
push 0x10041ec
push ebx
push 0x44d
push dword [esi + 4]
call edi
push ebx
push ebx
push 0x421
push dword [esi + 4]
call edi
mov eax, dword [esi + 4]
mov dword [ebp - 0x380], ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x37c], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov dword [ebp - 0x380], eax
mov dword [ebp - 4], 1
push dword [esi + 0xa0]
push dword [ebp - 0x380]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push 0x424
mov dword [ebp - 0x378], eax
lea eax, [ebp - 0x390]
push eax
push 0xffffffffffffffff
push 0x10041e8
push dword [ebp - 0x380]
mov dword [ebp - 0x390], ebx
mov dword [ebp - 0x38c], ebx
mov dword [ebp - 0x388], ebx
mov dword [ebp - 0x384], ebx
call edi
mov eax, dword [ebp - 0x388]
sub eax, dword [ebp - 0x390]
cmp eax, 4
jge 0x1042c17
lea eax, [ebp - 0x390]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea eax, [ebp - 0x390]
push eax
push 0xffffffffffffffff
push 0x10041e4
push dword [ebp - 0x380]
call edi
mov eax, dword [ebp - 0x388]
sub eax, dword [ebp - 0x390]
mov dword [esi + 0xac], eax
jmp 0x1042c1d
mov dword [esi + 0xac], ebx
push dword [ebp - 0x378]
push dword [ebp - 0x380]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x44
pop ecx
xor eax, eax
mov dword [ebp - 0x374], 0x114
lea edi, [ebp - 0x370]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x370], 5
jb 0x1042d08
push ebx
lea eax, [ebp - 0x378]
push eax
push ebx
push 0x100a
mov dword [ebp - 0x378], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x1042c8e
cmp dword [ebp - 0x378], ebx
jne 0x1042c8e
mov al, 1
jmp 0x1042c90
xor al, al
and al, 1
or al, 4
lea edi, [esi + 0x81]
mov cl, byte [edi]
shl al, 1
and cl, 0xfd
or al, cl
mov byte [edi], al
shr al, 1
not al
mov ecx, esi
and eax, 0xffffff01
push eax
call fcn.01041aa6
cmp dword [ebp - 0x370], 5
jne 0x1042ccf
cmp dword [ebp - 0x36c], 1
jae 0x1042cd1
cmp dword [ebp - 0x370], 5
jbe 0x1042d08
push ebx
lea eax, [ebp - 0x378]
push eax
push ebx
push 0x1022
mov dword [ebp - 0x378], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp eax, ebx
je 0x1042cf9
cmp dword [ebp - 0x378], ebx
je 0x1042cf9
mov bl, 1
lea eax, [esi + 0x81]
mov cl, byte [eax]
xor cl, bl
and cl, 1
xor byte [eax], cl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x380]
call fcn.01038683
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0115fe1a
leave
ret