Function at 0x140004b50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x190
mov rax, qword [0x140029048]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
mov dword [rsp + 0x44], 0x104
xor esi, esi
lea rcx, [rsp + 0x70]
xor edx, edx
mov dword [rsp + 0x48], esi
mov r8d, 0x104
mov dword [rsp + 0x40], esi
call fcn.1400083e0
lea rcx, [rsp + 0x70]
call fcn.1400054f0
lea r14d, [rsi + 4]
test eax, eax
jne 0x140004bca
mov r8d, dword [rsp + 0x70]
lea rdx, str.Lenovo_YOGA_910_13IKB
lea rcx, [rsp + 0x74]
call fcn.1400089a0
test eax, eax
jne 0x140004bca
or dword [rbx], 2
jmp 0x140004c00
mov rcx, rbx
call fcn.140004940
test eax, eax
je 0x140004c00
cmp byte [rbx + 0x178], sil
je 0x140004c00
or dword [rbx], r14d
lea r9, str.CQcomWlanSrvModule::RegisterNotification
lea r8, str._s_COM_P_SENSOR_NEW_SET_n
movzx edx, r14w
lea rcx, str.QCA_WLAN_Service
call fcn.140004370
lea rax, [rsp + 0x44]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
lea r8, str.ComponentBitmap
lea rax, [rsp + 0x40]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov ebp, 1
test eax, eax
je 0x140004c9c
mov r9d, eax
movzx edx, r14w
lea r8, str.Failed_to_get_registry_value_ComponentBitmap__status__0x_x
lea rcx, str.QCA_WLAN_Service
call fcn.140004370
mov r9d, dword [rbx]
test r9d, r9d
jne 0x140004c6a
mov dword [rbx], ebp
mov r9d, ebp
lea r8, str.ComponentBitmap_0x_X
movzx edx, r14w
lea rcx, str.QCA_WLAN_Service
call fcn.140004370
test byte [rbx], 9
je 0x140004cdf
mov rcx, r14
call fcn.140006ad4
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140004cae
mov dword [rax], esi
jmp 0x140004cb1
mov eax, dword [rsp + 0x40]
or dword [rbx], eax
mov r9d, dword [rbx]
jne 0x140004c6a
xor eax, eax
jmp 0x140004e1b
mov rax, rsi
mov qword [rbx + 0x170], rax
test rax, rax
jne 0x140004cd5
lea r8, str.Create_CDevCon_failed.
movzx edx, bp
lea rcx, str.YB_CHECK
call fcn.140004370
jmp 0x140004cdf
xor edx, edx
mov rcx, rax
call fcn.140001d40
mov eax, dword [rbx]
test al, 6
je 0x140004da3
mov qword [rsp + 0x1b8], rdi
lea rdi, [rbx + 0x178]
test al, 2
je 0x140004d04
mov byte [rdi], bpl
jmp 0x140004d87
mov rcx, rbx
call fcn.140004940
test eax, eax
je 0x140004d2d
movzx r9d, byte [rdi]
lea r8, str.UEFI_Configuration:_IF_TYPE___d
movzx edx, r14w
lea rcx, str.QCA_WLAN_Service
call fcn.140004370
jmp 0x140004d87
lea rax, [rsp + 0x44]
mov r9d, 0x10
mov qword [rsp + 0x30], rax
lea r8, str.IfType
mov qword [rsp + 0x28], rdi
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x140004d87
mov r9d, eax
movzx edx, r14w
lea r8, str.Failed_to_get_registry_value_IfType__status__0x_X
lea rcx, str.QCA_WLAN_Service
call fcn.140004370
mov byte [rbx + 0x178], sil
mov rcx, rbx
call fcn.140004e40
mov rdi, qword [rsp + 0x1b8]
test eax, eax
jne 0x140004da3
mov rcx, rbx
call fcn.140005720
lea rax, [0x140004570]
mov ecx, 2
lea r8, [rbx + 8]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
call sub.api_ms_win_power_base_l1_1_0.dll_PowerRegisterSuspendResumeNotification
xor edx, edx
lea r9, [rbx + 0x10]
lea r8, [rsp + 0x48]
lea ecx, [rdx + 2]
call sub.wlanapi.dll_WlanOpenHandle
test eax, eax
jne 0x140004e00
mov rcx, qword [rbx + 0x10]
lea r9, [0x140005860]
mov qword [rsp + 0x30], rsi
lea edx, [rax + 8]
mov qword [rsp + 0x28], rsi
mov r8d, ebp
mov qword [rsp + 0x20], rsi
call sub.wlanapi.dll_WlanRegisterNotification
jmp 0x140004e19
mov r9d, eax
movzx edx, bp
lea r8, str.WlanOpenHandle_failed._error__0x_x
lea rcx, str.QCA_WLAN_Service
call fcn.140004370
mov eax, ebp
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140006ab0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop r14
pop rsi
pop rbp
ret