Function at 0x14003b020
Capabilities:
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
call fcn.140009c60
movzx ebx, word [rax + 0x2cc]
call fcn.140009c60
movzx esi, word [rax + 0x2ce]
call fcn.140009c60
movzx edi, word [rax + 0x2d0]
call fcn.140009c60
movzx ecx, word [rax + 0x2d2]
shl esi, 0x10
or esi, ebx
mov dword [0x140103c78], esi
shl ecx, 0x10
or ecx, edi
mov dword [0x140103c7c], ecx
cmp ecx, 0x17aa380a
jne 0x14003b12f
cmp esi, 0x17aa381c
jne 0x14003b12f
call fcn.140009c60
test dword [rax + 0x48], 0x100
je 0x14003b12f
mov dword [rbp - 0x80], 0xffffffff
lea r8, [rbp - 0x80]
mov edx, 1
lea rcx, str.powercfg__SETDCVALUEINDEX_SCHEME_BALANCED_SUB_NONE_CONNECTIVITYINSTANDBY_1
call fcn.14003b8f0
mov dword [rbp - 0x7c], 0xffffffff
lea r8, [rbp - 0x7c]
mov edx, 1
lea rcx, str.powercfg__SETACVALUEINDEX_SCHEME_BALANCED_SUB_NONE_CONNECTIVITYINSTANDBY_1
call fcn.14003b8f0
mov dword [rbp - 0x78], 0xffffffff
lea r8, [rbp - 0x78]
mov edx, 1
lea rcx, str.powercfg__S_SCHEME_BALANCED
call fcn.14003b8f0
mov dword [rbp - 0x74], 1
lea r8, [rbp - 0x74]
lea rdx, str.Enable_CONNECTIVITYINSTANDBY
call fcn.14003af10
call fcn.140009c60
test dword [rax + 0x128], 0x10000
je 0x14003b18f
lea rax, [0x1400ff2d0]
mov qword [0x140103fc8], rax
mov rcx, qword [0x1401051e0]
mov r8d, dword [rcx - 0x10]
test r8d, r8d
js 0x14003b462
mov edx, 1
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, r8d
or eax, edx
jge 0x14003b18a
mov edx, r8d
lea rcx, [0x1401051e0]
call fcn.140003a80
mov rcx, qword [0x1401051e0]
call fcn.14001f060
call fcn.140009c60
test dword [rax + 0x19c], 0x10000
je 0x14003b426
mov dword [rsp + 0x70], 0x157c
mov dword [rbp - 0x70], 4
mov dword [rsp + 0x74], 4
call fcn.140009c60
mov r14, rax
test rax, rax
je 0x14003b2ac
cmp dword [rax + 8], 0
je 0x14003b2ac
xor edi, edi
movsxd rcx, dword [0x1401051a8]
mov r12, rcx
test ecx, ecx
jle 0x14003b380
xor ebx, ebx
xor esi, esi
nop
cmp ecx, edi
jg 0x14003b211
mov r8d, 0x2c4
lea rdx, str.CDriverPropertyClient::GetPropDevicePath
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.1400430e0
xor edx, edx
jmp 0x14003b22d
test rbx, rbx
js 0x14003b452
cmp edi, ecx
jge 0x14003b452
mov rax, qword [0x1401051a0]
mov rdx, qword [rax + rbx*8]
lea rcx, [rsp + 0x50]
call fcn.1400054e0
mov rcx, rax
call fcn.14006a4f0
test eax, eax
je 0x14003b26a
test rbx, rbx
js 0x14003b47d
cmp edi, dword [r14 + 0x2e0]
jge 0x14003b47d
mov rdx, qword [r14 + 0x2d8]
test byte [rsi + rdx + 0x400], 0x10
jne 0x14003b28a
inc edi
inc rbx
add rsi, 0x434
cmp rbx, r12
jge 0x14003b380
mov ecx, dword [0x1401051a8]
jmp 0x14003b1f0
test edi, edi
js 0x14003b46d
movsxd rax, edi
imul rcx, rax, 0x434
mov eax, dword [rcx + rdx + 0x430]
mov dword [rsp + 0x70], eax
jmp 0x14003b380
mov qword [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
call fcn.14006a340
nop
lea r8, str.Settings
lea rdx, str.SettingsEx
lea rcx, [rsp + 0x78]
call fcn.14000a260
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14003b321
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x78]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegCreateKeyW]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003b35f
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.DefaultDefaultMicGain
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003b380
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftSpeech_OneCoreAudioInputMicWiz
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
test eax, eax
jne 0x14003b404
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DefaultDefaultMicGain
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14003b426
mov r9d, eax
lea r8, str._nGlobalPolicy.SupportFakeMicArray_RegCreateKeyEx_Fail:0x_08x__n
mov edx, 0x104
lea rcx, [rbp - 0x60]
call fcn.14001ef90
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140091f30
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
mov edx, 1
mov ecx, 0xc000008c
call fcn.140011ae0
int3
mov ecx, 0x80070057
call fcn.140003b40
int3
mov edx, 1
mov ecx, 0xc000008c
call fcn.140011ae0
int3
mov edx, 1
mov ecx, 0xc000008c
call fcn.140011ae0
int3