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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x114], eax
mov eax, 0x1e282f2c
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x128], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e100470
sub eax, ecx
mov dword [ebp - 0x124], eax
add eax, 0x27
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebx, eax
add esp, 4
mov dword [ebp - 0x12c], ebx
cmp ebx, esi
je 0x1e100775
push edi
mov edi, ebx
mov ecx, 6
mov esi, 0x1e14d094
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x124]
push esi
add ebx, 0x1b
push 0x1e282f2c
push ebx
call sub.MSVCR90.dll_memcpy
mov ecx, dword [str.PythonPath]
mov dword [ebx + esi], ecx
mov edx, dword [0x1e14d0b4]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push ecx
mov dword [ebx + esi + 4], edx
mov eax, dword [0x1e14d0b8]
mov edx, dword [ebp - 0x12c]
push 0x20019
push 0
mov dword [ebx + esi + 8], eax
mov eax, dword [ebp - 0x114]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1e100774
push eax
push eax
lea ecx, [ebp - 0x110]
push ecx
push eax
push eax
push eax
push eax
lea edx, [ebp - 0x118]
push edx
push eax
push eax
push eax
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1e100774
cmp dword [ebp + 0xc], eax
je 0x1e100543
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x118]
lea edx, [ecx*4]
push edx
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 0x124], edi
test edi, edi
je 0x1e100774
mov ebx, dword [ebp - 0x118]
lea eax, [ebx*4]
push eax
push 0
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
xor esi, esi
test ebx, ebx
jbe 0x1e100675
lea ecx, [ecx]
mov eax, dword [ebp - 0x11c]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x10c]
push edx
push esi
push eax
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x120], 0x105
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1e100740
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push eax
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x10c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1e100740
mov edx, dword [ebp - 0x114]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x120]
push ecx
push eax
push eax
push eax
push eax
push edx
call ebx
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x1e10065b
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [edi + esi*4], eax
test eax, eax
je 0x1e10065b
mov edx, dword [ebp - 0x114]
lea ecx, [ebp - 0x120]
push ecx
push eax
push 0
push 0
push 0
push edx
call ebx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x120]
lea edx, [eax + ecx + 1]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, dword [ebp - 0x118]
jb 0x1e100590
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x1e100740
inc eax
push eax
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x114], esi
test esi, esi
je 0x1e100740
mov eax, dword [ebp - 0x118]
xor ebx, ebx
mov edi, esi
test eax, eax
jbe 0x1e100700
lea esp, [esp]
test ebx, ebx
jbe 0x1e1006be
mov byte [edi], 0x3b
inc edi
dec dword [ebp - 0x110]
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx + ebx*4]
test ecx, ecx
je 0x1e1006f5
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1e1006d0
sub eax, esi
mov esi, eax
push esi
push ecx
push edi
call dword [sym.imp.MSVCR90.dll_strncpy]
add edi, esi
add esp, 0xc
sub dword [ebp - 0x110], esi
mov esi, dword [ebp - 0x114]
mov eax, dword [ebp - 0x118]
inc ebx
cmp ebx, eax
jb 0x1e1006b0
cmp dword [ebp + 0xc], 0
je 0x1e10070b
mov byte [edi], 0
jmp 0x1e100734
test eax, eax
je 0x1e100719
mov byte [edi], 0x3b
inc edi
dec dword [ebp - 0x110]
mov eax, dword [ebp - 0x11c]
lea edx, [ebp - 0x110]
push edx
push edi
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [ebp - 0x124]
mov dword [ebp - 0x128], esi
xor esi, esi
cmp dword [ebp - 0x118], esi
jbe 0x1e10076a
lea ebx, [ebx]
mov eax, dword [edi + esi*4]
test eax, eax
je 0x1e100761
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
inc esi
cmp esi, dword [ebp - 0x118]
jb 0x1e100750
push edi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop edi
mov eax, dword [ebp - 0x11c]
pop esi
pop ebx
test eax, eax
je 0x1e100788
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x1e10079c
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x128]
xor ecx, ebp
call fcn.1e148908
mov esp, ebp
pop ebp
ret