Function at 0x1400e0d30
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 - 0xa38]
sub rsp, 0xb10
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0xa00], 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 0x1400e0ff0
mov r14d, r12d
call fcn.140120014
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 - 0x70]
call fcn.14013b230
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 - 0x70]
mov edx, esi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400e0f4a
lea rax, [rbp - 0x70]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r12w
jne 0x1400e0e0f
lea r8, str.command
mov edx, 0x124
lea rcx, [rbp - 0x70]
call fcn.140001f38
mov qword [rsp + 0x50], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e0f3c
mov dword [rsp + 0x48], 0x81e
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1e0]
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 0x1400e0f31
mov eax, dword [rsp + 0x48]
shr rax, 1
add rax, rax
cmp rax, 0x820
jae 0x1400e1020
mov word [rbp + rax + 0x1e0], r12w
mov word [rbp + rdi*2 - 0x70], r12w
lea rdx, str.conemu
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x1400e0f2e
xor r8d, r8d
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.140128120
nop
mov rcx, rax
call fcn.140121210
mov qword [rsp + 0x70], rax
cmp rbx, r15
je 0x1400e0f06
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0x60], rbx
jmp 0x1400e0f22
lea r8, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140007944
mov r15, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.140120ddc
jmp 0x1400e0f31
inc r14d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
cmp esi, 0x200
jb 0x1400e0dbc
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x58]
cmp rdi, rbx
je 0x1400e0f98
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.140132628
test rsi, rsi
je 0x1400e0f5a
mov rcx, rsi
call fcn.14012008c
jmp 0x1400e0f5a
test r14d, r14d
jne 0x1400e0fe2
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 0x1400e0fe2
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 0x1400e0ff0
mov rcx, rdi
call fcn.14012008c
nop
mov rcx, qword [rbp + 0xa00]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0xb10]
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.14013a21c
nop
int3