Function at 0x10024d60
Capabilities:
Check os version
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007072d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10087040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 1
jl 0x10024daf
cmp word [eax], 0x22
jne 0x10024daf
push ecx
push 0
lea ecx, [ebp + 8]
call fcn.10025390
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x10024dd3
lea ecx, [edx - 1]
cmp ecx, edx
jg 0x10025160
cmp word [eax + ecx*2], 0x22
jne 0x10024dd3
push ecx
push ecx
lea ecx, [ebp + 8]
call fcn.10025390
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1002516a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1002516a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1002516a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1002516a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x30]
add esi, 0xfffffff0
lea edx, [eax - 0x10]
mov dword [ebp - 0x14], edx
cmp edx, esi
je 0x10024e99
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x10024e8d
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x10024e8d
mov ecx, dword [ebp - 0x14]
call fcn.10005bd0
mov dword [ebp - 0x14], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x10024e85
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x30], eax
jmp 0x10024e99
push dword [eax - 0xc]
lea ecx, [ebp - 0x30]
push eax
call fcn.10005aa0
push 0x1007cc8c
push str.orun___f
lea eax, [ebp - 0x28]
push str._aut_srom__t_s
push eax
call fcn.10004ea0
mov ecx, dword [0x10089eac]
add esp, 0x10
test cl, 1
jne 0x10024ef1
push 0x64
or ecx, 1
push 0
push 0x10089e48
mov dword [0x10089eac], ecx
call fcn.10043f30
add esp, 0xc
call fcn.10005170
push 0x10072aa0
call fcn.1004245d
mov ecx, dword [0x10089eac]
add esp, 4
mov edx, dword [0x10089e94]
mov esi, dword [ebp - 0x24]
add esi, 0xfffffff0
lea edi, [edx - 0x10]
cmp edi, esi
je 0x10024f49
cmp dword [esi + 0xc], 0
jl 0x10024f37
mov eax, dword [edi]
cmp eax, dword [esi]
jne 0x10024f37
mov ecx, edi
call fcn.10005bd0
mov edi, eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10024f2f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x24], eax
jmp 0x10024f43
push dword [edx - 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.10005aa0
mov ecx, dword [0x10089eac]
mov dword [ebp - 0x20], 5
test cl, 1
jne 0x10024f81
push 0x64
or ecx, 1
push 0
push 0x10089e48
mov dword [0x10089eac], ecx
call fcn.10043f30
add esp, 0xc
call fcn.10005170
push 0x10072aa0
call fcn.1004245d
add esp, 4
mov ecx, dword [0x10089e90]
lea ecx, [ecx - 0x10]
call fcn.10005bd0
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 2
mov esi, dword [0x10089ee0]
test esi, esi
jne 0x10024fc1
push 4
call fcn.100424ac
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [0x10089ee0], esi
mov dword [esi], vtable.CAutoRunManager.0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x10], 0
je 0x10025028
mov eax, dword [0x10087b4c]
cmp eax, 0xffffffff
jne 0x10025004
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x10024feb
mov dword [0x10087b4c], 1
jmp 0x10025008
lea eax, [ebp - 0x30]
mov dword [0x10087b4c], 0
push eax
push edi
call fcn.1002e2e0
jmp 0x100250a3
test eax, eax
je 0x1002501c
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push edi
call fcn.1002d250
test eax, eax
jne 0x100250a3
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.1002e2e0
jmp 0x100250a3
push edi
call fcn.1002e080
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1002516a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x1007d098
push str.Windows
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 4
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.10004ea0
mov esi, dword [ebp - 0x10]
add esp, 0x10
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push esi
push SysReAllocString
call edi
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100250a3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100250be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100250dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100250f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10025110
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002512a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10025149
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.100013a0
push 0x80004005
call fcn.100013a0
int3