Function at 0x403ebf
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.0047be20
push 0xffffffffffffffff
push 0x51a058
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x592894]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x2218]
mov edi, dword [ebp + 0x2214]
xor ebx, ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0x2220]
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], eax
call fcn.0040297f
mov esi, eax
cmp esi, ebx
jmp 0x40436c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push edi
mov dword [ebp - 0x28], 1
call esi
mov ebx, eax
neg ebx
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call esi
test eax, eax
je 0x403f61
test ebx, ebx
je 0x403ffb
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040297f
mov esi, eax
test esi, esi
jl 0x4043c7
cmp dword [ebp + 0x221c], 0
je 0x403ffb
xor esi, esi
push 0x5c
push edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call fcn.0040290f
pop ecx
pop ecx
test eax, eax
jne 0x40437a
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00402a8d
test eax, eax
je 0x403fbc
mov eax, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.00402c70
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
cmp ebx, esi
je 0x403ff3
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040297f
mov esi, eax
test esi, esi
jl 0x404389
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00402aee
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.004025d8
test esi, esi
jl 0x4043c7
jmp 0x40432a
lea ecx, [ebp - 0x24]
call fcn.004025d8
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404021
mov ecx, dword [ebp - 0x10]
and dword [ebp - 0x28], eax
push edi
call fcn.0040297f
mov esi, eax
test esi, esi
jl 0x4043c7
push 0x52cce4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x404107
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.0040297f
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x4043c7
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040297f
mov esi, eax
cmp esi, ebx
jl 0x4043c7
cmp word [edi], 0x3d
jne 0x404382
cmp dword [ebp + 0x221c], ebx
je 0x4040ab
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
push edi
lea eax, [ebp]
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], ebx
call fcn.00403bdb
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x40]
jl 0x4043c2
mov byte [ebp - 4], bl
jmp 0x404325
cmp dword [ebp + 0x2220], ebx
jne 0x4040f9
cmp dword [ebp - 0x28], ebx
je 0x4040f9
push 0x20006
push ebx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040264d
cmp eax, ebx
jne 0x40438e
lea eax, [ebp]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x4040f1
cmp eax, 2
jne 0x40438e
lea ecx, [ebp - 0x30]
call fcn.004025d8
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00402aee
jmp 0x403f28
push 0x5c
push edi
call fcn.0040290f
pop ecx
pop ecx
test eax, eax
jne 0x404382
cmp dword [ebp + 0x221c], eax
je 0x40419c
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040264d
test eax, eax
je 0x404169
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040264d
test eax, eax
je 0x404169
xor ebx, ebx
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.004025f3
mov esi, eax
cmp esi, ebx
jne 0x40439a
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040297f
mov esi, eax
test esi, esi
jl 0x4043c7
cmp word [edi], 0x3d
jne 0x40432a
mov ecx, dword [ebp - 0x10]
push edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00403bdb
mov esi, eax
jmp 0x403fe6
cmp dword [ebp + 0x2220], 0
jne 0x4041ba
push 0x20019
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040264d
mov ebx, eax
jmp 0x4041bd
push 2
pop ebx
test ebx, ebx
je 0x4041cb
mov dword [ebp + 0x2220], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp + 0x2000]
push 0x104
push eax
call fcn.0047bd43
push eax
call fcn.004012d5
mov ecx, dword [ebp - 0x10]
add esp, 0x14
push edi
call fcn.0040297f
mov esi, eax
test esi, esi
jl 0x4043c7
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00402aee
mov esi, eax
test esi, esi
jl 0x4043c7
cmp word [edi], 0x7b
jne 0x40425a
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40425a
push dword [ebp + 0x2220]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x1c]
push edi
call fcn.00403ebf
mov esi, eax
test esi, esi
jge 0x404247
cmp dword [ebp + 0x2220], 0
je 0x4043c7
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040297f
mov esi, eax
test esi, esi
jl 0x4043c7
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x2220], eax
cmp ebx, 2
je 0x40436e
test ebx, ebx
je 0x404286
test eax, eax
jne 0x40436e
push ebx
call fcn.004024b9
pop ecx
mov esi, eax
jmp 0x4043c7
test eax, eax
je 0x4042ce
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00402ab9
test eax, eax
je 0x4042ce
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2000]
push eax
call fcn.00402a8d
test eax, eax
je 0x40436e
cmp dword [ebp - 0x28], 0
je 0x40436e
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402c70
jmp 0x40436e
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
call fcn.00402ab9
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.004025d8
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x4043ab
cmp dword [ebp - 0x28], eax
je 0x40436e
cmp dword [ebp - 0x48], eax
jne 0x40436e
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x38], ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040257d
and dword [ebp - 0x38], 0
and dword [ebp - 0x34], 0
test eax, eax
jne 0x4043b6
lea ecx, [ebp - 0x38]
call fcn.004025d8
cmp dword [ebp + 0x221c], 0
je 0x40436e
cmp word [edi], 0x7b
jne 0x40436e
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x40436e
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp + 0x221c]
push dword [ebp - 0x1c]
push edi
call fcn.00403ebf
mov esi, eax
test esi, esi
jl 0x4043c7
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0040297f
mov esi, eax
test esi, esi
jl 0x4043c7
cmp word [edi], 0x7d
jne 0x403f31
jmp 0x4043c7
lea ecx, [ebp - 0x24]
call fcn.004025d8
mov esi, 0x80020009
jmp 0x4043c7
lea ecx, [ebp - 0x24]
jmp 0x4043c2
push eax
call fcn.004024b9
pop ecx
lea ecx, [ebp - 0x30]
jmp 0x4043c0
lea ecx, [ebp - 0x1c]
call fcn.004025d8
push esi
call fcn.004024b9
pop ecx
jmp 0x4043d1
lea ecx, [ebp - 0x1c]
call fcn.004025d8
push ebx
jmp 0x4043a3
push eax
call fcn.004024b9
pop ecx
lea ecx, [ebp - 0x38]
mov esi, eax
call fcn.004025d8
lea ecx, [ebp - 0x1c]
call fcn.004025d8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.0047b812
add ebp, 0x220c
leave
ret 0x10