Function at 0x1e0b170d
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 esi, esi
mov eax, 0x1e212cac
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e0b172e
sub eax, ecx
mov dword [ebp - 0x18], eax
add eax, 0x27
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
pop ecx
mov dword [ebp - 0x1c], ebx
cmp ebx, esi
je 0x1e0b1965
push edi
push 6
pop ecx
mov edi, ebx
mov esi, str.SoftwarePythonPythonCore_
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x18]
push esi
add ebx, 0x1b
push 0x1e212cac
push ebx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
lea edi, [ebx + esi]
lea eax, [ebp - 0x10]
push eax
mov esi, str.PythonPath
movsd dword es:[edi], dword [esi]
push 0x20019
push 0
push dword [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1e0b1964
push eax
push eax
lea ecx, [ebp - 8]
push ecx
push eax
push eax
push eax
push eax
lea ecx, [ebp - 0xc]
push ecx
push eax
push eax
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1e0b1964
cmp dword [ebp + 0xc], eax
je 0x1e0b17cb
and dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.MSVCR90.dll_malloc]
shl eax, 2
push eax
call esi
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1e0b1964
mov ecx, dword [ebp - 0xc]
shl ecx, 2
push ecx
xor ebx, ebx
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
xor edi, edi
cmp dword [ebp - 0xc], ebx
jbe 0x1e0b18a8
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x128]
push eax
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x105
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1e0b193b
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1e0b193b
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 4], ebx
je 0x1e0b1895
push dword [ebp - 4]
call esi
pop ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + edi*4], eax
cmp eax, ebx
je 0x1e0b1895
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx + 1]
mov dword [ebp - 8], eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x1e0b1804
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x1e0b193b
inc eax
push eax
call esi
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
cmp esi, ebx
je 0x1e0b193b
mov dword [ebp - 4], ebx
cmp dword [ebp - 0xc], ebx
jbe 0x1e0b190e
cmp dword [ebp - 4], ebx
jbe 0x1e0b18d5
mov byte [esi], 0x3b
inc esi
dec dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov ecx, dword [eax + ecx*4]
cmp ecx, ebx
je 0x1e0b1903
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e0b18e7
sub eax, edi
mov edi, eax
push edi
push ecx
push esi
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
add esi, edi
sub dword [ebp - 8], edi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x1e0b18c9
cmp dword [ebp + 0xc], ebx
je 0x1e0b1918
mov byte [esi], 0
jmp 0x1e0b1935
cmp dword [ebp - 0xc], ebx
je 0x1e0b1924
mov byte [esi], 0x3b
inc esi
dec dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push esi
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
xor esi, esi
cmp dword [ebp - 0xc], ebx
jbe 0x1e0b195a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + esi*4]
cmp eax, ebx
je 0x1e0b1954
push eax
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x1e0b1942
push dword [ebp - 0x18]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
pop edi
cmp dword [ebp - 0x10], 0
pop esi
pop ebx
je 0x1e0b1976
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], 0
je 0x1e0b1986
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR90.dll_free]
pop ecx
mov eax, dword [ebp - 0x20]
leave
ret