Function at 0x100d64eb
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
xor ebx, ebx
push edi
push dword [0x10409808]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
call fcn.101baf90
mov edi, eax
lea eax, [edi + 0x27]
push eax
call fcn.101b93cc
mov esi, eax
mov dword [ebp - 0x1c], esi
pop ecx
pop ecx
test esi, esi
je 0x100d6766
push 0x1b
push str.SoftwarePythonPythonCore_
push esi
call fcn.101b8700
push edi
push dword [0x10409808]
add esi, 0x1b
push esi
call fcn.101b8700
push 0xc
lea eax, [esi + edi]
push str.PythonPath
push eax
call fcn.101b8700
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
add esp, 0x24
push eax
push 0x20019
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100d6742
push ebx
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x100d6742
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
mov esi, dword [ebp - 8]
cmovne eax, ecx
shl esi, 2
push esi
mov dword [ebp - 4], eax
call fcn.101b93cc
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
je 0x100d673f
push esi
push ebx
push eax
call fcn.101b9cb0
mov esi, dword [ebp - 8]
add esp, 0xc
mov edi, ebx
test esi, esi
je 0x100d667c
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x10], 0x105
push eax
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100d6712
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100d6712
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], ebx
je 0x100d6667
push dword [ebp - 0x10]
call fcn.101b93cc
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + edi*4], ecx
test ecx, ecx
je 0x100d6667
lea eax, [ebp - 0x10]
push eax
push ecx
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0x10]
inc eax
add dword [ebp - 4], eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 8]
inc edi
cmp edi, esi
jb 0x100d65d9
mov eax, dword [ebp - 4]
test eax, eax
je 0x100d6715
inc eax
push eax
call fcn.101b93cc
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
je 0x100d6715
mov edi, eax
mov eax, ebx
mov dword [ebp - 0xc], eax
test esi, esi
je 0x100d66e6
mov ebx, dword [ebp - 0x18]
test eax, eax
je 0x100d66b2
mov byte [edi], 0x3b
inc edi
dec dword [ebp - 4]
mov esi, dword [ebp - 8]
mov ecx, dword [ebx + eax*4]
test ecx, ecx
je 0x100d66dc
push ecx
call fcn.101baf90
mov esi, eax
mov eax, dword [ebp - 0xc]
push esi
push dword [ebx + eax*4]
push edi
call fcn.101c6670
mov eax, dword [ebp - 0xc]
add edi, esi
add esp, 0x10
sub dword [ebp - 4], esi
mov esi, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, esi
jb 0x100d66a4
xor ebx, ebx
cmp dword [ebp + 0xc], 0
je 0x100d66f0
mov byte [edi], bl
jmp 0x100d670c
test esi, esi
je 0x100d66fb
mov byte [edi], 0x3b
inc edi
dec dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push edi
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 8]
test esi, esi
je 0x100d6736
mov eax, dword [ebp - 0x18]
cmp dword [eax + ebx*4], 0
je 0x100d6731
push dword [eax + ebx*4]
call fcn.101b9394
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
pop ecx
inc ebx
cmp ebx, esi
jb 0x100d671c
push dword [ebp - 0x18]
call fcn.101b9394
pop ecx
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], 0
je 0x100d6751
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x100d675c
push esi
call fcn.101b9394
pop ecx
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, eax
jmp 0x100d6742