Function at 0x401b10
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41043b
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4152ac]
xor eax, esp
mov dword [esp + 0x434], eax
push ebx
push esi
push edi
mov eax, dword [0x4152ac]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
push str.Enter_IsControlsInstalled__
mov ecx, 0x417bd4
call fcn.00402ac0
xor eax, eax
add esp, 4
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
xor ebx, ebx
push str.TrayControl.FSTray
mov dword [esp + 0x34], ebx
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
cmp eax, ebx
jne 0x401c9d
mov edx, dword [0x4161f4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4161f4
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x30]
mov dword [esp + 0x454], ebx
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_StringFromCLSID]
cmp eax, ebx
jne 0x401c76
push 0x1fe
lea ecx, [esp + 0x42]
push ebx
push ecx
mov word [esp + 0x48], bx
call fcn.00404780
mov edx, dword [esp + 0x24]
push edx
push str.CLSID_sInprocServer32
mov eax, 0x200
lea edi, [esp + 0x50]
mov dword [esp + 0x28], ebx
call fcn.00401440
mov eax, dword [esp + 0x2c]
add esp, 0x14
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
mov edx, edi
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401c76
push 0x206
lea ecx, [esp + 0x242]
push ebx
push ecx
mov word [esp + 0x248], bx
call fcn.00404780
add esp, 0xc
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push edx
mov dword [esp + 0x3c], 0x208
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x401ca4
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x450], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401c9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x401d47
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00401de0
push eax
lea edx, [esp + 0x240]
push edx
call fcn.00403f35
add esp, 8
test eax, eax
je 0x401d0f
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x20]
push eax
push 0x411240
push 1
push ebx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x401d1c
call dword [sym.imp.ole32.dll_CoUninitialize]
push esi
push str.Exit_IsControlsInstalled___hr__x
mov ecx, 0x417bd4
call fcn.00402ac0
add esp, 8
lea eax, [esp + 0x1c]
call fcn.004026e0
xor al, al
jmp 0x401d47
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.Exit_IsControlsInstalled__
mov ecx, 0x417bd4
call fcn.00402ac0
add esp, 4
lea eax, [esp + 0x1c]
call fcn.004026e0
mov al, 1
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.00403552
add esp, 0x444
ret