Function at 0x180011280
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rdi, rcx
mov ebp, 1
xor esi, esi
cmp rcx, rsi
je 0x1800114b3
mov rdx, rcx
lea rcx, str.reject
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
jne 0x1800114b3
and dword [rsp + 0xc8], 0xfffffe00
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], rsi
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x168], rax
lea r13d, [rbp + 6]
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], rsi
mov word [rsp + 0x78], si
lea r8d, [rbp + 4]
lea rdx, [0x1800604c0]
lea rcx, [rsp + 0x70]
call fcn.180002638
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.180025558
mov rbx, rax
lea rdx, str.di_type
lea rcx, [rsp + 0xc0]
call fcn.180026aa8
mov rcx, rax
mov rdx, rbx
call fcn.1800257e4
nop
cmp qword [rsp + 0xb8], 0x10
jb 0x180011390
mov rcx, qword [rsp + 0xa0]
call fcn.18003c660
mov r12d, 0xf
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb0], rsi
mov byte [rsp + 0xa0], sil
cmp qword [rsp + 0x90], 8
jb 0x1800113c3
mov rcx, qword [rsp + 0x78]
call fcn.18003c660
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], rsi
mov word [rsp + 0x78], si
mov r8d, 0x18
lea rdx, [0x1800604d0]
lea rcx, [rsp + 0x70]
call fcn.180002638
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.180002d54
nop
mov rdx, rax
lea rcx, [rsp + 0xf0]
call fcn.180025558
mov rbx, rax
lea rdx, str.di_overview
lea rcx, [rsp + 0xc0]
call fcn.180026aa8
mov rcx, rax
mov rdx, rbx
call fcn.1800257e4
nop
cmp qword [rsp + 0xb8], 0x10
jb 0x18001145e
mov rcx, qword [rsp + 0xa0]
call fcn.18003c660
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xb0], rsi
mov byte [rsp + 0xa0], sil
cmp qword [rsp + 0x90], 8
jb 0x18001148b
mov rcx, qword [rsp + 0x78]
call fcn.18003c660
mov r9d, ebp
xor r8d, r8d
lea rdx, [rsp + 0xc0]
lea rcx, str.t_illegal_device_log
call fcn.180035fd4
nop
lea rcx, [rsp + 0xc0]
call fcn.18002574c
mov r12, rsi
mov rbx, rsi
mov r13, rsi
lea r14, [0x18005f800]
mov r15, rsi
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x168], 4
lea rax, [rsp + 0x168]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x178]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x170]
lea r8, [0x180060508]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smprule_
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x18001152f
cmp dword [rsp + 0x170], 4
jne 0x18001152f
mov eax, dword [rsp + 0x178]
jmp 0x180011531
xor eax, eax
test eax, eax
je 0x180011553
lea r14, [0x180060530]
mov esi, ebp
xor ebp, ebp
lea r15, str.wfchost.exe
lea rax, str._usbStoreUseRequest
mov qword [rsp + 0x68], rax
test rdi, rdi
je 0x18001162a
lea rdx, str.reject
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x18001159c
lea r12, [0x180060568]
lea rax, [0x180060580]
lea rbx, [0x1800605f0]
test esi, esi
cmovne rbx, rax
lea r13, str.banusb.png
mov rax, qword [rsp + 0x60]
jmp 0x180011639
lea rdx, str.readonly
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1800115d9
lea r12, [0x180060668]
lea rax, [0x180060680]
lea rbx, [0x180060700]
test esi, esi
cmovne rbx, rax
lea r13, str.readonly.png
mov rax, qword [rsp + 0x60]
jmp 0x180011639
lea rdx, str.writeonly
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x18001162f
lea r12, [0x1800607a0]
lea rax, [0x1800607b0]
lea rbx, [0x180060820]
test esi, esi
cmovne rbx, rax
lea r13, str.usbwo.png
test esi, esi
jne 0x180011634
lea r14, [0x1800608a0]
lea r15, str.woumgr.exe
lea rax, str.D6C41B57_D9D0_4c55_A8F7_C40B06CAC2BD
jmp 0x180011639
mov rax, rbx
jmp 0x180011639
mov rax, rbx
jmp 0x180011639
mov rax, qword [rsp + 0x60]
and qword [rsp + 0x50], 0
and qword [rsp + 0x48], 0
and dword [rsp + 0x40], 0
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, r14
mov r8, r13
mov rdx, rbx
mov rcx, r12
call fcn.180002fe0
mov rbx, qword [rsp + 0x160]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret