Function at 0x42ace0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8278
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], vtable.StringStorage.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], vtable.StringStorage.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov esi, dword [ebx + 0x10]
push esi
push 0x4d1938
push eax
mov dword [ebp - 0x10], esi
call fcn.00403a90
mov ecx, dword [ebx + 8]
add esp, 0xc
mov edx, dword [ebx + 4]
mov eax, ecx
sub eax, edx
sar eax, 4
cmp esi, eax
jae 0x42aee1
mov edi, esi
shl edi, 4
mov dword [ebp - 0x14], edi
sub ecx, edx
sar ecx, 4
cmp ecx, esi
jbe 0x42af1a
push dword [edx + edi + 4]
lea ecx, [ebp - 0x48]
call fcn.00403200
mov byte [ebp - 4], 4
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp edi, esi
je 0x42ae58
nop word [eax + eax]
push dword [ebp - 0x44]
mov ecx, edi
call fcn.00403520
test al, al
jne 0x42ae27
add edi, 0x10
cmp edi, esi
jne 0x42ae10
jmp 0x42ae58
lea ebx, [edi + 0x10]
cmp ebx, esi
je 0x42ae45
sub ebx, edi
mov eax, dword [edi]
mov ecx, edi
push dword [edi + ebx + 4]
call dword [eax + 4]
add edi, 0x10
lea eax, [edi + ebx]
cmp eax, esi
jne 0x42ae30
mov ebx, dword [ebp - 0x18]
push 0
mov ecx, dword [ebx + 8]
sub ecx, 0x10
mov eax, dword [ecx]
call dword [eax]
add dword [ebx + 8], 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], vtable.StringStorage.0
call fcn.00403b90
mov ecx, dword [ebx + 0x14]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x24]
call fcn.0041f030
test al, al
je 0x42af11
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x42ae99
push dword [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x42aeaa
push dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x14]
inc esi
push esi
push 0x4d1938
add edi, 0x10
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0x14], edi
call fcn.00403a90
mov ecx, dword [ebx + 8]
add esp, 0xc
mov edx, dword [ebx + 4]
mov eax, ecx
sub eax, edx
sar eax, 4
cmp esi, eax
jb 0x42ade0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.StringStorage.0
call fcn.00403b90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.0042ab40
jmp 0x42aee1
call fcn.00427200
int3