Function at 0x45da10
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x595cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45da52
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov ecx, esi
push str.keyParent
call fcn.00438d70
cmp eax, 0x59c858
je 0x45e812
mov al, byte [esi + 8]
test al, al
je 0x45daa0
cmp al, 7
je 0x45daa0
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
mov al, byte [esi + 8]
mov byte [ebp - 0xd], al
test al, al
jne 0x45dab1
mov ecx, 0x59c858
jmp 0x45daea
mov esi, dword [esi]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x5c], str.keyParent
push eax
mov ecx, esi
mov dword [ebp - 0x58], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45dadd
mov ecx, 0x59c858
jmp 0x45dae0
lea ecx, [eax + 0x18]
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp byte [ecx + 8], 4
jne 0x45e812
test al, al
je 0x45db13
cmp al, 7
je 0x45db13
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x45db20
mov edi, 0x59c858
jmp 0x45db56
mov esi, dword [esi]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], str.keyParent
push eax
mov ecx, esi
mov dword [ebp - 0x50], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45db4c
mov edi, 0x59c858
jmp 0x45db4f
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp byte [edi + 8], 4
je 0x45db73
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edi, dword [edi]
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45db8a
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 9
test edi, edi
je 0x45dbbf
test edi, 0xffff0000
jne 0x45dbbf
movzx edi, di
mov ecx, edi
call fcn.0041f3d0
test eax, eax
je 0x45dbcb
push edi
push eax
lea ecx, [ebp - 0x20]
call fcn.0041fbd0
jmp 0x45dbc8
push edi
lea ecx, [ebp - 0x20]
call fcn.0041fa30
mov ebx, dword [ebp - 0x20]
push str.keyName
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00438d70
cmp eax, 0x59c858
je 0x45e704
mov al, byte [esi + 8]
test al, al
je 0x45dc08
cmp al, 7
je 0x45dc08
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x45dc15
mov eax, 0x59c858
jmp 0x45dc4b
mov esi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], str.keyName
push eax
mov ecx, esi
mov dword [ebp - 0x48], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45dc41
mov eax, 0x59c858
jmp 0x45dc44
add eax, 0x18
mov byte [ebp - 4], 0xa
mov esi, dword [ebp + 8]
cmp byte [eax + 8], 4
jne 0x45e704
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45dc6a
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0x11
mov al, byte [esi + 8]
test al, al
je 0x45dc9b
cmp al, 7
je 0x45dc9b
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x45dca8
mov edi, 0x59c858
jmp 0x45dcde
mov esi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], str.keyName
push eax
mov ecx, esi
mov dword [ebp - 0x48], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45dcd4
mov edi, 0x59c858
jmp 0x45dcd7
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x11
mov esi, dword [ebp + 8]
cmp byte [edi + 8], 4
je 0x45dcfb
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x45dd05
xor ecx, ecx
jmp 0x45dd19
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45dd10
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0042cb10
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.0042c0f0
push 0x56de40
push 0x571f34
lea ecx, [ebp - 0x18]
call fcn.00421760
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45dd55
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
push str.valueName
mov ecx, esi
mov byte [ebp - 4], 0x14
call fcn.00438d70
cmp eax, 0x59c858
je 0x45dea1
mov al, byte [esi + 8]
test al, al
je 0x45dd9d
cmp al, 7
je 0x45dd9d
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
mov al, byte [esi + 8]
mov byte [ebp - 0xd], al
test al, al
jne 0x45ddae
mov ecx, 0x59c858
jmp 0x45dde7
mov esi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], str.valueName
push eax
mov ecx, esi
mov dword [ebp - 0x48], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45ddda
mov ecx, 0x59c858
jmp 0x45dddd
lea ecx, [eax + 0x18]
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 0x14
mov esi, dword [ebp + 8]
cmp byte [ecx + 8], 4
jne 0x45dea1
test al, al
je 0x45de10
cmp al, 7
je 0x45de10
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [esi + 8], 0
jne 0x45de1d
mov esi, 0x59c858
jmp 0x45de50
mov esi, dword [esi]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], str.valueName
push eax
mov ecx, esi
mov dword [ebp - 0x48], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45de49
mov esi, 0x59c858
jmp 0x45de4c
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x14
cmp byte [esi + 8], 4
je 0x45de6d
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x45de77
xor ecx, ecx
jmp 0x45de89
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45de80
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0042cb10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x14]
call fcn.0042c0f0
mov edi, dword [ebp - 0x28]
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45deb6
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp + 8]
push str.subKeyName
call fcn.00438d70
cmp eax, 0x59c858
je 0x45e011
mov eax, dword [ebp + 8]
mov cl, byte [eax + 8]
test cl, cl
je 0x45df06
cmp cl, 7
je 0x45df06
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
mov eax, dword [ebp + 8]
add esp, 0xc
mov cl, byte [eax + 8]
mov byte [ebp - 0xd], cl
test cl, cl
jne 0x45df17
mov eax, 0x59c858
jmp 0x45df52
mov eax, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], str.subKeyName
push ecx
mov ecx, eax
mov dword [ebp - 0x48], 0
call fcn.004390f0
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [edx]
cmp eax, dword [ecx]
jne 0x45df48
mov eax, 0x59c858
jmp 0x45df4b
add eax, 0x18
mov cl, byte [ebp - 0xd]
mov byte [ebp - 4], 0x19
cmp byte [eax + 8], 4
jne 0x45e011
test cl, cl
je 0x45df7c
cmp cl, 7
je 0x45df7c
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
mov eax, dword [ebp + 8]
cmp byte [eax + 8], 0
jne 0x45df8c
mov esi, 0x59c858
jmp 0x45dfbf
mov esi, dword [eax]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x54], str.subKeyName
push eax
mov ecx, esi
mov dword [ebp - 0x50], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45dfb8
mov esi, 0x59c858
jmp 0x45dfbb
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x19
cmp byte [esi + 8], 4
je 0x45dfdc
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x45dfe6
xor ecx, ecx
jmp 0x45dff9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45dff0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0042cb10
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x14]
call fcn.0042c0f0
mov esi, dword [ebp - 0x2c]
lea eax, [ebx - 0x10]
push ecx
mov ecx, eax
mov dword [ebp + 8], esp
mov dword [ebp - 0x24], eax
call fcn.0041fb10
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
call fcn.0042b920
add esp, 4
test eax, eax
jne 0x45e1a0
push str.undefined_keyParent_error
lea ecx, [ebp - 0x30]
call fcn.0041f870
push str.deleteRegistry
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1e
call fcn.0041f910
mov byte [ebp - 4], 0x1f
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e070
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x20
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x38]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x21
cmp dword [eax + 0xc], 0
je 0x45e0b0
push 2
push ecx
lea ecx, [ebp + 8]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x20
or eax, 0xffffffff
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e0cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0x1f
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e0ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e10b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e129
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45e144
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45e15f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e17d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e198
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or edi, 0xffffffff
jmp 0x45e8fc
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
push 0x2001f
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x68]
push dword [ebp - 0x18]
push eax
call fcn.0042b000
mov ebx, eax
mov dword [ebp - 0x34], ebx
test ebx, ebx
je 0x45e34d
cmp ebx, 2
je 0x45e216
push str.DeleteRegKeyOpen
lea ecx, [ebp + 8]
call fcn.0041f910
mov edx, ebx
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 8]
call fcn.00422050
mov byte [ebp - 4], 0x22
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e216
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Open_error
lea ecx, [ebp - 0x30]
call fcn.0041f870
push str.deleteRegistry
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x24
call fcn.0041f910
mov byte [ebp - 4], 0x25
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e24d
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x26
push eax
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x40]
call fcn.00420f70
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x34]
mov edx, eax
call fcn.00420ee0
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x28
cmp dword [eax + 0xc], 0
je 0x45e29e
push 2
push ecx
lea ecx, [ebp + 8]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x27
or eax, 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e2bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
or eax, 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e2dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0x25
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e2fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e318
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e336
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x45e129
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45e129
or ebx, 0xffffffff
cmp dword [edi - 0xc], 0
je 0x45e53b
push edi
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x45e6ed
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e384
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, str.DeleteValue_lRet
mov byte [ebp - 4], 0x29
test eax, 0xffff0000
jne 0x45e3b9
movzx ebx, ax
mov ecx, ebx
call fcn.0041f3d0
test eax, eax
je 0x45e3c6
push ebx
push eax
lea ecx, [ebp + 8]
call fcn.0041fbd0
jmp 0x45e3c6
push str.DeleteValue_lRet
lea ecx, [ebp + 8]
call fcn.0041fa30
push str.deleteRegistry
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x2a
call fcn.0041f910
mov byte [ebp - 4], 0x2b
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e3f0
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x40], ebx
mov byte [ebp - 4], 0x2c
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e414
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x50], eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x2d
push eax
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
call fcn.00420f70
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x2e
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.00420f70
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x34]
push dword [ebp - 0x38]
mov edx, eax
call fcn.00420ee0
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x30
cmp dword [eax + 0xc], 0
je 0x45e47a
push 0
push ecx
lea ecx, [ebp - 0x30]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x2f
or eax, 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e499
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2e
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e4b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2d
or eax, 0xffffffff
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e4d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
or eax, 0xffffffff
mov edx, dword [ebp - 0x50]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e4f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0x2b
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e511
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2a
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e52f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov edx, dword [ebp + 8]
jmp 0x45e6d6
cmp dword [esi - 0xc], 0
je 0x45e6ed
push esi
lea ecx, [ebp - 0x68]
call fcn.0044f170
mov dword [ebp - 0x44], eax
test eax, eax
je 0x45e6ed
push str.RecurseDeleteKey_lRet
lea ecx, [ebp - 0x30]
call fcn.0041f870
push str.deleteRegistry
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x31
call fcn.0041f910
mov byte [ebp - 4], 0x32
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e590
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x50], ebx
mov byte [ebp - 4], 0x33
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e5b4
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x34], eax
add eax, 0x10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x34
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x38]
call fcn.00420f70
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x35
push ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00420f70
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x40]
push dword [ebp - 0x44]
mov edx, eax
call fcn.00420ee0
add esp, 0xc
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x37
cmp dword [eax + 0xc], 0
je 0x45e61a
push 0
push ecx
lea ecx, [ebp + 8]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x36
or eax, 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e639
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x35
or eax, 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e658
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x34
or eax, 0xffffffff
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e677
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x33
or eax, 0xffffffff
mov edx, dword [ebp - 0x34]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e693
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0x32
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e6b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e6cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e6ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x45e129
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x45e129
push str.keyName_error
lea ecx, [ebp - 0x30]
call fcn.0041f870
push str.deleteRegistry
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.0041f910
mov byte [ebp - 4], 0xe
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e73b
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x10
cmp dword [eax + 0xc], 0
je 0x45e77b
push 2
push ecx
lea ecx, [ebp + 8]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0xf
or edi, 0xffffffff
mov edx, dword [ebp - 0x48]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e79c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45e7b7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e7d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, edi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e7f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add ebx, 0xfffffff0
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x45e8fc
mov ecx, dword [ebx]
push ebx
jmp 0x45e8f7
push str.keyParent_error
lea ecx, [ebp - 0x30]
call fcn.0041f870
push str.deleteRegistry
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0041f910
mov byte [ebp - 4], 4
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45e849
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x48]
call fcn.00420f70
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebx + 0xc], 0
je 0x45e884
push 2
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004210a0
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov edx, dword [ebp - 0x48]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e8a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45e8c0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e8de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e8fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45e91b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8