Function at 0x140002280
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x3b0], rbx
mov rax, qword [0x14000e010]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r13, rdx
mov rbx, rcx
mov r8d, dword [rdx + 8]
xor edx, edx
mov ecx, 0x1010
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov qword [rbp - 0x58], rax
test rax, rax
je 0x1400027c1
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rax
mov r8, r15
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140001530
nop
mov rcx, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x28]
sub rcx, rsi
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rax, rbx
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140002751
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140001d90
mov r14, rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
xor edi, edi
mov qword [rbp - 0x30], rdi
lea r8d, [rdi + 0x14]
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.140001ad0
xor edx, edx
mov ebx, edx
mov r15d, edx
lea rcx, [rbp - 0x40]
cmp rcx, rax
je 0x140002389
mov rbx, qword [rax]
mov r12, rbx
mov r15, qword [rax + 8]
mov rdi, qword [rax + 0x10]
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
jmp 0x14000238d
mov r12, qword [rbp - 0x40]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400023de
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007080
mov qword [rsp + 0x60], 0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
cmp rbx, r15
jne 0x140002422
test rbx, rbx
je 0x14000241b
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140002410
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400024ec
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140007080
xor edi, edi
mov r15d, edi
jmp 0x140002460
mov r15d, dword [r12]
test rbx, rbx
je 0x14000245e
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140002453
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400024ec
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140007080
xor edi, edi
cmp qword [r14 + 0x18], 8
jb 0x14000246a
mov r14, qword [r14]
lea rax, [0x140009900]
lea rbx, [0x140009908]
test r15d, r15d
cmovne rbx, rax
mov r15, qword [rbp - 0x58]
mov rcx, r15
call fcn.140001c00
lea rdx, [r13 + 0x2c]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8d, dword [r13 + 8]
lea rcx, str._n_nProcess__:__lS___ld__nUser_____:__lS_nIL_______:__lS_nElevated_:__lS_n_n
call fcn.140001020
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1400024f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400024f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140007080
cmp rsi, qword [rbp - 0x20]
je 0x140002747
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rsi]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp - 0x60], rdi
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call qword [sym.imp.ole32.dll_StringFromIID]
mov qword [rbp - 0x50], rdi
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x20]
call qword [sym.imp.ole32.dll_StringFromIID]
mov qword [rbp - 0x58], rdi
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x30]
call qword [sym.imp.ole32.dll_StringFromIID]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rax, qword [rbp - 0x60]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140002580
lfence
lea rcx, [rsp + 0x40]
cmp rdx, 7
ja 0x1400025b4
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, qword [rbp - 0x60]
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x40], di
jmp 0x1400025be
mov r9, qword [rbp - 0x60]
call fcn.140006210
nop
mov r9d, 0xa
lea r8, str.Interface_
lea rcx, [rsp + 0x40]
call fcn.140006810
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14000263d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002638
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027ab
call fcn.140007080
xor edx, edx
mov r8d, 0x20a
lea rcx, [rbp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x48], 0x104
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9d, 2
xor r8d, r8d
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400026c8
mov rax, qword [rbp - 0x58]
lea r8, [0x140009998]
test rax, rax
cmovne r8, rax
mov rax, qword [rbp - 0x50]
lea rdx, [0x140009998]
test rax, rax
cmovne rdx, rax
lea r9, [rbp + 0x40]
lea rcx, str.IPID:_lS_OXID:_lS_:__lS_n
call fcn.140001020
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400026d7
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400026e6
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1400026f5
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140002735
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002730
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027b2
call fcn.140007080
add rsi, 0x30
cmp rsi, qword [rbp - 0x20]
jne 0x140002510
mov rsi, qword [rbp - 0x28]
movabs rbx, 0x2aaaaaaaaaaaaaab
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
test rsi, rsi
je 0x1400027c1
mov rcx, qword [rbp - 0x18]
sub rcx, rsi
mov rax, rbx
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 4
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400027b9
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400027b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rsi
call fcn.140007080
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140007020
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret