Function at 0x7ff7c00d6e90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov rax, qword [0x7ff7c01ca008]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r13, rcx
mov rsi, rdx
lea rcx, [0x7ff7c01759e0]
call fcn.7ff7c00c47c0
test rax, rax
je 0x7ff7c00d7341
xor r8d, r8d
lea rdx, [0x7ff7c0188d58]
mov rcx, rax
call fcn.7ff7c00c4b60
test rax, rax
je 0x7ff7c00d7341
call qword [case.0x7ff7c00c1f48.0]
xor edi, edi
lea r8, [rsp + 0x70]
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov rcx, r13
mov r12, rax
lea r9d, [rdi + 0x10]
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
js 0x7ff7c00d7346
mov r15, qword [rsp + 0x70]
mov r14d, edi
cmp r15, r12
je 0x7ff7c00d6f88
nop word [rax + rax]
cmp r14d, 0x800
jae 0x7ff7c00d6f88
mov r9d, 0x70
mov qword [rsp + 0x20], rdi
lea r8, [rbp - 0x60]
mov rdx, r15
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
js 0x7ff7c00d7346
nop
cmp rsi, qword [rbp - 0x40]
jb 0x7ff7c00d6f7c
cmp rsi, qword [rbp - 0x38]
jb 0x7ff7c00d6f95
mov r15, qword [rbp - 0x60]
inc r14d
cmp r15, r12
jne 0x7ff7c00d6f40
mov ebx, 0xc0000225
jmp 0x7ff7c00d7346
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x7ff7c00d702a
mov edx, 0xff
lea rcx, [rbp + 0x40]
mov r8d, 0x400
call fcn.7ff7c0123170
lea rax, [rsp + 0x30]
mov r9d, 0x400
lea r8, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ecx, 0x80000000
mov ebx, eax
add eax, ecx
test ecx, eax
jne 0x7ff7c00d6fef
cmp ebx, 0x8000000d
jne 0x7ff7c00d7346
mov ecx, edi
mov eax, ecx
cmp word [rbp + rax*2 + 0x40], di
je 0x7ff7c00d700e
inc ecx
cmp ecx, 0x200
jb 0x7ff7c00d6ff1
mov ebx, 0x80000005
jmp 0x7ff7c00d7346
lea rax, [rbp + 0x40]
add cx, cx
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0x40]
mov word [rsp + 0x58], cx
mov word [rsp + 0x5a], cx
jmp 0x7ff7c00d703a
mov word [rbp + 0x40], di
mov rax, rdi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x58], edi
mov r12d, dword [rbp - 0x10]
cmp r12d, 2
jne 0x7ff7c00d7243
test rax, rax
jne 0x7ff7c00d7057
mov ebx, 0xc000000d
jmp 0x7ff7c00d7346
mov rcx, qword [0x7ff7c01d06c0]
mov word [rbp - 0x78], cx
lea eax, [rcx + 2]
mov word [rbp - 0x76], ax
mov rax, qword [0x7ff7c01d06c8]
mov qword [rbp - 0x70], rax
cmp rcx, 0xfffe
jbe 0x7ff7c00d7088
mov r14d, 0xc0000106
jmp 0x7ff7c00d71a6
xor r8d, r8d
lea rax, [rsp + 0x48]
lea r9, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x78]
lea rcx, [r8 - 3]
call fcn.7ff7c00e0390
mov r14d, eax
test eax, eax
js 0x7ff7c00d71a6
lea r8, [rbp + 0x10]
mov edx, 0x20019
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_NtOpenKey]
mov rcx, qword [rsp + 0x48]
mov r14d, eax
test rcx, rcx
je 0x7ff7c00d70df
call qword [sym.imp.ntdll.dll_NtClose]
test r14d, r14d
js 0x7ff7c00d71a6
mov rcx, qword [rsp + 0x68]
lea rax, [rbp - 0x80]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x58]
mov dword [rsp + 0x20], edi
lea r8d, [r9 + 2]
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
mov rcx, qword [rsp + 0x68]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
cmp ebx, 0xc0000034
jne 0x7ff7c00d712b
mov ebx, 0xc0000361
jmp 0x7ff7c00d7346
lea r9, [rsp + 0x40]
xor edx, edx
lea r8, [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrLoadDll]
mov ebx, eax
test eax, eax
js 0x7ff7c00d7346
mov rcx, qword ds:[rsp + 0x40]
lea rax, [0x7ff7c0188e08]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov dword [rsp + 0x70], 0x220021
lea rdx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
mov r14d, eax
test eax, eax
js 0x7ff7c00d719b
mov rax, qword [rsp + 0x30]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x38]
mov rdx, r15
mov rcx, r13
call qword [case.0x7ff7c00c1f48.0]
mov r14d, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_LdrUnloadDll]
mov ebx, r14d
test r14d, r14d
js 0x7ff7c00d7346
sub rsi, qword [rbp - 0x30]
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x7ff7c00d71fb
mov r8, qword [rsp + 0x50]
nop word [rax + rax]
mov eax, edi
lea rcx, [rax + rax*2]
lea rcx, [rcx*4]
mov eax, dword [rcx + r8]
cmp rsi, rax
jb 0x7ff7c00d71f5
mov eax, dword ds:[rcx + r8 + 4]
cmp rsi, rax
jb 0x7ff7c00d7223
inc edi
cmp edi, edx
jb 0x7ff7c00d71d0
mov ebx, 0xc0000225
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rsp + 0x50]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x7ff7c00d7346
lea rax, [rcx + r8]
test rax, rax
je 0x7ff7c00d71fb
movsd xmm0, qword [rax]
movsd qword [0x7ff7c01d6a80], xmm0
mov eax, dword [rax + 8]
mov dword [0x7ff7c01d6a88], eax
jmp 0x7ff7c00d7200
mov r15d, dword ds:[rbp - 0xc]
cmp r15d, 0x100000
ja 0x7ff7c00d7004
xor r8d, r8d
mov dword [rsp + 0x28], 4
lea rbx, [r15 + r15*2]
mov qword [rsp + 0x40], rdi
shl rbx, 2
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea rcx, [r8 - 1]
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x7ff7c00d733a
mov r14, qword [rsp + 0x40]
test r14, r14
je 0x7ff7c00d733a
mov rdx, qword [rbp - 0x50]
mov r9, rbx
mov r8, r14
mov qword [rsp + 0x20], rdi
mov rcx, r13
call qword [sym.imp.ntdll.dll_NtReadVirtualMemory]
mov ebx, eax
test eax, eax
js 0x7ff7c00d7311
sub rsi, qword [rbp - 0x30]
mov edx, r15d
test r12d, r12d
mov qword [rsp + 0x50], r14
mov r9, rsi
mov dword [rsp + 0x38], r15d
sete r8b
mov rcx, r14
call fcn.7ff7c00d6de0
nop dword [rax]
test rax, rax
je 0x7ff7c00d730c
movsd xmm0, qword [rax]
movsd qword [0x7ff7c01d6a80], xmm0
mov eax, dword [rax + 8]
mov dword [0x7ff7c01d6a88], eax
jmp 0x7ff7c00d7311
mov ebx, 0xc0000225
mov r9d, 0x8000
mov qword [rsp + 0x48], r14
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtFreeVirtualMemory]
jmp 0x7ff7c00d7346
mov ebx, 0xc0000017
jmp 0x7ff7c00d7346
mov ebx, 0xc000007a
mov eax, ebx
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.7ff7c0121390
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret