Function at 0x466695
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x46fc8b
call fcn.0046f35c
mov eax, 0x2848
call fcn.0043cfb0
mov eax, dword [ebp + 8]
push ebx
push esi
lea ecx, [eax + 0x208]
push edi
push ecx
add eax, 0x30c
call fcn.0040335a
pop ecx
mov ecx, eax
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x2854]
mov dword [ebp - 0x14], ecx
call fcn.0045daf3
xor ebx, ebx
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x1443]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x1444], bl
call fcn.0043cdc0
add esp, 0xc
push esi
lea eax, [ebp - 0x843]
push ebx
push eax
mov byte [ebp - 0x844], bl
call fcn.0043cdc0
add esp, 0xc
push esi
lea eax, [ebp - 0x1043]
push ebx
push eax
mov byte [ebp - 0x1044], bl
call fcn.0043cdc0
add esp, 0xc
push ebx
xor edx, edx
mov edi, 0x476484
push 0x477fd4
inc edx
mov ecx, edi
lea eax, [ebp - 0x2854]
call fcn.0045e00f
lea ecx, [ebp - 0x1444]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
cmp dl, bl
jne 0x46674a
mov eax, dword [0x49a8cc]
add eax, 0xa8de
push eax
push 0x478654
xor edx, edx
mov ecx, edi
lea eax, [ebp - 0x2854]
call fcn.0045e00f
lea ecx, [ebp - 0x844]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
cmp dl, bl
jne 0x46677b
push ebx
xor edx, edx
push 0x478658
inc edx
mov ecx, edi
lea eax, [ebp - 0x2854]
call fcn.0045e00f
lea ecx, [ebp - 0x1044]
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
cmp dl, bl
jne 0x4667a3
push 0x477780
lea eax, [ebp - 0x2854]
push eax
xor eax, eax
call fcn.0045dfe1
mov dword [ebp + 8], eax
push 0x47865c
lea eax, [ebp - 0x2854]
push eax
xor eax, eax
call fcn.0045dfe1
push esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x443]
push ebx
push eax
mov byte [ebp - 0x444], bl
call fcn.0043cdc0
add esp, 0xc
push esi
lea eax, [ebp - 0xc43]
push ebx
push eax
mov byte [ebp - 0xc44], bl
call fcn.0043cdc0
add esp, 0xc
push ebx
xor edx, edx
push 0x478664
inc edx
mov ecx, edi
lea eax, [ebp - 0x2854]
call fcn.0045e00f
mov esi, eax
lea ecx, [ebp - 0x444]
sub ecx, esi
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
cmp al, bl
jne 0x466827
mov eax, dword [0x49a8cc]
add eax, 0xa8de
push eax
push 0x478670
xor edx, edx
mov ecx, edi
lea eax, [ebp - 0x2854]
call fcn.0045e00f
lea esi, [ebp - 0xc44]
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp cl, bl
jne 0x466858
push dword [ebp - 0x14]
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x46687e
mov eax, esi
call fcn.00454b4d
push 1
push ebx
lea eax, [ebp - 0x444]
push eax
push 0x478664
lea eax, [ebp - 0x2854]
push eax
call fcn.0045df12
mov eax, dword [0x49a8cc]
push ebx
add eax, 0xa8de
push eax
lea eax, [ebp - 0xc44]
push eax
push 0x478670
lea eax, [ebp - 0x2854]
push eax
call fcn.0045df12
cmp esi, ebx
je 0x4668e7
lea eax, [ebp - 0x444]
push eax
push 0x478678
mov eax, esi
call fcn.00454de3
lea eax, [ebp - 0xc44]
push eax
push 0x478684
mov eax, esi
call fcn.00454de3
mov eax, dword [0x49a8cc]
test dword [eax + 0xcc88], 2
jne 0x46692a
push 1
push ebx
lea eax, [ebp - 0x1444]
push eax
push 0x477fd4
lea eax, [ebp - 0x2854]
push eax
call fcn.0045df12
cmp esi, ebx
je 0x46692a
lea eax, [ebp - 0x1444]
push eax
push 0x47868c
mov eax, esi
call fcn.00454de3
mov eax, dword [0x49a8cc]
test dword [eax + 0xcc88], 1
jne 0x466992
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0x477780
lea eax, [ebp - 0x2854]
call fcn.0045dceb
cmp esi, ebx
je 0x466992
push 7
pop ecx
push dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push 0x476570
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push 0x478698
mov eax, esi
call fcn.00454de3
mov eax, dword [0x49a8cc]
test dword [eax + 0xcc88], 4
jne 0x466a3d
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x466a3d
mov dword [ebp + 8], eax
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0x47865c
lea eax, [ebp - 0x2854]
call fcn.0045dceb
mov eax, dword [0x49a8cc]
push ebx
add eax, 0xa8de
push eax
lea eax, [ebp - 0x844]
push eax
push 0x478654
lea eax, [ebp - 0x2854]
push eax
call fcn.0045df12
cmp esi, ebx
je 0x466a3d
push 7
pop ecx
push dword [ebp - 0x18]
xor eax, eax
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push 0x476570
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push 0x47869c
mov eax, esi
call fcn.00454de3
lea eax, [ebp - 0x844]
push eax
push 0x4786a4
mov eax, esi
call fcn.00454de3
lea eax, [ebp - 0x1044]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x466a46
sub eax, edx
je 0x466a6c
push 1
push ebx
lea eax, [ebp - 0x1044]
push eax
push 0x478658
lea eax, [ebp - 0x2854]
push eax
call fcn.0045df12
push ebx
call fcn.00439295
pop ecx
mov dword [ebp - 0x24], eax
push 8
lea eax, [ebp - 0x24]
push eax
push 0xb
push 0x477788
lea eax, [ebp - 0x2854]
mov dword [ebp - 0x20], edx
call fcn.0045dceb
push dword [ebp - 0x14]
call fcn.00437ff5
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8