Function at 0x10009cf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
lea ecx, [ebp - 0xb0]
sub esp, 0xe8
call fcn.10009b80
test eax, eax
mov ebx, eax
js 0x10009e70
mov eax, dword [esi + 0x10]
lea edi, [ebp - 0xb4]
mov dword [esp + 0x34], eax
movzx eax, byte [esi + 0xf]
mov dword [esp + 0x30], eax
movzx eax, byte [esi + 0xe]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0xd]
mov dword [esp + 0x28], eax
movzx eax, byte [esi + 0xc]
mov dword [esp + 0x24], eax
movzx eax, byte [esi + 0xb]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xa]
mov dword [esp + 0x1c], eax
movzx eax, byte [esi + 9]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 8]
mov dword [esp + 0x14], eax
movzx eax, word [esi + 6]
mov dword [esp + 0x10], eax
movzx eax, word [esi + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
lea esi, [ebp - 0xac]
mov dword [esp + 4], str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X__d
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [sym.imp.user32.dll_wsprintfW]
lea eax, [ebp - 0xb8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffff
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
mov eax, dword [sym.imp.advapi32.dll_RegGetValueW]
mov dword [ebp - 0xbc], eax
call eax
sub esp, 0x1c
mov edx, eax
test eax, eax
jne 0x10009e80
mov eax, dword [ebp - 0xb8]
cmp eax, 3
je 0x10009f10
cmp eax, 4
je 0x10009eb8
cmp eax, 1
jne 0x10009ee8
mov eax, dword [ebp + 8]
mov edx, 0x1f
mov word [eax], dx
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp + 8]
sub esp, 4
mov dword [ecx + 8], eax
test eax, eax
je 0x1000a01d
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 2
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
mov eax, dword [ebp - 0xbc]
call eax
sub esp, 0x1c
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [0x10015114], 4
jne 0x10009f60
mov eax, dword [ebp - 0xb0]
xor ebx, ebx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
xor ecx, ecx
sub esp, 4
mov word [eax], cx
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, 0x13
mov word [eax], cx
add eax, 8
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10
jmp 0x10009e3e
test byte [0x10015114], 2
jne 0x10009ff0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ole32.dll_PropVariantClear
sub esp, 4
jmp 0x10009e5e
mov eax, dword [ebp + 8]
mov edx, 0x41
mov ecx, dword [ebp + 8]
mov word [eax], dx
mov eax, dword [ebp - 0xb4]
mov dword [ecx + 8], eax
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp + 8]
sub esp, 4
mov dword [ecx + 0xc], eax
test eax, eax
je 0x1000a01d
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 8
jmp 0x10009e3e
mov eax, esi
mov dword [ebp - 0xbc], edx
shr eax, 0x10
test eax, eax
je 0x10009fd8
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov edx, dword [ebp - 0xbc]
mov ecx, eax
sub esp, 8
mov eax, 0x100181e1
test ecx, ecx
jne 0x10009fa1
mov eax, esi
call fcn.10007310
mov edx, dword [ebp - 0xbc]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Reading__s_returned__ld_n
mov dword [esp + 8], str.MMDevice_GetPropValue
mov dword [esp + 4], 0x10015114
mov dword [esp], 2
call fcn.10007550
jmp 0x10009e8d
mov dword [esp + 4], esi
mov dword [esp], 0x10018276
call fcn.100072b0
mov edx, dword [ebp - 0xbc]
jmp 0x10009fa1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Unknown_unhandled_type:__lu_n
mov dword [esp + 8], str.MMDevice_GetPropValue
mov dword [esp + 4], 0x10015114
mov dword [esp], 1
call fcn.10007550
jmp 0x10009ef5
mov ebx, 0x8007000e
jmp 0x10009e5e