Function at 0x43a510
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xf0], ebx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 0
movq qword [ebp - 0x9c], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x9c]
mov eax, dword [ebx]
push 1
push edi
push dword [eax]
call fcn.0041d0c0
cmp dword [ebp - 0x9c], 0
je 0x43a7f8
push str.LibraryPath
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0042e130
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0xb4], 0
je 0x43a7dc
push str.DisplayString
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0xdc]
call fcn.00436d80
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 2
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xa8], xmm0
call fcn.0040d800
add esp, 8
mov byte [ebp - 4], 3
xor edx, edx
mov eax, dword [ebx + 4]
mov ecx, 2
mov esi, dword [ebp - 0xa8]
cmp byte [eax], dl
cmovne ecx, edx
or ecx, 0x40000
mov dword [esi + 0xd0], ecx
cmp dword [ebp - 0xcc], edx
jne 0x43a64c
push edi
lea ecx, [ebp - 0x120]
call fcn.004082e0
mov ebx, 1
jmp 0x43a663
lea eax, [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x108]
call fcn.0041b5a0
mov ebx, 2
push eax
mov ecx, esi
call fcn.0040bfb0
test bl, 2
je 0x43a67e
lea ecx, [ebp - 0x108]
and ebx, 0xfffffffd
call fcn.00409020
mov dword [ebp - 4], 3
test bl, 1
je 0x43a695
lea ecx, [ebp - 0x120]
call fcn.00409020
lea ecx, [esi + 0x60]
lea eax, [ebp - 0xc4]
cmp ecx, eax
je 0x43a6bc
cmp dword [ebp - 0xb0], 8
push dword [ebp - 0xb4]
cmovae eax, dword [ebp - 0xc4]
push eax
call fcn.00408af0
lea eax, [ebp - 0xc4]
push eax
call fcn.00436910
lea ecx, [esi + 0x48]
add esp, 4
cmp ecx, eax
je 0x43a6e4
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x43a6dd
mov eax, dword [eax]
push edx
push eax
call fcn.00408af0
mov ebx, dword [ebp - 0x9c]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0xec]
mov dword [ebp - 0xac], 0x10
push eax
lea eax, [ebp - 0xa0]
push eax
push 0
push str.ProviderId
push ebx
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, [esi + 0xb4]
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a740
sub ecx, edi
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.00408af0
mov eax, dword [ebp - 0xa4]
sub esp, 8
mov edi, esp
xor dl, dl
mov dword [edi], 0
mov dword [edi + 4], 0
test eax, eax
je 0x43a780
lock inc dword [eax + 4]
xor ecx, ecx
mov dword [edi], esi
mov dword [edi + 4], eax
call fcn.0042e240
mov ecx, dword [ebp - 0xf0]
lea eax, [ebp - 0xa8]
add esp, 8
mov ecx, dword [ecx + 8]
push eax
call fcn.0040bbe0
mov esi, dword [ebp - 0xa4]
test esi, esi
je 0x43a7cf
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43a7cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x43a7cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0xdc]
call fcn.00409020
jmp 0x43a7e2
mov ebx, dword [ebp - 0x9c]
lea ecx, [ebp - 0xc4]
call fcn.00409020
test ebx, ebx
je 0x43a7f8
push ebx
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 8