Function at 0x4a93d7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2264
call fcn.00405ecb
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x2260], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
mov dword [esp + 0x38], eax
mov eax, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.004a8a7f
mov esi, eax
cmp esi, edi
jl 0x4a97e7
cmp word [ebx], 0x7d
je 0x4a97e5
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Delete
push ebx
mov dword [esp + 0x30], 1
call esi
neg eax
push 0x637898
sbb edi, edi
push ebx
inc edi
call esi
test eax, eax
je 0x4a9465
test edi, edi
je 0x4a9511
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.004a8a7f
mov esi, eax
test esi, esi
js 0x4a97d4
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x4a9513
push 0x5c
mov eax, ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.004a8a30
pop ecx
test eax, eax
jne 0x4a9914
push ebx
call fcn.004a8f36
test eax, eax
je 0x4a94d3
mov eax, dword [esp + 0x20]
push ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.004a83e6
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp edi, esi
je 0x4a950b
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.004a8a7f
mov esi, eax
test esi, esi
js 0x4a97d4
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.004a8f9a
mov esi, eax
test esi, esi
js 0x4a97d4
and dword [esp + 0x40], 0
jmp 0x4a98bb
mov dword [esp + 0x40], esi
jmp 0x4a9513
xor esi, esi
push str.NoRemove
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4a953e
and dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.004a8a7f
mov esi, eax
test esi, esi
js 0x4a97d4
xor esi, esi
push 0x637890
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4a9651
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x268]
call fcn.004a8a7f
mov esi, eax
xor edi, edi
cmp esi, edi
jl 0x4a97d4
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.004a8a7f
mov esi, eax
cmp esi, edi
jl 0x4a97d4
cmp word [ebx], 0x3d
jne 0x4a992e
cmp dword [ebp + 0x10], edi
je 0x4a95d7
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], eax
push ebx
lea eax, [esp + 0x26c]
push eax
lea edx, [esp + 0x50]
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
call fcn.004a8ba5
mov esi, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
cmp esi, edi
jl 0x4a9979
mov dword [esp + 0x4c], edi
jmp 0x4a98bb
cmp dword [ebp + 0x14], edi
jne 0x4a9641
cmp dword [esp + 0x28], edi
je 0x4a9641
push edi
push dword [esp + 0x24]
lea eax, [esp + 0x34]
push eax
mov eax, 0x20006
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.004a5071
cmp eax, edi
jne 0x4a9934
lea eax, [esp + 0x268]
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, edi
je 0x4a9629
cmp eax, 2
jne 0x4a9934
cmp dword [esp + 0x2c], edi
je 0x4a963d
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.004a8f9a
jmp 0x4a98fb
push 0x5c
mov eax, ebx
call fcn.004a8a30
pop ecx
test eax, eax
jne 0x4a9914
cmp dword [ebp + 0x10], esi
je 0x4a96f0
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
mov eax, 0x2001f
call fcn.004a5071
test eax, eax
je 0x4a96b2
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
mov eax, 0x20019
call fcn.004a5071
test eax, eax
je 0x4a96b2
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
call fcn.004a838f
cmp eax, esi
jne 0x4a9954
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.004a8a7f
mov esi, eax
test esi, esi
js 0x4a97d4
cmp word [ebx], 0x3d
jne 0x4a98bb
mov ecx, dword [esp + 0x10]
push ebx
push 0
lea edx, [esp + 0x1c]
call fcn.004a8ba5
mov esi, eax
test esi, esi
js 0x4a97d4
jmp 0x4a98bb
cmp dword [ebp + 0x14], esi
jne 0x4a970f
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
mov eax, 0x20019
call fcn.004a5071
mov dword [esp + 0x24], eax
jmp 0x4a9717
mov dword [esp + 0x24], 2
cmp dword [esp + 0x24], esi
je 0x4a9724
mov dword [ebp + 0x14], 1
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x68]
push 0x104
push eax
call fcn.004190f0
push eax
call fcn.004a4f9b
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov eax, ebx
call fcn.004a8a7f
mov esi, eax
test esi, esi
js 0x4a97d4
mov ecx, dword [esp + 0x10]
mov edi, ebx
call fcn.004a8f9a
mov esi, eax
test esi, esi
js 0x4a97d4
cmp word [ebx], 0x7b
jne 0x4a97a7
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4a97a7
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
push 0
push dword [esp + 0x1c]
push ebx
call fcn.004a93d7
mov esi, eax
test esi, esi
jns 0x4a9796
cmp dword [ebp + 0x14], 0
je 0x4a97d4
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.004a8a7f
mov esi, eax
test esi, esi
js 0x4a97d4
cmp dword [esp + 0x24], 2
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x14], eax
je 0x4a9905
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
je 0x4a97fe
cmp dword [esp + 0x38], edi
jne 0x4a9905
call fcn.004a7d3a
mov esi, eax
cmp dword [esp + 0x14], 0
je 0x4a97e5
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x226c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403fc1
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esp + 0x38], edi
je 0x4a9840
push dword [esp + 0x14]
call fcn.004a8f65
test eax, eax
je 0x4a9840
lea eax, [esp + 0x60]
push eax
call fcn.004a8f36
test eax, eax
je 0x4a9905
cmp dword [esp + 0x28], edi
je 0x4a9905
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x18]
call fcn.004a83e6
jmp 0x4a9905
push dword [esp + 0x14]
call fcn.004a8f65
mov dword [esp + 0x24], eax
xor eax, eax
cmp dword [esp + 0x14], edi
je 0x4a9863
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
cmp eax, edi
jne 0x4a9972
cmp dword [esp + 0x28], edi
je 0x4a9905
cmp dword [esp + 0x24], edi
jne 0x4a9905
mov eax, dword [esp + 0x20]
and dword [esp + 0x58], edi
and dword [esp + 0x5c], edi
mov dword [esp + 0x54], eax
lea eax, [esp + 0x60]
push eax
lea edi, [esp + 0x58]
call fcn.004a8321
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
cmp eax, ecx
jne 0x4a97cd
and dword [esp + 0x58], ecx
cmp dword [ebp + 0x10], 0
je 0x4a9905
cmp word [ebx], 0x7b
jne 0x4a9905
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jne 0x4a9905
mov ecx, dword [esp + 0x10]
push 0
push dword [ebp + 0x10]
push dword [esp + 0x1c]
push ebx
call fcn.004a93d7
mov esi, eax
test esi, esi
js 0x4a97d4
mov ecx, dword [esp + 0x10]
mov eax, ebx
call fcn.004a8a7f
mov esi, eax
test esi, esi
js 0x4a97d4
cmp word [ebx], 0x7d
jne 0x4a9436
jmp 0x4a97d4
cmp dword [esp + 0x14], esi
je 0x4a9924
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80020009
jmp 0x4a97e7
cmp dword [esp + 0x14], edi
jmp 0x4a9918
call fcn.004a7d3a
mov esi, eax
cmp dword [esp + 0x2c], edi
je 0x4a97d4
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4a97d4
call fcn.004a7d3a
mov edi, eax
cmp dword [esp + 0x14], esi
je 0x4a996b
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4a97e7
call fcn.004a7d3a
mov esi, eax
cmp dword [esp + 0x14], edi
jmp 0x4a97d9