Function at 0x101ff20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
mov eax, 0x1030e79
call fcn.01025fed
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
push 0x10016d0
mov dword [ebp - 0x14], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push 1
push 0xc000c356
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp + 0x1c]
push dword [ebp + 0xc]
mov edi, dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
push eax
mov ecx, esi
call dword [edi + 0x10]
test al, al
je 0x10200d8
mov edi, dword [esi]
push 1
push 0xc000c357
lea eax, [ebp - 0x10]
push eax
push 0x20019
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
mov ecx, esi
call dword [edi + 0x10]
test al, al
je 0x10200d8
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push 0xc000c42d
push eax
call fcn.0100ba1d
mov byte [ebp - 4], 4
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [eax]
lea eax, [ebp + 0x1c]
push 0x100428c
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2311]
add esp, 0x1c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x10]
call edi
cmp eax, 0xea
mov dword [ebp - 0x24], eax
jne 0x1020094
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x10200cb
push 1
push ecx
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [ebp - 4], 5
mov ecx, dword [esi]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x18]
push ebx
push ebx
push dword [ebp + 0x18]
push eax
call edi
push eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
mov ecx, esi
call dword [eax + 0x14]
cmp al, bl
je 0x1020081
push dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10200cb
cmp eax, ebx
jne 0x10200a7
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
jmp 0x10200cb
push 1
push ecx
lea eax, [ebp + 0x1c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov byte [ebp - 4], 6
mov eax, dword [esi]
push dword [ebp - 0x24]
mov byte [ebp - 4], 3
mov ecx, esi
call dword [eax + 0x14]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.010106e6
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.010106e6
mov eax, dword [ebp + 8]
call fcn.010260d9
ret