Function at 0x43a620
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c9ac
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x47800c]
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
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43a669
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43a690
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
push str.type
mov ecx, edi
mov byte [ebp - 4], 1
xor bl, bl
call fcn.004497b0
cmp eax, 0x47ae10
je 0x43ae58
cmp byte [edi + 8], bl
jne 0x43a6c4
mov eax, 0x47ae10
jmp 0x43a743
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.type
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43a717
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x43a710
cmp dword [ebp - 0x14], 1
jne 0x43a710
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x47ae10
jmp 0x43a73f
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0
je 0x43a73f
cmp dword [ebp - 0x14], 1
jne 0x43a73f
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov al, byte [eax + 8]
cmp al, 1
je 0x43a75a
cmp al, 2
je 0x43a75a
cmp al, 5
je 0x43a75a
cmp al, 3
jne 0x43ae58
cmp byte [edi + 8], 0
jne 0x43a767
mov eax, 0x47ae10
jmp 0x43a7e6
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.type
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43a7ba
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
je 0x43a7b3
cmp dword [ebp - 0x14], 1
jne 0x43a7b3
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x47ae10
jmp 0x43a7e2
add eax, 0x18
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], 0
je 0x43a7e2
cmp dword [ebp - 0x14], 1
jne 0x43a7e2
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.00448fa0
push str.name
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.004497b0
cmp eax, 0x47ae10
je 0x43ae2a
cmp byte [edi + 8], 0
jne 0x43a814
mov eax, 0x47ae10
jmp 0x43a893
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.name
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43a867
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x43a860
cmp dword [ebp - 0x14], 1
jne 0x43a860
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x47ae10
jmp 0x43a88f
add eax, 0x18
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x18], 0
je 0x43a88f
cmp dword [ebp - 0x14], 1
jne 0x43a88f
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 1
cmp byte [eax + 8], 4
jne 0x43ae2a
cmp byte [edi + 8], 0
jne 0x43a8aa
mov esi, 0x47ae10
jmp 0x43a922
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.name
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43a8fc
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43a8f5
cmp dword [ebp - 0x14], 1
jne 0x43a8f5
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x43a91e
lea esi, [eax + 0x18]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0
je 0x43a91e
cmp dword [ebp - 0x14], 1
jne 0x43a91e
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 1
mov edx, dword [esi]
test edx, edx
jne 0x43a92c
xor ecx, ecx
jmp 0x43a93a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a931
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.004410c0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call fcn.00453880
push str.public
mov ecx, edi
call fcn.004497b0
cmp eax, 0x47ae10
je 0x43aac7
cmp byte [edi + 8], 0
jne 0x43a973
mov esi, 0x47ae10
jmp 0x43a9eb
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.public
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43a9c5
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43a9be
cmp dword [ebp - 0x14], 1
jne 0x43a9be
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x43a9e7
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x43a9e7
cmp dword [ebp - 0x14], 1
jne 0x43a9e7
call fcn.004489d0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 1
cmp byte [esi + 8], 5
jne 0x43aac7
cmp byte [edi + 8], 0
jne 0x43aa02
mov esi, 0x47ae10
jmp 0x43aa79
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.public
mov dword [ebp - 0x14], 0
call fcn.00449b10
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43aa54
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43aa4d
cmp dword [ebp - 0x14], 1
jne 0x43aa4d
call fcn.004489d0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x47ae10
jmp 0x43aa75
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43aa75
cmp dword [ebp - 0x14], 1
jne 0x43aa75
call fcn.004489d0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 1
movsx eax, byte [esi + 8]
cmp eax, 7
ja case.0x43aa82.0
jmp dword [eax*4 + 0x43aee0]
cmp dword [esi], 0
setne bl
jmp 0x43aac7
movsd xmm0, qword [esi]
ucomisd xmm0, qword [0x468318]
lahf
test ah, 0x44
jnp case.0x43aa82.0
mov bl, 1
jmp 0x43aac7
mov bl, byte [esi]
jmp 0x43aac7
mov eax, dword [esi]
test eax, eax
je case.0x43aa82.0
cmp byte [eax], 0
je case.0x43aa82.0
mov bl, 1
jmp 0x43aac7
mov eax, dword [esi]
cmp dword [eax + 4], 0
setne bl
jmp 0x43aac7
xor bl, bl
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43aadc
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xe
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
setbe byte [ebp - 0x2d]
test bl, bl
je 0x43ad27
call fcn.0040f730
mov ecx, eax
test ecx, ecx
jne 0x43ab14
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0xf
or ebx, 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x43aba3
call fcn.0040f730
cmp byte [ebp - 0x2d], 0
mov ecx, eax
jne 0x43ab7c
test ecx, ecx
jne 0x43ab48
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x10
push str.PUBLIC
lea esi, [ebp - 0x1c]
call fcn.0042c540
mov ecx, esi
call fcn.00452150
mov esi, dword [ebp - 0x1c]
push esi
push str._sDesktop
jmp 0x43accf
test ecx, ecx
jne 0x43ab8a
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x11
push str.ALLUSERSPROFILE
jmp 0x43ab5f
cmp eax, 1
jne 0x43ac3d
call fcn.0040f730
cmp byte [ebp - 0x2d], 0
mov ecx, eax
jne 0x43abfb
test ecx, ecx
jne 0x43abc7
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x12
push str.PROGRAMDATA
lea esi, [ebp - 0x1c]
call fcn.0042c540
mov ecx, esi
call fcn.00452150
mov esi, dword [ebp - 0x1c]
push esi
push str._sMicrosoftWindowsStart_MenuPrograms
jmp 0x43accf
test ecx, ecx
jne 0x43ac09
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x13
push str.ALLUSERSPROFILE
lea esi, [ebp - 0x1c]
call fcn.0042c540
mov ecx, esi
call fcn.00452150
mov esi, dword [ebp - 0x1c]
push esi
push str._sStart_MenuPrograms
jmp 0x43accf
cmp eax, 2
jne 0x43acf6
call fcn.0040f730
cmp byte [ebp - 0x2d], 0
mov ecx, eax
jne 0x43ac92
test ecx, ecx
jne 0x43ac61
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x14
push str.PROGRAMDATA
lea esi, [ebp - 0x1c]
call fcn.0042c540
mov ecx, esi
call fcn.00452150
mov esi, dword [ebp - 0x1c]
push esi
push str._sMicrosoftWindowsStart_MenuProgramsStartup
jmp 0x43accf
test ecx, ecx
jne 0x43aca0
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x15
push str.ALLUSERSPROFILE
lea esi, [ebp - 0x1c]
call fcn.0042c540
mov ecx, esi
call fcn.00452150
mov esi, dword [ebp - 0x1c]
push esi
push str._sStart_MenuProgramsStartup
lea eax, [ebp - 0x20]
push eax
call fcn.0042e6b0
mov eax, ebx
mov byte [ebp - 4], 0xf
add esi, 0xfffffff0
add esp, 0x10
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43acf6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov esi, dword [ebp - 0x20]
push edi
push esi
push str._s_s.lnk
push eax
call fcn.0042e6b0
add esp, 0x10
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ad76
mov ecx, dword [esi]
push esi
jmp 0x43ad71
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.00453b00
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x24]
mov edi, dword [ebp - 0x28]
push edi
push dword [ebp - 0x20]
push str._s_s.lnk
push eax
call fcn.0042e6b0
mov byte [ebp - 4], 0xe
or ebx, 0xffffffff
mov edx, dword [ebp - 0x20]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ad76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0042d8f0
add eax, 0x10
mov dword [esi], eax
call fcn.00453fd0
add esp, 4
test al, al
jne 0x43aded
push str.CDispatcherHandler::DeleteShortcut
push str._s_deleteFile_error
push 3
push 5
call fcn.004506f0
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x1c]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43adce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43ae8e
mov ecx, dword [edi]
push edi
jmp 0x43ae89
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x1c]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ae08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43ae23
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 1
jmp 0x43ae90
push str.CDispatcherHandler::DeleteShortcut
push str._s_name_error
push 3
push 5
call fcn.004506f0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esp, 0x10
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ae8e
jmp 0x43ae86
push str.CDispatcherHandler::DeleteShortcut
push str._s_type_error
push 3
push 5
call fcn.004506f0
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add esp, 0x10
add esi, 0xfffffff0
xor ecx, ecx
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43ae90
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor ecx, ecx
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x43aea3
mov edx, 0xb
mov word [eax + 8], cx
mov word [eax], dx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43aec2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004568f7
mov esp, ebp
pop ebp
ret 8