Function at 0x4017ee
Capabilities:
Delete registry key
Delete registry value

Disassembly:
jmp 0x4074a7
mov eax, 0x42ecf9
call fcn.00425470
sub esp, 0x428
mov eax, dword [0x441ddc]
and dword [ebp - 0x424], 0
push esi
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x428], ecx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
push edi
mov dword [ebp - 0x430], eax
call fcn.00401505
mov esi, eax
test esi, esi
jge 0x4074fc
lea ecx, [ebp - 0x424]
call fcn.004018f7
mov eax, esi
jmp 0x407a2e
push ebx
jmp 0x407645
mov esi, dword [0x443c84]
push str.Delete
push edi
mov dword [ebp - 0x42c], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x407535
test ebx, ebx
je 0x407667
mov ecx, dword [ebp - 0x428]
push edi
call fcn.00401505
mov esi, eax
test esi, esi
jl 0x407a16
cmp dword [ebp + 0x10], 0
je 0x407667
and dword [ebp + 8], 0
xor ecx, ecx
mov cx, word [edi]
mov byte [ebp - 4], 1
mov eax, edi
jmp 0x407576
cmp cx, 0x5c
je 0x40757d
push eax
call dword [0x44417c]
mov cx, word [eax]
test cx, cx
jne 0x407566
jmp 0x407585
test eax, eax
jne 0x407a46
mov esi, 0x435024
push dword [esi]
push edi
call dword [0x443c84]
test eax, eax
je 0x4075b5
add esi, 4
cmp esi, 0x435054
jl 0x40758a
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0040164a
and dword [ebp + 8], 0
test ebx, ebx
je 0x407654
mov ecx, dword [ebp - 0x428]
push edi
call fcn.00401505
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x407a86
mov ecx, dword [ebp - 0x428]
push edi
call fcn.00401a5a
mov esi, eax
cmp esi, ebx
jl 0x407a86
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], bl
je 0x4075fc
push dword [ebp + 8]
call dword [0x443af8]
cmp word [edi], 0x7b
jne 0x407645
push edi
call dword [0x443c2c]
cmp eax, 1
jne 0x407645
mov ecx, dword [ebp - 0x428]
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x424]
push edi
call fcn.004017ee
mov esi, eax
test esi, esi
jl 0x407a16
mov ecx, dword [ebp - 0x428]
push edi
call fcn.00401505
mov esi, eax
test esi, esi
jl 0x407a16
cmp word [edi], 0x7d
jne 0x407502
jmp 0x407a16
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 0
je 0x407667
push dword [ebp + 8]
call dword [0x443af8]
push str.NoRemove
push edi
call dword [0x443c84]
test eax, eax
jne 0x407693
mov ecx, dword [ebp - 0x428]
and dword [ebp - 0x42c], eax
push edi
call fcn.00401505
mov esi, eax
test esi, esi
jl 0x407a16
push 0x4351dc
push edi
call dword [0x443c84]
test eax, eax
jne 0x407789
mov ecx, dword [ebp - 0x428]
lea eax, [ebp - 0x420]
push eax
call fcn.00401505
mov esi, eax
test esi, esi
jl 0x407a16
mov ecx, dword [ebp - 0x428]
push edi
call fcn.00401505
mov esi, eax
test esi, esi
jl 0x407a16
cmp word [edi], 0x3d
jne 0x407a74
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x407720
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x428]
mov dword [ebp + 8], eax
push edi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.004012cb
mov esi, eax
cmp esi, ebx
mov dword [ebp + 8], ebx
jl 0x407a9f
mov byte [ebp - 4], bl
jmp 0x4075fc
cmp dword [ebp + 0x14], ebx
jne 0x407774
cmp dword [ebp - 0x42c], ebx
je 0x407774
push 0x20006
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp + 8]
mov dword [ebp + 8], ebx
call fcn.00401bc2
cmp eax, ebx
jne 0x407a7d
lea eax, [ebp - 0x420]
push eax
push dword [ebp + 8]
call dword [0x443af4]
cmp eax, ebx
je 0x407766
cmp eax, 2
jne 0x407a7d
cmp dword [ebp + 8], ebx
je 0x407774
push dword [ebp + 8]
call dword [0x443af8]
mov ecx, dword [ebp - 0x428]
push edi
call fcn.00401a5a
mov esi, eax
cmp esi, ebx
jmp 0x40763f
xor ecx, ecx
mov cx, word [edi]
mov eax, edi
xor esi, esi
jmp 0x4077a4
cmp cx, 0x5c
je 0x4077ab
push eax
call dword [0x44417c]
mov cx, word [eax]
cmp cx, si
jne 0x407794
jmp 0x4077b3
cmp eax, esi
jne 0x407a59
cmp dword [ebp + 0x10], esi
je 0x407888
mov esi, 0x2001f
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x424]
call fcn.00401bc2
test eax, eax
je 0x407844
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x424]
call fcn.00401bc2
test eax, eax
je 0x407844
lea eax, [ebp - 0x434]
push eax
xor ebx, ebx
lea eax, [ebp - 0x42c]
push eax
push ebx
push esi
push ebx
push ebx
push ebx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x42c], ebx
call dword [0x443af0]
cmp eax, ebx
jne 0x407a96
xor eax, eax
cmp dword [ebp - 0x424], ebx
je 0x407830
push dword [ebp - 0x424]
call dword [0x443af8]
cmp eax, ebx
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x424], ecx
jne 0x407a96
mov ecx, dword [ebp - 0x428]
push edi
call fcn.00401505
mov esi, eax
test esi, esi
jl 0x407a16
cmp word [edi], 0x3d
jne 0x4075fc
mov ecx, dword [ebp - 0x428]
push edi
push 0
lea eax, [ebp - 0x424]
push eax
call fcn.004012cb
mov esi, eax
test esi, esi
jl 0x407a16
jmp 0x4075fc
cmp dword [ebp + 0x14], esi
jne 0x4078a6
push 0x20019
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x424]
call fcn.00401bc2
mov dword [ebp + 8], eax
jmp 0x4078ad
mov dword [ebp + 8], 2
cmp dword [ebp + 8], esi
je 0x4078b9
mov dword [ebp + 0x14], 1
push 0x104
push edi
lea eax, [ebp - 0x218]
push eax
call dword [0x443c88]
mov ebx, dword [ebp - 0x428]
push edi
mov ecx, ebx
call fcn.00401505
mov esi, eax
test esi, esi
jl 0x407a16
push edi
mov ecx, ebx
call fcn.00401a5a
mov esi, eax
test esi, esi
jl 0x407a16
cmp word [edi], 0x7b
jne 0x407931
push dword [ebp + 0x14]
mov ecx, ebx
push 0
push dword [ebp - 0x424]
push edi
call fcn.004017ee
mov esi, eax
test esi, esi
jge 0x40791f
cmp dword [ebp + 0x14], 0
je 0x407a16
push edi
mov ecx, ebx
call fcn.00401505
mov esi, eax
test esi, esi
jl 0x407a16
cmp dword [ebp + 8], 2
mov eax, dword [ebp - 0x430]
mov dword [ebp + 0x14], eax
je 0x407645
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40795b
cmp eax, ebx
jne 0x407645
push dword [ebp + 8]
jmp 0x407a0e
cmp dword [ebp - 0x430], ebx
je 0x4079c3
push dword [ebp - 0x424]
mov ecx, dword [ebp - 0x428]
call fcn.0040139d
test eax, eax
je 0x4079c3
mov ebx, 0x435024
push dword [ebx]
lea eax, [ebp - 0x218]
push eax
call dword [0x443c84]
test eax, eax
je 0x407645
add ebx, 4
cmp ebx, 0x435054
jl 0x40797d
cmp dword [ebp - 0x42c], 0
je 0x407645
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.0040164a
jmp 0x407645
cmp dword [ebp - 0x424], ebx
je 0x4079e8
push dword [ebp - 0x424]
mov ebx, dword [0x443af8]
call ebx
and dword [ebp - 0x424], 0
test eax, eax
jne 0x407aaa
cmp dword [ebp - 0x42c], 0
je 0x407645
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0xc]
call dword [0x443b60]
test eax, eax
je 0x407645
push eax
call fcn.00401997
pop ecx
mov esi, eax
cmp dword [ebp - 0x424], 0
je 0x407a2b
push dword [ebp - 0x424]
call dword [0x443af8]
mov eax, esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0042527f
leave
ret 0x10
xor esi, esi
cmp dword [ebp + 8], esi
je 0x407a59
push dword [ebp + 8]
call dword [0x443af8]
mov dword [ebp + 8], esi
cmp dword [ebp - 0x424], esi
je 0x407a6d
push dword [ebp - 0x424]
call dword [0x443af8]
mov eax, 0x80020009
jmp 0x407a2d
cmp dword [ebp - 0x424], 0
jmp 0x407a5f
push eax
call fcn.00401997
pop ecx
mov esi, eax
cmp dword [ebp + 8], ebx
je 0x407a16
push dword [ebp + 8]
call dword [0x443af8]
jmp 0x407a16
push eax
call fcn.00401997
pop ecx
mov esi, eax
cmp dword [ebp - 0x424], ebx
jmp 0x407a1d
push eax
call fcn.00401997
cmp dword [ebp - 0x424], 0
pop ecx
mov esi, eax
je 0x407a2b
push dword [ebp - 0x424]
call ebx
jmp 0x407a2b