Function at 0x140036c20
Capabilities:
Create service
Start service

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
sub rsp, 0x180
lea rbp, [rsp + 0x90]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1401c7b80]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, rcx
call fcn.140004040
mov r9, rax
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x140036c74
mov r8, qword [rbx]
movabs rax, 0xb09554fd01e18463
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x80], rcx
movabs rax, 0xfb1a20842a555b1c
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x88], rcx
movabs rax, 0x158c20ab1fbb0a6d
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rcx, 0xc794e01b8fce676a
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs r12, 0x90f23a946580eb2f
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
movabs r13, 0x9a4a00e15c3c2958
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movabs rax, 0x15ff578e3f866219
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0x80], ymm1
lea rdx, [rbp + 0x80]
mov rcx, r9
vzeroupper
call fcn.140007aa0
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14003705a
lea rcx, [rbp + 0x40]
call fcn.140029530
nop
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.14001f5f0
nop
lea r9, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae r9, qword [rbp + 0x60]
lea r8, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae r8, qword [rbp + 0x40]
lea rdx, [rbp + 0x40]
cmovae rdx, qword [rbp + 0x40]
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r9
mov ebx, 1
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebx
mov r9d, 0xf01ff
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov r14, rax
mov rcx, rdi
test rax, rax
je 0x140036fa4
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x140036eb2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movabs rax, 0xe6805fc70be59b60
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x9a4a729319594a31
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movdqa xmm0, xmmword [rbp + 0xa0]
pxor xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0xa0], xmm0
xor r9d, r9d
lea r8, [rbp + 0xa0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, r15d
jmp 0x140036fcb
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140036faf
call fcn.140004040
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
movabs rax, 0xe29769e017e19f7c
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x20], rcx
movabs rax, 0xe80f20b6395f402e
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x28], rcx
movabs rax, 0x15ff0fb60fa3426b
mov qword [rbp], rax
mov rcx, qword [rbp]
mov qword [rbp + 0x30], rcx
movabs rcx, 0xc794e01b8fce676a
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
mov qword [rbp], r13
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x15ff578e3f866219
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0xa0]
vmovdqa ymmword [rbp + 0x20], ymm1
lea rdx, [rbp + 0x20]
mov rcx, rbx
vzeroupper
call fcn.140007aa0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, r15d
jmp 0x140036fcb
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x14003700b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037006
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140037090
call fcn.140133ef4
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], r15w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140037058
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037053
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003708a
call fcn.140133ef4
mov eax, ebx
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1401339b0
lea r11, [rsp + 0x180]
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
call fcn.14013d094
nop
call fcn.14013d094
nop
int3