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

Disassembly:
push 0xffffffffffffffff
push 0x1003ba66
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x10047330]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10047330]
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.100258c0
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 0x1000630f
push esi
push 0x1003ec4c
call fcn.10020f1f
add esp, 8
push esi
push str.Softwareprojonepodlp_rptcache_rptstore_s
lea esi, [esp + 0x60]
call fcn.1001f2f3
add esp, 8
mov dword [esp + 0x2a8], 0
cmp dword [esp + 0x70], 8
mov ecx, dword [esp + 0x5c]
jae 0x1000633b
lea ecx, [esp + 0x5c]
mov edx, reloc.WS2_32.dll_bind
lea ebx, [esp + 0x38]
call fcn.10003410
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 0x1000637b
cmp edi, dword [esp + 0x20]
je 0x10006380
call fcn.10023692
cmp esi, dword [esp + 0x24]
je 0x100064b2
test edi, edi
jne 0x100063ae
call fcn.10023692
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x1000639f
call fcn.10023692
mov ecx, 8
cmp dword [esi + 0x24], ecx
jb 0x100063b2
mov eax, dword [esi + 0x10]
jmp 0x100063b5
mov eax, dword [edi]
jmp 0x10006395
lea eax, [esi + 0x10]
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x70], ecx
jae 0x100063c3
lea edx, [esp + 0x5c]
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, reloc.WS2_32.dll_bind
call fcn.1001f3fa
add esp, 8
mov byte [esp + 0x2a8], 2
lea ecx, [esp + 0x74]
test ebp, ebp
je 0x100063e9
push ecx
jmp 0x1000640e
lea edx, [esp + 0x17]
push edx
mov byte [esp + 0x1b], 0
call fcn.10005370
add esp, 4
test eax, eax
jne 0x10006416
cmp byte [esp + 0x17], al
je 0x1000648d
lea eax, [esp + 0x74]
push eax
call fcn.10005800
add esp, 4
test edi, edi
je 0x1000641e
mov edi, dword [edi]
jmp 0x10006425
call fcn.10023692
xor edi, edi
cmp esi, dword [edi + 0x18]
jne 0x1000642f
call fcn.10023692
mov eax, 8
cmp dword [esi + 0x24], eax
jb 0x1000643e
mov esi, dword [esi + 0x10]
jmp 0x10006441
add esi, 0x10
cmp dword [esp + 0x70], eax
mov eax, dword [esp + 0x5c]
jae 0x1000644f
lea eax, [esp + 0x5c]
push esi
push eax
push reloc.WS2_32.dll_bind
call ebx
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x8c], 8
jb 0x10006477
mov ecx, dword [esp + 0x78]
push ecx
call fcn.100236cc
add esp, 4
lea esi, [esp + 0x18]
call fcn.10002640
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
jmp 0x10006371
mov edi, 8
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x8c], edi
jb 0x100064b7
mov edx, dword [esp + 0x78]
push edx
call fcn.100236cc
add esp, 4
jmp 0x100064b7
mov edi, 8
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x100064c5
lea ecx, [esp + 0x5c]
mov edx, reloc.WS2_32.dll_bind
lea ebx, [esp + 0x74]
call fcn.10003410
mov ebx, eax
lea eax, [esp + 0x38]
mov byte [esp + 0x2a8], 3
cmp eax, ebx
je 0x1000650a
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.10007d90
lea eax, [esp + 0x38]
call fcn.10007e70
lea esi, [esp + 0x74]
mov byte [esp + 0x2a8], 4
call fcn.10007ee0
mov edx, dword [esp + 0x74]
push edx
call fcn.100236cc
add esp, 4
cmp dword [esp + 0x54], 0
jne 0x10006549
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x70], edi
jae 0x1000653d
lea eax, [esp + 0x5c]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea esi, [esp + 0x38]
mov byte [esp + 0x2a8], 5
call fcn.10007ee0
mov eax, dword [esp + 0x38]
push eax
call fcn.100236cc
add esp, 4
cmp dword [esp + 0x70], edi
jb 0x1000657a
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.100236cc
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.1002333a
add esp, 0x298
ret