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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x606a7e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x144
mov eax, dword [0x679230]
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.00401900
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x41e60d
call fcn.004386f0
cmp eax, 1
jne 0x41e60d
lea ecx, [ebp - 0x14]
push ecx
push str.SoftwareClasses_
lea edx, [ebp - 0x130]
push edx
call fcn.00412f40
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.004017d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.00402180
mov dword [ebp + 8], SysReAllocStringLen
cmp dword [ebp + 0x10], 0
je 0x41e63b
lea edx, [ebp - 0x18]
push edx
push 0x2001f
push 0
lea ecx, [ebp - 0x14]
call fcn.004012d0
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00413e10
mov dword [ebp - 0x148], eax
jmp 0x41e65f
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push 0
lea ecx, [ebp - 0x14]
call fcn.004012d0
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 0x41e7a1
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 0x41e740
mov byte [ebp - 4], 2
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x138]
call fcn.00402250
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.0041e560
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.00402180
movzx eax, byte [ebp - 0x131]
test eax, eax
je 0x41e709
mov byte [ebp - 4], 0
jmp 0x41e740
jmp 0x41e730
mov dword [ebp - 4], 0
jmp 0x41e73b
jmp 0x41e672
cmp dword [ebp - 0x1c], 0x103
je 0x41e752
cmp dword [ebp - 0x1c], 0x3f2
jne 0x41e797
cmp dword [ebp + 0x10], 0
je 0x41e775
lea ecx, [ebp - 0x14]
call fcn.004012d0
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.0041e870
mov dword [ebp - 0x154], eax
jmp 0x41e78e
lea ecx, [ebp - 0x14]
call fcn.004012d0
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.00402180
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.005d8cf0
mov esp, ebp
pop ebp
ret 0xc