Function at 0x43b560
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484f86
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4ad014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40], esi
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x43b5a6
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push str.keyParent
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0044bda0
or ebx, 0xffffffff
cmp eax, 0x4b15b0
je 0x43bf44
cmp byte [esi + 8], 0
jne 0x43b5df
mov edi, 0x4b15b0
jmp 0x43b657
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.keyParent
mov dword [ebp - 0x14], 0
call fcn.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b631
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43b62a
cmp dword [ebp - 0x14], 1
jne 0x43b62a
call fcn.0044af70
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x43b653
lea edi, [eax + 0x18]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x43b653
cmp dword [ebp - 0x14], 1
jne 0x43b653
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0
cmp byte [edi + 8], 4
jne 0x43bf44
cmp byte [esi + 8], 0
jne 0x43b66e
mov edi, 0x4b15b0
jmp 0x43b6e6
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.keyParent
mov dword [ebp - 0x14], 0
call fcn.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b6c0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43b6b9
cmp dword [ebp - 0x14], 1
jne 0x43b6b9
call fcn.0044af70
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b15b0
jmp 0x43b6e2
lea edi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
je 0x43b6e2
cmp dword [ebp - 0x14], 1
jne 0x43b6e2
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x3c], eax
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x43b700
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x38], edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x43b73c
test eax, 0xffff0000
jne 0x43b73c
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.004200a0
test eax, eax
je 0x43b748
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
push eax
call fcn.0042cdc0
jmp 0x43b745
push eax
lea ecx, [ebp - 0x38]
call fcn.0042ab20
mov edi, dword [ebp - 0x38]
push str.keyName
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0044bda0
cmp eax, 0x4b15b0
je 0x43bf11
cmp byte [esi + 8], 0
jne 0x43b770
mov eax, 0x4b15b0
jmp 0x43b7ef
mov ecx, dword [esi]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
push eax
mov dword [ebp - 0x30], str.keyName
mov dword [ebp - 0x2c], 0
call fcn.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b7c3
mov byte [ebp - 4], 7
cmp dword [ebp - 0x30], 0
je 0x43b7bc
cmp dword [ebp - 0x2c], 1
jne 0x43b7bc
call fcn.0044af70
push dword [ebp - 0x30]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b15b0
jmp 0x43b7eb
add eax, 0x18
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x30], 0
je 0x43b7eb
cmp dword [ebp - 0x2c], 1
jne 0x43b7eb
call fcn.0044af70
push dword [ebp - 0x30]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp byte [eax + 8], 4
jne 0x43bf11
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x43b80e
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 9
cmp byte [esi + 8], 0
jne 0x43b82a
mov ebx, 0x4b15b0
jmp 0x43b8a2
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.keyName
mov dword [ebp - 0x14], 0
call fcn.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b87c
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43b875
cmp dword [ebp - 0x14], 1
jne 0x43b875
call fcn.0044af70
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, 0x4b15b0
jmp 0x43b89e
lea ebx, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x43b89e
cmp dword [ebp - 0x14], 1
jne 0x43b89e
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 9
mov edx, dword [ebx]
test edx, edx
jne 0x43b8ac
xor ecx, ecx
jmp 0x43b8ba
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43b8b1
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.0042d030
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x20]
call fcn.00457d60
push 0x496348
push 0x498f68
lea ecx, [ebp - 0x34]
call fcn.0042a8c0
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x43b8f6
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x2c], ebx
push str.valueName
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0044bda0
cmp eax, 0x4b15b0
je 0x43ba66
cmp byte [esi + 8], 0
jne 0x43b929
mov eax, 0x4b15b0
jmp 0x43b9a8
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
push eax
mov dword [ebp - 0x28], str.valueName
mov dword [ebp - 0x24], 0
call fcn.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43b97c
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x28], 0
je 0x43b975
cmp dword [ebp - 0x24], 1
jne 0x43b975
call fcn.0044af70
push dword [ebp - 0x28]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b15b0
jmp 0x43b9a4
add eax, 0x18
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x28], 0
je 0x43b9a4
cmp dword [ebp - 0x24], 1
jne 0x43b9a4
call fcn.0044af70
push dword [ebp - 0x28]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0xc
cmp byte [eax + 8], 4
jne 0x43ba66
cmp byte [esi + 8], 0
jne 0x43b9bf
mov esi, 0x4b15b0
jmp 0x43ba36
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.valueName
mov dword [ebp - 0x14], 0
call fcn.0044c110
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43ba11
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43ba0a
cmp dword [ebp - 0x14], 1
jne 0x43ba0a
call fcn.0044af70
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b15b0
jmp 0x43ba32
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x10
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43ba32
cmp dword [ebp - 0x14], 1
jne 0x43ba32
call fcn.0044af70
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0xc
mov edx, dword [esi]
test edx, edx
jne 0x43ba40
xor ecx, ecx
jmp 0x43ba4e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ba45
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.0042d030
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call fcn.00457d60
mov ebx, dword [ebp - 0x2c]
call fcn.0040f6c0
mov ecx, eax
test ecx, ecx
jne 0x43ba7b
push 0x80004005
call fcn.0041fef0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov ecx, dword [ebp - 0x40]
push str.subKeyName
mov byte [ebp - 4], 0x11
call fcn.0044bda0
cmp eax, 0x4b15b0
je 0x43bc01
mov eax, dword [ebp - 0x40]
cmp byte [eax + 8], 0
jne 0x43bab5
mov ecx, 0x4b15b0
jmp 0x43bb3a
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x18], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], str.subKeyName
mov dword [ebp - 0x14], 0
call fcn.0044c110
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x43bb0b
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x43bb04
cmp dword [ebp - 0x14], 1
jne 0x43bb04
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, 0x4b15b0
jmp 0x43bb33
lea ecx, [eax + 0x18]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x18], 0
je 0x43bb33
cmp dword [ebp - 0x14], 1
jne 0x43bb33
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov byte [ebp - 4], 0x11
cmp byte [ecx + 8], 4
jne 0x43bc01
cmp byte [eax + 8], 0
jne 0x43bb51
mov esi, 0x4b15b0
jmp 0x43bbcc
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x18], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], str.subKeyName
mov dword [ebp - 0x14], 0
call fcn.0044c110
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x43bba6
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43bb9f
cmp dword [ebp - 0x14], 1
jne 0x43bb9f
call fcn.0044af70
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b15b0
jmp 0x43bbc8
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x18], 0
je 0x43bbc8
cmp dword [ebp - 0x14], 1
jne 0x43bbc8
call fcn.0044af70
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x11
mov edx, dword [esi]
test edx, edx
jne 0x43bbd6
xor ecx, ecx
jmp 0x43bbe9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bbe0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.0042d030
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.00457d60
mov esi, dword [ebp - 0x24]
mov eax, dword [0x4b143c]
test eax, eax
jne 0x43bc3c
push 0x230
call fcn.0045b665
mov dword [ebp - 0x3c], eax
push 0x230
push 0
push eax
mov byte [ebp - 4], 0x16
call fcn.0045ff60
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
call fcn.00428000
mov byte [ebp - 4], 0x11
mov dword [0x4b143c], eax
cmp byte [eax + 0x208], 0
je 0x43bcfd
lea ecx, [eax + 0x218]
push ecx
lea edx, [eax + 0x210]
lea ecx, [ebp - 0x34]
call fcn.00459150
mov edx, dword [0x4b143c]
add esp, 4
test edx, edx
jne 0x43bca1
push 0x230
call fcn.0045b665
mov esi, eax
mov dword [ebp - 0x3c], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x19
call fcn.0045ff60
add esp, 0x10
mov ecx, esi
call fcn.00428000
mov edx, eax
mov byte [ebp - 4], 0x11
mov dword [0x4b143c], edx
mov eax, edx
mov dword [ebp - 0x3c], eax
test edx, edx
jne 0x43bce3
push 0x230
call fcn.0045b665
mov esi, eax
mov dword [ebp - 0x44], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x1a
call fcn.0045ff60
add esp, 0x10
mov ecx, esi
call fcn.00428000
mov edx, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x3c]
mov dword [0x4b143c], edx
add eax, 0x218
lea ecx, [ebp - 0x24]
push eax
add edx, 0x210
call fcn.00459150
mov esi, dword [ebp - 0x24]
add esp, 4
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x44], esp
mov ecx, edi
mov dword [ebp - 0x3c], edi
call fcn.0042c240
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
call fcn.00456510
add esp, 4
test eax, eax
jne 0x43bd98
push str.CDispatcherHandler::DeleteRegistry
push str._s_undefined_keyParen_error
push 3
push 5
call fcn.00454a40
add esp, 0x10
mov byte [ebp - 4], 0xc
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43bd53
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bd71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bf2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43bf2a
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 0x2001f
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
push edi
push eax
call fcn.004207a0
mov dword [ebp - 0x40], eax
test eax, eax
je 0x43bebe
cmp eax, 2
je 0x43be20
push str.DeleteRegKeyOpen
lea ecx, [ebp - 0x44]
call fcn.0042aca0
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
call fcn.00441970
mov byte [ebp - 4], 0x1b
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43be1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
push eax
push str.CDispatcherHandler::DeleteRegistry
push str._s_Open_error___d_
push 3
push 5
call fcn.00454a40
add esp, 0x14
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43be45
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43be61
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43be7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 6
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43be9a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x3c]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bf5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43bf5a
cmp dword [ebx - 0xc], 0
je 0x43bee6
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43be37
push eax
push str.CDispatcherHandler::DeleteRegistry
push str._s_DeleteValue_error___d_
jmp 0x43be2b
cmp dword [esi - 0xc], 0
je 0x43be37
push esi
lea ecx, [ebp - 0x1c]
call fcn.004208c0
test eax, eax
je 0x43be37
push eax
push str.CDispatcherHandler::DeleteRegistry
push str._s_RecurseDeleteKey_error___d_
jmp 0x43be2b
push str.CDispatcherHandler::DeleteRegistry
push str._s_keyName_error
push 3
push 5
call fcn.00454a40
add esp, 0x10
add edi, 0xfffffff0
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43bf5a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43bf5a
push str.CDispatcherHandler::DeleteRegistry
push str._s_keyParent_error
push 3
push 5
call fcn.00454a40
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43bf79
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b64f
mov esp, ebp
pop ebp
ret 8