Function at 0x100176a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096f70
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100c4350]
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.10004f30
mov ecx, eax
test ecx, ecx
je 0x100178b2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x100a0020
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.10016bb0
test al, al
jne 0x10017712
push 1
push 0x100a0020
lea ecx, [ebp - 0x1c]
call fcn.1001cd80
push 0x14000
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 1
call fcn.1002e844
mov esi, eax
mov dword [ebp - 0x14], 0xa000
add esp, 4
test esi, esi
jne 0x1001777e
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x1009e6d8
mov byte [edi], al
call fcn.10006d20
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 0x10017894
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x10017894
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x100a0024
push 0x100a0034
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or ebx, 0xffffffff
test eax, eax
jne 0x10017860
lea eax, [ebp - 0x40]
push eax
call fcn.10017a00
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x100177bf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.10015af0
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.10015af0
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.100475f0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.10016700
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 0x10017818
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 0x10017836
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 0x10017854
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.10004420
push esi
call fcn.1002e43b
mov esi, dword [ebp - 0x1c]
push 0xfde9
push esi
push edi
call fcn.10047e80
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10017894
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.1002e425
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10016b70
int3