Function at 0x180003260
Capabilities:
Create service
Persist via windows service

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800b44b0]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x70], r14d
cmp qword [rcx + 0x30], rdi
je 0x1800032fb
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
lea rdx, [rcx + 0x20]
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp - 0x78]
call fcn.180004550
nop
mov edi, 1
mov dword [rsp + 0x70], edi
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call fcn.18005e2d0
cmp dword [rax], edi
jbe 0x1800032fb
cmp qword [rbx + 0x50], r14
je 0x1800032fb
xor sil, sil
jmp 0x1800032fe
mov sil, 1
test dil, 1
je 0x18000332c
and edi, 0xfffffffe
mov dword [rsp + 0x70], edi
cmp qword [rbp - 0x60], 8
jb 0x18000331b
mov rcx, qword [rbp - 0x78]
call fcn.180022e04
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
test sil, sil
jne 0x1800034d3
mov rcx, rbx
call fcn.1800039e0
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1800034d3
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
mov r8d, 0xe
lea rdx, str.rundll32.exe__
lea rcx, [rbp - 0x78]
call fcn.1800046a0
nop
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x18]
call fcn.180002ed0
nop
lea r8, [0x180083170]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.180002f40
nop
lea r8, [rbx + 0x40]
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.180002ed0
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1800033cc
mov rcx, qword [rax]
mov rax, qword [rbx + 0x18]
cmp rax, 8
jb 0x1800033db
mov r8, qword [rbx]
jmp 0x1800033de
mov r8, rbx
cmp rax, 8
jb 0x1800033e9
mov rdx, qword [rbx]
jmp 0x1800033ec
mov rdx, rbx
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], rcx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
mov r9d, 0xf01ff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rsi, rax
cmp qword [rbp - 0x20], 8
jb 0x180003444
mov rcx, qword [rbp - 0x38]
call fcn.180022e04
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
cmp qword [rbp - 0x40], 8
jb 0x180003465
mov rcx, qword [rbp - 0x58]
call fcn.180022e04
mov qword [rbp - 0x40], 7
mov qword [rbp - 0x48], r14
mov word [rbp - 0x58], r14w
cmp qword [rbp], 8
jb 0x180003486
mov rcx, qword [rbp - 0x18]
call fcn.180022e04
mov qword [rbp], 7
mov qword [rbp - 8], r14
mov word [rbp - 0x18], r14w
cmp qword [rbp - 0x60], 8
jb 0x1800034a7
mov rcx, qword [rbp - 0x78]
call fcn.180022e04
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
test rsi, rsi
jne 0x1800034d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
je 0x1800034d7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
jmp 0x1800034f6
mov rdx, rsi
mov rcx, rbx
call fcn.180003680
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.180022a00
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret