Function at 0x4223f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e9f1
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4672b4]
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
cmp byte [0x4a55b7], 0
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], esi
je 0x422445
movzx eax, byte [0x4a55b8]
jmp 0x4224b8
push 0x118
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.0042a3f0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4226e7
cmp dword [ebp - 0x11c], 2
jne 0x422494
cmp dword [ebp - 0x128], 6
setae al
mov byte [0x4a55b8], al
jmp 0x422499
mov al, byte [0x4a55b8]
test al, al
je 0x4224ae
xor ecx, ecx
movzx eax, al
cmp byte [ebp - 0x12], 1
cmovne eax, ecx
mov byte [0x4a55b8], al
mov byte [0x4a55b7], 1
movzx eax, al
test eax, eax
je 0x4226e7
push str.SHCreateItemFromParsingName
push str.shell32.dll
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x42254f
lea eax, [ebp - 0x130]
push eax
push 0x453140
push 1
push ebx
push 0x45330c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42254f
push edi
lea ecx, [ebp - 0x114]
call fcn.00421730
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x13c]
push ecx
push 0x453150
push ebx
push dword [eax]
call esi
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x110]
cmp ecx, eax
je 0x42253f
push ecx
call fcn.00430f8f
add esp, 4
test esi, esi
jns 0x422556
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
jmp 0x4226f2
mov ecx, dword [ebp - 0x13c]
lea edx, [ebp - 0x140]
push edx
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
js 0x4226cb
mov ecx, dword [ebp - 0x130]
push dword [ebp - 0x13c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x130]
push dword [ebp - 0x140]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x130]
lea edx, [ebp - 0x144]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x144]
or eax, 0x20
push eax
push edx
call ecx
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x114]
push dword [ebp - 0x138]
mov eax, dword [eax]
mov esi, dword [eax + 0x44]
call fcn.00421730
mov dword [ebp - 4], 1
push dword [eax]
push dword [ebp - 0x130]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x114]
cmp eax, ecx
je 0x42260f
push eax
call fcn.00430f8f
add esp, 4
mov ecx, dword [ebp - 0x130]
push dword [ebp - 0x134]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
js 0x4226c3
mov ecx, dword [ebp - 0x130]
lea edx, [ebp - 0x138]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
js 0x4226c3
mov ecx, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
push edx
push 0x80058000
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
js 0x4226b7
push dword [ebp - 0x134]
lea ecx, [ebp - 0x114]
call fcn.00421730
mov dword [ebp - 4], 2
push dword [eax]
push 0x104
push edi
call fcn.0042f9f7
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
cmp eax, ecx
je 0x4226aa
push eax
call fcn.00430f8f
add esp, 4
push dword [ebp - 0x134]
mov ebx, 1
call esi
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x140]
call esi
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, ebx
jmp 0x4226f2
push edi
push esi
push ebx
call fcn.00422710
add esp, 0xc
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.00428d9d
mov esp, ebp
pop ebp
ret