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

Disassembly:
push 0xffffffffffffffff
push 0x422596
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x430898]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430898]
xor eax, esp
push eax
lea eax, [esp + 0x444]
mov dword fs:[0], eax
mov eax, dword [esp + 0x458]
mov edi, dword [esp + 0x454]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x460]
push edi
mov dword [esp + 0x450], ebx
mov dword [esp + 0x2c], edx
call fcn.004058d0
mov esi, eax
cmp esi, ebx
jl 0x407550
cmp word [edi], 0x7d
je 0x40754e
mov ebx, dword [0x424154]
push str.Delete
push edi
mov dword [esp + 0x1c], 1
call ebx
mov ebp, eax
neg ebp
push str.ForceRemove
sbb ebp, ebp
push edi
add ebp, 1
call ebx
test eax, eax
je 0x406f86
test ebp, ebp
je 0x407085
mov ecx, dword [esp + 0x1c]
push edi
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x40753f
xor esi, esi
cmp dword [esp + 0x45c], esi
je 0x407087
movzx ecx, word [edi]
cmp cx, si
mov dword [esp + 0x20], esi
mov eax, edi
je 0x406fd9
movzx ecx, cx
cmp cx, 0x5c
je 0x406fd1
push eax
call dword [0x4242e4]
movzx ecx, word [eax]
cmp cx, si
jne 0x406fba
jmp 0x406fd9
cmp eax, esi
jne 0x4074d0
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00405a30
test eax, eax
je 0x406ffd
mov eax, dword [esp + 0x24]
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], eax
call fcn.00405e00
mov dword [esp + 0x20], esi
cmp ebp, esi
je 0x407087
mov ebx, dword [esp + 0x1c]
push edi
mov ecx, ebx
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x4074e9
push edi
mov ecx, ebx
call fcn.00405ac0
mov esi, eax
test esi, esi
jl 0x4074e9
cmp word [edi], 0x7b
jne 0x407076
push edi
call dword [0x4241fc]
cmp eax, 1
jne 0x407076
mov ecx, dword [esp + 0x45c]
mov edx, dword [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x24]
push edx
push edi
call fcn.00406ed0
mov esi, eax
test esi, esi
jl 0x40753f
mov ecx, dword [esp + 0x1c]
push edi
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x40753f
cmp word [edi], 0x7d
jne 0x406f53
jmp 0x40753f
xor esi, esi
push str.NoRemove
push edi
call ebx
test eax, eax
jne 0x4070ad
mov ecx, dword [esp + 0x1c]
push edi
mov dword [esp + 0x18], eax
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x40753f
xor esi, esi
push 0x424504
push edi
call ebx
test eax, eax
jne 0x4071af
lea ecx, [esp + 0x238]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x40753f
mov ecx, dword [esp + 0x1c]
push edi
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x40753f
cmp word [edi], 0x3d
jne 0x4074d9
xor ebx, ebx
cmp dword [esp + 0x45c], ebx
je 0x407142
mov edx, dword [esp + 0x24]
push edi
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x458], 1
mov dword [esp + 0x20], edx
call fcn.00406ba0
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x14], ebx
jl 0x4074ef
mov byte [esp + 0x44c], bl
jmp 0x40702d
cmp dword [esp + 0x460], ebx
jne 0x40719c
cmp dword [esp + 0x14], ebx
je 0x40719c
mov edx, dword [esp + 0x24]
push 0x20006
push ebx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
call fcn.004054f0
cmp eax, ebx
jne 0x40752b
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x238]
push eax
push esi
call dword [0x424004]
cmp eax, ebx
je 0x407191
cmp eax, 2
jne 0x40752b
cmp esi, ebx
je 0x40719c
push esi
call dword [0x424008]
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00405ac0
mov esi, eax
cmp esi, ebx
jmp 0x407070
movzx ecx, word [edi]
cmp cx, si
mov eax, edi
je 0x4071df
movzx ecx, cx
lea esp, [esp]
cmp cx, 0x5c
je 0x4071d7
push eax
call dword [0x4242e4]
movzx ecx, word [eax]
cmp cx, si
jne 0x4071c0
jmp 0x4071df
cmp eax, esi
jne 0x4074d9
cmp dword [esp + 0x45c], esi
je 0x4072fe
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push esi
push edi
push edx
mov dword [esp + 0x28], esi
call dword [0x424010]
cmp eax, esi
jne 0x40722e
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, esi
je 0x40721c
push ecx
call dword [0x424008]
cmp eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
je 0x4072c0
xor esi, esi
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0x20019
push esi
push edi
push eax
mov dword [esp + 0x28], esi
call dword [0x424010]
cmp eax, esi
jne 0x40726a
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, esi
je 0x40725e
push ecx
call dword [0x424008]
cmp eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
je 0x4072c0
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push ecx
mov dword [esp + 0x38], 0
call dword [0x42400c]
mov esi, eax
test esi, esi
jne 0x407503
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4072ae
push ecx
call dword [0x424008]
test eax, eax
mov edx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x18], edx
jne 0x407503
mov ecx, dword [esp + 0x1c]
push edi
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x40753f
cmp word [edi], 0x3d
jne 0x40702d
mov ecx, dword [esp + 0x1c]
push edi
push 0
lea eax, [esp + 0x20]
push eax
call fcn.00406ba0
mov esi, eax
test esi, esi
jl 0x40753f
jmp 0x40702d
cmp dword [esp + 0x460], esi
jne 0x407414
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push esi
push edi
push edx
mov dword [esp + 0x34], esi
call dword [0x424010]
cmp eax, esi
jne 0x407343
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, esi
je 0x40733b
push ecx
call dword [0x424008]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
cmp eax, esi
mov ebp, eax
je 0x407354
mov dword [esp + 0x460], 1
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x38]
push 0x104
push edx
call fcn.00413922
push eax
call fcn.00405170
mov ecx, dword [esp + 0x30]
add esp, 0x14
push edi
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x40753f
mov ecx, dword [esp + 0x1c]
push edi
call fcn.00405ac0
mov esi, eax
test esi, esi
jl 0x40753f
cmp word [edi], 0x7b
jne 0x4073e4
push edi
call dword [0x4241fc]
cmp eax, 1
jne 0x4073e4
mov ebx, dword [esp + 0x460]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebx
push 0
push eax
push edi
call fcn.00406ed0
mov esi, eax
test esi, esi
jge 0x4073d0
test ebx, ebx
je 0x40753f
mov ecx, dword [esp + 0x1c]
push edi
call fcn.004058d0
mov esi, eax
test esi, esi
jl 0x40753f
cmp ebp, 2
mov eax, dword [esp + 0x28]
mov dword [esp + 0x460], eax
je 0x407076
test ebp, ebp
je 0x40741e
test eax, eax
jne 0x407076
push ebp
call fcn.004053f0
add esp, 4
mov esi, eax
jmp 0x40753f
mov ebp, 2
jmp 0x407349
test eax, eax
je 0x407468
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.00405a70
test eax, eax
je 0x407468
lea edx, [esp + 0x30]
push edx
mov ecx, ebx
call fcn.00405a30
test eax, eax
je 0x407076
cmp dword [esp + 0x14], 0
je 0x407076
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405e00
jmp 0x407076
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.00405a70
test ebp, ebp
mov ebx, eax
je 0x407497
mov ecx, ebp
push ecx
call dword [0x424008]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], 0
jne 0x407517
cmp dword [esp + 0x14], 0
je 0x407076
test ebx, ebx
jne 0x407076
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push eax
call dword [0x42401c]
test eax, eax
mov dword [esp + 0x14], ebx
jne 0x40752b
lea ecx, [esp + 0x14]
call fcn.00405dc0
jmp 0x407076
lea ecx, [esp + 0x20]
call fcn.00405dc0
lea ecx, [esp + 0x18]
call fcn.00405dc0
mov eax, 0x80020009
jmp 0x407550
lea ecx, [esp + 0x20]
jmp 0x40753a
lea ecx, [esp + 0x14]
call fcn.00405dc0
lea ecx, [esp + 0x18]
call fcn.00405dc0
jmp 0x40754e
lea ecx, [esp + 0x18]
call fcn.00405dc0
push esi
call fcn.004053f0
add esp, 4
jmp 0x407550
lea ecx, [esp + 0x18]
call fcn.00405dc0
push ebp
call fcn.004053f0
add esp, 4
jmp 0x407550
push eax
call fcn.004053f0
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.00405dc0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40754e
push eax
call dword [0x424008]
mov eax, esi
mov ecx, dword [esp + 0x444]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.00413773
add esp, 0x43c
ret 0x10