Function at 0x41e4b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x398
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x390], eax
push ebx
push ebp
push esi
push 0x1f4
xor ebx, ebx
lea eax, [esp + 0x90]
push ebx
push eax
call fcn.0045cac0
add esp, 0xc
push ebx
lea ecx, [esp + 0x8c]
push ecx
push 0x1f8
push 0x29
mov dword [esp + 0x98], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x41e63e
push 0x58
lea edx, [esp + 0x30]
push ebx
push edx
mov dword [esp + 0x34], ebx
call fcn.0045cac0
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x41e531
lea ecx, [esp + 0x28]
push ecx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x168]
jne 0x41e601
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x16c]
jne 0x41e601
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x170]
jne 0x41e601
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x174]
jne 0x41e601
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x178]
jne 0x41e601
mov cl, byte [esp + 0x3c]
cmp cl, byte [esp + 0x17c]
jne 0x41e601
mov dl, byte [esp + 0x3d]
cmp dl, byte [esp + 0x17d]
jne 0x41e601
mov al, byte [esp + 0x3e]
cmp al, byte [esp + 0x17e]
jne 0x41e601
mov cl, byte [esp + 0x3f]
cmp cl, byte [esp + 0x17f]
jne 0x41e601
mov dl, byte [esp + 0x40]
cmp dl, byte [esp + 0x180]
jne 0x41e601
mov al, byte [esp + 0x41]
cmp al, byte [esp + 0x181]
jne 0x41e601
mov cl, byte [esp + 0x42]
cmp cl, byte [esp + 0x182]
jne 0x41e601
mov dl, byte [esp + 0x43]
cmp dl, byte [esp + 0x183]
jne 0x41e601
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41e63e
lea edx, [esp + 0x168]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
cmp esi, ebx
je 0x41e63e
mov ebp, dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [edi + 0x10], ebx
je 0x41e62d
mov eax, dword [edi + 0x10]
push eax
call ebp
test eax, eax
je 0x41e62d
mov dword [edi + 0x10], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x41e63b
cmp eax, esi
je 0x41e63b
push eax
call ebp
mov dword [edi + 0x10], esi
cmp edi, ebx
je 0x41e647
lea ecx, [edi - 0x14]
jmp 0x41e649
xor ecx, ecx
call fcn.004484d0
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.USER32.dll_DrawTextW]
push 0x424
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 0x47d134
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call ebp
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
cmp edx, 4
jge 0x41e6cd
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
push 0x424
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 0x47d138
push esi
call ebp
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x14]
mov dword [edi + 0x14], edx
jmp 0x41e6d0
mov dword [edi + 0x14], ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x110
lea ecx, [esp + 0x288]
push ebx
push ecx
mov dword [esp + 0x28c], 0x114
call fcn.0045cac0
add esp, 0xc
lea edx, [esp + 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x284]
cmp eax, 5
jne 0x41e723
cmp dword [esp + 0x288], 1
jae 0x41e725
jmp 0x41e74d
jbe 0x41e74d
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push 0x1022
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x41e74a
cmp dword [esp + 0x10], ebx
je 0x41e74a
mov ebx, 1
mov byte [edi + 0x18], bl
mov ecx, dword [esp + 0x24]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x39c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004599ea
add esp, 0x398
ret