Function at 0x1061650
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x109af50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x10aa77c]
mov dword [esp + 0x14], eax
xor edi, edi
push 0x1005eec
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], edi
call fcn.0108e799
push 0x1002bd8
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x40], 1
call fcn.0108e9c0
mov edx, dword [esi + 0x7c]
mov byte [esp + 0x34], 2
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0108e9c0
push 0x1002bd8
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x40], 3
call fcn.0108e9c0
mov edx, dword [esi + 0x90]
mov byte [esp + 0x34], 4
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0108e9c0
mov eax, dword [eax]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push edi
push eax
push SysReAllocStringLen
call ebp
test eax, eax
lea ecx, [esp + 0x1c]
sete bl
call fcn.0108e72b
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 3
call fcn.0108e72b
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.0108e72b
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 1
call fcn.0108e72b
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0
call fcn.0108e72b
test bl, bl
je 0x106178e
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 0x100475c
lea eax, [esp + 0x30]
push 0x10ac218
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.01095e33
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 5
call fcn.0108e864
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 0
call fcn.0108e72b
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0108e4a0
lea ebx, [esi + 0xc0]
mov ecx, ebx
call fcn.01061ed0
mov ecx, eax
call fcn.010618c0
mov edi, eax
test edi, edi
jne 0x1061897
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
push str.Software_aheadShared
push SysReAllocStringLen
call ebp
test eax, eax
jne 0x106186a
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x28]
push ecx
push eax
push edx
push eax
mov eax, dword [esp + 0x20]
push 0x100475c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x106185b
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0108e46c
mov ecx, dword [esp + 0x14]
add esp, 4
lea edx, [esp + 0x1c]
mov ebp, eax
push edx
lea eax, [esp + 0x2c]
push ebp
push eax
push edi
push 0x100475c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1061852
mov edx, dword [esp + 0x3c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push ebp
call fcn.0108e799
mov ecx, ebx
call fcn.01061ed0
mov ecx, eax
call fcn.010618c0
mov edi, eax
push ebp
call fcn.0108e495
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x1061897
lea ecx, [esp + 0x3c]
push ecx
call fcn.010806c7
add esp, 4
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
call fcn.01061cc0
mov edi, eax
test edi, edi
jne 0x1061897
push 0x10bcbac
mov ecx, esi
call fcn.01061cc0
mov edi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call fcn.0108e72b
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4