Function at 0x14000e070
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov rax, qword [0x1400d9180]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor esi, esi
lea rcx, [rsp + 0x54]
xor edx, edx
lea r8d, [rsi + 0x1c]
xor r13d, r13d
mov dword [rsp + 0x50], 0x20
call fcn.14005bab0
lea r9d, [rsi + 2]
lea rcx, [0x14009e5a0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000e0f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Proximity:_ProxDisallowedForLocalDevice:_SetupDiGetClassDevs_failed._err0x_X
mov edx, eax
call fcn.14000d630
jmp 0x14000e298
xor ebx, ebx
cmp ebx, 0x3e8
jae 0x14000e28f
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x14000e28f
lea rcx, str.ProxDisallowedForLocalDevice:_checking_device__d
mov edx, ebx
mov dword [rsp + 0x48], 0x208
call fcn.14000d630
mov eax, dword [rsp + 0x48]
lea r11, [rsp + 0x48]
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], eax
xor r9d, r9d
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea r8d, [r9 + 1]
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14000e1a1
lea rcx, [rsp + 0x70]
call fcn.14005d25c
cmp rax, 4
jb 0x14000e284
cmp word [rsp + 0x70], 0x55
jne 0x14000e284
cmp word [rsp + 0x72], 0x53
jne 0x14000e284
cmp word [rsp + 0x74], 0x42
jne 0x14000e284
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x44]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea r8d, [r9 + 0xa]
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], 4
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14000e28f
test byte [rsp + 0x40], 1
jne 0x14000e284
test byte [rsp + 0x40], 0x40
jne 0x14000e284
xor r9d, r9d
lea rdx, [rsp + 0x50]
mov rcx, rdi
lea r8d, [r9 + 1]
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 1
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x14000e284
lea rcx, str.ProxDisallowedForLocalDevice:_opened_device_reg_key
call fcn.14000d630
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
lea rdx, str.DisallowProximity
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
mov qword [rsp + 0x20], rax
mov r13d, 1
mov dword [rsp + 0x44], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, r12
test eax, eax
cmove esi, dword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
test r13d, r13d
je 0x14000e0fa
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
lea rcx, str.ProximityService__:_ProxDisallowedForLocalDevice___returns__d
mov edx, esi
call fcn.14000d630
mov eax, esi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14005ba20
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret