Function at 0x1400d62d0
Capabilities:
Delete registry key
Query or enumerate registry key
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
push r14
push r15
lea rbp, [rax - 0xa28]
sub rsp, 0xb00
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x9f0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareClassesLibraryFolder_shell
mov r13, 0xffffffff80000001
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r12d, r12d
test eax, eax
jne 0x1400d6577
mov r14d, r12d
call fcn.140113da0
mov qword [rsp + 0x58], r12
mov ebx, r12d
mov qword [rsp + 0x60], rbx
mov r15d, r12d
mov qword [rsp + 0x68], r12
mov esi, r12d
xor edx, edx
mov r8d, 0x248
lea rcx, [rbp - 0x80]
call fcn.14012d4b0
mov dword [rsp + 0x4c], 0x104
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x4c]
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400d64d1
lea rax, [rbp - 0x80]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r12w
jne 0x1400d63af
lea r8, str.command
mov edx, 0x124
lea rcx, [rbp - 0x80]
call fcn.140001e48
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400d64c3
mov dword [rsp + 0x48], 0x81e
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400d64b8
mov eax, dword [rsp + 0x48]
shr rax, 1
add rax, rax
cmp rax, 0x820
jae 0x1400d65a7
mov word [rbp + rax + 0x1d0], r12w
mov word [rbp + rdi*2 - 0x80], r12w
lea rdx, str.conemu
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400d64b5
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.1401145e0
mov qword [rsp + 0x70], rax
cmp rbx, r15
je 0x1400d6497
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x60], rbx
jmp 0x1400d64b8
lea r8, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140007624
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
jmp 0x1400d64b8
inc r14d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, 0x200
jb 0x1400d635c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x58]
cmp rdi, rbx
je 0x1400d651f
mov rax, rbx
sub rax, rdi
sar rax, 3
mov rsi, qword [rdi + rax*8 - 8]
sub rbx, 8
mov qword [rsp + 0x60], rbx
mov r8, rsi
lea rdx, str.SoftwareClassesLibraryFolder_shell
mov rcx, r13
call fcn.14012448c
test rsi, rsi
je 0x1400d64e1
mov rcx, rsi
call fcn.140113e18
jmp 0x1400d64e1
test r14d, r14d
jne 0x1400d6569
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SoftwareClassesLibraryFolder
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400d6569
lea rdx, str.shell
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rdi, rdi
je 0x1400d6577
mov rcx, rdi
call fcn.140113e18
nop
mov rcx, qword [rbp + 0x9f0]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0xb00]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14012c3e0
nop
int3