Function at 0x1800324c0
Capabilities:
Create service
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rbx, rcx
xor r14d, r14d
mov rsi, qword [rcx + 0x10]
mov rdi, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x1800324f1
mov rdi, qword [rcx]
call fcn.1800d5000
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rsi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.180031c50
nop
lea rcx, [rbp + 7]
cmp qword [rbp + 0x1f], 7
cmova rcx, qword [rbp + 7]
mov rax, qword [rbp + 0x17]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.180031db0
cmp rax, r11
je 0x18003255b
nop dword [rax]
nop dword [rax + rax]
lea rcx, [r10 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x18003255b
cmp dx, 0x2f
je 0x18003255b
mov r10, rcx
cmp rax, rcx
jne 0x180032540
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], r14
mov qword [rbp - 1], r14
mov r8, r11
mov rdx, r10
lea rcx, [rbp - 0x19]
call fcn.180008fd0
nop
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rax, qword [rbp - 0x19]
mov qword [rbp - 0x29], rax
mov rax, qword [rbp - 9]
mov qword [rbp - 0x21], rax
call fcn.1800d5000
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 0x27]
call fcn.180032be0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1800325f8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800325f3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800327b7
call fcn.1800d9c4c
movdqa xmm0, xmmword [0x180187330]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r14w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x18003264a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032645
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800327bd
call fcn.1800d9c4c
movdqa xmm0, xmmword [0x180187330]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], r14w
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x180032733
mov rcx, rax
call fcn.180031ed0
test al, al
jne 0x180032733
mov rcx, rdi
call fcn.180032270
test al, al
jne 0x180032733
cmp qword [rbx + 0x18], 0xf
jbe 0x1800326a2
mov rbx, qword [rbx]
lea r8, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0xf
cmova r8, qword [rbp + 0x27]
lea rdx, [rbp + 0x27]
cmova rdx, qword [rbp + 0x27]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
mov r9d, 0x10030
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rbx, rax
test rax, rax
jne 0x180032789
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0xf
cmova rdx, qword [rbp + 0x27]
lea r8d, [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rbx, rax
test rax, rax
jne 0x180032789
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor sil, sil
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x18003276d
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032768
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800327b1
call fcn.1800d9c4c
movzx eax, sil
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
setne sil
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x180032736
call fcn.1800e5fb0
nop
call fcn.1800e5fb0
nop
call fcn.1800e5fb0
int3