Function at 0x4028ad
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a426
mov eax, dword fs:[0]
push eax
mov eax, 0x225c
call fcn.00419fc0
mov eax, dword [0x42600c]
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, ecx
mov dword [ebp - 0x2220], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x221c], ecx
xor ecx, ecx
mov dword [ebp - 0x2234], ecx
mov dword [ebp - 0x2230], ecx
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 4], ecx
mov ecx, eax
jmp 0x402def
push str.Delete
push edi
mov dword [ebp - 0x2224], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
neg eax
push 0x4210bc
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x402944
test ebx, ebx
je 0x402a08
mov ecx, dword [ebp - 0x2220]
push edi
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e21
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x402a0a
push 0x5c
pop edx
mov ecx, edi
mov dword [ebp - 0x2240], esi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
call fcn.00401d72
test eax, eax
jne 0x402e11
push edi
call fcn.004023d0
test eax, eax
je 0x4029bd
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2240]
push edi
mov dword [ebp - 0x2240], eax
call fcn.004017af
mov dword [ebp - 0x2240], esi
mov dword [ebp - 0x223c], esi
mov dword [ebp - 0x2238], esi
test ebx, ebx
je 0x4029fb
mov ebx, dword [ebp - 0x2220]
mov ecx, ebx
push edi
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e09
push edi
mov ecx, ebx
call fcn.00402434
lea ecx, [ebp - 0x2240]
mov esi, eax
call fcn.00401531
test esi, esi
js 0x402e21
jmp 0x402dba
lea ecx, [ebp - 0x2240]
call fcn.00401531
jmp 0x402a0a
xor esi, esi
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [ebp - 0x2220]
test eax, eax
jne 0x402a38
push edi
mov ecx, ebx
mov dword [ebp - 0x2224], esi
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e21
push 0x4210b4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x402b62
lea eax, [ebp - 0x2218]
mov ecx, ebx
push eax
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e21
push edi
mov ecx, ebx
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e21
push 0x3d
pop eax
cmp word [edi], ax
jne 0x402e1c
cmp dword [ebp + 0x10], 0
je 0x402ae8
mov eax, dword [ebp - 0x221c]
mov ecx, ebx
mov byte [ebp - 4], 1
and dword [ebp - 0x224c], 0
and dword [ebp - 0x2248], 0
mov dword [ebp - 0x2250], eax
lea eax, [ebp - 0x2218]
push edi
push eax
lea eax, [ebp - 0x2250]
push eax
call fcn.00401f50
mov esi, eax
lea ecx, [ebp - 0x2250]
xor eax, eax
mov dword [ebp - 0x2250], eax
mov dword [ebp - 0x224c], eax
mov dword [ebp - 0x2248], eax
test esi, esi
js 0x402e59
mov byte [ebp - 4], al
jmp 0x402db5
cmp dword [ebp + 0x14], 0
jne 0x402b55
cmp dword [ebp - 0x2224], 0
je 0x402b55
xor eax, eax
lea ecx, [ebp - 0x225c]
push 0x20006
push eax
push dword [ebp - 0x221c]
mov dword [ebp - 0x225c], eax
mov dword [ebp - 0x2258], eax
mov dword [ebp - 0x2254], eax
call fcn.004015f0
test eax, eax
jne 0x402e4a
lea eax, [ebp - 0x2218]
push eax
push dword [ebp - 0x225c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x402b4a
cmp eax, 2
jne 0x402e4a
lea ecx, [ebp - 0x225c]
call fcn.00401531
push edi
mov ecx, ebx
call fcn.00402434
jmp 0x402df5
push 0x5c
pop edx
mov ecx, edi
call fcn.00401d72
test eax, eax
jne 0x402e1c
cmp dword [ebp + 0x10], eax
je 0x402bfd
mov esi, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2234]
push 0x2001f
push edi
push esi
call fcn.004015f0
test eax, eax
je 0x402bc7
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x2234]
call fcn.004015f0
test eax, eax
je 0x402bc7
sub esp, 0x14
lea ecx, [ebp - 0x2234]
push edi
push esi
call fcn.0040154b
test eax, eax
jne 0x402ce1
push edi
mov ecx, ebx
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e21
push 0x3d
pop eax
cmp word [edi], ax
jne 0x402dba
push edi
push 0
lea eax, [ebp - 0x2234]
mov ecx, ebx
push eax
call fcn.00401f50
mov esi, eax
jmp 0x4029ee
cmp dword [ebp + 0x14], 0
jne 0x402c1c
push 0x20019
push edi
push dword [ebp - 0x221c]
lea ecx, [ebp - 0x2234]
call fcn.004015f0
jmp 0x402c1f
push 2
pop eax
xor ecx, ecx
mov dword [ebp - 0x2228], eax
push 0xffffffffffffffff
inc ecx
test eax, eax
push edi
cmove ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 0x2244], ecx
call fcn.0040d63f
push eax
call fcn.004011c2
add esp, 0x14
mov ecx, ebx
push edi
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e21
push edi
mov ecx, ebx
call fcn.00402434
mov esi, eax
test esi, esi
js 0x402e21
push 0x7b
pop eax
cmp word [edi], ax
jne 0x402cc4
push edi
call fcn.0040b62e
pop ecx
cmp eax, 1
jne 0x402cc4
push dword [ebp - 0x2244]
mov ecx, ebx
push 0
push dword [ebp - 0x2234]
push edi
call fcn.004028ad
mov esi, eax
test esi, esi
jns 0x402cb2
cmp dword [ebp - 0x2244], 0
je 0x402e21
push edi
mov ecx, ebx
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e21
mov eax, dword [ebp - 0x2228]
cmp eax, 2
je 0x402dfb
test eax, eax
je 0x402cef
cmp dword [ebp + 0x14], 0
jne 0x402dfb
mov ecx, eax
call fcn.0040123c
mov esi, eax
jmp 0x402e21
cmp dword [ebp + 0x14], 0
je 0x402d3c
push dword [ebp - 0x2234]
call fcn.004023ff
test eax, eax
je 0x402d3c
lea eax, [ebp - 0x218]
push eax
call fcn.004023d0
test eax, eax
je 0x402dfb
cmp dword [ebp - 0x2224], 0
je 0x402dfb
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x2234]
call fcn.004017af
jmp 0x402dfb
push dword [ebp - 0x2234]
call fcn.004023ff
lea ecx, [ebp - 0x2234]
mov dword [ebp - 0x2228], eax
call fcn.00401531
test eax, eax
jne 0x402ce1
cmp dword [ebp - 0x2224], eax
je 0x402dfb
cmp dword [ebp - 0x2228], eax
jne 0x402dfb
mov eax, dword [ebp - 0x221c]
lea ecx, [ebp - 0x2268]
and dword [ebp - 0x2264], 0
and dword [ebp - 0x2260], 0
mov dword [ebp - 0x2268], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040145d
and dword [ebp - 0x2268], 0
test eax, eax
jne 0x402e60
lea ecx, [ebp - 0x2268]
call fcn.00401531
cmp dword [ebp + 0x10], 0
je 0x402dfb
push 0x7b
pop eax
cmp word [edi], ax
jne 0x402dfb
push edi
call fcn.0040b62e
pop ecx
cmp eax, 1
jne 0x402dfb
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x2234]
push edi
call fcn.004028ad
mov esi, eax
test esi, esi
js 0x402e21
mov ecx, ebx
push edi
call fcn.00401df6
mov esi, eax
test esi, esi
js 0x402e21
push 0x7d
pop eax
cmp word [edi], ax
jne 0x402911
jmp 0x402e21
lea ecx, [ebp - 0x2240]
jmp 0x402e59
lea ecx, [ebp - 0x2240]
call fcn.00401531
mov esi, 0x80020009
lea ecx, [ebp - 0x2234]
call fcn.00401531
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.00407989
leave
ret 0x10
mov ecx, eax
call fcn.0040123c
lea ecx, [ebp - 0x225c]
mov esi, eax
call fcn.00401531
jmp 0x402e21
mov ecx, eax
call fcn.0040123c
lea ecx, [ebp - 0x2268]
jmp 0x402e57