Function at 0x46d070
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8cbd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4e4018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
mov esi, dword [0x4f9128]
test esi, esi
je 0x46d0b6
lock inc dword [esi + 4]
mov esi, dword [0x4f9128]
mov ecx, dword [0x4f9124]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x20]
mov eax, dword [ecx]
push edx
call dword [eax + 0xa8]
or ebx, 0xffffffff
test esi, esi
je 0x46d0f8
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46d0f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x46d0f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x4f9128]
test esi, esi
je 0x46d10c
lock inc dword [esi + 4]
mov esi, dword [0x4f9128]
mov ecx, dword [0x4f9124]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
call dword [eax + 0xac]
mov byte [ebp - 4], 6
test esi, esi
je 0x46d14f
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x46d14f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x46d14f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
cmp esi, 1
jl 0x46d1ae
cmp word [eax], 0x22
jne 0x46d1ae
dec esi
cmp dword [eax - 4], 1
jle 0x46d175
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.00404570
mov eax, dword [ebp + 8]
lea edx, [esi*2 + 2]
push edx
lea ecx, [eax + 2]
push ecx
push edx
push eax
call fcn.0040abd0
add esp, 0x10
test esi, esi
js 0x46d51e
mov eax, dword [ebp + 8]
cmp esi, dword [eax - 8]
jg 0x46d51e
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x46d1d3
lea ecx, [edx - 1]
cmp ecx, edx
jg 0x46d51e
cmp word [eax + ecx*2], 0x22
jne 0x46d1d3
push 1
push ecx
lea ecx, [ebp + 8]
call fcn.004614f0
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x46d528
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x46d528
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x46d528
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x46d528
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x38]
add esi, 0xfffffff0
lea edx, [eax - 0x10]
mov dword [ebp - 0x14], edx
cmp edx, esi
je 0x46d296
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x46d28a
mov edx, dword [edx]
cmp edx, dword [esi]
jne 0x46d28a
mov ecx, dword [ebp - 0x14]
call fcn.00416ab0
mov dword [ebp - 0x14], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x46d282
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 - 0x38], eax
jmp 0x46d296
push dword [eax - 0xc]
lea ecx, [ebp - 0x38]
push eax
call fcn.00404740
push 0x4cf68c
push str.orun___f
lea eax, [ebp - 0x30]
push str._aut_srom__t_s
push eax
call fcn.00403d00
mov eax, dword [ebp - 0x1c]
add esp, 0x10
mov esi, dword [ebp - 0x2c]
add esi, 0xfffffff0
lea edi, [eax - 0x10]
cmp edi, esi
je 0x46d300
cmp dword [esi + 0xc], 0
jl 0x46d2f4
mov edx, dword [edi]
cmp edx, dword [esi]
jne 0x46d2f4
mov ecx, edi
call fcn.00416ab0
mov edi, eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46d2ec
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x2c], eax
jmp 0x46d300
push dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00404740
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x28], 5
call fcn.00416ab0
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 8
mov esi, dword [0x4f9180]
test esi, esi
jne 0x46d341
push 4
call fcn.0048784a
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [0x4f9180], esi
mov dword [esi], vtable.CAutoRunManager.0
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 9
je 0x46d3ab
mov eax, dword [0x4e4cec]
cmp eax, 0xffffffff
jne 0x46d387
push ecx
call fcn.0041cb70
add esp, 4
test al, al
je 0x46d36e
mov dword [0x4e4cec], 1
jmp 0x46d38b
lea eax, [ebp - 0x38]
mov dword [0x4e4cec], 0
push eax
push edi
call fcn.00482b40
jmp 0x46d425
test eax, eax
je 0x46d39f
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
push edi
call fcn.00481b30
test eax, eax
jne 0x46d425
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.00482b40
jmp 0x46d425
push edi
call fcn.004828d0
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x46d528
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4d1e48
push str.Windows
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xa
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.00403d00
mov esi, dword [ebp - 0x14]
add esp, 0x10
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
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 0x46d422
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 7
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46d440
mov ecx, dword [edi]
push edi
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 0x46d45e
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 0x46d478
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 0x46d492
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 0x46d4ac
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 - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d4ca
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 - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46d4e8
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 0x46d507
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.00404860
push 0x80004005
call fcn.00404860
int3