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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576cb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4005c]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 1
jl 0x4e7b8c
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 1
jge 0x4e7baa
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x48]
jmp 0x4e7d59
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x24]
push edx
push 9
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x40050]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4e7c04
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x40050]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x4c]
jmp 0x4e7d59
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
lea edx, [ebp - 0x30]
push edx
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4e7c75
cmp dword [ebp - 0x34], 0xea
je 0x4e7c75
cmp dword [ebp - 0x34], 0x7a
je 0x4e7c75
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x50]
jmp 0x4e7d59
mov eax, dword [ebp - 0x44]
lea ecx, [eax + eax + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4e7cb6
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x54], 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x54]
jmp 0x4e7d59
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x44]
add eax, 1
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4e7d02
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
mov edx, dword [ebp - 0x40]
push edx
call fcn.0054d39c
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x68]
call fcn.004e7b43
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4e7d11
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x34], 0x103
je 0x4e7d22
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0x20]
jb 0x4e7cbd
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0054d328
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4