Function at 0x1000f520
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1000
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100e6a38]
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 edi, dword [ebp + 8]
mov dword [ebp - 0x28], edi
call fcn.10007950
mov ecx, eax
test ecx, ecx
je 0x1000f732
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x100bbefc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.10006d40
test al, al
jne 0x1000f592
push 1
push 0x100bbefc
lea ecx, [ebp - 0x1c]
call fcn.100086a0
push 0x14000
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 1
call fcn.1003b54b
mov esi, eax
mov dword [ebp - 0x14], 0xa000
add esp, 4
test esi, esi
jne 0x1000f5fe
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x100bb5b0
mov byte [edi], al
call fcn.1000a000
mov esi, dword [ebp - 0x1c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000f714
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1000f714
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x100bbf00
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or ebx, 0xffffffff
test eax, eax
jne 0x1000f6e0
lea eax, [ebp - 0x40]
push eax
call fcn.1000f7d0
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x1000f63f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.1000d890
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.1000d890
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10034930
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.1000e5d0
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f698
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f6b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000f6d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.10005ba0
push esi
call fcn.1003b554
mov esi, dword [ebp - 0x1c]
push 0xfde9
push esi
push edi
call fcn.100351c0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000f714
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.1003b512
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10006d20
int3