Function at 0x475890
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d516d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5010c0]
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 esi, dword [0x51649c]
test esi, esi
je 0x4758d6
lock inc dword [esi + 4]
mov esi, dword [0x51649c]
mov ecx, dword [0x516498]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x94]
or ebx, 0xffffffff
test esi, esi
je 0x475918
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x475918
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x475918
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [0x51649c]
test esi, esi
je 0x47592c
lock inc dword [esi + 4]
mov esi, dword [0x51649c]
mov ecx, dword [0x516498]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 4
lea edx, [ebp - 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 0x98]
mov byte [ebp - 4], 6
test esi, esi
je 0x47596f
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x47596f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x47596f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 1
jl 0x47598d
cmp word [eax], 0x22
jne 0x47598d
push 1
push 0
lea ecx, [ebp + 8]
call fcn.00462610
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0xc]
cmp edx, 1
jl 0x4759b2
lea ecx, [edx - 1]
cmp ecx, edx
jg 0x475c77
cmp word [eax + ecx*2], 0x22
jne 0x4759b2
push 1
push ecx
lea ecx, [ebp + 8]
call fcn.00462610
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x475c81
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3c], eax
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x475c81
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x475c81
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x475c81
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403390
push 0x4eb684
push 0x4eb670
lea eax, [ebp - 0x34]
push str._aut_srom__t_s
push eax
call fcn.0041f6f0
add esp, 0x10
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x30]
push eax
call fcn.00403390
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov dword [ebp - 0x2c], 5
push eax
call fcn.00404680
add esp, 4
mov dword [ebp - 0x14], eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 8
mov esi, dword [0x516530]
test esi, esi
jne 0x475a99
push 4
call fcn.0049f7ce
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [0x516530], esi
mov dword [esi], vtable.CAutoRunManager.0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x10], 0
je 0x475b03
mov eax, dword [0x501e34]
cmp eax, 0xffffffff
jne 0x475adf
push ecx
call fcn.0040adb0
add esp, 4
test al, al
je 0x475ac6
mov dword [0x501e34], 1
jmp 0x475ae3
lea eax, [ebp - 0x3c]
mov dword [0x501e34], 0
push eax
push edi
call fcn.0048b910
jmp 0x475b7e
test eax, eax
je 0x475af7
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
push edi
call fcn.0048a660
test eax, eax
jne 0x475b7e
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.0048b910
jmp 0x475b7e
push edi
call fcn.0048b3c0
call fcn.00404f80
mov ecx, eax
test ecx, ecx
je 0x475c81
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0x4ecb48
push str.Windows
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xa
push str.SoftwareMicrosoft_sCurrentVersion_s
push eax
call fcn.0041f6f0
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], 9
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x475b7e
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], 7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x475b99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x475bb7
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 0x475bd1
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 0x475beb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x475c05
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 0x475c23
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 0x475c41
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 0x475c60
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.00404d50
push 0x80004005
call fcn.00404d50
int3