Function at 0x43d9f0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488570
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 - 0x3c], esi
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43da36
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
push str.keyParent
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0044e8e0
or ebx, 0xffffffff
cmp eax, 0x4b75d0
je 0x43e2d8
cmp byte [esi + 8], 0
jne 0x43da6f
mov edi, 0x4b75d0
jmp 0x43dae7
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.keyParent
mov dword [ebp - 0x14], 0
call fcn.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43dac1
mov byte [ebp - 4], 1
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43daba
cmp dword [ebp - 0x14], 1
jne 0x43daba
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x43dae3
lea edi, [eax + 0x18]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
je 0x43dae3
cmp dword [ebp - 0x14], 1
jne 0x43dae3
call fcn.0044dab0
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 0x43e2d8
cmp byte [esi + 8], 0
jne 0x43dafe
mov edi, 0x4b75d0
jmp 0x43db76
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.keyParent
mov dword [ebp - 0x14], 0
call fcn.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43db50
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x43db49
cmp dword [ebp - 0x14], 1
jne 0x43db49
call fcn.0044dab0
push edi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, 0x4b75d0
jmp 0x43db72
lea edi, [eax + 0x18]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], 0
je 0x43db72
cmp dword [ebp - 0x14], 1
jne 0x43db72
call fcn.0044dab0
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 - 0x38], eax
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43db90
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x43dbcc
test eax, 0xffff0000
jne 0x43dbcc
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.00420170
test eax, eax
je 0x43dbd8
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0042f500
jmp 0x43dbd5
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042d130
mov edi, dword [ebp - 0x2c]
push str.keyName
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.0044e8e0
cmp eax, 0x4b75d0
je 0x43e2a5
cmp byte [esi + 8], 0
jne 0x43dc00
mov eax, 0x4b75d0
jmp 0x43dc7f
mov ecx, dword [esi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
push eax
mov dword [ebp - 0x24], str.keyName
mov dword [ebp - 0x20], 0
call fcn.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43dc53
mov byte [ebp - 4], 7
cmp dword [ebp - 0x24], 0
je 0x43dc4c
cmp dword [ebp - 0x20], 1
jne 0x43dc4c
call fcn.0044dab0
push dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x43dc7b
add eax, 0x18
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x24], 0
je 0x43dc7b
cmp dword [ebp - 0x20], 1
jne 0x43dc7b
call fcn.0044dab0
push dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 6
cmp byte [eax + 8], 4
jne 0x43e2a5
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43dc9e
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 9
cmp byte [esi + 8], 0
jne 0x43dcba
mov ebx, 0x4b75d0
jmp 0x43dd32
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.keyName
mov dword [ebp - 0x14], 0
call fcn.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43dd0c
mov byte [ebp - 4], 0xa
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43dd05
cmp dword [ebp - 0x14], 1
jne 0x43dd05
call fcn.0044dab0
push ebx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ebx, 0x4b75d0
jmp 0x43dd2e
lea ebx, [eax + 0x18]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], 0
je 0x43dd2e
cmp dword [ebp - 0x14], 1
jne 0x43dd2e
call fcn.0044dab0
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 0x43dd3c
xor ecx, ecx
jmp 0x43dd4a
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43dd41
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042f770
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x28]
call fcn.0045b110
push 0x49a374
push 0x49d6e0
lea ecx, [ebp - 0x30]
call fcn.0042ced0
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43dd86
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x34], ebx
push str.valueName
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0044e8e0
cmp eax, 0x4b75d0
je 0x43def6
cmp byte [esi + 8], 0
jne 0x43ddb9
mov eax, 0x4b75d0
jmp 0x43de38
mov ecx, dword [esi]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
push eax
mov dword [ebp - 0x24], str.valueName
mov dword [ebp - 0x20], 0
call fcn.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43de0c
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x24], 0
je 0x43de05
cmp dword [ebp - 0x20], 1
jne 0x43de05
call fcn.0044dab0
push dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, 0x4b75d0
jmp 0x43de34
add eax, 0x18
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x24], 0
je 0x43de34
cmp dword [ebp - 0x20], 1
jne 0x43de34
call fcn.0044dab0
push dword [ebp - 0x24]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 0xc
cmp byte [eax + 8], 4
jne 0x43def6
cmp byte [esi + 8], 0
jne 0x43de4f
mov esi, 0x4b75d0
jmp 0x43dec6
mov ecx, dword [esi]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push eax
mov dword [ebp - 0x18], str.valueName
mov dword [ebp - 0x14], 0
call fcn.0044ec50
mov ecx, dword [esi]
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x43dea1
mov byte [ebp - 4], 0xf
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43de9a
cmp dword [ebp - 0x14], 1
jne 0x43de9a
call fcn.0044dab0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x43dec2
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x10
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43dec2
cmp dword [ebp - 0x14], 1
jne 0x43dec2
call fcn.0044dab0
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 0x43ded0
xor ecx, ecx
jmp 0x43dede
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ded5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042f770
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x28]
call fcn.0045b110
mov ebx, dword [ebp - 0x34]
call fcn.0040f790
mov ecx, eax
test ecx, ecx
jne 0x43df0b
push 0x80004005
call fcn.0041ffc0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x3c]
push str.subKeyName
mov byte [ebp - 4], 0x11
call fcn.0044e8e0
cmp eax, 0x4b75d0
je 0x43e091
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 8], 0
jne 0x43df45
mov ecx, 0x4b75d0
jmp 0x43dfca
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x40]
movq qword [ebp - 0x18], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], str.subKeyName
mov dword [ebp - 0x14], 0
call fcn.0044ec50
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x43df9b
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x18], 0
je 0x43df94
cmp dword [ebp - 0x14], 1
jne 0x43df94
call fcn.0044dab0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, 0x4b75d0
jmp 0x43dfc3
lea ecx, [eax + 0x18]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x18], 0
je 0x43dfc3
cmp dword [ebp - 0x14], 1
jne 0x43dfc3
call fcn.0044dab0
push dword [ebp - 0x18]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x11
cmp byte [ecx + 8], 4
jne 0x43e091
cmp byte [eax + 8], 0
jne 0x43dfe1
mov esi, 0x4b75d0
jmp 0x43e05c
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x18], xmm0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x18], str.subKeyName
mov dword [ebp - 0x14], 0
call fcn.0044ec50
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax]
mov ecx, dword [ecx]
cmp eax, dword [ecx]
jne 0x43e036
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x43e02f
cmp dword [ebp - 0x14], 1
jne 0x43e02f
call fcn.0044dab0
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov esi, 0x4b75d0
jmp 0x43e058
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x18], 0
je 0x43e058
cmp dword [ebp - 0x14], 1
jne 0x43e058
call fcn.0044dab0
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 0x43e066
xor ecx, ecx
jmp 0x43e079
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43e070
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0042f770
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x28]
call fcn.0045b110
mov esi, dword [ebp - 0x20]
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x40], esp
mov ecx, edi
mov dword [ebp - 0x38], edi
call fcn.0042e980
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
call fcn.004594c0
add esp, 4
test eax, eax
jne 0x43e12c
push str.CDispatcherHandler::DeleteRegistry
push str._s_undefined_keyParen_error
push 3
push 5
call fcn.00457970
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 0x43e0e7
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 0x43e105
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 - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43e2be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43e2be
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], 0x16
lea ecx, [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
push edi
push eax
call fcn.00420870
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x43e252
cmp eax, 2
je 0x43e1b4
push str.DeleteRegKeyOpen
lea ecx, [ebp - 0x40]
call fcn.0042d320
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.00443cf0
mov byte [ebp - 4], 0x16
or eax, 0xffffffff
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43e1b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
push eax
push str.CDispatcherHandler::DeleteRegistry
push str._s_Open_error___d_
push 3
push 5
call fcn.00457970
add esp, 0x14
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43e1d9
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 0x43e1f5
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 0x43e213
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 0x43e22e
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 - 0x38]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43e2ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43e2ee
cmp dword [ebx - 0xc], 0
je 0x43e27a
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43e1cb
push eax
push str.CDispatcherHandler::DeleteRegistry
push str._s_DeleteValue_error___d_
jmp 0x43e1bf
cmp dword [esi - 0xc], 0
je 0x43e1cb
push esi
lea ecx, [ebp - 0x1c]
call fcn.00420990
test eax, eax
je 0x43e1cb
push eax
push str.CDispatcherHandler::DeleteRegistry
push str._s_RecurseDeleteKey_error___d_
jmp 0x43e1bf
push str.CDispatcherHandler::DeleteRegistry
push str._s_keyName_error
push 3
push 5
call fcn.00457970
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 0x43e2ee
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x43e2ee
push str.CDispatcherHandler::DeleteRegistry
push str._s_keyParent_error
push 3
push 5
call fcn.00457970
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43e30d
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.0045ea7f
mov esp, ebp
pop ebp
ret 8