Function at 0x4652c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513998
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 0
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
mov byte [esp + 0x17], 0
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
mov esi, dword [ebp + 8]
push str.type
mov ecx, esi
mov byte [esp + 0x4c], 1
mov byte [esp + 0x1a], 0
call fcn.0043a040
cmp eax, 0x57c240
je 0x465997
push str.type
mov ecx, esi
call fcn.0043a040
mov al, byte [eax + 8]
cmp al, 1
je 0x46536e
cmp al, 2
je 0x46536e
cmp al, 5
je 0x46536e
cmp al, 3
jne 0x465997
push str.type
mov ecx, esi
call fcn.0043a040
mov ecx, eax
call fcn.00439800
mov ebx, eax
push 0x5527a8
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.0043a040
cmp eax, 0x57c240
je 0x4658d6
push 0x5527a8
mov ecx, esi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x4658d6
push 0x5527a8
mov ecx, esi
call fcn.0043a040
mov edi, eax
cmp byte [edi + 8], 4
je 0x4653df
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x4653e9
xor ecx, ecx
jmp 0x4653f9
mov ecx, edx
lea edi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4653f0
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0042ca60
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.0042c120
push str.public
mov ecx, esi
call fcn.0043a040
cmp eax, 0x57c240
je 0x46544d
push str.public
mov ecx, esi
call fcn.0043a040
cmp byte [eax + 8], 5
jne 0x46544d
push str.public
mov ecx, esi
call fcn.0043a040
mov ecx, eax
call fcn.00439b00
mov byte [esp + 0x16], al
mov edx, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x48], 0xa
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
setbe byte [esp + 0x15]
cmp byte [esp + 0x16], 0
je 0x465653
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x48], 0xb
mov eax, dword [esp + 0x30]
or ebx, 0xffffffff
test eax, eax
jne 0x4654fc
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x2c], eax
jne 0x4654ed
push ecx
mov ecx, esp
mov byte [esp + 0x4c], 0xc
push str.PUBLIC
lea esi, [esp + 0x34]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sDesktop
jmp 0x4655f1
push ecx
mov ecx, esp
mov byte [esp + 0x4c], 0xd
push str.ALLUSERSPROFILE
jmp 0x4654cb
cmp eax, 1
jne 0x465577
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x2c], eax
jne 0x46554b
push ecx
mov ecx, esp
push str.PROGRAMDATA
mov byte [esp + 0x50], 0xe
lea esi, [esp + 0x34]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sMicrosoftWindowsStart_MenuPrograms
jmp 0x4655f1
push ecx
mov ecx, esp
push str.ALLUSERSPROFILE
mov byte [esp + 0x50], 0xf
lea esi, [esp + 0x34]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sStart_MenuPrograms
jmp 0x4655f1
cmp eax, 2
jne 0x46561c
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x2c], eax
jne 0x4655c7
push ecx
mov ecx, esp
push str.PROGRAMDATA
mov byte [esp + 0x50], 0x10
lea esi, [esp + 0x34]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sMicrosoftWindowsStart_MenuProgramsStartup
jmp 0x4655f1
push ecx
mov ecx, esp
push str.ALLUSERSPROFILE
mov byte [esp + 0x50], 0x11
lea esi, [esp + 0x34]
call fcn.004204a0
mov ecx, esi
call fcn.0042b0e0
mov esi, dword [esp + 0x30]
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 + 0x54], 0xb
add esp, 0xc
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46561c
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 + 0x48], 0xa
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4656a7
mov ecx, dword [esi]
push esi
jmp 0x4656a2
mov ecx, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x30]
push eax
call fcn.0046c9b0
mov byte [esp + 0x48], 0x12
mov edi, dword [esp + 0x1c]
push edi
push dword [esp + 0x30]
lea eax, [esp + 0x28]
push str._s_s.lnk
push eax
call fcn.00421610
mov byte [esp + 0x58], 0xa
mov edx, dword [esp + 0x3c]
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 0x4656a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [esp + 0x20]
add esi, 0xfffffff0
push ecx
mov ecx, dword [esi]
mov dword [esp + 0x1c], esp
mov eax, dword [ecx]
mov dword [esp + 0x3c], esi
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4656da
cmp ecx, dword [esi]
jne 0x4656da
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x46571f
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [esp + 0x30], edx
test edx, edx
jne 0x4656f2
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.004eb39f
mov ecx, dword [esp + 0x40]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
call fcn.0046c8e0
test al, al
jne 0x4658b2
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x46577d
push str.DeleteDTSCError
lea ecx, [esp + 0x34]
call fcn.004204a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0x13
call fcn.00422ac0
mov byte [esp + 0x48], 0xa
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 0x4657ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4657ac
cmp eax, 1
jne 0x4657ac
push str.DeleteSMSCError
lea ecx, [esp + 0x34]
call fcn.004204a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0x14
call fcn.00422ac0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0xa
call fcn.004205e0
push str.deleteFile_error
lea ecx, [esp + 0x30]
call fcn.00420550
push str.deleteShortcut
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 0x15
call fcn.004204a0
mov byte [esp + 0x48], 0x16
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 0x17
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x48], 0x18
cmp dword [ecx + 0xc], 0
je 0x465820
push 2
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x48], 0x17
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465842
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x48], 0x16
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465860
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x48], 0x15
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 0x465882
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x48], 0xa
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 0x4658a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x48], 1
mov edx, dword [esp + 0x38]
jmp 0x465a78
mov byte [esp + 0x17], 1
mov byte [esp + 0x48], 1
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465a8e
mov ecx, dword [esi]
push esi
jmp 0x465a89
push str.name_error
lea ecx, [esp + 0x30]
call fcn.00420550
push str.deleteShortcut
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 6
call fcn.004204a0
mov byte [esp + 0x48], 7
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], esi
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 8
call fcn.00421890
add esp, 4
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x48], 9
cmp dword [ecx + 0xc], 0
je 0x46594a
push 2
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x48], 8
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46596f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x48], 7
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46598d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x48], 6
jmp 0x465a4f
push str.type_error
lea ecx, [esp + 0x30]
call fcn.00420550
push str.deleteShortcut
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 2
call fcn.004204a0
mov byte [esp + 0x48], 3
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], esi
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 4
call fcn.00421890
add esp, 4
mov byte [esp + 0x48], 5
cmp dword [ebx + 0xc], 0
je 0x465a07
push 2
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x48], 4
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x465a2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x48], 3
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465a4a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x48], 2
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 0x465a6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x48], 1
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465a8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov ecx, ebx
lea eax, [edi + 0xc]
mov byte [esp + 0x48], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x465aac
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x465ac6
mov eax, 0xb
mov word [ecx], ax
mov al, byte [esp + 0x17]
movzx eax, al
mov word [ecx + 8], ax
mov dword [esp + 0x48], 0xffffffff
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x465ae9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8