Function at 0x41f240
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
push esi
push edi
push 0x60
lea eax, [ebp - 0xb4]
mov edi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xb4], 0x60
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xac], eax
mov eax, dword [edi + 0x10]
push str.ApplicationDisplayName
mov dword [ebp - 0xa8], 0x801b
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.00420e00
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push str.ApplicationDisplayName
call fcn.00403040
sub esp, 0x10
lea ecx, [ebp - 0x30]
mov eax, esp
push ecx
mov ecx, dword [edi + 0x14]
push eax
call fcn.0040f970
lea eax, [ebp - 0x40]
push eax
push 0xc9
call fcn.0041a900
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
add esp, 0x18
add eax, eax
push eax
push dword [ebp - 0x28]
call fcn.00420bb0
cmp dword [edi + 0x9c], 3
mov eax, 0x123
mov esi, 0x105
mov dword [ebp - 0x20], 0
push 0x114
cmove esi, eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x18], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c8], 0x114
lea eax, [ebp - 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x1c4], 6
lea eax, [ebp - 0x20]
push eax
push esi
jb 0x41f379
call fcn.0041d6d0
jmp 0x41f37e
call fcn.0041d760
mov eax, dword [edi + 0x3c]
add esp, 8
test eax, eax
mov dword [ebp - 0x10], 0
mov esi, 0x5b3144
mov dword [ebp - 0xc], 0
mov ecx, esi
mov dword [ebp - 8], 0
cmovne ecx, eax
cmp dword [edi + 0x9c], 3
push ecx
lea eax, [ebp - 0x10]
mov ecx, 0x124
push eax
mov eax, 0x106
cmove eax, ecx
push eax
call fcn.0041a710
mov eax, dword [ebp - 0x38]
add esp, 0xc
test eax, eax
mov dword [ebp - 0x90], 0
mov ecx, esi
mov dword [ebp - 0x60], 0x41acd0
cmovne ecx, eax
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp - 0x18]
test eax, eax
mov dword [ebp - 0xa0], ecx
mov ecx, esi
cmovne ecx, eax
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
cmovne esi, ecx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x8c], eax
mov eax, dword [edi + 0xa4]
mov dword [ebp - 0x94], esi
test eax, eax
jne 0x41f444
mov eax, dword [0x5b317c]
test eax, eax
je 0x41f45c
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
call eax
jmp 0x41f459
lea ecx, [ebp - 0xb4]
push ecx
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
push ecx
lea ecx, [ebp - 4]
call fcn.00420bb0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
add eax, eax
mov dword [ebp - 8], 0
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00420bb0
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x34]
add eax, eax
mov dword [ebp - 0x18], 0
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.00420bb0
pop edi
pop esi
mov esp, ebp
pop ebp
ret