Function at 0x1800630a0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x180090f80]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r13, qword [rbp + 0x90]
lea eax, [r9 - 0xe]
mov qword [rbp - 0x30], r8
mov ebx, r9d
mov dword [rsp + 0x5c], ebx
mov rdi, rcx
mov qword [rsp + 0x60], rdx
mov qword [rbp - 0x70], rcx
mov dword [rsp + 0x78], eax
cmp r9d, eax
jbe case.0x180063182.6
movzx r8d, byte [rsp + 0x50]
lea eax, [r9 - 0xf6]
mov esi, dword [rbp - 0x78]
lea r10, [0x180000000]
mov r14d, dword [rsp + 0x78]
xor r9d, r9d
mov r15, qword [rbp - 0x40]
movabs r11, 0x6e00720065006b
mov r12d, dword [rsp + 0x78]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x58], r8d
nop dword [rax]
cmp eax, 0x24
ja case.0x18006315d.14
movzx eax, byte [r10 + rax + 0x63630]
mov ecx, dword [r10 + rax*4 + 0x635f4]
add rcx, r10
jmp rcx
cmp qword [r13 + 0x20], 0
je 0x18006320a
mov ebx, r9d
nop dword [rax]
cmp ebx, 6
ja case.default.0x180063182
mov eax, ebx
mov ecx, dword [r10 + rax*4 + 0x63658]
add rcx, r10
jmp rcx
mov esi, r9d
mov dword [rbp - 0x78], r9d
mov r14d, 0xb
jmp case.default.0x180063182
mov dword [rbp - 0x68], r9d
jmp case.default.0x180063182
mov r15, r9
jmp case.default.0x180063182
mov r12d, 1
jmp case.default.0x180063182
mov byte [rbp - 0x80], 1
jmp case.default.0x180063182
mov qword [rsp + 0x48], r9
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], r9
mov r8d, r14d
mov qword [rsp + 0x38], rax
mov edx, esi
lea rax, [rbp - 0x68]
mov dword [rsp + 0x70], r9d
mov qword [rsp + 0x30], rax
mov rcx, r15
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r9
mov r9d, r12d
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
xor r9d, r9d
lea r10, [0x180000000]
inc ebx
lea eax, [rbx + 0x110]
cmp eax, 0x117
jb 0x180063170
mov ebx, dword [rsp + 0x5c]
xor r8d, r8d
mov edx, 0x86
mov rcx, r13
call fcn.180023ec0
test al, al
je 0x1800635b1
mov edx, 0x28
lea ecx, [rdx + 0x18]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
lea rcx, [rbp - 0x28]
mov qword [rbp - 0x48], rax
call qword [rbp - 0x38]
mov r8d, dword [rsp + 0x58]
xor r9d, r9d
mov rdx, qword [rsp + 0x60]
lea r10, [0x180000000]
movabs r11, 0x6e00720065006b
jmp case.0x18006315d.14
mov r8d, 3
mov word [rbp + 0x20], r9w
lea rdx, [0x1800820e6]
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov r8d, dword [rsp + 0x58]
xor r9d, r9d
mov word [rbp + 0x26], r9w
jmp 0x180063243
lea r8, [rbp + 8]
mov word [rbp + 0x30], r9w
mov edx, 0xb2
mov byte [rsp + 0x58], 1
lea rcx, [rbp + 0x18]
call fcn.18005f890
mov qword [rbp - 0x38], rax
jmp 0x18006323b
cmp dword [rdx], 0
mov edi, r9d
jle case.0x18006315d.14
mov rbx, qword [rbp - 0x70]
inc rbx
nop
mov qword [rsp + 0x30], r9
mov r8, r13
mov qword [rsp + 0x28], r9
mov edx, 0x8f
mov qword [rsp + 0x20], r9
xor ecx, ecx
xor r9d, r9d
call fcn.180044950
mov byte [rbx + 1], al
xor r9d, r9d
xor eax, eax
mov r8, r13
mov qword [rsp + 0x30], rax
mov edx, 0x8f
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.180044950
mov byte [rbx], al
xor r9d, r9d
xor eax, eax
mov r8, r13
mov qword [rsp + 0x30], rax
mov edx, 0x8f
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.180044950
mov rcx, qword [rbp - 0x30]
mov r9d, 0
mov rdx, qword [rsp + 0x60]
mov byte [rbx - 1], al
lea rbx, [rbx + 4]
mov eax, 0xff
cmp dword [rcx], edi
cmove eax, r9d
inc edi
mov byte [rbx - 2], al
cmp edi, dword [rdx]
jl 0x1800632c0
mov r8d, dword [rsp + 0x58]
lea r10, [0x180000000]
movabs r11, 0x6e00720065006b
mov ebx, dword [rsp + 0x5c]
dec dword [rsp + 0x68]
dec ebx
mov dword [rsp + 0x5c], ebx
cmp ebx, dword [rsp + 0x78]
jbe case.0x180063182.6
mov rdi, qword [rbp - 0x70]
mov eax, dword [rsp + 0x68]
jmp 0x180063140
movzx eax, word [0x18007aac4]
mov word [rbp + 0x13], ax
movzx eax, byte [0x18007aac6]
mov byte [rbp + 0x15], al
mov qword [rbp + 0x18], r11
jmp case.0x18006315d.14
mov eax, dword [rbp - 8]
mov ecx, eax
mov dword [r13 + 0x28], eax
add rcx, rcx
mov eax, 0x30
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18007648c
mov r8d, dword [rsp + 0x58]
mov qword [r13 + 0x10], rax
test r8b, r8b
je 0x180063240
mov rbx, qword [rbp - 0x48]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
mov rcx, rbx
test eax, eax
jne 0x18006341d
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rsp + 0x60]
xor r8b, r8b
mov dword [rsp + 0x58], r8d
xor r9d, r9d
jmp 0x18006335f
call qword [sym.imp.ADVAPI32.dll_IsValidSecurityDescriptor]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rdx, qword [rsp + 0x60]
xor r9d, r9d
jmp 0x18006335a
lea rcx, [rbp + 8]
mov byte [rbp + 8], 0
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180063444
mov eax, dword [str.GetSy]
mov dword [rcx], eax
movzx eax, word [0x1800820fc]
mov word [rcx + 4], ax
mov eax, 0x73
lea rcx, [rbp + 8]
mov word [rbp + 0xd], ax
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x180063471
mov eax, dword [str.temIn]
mov dword [rcx], eax
movzx eax, word [0x18007aac0]
mov word [rcx + 4], ax
jmp case.0x18006315d.14
mov qword [rbp - 0x80], rdi
jmp case.0x18006315d.14
movsd xmm0, qword [0x180082110]
movzx eax, word [0x180082118]
movsd qword [rbp + 0x26], xmm0
mov word [rbp + 0x2e], ax
jmp case.0x18006315d.14
mov rbx, qword [r13 + 0x38]
and rbx, qword [rbp - 0x50]
je 0x180063370
mov esi, dword [rbp - 0x58]
nop word [rax + rax]
xor r8d, r8d
mov qword [rbp - 0x70], rbx
lea rdx, [rbp - 0x70]
lea ecx, [r8 + 0x68]
call fcn.18001dfd0
movzx edx, byte [r13 + 0x42]
lea r10, [0x180000000]
shl rdx, 6
mov ecx, eax
add rdx, rcx
mov rcx, qword [rbp - 0x40]
test qword [r10 + rdx*8 + 0x136ab0], rcx
je 0x18006353d
mov dword [rbp - 0x60], eax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x70], esi
mov r9, rdi
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x60]
mov byte [rsp + 0x50], 0
mov ecx, 0x121
call fcn.18002d710
mov rdi, rax
lea r10, [0x180000000]
lea rax, [rbx - 1]
and rbx, rax
jne 0x1800634d0
mov esi, dword [rbp - 0x78]
xor r9d, r9d
mov rdx, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
mov qword [rbp - 0x70], rdi
jmp 0x180063366
movzx eax, byte [r13 + 0x41]
test al, al
je 0x1800635b7
mov dword [rbp - 0x58], eax
mov ecx, eax
mov eax, 1
shl rax, cl
cmp byte [r13 + 0x42], 0
mov qword [rbp - 0x40], rax
je 0x18006358d
mov rax, qword [r13]
mov qword [rbp - 0x50], rax
jmp case.0x18006315d.14
mov rax, qword [r13 + 8]
mov qword [rbp - 0x50], rax
jmp case.0x18006315d.14
cmp qword [rbp - 0x48], 0
movzx r8d, r8b
cmove r8d, r9d
mov dword [rsp + 0x58], r8d
jmp case.0x18006315d.14
mov byte [rbp - 0x80], 0
jmp case.0x180063182.6
mov rax, rdi
jmp 0x1800635c4
mov byte [rbp - 0x80], 1
mov rax, qword [rbp - 0x80]
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.180076c30
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret