Function at 0x140002a30
Capabilities:
Create service
Start service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x190
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbx, rcx
xor r14d, r14d
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
mov edi, r14d
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbp, rax
test rax, rax
je 0x140002c39
mov qword [rsp + 0x60], r14
lea r8, str.PDFWKRNL
mov qword [rsp + 0x58], r14
lea rdx, str.PDFWKRNL
mov qword [rsp + 0x50], r14
mov r9d, 0xf01ff
mov qword [rsp + 0x48], r14
mov rcx, rax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbx
mov ebx, 1
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x1b8], rsi
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rsi, rax
test rax, rax
je 0x140002b87
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x140002b79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x420
jne 0x140002b79
cmp bx, word [0x140010048]
mov edi, r14d
jb 0x140002b18
lea rcx, str.LOG:_StartDriver_PDKRNL.SYS_Aleady_Running..._n
call fcn.1400038e0
movzx eax, word [0x14009a5ac]
test ax, ax
je 0x140002b79
lea rdx, str...USBCPDFW.LOG
lea rcx, [rsp + 0x70]
cmp bx, ax
jne 0x140002b4b
lea r8, [0x14000daf8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
inc word [0x14009a5ac]
jmp 0x140002b58
lea r8, [0x14000db10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140002b79
lea rdx, str.LOG:_StartDriver_PDKRNL.SYS_Aleady_Running..._n
call fcn.140009b30
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140002c23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.ERROR:_StartDriver:CreateService_Failed:_0x_x____n
lea rcx, [rsp + 0x80]
mov edi, eax
call fcn.140001960
mov eax, 2
cmp ax, word [0x140010048]
jb 0x140002bc1
lea rcx, [rsp + 0x80]
call fcn.1400038e0
movzx eax, word [0x14009a5ac]
test ax, ax
je 0x140002c23
lea rdx, str...USBCPDFW.LOG
lea rcx, [rsp + 0x70]
cmp bx, ax
jne 0x140002bf4
lea r8, [0x14000daf8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
inc word [0x14009a5ac]
jmp 0x140002c01
lea r8, [0x14000db10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140002c23
lea rdx, [rsp + 0x80]
call fcn.140009b30
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rsi, qword [rsp + 0x1b8]
jmp 0x140002cda
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.ERROR:_StartDriver:OpenSCManager_Failed:_0x_x____n
lea rcx, [rsp + 0x80]
mov edi, eax
call fcn.140001960
mov eax, 2
cmp ax, word [0x140010048]
jb 0x140002c73
lea rcx, [rsp + 0x80]
call fcn.1400038e0
movzx eax, word [0x14009a5ac]
test ax, ax
je 0x140002cda
mov ebx, 1
lea rdx, str...USBCPDFW.LOG
lea rcx, [rsp + 0x70]
cmp bx, ax
jne 0x140002cab
lea r8, [0x14000daf8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
inc word [0x14009a5ac]
jmp 0x140002cb8
lea r8, [0x14000db10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140002cda
lea rdx, [rsp + 0x80]
call fcn.140009b30
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, edi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140009c20
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop r14
pop rdi
pop rbp
ret