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

Disassembly:
push 0xffffffffffffffff
push 0x10032726
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x1003d300]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003d300]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x9e]
push ecx
mov word [esp + 0xa0], ax
call fcn.1001d7d0
add esp, 0xc
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
add dword [esp + 0x18], 0xd71bc000
lea edx, [esp + 0x28]
push edx
adc dword [esp + 0x20], 0xfffffa7f
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [esp + 0x2e]
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._04d__02d__02d
lea ecx, [esp + 0xa4]
push 0x104
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
lea edx, [esp + 0x94]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
xor ecx, ecx
test eax, eax
setl cl
mov ebp, ecx
test ebp, ebp
je 0x100048ef
push esi
push 0x10035b0c
call fcn.10016669
add esp, 8
push esi
push str.Softwareprojonepodlp_rptcache_rptstore_s
lea esi, [esp + 0x60]
call fcn.100187a6
add esp, 8
mov dword [esp + 0x2a8], 0
cmp dword [esp + 0x70], 8
mov ecx, dword [esp + 0x5c]
jae 0x1000491b
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x38]
push edx
mov edx, 0x80000002
call fcn.100189d0
add esp, 4
mov byte [esp + 0x2a8], 1
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
mov esi, dword [eax]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
test edi, edi
je 0x1000495f
cmp edi, dword [esp + 0x20]
je 0x10004964
call fcn.1001afea
cmp esi, dword [esp + 0x24]
je 0x10004a99
test edi, edi
jne 0x10004992
call fcn.1001afea
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x10004983
call fcn.1001afea
mov ecx, 8
cmp dword [esi + 0x24], ecx
jb 0x10004996
mov eax, dword [esi + 0x10]
jmp 0x10004999
mov eax, dword [edi]
jmp 0x10004979
lea eax, [esi + 0x10]
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x70], ecx
jae 0x100049a7
lea edx, [esp + 0x5c]
push eax
push 0x80000002
lea ecx, [esp + 0x7c]
call fcn.1001889b
add esp, 8
mov byte [esp + 0x2a8], 2
test ebp, ebp
je 0x100049cc
lea eax, [esp + 0x74]
push eax
jmp 0x100049f5
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x1b]
mov byte [esp + 0x1b], 0
call fcn.10003510
add esp, 4
test eax, eax
jne 0x100049fd
cmp byte [esp + 0x17], al
je 0x10004a74
lea edx, [esp + 0x74]
push edx
call fcn.100039f0
add esp, 4
test edi, edi
je 0x10004a05
mov edi, dword [edi]
jmp 0x10004a0c
call fcn.1001afea
xor edi, edi
cmp esi, dword [edi + 0x18]
jne 0x10004a16
call fcn.1001afea
mov eax, 8
cmp dword [esi + 0x24], eax
jb 0x10004a25
mov esi, dword [esi + 0x10]
jmp 0x10004a28
add esi, 0x10
cmp dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
jae 0x10004a36
lea eax, [esp + 0x5c]
push esi
push eax
push 0x80000002
call ebx
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x8c], 8
jb 0x10004a5e
mov eax, dword [esp + 0x78]
push eax
call fcn.1001aa0a
add esp, 4
lea esi, [esp + 0x18]
call fcn.10006220
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x10004955
mov edi, 8
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x8c], edi
jb 0x10004a9e
mov ecx, dword [esp + 0x78]
push ecx
call fcn.1001aa0a
add esp, 4
jmp 0x10004a9e
mov edi, 8
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x10004aac
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x74]
push edx
mov edx, 0x80000002
call fcn.100189d0
add esp, 4
mov esi, eax
lea eax, [esp + 0x38]
mov byte [esp + 0x2a8], 3
cmp eax, esi
je 0x10004af7
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov edx, dword [eax]
push eax
push ecx
push edx
push ecx
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x4c]
call fcn.10006090
mov ebx, esi
lea eax, [esp + 0x38]
call fcn.10006170
lea esi, [esp + 0x74]
mov byte [esp + 0x2a8], 4
call fcn.100061e0
mov edx, dword [esp + 0x74]
push edx
call fcn.1001aa0a
add esp, 4
cmp dword [esp + 0x54], 0
jne 0x10004b36
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x10004b2a
lea eax, [esp + 0x5c]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea esi, [esp + 0x38]
mov byte [esp + 0x2a8], 5
call fcn.100061e0
mov eax, dword [esp + 0x38]
push eax
call fcn.1001aa0a
add esp, 4
cmp dword [esp + 0x70], edi
jb 0x10004b67
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.1001aa0a
add esp, 4
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.1001a9d1
add esp, 0x298
ret