Function at 0x45aeb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50fe18
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x570be0]
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 [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 0
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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.00439e70
cmp eax, 0x5781c0
je 0x45b587
push str.type
mov ecx, esi
call fcn.00439e70
mov al, byte [eax + 8]
cmp al, 1
je 0x45af5e
cmp al, 2
je 0x45af5e
cmp al, 5
je 0x45af5e
cmp al, 3
jne 0x45b587
push str.type
mov ecx, esi
call fcn.00439e70
mov ecx, eax
call fcn.00439630
mov ebx, eax
push 0x54e830
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.00439e70
cmp eax, 0x5781c0
je 0x45b4c6
push 0x54e830
mov ecx, esi
call fcn.00439e70
cmp byte [eax + 8], 4
jne 0x45b4c6
push 0x54e830
mov ecx, esi
call fcn.00439e70
mov edi, eax
cmp byte [edi + 8], 4
je 0x45afcf
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004eb62b
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x45afd9
xor ecx, ecx
jmp 0x45afe9
mov ecx, edx
lea edi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45afe0
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0042c870
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.0042bf30
push str.public
mov ecx, esi
call fcn.00439e70
cmp eax, 0x5781c0
je 0x45b03d
push str.public
mov ecx, esi
call fcn.00439e70
cmp byte [eax + 8], 5
jne 0x45b03d
push str.public
mov ecx, esi
call fcn.00439e70
mov ecx, eax
call fcn.00439930
mov byte [esp + 0x16], al
mov edx, dword [0x571ba4]
mov ecx, 0x571ba4
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 0x45b243
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
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 0x45b0ec
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x2c], eax
jne 0x45b0dd
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.0042adf0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sDesktop
jmp 0x45b1e1
push ecx
mov ecx, esp
mov byte [esp + 0x4c], 0xd
push str.ALLUSERSPROFILE
jmp 0x45b0bb
cmp eax, 1
jne 0x45b167
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x2c], eax
jne 0x45b13b
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.0042adf0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sMicrosoftWindowsStart_MenuPrograms
jmp 0x45b1e1
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.0042adf0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sStart_MenuPrograms
jmp 0x45b1e1
cmp eax, 2
jne 0x45b20c
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
cmp byte [esp + 0x15], 0
mov dword [esp + 0x2c], eax
jne 0x45b1b7
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.0042adf0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sMicrosoftWindowsStart_MenuProgramsStartup
jmp 0x45b1e1
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.0042adf0
mov esi, dword [esp + 0x30]
add esp, 4
push esi
push str._sStart_MenuProgramsStartup
lea eax, [esp + 0x20]
push eax
call fcn.00421320
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 0x45b20c
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.00421320
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 0x45b297
mov ecx, dword [esi]
push esi
jmp 0x45b292
mov ecx, dword [esp + 0x24]
push ebx
lea eax, [esp + 0x30]
push eax
call fcn.004625a0
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.00421320
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 0x45b297
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 0x45b2ca
cmp ecx, dword [esi]
jne 0x45b2ca
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x45b30f
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 0x45b2e2
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.004e82bf
mov ecx, dword [esp + 0x40]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
call fcn.004624d0
test al, al
jne 0x45b4a2
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x45b36d
push str.DeleteDTSCError
lea ecx, [esp + 0x34]
call fcn.004204a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0x13
call fcn.004227d0
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 0x45b39c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45b39c
cmp eax, 1
jne 0x45b39c
push str.DeleteSMSCError
lea ecx, [esp + 0x34]
call fcn.004204a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 0x14
call fcn.004227d0
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 [0x571ba4]
mov ecx, 0x571ba4
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.004215a0
add esp, 4
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x48], 0x18
cmp dword [ecx + 0xc], 0
je 0x45b410
push 2
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004216b0
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 0x45b432
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 0x45b450
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 0x45b472
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 0x45b494
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 0x45b668
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 0x45b67e
mov ecx, dword [esi]
push esi
jmp 0x45b679
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 [0x571ba4]
mov ecx, 0x571ba4
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.004215a0
add esp, 4
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x48], 9
cmp dword [ecx + 0xc], 0
je 0x45b53a
push 2
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [ecx + 8]
push eax
call fcn.004216b0
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 0x45b55f
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 0x45b57d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x48], 6
jmp 0x45b63f
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 [0x571ba4]
mov ecx, 0x571ba4
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.004215a0
add esp, 4
mov byte [esp + 0x48], 5
cmp dword [ebx + 0xc], 0
je 0x45b5f7
push 2
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004216b0
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 0x45b61c
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 0x45b63a
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 0x45b65c
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 0x45b67e
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 0x45b69c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x45b6b6
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 0x45b6d9
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