Function at 0x1103c
Capabilities:
Delete file
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0xa0
xor r12d, r12d
mov rbp, rcx
mov qword [rax + 0x10], r12
cmp rcx, r12
jne 0x1106a
mov eax, 0xc000000d
jmp 0x113c0
lea rdx, [0x00011630]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0xd8]
mov edx, 0x80000000
mov dword [rsp + 0x70], 0x30
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x88], 0x240
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
cmp eax, r12d
mov edi, eax
jl 0x112a8
lea rdx, [0x00011670]
lea rcx, [rsp + 0x60]
mov dword [rsp + 0xd0], r12d
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0xd8]
xor r9d, r9d
lea r14d, [r9 + 2]
lea r11, [rsp + 0xd0]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], r11
mov r8d, r14d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
mov edi, eax
cmp eax, 0xc0000023
jne 0x11291
mov ebx, dword [rsp + 0xd0]
lea ecx, [r14 - 1]
mov r8d, 0x65477241
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
cmp rax, r12
je 0x11291
mov rcx, qword [rsp + 0xd8]
lea rax, [rsp + 0xd0]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9, rsi
mov r8d, r14d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
cmp eax, r12d
mov edi, eax
jl 0x11286
mov edi, dword [rsi + 8]
shr edi, 1
sub edi, 1
je 0x111ab
cmp word [rsi + rdi*2 + 0xc], 0x5c
je 0x111a4
add edi, 0xffffffff
jne 0x11197
cmp edi, r12d
je 0x111ab
inc edi
movzx eax, word [rsi + 8]
movzx ebx, di
mov ecx, 1
add bx, bx
mov r8d, 0x65477241
mov word [rsp + 0x30], r12w
sub ax, bx
add ax, word [rsp + 0x50]
movzx edx, ax
mov word [rsp + 0x32], ax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
lea rdx, [rsi + rdi*2 + 0xc]
mov qword [rsp + 0x38], rax
movzx ecx, word [rsi + 8]
sub cx, bx
sub cx, r14w
mov word [rsp + 0x40], cx
movzx ecx, word [rsi + 8]
mov qword [rsp + 0x48], rdx
sub cx, bx
sub cx, r14w
mov word [rsp + 0x42], cx
cmp rax, r12
je 0x11281
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x70], 0x30
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x88], 0x40
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov edi, eax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x11286
mov edi, 0xc000009a
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
cmp edi, r12d
jge 0x113be
movzx edx, word [rbp]
mov ebx, edx
shr ebx, 1
sub ebx, 1
je 0x112cc
mov rcx, qword [rbp + 8]
cmp word [rcx + rbx*2], 0x5c
je 0x112c5
add ebx, 0xffffffff
jne 0x112b9
cmp ebx, r12d
je 0x112cc
inc ebx
mov eax, 4
mov ecx, 1
mov r8d, 0x65477241
sub ax, bx
mov word [rsp + 0x30], r12w
add ax, ax
add ax, dx
add ax, word [rsp + 0x50]
movzx edx, ax
mov word [rsp + 0x32], ax
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
movzx edx, word [rbp]
movzx ecx, bx
add cx, cx
mov qword [rsp + 0x38], rax
sub dx, cx
mov rcx, qword [rbp + 8]
mov word [rsp + 0x40], dx
mov word [rsp + 0x42], dx
lea rdx, [rcx + rbx*2]
mov qword [rsp + 0x48], rdx
cmp rax, r12
je 0x113be
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlCopyUnicodeString]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeStringToString]
lea rdx, [0x00011690]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlAppendUnicodeToString]
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x70], 0x30
mov qword [rsp + 0x78], r12
mov dword [rsp + 0x88], 0x40
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov rcx, qword [rsp + 0x38]
xor edx, edx
mov edi, eax
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, edi
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret