Function at 0x140098e20
Capabilities:
Enumerate services
Query service configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x1a0
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1402930e8]
xor rax, rsp
mov qword [rbp + 0x130], rax
xor r12d, r12d
lea rax, [rbp + 0x84]
mov qword [rsp + 0x38], r12
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov r15, rcx
lea rax, [rbp + 0x80]
mov dword [rbp + 0x80], r12d
mov qword [rsp + 0x28], rax
lea edx, [r12 + 0xb]
lea r8d, [r12 + 3]
mov dword [rsp + 0x20], r12d
mov dword [rbp + 0x84], r12d
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x140098ec6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140098ec6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Cant_enum_service_list_error_code:__d___n
call fcn.14009b020
jmp 0x14009965e
mov eax, dword [rbp + 0x80]
add eax, 0x30
mov ecx, eax
mov dword [rbp + 0x80], eax
call fcn.140106748
mov ecx, dword [rbp + 0x80]
mov r14, rax
mov qword [rsp + 0x38], r12
lea rax, [rbp + 0x84]
mov qword [rsp + 0x30], rax
mov edx, listen
lea rax, [rbp + 0x80]
mov r9, r14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, r15
lea r8d, [rdx - 8]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x14009935f
mov ebx, r12d
cmp dword [rbp + 0x84], ebx
jbe 0x140098fdb
nop dword [rax]
nop word [rax + rax]
mov eax, ebx
mov r8d, 1
lea rcx, [rax + rax*2]
add rcx, rcx
movups xmm0, xmmword [r14 + rcx*8 + 0x10]
mov rdx, qword [r14 + rcx*8]
movups xmm1, xmmword [r14 + rcx*8 + 0x20]
mov rcx, r15
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm1
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x140098fcd
mov ecx, 0x1fa0
call fcn.140106748
lea r9, [rbp + 0x88]
mov dword [rbp + 0x88], r12d
mov r8d, 0x1fa0
mov rdx, rax
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x140098fc4
mov rcx, qword [rsi + 0x10]
lea rdx, str.iqvw64e.sys
call sub.VCRUNTIME140.dll_strstr
test rax, rax
jne 0x140098fea
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
inc ebx
cmp ebx, dword [rbp + 0x84]
jb 0x140098f40
mov rcx, r14
call fcn.140106740
xor al, al
jmp 0x140099660
mov rcx, r14
call fcn.140106740
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x10]
xorps xmm0, xmm0
mov qword [rbp + 0xb0], r12
movups xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0xa0], r12b
movabs rax, 0x78678d2590de1acf
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
movabs rbx, 0x8a3dd340ec1c6c16
mov qword [rbp], rax
movabs rsi, 0x7867d605b0fe3ac5
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x108], rax
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x10], xmm0
call fcn.140001c20
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 9
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x20]
xorps xmm0, xmm0
mov qword [rbp + 0xb0], r12
movups xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0xa0], r12b
movabs rax, 0x7867d605b0fe3ae8
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rbp + 0x118], rax
pxor xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x20], xmm0
call fcn.140001c20
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x7867d605b0fe3a98
mov qword [rbp + 0xb0], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0xa0], r12b
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
lea rdx, [rbp + 0x30]
mov qword [rbp + 0x120], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x30]
mov qword [rbp + 0x128], rax
pxor xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x30], xmm0
call fcn.140001c20
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0xa0], r12b
movabs rax, 0x1d04bf73c29b69e5
mov qword [rbp + 0xb0], r12
movabs rdx, 0xe3574e3c33caff7a
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xf35cb7259e700d36
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0xec2797b67229e57
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xc1f22c3242bffa7d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0x65eceb81ea7a0698
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x63a30a5b1443f677
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
movabs rax, 0xafd2495e2bd9da18
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movabs rax, 0x65eceb81cb1f6bf9
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
mov qword [rbp], rdx
lea rdx, [rbp + 0x40]
mov rax, qword [rbp]
movdqa xmm2, xmmword [rbp + 0x60]
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
mov qword [rbp + 0xe8], rax
vpxor xmm2, xmm2, xmmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x40], ymm1
vmovdqa xmmword [rbp + 0x60], xmm2
vzeroupper
call fcn.140001c20
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x140099660
mov rcx, r14
call fcn.140106740
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x30]
xorps xmm0, xmm0
mov qword [rbp + 0xd0], r12
movups xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xc0], r12b
movabs rax, 0x78678d2590de1acf
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
movabs rbx, 0x8a3dd340ec1c6c16
mov qword [rbp], rax
movabs rsi, 0x7867d605b0fe3ac5
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x120], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x30]
mov qword [rbp + 0x128], rax
pxor xmm0, xmmword [rbp + 0x120]
movdqa xmmword [rbp + 0x30], xmm0
call fcn.140001c20
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 9
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x20]
xorps xmm0, xmm0
mov qword [rbp + 0xd0], r12
movups xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xc0], r12b
movabs rax, 0x7867d605b0fe3ae8
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x20]
mov qword [rbp + 0x118], rax
pxor xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x20], xmm0
call fcn.140001c20
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x7867d605b0fe3a98
mov qword [rbp + 0xd0], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xc0], r12b
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
lea rdx, [rbp + 0x10]
mov qword [rbp + 0x100], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
movdqa xmm0, xmmword [rbp + 0x10]
mov qword [rbp + 0x108], rax
pxor xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x10], xmm0
call fcn.140001c20
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp + 0x40]
mov qword [rbp + 0xd0], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov byte [rbp + 0xc0], r12b
movabs rax, 0x5803b369d99f7ce5
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0xaa50a62e893c0362
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x43c6693262319304
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rax, 0xafd2495e5faab374
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
mov qword [rbp], rsi
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x63a30a5b1443f677
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0xafd2495e2bd9da18
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x40], ymm1
vzeroupper
call fcn.140001c20
mov al, 1
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140106b10
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret