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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc998
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x554008]
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.00403af0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
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.00403af0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
add esp, 0xc
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
mov esi, dword [ebx + 0x10]
push esi
push 0x52ac04
push eax
mov dword [ebp - 0x10], esi
call fcn.004038c0
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 0x42ba41
mov edi, esi
shl edi, 4
mov dword [ebp - 0x14], edi
sub ecx, edx
sar ecx, 4
cmp ecx, esi
jbe 0x42ba7a
push dword [edx + edi + 4]
lea ecx, [ebp - 0x48]
call fcn.00403030
mov byte [ebp - 4], 4
mov edi, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp edi, esi
je 0x42b9b8
nop word [eax + eax]
push dword [ebp - 0x44]
mov ecx, edi
call fcn.00403350
test al, al
jne 0x42b987
add edi, 0x10
cmp edi, esi
jne 0x42b970
jmp 0x42b9b8
lea ebx, [edi + 0x10]
cmp ebx, esi
je 0x42b9a5
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 0x42b990
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.004039c0
mov ecx, dword [ebx + 0x14]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x24]
call fcn.0041f660
test al, al
je 0x42ba71
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x42b9f9
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 0x42ba0a
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 0x52ac04
add edi, 0x10
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0x14], edi
call fcn.004038c0
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 0x42b940
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x38], vtable.StringStorage.0
call fcn.004039c0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.StringStorage.0
call fcn.004039c0
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.0042b6a0
jmp 0x42ba41
call fcn.00427d00
int3