Function at 0x423700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a56c3
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xf0], edi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
movq qword [ebp - 0xa0], xmm0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa0]
mov eax, dword [edi]
push 1
push esi
push dword [eax]
call fcn.0040f7a0
cmp dword [ebp - 0xa0], 0
je 0x423a1e
push str.LibraryPath
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0041bd90
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0xb4], 0
je 0x423a02
push str.DisplayString
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0xdc]
call fcn.00421810
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xa8], xmm0
call fcn.00405980
add esp, 8
mov byte [ebp - 4], 3
xor edx, edx
mov eax, dword [edi + 4]
mov ecx, 2
mov edi, dword [ebp - 0xa8]
cmp byte [eax], dl
cmovne ecx, edx
or ecx, 0x40000
mov dword [edi + 0xd0], ecx
cmp dword [ebp - 0xcc], edx
jne 0x42383d
push esi
lea ecx, [ebp - 0x120]
call fcn.004026f0
mov esi, eax
mov eax, 1
jmp 0x423856
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x108]
call fcn.0040f130
mov esi, eax
mov eax, 2
mov dword [ebp - 0x94], eax
cmp edi, esi
je 0x42388a
mov ecx, edi
call fcn.00402b30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x94]
test al, 2
je 0x4238ae
and eax, 0xfffffffd
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x94], eax
call fcn.00402b30
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], 3
test al, 1
je 0x4238c4
lea ecx, [ebp - 0x120]
call fcn.00402b30
lea ecx, [edi + 0x60]
lea eax, [ebp - 0xc4]
cmp ecx, eax
je 0x4238eb
cmp dword [ebp - 0xb0], 8
push dword [ebp - 0xb4]
cmovae eax, dword [ebp - 0xc4]
push eax
call fcn.00402740
lea eax, [ebp - 0xc4]
push eax
call fcn.00421440
lea ecx, [edi + 0x48]
add esp, 4
cmp ecx, eax
je 0x423913
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x42390c
mov eax, dword [eax]
push edx
push eax
call fcn.00402740
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 0x10
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x94]
push eax
push 0
push str.ProviderId
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x40
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423964
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xb4]
call fcn.00402740
mov eax, dword [ebp - 0xa4]
sub esp, 8
mov esi, esp
xor dl, dl
mov dword [esi], 0
mov dword [esi + 4], 0
test eax, eax
je 0x4239a8
lock inc dword [eax + 4]
xor ecx, ecx
mov dword [esi], edi
mov dword [esi + 4], eax
call fcn.0041bea0
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0xa8]
add esp, 8
mov ecx, dword [ecx + 8]
push eax
call fcn.00404d60
mov esi, dword [ebp - 0xa4]
test esi, esi
je 0x4239f7
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4239f7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4239f7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xdc]
call fcn.00402b30
lea ecx, [ebp - 0xc4]
call fcn.00402b30
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x423a1e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 8