Function at 0x41ace0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454558
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x46f024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.0041e6c0
mov dword [ebp - 4], 0
xor al, al
mov byte [ebp - 0xd], al
xor ebx, ebx
call fcn.0040d090
mov ecx, eax
test ecx, ecx
je 0x41aed1
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 2
mov edi, 0x20
mov dword [ebp - 0x14], 0x20
nop dword [eax]
test edi, edi
js 0x41af59
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x41ad75
push edi
lea ecx, [ebp - 0x1c]
call fcn.0040d660
mov esi, dword [ebp - 0x1c]
push 0
cmp edi, dword [esi - 8]
jg 0x41af45
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41af01
push 0
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push esi
push ebx
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push dword [esi - 8]
mov edi, eax
push esi
call fcn.00441a72
add esp, 8
test eax, eax
js 0x41af43
cmp eax, dword [esi - 8]
jg 0x41af43
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp edi, 0xea
jne 0x41ae12
mov eax, dword [ebp - 0x18]
push ecx
test eax, eax
je 0x41af01
push ecx
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x41ae58
mov edi, dword [ebp - 0x14]
inc edi
mov dword [ebp - 0x14], edi
jmp 0x41ad50
cmp edi, 0x103
je 0x41ae6e
test edi, edi
jne 0x41ae63
mov ecx, dword [ebp + 8]
push esi
mov eax, dword [ecx]
call dword [eax + 0x10]
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ae47
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
call fcn.0040d090
mov ecx, eax
test ecx, ecx
je 0x41aed1
jmp 0x41ad32
jg 0x41aee7
jmp 0x41aeef
jg 0x41af15
jmp 0x41af1e
mov byte [ebp - 4], 0
or edx, 0xffffffff
add esi, 0xfffffff0
mov eax, edx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ae8f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x41aeba
mov dword [ebp - 0x18], 0
lock xadd dword [ecx + 8], edx
dec edx
js 0x41af30
test edx, edx
jne 0x41aeba
mov edx, dword [ecx]
push 1
call dword [edx]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0xcd
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80004005
call fcn.0040de90
movzx eax, ax
or eax, 0x80070000
push 0
push 0x97d
push str.Registry.cpp
push eax
call fcn.0040de90
push 0x181
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0x80004003
call fcn.0040de90
movzx edi, di
or edi, 0x80070000
push 0
push 0x991
push str.Registry.cpp
push edi
call fcn.0040de90
push 0
push 0x6e
push str.c:dvsp4_build_sw_relgpu_drvinstaller_coreinstaller_core_vs2017incRefCounted.h
push 0xe0e00000
call fcn.0040de90
push 0
push 0x368
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
push 0
push 0x325
push str.C:dvsp4_build_sw_toolswin32msvc141u5VC_atlmfcinclude_atlsimpstr.h
push 0x80070057
call fcn.0040de90
int3