Function at 0x464628
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x492bc0]
push ebx
push esi
lea ecx, [ebp - 0x198]
mov dword [ebp - 4], eax
call fcn.0045303c
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
je 0x46480d
push 0x409818
push dword [ebp + 8]
call fcn.0040be07
test eax, eax
pop ecx
pop ecx
jne 0x46480d
lea eax, [ebp - 0x198]
push eax
push 0x407850
push 1
push ebx
push 0x409a50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x46480d
cmp dword [esi], ebx
mov eax, esi
push edi
mov dword [ebp - 0x19c], eax
jne 0x46482e
cmp dword [ebp + 0x10], ebx
jne 0x46480c
push 0x40
lea eax, [ebp - 0x194]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromGUID2]
call dword [0x491038]
push 0x407840
mov esi, 0x80
push esi
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x1a0], ebx
call fcn.0040ac17
lea eax, [ebp - 0x194]
push eax
push esi
lea eax, [ebp - 0x114]
push eax
call fcn.0042b4bb
push 0x407814
push esi
lea eax, [ebp - 0x114]
push eax
call fcn.0042b4bb
push 0x20019
lea eax, [ebp - 0x114]
mov edi, SysReAllocStringLen
push eax
push edi
lea ecx, [ebp + 8]
mov dword [ebp - 0x19c], edi
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], ebx
call fcn.00462ea0
test eax, eax
jne 0x464765
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp + 8]
mov dword [ebp + 0xc], eax
call fcn.00462e3b
cmp dword [ebp + 0xc], ebx
jne 0x464765
cmp dword [ebp + 0x10], ebx
jne 0x464765
lea eax, [ebp - 0x114]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x407840
push esi
lea eax, [ebp - 0x114]
push eax
call fcn.0040ac17
lea eax, [ebp - 0x194]
push eax
push esi
lea eax, [ebp - 0x114]
push eax
call fcn.0042b4bb
push 0x4077e4
push esi
lea eax, [ebp - 0x114]
push eax
call fcn.0042b4bb
push 0x20019
lea eax, [ebp - 0x114]
push eax
push edi
lea ecx, [ebp + 8]
call fcn.00462ea0
test eax, eax
jne 0x4647ee
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00462e3b
cmp esi, ebx
jne 0x4647ee
cmp dword [ebp + 0x10], ebx
jne 0x4647ee
lea eax, [ebp - 0x114]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp + 8]
call fcn.00462e3b
lea ecx, [ebp - 0x19c]
call fcn.00462e3b
lea ecx, [ebp - 0x1a0]
call fcn.0043d5b0
pop edi
lea ecx, [ebp - 0x198]
call fcn.00454717
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
pop ebx
call fcn.0046cd1e
leave
ret 0xc
mov eax, dword [ebp - 0x19c]
cmp dword [ebp + 0x10], ebx
mov esi, dword [eax + 4]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
push edx
push 1
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
je 0x464864
cmp dword [eax], 1
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax]
push eax
jne 0x464859
call dword [ecx + 0x14]
jmp 0x46485c
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x46487a
mov ebx, eax
jmp 0x46480c
cmp dword [eax], 1
mov eax, dword [ebp - 0x198]
mov ecx, dword [eax]
push eax
jne 0x464877
call dword [ecx + 0x18]
jmp 0x46487a
call dword [ecx + 0x20]
add dword [ebp - 0x19c], 8
mov eax, dword [ebp - 0x19c]
cmp dword [eax], ebx
jne 0x464828
jmp 0x46469d