Function at 0x48c540
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2576
mov eax, dword fs:[0]
push eax
mov eax, 0x1158
call fcn.004ac030
mov eax, dword [0x5299c0]
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 - 0x1118], eax
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x111c], ecx
mov dword [ebp - 0x112c], 0
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccd9
cmp byte [edi], 0x7d
je 0x48ccc6
nop word [eax + eax]
push str.Delete
push edi
mov dword [ebp - 0x1120], 1
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
neg eax
push str.ForceRemove
sbb ebx, ebx
push edi
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x48c603
test ebx, ebx
je 0x48c71b
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccc6
cmp dword [ebp + 0x10], 0
je 0x48c71b
mov al, byte [edi]
mov ecx, edi
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
test al, al
je 0x48c66d
nop dword [eax]
cmp al, 0x5c
je 0x48c665
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x48c650
jmp 0x48c66d
test ecx, ecx
jne 0x48cc5f
mov esi, 0x4fce60
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x48c6d4
add esi, 4
cmp esi, 0x4fce90
jl 0x48c672
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1138]
push edi
mov dword [ebp - 0x1138], eax
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
call fcn.0048bf50
mov dword [ebp - 0x1138], 0
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1130], 0
test ebx, ebx
je 0x48c711
mov ebx, dword [ebp - 0x1118]
mov ecx, ebx
push edi
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48cc71
push edi
mov ecx, ebx
call fcn.0048d830
mov esi, eax
test esi, esi
js 0x48cc71
mov dword [ebp - 0x1134], 0
jmp 0x48ca28
mov dword [ebp - 0x1134], 0
push str.NoRemove
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, dword [ebp - 0x1118]
test eax, eax
jne 0x48c749
push edi
mov ecx, ebx
mov dword [ebp - 0x1120], eax
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccc6
push 0x4fce3c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x48c8b3
lea eax, [ebp - 0x1114]
mov ecx, ebx
push eax
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccc6
push edi
mov ecx, ebx
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccc6
cmp byte [edi], 0x3d
jne 0x48cc6a
cmp dword [ebp + 0x10], 0
je 0x48c80b
mov eax, dword [ebp - 0x111c]
mov ecx, ebx
mov dword [ebp - 0x114c], eax
lea eax, [ebp - 0x1114]
push edi
push eax
lea eax, [ebp - 0x114c]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x1148], 0
mov dword [ebp - 0x1144], 0
call fcn.0048a4c0
mov esi, eax
mov dword [ebp - 0x114c], 0
mov dword [ebp - 0x1148], 0
mov dword [ebp - 0x1144], 0
test esi, esi
js 0x48cc7e
mov byte [ebp - 4], 0
mov dword [ebp - 0x1148], 0
jmp 0x48ca28
cmp dword [ebp + 0x14], 0
jne 0x48c89c
cmp dword [ebp - 0x1120], 0
je 0x48c89c
push 0x20006
push 0
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x1158]
mov dword [ebp - 0x1158], 0
mov dword [ebp - 0x1154], 0
mov dword [ebp - 0x1150], 0
call fcn.0048b960
test eax, eax
jne 0x48cc8b
mov esi, dword [ebp - 0x1158]
lea eax, [ebp - 0x1114]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x48c87d
cmp eax, 2
jne 0x48cc8b
test esi, esi
je 0x48c892
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1158], 0
mov dword [ebp - 0x1154], 0
push edi
mov ecx, ebx
call fcn.0048d830
mov esi, eax
test esi, esi
js 0x48ccc6
jmp 0x48cc54
mov al, byte [edi]
mov ecx, edi
test al, al
je 0x48c8dd
nop dword [eax + eax]
cmp al, 0x5c
je 0x48c8d5
push ecx
call dword [sym.imp.USER32.dll_CharNextA]
mov ecx, eax
mov al, byte [ecx]
test al, al
jne 0x48c8c0
jmp 0x48c8dd
test ecx, ecx
jne 0x48cc6a
cmp dword [ebp + 0x10], 0
je 0x48ca7c
mov esi, dword [ebp - 0x111c]
lea ecx, [ebp - 0x112c]
push 0x2001f
push edi
push esi
call fcn.0048b960
test eax, eax
je 0x48c9f6
push 0x20019
push edi
push esi
lea ecx, [ebp - 0x112c]
call fcn.0048b960
test eax, eax
je 0x48c9f6
mov esi, dword [ebp - 0x1124]
mov dword [ebp - 0x1120], 0
test esi, esi
je 0x48c997
cmp dword [esi], 0
je 0x48c98a
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x48c950
mov eax, 1
jmp 0x48c9bf
push str.RegCreateKeyTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48c990
push 0
push dword [esi]
lea ecx, [ebp - 0x113c]
push ecx
lea ecx, [ebp - 0x1120]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x111c]
call eax
jmp 0x48c9bf
cmp dword [esi + 4], 0
jne 0x48c997
mov eax, 1
jmp 0x48c9bf
lea eax, [ebp - 0x113c]
push eax
lea eax, [ebp - 0x1120]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push edi
push dword [ebp - 0x111c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x48ccbb
mov ecx, dword [ebp - 0x112c]
test ecx, ecx
je 0x48c9d8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1120]
mov dword [ebp - 0x112c], ecx
mov dword [ebp - 0x1128], 0
test eax, eax
jne 0x48ccbb
push edi
mov ecx, ebx
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccc6
cmp byte [edi], 0x3d
jne 0x48ca28
push edi
push 0
lea eax, [ebp - 0x112c]
mov ecx, ebx
push eax
call fcn.0048a4c0
mov esi, eax
test esi, esi
js 0x48ccc6
cmp byte [edi], 0x7b
jne 0x48cc54
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48ca36
sub ecx, edx
cmp ecx, 1
jne 0x48cc54
push 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x112c]
push edi
call fcn.0048c540
mov esi, eax
test esi, esi
js 0x48ccc6
push edi
mov ecx, ebx
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccc6
jmp 0x48cc54
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x48ca9e
push 0x20019
push edi
push dword [ebp - 0x111c]
lea ecx, [ebp - 0x112c]
call fcn.0048b960
mov ebx, eax
jmp 0x48caa3
mov ebx, 2
test ebx, ebx
mov ecx, 1
push 0xffffffffffffffff
mov eax, esi
cmovne eax, ecx
push edi
mov dword [ebp - 0x1140], eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004d47a8
push eax
call fcn.0043f650
mov ecx, dword [ebp - 0x1118]
add esp, 0x14
push edi
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccc6
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0048d830
mov esi, eax
test esi, esi
js 0x48ccc6
cmp byte [edi], 0x7b
jne 0x48cb59
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48cb08
sub ecx, edx
cmp ecx, 1
jne 0x48cb59
push dword [ebp - 0x1140]
mov ecx, dword [ebp - 0x1118]
push 0
push dword [ebp - 0x112c]
push edi
call fcn.0048c540
mov esi, eax
test esi, esi
jns 0x48cb43
cmp dword [ebp - 0x1140], 0
je 0x48ccc6
mov ecx, dword [ebp - 0x1118]
push edi
call fcn.0048b5a0
mov esi, eax
test esi, esi
js 0x48ccc6
cmp ebx, 2
je 0x48cc54
test ebx, ebx
je 0x48cb76
cmp dword [ebp + 0x14], 0
jne 0x48cc54
push ebx
jmp 0x48ccbc
cmp dword [ebp + 0x14], 0
mov ebx, dword [ebp - 0x1118]
je 0x48cbcd
push dword [ebp - 0x112c]
mov ecx, ebx
call fcn.0048b430
test eax, eax
je 0x48cbcd
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call fcn.0048acc0
test eax, eax
je 0x48cc54
cmp dword [ebp - 0x1120], 0
je 0x48cc54
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x112c]
call fcn.0048bf50
jmp 0x48cc54
push dword [ebp - 0x112c]
mov ecx, ebx
call fcn.0048b430
mov ecx, dword [ebp - 0x112c]
mov ebx, eax
xor eax, eax
test ecx, ecx
je 0x48cbf7
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x112c], ecx
mov dword [ebp - 0x1128], 0
test eax, eax
jne 0x48ccbb
cmp dword [ebp - 0x1120], eax
je 0x48cc54
test ebx, ebx
jne 0x48cc54
mov eax, dword [ebp - 0x111c]
lea ecx, [ebp - 0x1164]
mov dword [ebp - 0x1164], eax
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x1160], ebx
mov dword [ebp - 0x115c], ebx
call fcn.0048b2d0
mov dword [ebp - 0x1164], ebx
test eax, eax
jne 0x48cca3
lea ecx, [ebp - 0x1164]
call fcn.00489dd0
cmp byte [edi], 0x7d
jne 0x48c5d0
jmp 0x48ccc6
lea ecx, [ebp - 0x1138]
call fcn.00489dd0
mov esi, 0x80020009
jmp 0x48ccc6
lea ecx, [ebp - 0x1138]
call fcn.00489dd0
jmp 0x48ccc6
lea ecx, [ebp - 0x114c]
call fcn.00489dd0
jmp 0x48ccc6
push eax
call fcn.0048ac60
add esp, 4
lea ecx, [ebp - 0x1158]
mov esi, eax
call fcn.00489dd0
jmp 0x48ccc6
push eax
call fcn.0048ac60
add esp, 4
lea ecx, [ebp - 0x1164]
mov esi, eax
call fcn.00489dd0
jmp 0x48ccc6
push eax
call fcn.0048ac60
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x112c]
test eax, eax
je 0x48ccd7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.004ab970
mov esp, ebp
pop ebp
ret 0x10