Function at 0x46beb0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x486361
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7e8
push ebx
xor ebx, ebx
push esi
push ebx
push str.Symbols
lea eax, [esp + 0x10]
mov esi, ecx
push str.Settings
push eax
mov dword [esp + 0x28], esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
mov ecx, dword [esp + 8]
mov dword [esp + 0x7f8], ebx
cmp dword [ecx - 8], ebx
je 0x46bf63
push 0x2e
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
push 0x2e
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
push 0x3b
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
push 0x3b
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::TrimLeft_1
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::TrimRight_1
push 9
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
push 9
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
lea edx, [esp + 8]
lea ecx, [esi + 0xe8c]
push edx
call fcn.0047dfc4
jmp 0x46c0d1
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push str.SOFTWAREMicrosoftSymbolsDirectories
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46c0d1
push ebp
push edi
mov ecx, 0x1f3
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x28]
stosb byte es:[edi], al
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
push ebx
push str.Symbol_Dir
push ecx
mov dword [esp + 0x2c], 0x7d0
mov dword [esp + 0x34], 1
call ebp
test eax, eax
jne 0x46bfde
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
push edx
call fcn.0047dd2a
jmp 0x46c056
mov eax, dword [esp + 0x14]
cmp eax, 0x7d0
jb 0x46c056
add eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov esi, eax
mov eax, dword [esp + 0x18]
mov edi, esi
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x14]
add edx, 2
push eax
lea ecx, [esp + 0x20]
push esi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
push ecx
push ebx
push str.Symbol_Dir
push edx
mov dword [esp + 0x34], 1
call ebp
test eax, eax
jne 0x46c049
push esi
lea ecx, [esp + 0x14]
call fcn.0047dd2a
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push str.exe_
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator_1
add esi, 0xe8c
push eax
mov ecx, esi
mov byte [esp + 0x804], 1
call fcn.0047dfc4
lea ecx, [esp + 0x20]
mov byte [esp + 0x800], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
push str.dll
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push eax
mov ecx, esi
mov byte [esp + 0x804], 2
call fcn.0047e17a
lea ecx, [esp + 0x24]
mov byte [esp + 0x800], bl
call sub.MFC42.DLL_CString::CString
pop edi
pop ebp
lea ecx, [esp + 8]
mov dword [esp + 0x7f8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x7f0]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x7f4
ret