Function at 0x467a70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x510a86
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x570be0]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov eax, dword [0x570be0]
xor eax, esp
push eax
lea eax, [esp + 0x160]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
lea eax, [esp + 0x20]
push eax
push 0
push 0x30
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
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 [esp + 0x1c], eax
lea eax, [esp + 0x44]
push 0
push eax
call fcn.004ecdb0
add esp, 0xc
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x40], 6
jne 0x467b84
cmp dword [esp + 0x44], 2
jne 0x467b84
push 0
push str.ImmersiveGutter
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x467b84
lea ecx, [esp + 0x2c]
push ecx
xorps xmm0, xmm0
push eax
mov dword [esp + 0x34], 0
movq qword [esp + 0x38], xmm0
mov dword [esp + 0x40], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jle 0x467b77
mov edi, ecx
jmp 0x467b84
xor ecx, ecx
cmp dword [esp + 0x34], eax
cmove eax, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x168], 0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x467bc5
test esi, esi
jne 0x467bc5
push 1
push 0x550480
lea ecx, [esp + 0x1c]
call fcn.00420c80
jmp 0x467c18
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub edx, eax
cmp edx, edi
jne 0x467beb
cmp ecx, dword [esp + 0x18]
jae 0x467beb
push 1
push 0x548ca4
lea ecx, [esp + 0x1c]
call fcn.00420c80
jmp 0x467c18
sub ecx, esi
cmp edx, edi
je 0x467c02
cmp ecx, dword [esp + 0x18]
jne 0x467c02
test eax, eax
jne 0x467c18
push 0x54ae10
jmp 0x467c0f
test eax, eax
jne 0x467c18
test esi, esi
je 0x467c18
push 0x550484
lea ecx, [esp + 0x18]
call fcn.00420600
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x168], 1
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push esi
push ecx
push eax
push dword [esp + 0x24]
sub edx, eax
push edx
sub esi, ecx
push esi
lea eax, [esp + 0x34]
push str.__width__:__d____height__:__d____taskbarLocation__:___s_____top__:__d____left__:__d____right__:__d____bottom__:__d
push eax
call fcn.00421320
mov esi, dword [esp + 0x3c]
add esp, 0x24
test ebx, ebx
je 0x467c8a
mov eax, 8
mov word [ebx], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x467c87
call fcn.004208f0
mov dword [ebx + 8], eax
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x168], 0
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x467cae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x168], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x467cd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x160]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.004e6e0a
mov esp, ebp
pop ebp
ret 4