Function at 0x14009c080
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0xa80]
sub rsp, 0xb80
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0xa70], rax
lea rdx, str.OperateService::StartPrintBuddyProcess
lea rcx, [rbp - 0x10]
call fcn.14001abe0
nop
lea r14, [0x1402a8360]
lea rdi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r14
je 0x14009c10e
test byte [rcx + 0x1c], 1
je 0x14009c10e
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x3d
lea r8, [0x140259e30]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor esi, esi
mov qword [rsp + 0x58], rsi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x60]
call fcn.1401e7e40
mov dword [rsp + 0x50], esi
movups xmm0, xmmword [str.InstalledPath]
movups xmmword [rbp + 0x40], xmm0
movsd xmm1, qword [0x1402598b8]
movsd qword [rbp + 0x50], xmm1
mov eax, dword [0x1402598c0]
mov dword [rbp + 0x58], eax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x270]
call fcn.1401e7e40
lea r8, str.SoftwareCanonPrint_BuddyIIInstall
mov edx, 0x104
lea rcx, [rbp + 0x60]
call fcn.1401ebfa8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009c34c
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x50], 0x800
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x270]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
test eax, eax
je 0x14009c296
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [0x1402a8360]
cmp rax, r14
je 0x14009c247
test byte [rax + 0x1c], 2
je 0x14009c247
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rbp - 0x10]
call fcn.14001b0b0
lea edx, [rsi + 0x3e]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x140259e30]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rax, qword [0x1402a8360]
mov byte [rbp - 8], 1
cmp rax, r14
je 0x14009c4f5
test byte [rax + 0x1c], 1
je 0x14009c4f5
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x3f
mov dword [rsp + 0x20], esi
lea r8, [0x140259e30]
mov rcx, qword [rax + 0x10]
call fcn.140001b40
mov rax, qword [0x1402a8360]
jmp 0x14009c4f5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x14009c34c
mov rax, qword [0x1402a8360]
cmp rax, r14
je 0x14009c2fd
test byte [rax + 0x1c], 2
je 0x14009c2fd
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rbp - 0x10]
call fcn.14001b0b0
mov edx, 0x40
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x140259e30]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rax, qword [0x1402a8360]
mov byte [rbp - 8], 1
cmp rax, r14
je 0x14009c4f5
test byte [rax + 0x1c], 1
je 0x14009c4f5
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x41
mov dword [rsp + 0x20], esi
lea r8, [0x140259e30]
mov rcx, qword [rax + 0x10]
call fcn.140001b40
mov rax, qword [0x1402a8360]
jmp 0x14009c4f5
lea r8, str.NBadmin.exe
mov edx, 0x400
lea rcx, [rbp + 0x270]
call fcn.1401ec614
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], 0x68
mov eax, 5
mov word [rbp - 0x40], ax
mov dword [rbp - 0x44], 1
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x270]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14009c48d
mov rax, qword [0x1402a8360]
cmp rax, r14
je 0x14009c441
test byte [rax + 0x1c], 2
je 0x14009c441
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rbp - 0x10]
call fcn.14001b0b0
mov edx, 0x42
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x140259e30]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rax, qword [0x1402a8360]
mov byte [rbp - 8], 1
cmp rax, r14
je 0x14009c4f5
test byte [rax + 0x1c], 1
je 0x14009c4f5
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x43
mov dword [rsp + 0x20], esi
lea r8, [0x140259e30]
mov rcx, qword [rax + 0x10]
call fcn.140001b40
mov rax, qword [0x1402a8360]
jmp 0x14009c4f5
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rbp - 8], 1
mov rax, qword [0x1402a8360]
cmp rax, r14
je 0x14009c4f0
test byte [rax + 0x1c], 1
je 0x14009c4f0
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x44
mov dword [rsp + 0x20], 1
lea r8, [0x140259e30]
mov rcx, qword [rax + 0x10]
call fcn.140001b40
mov rax, qword [0x1402a8360]
mov esi, 1
lea rcx, vtable.WppTrace.0
mov qword [rbp - 0x10], rcx
cmp byte [rbp - 8], 0
jne 0x14009c54c
cmp rax, r14
je 0x14009c54c
test byte [rax + 0x1c], 1
je 0x14009c54c
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, rdi
lea r8, [0x140252818]
mov rcx, qword [rax + 0x10]
call fcn.140006c90
lea rcx, [rbp + 0x20]
call fcn.1400048a0
lea rcx, [rbp]
call fcn.1400048a0
mov eax, esi
mov rcx, qword [rbp + 0xa70]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0xb80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret