Function at 0x4709d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527d16
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x595cb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
xorps xmm0, xmm0
push 0x30
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov edi, eax
call esi
push 0x110
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.004f9110
add esp, 0xc
mov dword [ebp - 0x144], 0x114
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x140], 6
jne 0x470aad
cmp dword [ebp - 0x13c], 2
jne 0x470aad
push 0
push str.ImmersiveGutter
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x470aad
lea ecx, [ebp - 0x30]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jle 0x470aa2
mov edi, ecx
jmp 0x470aad
xor ecx, ecx
cmp dword [ebp - 0x28], eax
cmove eax, ecx
mov dword [ebp - 0x20], eax
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x470ac2
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
test ecx, ecx
je 0x470af9
test esi, esi
jne 0x470af9
push 1
push 0x574450
lea ecx, [ebp - 0x148]
call fcn.0041fd40
jmp 0x470b5f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub edx, ecx
cmp edx, edi
jne 0x470b21
cmp eax, dword [ebp - 0x14c]
jae 0x470b21
push 1
push 0x56a900
lea ecx, [ebp - 0x148]
call fcn.0041fd40
jmp 0x470b5f
sub eax, esi
cmp edx, edi
je 0x470b47
cmp eax, dword [ebp - 0x14c]
jne 0x470b47
test ecx, ecx
jne 0x470b5f
push 1
push 0x56db28
lea ecx, [ebp - 0x148]
call fcn.0041fd40
jmp 0x470b5f
test ecx, ecx
jne 0x470b5f
test esi, esi
je 0x470b5f
push 0x574454
lea ecx, [ebp - 0x148]
call fcn.0041fac0
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x470b74
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push edx
push esi
push ecx
push eax
push dword [ebp - 0x148]
sub edx, eax
sub esi, ecx
push edx
push esi
lea eax, [ebp - 0x14c]
push str.__width__:__d____height__:__d____taskbarLocation__:___s_____top__:__d____left__:__d____right__:__d____bottom__:__d
push eax
call fcn.00420c20
mov esi, dword [ebp - 0x14c]
add esp, 0x24
test ebx, ebx
je 0x470bde
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x470bdb
call fcn.0041fd30
mov dword [ebx + 8], eax
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x470bfc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x148]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x470c1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f4566
mov esp, ebp
pop ebp
ret 4