Function at 0x140020be0
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 [0x140200d38]
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.140021a90
mov qword [r15], rax
mov dword [rsp + 0x70], 1
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x1400210e1
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 0x1400210ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x1400210ab
mov edx, dword [rbp + 0x44]
lea r8, [rbp + 0x48]
lea rcx, [rbp + 0x48]
call fcn.140021af0
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 0x1400210ab
movdqa xmm0, xmmword [0x1401b5bd0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], r12w
mov r14d, r12d
cmp dword [rbp + 0x40], r12d
jbe 0x14002106e
nop dword [rax]
test rdi, rdi
je 0x14002105d
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 0x140020d70
lea rcx, [rsp + 0x50]
cmp rdx, 7
ja 0x140020da2
mov qword [rsp + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14013fdf0
mov word [rsp + rbx + 0x50], r12w
jmp 0x140020dab
xor r8d, r8d
call fcn.140014f60
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.14001fb50
mov rbx, rax
lea rax, [rbp + 0x60]
cmp rax, rbx
je 0x140020df1
lea rcx, [rbp + 0x60]
call fcn.1400151d0
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 0x140020e32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020e2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021123
call fcn.1401218ec
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140020e86
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020e81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021129
call fcn.1401218ec
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 0x140020ea3
lea rcx, [rsp + 0x78]
cmp rdx, 7
ja 0x140020ed4
mov qword [rbp - 0x78], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14013fdf0
mov word [rsp + rbx + 0x78], r12w
jmp 0x140020edd
xor r8d, r8d
call fcn.140014f60
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 0x140020f00
lea rcx, [rsp + 0x50]
cmp rdx, 7
ja 0x140020f32
mov qword [rsp + 0x60], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
call fcn.14013fdf0
mov word [rsp + rbx + 0x50], r12w
jmp 0x140020f3b
xor r8d, r8d
call fcn.140014f60
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.14001e100
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x30]
call fcn.14001e100
nop
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x10]
call fcn.14001e100
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.140022050
mov rdx, qword [r15 + 8]
movabs rcx, 0x1af286bca1af285
sub rcx, rdx
cmp rcx, 1
jb 0x14002113b
lea rcx, [rdx + 1]
mov qword [r15 + 8], rcx
mov qword [rbx + 8], rax
mov qword [rsi], rax
lea rcx, [rbp - 0x50]
call fcn.140021150
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140021008
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021003
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002112f
call fcn.1401218ec
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14002105d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021058
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021135
call fcn.1401218ec
add rdi, 0x38
inc r14d
cmp r14d, dword [rbp + 0x40]
jb 0x140020d40
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x1400210ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400210a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002111d
call fcn.1401218ec
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400210e1
mov rdx, qword [rbp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400210dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021117
call fcn.1401218ec
mov rax, r15
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140121cc0
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.1401431fc
nop
call fcn.1401431fc
nop
call fcn.1401431fc
nop
call fcn.1401431fc
nop
call fcn.1401431fc
nop
call fcn.1401431fc
nop
lea rcx, str.list_T__too_long
call fcn.1400ffb50
int3