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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov rax, qword [0x1803e3008]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r14d, r14d
mov rdi, rcx
mov r12d, edx
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x60], r14d
mov r13d, r14d
mov dword [rsp + 0x64], r14d
lea ecx, [r14 + 0x56]
call sym.python310.dll_PyMem_RawMalloc
mov qword [rbp - 0x80], rax
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x180104086
movups xmm0, xmmword [str.SoftwarePythonPythonCore_]
lea r8d, [r14 + 4]
lea rdx, str.3.10
movups xmmword [rax], xmm0
lea rcx, [rbx + 0x36]
movups xmm1, xmmword [0x18024f068]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x18024f078]
movups xmmword [rax + 0x20], xmm0
mov eax, dword [0x18024f088]
mov dword [rbx + 0x30], eax
movzx eax, word [0x18024f08c]
mov word [rbx + 0x34], ax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
movups xmm0, xmmword [str.PythonPath]
lea rax, [rsp + 0x70]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
movups xmmword [rbx + 0x3e], xmm0
mov rdx, rbx
mov rcx, rdi
movsd xmm1, qword [0x180296e28]
movsd qword [rbx + 0x4e], xmm1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1801bdfca
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x1801040d3
mov rcx, qword [0x1803fc5d0]
mov rdx, rsi
call qword [case.0x18005bf29.3]
mov rax, r13
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180181080
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x180104090
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], r14
xor r9d, r9d
mov qword [rsp + 0x50], r14
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x64]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x180104086
mov eax, dword [rsp + 0x60]
test r12d, r12d
mov ecx, dword [rsp + 0x64]
mov edx, 8
cmovne eax, r14d
mov dword [rsp + 0x60], eax
call sym.python310.dll_PyMem_RawCalloc
mov r15, rax
test rax, rax
je 0x180104086
mov ebx, r14d
cmp dword [rsp + 0x64], r14d
jbe 0x1801be13d
mov rcx, qword [rsp + 0x70]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x38], r14
lea r8, [rbp - 0x70]
mov qword [rsp + 0x30], r14
mov edx, ebx
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x78], r14
mov dword [rsp + 0x68], 0x105
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1801be1dd
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1801be1dd
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x1801be126
mov ecx, eax
call sym.python310.dll_PyMem_RawMalloc
mov rcx, rax
mov eax, ebx
mov qword [r15 + rax*8], rcx
test rcx, rcx
je 0x1801be126
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rcx
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x60]
inc ecx
add ecx, dword [rsp + 0x68]
mov dword [rsp + 0x60], ecx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
cmp ebx, dword [rsp + 0x64]
jb 0x1801be04e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1801be1dd
lea ecx, [rax + 1]
add rcx, rcx
call sym.python310.dll_PyMem_RawMalloc
xor r8d, r8d
mov r14, rax
test rax, rax
je 0x1801be1da
mov ecx, dword [rsp + 0x64]
mov rbx, rax
lea eax, [r8 + 0x3b]
mov edi, r8d
test ecx, ecx
je 0x1801be1ce
mov r13d, eax
test edi, edi
je 0x1801be188
mov word [rbx], r13w
add rbx, 2
dec dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
mov eax, edi
mov rdx, qword [r15 + rax*8]
test rdx, rdx
je 0x1801be1bc
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rdx + rsi*2], r8w
jne 0x1801be197
mov r8, rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
sub dword [rsp + 0x60], esi
lea rbx, [rbx + rsi*2]
mov ecx, dword [rsp + 0x64]
xor r8d, r8d
inc edi
cmp edi, ecx
jb 0x1801be174
mov rsi, qword [rbp - 0x80]
mov r13, r8
mov eax, 0x3b
test r12d, r12d
je 0x1801be218
mov word [rbx], r8w
mov r13, r14
xor r14d, r14d
mov ebx, r14d
cmp dword [rsp + 0x64], r14d
jbe 0x1801be202
mov rcx, qword [0x1803fc5d0]
mov edx, ebx
mov rdx, qword [r15 + rdx*8]
call qword [case.0x18005bf29.3]
inc ebx
cmp ebx, dword [rsp + 0x64]
jb 0x1801be1e7
mov rcx, qword [0x1803fc5d0]
mov rdx, r15
call qword [case.0x18005bf29.3]
nop
jmp 0x180104086
test ecx, ecx
je 0x1801be227
mov word [rbx], ax
add rbx, 2
dec dword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1801be1d7
mov rcx, qword [0x1803fc5d0]
mov rdx, r14
call qword [case.0x18005bf29.3]
jmp 0x1801be1da