Function at 0x4a7020
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66095a
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x750990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004ab5e0
jmp 0x4a706a
push 0
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0048a180
lea edx, [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004ab6a0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004b1130
movzx eax, al
test eax, eax
je 0x4a72fe
lea ecx, [ebp - 0x1c]
call fcn.004aac50
push eax
lea ecx, [ebp - 0x54]
call fcn.0041a9f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004aac50
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
push 0
push 0
lea ecx, [ebp - 0x54]
call fcn.0041ae70
push eax
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004a7a70
mov byte [ebp - 4], 1
push str.firsttimestamp
lea ecx, [ebp - 0x34]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push str.CustomData
lea ecx, [ebp - 0x54]
call fcn.0041ae70
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004a7a70
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.0041aca0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.0041a9d0
lea ecx, [ebp - 0x34]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp - 0x24], 0
je 0x4a72de
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
call fcn.004ab610
jmp 0x4a7170
push 0
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004aacb0
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x24]
add ecx, 0x24
call fcn.004ab6a0
push eax
lea ecx, [ebp - 0x28]
call fcn.004b1130
movzx eax, al
test eax, eax
je 0x4a72de
lea ecx, [ebp - 0x28]
call fcn.00470140
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x4a72d9
mov edx, dword [ebp - 0x20]
add edx, 4
push edx
lea ecx, [ebp - 0x7c]
call fcn.0041a9f0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.004ab5e0
jmp 0x4a71dc
push 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0048a180
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.004ab6a0
push eax
lea ecx, [ebp - 0x14]
call fcn.004b1130
movzx eax, al
test eax, eax
je 0x4a72cd
lea ecx, [ebp - 0x14]
call fcn.004aac50
push eax
lea ecx, [ebp - 0x6c]
call fcn.0041a9f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6c]
call fcn.0041ae70
push eax
lea ecx, [ebp - 0x7c]
call fcn.0041ae70
push eax
lea ecx, [ebp - 0x54]
call fcn.0041ae70
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004a7a70
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.0041aca0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.0041a9d0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push str.Count
lea ecx, [ebp - 0x34]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call fcn.0040e790
lea ecx, [ebp - 0x14]
call fcn.004aac50
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push str.Count
lea ecx, [ebp - 0x34]
call fcn.0041ae70
push eax
push SysReAllocStringLen
call fcn.0040e920
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.0041a9d0
jmp 0x4a71ce
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.0041a9d0
jmp 0x4a7162
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0041a9d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0041a9d0
jmp 0x4a705c
mov ecx, dword [ebp - 0x10]
call fcn.004a8770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret