Function at 0x10010610
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x54
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test byte [0x1001a028], 8
jne 0x10010678
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100106c4
lea edi, [ebp - 0x2c]
mov dword [esp + 8], 0x26384993
mov dword [esp + 0xc], edi
mov dword [esp + 4], esi
mov dword [esp], section..bss
call sym._lookup_handle
test eax, eax
je 0x10010740
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x100109a8
cmp ebx, 0x29
ja case.0x1001066e.0
jmp dword [ebx*4 + 0x10029b00]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], str._hProv_08Ix__dwParam_08lx__pbData_p__pdwDataLen_p__dwFlags_08lx__n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], str.RSAENH_CPGetProvParam
mov dword [esp + 0x18], eax
mov dword [esp + 4], 0x1001a028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x10010633
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10010722
mov eax, dword [ebp + 0x14]
cmp dword [eax], 3
ja 0x10010970
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xea
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
xor eax, eax
jmp 0x100106d3
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10010722
mov eax, dword [ebp + 0x14]
cmp dword [eax], 3
jbe 0x100106f0
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x200
mov eax, dword [ebp + 0x14]
mov dword [eax], 4
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0x80090001
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x14
mov eax, dword [esi + 0xc]
mov edx, dword [ebp + 0x10]
and eax, 0x20
test edx, edx
je 0x10010722
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 3
ja 0x10010a68
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xea
xor eax, eax
mov dword [ecx], 4
jmp 0x100106d3
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100109df
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0x5f
ja 0x100109b0
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xea
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x60
xor eax, eax
jmp 0x100106d3
lea ecx, [ebp - 0x30]
mov edx, dword [esi + 0xc]
lea eax, [esi + 0x1c]
mov dword [esp], ecx
mov ecx, 0x20019
and edx, 0x20
call sym._open_container_key
test eax, eax
jne 0x100109f8
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0x80090016
jmp 0x100106d3
add esi, 0x1c
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov edi, dword [ebp + 0x10]
lea ebx, [eax + 1]
test edi, edi
je 0x10010993
mov eax, dword [ebp + 0x14]
cmp ebx, dword [eax]
jbe 0x10010980
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xea
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
xor eax, eax
jmp 0x100106d3
add esi, 0x120
jmp 0x100107f6
mov eax, dword [esi + 0x14]
cmp eax, 0x16
ja 0x10010859
imul ecx, dword [esi + 0x10], 0x898
lea edx, [eax + 1]
imul edx, edx, 0x58
mov edi, dword [edx + ecx + 0x1002a6c0]
test edi, edi
jne 0x10010863
test byte [ebp + 0x18], 1
je 0x10010b78
cmp ebx, 1
je 0x10010b90
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10010b4d
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0x57
ja 0x10010af6
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xea
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x58
xor eax, eax
jmp 0x100106d3
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x8009000a
xor eax, eax
jmp 0x100106d3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10010722
mov eax, dword [ebp + 0x14]
cmp dword [eax], 3
jbe 0x100106f0
mov eax, dword [ebp + 0x10]
mov dword [eax], 3
jmp 0x10010722
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10010722
mov eax, dword [ebp + 0x14]
cmp dword [eax], 3
jbe 0x100106f0
mov eax, dword [ebp + 0x10]
mov dword [eax], 8
jmp 0x10010722
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10010722
mov eax, dword [ebp + 0x14]
cmp dword [eax], 3
jbe 0x100106f0
mov eax, dword [ebp + 0x10]
mov dword [eax], 2
jmp 0x10010722
test byte [ebp + 0x18], 1
je 0x10010930
mov dword [esi + 0x18], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10010b60
lea eax, [ebp - 0x30]
mov edx, dword [ebp + 0x18]
mov ecx, 0x20019
mov dword [esp], eax
mov eax, 0x10029a9f
call sym._open_container_key
test eax, eax
jne 0x10010a78
mov edx, dword fs:[0x18]
mov dword [edx + 0x34], 0x103
jmp 0x100106d3
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
jmp 0x10010722
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov eax, 1
jmp 0x100106d3
xor eax, eax
jmp 0x100106d3
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x10029aa0]
mov esi, 0x10029aa0
mov dword [ecx], eax
mov eax, dword [0x10029afc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x5c], eax
mov eax, dword [ebp + 0x10]
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + 0x60]
sub esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x60
mov eax, 1
jmp 0x100106d3
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetSecurityInfo]
mov ebx, eax
mov eax, dword [ebp - 0x30]
sub esp, 0x20
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
je 0x10010c38
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], ebx
xor eax, eax
jmp 0x100106d3
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x10010722
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
sub esp, 0x20
test eax, eax
je 0x10010ad9
cmp eax, 0xea
jne 0x10010c7b
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x105
mov eax, dword [ebp - 0x30]
add dword [esi + 0x18], 1
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, 1
sub esp, 4
jmp 0x100106d3
test byte [ebp + 0x18], 1
jne 0x10010cbb
add eax, 1
imul edx, eax, 0x58
mov dword [esi + 0x14], eax
imul eax, dword [esi + 0x10], 0x898
mov ecx, dword [ebp + 0x14]
add eax, edx
cmp dword [ecx], 0x57
lea esi, [eax + 0x1002a6c0]
jbe 0x10010883
mov eax, dword [eax + 0x1002a6c0]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [esi + 0x54]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x54], eax
mov eax, dword [ebp + 0x10]
lea edi, [eax + 4]
and edi, 0xfffffffc
sub eax, edi
lea ecx, [eax + 0x58]
sub esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x58
mov eax, 1
jmp 0x100106d3
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x105
mov eax, 1
jmp 0x100106d3
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x103
xor eax, eax
jmp 0x100106d3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10010c25
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0x1f
jbe 0x10010c9e
test byte [ebp + 0x18], 1
jne 0x10010cdc
add eax, 1
imul ecx, eax, 0x58
mov dword [esi + 0x14], eax
imul edx, eax, 0x58
imul eax, dword [esi + 0x10], 0x898
add edx, eax
lea eax, [ecx + eax + 0x1002a6d8]
mov ecx, dword [eax]
lea ebx, [edx + 0x1002a6c0]
mov edx, dword [edx + 0x1002a6c0]
mov esi, dword [ebx + 4]
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0x1f
jbe 0x10010c9e
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov edx, dword [ebp - 0x34]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x20
mov eax, 1
jmp 0x100106d3
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_GetSecurityDescriptorLength]
mov ebx, eax
mov eax, dword [ebp + 0x14]
sub esp, 4
cmp dword [eax], ebx
jae 0x10010cc4
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x7a
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, 1
sub esp, 4
jmp 0x100106d3
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x103
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
sub esp, 4
jmp 0x100106d3
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0xea
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x20
xor eax, eax
jmp 0x100106d3
xor edx, edx
xor eax, eax
jmp 0x10010b06
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
jmp 0x10010c60
xor ecx, ecx
xor eax, eax
jmp 0x10010bb7