Function at 0x140072140
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14023eac0]
xor rax, rsp
mov qword [rbp], rax
mov r12, rcx
mov qword [rsp + 0x60], rcx
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
mov r8d, 4
lea rdx, str.PcaSvc
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rdi, rdi
je 0x1400721f4
test rax, rax
je 0x1400721f4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 0x38], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rbp - 0x58]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r8d, dword [rbp - 0x3c]
jmp 0x1400721f7
xor r8d, r8d
test r8, r8
jne 0x140072262
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov r8d, 1
lea rdx, [0x140216fe4]
lea rcx, [rbp - 0x58]
call fcn.140071dd0
nop
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140072cb0
nop
lea r9, [fcn.140071a90]
mov edx, 0x20
mov r8d, 1
lea rcx, [rbp - 0x58]
call fcn.14019ec98
jmp 0x14007265d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r13, rax
xorps xmm1, xmm1
test rax, rax
jne 0x1400722bf
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
mov r8d, 1
lea rdx, [0x140216fe4]
lea rcx, [rbp - 0x58]
call fcn.140071dd0
nop
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140072cb0
nop
jmp 0x140072242
xor eax, eax
movdqu xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], rax
mov r9d, 0x30
lea r8, [rbp - 0x30]
mov rdx, qword [0x140242400]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x140072641
nop
cmp dword [rbp - 0x10], 0x1000
jne 0x140072613
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], send
mov byte [rsp + 0x38], 0
mov rbx, qword [rbp - 0x18]
test rbx, rbx
jne 0x140072330
mov qword [rsp + 0x48], rbx
mov byte [rsp + rbx + 0x38], bl
jmp 0x14007235c
lea rcx, [rsp + 0x38]
cmp rbx, 0xf
ja 0x140072351
mov qword [rsp + 0x48], rbx
mov r8, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov byte [rsp + rbx + 0x38], 0
jmp 0x14007235c
mov r9, rbx
mov rdx, rbx
call fcn.140073250
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova r8, qword [rsp + 0x38]
mov qword [rsp + 0x20], 0
mov r9, qword [rbp - 0x18]
mov rdx, qword [0x140242400]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1400723d5
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140072613
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007260e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007260e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor ebx, ebx
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x38]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xor ecx, ecx
mov qword [rbp - 0x68], rcx
mov edx, send
mov qword [rbp - 0x60], rdx
mov byte [rbp - 0x78], cl
lea rdi, [rbx - 1]
nop
lea rax, [rsp + 0x38]
cmp r14, 0xf
seta r8b
cmova rax, rsi
cmp byte [rax + rdi], 0x20
jle 0x140072480
lea rax, [rsp + 0x38]
test r8b, r8b
cmovne rax, rsi
cmp byte [rax + rdi], 0x7b
jge 0x140072480
lea rax, [rsp + 0x38]
cmp r14, 0xf
cmova rax, rsi
movzx r9d, byte [rax + rdi]
cmp rcx, rdx
jae 0x140072460
lea rax, [rcx + 1]
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
cmp rdx, 0xf
cmova rax, qword [rbp - 0x78]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140072469
lea rcx, [rbp - 0x78]
call fcn.1400730e0
inc rdi
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x38]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
jmp 0x140072400
lea rax, [rbp - 0x78]
cmp rdx, 0xf
seta r9b
mov r8, qword [rbp - 0x78]
cmova rax, r8
cmp byte [rcx + rax - 4], 0x2e
je 0x1400724d1
test r9b, r9b
je 0x140072547
inc rdx
mov rax, r8
cmp rdx, 0x1000
jb 0x1400724cc
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140072695
mov rcx, r8
jmp 0x140072538
mov rax, qword [rsp + 0x78]
cmp rax, qword [rbp - 0x80]
je 0x1400724f0
lea rdx, [rbp - 0x78]
mov rcx, rax
call fcn.140072df0
add qword [rsp + 0x78], 0x20
jmp 0x140072502
lea r8, [rbp - 0x78]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1400737b0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x14007253d
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140072538
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140072695
call fcn.14019ec64
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x38]
inc rbx
lea r15, [rsp + 0x38]
cmp r14, 0xf
cmova r15, rsi
mov rax, qword [rsp + 0x48]
cmp rax, 2
jb 0x1400725cb
add rax, 0xfffffffffffffffe
cmp rbx, rax
ja 0x1400725cb
lea rdi, [rax + r15]
lea rcx, [r15 + rbx]
lea r8, [rdi + 1]
sub r8, rcx
mov edx, 0x3a
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x1400725cb
nop dword [rax]
cmp byte [rbx], 0x3a
jne 0x14007259f
cmp byte [rbx + 1], 0x5c
jne 0x14007259f
xor eax, eax
jmp 0x1400725a4
sbb eax, eax
or eax, 1
test eax, eax
je 0x14007268d
inc rbx
lea r8, [rdi + 1]
sub r8, rbx
mov edx, 0x3a
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140072590
mov rbx, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
jne 0x1400723e1
cmp r14, 0xf
jbe 0x140072613
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14007260b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400723ce
mov rcx, rsi
call fcn.14019ec64
mov rdx, qword [0x140242400]
add rdx, qword [rbp - 0x18]
mov qword [0x140242400], rdx
mov r9d, 0x30
lea r8, [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
jne 0x1400722f0
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x70]
mov qword [r12], rax
mov qword [r12 + 8], rcx
mov qword [r12 + 0x10], rdx
mov rax, r12
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14019ec00
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
sub rbx, r15
jmp 0x1400725d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3