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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7d98
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.00403ad0
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.00499f60
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.00403ad0
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.00499f60
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov esi, dword [ebx + 0x10]
push esi
push 0x4d1744
push eax
mov dword [ebp - 0x10], esi
call fcn.004038a0
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 0x42aa41
mov edi, esi
shl edi, 4
mov dword [ebp - 0x14], edi
sub ecx, edx
sar ecx, 4
cmp ecx, esi
jbe 0x42aa7a
push dword [edx + edi + 4]
lea ecx, [ebp - 0x48]
call fcn.00403010
mov byte [ebp - 4], 4
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp edi, esi
je 0x42a9b8
nop word [eax + eax]
push dword [ebp - 0x44]
mov ecx, edi
call fcn.00403330
test al, al
jne 0x42a987
add edi, 0x10
cmp edi, esi
jne 0x42a970
jmp 0x42a9b8
lea ebx, [edi + 0x10]
cmp ebx, esi
je 0x42a9a5
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 0x42a990
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.004039a0
mov ecx, dword [ebx + 0x14]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x24]
call fcn.0041eb90
test al, al
je 0x42aa71
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x42a9f9
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 0x42aa0a
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 0x4d1744
add edi, 0x10
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0x14], edi
call fcn.004038a0
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 0x42a940
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.004039a0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.StringStorage.0
call fcn.004039a0
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.0042a6a0
jmp 0x42aa41
call fcn.00426d60
int3