Function at 0x140002b90
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r12
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x140029048]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov qword [r11 + 0x10], rdi
lea rsi, [rcx + 0x1e]
mov qword [r11 + 0x18], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov qword [r11 - 0x28], r15
mov r14d, r8d
xor r15d, r15d
mov qword [rsp + 0x28], rsi
mov rbx, rcx
mov dword [rsp + 0x40], 0x104
lea r8, str.Prefix
mov qword [rsp + 0x20], r15
mov rcx, 0xffffffff80000002
lea r9d, [r15 + 2]
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov r9d, dword [rsp + 0x40]
lea r12d, [r15 + 1]
test eax, eax
jne 0x140003003
cmp r9d, 0x40
jae 0x140003003
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 0x60]
mov qword [rsp + 0x28], rdi
lea r9d, [r15 + 0x10]
lea r8, str.FileCount
mov qword [rsp + 0x20], r15
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140002ff7
cmp dword [rdi], 0xd
ja 0x140002ff7
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x104
movups xmmword [rbx + 0x64], xmm0
xor eax, eax
lea r9d, [r15 + 2]
movups xmmword [rbx + 0x74], xmm0
lea r8, str.State2
mov rcx, 0xffffffff80000002
movups xmmword [rbx + 0x84], xmm0
mov dword [rbx + 0x94], eax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140002cf5
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x50]
cmp al, 0x41
jl 0x140002cf5
mov ecx, eax
movsx eax, byte [rdi]
add eax, 0x40
cmp ecx, eax
jg 0x140002cf5
lea eax, [rcx - 0x3f]
mov dword [rbx + 0x6c], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.State3
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140002d61
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x50]
cmp al, 0x41
jl 0x140002d61
mov ecx, eax
movsx eax, byte [rdi]
add eax, 0x40
cmp ecx, eax
jg 0x140002d61
lea eax, [rcx - 0x3f]
mov dword [rbx + 0x70], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.State4
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140002dcd
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x50]
cmp al, 0x41
jl 0x140002dcd
mov ecx, eax
movsx eax, byte [rdi]
add eax, 0x40
cmp ecx, eax
jg 0x140002dcd
lea eax, [rcx - 0x3f]
mov dword [rbx + 0x74], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.State5
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140002e39
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x50]
cmp al, 0x41
jl 0x140002e39
mov ecx, eax
movsx eax, byte [rdi]
add eax, 0x40
cmp ecx, eax
jg 0x140002e39
lea eax, [rcx - 0x3f]
mov dword [rbx + 0x78], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.State6
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140002ea5
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x50]
cmp al, 0x41
jl 0x140002ea5
mov ecx, eax
movsx eax, byte [rdi]
add eax, 0x40
cmp ecx, eax
jg 0x140002ea5
lea eax, [rcx - 0x3f]
mov dword [rbx + 0x7c], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.State7
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140002f14
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x50]
cmp al, 0x41
jl 0x140002f14
mov ecx, eax
movsx eax, byte [rdi]
add eax, 0x40
cmp ecx, eax
jg 0x140002f14
lea eax, [rcx - 0x3f]
mov dword [rbx + 0x80], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.State8
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140002f86
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x50]
cmp al, 0x41
jl 0x140002f86
mov r8d, eax
movsx eax, byte [rdi]
add eax, 0x40
cmp r8d, eax
jg 0x140002f86
lea eax, [r8 - 0x3f]
mov dword [rbx + 0x84], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.State9
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetServicesQcomWlanSrv_
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x14000301e
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [rsp + 0x50]
cmp al, 0x41
jl 0x14000301e
mov ecx, eax
movsx eax, byte [rdi]
add eax, 0x40
cmp ecx, eax
jg 0x14000301e
lea eax, [rcx - 0x3f]
mov dword [rbx + 0x88], eax
jmp 0x14000301e
mov r9d, dword [rdi]
lea r8, str.Failed_to_get_registry_value_FileCount__FileCount___d__status__0x_X
jmp 0x14000300a
lea r8, str.Failed_to_get_registry_value_Prefix__bufSize___d__status__0x_X
movzx edx, r12w
lea rcx, str.P_Sensor
mov dword [rsp + 0x20], eax
call fcn.140004370
mov r15, qword [rsp + 0x170]
cmp r14d, r12d
mov r14, qword [rsp + 0x1b0]
mov rdi, qword [rsp + 0x1a8]
jne 0x14000306c
xorps xmm0, xmm0
mov dword [rbx + 0x60], 5
movups xmmword [rsi], xmm0
mov r9d, 0x40
lea r8, str.LE_CTL_ar6320_3p0_NFA344a_highTX
movups xmmword [rsi + 0x10], xmm0
mov edx, r9d
mov rcx, rsi
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm0
call fcn.14000aec8
mov eax, r12d
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140006ab0
add rsp, 0x178
pop r12
pop rsi
pop rbx
pop rbp
ret