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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60705e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x144
mov eax, dword [0x6790c0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
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 - 0x14]
call fcn.004086d0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4250fd
call fcn.0043d2c0
cmp eax, 1
jne 0x4250fd
lea ecx, [ebp - 0x14]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x130]
push edx
call fcn.004163f0
add esp, 0xc
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00403610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.00401620
mov dword [ebp + 8], VariantInit
cmp dword [ebp + 0x10], 0
je 0x42512b
lea edx, [ebp - 0x18]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x14]
call fcn.00401d70
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00417350
mov dword [ebp - 0x148], eax
jmp 0x42514f
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push 0
lea ecx, [ebp - 0x14]
call fcn.00401d70
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x425291
push 0x104
lea ecx, [ebp - 0x128]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x425230
mov byte [ebp - 4], 2
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x138]
call fcn.00401240
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.00425050
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x1c], ecx
xor edx, edx
cmp dword [ebp - 0x1c], 0
setne dl
mov byte [ebp - 0x131], dl
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.00401620
movzx eax, byte [ebp - 0x131]
test eax, eax
je 0x4251f9
mov byte [ebp - 4], 0
jmp 0x425230
jmp 0x425220
mov dword [ebp - 4], 0
jmp 0x42522b
jmp 0x425162
cmp dword [ebp - 0x1c], 0x103
je 0x425242
cmp dword [ebp - 0x1c], 0x3f2
jne 0x425287
cmp dword [ebp + 0x10], 0
je 0x425265
lea ecx, [ebp - 0x14]
call fcn.00401d70
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00425360
mov dword [ebp - 0x154], eax
jmp 0x42527e
lea ecx, [ebp - 0x14]
call fcn.00401d70
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x13c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401620
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.005d84a0
mov esp, ebp
pop ebp
ret 0xc