Function at 0x4b0660
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512a88
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x572bb0]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x24], ebx
call fcn.00460220
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4b06ae
push 0x80004005
call fcn.004712d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [ebp + 8]
mov ecx, edi
push str.keyParent
mov dword [esp + 0x74], 0
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b1308
push str.keyParent
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b1308
push str.keyParent
mov ecx, edi
call fcn.0048ad90
mov esi, eax
cmp byte [esi + 8], 4
je 0x4b071d
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov eax, dword [esi]
mov dword [esp + 0x38], eax
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b073f
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4b0783
test eax, 0xffff0000
jne 0x4b0783
movzx eax, ax
mov ecx, eax
mov dword [esp + 0x38], eax
call fcn.00471400
test eax, eax
je 0x4b0791
push dword [esp + 0x38]
lea ecx, [esp + 0x24]
push eax
call fcn.004724d0
jmp 0x4b078d
push eax
lea ecx, [esp + 0x24]
call fcn.00471eb0
mov esi, dword [esp + 0x20]
push str.keyName
mov ecx, edi
mov byte [esp + 0x74], 6
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b11d9
push str.keyName
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b11d9
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b07df
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
push str.keyName
mov ecx, edi
mov byte [esp + 0x74], 0xb
call fcn.0048ad90
mov ebx, eax
cmp byte [ebx + 8], 4
je 0x4b081d
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [ebx]
test edx, edx
jne 0x4b0827
xor ecx, ecx
jmp 0x4b0839
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b0830
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.0047da90
push 0x54d150
push 0x5511d4
lea ecx, [esp + 0x20]
call fcn.00473670
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0880
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x2c], ebx
push str.valueName
mov ecx, edi
mov byte [esp + 0x74], 0xc
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b0917
push str.valueName
mov ecx, edi
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b0917
push str.valueName
mov ecx, edi
call fcn.0048ad90
mov edi, eax
cmp byte [edi + 8], 4
je 0x4b08e3
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x4b08ed
xor ecx, ecx
jmp 0x4b08fb
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b08f2
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.0047da90
mov ebx, dword [esp + 0x2c]
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0933
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x30], edi
mov ecx, dword [ebp + 8]
push str.subKeyName
mov byte [esp + 0x74], 0xd
call fcn.0048ad90
cmp eax, 0x57a1b0
je 0x4b09cd
mov ecx, dword [ebp + 8]
push str.subKeyName
call fcn.0048ad90
cmp byte [eax + 8], 4
jne 0x4b09cd
mov ecx, dword [ebp + 8]
push str.subKeyName
call fcn.0048ad90
mov edi, eax
cmp byte [edi + 8], 4
je 0x4b0999
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004edc00
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x4b09a3
xor ecx, ecx
jmp 0x4b09b1
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b09a8
sub ecx, edi
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0047e3b0
lea edx, [esp + 0x30]
lea ecx, [esp + 0x14]
call fcn.0047da90
mov edi, dword [esp + 0x30]
add esi, 0xfffffff0
push ecx
mov dword [esp + 0x38], esp
mov dword [esp + 0x2c], esi
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4b09fa
cmp ecx, dword [esi]
jne 0x4b09fa
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4b0a3f
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [esp + 0x3c], edx
test edx, edx
jne 0x4b0a12
call fcn.004722b0
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.004ea853
mov esi, dword [esp + 0x4c]
add esp, 0x10
mov ecx, dword [esp + 0x38]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.0047d280
add esp, 4
test eax, eax
jne 0x4b0bf1
push str.undefined_keyParent_error
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.deleteRegistry
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0xe
call fcn.00471bb0
mov byte [esp + 0x70], 0xf
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0a9a
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], esi
lea eax, [esp + 0x34]
mov byte [esp + 0x70], 0x10
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x40]
call fcn.00472fc0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 0x11
cmp dword [eax + 0xc], 0
je 0x4b0ae4
push 2
push ecx
lea ecx, [esp + 0x24]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x70], 0x10
or eax, 0xffffffff
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b0b07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x70], 0xf
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0b28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0xe
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0b4a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0xd
mov edx, dword [esp + 0x34]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0b6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x70], 0xc
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0b8a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x70], 0xb
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0ba8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 6
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0bca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esp + 0x28]
mov ecx, esi
mov byte [esp + 0x70], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0be9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x4b1415
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0x12
push ecx
push 0x2001f
push 0
push dword [esp + 0x24]
mov dword [esp + 0x2c], 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
mov dword [esp + 0x50], esi
test esi, esi
jne 0x4b105d
mov dword [esp + 0x5c], eax
or esi, 0xffffffff
cmp dword [ebx - 0xc], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
je 0x4b0e5c
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esp + 0x44], eax
test eax, eax
je 0x4b0e44
push str.DeleteValue_lRet
lea ecx, [esp + 0x3c]
call fcn.00471c70
push str.deleteRegistry
lea ecx, [esp + 0x38]
mov byte [esp + 0x74], 0x19
call fcn.00471bb0
mov byte [esp + 0x70], 0x1a
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0caa
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
mov byte [esp + 0x70], 0x1b
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0cd9
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [esp + 0x54], eax
add eax, 0x10
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x70], 0x1c
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x54]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 0x1d
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 0x1e
lea ecx, [esp + 0x48]
push dword [esp + 0x44]
mov edx, eax
call fcn.00472f20
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 0x1f
cmp dword [eax + 0xc], 0
je 0x4b0d56
push 0
push ecx
lea ecx, [esp + 0x3c]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x70], 0x1e
or ecx, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0d79
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x1d
or ecx, 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0d9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x1c
or ecx, 0xffffffff
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0dbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x1b
or ecx, 0xffffffff
mov edx, dword [esp + 0x54]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0ddf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x70], 0x1a
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0e00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x19
mov ecx, esi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0e22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x12
mov ecx, esi
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0e44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b0b6c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4b0b6c
cmp dword [edi - 0xc], 0
je 0x4b0e48
push edi
lea ecx, [esp + 0x5c]
call fcn.004a17d0
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4b1054
push str.RecurseDeleteKey_lRet
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.deleteRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 0x20
call fcn.00471bb0
mov byte [esp + 0x70], 0x21
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0eba
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x54], esi
mov byte [esp + 0x70], 0x22
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b0ee9
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [esp + 0x3c], eax
add eax, 0x10
mov dword [esp + 0x50], eax
lea eax, [esp + 0x54]
mov byte [esp + 0x70], 0x23
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x44]
call fcn.00472fc0
add esp, 4
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], 0x24
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 0x25
lea ecx, [esp + 0x48]
push dword [esp + 0x4c]
mov edx, eax
call fcn.00472f20
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 0x26
cmp dword [eax + 0xc], 0
je 0x4b0f66
push 0
push ecx
lea ecx, [esp + 0x40]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x70], 0x25
or ecx, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0f89
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x24
or ecx, 0xffffffff
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x23
or ecx, 0xffffffff
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0fcf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x22
or ecx, 0xffffffff
mov edx, dword [esp + 0x3c]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b0fef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x70], 0x21
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b1010
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x20
mov ecx, esi
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b1032
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x12
mov ecx, esi
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b1054
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x58]
jmp 0x4b0e48
cmp esi, 2
je 0x4b10a3
push str.DeleteRegKeyOpen
lea ecx, [esp + 0x3c]
call fcn.00471bb0
mov edx, esi
mov byte [esp + 0x70], 0x13
lea ecx, [esp + 0x38]
call fcn.00474100
mov byte [esp + 0x70], 0x12
or ecx, 0xffffffff
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b10a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Open_error
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.deleteRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 0x14
call fcn.00471bb0
mov byte [esp + 0x70], 0x15
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b10e5
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x54], esi
lea eax, [esp + 0x34]
mov byte [esp + 0x70], 0x16
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x4c]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 0x17
lea ecx, [esp + 0x4c]
push dword [esp + 0x50]
mov edx, eax
call fcn.00472f20
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x70], 0x18
cmp dword [eax + 0xc], 0
je 0x4b1146
push 2
push ecx
lea ecx, [esp + 0x40]
add eax, 8
push ecx
push eax
call fcn.00473100
mov byte [esp + 0x70], 0x17
or ecx, 0xffffffff
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b1169
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x16
or ecx, 0xffffffff
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b118c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x70], 0x15
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b11ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x14
mov ecx, esi
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b11cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0x12
jmp 0x4b0b4f
push str.keyName_error
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.deleteRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 7
call fcn.00471bb0
mov byte [esp + 0x70], 8
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b121b
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x54], edi
lea eax, [esp + 0x34]
mov byte [esp + 0x70], 9
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x54]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 0xa
cmp dword [ebx + 0xc], 0
je 0x4b125f
push 2
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x70], 9
or ebx, 0xffffffff
mov edx, dword [esp + 0x50]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b1284
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x70], 8
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b12a2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 7
mov ecx, ebx
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b12c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 6
mov ecx, ebx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b12e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x70], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b1415
mov ecx, dword [esi]
push esi
jmp 0x4b1410
push str.keyParent_error
lea ecx, [esp + 0x38]
call fcn.00471c70
push str.deleteRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 1
call fcn.00471bb0
mov byte [esp + 0x70], 2
call fcn.00460220
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x4b134a
push 0x80004005
call fcn.004712d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x54], esi
lea eax, [esp + 0x34]
mov byte [esp + 0x70], 3
push eax
lea edx, [esp + 0x58]
lea ecx, [esp + 0x54]
call fcn.00472fc0
add esp, 4
mov byte [esp + 0x70], 4
cmp dword [ebx + 0xc], 0
je 0x4b138e
push 2
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 8]
push eax
call fcn.00473100
mov byte [esp + 0x70], 3
or ebx, 0xffffffff
mov edx, dword [esp + 0x50]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4b13b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x70], 2
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b13d1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 1
mov ecx, ebx
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b13f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x70], 0
mov ecx, ebx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b1415
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x70], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4b1438
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8