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

Disassembly:
push rbp
push rbx
sub rsp, 0xe8
mov rbp, rsp
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x78], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0x88], rbp
nop
mov qword [rbp + 0xb0], 0
lea rcx, [0x00451344]
xor edx, edx
mov r8d, 5
call sub.advapi32.dll_OpenSCManagerW
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
je 0x4512aa
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 0x4510ee
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x451042
call sub.kernel32.dll_GetLastError
cmp eax, 0xea
jne 0x45129a
lea rcx, [rbp + 0xb8]
mov rdx, qword [0x00450ef8]
mov r8d, 1
mov r9d, dword [rbp + 0xcc]
call fcn.00410430
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 0x45109a
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 0x45129a
cmp dword [rbp + 0xc8], 0
jbe 0x45128b
mov rax, qword [rbp + 0xb0]
mov qword [rbp + 0xa8], rax
xor eax, eax
mov ecx, dword [rbp + 0xc8]
sub ecx, 1
mov dword [rbp + 0x4c], ecx
mov dword [rbp + 0xd0], eax
mov ecx, dword [rbp + 0x4c]
cmp dword [rbp + 0xd0], ecx
jg 0x45128a
mov ecx, dword [rbp + 0x4c]
sub ecx, eax
add ecx, 1
mov dword [rbp + 0x4c], ecx
nop
xor eax, eax
mov rcx, qword [0x00465110]
mov rcx, qword [rcx + 0x48]
mov ebx, dword [rcx + 0x10]
sub ebx, 1
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], ebx
jg 0x451263
sub ebx, eax
add ebx, 1
lea rcx, [rbp + 0x78]
mov rax, qword [0x00465110]
mov rax, qword [rax + 0x48]
mov rax, qword [rax + 8]
movsxd rdx, dword [rbp + 0xd4]
mov rdx, qword [rax + rdx*8]
call fcn.0040d850
lea rcx, [rbp + 0x80]
mov rdx, qword [rbp + 0x78]
call fcn.004220f0
lea rcx, [rbp + 0x68]
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
call fcn.0040d0d0
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x68]
call fcn.004220f0
mov rcx, qword [rbp + 0x80]
mov rdx, qword [rbp + 0x70]
call fcn.0040d640
test eax, eax
jne 0x451251
mov rax, qword [rbp + 0xa8]
cmp dword [rax + 0x14], 4
jne 0x451251
lea rcx, [rbp + 0x50]
mov rax, qword [rbp + 0xa8]
mov rdx, qword [rax]
call fcn.0040d0d0
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call fcn.00422140
lea rcx, [rbp + 0x60]
mov edx, 3
lea r8, [0x0045135c]
mov r9, qword [rbp + 0x58]
lea rax, [0x00451370]
mov qword [rsp + 0x20], rax
call fcn.0040d530
mov rcx, qword [rbp + 0x60]
call fcn.0040d180
xor ecx, ecx
lea rdx, [0x00451346]
lea r8, [0x00451350]
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 0x451162
nop
jmp 0x45126e
add qword [rbp + 0xa8], 0x30
mov eax, dword [rbp + 0x4c]
sub eax, 1
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x4c]
test eax, eax
jne 0x451137
nop
nop
mov rcx, qword [rbp + 0xd8]
call sub.advapi32.dll_CloseServiceHandle
jmp 0x4512aa
xor ecx, ecx
mov rdx, qword [rbp + 0x88]
call fcn.004512f0
jmp 0x4512ab
nop
lea rcx, [rbp + 0x50]
mov edx, 7
call fcn.0040be70
lea rcx, [rbp + 0xb8]
mov rdx, qword [0x00450ef8]
call fcn.00410600
lea rsp, [rbp + 0xe8]
pop rbx
pop rbp
ret