Function at 0x10015000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096e20
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100c78d4]
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.100152d0
mov ecx, eax
test ecx, ecx
je 0x10015212
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x1009fa80
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.10014250
test al, al
jne 0x10015072
push 1
push 0x1009fa80
lea ecx, [ebp - 0x1c]
call fcn.1001b060
push 0x14000
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 1
call fcn.10034bb4
mov esi, eax
mov dword [ebp - 0x14], 0xa000
add esp, 4
test esi, esi
jne 0x100150de
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x1009e5fc
mov byte [edi], al
call fcn.10007ce0
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 0x100151f4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x100151f4
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x1009fa84
push 0x1009fa94
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or ebx, 0xffffffff
test eax, eax
jne 0x100151c0
lea eax, [ebp - 0x40]
push eax
call fcn.10015420
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x1001511f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x24]
call fcn.10013230
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.10013230
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.10030780
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.10013da0
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 0x10015178
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 0x10015196
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 0x100151b4
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.10005230
push esi
call fcn.10034318
mov esi, dword [ebp - 0x1c]
push 0xfde9
push esi
push edi
call fcn.100301d0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100151f4
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.10034680
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10014210
int3