Function at 0x100647f0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x100a0af8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d8dd0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
xor ebx, ebx
push ebx
push 8
lea eax, [esp + 0x28]
push eax
call fcn.10063e90
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x54]
mov byte [esp + 0x17], bl
mov dword [esp + 0x1c], ebx
lea ebx, [ebx]
push 0x100e16bc
lea ecx, [esp + 0x58]
call fcn.10001490
mov byte [esp + 0x4c], 2
mov esi, dword [esp + 0x54]
mov edx, 0x104
mov dword [esp + 0x18], edx
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
mov edi, edx
jge 0x10064881
push edx
lea ecx, [esp + 0x58]
call fcn.100018b0
mov esi, dword [esp + 0x54]
push edi
lea ecx, [esp + 0x58]
call fcn.10001930
mov eax, dword [esp + 0x20]
push ebx
cmp eax, ebx
je 0x10064a0e
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 4]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x10064a22
cmp eax, ebx
je 0x100648d1
cmp eax, 0xea
jne 0x10064a9c
mov edx, dword [esp + 0x18]
inc edx
jmp 0x1006485c
mov eax, dword [esi - 8]
push eax
push esi
call fcn.1007ef22
add esp, 8
push eax
lea ecx, [esp + 0x58]
call fcn.10001930
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x30]
call fcn.100162e0
mov byte [esp + 0x4c], 4
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.10016f30
mov byte [esp + 0x4c], 5
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x10]
mov ecx, ebp
call eax
mov byte [esp + 0x4c], 6
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x4c], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10064950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 4
mov edi, dword [esp + 0x38]
cmp edi, ebx
je 0x1006497f
lea ecx, [edi + 8]
push ecx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jl 0x10064a64
jne 0x1006497f
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov byte [esp + 0x4c], 9
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x4c], 9
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100649b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x4c], 2
mov edi, dword [esp + 0x2c]
cmp edi, ebx
je 0x100649e0
lea ecx, [edi + 8]
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jl 0x10064a64
jne 0x100649e0
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov byte [esp + 0x17], 1
mov byte [esp + 0x4c], bl
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10064a05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc dword [esp + 0x1c]
jmp 0x10064840
push 0x181
push str.c:dvsp4_build_sw_relgpu_drv_r265_r265_36installer2.0incRefCounted.h
push 0x80004003
call fcn.10001ed0
mov byte [esp + 0x4c], bl
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10064a42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0xffffffff
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x10064a82
lea ecx, [esi + 8]
push ecx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jge 0x10064a76
push ebx
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drv_r265_r265_36installer2.0incRefCounted.h
push 0xe0e00000
call fcn.10001ed0
jne 0x10064a82
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
cmp eax, ebx
jle 0x10064aaa
and eax, 0xffff
or eax, 0x80070000
push ebx
push 0x6a9
push str..Registry.cpp
push eax
call fcn.10001ed0
int3