Function at 0x1800325d0
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 0x180032601
mov rdi, qword [rcx]
call fcn.1800d4fd0
mov qword [rbp - 0x29], rdi
mov qword [rbp - 0x21], rsi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 7]
call fcn.180031d60
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.180031ec0
cmp rax, r11
je 0x18003266b
nop dword [rax]
nop dword [rax + rax]
lea rcx, [r10 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x18003266b
cmp dx, 0x2f
je 0x18003266b
mov r10, rcx
cmp rax, rcx
jne 0x180032650
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.180008fb0
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.1800d4fd0
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x29], xmm0
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp + 0x27]
call fcn.180032cf0
nop
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x180032708
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032703
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800328c7
call fcn.1800d9c1c
movdqa xmm0, xmmword [0x1801872a0]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r14w
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x18003275a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032755
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800328cd
call fcn.1800d9c1c
movdqa xmm0, xmmword [0x1801872a0]
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 0x180032843
mov rcx, rax
call fcn.180031fe0
test al, al
jne 0x180032843
mov rcx, rdi
call fcn.180032380
test al, al
jne 0x180032843
cmp qword [rbx + 0x18], 0xf
jbe 0x1800327b2
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 0x180032899
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 0x180032899
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor sil, sil
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x18003287d
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180032878
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800328c1
call fcn.1800d9c1c
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 0x180032846
call fcn.1800e5f80
nop
call fcn.1800e5f80
nop
call fcn.1800e5f80
int3