Function at 0x1000256e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100094bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x354
push edi
mov byte [ebp - 0x338], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x337]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x234], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x233]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x120], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x33c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
cmp dword [0x100fc528], 0
je 0x1000261a
push str.pe_softwareMicrosoftWindowsCurrentVersionExplorerMountPoints2CPCVolume
lea eax, [ebp - 0x338]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
jmp 0x1000262e
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMountPoints2CPCVolume
lea ecx, [ebp - 0x338]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x1c], 0x20019
call fcn.100014bb
test eax, eax
je 0x10002647
mov edx, dword [ebp - 0x1c]
or dh, 1
mov dword [ebp - 0x1c], edx
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
lea edx, [ebp - 0x338]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x10002958
mov eax, 1
test eax, eax
je 0x10002927
mov dword [ebp - 0x124], 0x104
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x360]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x128]
add eax, 1
mov dword [ebp - 0x128], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x100026e9
jmp 0x10002927
lea ecx, [ebp - 0x338]
push ecx
lea edx, [ebp - 0x234]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x100f91c8
lea eax, [ebp - 0x234]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 0x234]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
lea edx, [ebp - 0x234]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x10002759
jmp 0x10002679
mov dword [ebp - 0x124], 0
lea eax, [ebp - 0x124]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x100f91cc
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x124]
add eax, 1
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100027a8
jmp 0x10002679
lea ecx, [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push str.Data
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x10002904
mov edx, dword [ebp - 0x124]
lea eax, [edx + edx + 1]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x340], eax
cmp dword [ebp - 0x340], 0
je 0x10002904
mov ecx, dword [ebp - 0x340]
mov byte [ecx], 0
mov dword [ebp - 0x344], 0
jmp 0x10002826
mov edx, dword [ebp - 0x344]
add edx, 1
mov dword [ebp - 0x344], edx
mov eax, dword [ebp - 0x344]
cmp eax, dword [ebp - 0x124]
jae 0x1000286a
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x344]
xor edx, edx
mov dl, byte [ecx]
push edx
push str._02X
mov eax, dword [ebp - 0x340]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x340]
add ecx, eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
jmp 0x10002817
mov edx, dword [ebp - 0x340]
push edx
lea ecx, [ebp - 0x33c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x33c]
call sub.MFC42.DLL_CString::MakeLower
push str.530054004f005200410047004500
lea ecx, [ebp - 0x33c]
call sub.MFC42.DLL_CString::Find
test eax, eax
jl 0x100028ea
lea ecx, [ebp - 0x354]
call fcn.10007a10
mov byte [ebp - 4], 1
push 0x100fc580
lea ecx, [ebp - 0x354]
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x350]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x354]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10007f50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x354]
call fcn.10007a60
mov edx, dword [ebp - 0x340]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp - 0x340], 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10002679
mov edx, dword [ebp - 0x12c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x358], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x33c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x358]
jmp 0x1000297a
mov dword [ebp - 0x35c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x33c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x35c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret