Function at 0x43c22b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488a92
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4b3014]
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 - 0x38], eax
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x43bde9
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x43be10
push 0x80004005
call fcn.0041ffd0
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.0044f3e0
cmp eax, 0x4b75d0
je 0x43c68f
cmp byte [edi + 8], bl
jne 0x43be44
mov eax, 0x4b75d0
jmp 0x43bec3
mov ecx, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], str.type
mov dword [ebp - 0x18], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43be97
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0
je 0x43be90
cmp dword [ebp - 0x18], 1
jne 0x43be90
call fcn.0044e5b0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x43bebf
add eax, 0x18
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 0
je 0x43bebf
cmp dword [ebp - 0x18], 1
jne 0x43bebf
call fcn.0044e5b0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov al, byte [eax + 8]
cmp al, 1
je 0x43beda
cmp al, 2
je 0x43beda
cmp al, 5
je 0x43beda
cmp al, 3
jne 0x43c68f
cmp byte [edi + 8], 0
jne 0x43bee7
mov eax, 0x4b75d0
jmp 0x43bf66
mov ecx, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], str.type
mov dword [ebp - 0x18], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43bf3a
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], 0
je 0x43bf33
cmp dword [ebp - 0x18], 1
jne 0x43bf33
call fcn.0044e5b0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x43bf62
add eax, 0x18
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1c], 0
je 0x43bf62
cmp dword [ebp - 0x18], 1
jne 0x43bf62
call fcn.0044e5b0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.0044eb80
push str.name
mov ecx, edi
mov dword [ebp - 0x34], eax
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x43c661
cmp byte [edi + 8], 0
jne 0x43bf94
mov eax, 0x4b75d0
jmp 0x43c013
mov ecx, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], str.name
mov dword [ebp - 0x18], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43bfe7
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1c], 0
je 0x43bfe0
cmp dword [ebp - 0x18], 1
jne 0x43bfe0
call fcn.0044e5b0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x43c00f
add eax, 0x18
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1c], 0
je 0x43c00f
cmp dword [ebp - 0x18], 1
jne 0x43c00f
call fcn.0044e5b0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp byte [eax + 8], 4
jne 0x43c661
cmp byte [edi + 8], 0
jne 0x43c02a
mov esi, 0x4b75d0
jmp 0x43c0a2
mov ecx, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], str.name
mov dword [ebp - 0x18], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43c07c
mov byte [ebp - 4], 8
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x43c075
cmp dword [ebp - 0x18], 1
jne 0x43c075
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x43c09e
lea esi, [eax + 0x18]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1c], 0
je 0x43c09e
cmp dword [ebp - 0x18], 1
jne 0x43c09e
call fcn.0044e5b0
push dword [ebp - 0x1c]
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 0x43c0ac
xor ecx, ecx
jmp 0x43c0ba
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c0b1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0042fb50
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
call fcn.0045b7a0
push str.public
mov ecx, edi
call fcn.0044f3e0
cmp eax, 0x4b75d0
je 0x43c247
cmp byte [edi + 8], 0
jne 0x43c0f3
mov esi, 0x4b75d0
jmp 0x43c16b
mov ecx, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], str.public
mov dword [ebp - 0x18], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43c145
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x43c13e
cmp dword [ebp - 0x18], 1
jne 0x43c13e
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x43c167
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1c], 0
je 0x43c167
cmp dword [ebp - 0x18], 1
jne 0x43c167
call fcn.0044e5b0
push dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 1
cmp byte [esi + 8], 5
jne 0x43c247
cmp byte [edi + 8], 0
jne 0x43c182
mov esi, 0x4b75d0
jmp 0x43c1f9
mov ecx, dword [edi]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], str.public
mov dword [ebp - 0x18], 0
call fcn.0044f750
mov ecx, dword [edi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43c1d4
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x43c1cd
cmp dword [ebp - 0x18], 1
jne 0x43c1cd
call fcn.0044e5b0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x43c1f5
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0xd
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x43c1f5
cmp dword [ebp - 0x18], 1
jne 0x43c1f5
call fcn.0044e5b0
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.0x43c202.0
jmp dword [eax*4 + 0x43c718]
cmp dword [esi], 0
setne bl
jmp 0x43c247
movsd xmm0, qword [esi]
ucomisd xmm0, qword [0x4a24f8]
lahf
test ah, 0x44
jnp case.0x43c202.0
mov bl, 1
jmp 0x43c247
mov bl, byte [esi]
jmp 0x43c247
mov eax, dword [esi]
test eax, eax
je case.0x43c202.0
cmp byte [eax], 0
je case.0x43c202.0
mov bl, 1
jmp 0x43c247
mov eax, dword [esi]
cmp dword [eax + 4], 0
setne bl
jmp 0x43c247
xor bl, bl
mov eax, dword [0x4b745c]
test eax, eax
jne 0x43c283
push 0x230
call fcn.0045f195
mov esi, eax
mov dword [ebp - 0x20], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0xe
call fcn.00463a40
add esp, 0x10
mov ecx, esi
call fcn.004288d0
mov byte [ebp - 4], 1
mov dword [0x4b745c], eax
cmp byte [eax + 0x208], 0
je 0x43c2a4
lea ecx, [eax + 0x218]
push ecx
lea edx, [eax + 0x210]
lea ecx, [ebp - 0x28]
call fcn.0045cc80
add esp, 4
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x43c2b9
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
setbe byte [ebp - 0x2d]
test bl, bl
je 0x43c504
call fcn.0040f7b0
mov ecx, eax
test ecx, ecx
jne 0x43c2f1
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x12
or ebx, 0xffffffff
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x43c380
call fcn.0040f7b0
cmp byte [ebp - 0x2d], 0
mov ecx, eax
jne 0x43c359
test ecx, ecx
jne 0x43c325
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x13
push str.PUBLIC
lea esi, [ebp - 0x14]
call fcn.0042d680
mov ecx, esi
call fcn.00459e90
mov esi, dword [ebp - 0x14]
push esi
push str._sDesktop
jmp 0x43c4ac
test ecx, ecx
jne 0x43c367
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x14
push str.ALLUSERSPROFILE
jmp 0x43c33c
cmp eax, 1
jne 0x43c41a
call fcn.0040f7b0
cmp byte [ebp - 0x2d], 0
mov ecx, eax
jne 0x43c3d8
test ecx, ecx
jne 0x43c3a4
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x15
push str.PROGRAMDATA
lea esi, [ebp - 0x14]
call fcn.0042d680
mov ecx, esi
call fcn.00459e90
mov esi, dword [ebp - 0x14]
push esi
push str._sMicrosoftWindowsStart_MenuPrograms
jmp 0x43c4ac
test ecx, ecx
jne 0x43c3e6
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x16
push str.ALLUSERSPROFILE
lea esi, [ebp - 0x14]
call fcn.0042d680
mov ecx, esi
call fcn.00459e90
mov esi, dword [ebp - 0x14]
push esi
push str._sStart_MenuPrograms
jmp 0x43c4ac
cmp eax, 2
jne 0x43c4d3
call fcn.0040f7b0
cmp byte [ebp - 0x2d], 0
mov ecx, eax
jne 0x43c46f
test ecx, ecx
jne 0x43c43e
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x17
push str.PROGRAMDATA
lea esi, [ebp - 0x14]
call fcn.0042d680
mov ecx, esi
call fcn.00459e90
mov esi, dword [ebp - 0x14]
push esi
push str._sMicrosoftWindowsStart_MenuProgramsStartup
jmp 0x43c4ac
test ecx, ecx
jne 0x43c47d
push 0x80004005
call fcn.0041ffd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x18
push str.ALLUSERSPROFILE
lea esi, [ebp - 0x14]
call fcn.0042d680
mov ecx, esi
call fcn.00459e90
mov esi, dword [ebp - 0x14]
push esi
push str._sStart_MenuProgramsStartup
lea eax, [ebp - 0x20]
push eax
call fcn.0042fcb0
mov eax, ebx
mov byte [ebp - 4], 0x12
add esi, 0xfffffff0
add esp, 0x10
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43c4d3
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.0042fcb0
add esp, 0x10
mov byte [ebp - 4], 0x11
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43c553
mov ecx, dword [esi]
push esi
jmp 0x43c54e
mov edx, dword [ebp - 0x34]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.0045bb20
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x24]
mov edi, dword [ebp - 0x28]
push edi
push dword [ebp - 0x20]
push str._s_s.lnk
push eax
call fcn.0042fcb0
mov byte [ebp - 4], 0x11
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 0x43c553
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov esi, esp
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.0042ed60
add eax, 0x10
mov dword [esi], eax
call fcn.0045bff0
add esp, 4
test al, al
jne 0x43c624
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x43c598
push str.DeleteDTSCError
lea ecx, [ebp - 0x14]
call fcn.0042d680
mov byte [ebp - 4], 0x1a
jmp 0x43c5ae
cmp eax, 1
jne 0x43c5d4
push str.DeleteSMSCError
lea ecx, [ebp - 0x14]
call fcn.0042d680
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x14]
call fcn.004448b0
mov byte [ebp - 4], 0x11
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c5d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CDispatcherHandler::DeleteShortcut
push str._s_deleteFile_error
push 3
push 5
call fcn.00458450
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x20]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c605
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 0x43c6c5
mov ecx, dword [edi]
push edi
jmp 0x43c6c0
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x20]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43c63f
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 0x43c65a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 1
jmp 0x43c6c7
push str.CDispatcherHandler::DeleteShortcut
push str._s_name_error
push 3
push 5
call fcn.00458450
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 0x43c6c5
jmp 0x43c6bd
push str.CDispatcherHandler::DeleteShortcut
push str._s_type_error
push 3
push 5
call fcn.00458450
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 0x43c6c7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor ecx, ecx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x43c6da
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 0x43c6f9
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.0045f17f
mov esp, ebp
pop ebp
ret 8