Function at 0x1004b6a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010e8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1015746c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 7
xor ebx, ebx
mov dword [ebp - 0x10], 0x80000
nop dword [eax + eax]
mov eax, dword [0x1015bcb4]
test al, 1
jne 0x1004b71f
or eax, 1
mov dword [0x1015bcb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x101155c0
mov dword [0x1015bca8], 0x10118930
mov dword [0x1015bcac], eax
mov byte [0x1015bcb0], 0
call fcn.10068844
mov eax, dword [0x1015bcb4]
add esp, 4
test al, 2
jne 0x1004b77b
or eax, 2
mov dword [0x1015bcb8], 0x10118948
mov dword [0x1015bcb4], eax
xor eax, eax
push 0x101155f0
mov dword [0x1015bcbc], 0x1015bca8
mov dword [0x1015bccc], 2
mov dword [0x1015bcc4], 0
mov dword [0x1015bcc8], 0
mov dword [0x1015bcd0], eax
mov dword [0x1015bcc0], 0x1015bcb8
call fcn.10068844
add esp, 4
mov eax, dword [0x1015bcb8]
mov ecx, 0x1015bcb8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 0
test edi, edi
js 0x1004b8e1
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1004b7bd
push edi
lea ecx, [ebp - 0x14]
call fcn.10005150
mov esi, dword [ebp - 0x14]
cmp edi, dword [esi - 8]
jg 0x1004b8e1
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push str.PendingFileRenameOperations
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [esi - 8]
mov edi, eax
push esi
call fcn.100b0d93
add esp, 8
test eax, eax
js 0x1004b8e1
cmp eax, dword [esi - 8]
jg 0x1004b8e1
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
je 0x1004b896
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
cmp edi, 0xea
jne 0x1004b86b
mov eax, dword [ebp - 0x10]
add eax, eax
mov dword [ebp - 0x10], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004b848
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, 0xa
jl 0x1004b6e0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004b880
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 4]
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push esi
call fcn.1004b460
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1004b8c8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10004170
int3