Function at 0x140011a14
Capabilities:
Query service status

Disassembly:
jmp 0x140025050
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x468
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0xae
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x488]
mov rax, qword [0x14003e080]
xor rax, rbp
mov qword [rbp + 0x428], rax
mov dword [rbp + 0x3f4], 0
lea rcx, [0x1400472a1]
call fcn.140011c67
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x450]
add rax, 0x28
mov rcx, rax
call fcn.1400110cd
lea rcx, [rbp + 4]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x140025183
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x1f8]
call fcn.14001140b
mov qword [rbp + 0x408], rax
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x410], rax
mov r8, qword [rbp + 0x410]
lea rdx, str.Failed_to_get_service_status_buffer_size:
lea rcx, [rbp + 0x238]
call fcn.140011cad
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x418]
mov qword [rbp + 0x420], rax
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x1c8]
call fcn.14001143d
lea rdx, [0x14003d1d0]
lea rcx, [rbp + 0x1c8]
call fcn.140011d89
nop
lea rcx, [rbp + 0x238]
call fcn.14001123a
lea rcx, [rbp + 0x1f8]
call fcn.14001123a
nop
cmp dword [rbp + 4], 0
jne 0x140025225
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x2a8]
call fcn.14001140b
mov qword [rbp + 0x408], rax
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x410], rax
mov r8, qword [rbp + 0x410]
lea rdx, str.Service_status_buffer_size_is_zero:
lea rcx, [rbp + 0x2e8]
call fcn.140011cad
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x418]
mov qword [rbp + 0x420], rax
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x278]
call fcn.14001143d
lea rdx, [0x14003d1d0]
lea rcx, [rbp + 0x278]
call fcn.140011d89
nop
lea rcx, [rbp + 0x2e8]
call fcn.14001123a
lea rcx, [rbp + 0x2a8]
call fcn.14001123a
nop
mov eax, dword [rbp + 4]
mov ecx, eax
call fcn.14001153c
mov qword [rbp + 0x328], rax
mov rax, qword [rbp + 0x328]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 4]
mov dword [rbp + 0x404], eax
mov rax, qword [rbp + 0x450]
add rax, 0x28
mov rcx, rax
call fcn.1400110cd
mov rax, qword [rax]
mov qword [rbp + 0x408], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x404]
mov r8, qword [rbp + 0x28]
xor edx, edx
mov rcx, qword [rbp + 0x408]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x14002532a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x378]
call fcn.14001140b
mov qword [rbp + 0x408], rax
mov rax, qword [rbp + 0x408]
mov qword [rbp + 0x410], rax
mov r8, qword [rbp + 0x410]
lea rdx, str.Failed_to_get_service_status:
lea rcx, [rbp + 0x3b8]
call fcn.140011cad
mov qword [rbp + 0x418], rax
mov rax, qword [rbp + 0x418]
mov qword [rbp + 0x420], rax
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x348]
call fcn.14001143d
lea rdx, [0x14003d1d0]
lea rcx, [rbp + 0x348]
call fcn.140011d89
nop
lea rcx, [rbp + 0x3b8]
call fcn.14001123a
lea rcx, [rbp + 0x378]
call fcn.14001123a
nop
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x458]
call fcn.140011b36
mov eax, dword [rbp + 0x3f4]
or eax, 1
mov dword [rbp + 0x3f4], eax
mov rax, qword [rbp + 0x458]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140035d70]
call fcn.140011a50
mov rax, rdi
mov rcx, qword [rbp + 0x428]
xor rcx, rbp
call fcn.1400115f0
lea rsp, [rbp + 0x438]
pop rdi
pop rbp
ret