Function at 0x8a3092
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x8f542e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1164
call fcn.008e6820
mov eax, dword [0x919630]
xor eax, esp
mov dword [esp + 0x1160], eax
push ebx
push esi
push edi
mov eax, dword [0x919630]
xor eax, esp
push eax
lea eax, [esp + 0x1178]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, esi
mov dword [esp + 0x1180], edi
call 0x8a26cb
mov ebx, eax
cmp ebx, edi
jl 0x8a34c1
cmp byte [esi], 0x7d
je 0x8a34bf
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.Delete
push esi
mov dword [esp + 0x34], 1
call ebx
neg eax
push str.ForceRemove
sbb edi, edi
push esi
inc edi
call ebx
test eax, eax
je 0x8a314a
test edi, edi
je 0x8a31f4
mov ecx, dword [esp + 0x14]
mov eax, esi
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x8a31f4
push 0x5c
mov eax, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call 0x8a2683
pop ecx
test eax, eax
jne 0x8a35fb
push esi
call 0x8a2bc4
test eax, eax
je 0x8a31b8
mov eax, dword [esp + 0x24]
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.008a1afb
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
cmp edi, ebx
je 0x8a31f0
mov ecx, dword [esp + 0x14]
mov eax, esi
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
mov ecx, dword [esp + 0x14]
mov edi, esi
call 0x8a2c25
mov ebx, eax
test ebx, ebx
js 0x8a34ae
and dword [esp + 0x34], 0
jmp 0x8a35a4
mov dword [esp + 0x34], ebx
push str.NoRemove
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x8a321d
and dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
mov eax, esi
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
push 0x900880
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x8a333c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x16c]
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
mov ecx, dword [esp + 0x14]
mov eax, esi
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
cmp byte [esi], 0x3d
jne 0x8a3615
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x8a32c5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x1180], 1
mov dword [esp + 0x4c], eax
push esi
lea eax, [esp + 0x170]
push eax
lea edx, [esp + 0x54]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call 0x8a27be
mov ebx, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
cmp ebx, edi
jl 0x8a361c
mov byte [esp + 0x1180], 0
mov dword [esp + 0x50], edi
jmp 0x8a35a4
cmp dword [ebp + 0x14], edi
jne 0x8a332c
cmp dword [esp + 0x2c], edi
je 0x8a332c
push edi
push dword [esp + 0x28]
mov eax, 0x20006
lea ebx, [esp + 0x48]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.008a1a77
test eax, eax
jne 0x8a3637
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x16c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x8a3317
cmp eax, 2
jne 0x8a3625
test edi, edi
je 0x8a3327
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
mov ecx, dword [esp + 0x14]
mov edi, esi
call 0x8a2c25
jmp 0x8a35e3
push 0x5c
mov eax, esi
call 0x8a2683
pop ecx
test eax, eax
jne 0x8a3615
cmp dword [ebp + 0x10], eax
je 0x8a33ce
push esi
push dword [esp + 0x28]
mov eax, 0x2001f
lea ebx, [esp + 0x20]
call fcn.008a1a77
test eax, eax
je 0x8a3391
push esi
push dword [esp + 0x28]
mov eax, 0x20019
call fcn.008a1a77
test eax, eax
je 0x8a3391
push esi
push dword [esp + 0x28]
mov eax, ebx
call fcn.008a1a20
test eax, eax
jne 0x8a3657
mov ecx, dword [esp + 0x14]
mov eax, esi
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
cmp byte [esi], 0x3d
jne 0x8a35a4
mov ecx, dword [esp + 0x14]
push esi
push 0
lea edx, [esp + 0x20]
call 0x8a27be
mov ebx, eax
test ebx, ebx
js 0x8a34ae
jmp 0x8a35a4
cmp dword [ebp + 0x14], 0
jne 0x8a33ed
push esi
push dword [esp + 0x28]
mov eax, 0x20019
lea ebx, [esp + 0x20]
call fcn.008a1a77
mov dword [esp + 0x28], eax
jmp 0x8a33f5
mov dword [esp + 0x28], 2
cmp dword [esp + 0x28], 0
je 0x8a3403
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x6c]
push 0x104
push eax
call fcn.008dbe88
push eax
call fcn.008a1140
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov eax, esi
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
mov ecx, dword [esp + 0x14]
mov edi, esi
call 0x8a2c25
mov ebx, eax
test ebx, ebx
js 0x8a34ae
cmp byte [esi], 0x7b
jne 0x8a3481
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x8a3481
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push 0
push dword [esp + 0x20]
push esi
call fcn.008a3092
mov ebx, eax
test ebx, ebx
jns 0x8a3470
cmp dword [ebp + 0x14], 0
je 0x8a34ae
mov ecx, dword [esp + 0x14]
mov eax, esi
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
cmp dword [esp + 0x28], 2
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x14], eax
je 0x8a35ed
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, edi
je 0x8a34e7
cmp dword [esp + 0x3c], edi
jne 0x8a35ed
call fcn.008a11d2
mov ebx, eax
cmp dword [esp + 0x18], 0
je 0x8a34bf
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x1178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1160]
xor ecx, esp
call fcn.008da44f
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x3c], edi
je 0x8a3529
push dword [esp + 0x18]
call 0x8a2bf0
test eax, eax
je 0x8a3529
lea eax, [esp + 0x64]
push eax
call 0x8a2bc4
test eax, eax
je 0x8a35ed
cmp dword [esp + 0x2c], edi
je 0x8a35ed
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x1c]
call fcn.008a1afb
jmp 0x8a35ed
push dword [esp + 0x18]
call 0x8a2bf0
mov dword [esp + 0x28], eax
xor eax, eax
cmp dword [esp + 0x18], edi
je 0x8a354c
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
cmp eax, edi
jne 0x8a3663
cmp dword [esp + 0x2c], edi
je 0x8a35ed
cmp dword [esp + 0x28], edi
jne 0x8a35ed
mov eax, dword [esp + 0x24]
and dword [esp + 0x5c], edi
and dword [esp + 0x60], edi
mov dword [esp + 0x58], eax
lea eax, [esp + 0x64]
push eax
lea edi, [esp + 0x5c]
call fcn.008a199c
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
cmp eax, ecx
jne 0x8a34a7
and dword [esp + 0x5c], ecx
cmp dword [ebp + 0x10], 0
je 0x8a35ed
cmp byte [esi], 0x7b
jne 0x8a35ed
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jne 0x8a35ed
mov ecx, dword [esp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x20]
push esi
call fcn.008a3092
mov ebx, eax
test ebx, ebx
js 0x8a34ae
mov ecx, dword [esp + 0x14]
mov eax, esi
call 0x8a26cb
mov ebx, eax
test ebx, ebx
js 0x8a34ae
cmp byte [esi], 0x7d
jne 0x8a311b
jmp 0x8a34ae
cmp dword [esp + 0x18], ebx
je 0x8a360b
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x8a34c1
cmp dword [esp + 0x18], 0
jmp 0x8a35ff
cmp dword [esp + 0x18], edi
jmp 0x8a34b3
call fcn.008a11d2
mov ebx, eax
test edi, edi
je 0x8a34ae
push edi
jmp 0x8a364c
call fcn.008a11d2
mov ebx, eax
cmp dword [esp + 0x40], edi
je 0x8a34ae
push dword [esp + 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x8a34ae
call fcn.008a11d2
cmp dword [esp + 0x18], 0
jmp 0x8a366c
call fcn.008a11d2
cmp dword [esp + 0x18], edi
mov esi, eax
je 0x8a367a
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x8a34c1