Function at 0x41fd90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
push esi
push 0x60
lea eax, [ebp - 0xb4]
mov esi, 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 [esi + 0x10]
push str.ApplicationDisplayName
mov dword [ebp - 0xa8], 0x8e0b
mov dword [ebp - 0xa4], 8
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 [esi + 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
push 0x114
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0x20], 0
push 0
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
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 0xca
jb 0x41feb8
call fcn.0041d6d0
jmp 0x41febd
call fcn.0041d760
add esp, 8
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x1c8]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 0x114
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 - 0x10]
push eax
push 0xcb
jb 0x41ff1b
call fcn.0041d6d0
jmp 0x41ff20
call fcn.0041d760
mov eax, dword [ebp - 0x38]
add esp, 8
test eax, eax
mov dword [ebp - 0x90], 0
mov edx, 0x5b3144
mov dword [ebp - 0x60], 0x41ad70
mov ecx, edx
mov dword [ebp - 0x5c], esi
cmovne ecx, eax
mov eax, dword [ebp - 0x18]
test eax, eax
mov dword [ebp - 0xa0], ecx
mov ecx, edx
cmovne ecx, eax
mov dword [ebp - 0x98], 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 - 0x8c], eax
mov eax, dword [esi + 0xa4]
mov dword [ebp - 0x94], edx
test eax, eax
jne 0x41ffa5
mov eax, dword [0x5b317c]
test eax, eax
je 0x41ffbd
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 0x41ffba
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 esi
mov esp, ebp
pop ebp
ret