Function at 0x43e170
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489086
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4b3014]
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.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43e1b6
push 0x80004005
call fcn.0041ffc0
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.0044f380
or ebx, 0xffffffff
cmp eax, 0x4b75d0
je 0x43eb54
cmp byte [esi + 8], 0
jne 0x43e1ef
mov edi, 0x4b75d0
jmp 0x43e267
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43e241
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43e23a
cmp dword [ebp - 0x14], 1
jne 0x43e23a
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x43e263
lea edi, [eax + 0x18]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x43e263
cmp dword [ebp - 0x14], 1
jne 0x43e263
call fcn.0044e550
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 0x43eb54
cmp byte [esi + 8], 0
jne 0x43e27e
mov edi, 0x4b75d0
jmp 0x43e2f6
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43e2d0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43e2c9
cmp dword [ebp - 0x14], 1
jne 0x43e2c9
call fcn.0044e550
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x43e2f2
lea edi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
je 0x43e2f2
cmp dword [ebp - 0x14], 1
jne 0x43e2f2
call fcn.0044e550
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.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43e310
push 0x80004005
call fcn.0041ffc0
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 0x43e34c
test eax, 0xffff0000
jne 0x43e34c
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x3c], eax
call fcn.00420170
test eax, eax
je 0x43e358
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
push eax
call fcn.0042f8c0
jmp 0x43e355
push eax
lea ecx, [ebp - 0x38]
call fcn.0042d470
mov edi, dword [ebp - 0x38]
push str.keyName
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0044f380
cmp eax, 0x4b75d0
je 0x43eb21
cmp byte [esi + 8], 0
jne 0x43e380
mov eax, 0x4b75d0
jmp 0x43e3ff
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43e3d3
mov byte [ebp - 4], 7
cmp dword [ebp - 0x30], 0
je 0x43e3cc
cmp dword [ebp - 0x2c], 1
jne 0x43e3cc
call fcn.0044e550
push dword [ebp - 0x30]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x43e3fb
add eax, 0x18
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x30], 0
je 0x43e3fb
cmp dword [ebp - 0x2c], 1
jne 0x43e3fb
call fcn.0044e550
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 0x43eb21
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43e41e
push 0x80004005
call fcn.0041ffc0
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 0x43e43a
mov ebx, 0x4b75d0
jmp 0x43e4b2
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43e48c
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43e485
cmp dword [ebp - 0x14], 1
jne 0x43e485
call fcn.0044e550
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, 0x4b75d0
jmp 0x43e4ae
lea ebx, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x43e4ae
cmp dword [ebp - 0x14], 1
jne 0x43e4ae
call fcn.0044e550
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 0x43e4bc
xor ecx, ecx
jmp 0x43e4ca
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e4c1
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.0042fb30
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x20]
call fcn.0045bba0
push 0x49a374
push 0x49d820
lea ecx, [ebp - 0x34]
call fcn.0042d210
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43e506
push 0x80004005
call fcn.0041ffc0
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.0044f380
cmp eax, 0x4b75d0
je 0x43e676
cmp byte [esi + 8], 0
jne 0x43e539
mov eax, 0x4b75d0
jmp 0x43e5b8
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43e58c
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x28], 0
je 0x43e585
cmp dword [ebp - 0x24], 1
jne 0x43e585
call fcn.0044e550
push dword [ebp - 0x28]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x43e5b4
add eax, 0x18
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x28], 0
je 0x43e5b4
cmp dword [ebp - 0x24], 1
jne 0x43e5b4
call fcn.0044e550
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 0x43e676
cmp byte [esi + 8], 0
jne 0x43e5cf
mov esi, 0x4b75d0
jmp 0x43e646
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.0044f6f0
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43e621
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43e61a
cmp dword [ebp - 0x14], 1
jne 0x43e61a
call fcn.0044e550
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x43e642
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x10
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43e642
cmp dword [ebp - 0x14], 1
jne 0x43e642
call fcn.0044e550
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 0x43e650
xor ecx, ecx
jmp 0x43e65e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e655
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.0042fb30
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call fcn.0045bba0
mov ebx, dword [ebp - 0x2c]
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43e68b
push 0x80004005
call fcn.0041ffc0
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.0044f380
cmp eax, 0x4b75d0
je 0x43e811
mov eax, dword [ebp - 0x40]
cmp byte [eax + 8], 0
jne 0x43e6c5
mov ecx, 0x4b75d0
jmp 0x43e74a
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.0044f6f0
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x43e71b
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x43e714
cmp dword [ebp - 0x14], 1
jne 0x43e714
call fcn.0044e550
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, 0x4b75d0
jmp 0x43e743
lea ecx, [eax + 0x18]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x18], 0
je 0x43e743
cmp dword [ebp - 0x14], 1
jne 0x43e743
call fcn.0044e550
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 0x43e811
cmp byte [eax + 8], 0
jne 0x43e761
mov esi, 0x4b75d0
jmp 0x43e7dc
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.0044f6f0
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x43e7b6
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43e7af
cmp dword [ebp - 0x14], 1
jne 0x43e7af
call fcn.0044e550
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x43e7d8
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x18], 0
je 0x43e7d8
cmp dword [ebp - 0x14], 1
jne 0x43e7d8
call fcn.0044e550
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 0x43e7e6
xor ecx, ecx
jmp 0x43e7f9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e7f0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x20]
call fcn.0042fb30
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.0045bba0
mov esi, dword [ebp - 0x24]
mov eax, dword [0x4b745c]
test eax, eax
jne 0x43e84c
push 0x230
call fcn.0045f4a5
mov dword [ebp - 0x3c], eax
push 0x230
push 0
push eax
mov byte [ebp - 4], 0x16
call fcn.00463d60
mov ecx, dword [ebp - 0x3c]
add esp, 0x10
call fcn.004288b0
mov byte [ebp - 4], 0x11
mov dword [0x4b745c], eax
cmp byte [eax + 0x208], 0
je 0x43e90d
lea ecx, [eax + 0x218]
push ecx
lea edx, [eax + 0x210]
lea ecx, [ebp - 0x34]
call fcn.0045cf90
mov edx, dword [0x4b745c]
add esp, 4
test edx, edx
jne 0x43e8b1
push 0x230
call fcn.0045f4a5
mov esi, eax
mov dword [ebp - 0x3c], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x19
call fcn.00463d60
add esp, 0x10
mov ecx, esi
call fcn.004288b0
mov edx, eax
mov byte [ebp - 4], 0x11
mov dword [0x4b745c], edx
mov eax, edx
mov dword [ebp - 0x3c], eax
test edx, edx
jne 0x43e8f3
push 0x230
call fcn.0045f4a5
mov esi, eax
mov dword [ebp - 0x44], esi
push 0x230
push 0
push esi
mov byte [ebp - 4], 0x1a
call fcn.00463d60
add esp, 0x10
mov ecx, esi
call fcn.004288b0
mov edx, eax
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x3c]
mov dword [0x4b745c], edx
add eax, 0x218
lea ecx, [ebp - 0x24]
push eax
add edx, 0x210
call fcn.0045cf90
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.0042ed40
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
call fcn.00459f50
add esp, 4
test eax, eax
jne 0x43e9a8
push str.CDispatcherHandler::DeleteRegistry
push str._s_undefined_keyParen_error
push 3
push 5
call fcn.00458400
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 0x43e963
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 0x43e981
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 0x43eb3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43eb3a
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.00420870
mov dword [ebp - 0x40], eax
test eax, eax
je 0x43eace
cmp eax, 2
je 0x43ea30
push str.DeleteRegKeyOpen
lea ecx, [ebp - 0x44]
call fcn.0042d660
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1c
call fcn.00444790
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 0x43ea2d
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.00458400
add esp, 0x14
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43ea55
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 0x43ea71
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 0x43ea8f
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 0x43eaaa
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 0x43eb6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43eb6a
cmp dword [ebx - 0xc], 0
je 0x43eaf6
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43ea47
push eax
push str.CDispatcherHandler::DeleteRegistry
push str._s_DeleteValue_error___d_
jmp 0x43ea3b
cmp dword [esi - 0xc], 0
je 0x43ea47
push esi
lea ecx, [ebp - 0x1c]
call fcn.00420990
test eax, eax
je 0x43ea47
push eax
push str.CDispatcherHandler::DeleteRegistry
push str._s_RecurseDeleteKey_error___d_
jmp 0x43ea3b
push str.CDispatcherHandler::DeleteRegistry
push str._s_keyName_error
push 3
push 5
call fcn.00458400
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 0x43eb6a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43eb6a
push str.CDispatcherHandler::DeleteRegistry
push str._s_keyParent_error
push 3
push 5
call fcn.00458400
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 0x43eb89
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.0045f48f
mov esp, ebp
pop ebp
ret 8