Function at 0x1402bb6a0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14065ef68]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
mov r14, rcx
xor edi, edi
mov dword [rbp - 0x39], edi
mov r9d, dword [rcx + 0x38]
sub r9d, dword [rcx + 0x30]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov r8, qword [rcx + 0x30]
xor edx, edx
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1402bb9e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1402bb86f
mov rsi, qword [0x14068baa0]
test rsi, rsi
je 0x1402bb853
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test al, al
je 0x1402bb853
lea rcx, [rbp - 9]
call fcn.14028fbf0
mov rbx, rax
mov rdx, r14
lea rcx, [rbp + 0x17]
call fcn.14026b4a0
nop
mov r9, rbx
mov r8, rax
lea rdx, str.Unable_to_query_service_status._Service:____
lea rcx, [rbp - 0x29]
call fcn.1400758f0
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x1402bb797
inc rdx
mov rcx, qword [rbp + 0x17]
cmp rdx, 0x1000
jb 0x1402bb792
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402bb85a
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x17], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x1402bb7e2
inc rdx
mov rcx, qword [rbp - 9]
cmp rdx, 0x1000
jb 0x1402bb7dd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402bb861
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp + 7], rdi
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
mov rax, qword [rsi]
lea r9, [rbp - 0x29]
lea r8, str.eax::services::platform::_anonymous_namespace::Win32Service::getState
mov edx, 1
mov rcx, rsi
call qword [rax + gethostname]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1402bb843
inc rdx
mov rcx, qword [rbp - 0x29]
cmp rdx, 0x1000
jb 0x1402bb83e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402bb868
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x29], 0
xor eax, eax
jmp 0x1402bbb2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, [r14 + 0x30]
mov edx, dword [rbp - 0x39]
call fcn.140272600
mov r9d, dword [r14 + 0x38]
sub r9d, dword [r14 + 0x30]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
mov r8, qword [r14 + 0x30]
xor edx, edx
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x1402bb9e9
mov rsi, qword [0x14068baa0]
test rsi, rsi
je 0x1402bb853
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test al, al
je 0x1402bb853
lea rcx, [rbp + 0x17]
call fcn.14028fbf0
mov rbx, rax
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.14026b4a0
nop
mov r9, rbx
mov r8, rax
lea rdx, str.Unable_to_query_service_status._Service:____
lea rcx, [rbp - 0x29]
call fcn.1400758f0
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x1402bb928
inc rdx
mov rcx, qword [rbp - 9]
cmp rdx, 0x1000
jb 0x1402bb923
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402bb9db
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp + 7], rdi
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0x10
jb 0x1402bb96f
inc rdx
mov rcx, qword [rbp + 0x17]
cmp rdx, 0x1000
jb 0x1402bb96a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402bb9e2
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x17], 0
mov rax, qword [rsi]
lea r9, [rbp - 0x29]
lea r8, str.eax::services::platform::_anonymous_namespace::Win32Service::getState
mov edx, 1
mov rcx, rsi
call qword [rax + gethostname]
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x1402bb843
inc rdx
mov rcx, qword [rbp - 0x29]
cmp rdx, 0x1000
jb 0x1402bb83e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1402bb83b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rax, qword [r14 + 0x30]
mov ecx, dword [rax + 4]
dec ecx
cmp ecx, 6
ja case.default.0x1402bba08
lea rdx, [0x140000000]
mov ecx, dword [rdx + rcx*4 + 0x2bbb58]
add rcx, rdx
jmp rcx
mov edi, 1
jmp 0x1402bbb1a
mov edi, 2
jmp 0x1402bbb1a
mov edi, 3
jmp 0x1402bbb1a
mov edi, 4
jmp 0x1402bbb1a
mov edi, 5
jmp 0x1402bbb1a
mov edi, 6
jmp 0x1402bbb1a
mov edi, 7
jmp 0x1402bbb1a
lea r8, [rax + 4]
lea rdx, str.Unhandled_State_
lea rcx, [rbp - 9]
call fcn.1401ce910
nop
cmp qword [rax + 0x18], 0x10
jb 0x1402bba6f
mov rax, qword [rax]
mov qword [rbp - 0x29], rax
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x1402bba80
mov qword [rbp - 0x21], rcx
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
lea rcx, str.eax::services::platform::_anonymous_namespace::Win32Service::getState
mov qword [rsp + 0x20], rcx
mov r9d, 0x14f
lea r8, [0x140471c70]
lea rdx, str.kUnconditionalAssert
xor ecx, ecx
call fcn.14025de80
movzx ebx, al
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x1402bbb05
inc rdx
mov rcx, qword [rbp - 9]
cmp rdx, 0x1000
jb 0x1402bbb00
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1402bbb4f
mov rcx, r8
call fcn.1402f1e30
mov qword [rbp + 7], rdi
mov qword [rbp + reloc.WS2_32.dll_ntohs], 0xf
mov byte [rbp - 9], 0
test bl, bl
je 0x1402bbb1a
int3
test rsi, rsi
je 0x1402bbb29
mov rcx, qword [r14 + 0x30]
mov edx, dword [rcx + 0x18]
mov qword [rsi], rdx
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1402f2210
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3