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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7de3b6
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x168
push ebx
push esi
push edi
lea edi, [ebp - 0x178]
mov ecx, 0x5a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x87fbc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x13c]
call fcn.00412700
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4eb2e7
call fcn.005d03c0
cmp eax, 1
jne 0x4eb2e7
lea ecx, [ebp - 0x13c]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x150]
push edx
call fcn.004eb020
add esp, 0xc
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00413160
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.0040bc80
nop
mov dword [ebp + 8], VariantInit
cmp dword [ebp + 0x10], 0
je 0x4eb31b
lea edx, [ebp - 0x12c]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x13c]
call fcn.0040b730
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.004e2740
mov dword [ebp - 0x168], eax
jmp 0x4eb34e
mov esi, esp
lea ecx, [ebp - 0x12c]
push ecx
push 0x2001f
push 0
lea ecx, [ebp - 0x13c]
call fcn.0040b730
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x4eb4fc
mov esi, esp
push 0x104
lea ecx, [ebp - 0x120]
push ecx
push 0
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x4eb476
mov byte [ebp - 4], 2
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x158]
call fcn.00411e20
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x12c]
push eax
call fcn.004eb220
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x134], ecx
cmp dword [ebp - 0x134], 0
je 0x4eb3fc
mov dword [ebp - 0x174], 1
jmp 0x4eb406
mov dword [ebp - 0x174], 0
mov dl, byte [ebp - 0x174]
mov byte [ebp - 0x151], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x158]
call fcn.0040bc80
movzx eax, byte [ebp - 0x151]
test eax, eax
je 0x4eb432
mov byte [ebp - 4], 0
jmp 0x4eb476
jmp 0x4eb456
mov dword [ebp - 4], 0
jmp 0x4eb466
jmp 0x4eb471
jmp 0x4eb367
cmp dword [ebp - 0x134], 0x103
je 0x4eb48e
cmp dword [ebp - 0x134], 0x3f2
jne 0x4eb4e5
cmp dword [ebp + 0x10], 0
je 0x4eb4b4
lea ecx, [ebp - 0x13c]
call fcn.0040b730
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004ebba0
mov dword [ebp - 0x178], eax
jmp 0x4eb4d9
lea ecx, [ebp - 0x13c]
call fcn.0040b730
mov esi, esp
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x134], eax
mov esi, esp
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00784930
nop
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x15c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.0040bc80
mov eax, dword [ebp - 0x15c]
push edx
mov ecx, ebp
push eax
lea edx, [0x4eb55c]
call fcn.007848d0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00783b00
add esp, 0x178
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 0xc