Function at 0x140021cf0
Capabilities:
Enumerate services

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1b8
mov qword [rbp - 0x68], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rax, qword [0x140228058]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov esi, r9d
mov ebx, r8d
mov r15, rdx
mov r13, rcx
mov qword [rbp - 0x60], rdx
xor r12d, r12d
mov dword [rsp + 0x70], r12d
mov qword [rdx], r12
mov qword [rdx + 8], r12
xor r8d, r8d
xor edx, edx
call fcn.140022c00
mov qword [r15], rax
mov dword [rsp + 0x70], 1
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x1400221f1
mov dword [rbp + 0x44], r12d
mov dword [rbp + 0x40], r12d
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x44]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, ebx
mov r8d, esi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
jne 0x1400221bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1400221bb
mov edx, dword [rbp + 0x44]
lea r8, [rbp + 0x48]
lea rcx, [rbp + 0x48]
call fcn.140022c40
mov rdi, qword [rbp + 0x48]
mov rax, qword [rbp + 0x50]
sub rax, rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x44]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, ebx
mov r8d, esi
xor edx, edx
mov rcx, qword [r13 + 8]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExW]
test eax, eax
je 0x1400221bb
movdqa xmm0, xmmword [0x1401d8170]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov r14d, r12d
cmp dword [rbp + 0x40], r12d
jbe 0x14002217e
nop dword [rax]
test rdi, rdi
je 0x14002216d
mov r9, qword [rdi]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
mov rdx, 0xffffffffffffffff
nop word [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140021e80
lea rcx, [rsp + 0x50]
cmp rdx, 7
ja 0x140021eb2
mov qword [rsp + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14015c680
mov word [rsp + rbx + 0x50], r12w
jmp 0x140021ebb
xor r8d, r8d
call fcn.140015860
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.140020c10
mov rbx, rax
lea rax, [rbp + 0x60]
cmp rax, rbx
je 0x140021f01
lea rcx, [rbp + 0x60]
call fcn.140015ad0
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140021f42
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021f3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022233
call fcn.14013db80
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140021f96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021f91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022239
call fcn.14013db80
mov r9, qword [rdi + 8]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140021fb3
lea rcx, [rsp + 0x78]
cmp rdx, 7
ja 0x140021fe4
mov qword [rbp - 0x78], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14015c680
mov word [rsp + rbx + 0x78], r12w
jmp 0x140021fed
xor r8d, r8d
call fcn.140015860
nop
mov r9, qword [rdi]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [r9 + rdx*2], 0
jne 0x140022010
lea rcx, [rsp + 0x50]
cmp rdx, 7
ja 0x140022042
mov qword [rsp + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14015c680
mov word [rsp + rbx + 0x50], r12w
jmp 0x14002204b
xor r8d, r8d
call fcn.140015860
nop
movups xmm6, xmmword [rdi + 0x10]
movups xmm7, xmmword [rdi + 0x20]
mov ebx, dword [rdi + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14001f0e0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x30]
call fcn.14001f0e0
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.14001f0e0
movaps xmmword [rbp + 0x10], xmm6
movaps xmmword [rbp + 0x20], xmm7
mov dword [rbp + 0x30], ebx
mov rbx, qword [r15]
mov rsi, qword [rbx + 8]
lea r9, [rbp - 0x50]
mov r8, rsi
mov rdx, rbx
call fcn.140023180
mov rdx, qword [r15 + 8]
movabs rcx, 0x1af286bca1af285
sub rcx, rdx
cmp rcx, 1
jb 0x14002224b
lea rcx, [rdx + 1]
mov qword [r15 + 8], rcx
mov qword [rbx + 8], rax
mov qword [rsi], rax
lea rcx, [rbp - 0x50]
call fcn.140022260
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140022118
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022113
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002223f
call fcn.14013db80
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14002216d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022168
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022245
call fcn.14013db80
add rdi, 0x38
inc r14d
cmp r14d, dword [rbp + 0x40]
jb 0x140021e50
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x1400221bb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400221b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002222d
call fcn.14013db80
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400221f1
mov rdx, qword [rbp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400221ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022227
call fcn.14013db80
mov rax, r15
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.14013df50
movaps xmm6, xmmword [rsp + 0x1a0]
movaps xmm7, xmmword [rsp + 0x190]
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
call fcn.14015fb1c
nop
lea rcx, str.list_T__too_long
call fcn.14011ba24
int3