Function at 0x4029bd
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e2ad
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.0041f530
mov eax, dword [0x48d84c]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x221c], ecx
mov dword [ebp - 0x2224], eax
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x222c], ebx
mov dword [ebp - 0x2228], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2268], eax
push edi
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jge 0x402e8d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2230]
call fcn.0040168f
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 - 0x10]
xor ecx, ebp
call fcn.0041ef3e
leave
ret 0x10
push str.Delete
push edi
mov dword [ebp - 0x2234], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
sbb esi, esi
push str.ForceRemove
inc esi
push edi
mov dword [ebp - 0x2220], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x402a97
cmp esi, ebx
je 0x402b70
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jl 0x402a31
cmp dword [ebp + 0x10], ebx
je 0x402b70
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
mov byte [ebp - 4], 1
push 0x5c
push edi
call fcn.004019ff
pop ecx
pop ecx
test eax, eax
jne 0x402fdf
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401b8a
test eax, eax
je 0x402b20
mov eax, dword [ebp - 0x2224]
push edi
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x2240], eax
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
call fcn.00401d72
mov dword [ebp - 0x2240], ebx
mov dword [ebp - 0x223c], ebx
mov dword [ebp - 0x2238], ebx
cmp dword [ebp - 0x2220], ebx
je 0x402b62
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jl 0x402ff7
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401bee
mov esi, eax
cmp esi, ebx
jl 0x402ff7
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
jmp 0x402f8c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
call fcn.0040168f
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x402b9c
mov ecx, dword [ebp - 0x221c]
push edi
mov dword [ebp - 0x2234], ebx
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jl 0x402a31
push 0x441508
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x402ce4
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x2218]
push eax
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jl 0x402a31
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jl 0x402a31
cmp word [edi], 0x3d
jne 0x402fed
cmp dword [ebp + 0x10], ebx
je 0x402c63
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2224]
mov ecx, dword [ebp - 0x221c]
mov dword [ebp - 0x2258], eax
push edi
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2258]
push eax
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
call fcn.00402633
mov esi, eax
mov dword [ebp - 0x2258], ebx
mov dword [ebp - 0x2254], ebx
mov dword [ebp - 0x2250], ebx
cmp esi, ebx
jl 0x403002
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2258]
jmp 0x402f8c
cmp dword [ebp + 0x14], ebx
jne 0x402cd3
cmp dword [ebp - 0x2234], ebx
je 0x402cd3
mov dword [ebp - 0x2264], ebx
mov dword [ebp - 0x2260], ebx
mov dword [ebp - 0x225c], ebx
mov byte [ebp - 4], 3
push 0x20006
push ebx
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2264]
call fcn.00401712
cmp eax, ebx
jne 0x403015
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x2264]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, ebx
je 0x402cc5
cmp eax, 2
jne 0x403015
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2264]
call fcn.0040168f
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401bee
jmp 0x402a27
push 0x5c
push edi
call fcn.004019ff
pop ecx
pop ecx
test eax, eax
jne 0x402fed
cmp dword [ebp + 0x10], ebx
je 0x402d98
mov esi, 0x2001f
push esi
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00401712
cmp eax, ebx
je 0x402d55
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00401712
cmp eax, ebx
je 0x402d55
push ebx
push ebx
push esi
push ebx
push ebx
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.004016aa
cmp eax, ebx
jne 0x403029
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jl 0x402a31
cmp word [edi], 0x3d
jne 0x402f91
mov ecx, dword [ebp - 0x221c]
push edi
push ebx
lea eax, [ebp - 0x2230]
push eax
call fcn.00402633
mov esi, eax
cmp esi, ebx
jl 0x402a31
jmp 0x402f91
cmp dword [ebp + 0x14], ebx
jne 0x402dbc
push 0x20019
push edi
push dword [ebp - 0x2224]
lea ecx, [ebp - 0x2230]
call fcn.00401712
mov dword [ebp - 0x2220], eax
jmp 0x402dc6
mov dword [ebp - 0x2220], 2
cmp dword [ebp - 0x2220], ebx
je 0x402dd5
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041f45c
push eax
call fcn.004013c3
mov ecx, dword [ebp - 0x221c]
add esp, 0x14
push edi
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jl 0x402a31
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401bee
mov esi, eax
cmp esi, ebx
jl 0x402a31
cmp word [edi], 0x7b
jne 0x402e6b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x402e6b
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp - 0x2230]
push edi
call fcn.004029bd
mov esi, eax
cmp esi, ebx
jge 0x402e55
cmp dword [ebp + 0x14], ebx
je 0x402a31
mov ecx, dword [ebp - 0x221c]
push edi
call fcn.00401a74
mov esi, eax
cmp esi, ebx
jl 0x402a31
cmp dword [ebp - 0x2220], 2
mov eax, dword [ebp - 0x2268]
mov dword [ebp + 0x14], eax
je 0x402e8d
cmp dword [ebp - 0x2220], ebx
je 0x402e9c
cmp eax, ebx
je 0x403037
cmp word [edi], 0x7d
jne 0x402a5e
jmp 0x402a31
cmp eax, ebx
je 0x402ee7
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.00401bb9
test eax, eax
je 0x402ee7
mov ecx, dword [ebp - 0x221c]
lea eax, [ebp - 0x218]
push eax
call fcn.00401b8a
test eax, eax
je 0x402e8d
cmp dword [ebp - 0x2234], ebx
je 0x402e8d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2230]
call fcn.00401d72
jmp 0x402e8d
push dword [ebp - 0x2230]
mov ecx, dword [ebp - 0x221c]
call fcn.00401bb9
lea ecx, [ebp - 0x2230]
mov dword [ebp - 0x2220], eax
call fcn.0040168f
cmp eax, ebx
jne 0x403029
cmp dword [ebp - 0x2234], ebx
je 0x402e8d
cmp dword [ebp - 0x2220], ebx
jne 0x402e8d
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2224]
mov dword [ebp - 0x224c], eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224c]
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
call fcn.0040161f
mov dword [ebp - 0x224c], ebx
mov dword [ebp - 0x2248], ebx
mov dword [ebp - 0x2244], ebx
cmp eax, ebx
jne 0x40303f
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224c]
call fcn.0040168f
cmp dword [ebp + 0x10], ebx
je 0x402e8d
cmp word [edi], 0x7b
jne 0x402e8d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x402e8d
mov ecx, dword [ebp - 0x221c]
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x2230]
push edi
call fcn.004029bd
mov esi, eax
cmp esi, ebx
jl 0x402a31
mov ecx, dword [ebp - 0x221c]
jmp 0x402a21
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
call fcn.0040168f
mov esi, 0x80020009
jmp 0x402a31
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2240]
jmp 0x40300b
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2258]
call fcn.0040168f
jmp 0x402a31
push eax
call fcn.00401441
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2264]
jmp 0x40300b
push eax
call fcn.00401441
pop ecx
mov esi, eax
jmp 0x402a31
push dword [ebp - 0x2220]
jmp 0x40302a
push eax
call fcn.00401441
pop ecx
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x224c]
jmp 0x40300b