Function at 0x10015b0a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10022f03
call fcn.100174bc
sub esp, 0x4c
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x14], ebx
push 1
pop edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 4
call fcn.100166b3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push ecx
push 0x20019
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x10015b61
lea ecx, [ebp - 0x10]
call fcn.100134f3
mov esi, dword [ebp - 0x18]
cmp eax, ebx
mov dword [ebp - 0x10], esi
je 0x10015b87
mov esi, dword [ebp + 8]
mov dword [0x1002c04c], eax
lea eax, [ebp + 0x60]
push ebx
push eax
mov ecx, esi
mov dword [esi], 0x100244e8
mov dword [esi + 0x20], 0x100244e0
call fcn.10003224
mov dword [ebp - 0x14], edi
jmp 0x10015bc9
lea eax, [ebp - 0x1c]
lea ecx, [ebp + 0x38]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
push ebx
call fcn.100166b3
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x10015bff
mov esi, dword [ebp + 8]
mov dword [0x1002c04c], eax
lea eax, [ebp + 0x60]
push ebx
push eax
mov ecx, esi
mov dword [esi], 0x100244e8
mov dword [esi + 0x20], 0x100244e0
call fcn.10003224
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.100134f3
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.1000316f
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.1000316f
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], bl
call fcn.1000316f
mov eax, esi
jmp 0x10015d11
lea eax, [ebp + 0xf]
mov edi, 0x100244e8
mov esi, 0x100244e0
push ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x38], esi
call fcn.10003003
push dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
call fcn.10013002
mov dword [ebp - 0x18], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call fcn.100166b3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov dword [ecx + 8], eax
lea ecx, [ebp + 0x38]
call fcn.100166b3
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
push ecx
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
push ecx
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
call fcn.1001302f
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10015cb5
mov ecx, dword [ebp + 8]
mov dword [0x1002c04c], eax
lea eax, [ebp + 0x60]
push ebx
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.10003224
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 4
call fcn.1000316f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.100134f3
jmp 0x10015ceb
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.10003224
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 4
call fcn.1000316f
cmp dword [ebp - 0x10], ebx
je 0x10015ceb
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.1000316f
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 1
call fcn.1000316f
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], bl
call fcn.1000316f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret