Function at 0x140204fe4
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor edx, edx
mov r8d, VarUI4FromDisp
lea rcx, [rbp - 0x64]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rbp - 0x70], 0x11c
mov dword [rbp - 0x6c], 8
and dword [rbp - 0x68], 0
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExW]
nop dword [rax + rax]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rbp - 0x68]
mov ecx, dword [rbp - 0x6c]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetProductInfo]
nop dword [rax + rax]
test eax, eax
je 0x14020527e
cmp dword [rsp + 0x30], 0xabcdabcd
je 0x14020527e
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ecx, eax
lea rdx, [rsp + 0x48]
call fcn.140205b48
test eax, eax
js 0x14020527e
and qword [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.14000a6a4
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call fcn.14020562c
test eax, eax
js 0x1402051b1
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
nop dword [rax + rax]
and qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140204c98
test eax, eax
js 0x1402051a7
xor eax, eax
lea rcx, reloc.SHCORE.dll_Ordinal_1
mov edx, dword [rsp + 0x30]
cmp dword [rcx], edx
je 0x140205113
inc eax
add rcx, 0x610
cmp eax, 0x4f
jb 0x1402050fc
jmp 0x1402051a7
and dword [rsp + 0x60], 0
lea rcx, fcn.140206580
mov qword [rsp + 0x58], rcx
imul rcx, rax, 0x610
lea rax, [0x1402dcfe8]
add rcx, rax
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x70], reloc.OLEAUT32.dll_SafeArrayGetDim
and qword [rsp + 0x78], 0
and dword [rbp - 0x80], 0
xor ebx, ebx
lea rcx, [rsp + 0x58]
call fcn.140206580
mov rdi, rax
test rax, rax
je 0x1402051a0
mov ecx, 0xa
sub ecx, ebx
xorps xmm2, xmm2
cvtsi2ss xmm2, rcx
mulss xmm2, dword [0x14031f3d4]
addss xmm2, dword [0x14034fac8]
lea r9, [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.140207b0c
mov rcx, rdi
call qword [sym.imp.api_ms_win_shell_namespace_l1_1_0.dll_ILFree]
nop dword [rax + rax]
inc ebx
cmp ebx, 0xa
jb 0x14020514e
lea rcx, [rsp + 0x40]
call fcn.14000a6a4
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call fcn.1402056d0
test eax, eax
js 0x140205239
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
lea r9, [rsp + 0x38]
lea r8, [0x140320e80]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [case.0x14006b68f.0]
test eax, eax
js 0x140205229
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x14006b68f.0]
test eax, eax
js 0x140205217
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x40]
call qword [case.0x14006b68f.0]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14006b68f.0]
mov rcx, qword [rsp + 0x48]
call fcn.140206768
mov rcx, qword [rbp + 0xc8]
test eax, eax
jns 0x140205262
mov r9d, eax
lea r8, str.pcshell_shellexplorerhelpersdefaultmfu.cpp
mov edx, 0x655
call fcn.14009cb2c
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x50]
call fcn.14000a6a4
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret