Function at 0x14009df10
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rbx, rdx
lea rdx, str.OperateService::GetSpoolerStatus
lea rcx, [rsp + 0x40]
call fcn.14001abe0
nop
lea r15, [0x1402a8360]
lea rbp, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14009dfd9
test byte [rcx + 0x1c], 1
je 0x14009dfa1
mov r9, rbp
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x66
lea r8, [0x140259e30]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14009dfd9
test byte [rcx + 0x1c], 1
je 0x14009dfd9
mov r9, rbp
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x67
mov qword [rsp + 0x20], rbx
lea r8, [0x140259e30]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
call fcn.1401ce6e4
mov rcx, qword [rax + 8]
call fcn.1401c749c
nop
xor edi, edi
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r14, rax
test rax, rax
je 0x14009e09a
lea r8d, [rdi + 4]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x14009e07f
mov ebx, edi
lea rdx, [rsp + 0x90]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x14009e05f
lea ecx, [rax + 0x64]
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x5dc
jb 0x14009e020
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14009e0ed
mov rdi, qword [rsp + 0x90]
shr rdi, 0x20
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14009e0ed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x424
cmp eax, ecx
cmove edi, ecx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14009e0ed
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14009e0f4
test byte [rcx + 0x1c], 2
je 0x14009e0f4
mov rbx, rbp
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x40]
call fcn.14001b0b0
mov edx, WSAGetLastError
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x140259e30]
mov rcx, qword [0x1402a8360]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
mov byte [rsp + 0x48], 1
cmp rcx, r15
je 0x14009e131
test byte [rcx + 0x1c], 1
je 0x14009e131
mov r9, rbp
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, WSAGetLastError
mov dword [rsp + 0x20], edi
lea r8, [0x140259e30]
mov rcx, qword [rcx + 0x10]
call fcn.140001b40
nop
lea rcx, [rsp + 0x30]
call fcn.140073d30
nop
lea rax, vtable.WppTrace.0
mov qword [rsp + 0x40], rax
cmp byte [rsp + 0x48], 0
jne 0x14009e19f
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14009e19f
test byte [rcx + 0x1c], 1
je 0x14009e19f
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
cmp qword [0x1402bbdc8], 8
cmovae rbp, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], r8
mov r9, rbp
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x70]
call fcn.1400048a0
lea rcx, [rsp + 0x50]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret