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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463a19
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x47b040]
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 0x4194cf
cmp word [eax], 0x22
jne 0x4194cf
push ecx
push 0
lea ecx, [ebp + 8]
call fcn.00419ac0
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x4194f3
lea ecx, [edx - 1]
cmp ecx, edx
jg 0x419890
cmp word [eax + ecx*2], 0x22
jne 0x4194f3
push ecx
push ecx
lea ecx, [ebp + 8]
call fcn.00419ac0
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x41989a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x41989a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x41989a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x41989a
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 0x4195b9
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4195ad
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x4195ad
mov ecx, dword [ebp - 0x14]
call fcn.004064a0
mov dword [ebp - 0x14], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4195a5
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 0x4195b9
push dword [eax - 0xc]
lea ecx, [ebp - 0x30]
push eax
call fcn.004065f0
push 0x4714fc
push str.orun___f
lea eax, [ebp - 0x28]
push str._aut_srom__t_s
push eax
call fcn.00406780
mov ecx, dword [0x47e038]
add esp, 0x10
test cl, 1
jne 0x419619
or ecx, 1
mov dword [0x47e038], ecx
push 0x68
push 0
push 0x47dfd0
mov byte [ebp - 4], 2
call fcn.0043a680
add esp, 0xc
call fcn.0041b300
push 0x466210
call fcn.00438a8d
mov byte [ebp - 4], 1
add esp, 4
mov ecx, dword [0x47e038]
mov edx, dword [0x47e018]
mov esi, dword [ebp - 0x24]
add esi, 0xfffffff0
lea edi, [edx - 0x10]
cmp edi, esi
je 0x419671
cmp dword [esi + 0xc], 0
jl 0x41965f
mov eax, dword [edi]
cmp eax, dword [esi]
jne 0x41965f
mov ecx, edi
call fcn.004064a0
mov edi, eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419657
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x24], eax
jmp 0x41966b
push dword [edx - 0xc]
lea ecx, [ebp - 0x24]
push edx
call fcn.004065f0
mov ecx, dword [0x47e038]
mov dword [ebp - 0x20], 5
test cl, 1
jne 0x4196b1
or ecx, 1
mov dword [0x47e038], ecx
push 0x68
push 0
push 0x47dfd0
mov byte [ebp - 4], 3
call fcn.0043a680
add esp, 0xc
call fcn.0041b300
push 0x466210
call fcn.00438a8d
add esp, 4
mov byte [ebp - 4], 1
mov ecx, dword [0x47e014]
lea ecx, [ecx - 0x10]
call fcn.004064a0
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 4
mov esi, dword [0x47e054]
test esi, esi
jne 0x4196f1
push 4
call fcn.0043870c
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [0x47e054], esi
mov dword [esi], vtable.CAutoRunManager.0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x10], 0
je 0x419758
mov eax, dword [0x47bb34]
cmp eax, 0xffffffff
jne 0x419734
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x41971b
mov dword [0x47bb34], 1
jmp 0x419738
lea eax, [ebp - 0x30]
mov dword [0x47bb34], 0
push eax
push edi
call fcn.00428d00
jmp 0x4197d3
test eax, eax
je 0x41974c
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
push edi
call fcn.00427cc0
test eax, eax
jne 0x4197d3
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.00428d00
jmp 0x4197d3
push edi
call fcn.00428aa0
call fcn.00405000
mov ecx, eax
test ecx, ecx
je 0x41989a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x471ea0
push str.Windows
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.00406780
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], 5
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4197d3
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 0x4197ee
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 0x41980c
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 0x419826
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 0x419840
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 0x41985a
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 0x419879
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.004022c0
push 0x80004005
call fcn.004022c0
int3