Function at 0x14005df50
Capabilities:
Enumerate processes
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1f0
mov rax, qword [0x14016d8a0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
test dl, dl
mov rdx, rcx
je 0x14005e059
lea rcx, [rsp + 0x38]
call fcn.140006730
mov rdi, rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbp, rax
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14005dfb6
mov rdx, qword [rdi]
mov r8d, 4
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, dword [rsp + 0x9c]
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14005e03e
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14005e039
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005e1fb
mov rcx, r8
call fcn.1400ddd4c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov r8d, ebx
jmp 0x14005e16a
lea rcx, [rsp + 0x58]
call fcn.140006730
mov rbx, rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
mov dword [rsp + 0xb0], 0x130
lea rdx, [rsp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14005e10f
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005e0a1
mov rdx, qword [rbx]
lea rcx, [rsp + 0xdc]
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov rcx, rbp
test eax, eax
je 0x14005e0c6
lea rdx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x14005e090
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [rsp + 0xb8]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14005e154
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005e108
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005e1ef
mov rcx, r8
call fcn.1400ddd4c
jmp 0x14005e154
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14005e152
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14005e14d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005e1ef
mov rcx, r8
call fcn.1400ddd4c
xor ebp, ebp
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov r8d, ebp
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x14005e1b0
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14005e1ab
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005e1f5
mov rcx, r8
call fcn.1400ddd4c
mov qword [rsi + 0x10], 0
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rax, rbx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400ddaa0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400ed164
nop
call fcn.1400ed164
nop
call fcn.1400ed164
int3