Function at 0x425ff0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584478
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
push str.Tool_RemoveRegistry
push esi
lea ecx, [ebp - 0x3c]
call fcn.0044ca70
add esp, 0xc
mov ebx, dword [ebp + 0xc]
push ebx
push str.szRegPath___s
lea eax, [ebp - 0x3c]
push 1
push eax
mov dword [ebp - 4], esi
call fcn.0044cd10
mov edi, dword [ebp + 8]
add esp, 0x10
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push esi
push ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x426230
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push esi
push esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
je 0x4260fc
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push str.return___08x
lea eax, [ebp - 0x3c]
push 2
push eax
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
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
cmp dword [ebp - 0x18], esi
jne 0x426124
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push esi
push str.return___08x
push 2
lea ecx, [ebp - 0x3c]
push ecx
jmp 0x42624e
mov edx, dword [ebp - 0x14]
lea eax, [edx + edx + 2]
push eax
call fcn.005594dc
add esp, 4
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, dword [ebp - 0x14]
lea ecx, [eax + eax + 4]
push ecx
call fcn.005594dc
mov edi, eax
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4261ce
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
inc edx
push esi
dec ecx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x10]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4261c2
push esi
push ebx
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp + 8]
push edi
push eax
call fcn.00425ff0
add esp, 0x18
test eax, eax
jne 0x4261c9
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0055931f
add esp, 4
push edi
call fcn.0055931f
add esp, 4
push 0
jmp 0x426243
cmp eax, 0x103
jne 0x426205
dec dword [ebp - 0x1c]
jne 0x426159
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push esi
call fcn.0055931f
add esp, 4
push edi
call fcn.0055931f
add esp, 4
xor esi, esi
push esi
push str.return___08x
push 2
lea ecx, [ebp - 0x3c]
push ecx
jmp 0x42624e
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.0055931f
add esp, 4
push edi
call fcn.0055931f
add esp, 4
push 0
push str.return___08x
push 2
lea ecx, [ebp - 0x3c]
push ecx
jmp 0x42624e
cmp eax, 2
je 0x4260c1
cmp eax, 3
je 0x4260c1
push esi
push str.return___08x
push 2
lea edx, [ebp - 0x3c]
push edx
call fcn.0044cd10
add esp, 0x10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044cc70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret