Function at 0x5562f0
Capabilities:
Create process on windows
Enumerate services

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0xe0
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0x88], rbp
nop
mov qword [rbp + 0xb0], 0
lea rcx, [0x0055673c]
xor edx, edx
mov r8d, 5
call sub.advapi32.dll_OpenSCManagerW
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
je 0x556674
nop
mov dword [rbp + 0xc4], 0
mov rcx, qword [rbp + 0xd8]
mov edx, 0x130
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0xcc]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x38], rax
call sub.advapi32.dll_EnumServicesStatusA
test eax, eax
jne 0x5564a7
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x5563fb
call sub.kernel32.dll_GetLastError
cmp eax, 0xea
jne 0x556664
lea rcx, [rbp + 0xb8]
mov rdx, qword [0x005562a8]
mov r8d, 1
mov r9d, dword [rbp + 0xcc]
call fcn.00415a20
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0xb0], rax
mov rax, qword [rbp + 0xb8]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
je 0x556453
mov rax, qword [rbp + 0x98]
mov rax, qword [rax - 8]
mov qword [rbp + 0x98], rax
mov rcx, qword [rbp + 0xd8]
mov edx, 0x130
mov r8d, 1
mov r9, qword [rbp + 0xb0]
mov eax, dword [rbp + 0x98]
mov dword [rsp + 0x20], eax
lea rax, [rbp + 0xcc]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc4]
mov qword [rsp + 0x38], rax
call sub.advapi32.dll_EnumServicesStatusW
test eax, eax
je 0x556664
cmp dword [rbp + 0xc8], 0
jbe 0x556655
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xa8], rax
xor eax, eax
mov ecx, dword [rbp + 0xc8]
sub ecx, 1
mov dword [rbp + 0x44], ecx
mov dword [rbp + 0xd0], eax
mov ecx, dword [rbp + 0x44]
cmp dword [rbp + 0xd0], ecx
jg 0x556654
mov ecx, dword [rbp + 0x44]
sub ecx, eax
add ecx, 1
mov dword [rbp + 0x44], ecx
nop
mov rax, qword [0x00588040]
mov rax, qword [rax + 0x38]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x28]
xor ecx, ecx
mov ebx, eax
sub ebx, 1
mov dword [rbp + 0xd4], ecx
cmp dword [rbp + 0xd4], ebx
jg 0x55662d
sub ebx, ecx
add ebx, 1
mov rax, qword [0x00588040]
mov rax, qword [rax + 0x38]
mov rcx, rax
lea rdx, [rbp + 0x78]
mov r8d, dword [rbp + 0xd4]
mov rsi, qword [rax]
call qword [rsi + 0x18]
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
call fcn.004128b0
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x70]
call fcn.00430cc0
lea rcx, [rbp + 0x60]
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
call fcn.00412110
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.00430cc0
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x68]
call fcn.00412680
test eax, eax
jne 0x55661b
mov rax, qword [rbp + 0xa8]
cmp dword [rax + 0x14], 4
jne 0x55661b
lea rcx, [rbp + 0x48]
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
call fcn.00412110
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
call fcn.00430d10
lea rcx, [rbp + 0x58]
mov edx, 3
lea r8, [0x00556754]
mov r9, qword [rbp + 0x50]
lea rax, [0x00556768]
mov qword [rsp + 0x20], rax
call fcn.00412570
mov rcx, qword [rbp + 0x58]
call fcn.004121c0
xor ecx, ecx
lea rdx, [0x0055673e]
lea r8, [0x00556748]
mov r9, rax
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call sub.shell32.dll_ShellExecuteW
add dword [rbp + 0xd4], 1
sub ebx, 1
test ebx, ebx
jne 0x556523
nop
jmp 0x556638
add qword [rbp + 0xa8], 0x30
mov eax, dword [rbp + 0x44]
sub eax, 1
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
test eax, eax
jne 0x5564f0
nop
nop
mov rcx, qword [rbp + 0xd8]
call sub.advapi32.dll_CloseServiceHandle
jmp 0x556674
xor ecx, ecx
mov rdx, qword [rbp + 0x88]
call fcn.005566d0
jmp 0x556675
nop
lea rcx, [rbp + 0x48]
mov edx, 6
call fcn.00410cb0
lea rcx, [rbp + 0x78]
call fcn.00410b30
lea rcx, [rbp + 0x80]
call fcn.00410bd0
lea rcx, [rbp + 0xb8]
mov rdx, qword [0x005562a8]
call fcn.00415bf0
lea rsp, [rbp + 0xe0]
pop rbx
pop rsi
pop rbp
ret