Function at 0x14000c420
Capabilities:
Modify service

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rbp], rax
mov rbx, rcx
xor esi, esi
mov dword [rbp - 0x78], esi
lea rcx, [rbp - 0x20]
call fcn.14000a6e0
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000c470
mov r8, qword [rbx]
mov r9, qword [rbx + 0x10]
xor edx, edx
mov rcx, rax
call fcn.140001d70
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rbp - 0x78], 1
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x14000c4e6
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c898
call fcn.14002d510
movdqa xmm0, xmmword [0x140088680]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdi, qword [rbp - 0x58]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.1400018c0
mov rbx, rax
mov dword [rbp - 0x78], 3
cmp rdi, 2
jb 0x14000c575
lea rcx, [rbp - 0x68]
mov rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x50]
cmp r8, 0x10
cmovae rcx, rdx
cmp byte [rcx], 0x22
je 0x14000c575
lea rax, [rbp - 0x68]
cmp r8, 0x10
cmovae rax, rdx
cmp byte [rax + rdi - 1], 0x22
je 0x14000c575
mov r9d, 1
lea r8, [0x1400882bc]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.140001d70
mov r9d, 1
lea r8, [0x1400882bc]
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.140001d70
lea rax, [rbp - 0x68]
cmp rax, rbx
je 0x14000c5a5
lea rcx, [rbp - 0x68]
call fcn.140001130
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14000c5e0
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c5db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c89e
call fcn.14002d510
mov r8d, 9
lea rdx, str.__Service
lea rcx, [rbp - 0x68]
call fcn.140001500
lea rax, str.RegisterService:_filename_
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x1c
call fcn.1400087f0
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x40], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x40]
mov rcx, qword [rax + 0x1d8]
call fcn.140020130
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rcx, qword [rbp - 0x68]
call fcn.14000c020
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x14000c7d2
mov r8d, 0x12
lea rdx, str.asComSvc
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x14000c766
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea rax, str.UIGroup
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov edx, 0xffffffff
mov r9d, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x14000c74f
call fcn.1400087f0
mov qword [rsp + 0x78], rsi
lea rcx, str.ChangeServiceConfig_failed
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0x1a
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [rbp - 0x30], xmm1
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rbp - 0x40]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000c834
call fcn.1400087f0
mov qword [rsp + 0x78], rsi
lea rcx, str.OpenService_failed
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0x12
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [rbp - 0x30], xmm1
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rbp - 0x40]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000c834
call fcn.1400087f0
mov qword [rsp + 0x78], rsi
lea rcx, str.OpenSCManager_failed
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], 0x14
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x40], xmm0
movsd xmm1, qword [rbp - 0x80]
movsd qword [rbp - 0x30], xmm1
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rbp - 0x40]
mov rcx, qword [rax + 0x1d8]
call fcn.140005930
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14000c86b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c866
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c892
call fcn.14002d510
mov al, 1
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14002d4b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14004ecdc
nop
call fcn.14004ecdc
nop
call fcn.14004ecdc
int3