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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x83c
mov eax, dword [0x103e1e90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
push esi
mov dword [ebp - 0x830], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x834], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x83c]
push eax
push ecx
push ecx
push ecx
lea eax, [ebp - 0x818]
mov dword [ebp - 0x824], ecx
push eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0x818], 0x200
push eax
push dword [ebp + 0x14]
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
cmp esi, 0x103
jne 0x10274720
mov eax, dword [ebp - 0x81c]
xor esi, esi
mov dword [eax], 1
jmp 0x10274923
test esi, esi
je 0x10274742
cmp esi, 0xea
je 0x10274742
test esi, esi
jle 0x10274923
movzx esi, si
or esi, 0x80070000
jmp 0x10274923
lea eax, [ebp - 0x820]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1027472e
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 4
push eax
lea eax, [ebp - 0x824]
xor edi, edi
push eax
lea eax, [ebp - 0x82c]
push eax
push edi
push str.NumAPOInterfaces
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x10274938
cmp dword [ebp - 0x824], 1
jbe 0x102747bc
mov eax, dword [ebp - 0x818]
dec eax
shl eax, 4
add eax, 0x444
push eax
jmp 0x102747c1
push 0x444
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x102747df
mov esi, 0x8007000e
jmp 0x10274903
mov eax, dword [ebp - 0x824]
mov dword [ebx + 0x430], eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
test esi, esi
js 0x10274903
push ebx
lea eax, [ebp - 0x814]
push eax
push dword [ebp - 0x820]
call fcn.10274b41
mov esi, eax
test esi, esi
js 0x10274903
mov eax, edi
mov dword [ebp - 0x828], eax
cmp dword [ebx + 0x430], edi
jbe 0x102748f4
lea edi, [ebx + 0x434]
mov dword [ebp - 0x81c], edi
push eax
push str.APOInterface_u
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.10274f65
mov esi, eax
add esp, 0x10
test esi, esi
js 0x1027490f
lea eax, [ebp - 0x818]
mov dword [ebp - 0x818], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x82c]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x10274938
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
test esi, esi
js 0x1027490f
mov eax, dword [ebp - 0x828]
lea esi, [ebp - 0x814]
movsd dword es:[edi], dword [esi]
inc eax
mov dword [ebp - 0x828], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x81c]
add edi, 0x10
mov dword [ebp - 0x81c], edi
cmp eax, dword [ebx + 0x430]
jb 0x10274846
push dword [ebp - 0x834]
push ebx
call dword [ebp - 0x830]
mov esi, eax
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10274923
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10295946
mov esp, ebp
pop ebp
ret 0x14
jle 0x10274903
movzx esi, si
or esi, 0x80070000
jmp 0x10274903