Function at 0x4717c0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf82d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4fe0a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov esi, dword [0x51350c]
test esi, esi
je 0x471806
lock inc dword [esi + 4]
mov esi, dword [0x51350c]
mov ecx, dword [0x513508]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x98]
or ebx, 0xffffffff
test esi, esi
je 0x471848
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x471848
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x471848
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x51350c]
test esi, esi
je 0x47185c
lock inc dword [esi + 4]
mov esi, dword [0x51350c]
mov ecx, dword [0x513508]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 4
lea edx, [ebp - 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 0x9c]
mov byte [ebp - 4], 6
test esi, esi
je 0x47189f
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x47189f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x47189f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 1
jl 0x4718bd
cmp word [eax], 0x22
jne 0x4718bd
push 1
push 0
lea ecx, [ebp + 8]
call fcn.0045d160
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x4718e2
lea ecx, [edx - 1]
cmp ecx, edx
jg 0x471ba3
cmp word [eax + ecx*2], 0x22
jne 0x4718e2
push 1
push ecx
lea ecx, [ebp + 8]
call fcn.0045d160
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x471bad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x471bad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x471bad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x471bad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x38]
call fcn.00403180
push 0x4e82bc
push str.orun___f
lea eax, [ebp - 0x30]
push str._aut_srom__t_s
push eax
call fcn.0041a070
add esp, 0x10
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403180
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x28], 5
push eax
call fcn.00404490
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 8
mov edi, dword [0x51358c]
test edi, edi
jne 0x4719c6
push 4
call fcn.0049cf37
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [0x51358c], edi
mov dword [edi], vtable.CAutoRunManager.0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x14], 0
je 0x471a30
mov eax, dword [0x4fedd4]
cmp eax, 0xffffffff
jne 0x471a0c
push ecx
call fcn.0040aa80
add esp, 4
test al, al
je 0x4719f3
mov dword [0x4fedd4], 1
jmp 0x471a10
lea eax, [ebp - 0x38]
mov dword [0x4fedd4], 0
push eax
push esi
call fcn.00482650
jmp 0x471aaa
test eax, eax
je 0x471a24
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
push esi
call fcn.004813d0
test eax, eax
jne 0x471aaa
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.00482650
jmp 0x471aaa
push esi
call fcn.00482100
call fcn.00404d50
mov ecx, eax
test ecx, ecx
je 0x471bad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4ea628
push str.Windows
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.0041a070
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
add esp, 0x10
push esi
mov esi, dword [ebp - 0x14]
push esi
push SysReAllocString
call edi
push dword [ebp - 0x10]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov byte [ebp - 4], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x471aa7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 7
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x471ac5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471ae3
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 0x471afd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471b17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471b31
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471b4f
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 - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x471b6d
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 0x471b8c
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.00404b30
push 0x80004005
call fcn.00404b30
int3