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

Disassembly:
sub esp, 0x228
mov eax, dword [0x4217fc]
mov edx, dword [esp + 0x238]
xor eax, esp
push ebx
push esi
push edi
mov edi, dword [esp + 0x238]
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x23c]
xor ebx, ebx
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], edx
call fcn.00407090
mov esi, eax
cmp esi, ebx
jge 0x40765a
lea ecx, [esp + 0x10]
call fcn.00407c40
mov eax, esi
jmp 0x407bfe
cmp byte [edi], 0x7d
push ebp
je 0x407bf2
mov esi, dword [0x41d088]
push str.Delete
push edi
mov dword [esp + 0x18], 1
call esi
mov ebp, eax
neg ebp
push str.ForceRemove
sbb ebp, ebp
push edi
inc ebp
call esi
test eax, eax
je 0x407695
cmp ebp, ebx
je 0x4077b5
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407bf2
cmp dword [esp + 0x244], ebx
je 0x4077b5
mov dword [esp + 0x18], ebx
mov cl, byte [edi]
cmp cl, bl
mov eax, edi
je 0x4076e0
mov esi, dword [0x41d278]
cmp cl, 0x5c
je 0x4076d8
push eax
call esi
mov cl, byte [eax]
cmp cl, bl
jne 0x4076c8
jmp 0x4076e0
cmp eax, ebx
jne 0x407b90
mov esi, 0x41d4e0
mov eax, dword [esi]
push eax
push edi
call dword [0x41d088]
test eax, eax
je 0x407718
add esi, 4
cmp esi, str.TypeLib
jl 0x4076e5
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.00407d50
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x40771c
mov eax, dword [esp + 0x18]
cmp ebp, ebx
je 0x4077aa
mov ebp, dword [esp + 0x1c]
push edi
mov ecx, ebp
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407ba9
push edi
mov ecx, ebp
call fcn.00407cb0
mov esi, eax
lea ecx, [esp + 0x18]
call fcn.00407c40
cmp esi, ebx
jl 0x407bf2
cmp byte [edi], 0x7b
jne 0x40779c
push edi
call dword [0x41d1c0]
cmp eax, 1
jne 0x40779c
mov eax, dword [esp + 0x244]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
push ebx
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00407600
mov esi, eax
cmp esi, ebx
jl 0x407bf2
push edi
mov ecx, ebp
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407bf2
cmp byte [edi], 0x7d
jne 0x407664
jmp 0x407bf2
cmp eax, ebx
je 0x4077b5
push eax
call dword [section..rdata]
push str.NoRemove
push edi
call dword [0x41d088]
test eax, eax
jne 0x4077dd
mov ecx, dword [esp + 0x1c]
push edi
mov dword [esp + 0x14], ebx
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407bf2
push 0x41d5d0
push edi
call dword [0x41d088]
test eax, eax
jne 0x4078e5
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x130]
push edx
mov ecx, ebp
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407bf2
push edi
mov ecx, ebp
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407bf2
cmp byte [edi], 0x3d
jne 0x407baf
cmp dword [esp + 0x244], ebx
je 0x40785e
mov eax, dword [esp + 0x20]
push edi
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.00407e80
mov esi, eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
jmp 0x407748
cmp dword [esp + 0x248], ebx
jne 0x4078d8
cmp dword [esp + 0x10], ebx
je 0x4078d8
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push 0x20006
push ebx
push ebx
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
call dword [0x41d004]
cmp eax, ebx
jne 0x407bc5
lea ecx, [esp + 0x18]
call fcn.00407c40
cmp eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
jne 0x407bc5
lea edx, [esp + 0x130]
push edx
push ecx
call dword [0x41d024]
cmp eax, ebx
je 0x4078c9
cmp eax, 2
jne 0x407bc5
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4078d8
push eax
call dword [section..rdata]
push edi
mov ecx, ebp
call fcn.00407cb0
jmp 0x407792
mov cl, byte [edi]
cmp cl, bl
mov eax, edi
je 0x40790b
mov esi, dword [0x41d278]
cmp cl, 0x5c
je 0x407903
push eax
call esi
mov cl, byte [eax]
cmp cl, bl
jne 0x4078f3
jmp 0x40790b
cmp eax, ebx
jne 0x407b99
cmp dword [esp + 0x244], ebx
je 0x4079ee
mov esi, dword [esp + 0x20]
mov ebp, dword [0x41d004]
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push edi
push esi
mov dword [esp + 0x24], ebx
call ebp
cmp eax, ebx
jne 0x40794e
lea ecx, [esp + 0x14]
call fcn.00407c40
cmp eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
je 0x4079ba
lea edx, [esp + 0x10]
push edx
push 0x20019
push ebx
push edi
push esi
mov dword [esp + 0x24], ebx
call ebp
cmp eax, ebx
jne 0x40797a
lea ecx, [esp + 0x14]
call fcn.00407c40
cmp eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
je 0x4079ba
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push edi
push esi
mov dword [esp + 0x34], ebx
call dword [0x41d028]
cmp eax, ebx
jne 0x407bd1
lea ecx, [esp + 0x14]
call fcn.00407c40
cmp eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
jne 0x407bd1
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407bf2
cmp byte [edi], 0x3d
jne 0x407755
mov ecx, dword [esp + 0x1c]
push edi
push ebx
lea edx, [esp + 0x1c]
push edx
call fcn.00407e80
mov esi, eax
jmp 0x40774d
cmp dword [esp + 0x248], ebx
jne 0x407ae9
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebx
push edi
push ecx
mov dword [esp + 0x2c], ebx
call dword [0x41d004]
cmp eax, ebx
jne 0x407a2b
lea ecx, [esp + 0x14]
call fcn.00407c40
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], edx
cmp eax, ebx
mov ebp, eax
je 0x407a3c
mov dword [esp + 0x248], 1
push 0x104
push edi
lea eax, [esp + 0x34]
push eax
call dword [0x41d054]
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407bf2
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00407cb0
mov esi, eax
cmp esi, ebx
jl 0x407bf2
cmp byte [edi], 0x7b
jne 0x407ab9
mov ecx, dword [esp + 0x248]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push ebx
push edx
push edi
call fcn.00407600
mov esi, eax
cmp esi, ebx
jge 0x407aa5
cmp dword [esp + 0x248], ebx
je 0x407bf2
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00407090
mov esi, eax
cmp esi, ebx
jl 0x407bf2
cmp ebp, 2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x248], eax
je 0x40779c
cmp ebp, ebx
je 0x407af3
cmp eax, ebx
jne 0x40779c
push ebp
call fcn.00407c20
add esp, 4
mov esi, eax
jmp 0x407bf2
mov ebp, 2
jmp 0x407a31
cmp eax, ebx
je 0x407b4f
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00407c60
test eax, eax
je 0x407b4f
mov ebp, 0x41d4e0
mov edi, edi
mov edx, dword [ebp]
push edx
lea eax, [esp + 0x30]
push eax
call dword [0x41d088]
test eax, eax
je 0x40779c
add ebp, 4
cmp ebp, str.TypeLib
jl 0x407b10
cmp dword [esp + 0x10], ebx
je 0x40779c
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00407d50
jmp 0x40779c
lea ecx, [esp + 0x14]
call fcn.00407c40
cmp eax, ebx
jne 0x407bd1
cmp dword [esp + 0x10], ebx
je 0x40779c
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x18], eax
call dword [0x41d02c]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jne 0x407bde
lea ecx, [esp + 0x10]
call fcn.00407c40
jmp 0x40779c
lea ecx, [esp + 0x18]
call fcn.00407c40
lea ecx, [esp + 0x14]
call fcn.00407c40
mov eax, 0x80020009
jmp 0x407bfd
lea ecx, [esp + 0x18]
jmp 0x407bed
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x407bbe
push eax
call dword [section..rdata]
mov eax, 0x80020009
jmp 0x407bfd
push eax
call fcn.00407c20
lea ecx, [esp + 0x1c]
jmp 0x407be8
push eax
call fcn.00407c20
add esp, 4
mov esi, eax
jmp 0x407bf2
push eax
call fcn.00407c20
lea ecx, [esp + 0x14]
add esp, 4
mov esi, eax
call fcn.00407c40
lea ecx, [esp + 0x14]
call fcn.00407c40
mov eax, esi
pop ebp
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041277f
add esp, 0x228
ret 0x10