Function at 0x10003c7e0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
xor eax, eax
mov rsi, rcx
or rcx, 0xffffffffffffffff
lea rdi, str.SystemCurrentControlSetControlPrintProviders
mov rbp, rdx
mov rdx, qword [rdx]
repne scasw ax, word [rdi]
xor edi, edi
mov dword [rsp + 0x50], eax
not rcx
mov dword [r11 + 0x20], eax
mov rbx, rdi
mov r13, rdi
mov qword [r11 - 0x48], rdi
mov r12, rdi
lea r15, [rcx + 0x104]
cmp rdx, rdi
je 0x10003caac
mov rax, qword [rbp + 0x10]
cmp rax, rdi
je 0x10003caac
cmp word [rdx], di
je 0x10003caac
cmp word [rax], di
je 0x10003caac
lea ecx, [r15 + r15]
call sym.spoolsv.exe_PrvDllAllocSplMem
mov r12, rax
cmp rax, rdi
je 0x10003ca9d
mov rdi, qword [0x1000832b0]
test rdi, rdi
je 0x10003c8a6
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rdi + 8]
mov r14, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10003c898
mov rdi, qword [rdi]
test rdi, rdi
jne 0x10003c879
jmp 0x10003c8ae
xor edi, edi
mov dword [rsp + 0xb8], edi
jmp 0x10003cb3c
mov r14, qword [rsp + 0xb8]
mov rdx, qword [rbp]
lea rax, [rsp + 0xc8]
xor edi, edi
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], 0x3001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCreateKeyExW]
mov dword [rsp + 0xb8], eax
cmp eax, edi
jne 0x10003cac0
mov rdx, qword [rbp + 0x10]
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
mov r9d, 1
xor r8d, r8d
repne scasw ax, word [rdi]
not rcx
lea eax, [rcx + rcx]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdx
lea rdx, str.Name
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
xor edi, edi
mov dword [rsp + 0xb8], eax
cmp eax, edi
jne 0x10003cac0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
lea rax, [rsp + 0xc0]
lea rdx, str.Order
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0xc0], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov dword [rsp + 0xb8], eax
cmp eax, edi
je 0x10003c999
cmp eax, 2
je 0x10003c9f4
jmp 0x10003cab7
mov ecx, dword [rsp + 0xc0]
mov dword [rsp + 0x58], ecx
cmp ecx, edi
je 0x10003ca94
call sym.spoolsv.exe_PrvDllAllocSplMem
mov rbx, rax
cmp rax, rdi
je 0x10003ca94
lea rax, [rsp + 0xc0]
lea rdx, str.Order
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov dword [rsp + 0xb8], eax
cmp eax, edi
jne 0x10003cac0
mov r8, qword [rbp]
mov edx, dword [rsp + 0xc0]
lea r9, [rsp + 0x54]
mov rcx, rbx
call fcn.100037ccc
mov r13, rax
cmp rax, rdi
je 0x10003cab7
mov ecx, dword [rsp + 0x54]
lea rdx, str.Order
mov r9d, 7
mov dword [rsp + 0x28], ecx
mov rcx, rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov dword [rsp + 0xb8], eax
cmp eax, edi
jne 0x10003cac0
mov rax, qword [rbp]
lea r9, str.SystemCurrentControlSetControlPrintProviders
lea r8, str._ws_ws
mov edx, r15d
mov rcx, r12
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x20], rax
call fcn.100006c64
mov rcx, qword [rbp + 0x10]
lea r8, [rsp + 0xb8]
mov rdx, r12
call fcn.100009a0c
cmp rax, rdi
je 0x10003cab7
mov qword [rax], rdi
mov qword [r14], rax
jmp 0x10003cab7
cmp dword [rsp + 0xb8], edi
jne 0x10003cac0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xb8], eax
jmp 0x10003cab7
mov dword [rsp + 0xb8], 0x57
cmp dword [rsp + 0xb8], edi
je 0x10003cb22
cmp dword [rsp + 0xc8], 1
jne 0x10003cae9
mov rdx, qword [rbp]
mov rcx, rsi
call fcn.100037424
mov rdx, qword [rbp]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteKeyExW]
cmp dword [rsp + 0x50], edi
je 0x10003cb22
lea rdx, str.Order
mov rcx, rsi
cmp rbx, rdi
je 0x10003cb1c
mov eax, dword [rsp + 0x58]
mov r9d, 7
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
jmp 0x10003cb22
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegDeleteValueW]
cmp rbx, rdi
je 0x10003cb2f
mov rcx, rbx
call sym.spoolsv.exe_PrvDllFreeSplMem
cmp r13, rdi
je 0x10003cb3c
mov rcx, r13
call sym.spoolsv.exe_PrvDllFreeSplMem
cmp r12, rdi
je 0x10003cb49
mov rcx, r12
call sym.spoolsv.exe_PrvDllFreeSplMem
mov rcx, qword [rsp + 0x60]
cmp rcx, rdi
je 0x10003cb59
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
mov eax, dword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret