Function at 0x14014c0af
Capabilities:
Enumerate services
Query service configuration

Disassembly:
jmp 0x1403c0640
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x2e0
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x308]
mov rax, qword [0x140452080]
xor rax, rbp
mov qword [rbp + 0x290], rax
lea rcx, [0x1404686d8]
call fcn.14014e418
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 3
mov edx, 0xb
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x1403c06ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x1403c06ee
mov al, 1
jmp 0x1403c091f
mov eax, dword [rbp + 4]
add rax, 0x30
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
mov ecx, eax
call fcn.14014cfc8
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x1f8]
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x38], 0
lea rax, [rbp + 0x24]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 4]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp + 0x48]
mov r8d, 3
mov edx, 0xb
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x1403c08dc
mov dword [rbp + 0x64], 0
jmp 0x1403c076b
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x24]
cmp dword [rbp + 0x64], eax
jae 0x1403c0897
mov eax, dword [rbp + 0x64]
imul rax, rax, 0x30
lea rcx, [rbp + 0x88]
mov rdx, qword [rbp + 0x48]
mov rdi, rcx
lea rsi, [rdx + rax]
mov ecx, 0x30
rep movsb byte [rdi], byte [rsi]
mov r8d, 1
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
je 0x1403c0892
mov ecx, 0x1fa0
call fcn.14014cfc8
mov qword [rbp + 0x218], rax
mov rax, qword [rbp + 0x218]
mov qword [rbp + 0xf8], rax
mov dword [rbp + 0x114], 0
lea r9, [rbp + 0x114]
mov r8d, 0x1fa0
mov rdx, qword [rbp + 0xf8]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x1403c0885
mov rdx, qword [str.i64.sys]
mov rax, qword [rbp + 0xf8]
mov rcx, qword [rax + 0x10]
call fcn.14014d03b
test rax, rax
je 0x1403c0885
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x238], rax
mov rcx, qword [rbp + 0x238]
call fcn.14014d130
cmp qword [rbp + 0x238], 0
jne 0x1403c085e
mov qword [rbp + 0x288], 0
jmp 0x1403c0871
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x288], rax
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x1403c091f
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1403c0763
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x258], rax
mov rcx, qword [rbp + 0x258]
call fcn.14014d130
cmp qword [rbp + 0x258], 0
jne 0x1403c08c5
mov qword [rbp + 0x288], 0
jmp 0x1403c08d8
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x288], rax
xor al, al
jmp 0x1403c091f
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x278], rax
mov rcx, qword [rbp + 0x278]
call fcn.14014d130
cmp qword [rbp + 0x278], 0
jne 0x1403c090a
mov qword [rbp + 0x288], 0
jmp 0x1403c091d
mov qword [rbp + 0x48], 0x8123
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x288], rax
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x140439000]
call fcn.14014ddd8
mov rax, rdi
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.14014d149
lea rsp, [rbp + 0x2a0]
pop rdi
pop rsi
pop rbp
ret