Function at 0x415d50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46d9cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x48aaf0]
xor eax, esp
lea ecx, [esp + 8]
mov dword [esp + 0x11c], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push 0x105
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x130], 0
call dword [0x47218c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call dword [0x472248]
push str.quartz.dll
lea ecx, [esp + 0xc]
call dword [0x47238c]
push 0
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.MSVCR71.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x415f9a
push esi
xor esi, esi
mov dword [esp + 0x14], esi
push str.CLSIDE436EBB3_524F_11CE_9F53_0020AF0BA770InprocServer32
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x12c], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [esp + 8]
push edx
push 0x20019
push esi
push eax
push 0x80000000
mov dword [esp + 0x1c], esi
call dword [section..rdata]
test eax, eax
jne 0x415f37
mov esi, dword [esp + 8]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push esi
mov dword [esp + 0x2c], esi
call dword [0x472004]
test eax, eax
jne 0x415f37
mov eax, dword [esp + 4]
cmp eax, 1
je 0x415e6b
cmp eax, 2
jne 0x415f37
push edi
mov edi, dword [esp + 0xc]
lea ecx, [esp + 8]
mov dword [esp + 0xc], edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea edx, [esp + 0xc]
push edx
push edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 3
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
push 0
lea ecx, [esp + 0x24]
call fcn.00414af0
test eax, eax
pop edi
jne 0x415f4e
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
push 0
push 0x475de0
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
test eax, eax
lea ecx, [esp + 4]
jl 0x415f29
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call fcn.00415810
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.0046b58e
add esp, 0x12c
ret
mov byte [esp + 0x12c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 1
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call fcn.00461aa0
add esp, 8
jmp 0x415f7c
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push 1
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call fcn.00461aa0
add esp, 8
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test esi, esi
je 0x415ef6
push esi
call dword [0x472018]
jmp 0x415ef6
push 0
push 1
push 0x475d80
call sub.MFC71.DLL_AfxMessageBox
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x415f06