Function at 0x100de4d
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10174a0
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x190
push ebx
and dword [ebp - 0x14], 0
push esi
push edi
lea eax, [ebp - 0x11c]
push 0x28
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ole32.dll_StringFromGUID2]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x19c]
push 0x1003c78
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
and byte [ebp - 0x7c], 0
push 0x50
pop edi
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x19c]
push eax
push 0x80000000
mov dword [ebp - 0x18], edi
call ebx
test eax, eax
je 0x100decd
lea eax, [ebp - 0x7c]
push 0x1003c6c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x19c]
push 0x1003c48
push eax
call esi
and byte [ebp - 0xcc], 0
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], edi
je 0x100df95
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x19c]
push eax
push 0x80000000
call ebx
test eax, eax
jne 0x100df95
lea eax, [ebp - 0xcc]
test eax, eax
je 0x100df4d
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.01016a50
mov eax, esp
lea ecx, [ebp - 0xcc]
push esi
push ecx
push eax
call sub.MFC42.DLL_AfxA2WHelper
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
test esi, esi
jge 0x100dfa1
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_1
and dword [ebp - 4], 0
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0xc]
push 0x1003c10
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp + 0xc]
push esi
push eax
call fcn.01015db9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
jmp 0x100e076
mov esi, 0x1001890
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x14]
mov edi, 0x10018a0
push eax
push edi
push 1
lea eax, [ebp - 0x2c]
push 0
push eax
call esi
mov ebx, eax
test ebx, ebx
jge 0x100e00f
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_1
cmp ebx, 0x80040154
mov dword [ebp - 4], 1
je 0x100dfe0
cmp ebx, 0x8007007e
jne 0x100e050
push 0
push dword [ebp + 8]
call sub.MFC42.DLL_CWnd::FromHandle
push eax
call fcn.0100830a
test eax, eax
je 0x100e06f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
push eax
push edi
push 1
lea eax, [ebp - 0x2c]
push 0
push eax
jmp 0x100dfb9
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x1c], 0
test eax, eax
je 0x100e026
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push dword [ebp + 0xc]
push eax
call dword [ecx]
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push dword [ebp + 8]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100e07b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100e07b
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x10]
push 0x1003be8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.01015db9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x1a8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc