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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x103b1004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x5c
push dword [0x103cc53c]
mov ebx, edx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x234], ebx
mov edi, ecx
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x230], 0
call dword [0x103cc540]
mov esi, eax
add esp, 8
mov dword [ebp - 0x22c], esi
test esi, esi
je 0x101b8c9b
movups xmm0, xmmword [str.SoftwarePythonPythonCore_]
push 7
push str.3.10_32
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x10273bf4]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [0x10273c04]
movups xmmword [esi + 0x20], xmm0
mov eax, dword [0x10273c14]
mov dword [esi + 0x30], eax
mov ax, word [0x10273c18]
mov word [esi + 0x34], ax
add esi, 0x36
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
movups xmm0, xmmword [str.PythonPath]
add esp, 0xc
lea eax, [ebp - 0x21c]
movups xmmword [esi + 0xe], xmm0
movq xmm0, qword [0x1027394c]
push eax
push 0x20019
push 0
movq qword [esi + 0x1e], xmm0
mov esi, dword [ebp - 0x22c]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101b8c9d
push eax
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x101b8c9d
mov eax, dword [ebp - 0x214]
xor ecx, ecx
test ebx, ebx
cmovne eax, ecx
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x218]
cmp eax, 0x1fffffff
ja 0x101b8c9d
push 4
push eax
push dword [0x103cc53c]
call dword [0x103cc544]
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x228], ebx
test ebx, ebx
je 0x101b8c9d
xor esi, esi
cmp dword [ebp - 0x218], esi
jbe 0x101b8b47
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x220], 0
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x224], 0x105
push eax
push esi
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x101b8c12
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101b8c12
lea eax, [ebp - 0x224]
push eax
push 0
push 0
push 0
push 0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x101b8b2e
cmp eax, 0x7fffffff
jbe 0x101b8af0
mov dword [ebx + esi*4], 0
jmp 0x101b8b2e
push eax
push dword [0x103cc53c]
call dword [0x103cc540]
add esp, 8
mov dword [ebx + esi*4], eax
test eax, eax
je 0x101b8b2e
lea ecx, [ebp - 0x224]
push ecx
push eax
push 0
push 0
push 0
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x224]
inc eax
add dword [ebp - 0x214], eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, dword [ebp - 0x218]
jb 0x101b8a57
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x101b8c12
lea eax, [eax*2 + 2]
cmp eax, 0x7fffffff
ja 0x101b8c12
push eax
push dword [0x103cc53c]
call dword [0x103cc540]
mov esi, eax
add esp, 8
mov dword [ebp - 0x220], esi
test esi, esi
je 0x101b8c12
xor ebx, ebx
mov edi, esi
lea ecx, [ebx + 0x3b]
cmp dword [ebp - 0x218], ebx
jbe 0x101b8bf8
test ebx, ebx
je 0x101b8ba6
mov word [edi], cx
add edi, 2
dec dword [ebp - 0x214]
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x101b8be4
mov esi, ecx
lea edx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x101b8bc0
sub esi, edx
sar esi, 1
push esi
push ecx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
add esp, 0xc
lea edi, [edi + esi*2]
sub dword [ebp - 0x214], esi
inc ebx
mov ecx, 0x3b
cmp ebx, dword [ebp - 0x218]
jb 0x101b8b96
mov esi, dword [ebp - 0x220]
cmp dword [ebp - 0x234], 0
je 0x101b8c53
xor eax, eax
mov word [edi], ax
mov dword [ebp - 0x230], esi
mov ebx, dword [ebp - 0x228]
xor esi, esi
cmp dword [ebp - 0x218], esi
jbe 0x101b8c3b
nop dword [eax]
push dword [ebx + esi*4]
push dword [0x103cc53c]
call dword [0x103cc54c]
inc esi
add esp, 8
cmp esi, dword [ebp - 0x218]
jb 0x101b8c20
push ebx
push dword [0x103cc53c]
call dword [0x103cc54c]
mov esi, dword [ebp - 0x22c]
add esp, 8
jmp 0x101b8c9d
cmp dword [ebp - 0x218], 0
je 0x101b8c68
mov word [edi], cx
add edi, 2
dec dword [ebp - 0x214]
lea eax, [ebp - 0x214]
push eax
push edi
push 0
push 0
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x101b8c06
push esi
push dword [0x103cc53c]
call dword [0x103cc54c]
add esp, 8
jmp 0x101b8c0c
mov esi, eax
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
je 0x101b8cae
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push dword [0x103cc53c]
call dword [0x103cc54c]
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [ebp - 0x230]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1024a596
mov esp, ebp
pop ebp
ret