Function at 0x41ba9a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
push ebx
push esi
push edi
mov esi, ecx
push 0x7c
xor eax, eax
pop ecx
lea edi, [ebp - 0x268]
rep stosd dword es:[edi], eax
xor ebx, ebx
lea ecx, [ebp - 0x26c]
mov eax, 0x1f4
push ebx
push ecx
push eax
push 0x29
mov dword [ebp - 0x26c], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x41bc2a
push 0x16
xor eax, eax
pop ecx
lea edi, [ebp - 0x74]
mov dword [ebp - 0x78], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x41baff
lea ecx, [ebp - 0x78]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x18c]
jne 0x41bbaf
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x188]
jne 0x41bbaf
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x184]
jne 0x41bbaf
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x180]
jne 0x41bbaf
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x17c]
jne 0x41bbaf
mov al, byte [ebp - 0x64]
cmp al, byte [ebp - 0x178]
jne 0x41bbaf
mov al, byte [ebp - 0x63]
cmp al, byte [ebp - 0x177]
jne 0x41bbaf
mov al, byte [ebp - 0x62]
cmp al, byte [ebp - 0x176]
jne 0x41bbaf
mov al, byte [ebp - 0x61]
cmp al, byte [ebp - 0x175]
jne 0x41bbaf
mov al, byte [ebp - 0x60]
cmp al, byte [ebp - 0x174]
jne 0x41bbaf
mov al, byte [ebp - 0x5f]
cmp al, byte [ebp - 0x173]
jne 0x41bbaf
mov al, byte [ebp - 0x5e]
cmp al, byte [ebp - 0x172]
jne 0x41bbaf
mov al, byte [ebp - 0x5d]
cmp al, byte [ebp - 0x171]
jne 0x41bbaf
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41bc2a
lea eax, [ebp - 0x18c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41bc2a
cmp dword [esi + 0xa0], ebx
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x41bbe3
push dword [esi + 0xa0]
call edi
test eax, eax
je 0x41bbe3
mov dword [esi + 0xa0], ebx
mov eax, dword [esi + 0xa0]
cmp eax, ebx
je 0x41bbf5
cmp eax, dword [ebp - 4]
je 0x41bbf5
push eax
call edi
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
mov dword [esi + 0xa0], eax
push dword [esi + 4]
call edi
push 0x47fbbc
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 - 0xc], ebx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push dword [esi + 0xa0]
mov dword [ebp - 0xc], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
lea eax, [ebp - 0x1c]
push 0x424
push eax
push 0xffffffffffffffff
push 0x47f094
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call edi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cmp eax, 4
jge 0x41bcac
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [ebp - 0x1c]
push 0x424
push eax
push 0xffffffffffffffff
push 0x47fcf8
push dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [esi + 0xac], eax
jmp 0x41bcb2
mov dword [esi + 0xac], ebx
push dword [ebp - 4]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x44
xor eax, eax
pop ecx
lea edi, [ebp - 0x37c]
mov dword [ebp - 0x380], 0x114
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x37c], 5
jb 0x41bd8e
push 1
lea eax, [ebp - 4]
pop edi
push ebx
push eax
push ebx
push 0x100a
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x41bd13
cmp dword [ebp - 4], ebx
jne 0x41bd13
mov eax, edi
jmp 0x41bd15
xor eax, eax
mov cl, byte [esi + 0x81]
lea edi, [esi + 0x81]
and al, 1
and cl, 0xfd
or al, 4
shl al, 1
or al, cl
mov ecx, esi
mov byte [edi], al
not al
shr al, 1
and al, 1
push eax
call fcn.0041ad42
cmp dword [ebp - 0x37c], 5
jne 0x41bd55
cmp dword [ebp - 0x378], 1
jae 0x41bd57
cmp dword [ebp - 0x37c], 5
jbe 0x41bd8e
lea eax, [ebp - 4]
push ebx
push eax
push ebx
push 0x1022
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x41bd77
cmp dword [ebp - 4], ebx
je 0x41bd77
push 1
pop ebx
mov cl, byte [esi + 0x81]
lea eax, [esi + 0x81]
mov dl, cl
xor dl, bl
and dl, 1
xor dl, cl
mov byte [eax], dl
lea ecx, [ebp - 0xc]
call fcn.00408545
pop edi
pop esi
pop ebx
leave
ret