Function at 0x41faf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
call fcn.00415e60
push 0x60
lea eax, [ebp - 0xac]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov dword [ebp - 0xac], 0x60
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xa4], eax
mov eax, dword [edi + 0x10]
push str.ApplicationDisplayName
mov dword [ebp - 0xa0], 0x821b
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x94], 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, 0x119
mov esi, 0xf1
mov dword [ebp - 0x20], 0
push 0x114
cmove esi, eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x18], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c0], 0x114
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x1bc], 6
lea eax, [ebp - 0x20]
push eax
push esi
jb 0x41fc34
call fcn.0041d6d0
jmp 0x41fc39
call fcn.0041d760
add esp, 8
mov dword [ebp - 0x10], 0
sub esp, 0x10
mov dword [ebp - 0xc], 0
mov eax, esp
mov dword [ebp - 8], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0041d4f0
add esp, 0xc
lea eax, [ebp - 0x10]
cmp dword [edi + 0x9c], 3
mov ecx, 0x11a
push eax
mov eax, 0xf2
cmove eax, ecx
push eax
call fcn.0041a900
mov eax, dword [ebp - 0x38]
add esp, 0x18
test eax, eax
mov dword [ebp - 0x88], 0
mov edx, 0x5b3144
mov dword [ebp - 0x58], 0x41ad10
mov ecx, edx
mov dword [ebp - 0x54], edi
cmovne ecx, eax
mov eax, dword [ebp - 0x18]
test eax, eax
mov dword [ebp - 0x98], ecx
mov ecx, edx
cmovne ecx, eax
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
cmovne edx, ecx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 0xa4]
mov dword [ebp - 0x8c], edx
test eax, eax
jne 0x41fd08
mov eax, dword [0x5b317c]
test eax, eax
je 0x41fd20
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0xac]
push ecx
call eax
jmp 0x41fd1d
lea ecx, [ebp - 0xac]
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 8