Function at 0x1800322a0
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 0x1800322d1
mov rdi, qword [rcx]
call fcn.1800d4990
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rsi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.180031a30
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.180031b90
cmp rax, r11
je 0x18003233b
nop dword [rax]
nop dword [rax + rax]
lea rcx, [r10 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x18003233b
cmp dx, 0x2f
je 0x18003233b
mov r10, rcx
cmp rax, rcx
jne 0x180032320
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.1800d4990
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 0x27]
call fcn.1800329c0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x1800323d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800323d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180032597
call fcn.1800d95dc
movdqa xmm0, xmmword [0x1801862b0]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r14w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x18003242a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032425
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003259d
call fcn.1800d95dc
movdqa xmm0, xmmword [0x1801862b0]
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 0x180032513
mov rcx, rax
call fcn.180031cb0
test al, al
jne 0x180032513
mov rcx, rdi
call fcn.180032050
test al, al
jne 0x180032513
cmp qword [rbx + 0x18], 0xf
jbe 0x180032482
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 0x180032569
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 0x180032569
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor sil, sil
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x18003254d
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032548
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180032591
call fcn.1800d95dc
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 0x180032516
call fcn.1800e5940
nop
call fcn.1800e5940
nop
call fcn.1800e5940
int3