Function at 0x464a50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5128d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
mov byte [esp + 0x17], 0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov edi, dword [ebp + 8]
push str.type
mov ecx, edi
mov dword [esp + 0x44], 0
mov byte [esp + 0x1a], 0
call fcn.00439d60
cmp eax, 0x57b240
je 0x46510a
push str.type
mov ecx, edi
call fcn.00439d60
mov al, byte [eax + 8]
cmp al, 1
je 0x464ae5
cmp al, 2
je 0x464ae5
cmp al, 5
je 0x464ae5
cmp al, 3
jne 0x46510a
push str.type
mov ecx, edi
call fcn.00439d60
mov ecx, eax
call fcn.00439520
mov ebx, eax
push 0x5504b0
mov ecx, edi
mov dword [esp + 0x30], ebx
call fcn.00439d60
cmp eax, 0x57b240
je 0x465047
push 0x5504b0
mov ecx, edi
call fcn.00439d60
cmp byte [eax + 8], 4
jne 0x465047
push 0x5504b0
mov ecx, edi
call fcn.00439d60
mov esi, eax
cmp byte [esi + 8], 4
je 0x464b56
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ed740
add esp, 0xc
push dword [esi]
lea ecx, [esp + 0x20]
call fcn.00420650
lea edx, [esp + 0x1c]
mov ecx, edx
call fcn.0042c120
push str.public
mov ecx, edi
call fcn.00439d60
cmp eax, 0x57b240
je 0x464ba8
push str.public
mov ecx, edi
call fcn.00439d60
cmp byte [eax + 8], 5
jne 0x464ba8
push str.public
mov ecx, edi
call fcn.00439d60
mov ecx, eax
call fcn.00439820
mov byte [esp + 0x16], al
mov edx, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x40], 9
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
setbe byte [esp + 0x15]
cmp byte [esp + 0x16], 0
je 0x464dae
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x40], 0xa
mov eax, dword [esp + 0x2c]
or ebx, 0xffffffff
test eax, eax
jne 0x464c57
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x28], eax
jne 0x464c48
push ecx
mov ecx, esp
mov byte [esp + 0x44], 0xb
push str.PUBLIC
lea esi, [esp + 0x30]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x2c]
add esp, 4
push esi
push str._sDesktop
jmp 0x464d4c
push ecx
mov ecx, esp
mov byte [esp + 0x44], 0xc
push str.ALLUSERSPROFILE
jmp 0x464c26
cmp eax, 1
jne 0x464cd2
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x28], eax
jne 0x464ca6
push ecx
mov ecx, esp
push str.PROGRAMDATA
mov byte [esp + 0x48], 0xd
lea esi, [esp + 0x30]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x2c]
add esp, 4
push esi
push str._sMicrosoftWindowsStart_MenuPrograms
jmp 0x464d4c
push ecx
mov ecx, esp
push str.ALLUSERSPROFILE
mov byte [esp + 0x48], 0xe
lea esi, [esp + 0x30]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x2c]
add esp, 4
push esi
push str._sStart_MenuPrograms
jmp 0x464d4c
cmp eax, 2
jne 0x464d77
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x28], eax
jne 0x464d22
push ecx
mov ecx, esp
push str.PROGRAMDATA
mov byte [esp + 0x48], 0xf
lea esi, [esp + 0x30]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x2c]
add esp, 4
push esi
push str._sMicrosoftWindowsStart_MenuProgramsStartup
jmp 0x464d4c
push ecx
mov ecx, esp
push str.ALLUSERSPROFILE
mov byte [esp + 0x48], 0x10
lea esi, [esp + 0x30]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x2c]
add esp, 4
push esi
push str._sStart_MenuProgramsStartup
lea eax, [esp + 0x20]
push eax
call fcn.00421610
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
mov byte [esp + 0x4c], 0xa
add esp, 0xc
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464d77
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push edi
push esi
lea eax, [esp + 0x28]
push str._s_s.lnk
push eax
call fcn.00421610
add esi, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x40], 9
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464e02
mov ecx, dword [esi]
push esi
jmp 0x464dfd
mov ecx, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.0046be50
mov byte [esp + 0x40], 0x11
mov edi, dword [esp + 0x1c]
push edi
push dword [esp + 0x2c]
lea eax, [esp + 0x28]
push str._s_s.lnk
push eax
call fcn.00421610
mov byte [esp + 0x50], 9
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
or ebx, 0xffffffff
add esp, 0x10
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x464e02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x20]
push ecx
mov ecx, dword [esi - 0x10]
add esi, 0xfffffff0
mov eax, dword [ecx]
mov dword [esp + 0x1c], esp
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x464e32
cmp ecx, dword [esi]
jne 0x464e32
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x464e77
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [esp + 0x2c], edx
test edx, edx
jne 0x464e4a
call fcn.004208f0
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004ea3ef
mov ecx, dword [esp + 0x3c]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
call fcn.0046bd80
test al, al
jne 0x465040
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x464ed5
push str.DeleteDTSCError
lea ecx, [esp + 0x30]
call fcn.004204a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 0x12
call fcn.00422ac0
mov byte [esp + 0x40], 9
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464f04
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x464f04
cmp eax, 1
jne 0x464f04
push str.DeleteSMSCError
lea ecx, [esp + 0x30]
call fcn.004204a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 0x13
call fcn.00422ac0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.004205e0
push str.deleteFile_error
lea ecx, [esp + 0x1c]
call fcn.00420550
push str.deleteShortcut
lea ecx, [esp + 0x2c]
mov byte [esp + 0x44], 0x14
call fcn.004204a0
mov byte [esp + 0x40], 0x15
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x34]
mov byte [esp + 0x44], 0x16
call fcn.00421890
add esp, 4
mov ecx, eax
mov byte [esp + 0x40], 0x17
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x464f7a
push 2
push ecx
lea ecx, [esp + 0x30]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x40], 0x16
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464f9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x40], 0x15
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464fbe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x40], 0x14
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x464fe0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x40], 9
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465002
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
lea eax, [esi + 0xc]
mov byte [esp + 0x40], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46501d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x465220
mov ecx, dword [edi]
push edi
jmp 0x46521b
mov byte [esp + 0x17], 1
jmp 0x465002
push str.name_error
lea ecx, [esp + 0x2c]
call fcn.00420550
push str.deleteShortcut
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 5
call fcn.004204a0
mov byte [esp + 0x40], 6
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 7
call fcn.00421890
add esp, 4
mov ecx, eax
mov byte [esp + 0x40], 8
mov eax, dword [esp + 0x24]
cmp dword [eax + 0xc], 0
je 0x4650bd
push 2
push ecx
lea ecx, [esp + 0x34]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x40], 7
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4650e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x40], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465100
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x40], 5
jmp 0x4651c2
push str.type_error
lea ecx, [esp + 0x2c]
call fcn.00420550
push str.deleteShortcut
lea ecx, [esp + 0x30]
mov byte [esp + 0x44], 1
call fcn.004204a0
mov byte [esp + 0x40], 2
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x34]
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 3
call fcn.00421890
add esp, 4
mov byte [esp + 0x40], 4
cmp dword [ebx + 0xc], 0
je 0x46517a
push 2
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x40], 3
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46519f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0x40], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4651bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x40], 1
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4651df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x40], 0
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465201
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x465220
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46523a
mov eax, 0xb
mov word [ecx], ax
mov al, byte [esp + 0x17]
movzx eax, al
mov word [ecx + 8], ax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8