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

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x130
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa8], 0xfffffffffffffffe
lea rbx, str.my_system_service_INFO__Starting_service_control_dispatcher..._n
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], 0x11
mov r14, qword [0x1403d2d38]
mov rax, qword [r14]
cmp rax, 3
jb 0x14008ab95
lea rax, [rbp + 8]
mov qword [rbp + 0x18], rax
lea rax, [0x14003b630]
mov qword [rbp + 0x20], rax
lea rax, str._INFO__Starting_service_installation_for:
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], 1
mov qword [rbp + 0x98], 0
lea rax, [rbp + 0x18]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], 1
lea rcx, [0x1402ab468]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], 4
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], 4
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x78]
lea r8, [rbp + 0x50]
mov edx, 3
xor r9d, r9d
call fcn.1401a7b20
lea rcx, [rbp + 0x78]
call fcn.14020d540
mov rax, qword [rbp + 0x78]
mov rcx, qword [rbp + 0x80]
mov rdx, rax
neg rdx
jno 0x14008abbb
call fcn.140203c20
jmp 0x14008af37
movups xmm0, xmmword [rbp + 0x88]
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rcx
mov rax, qword [r14]
cmp rax, 3
jb 0x14008ac69
lea rax, [rbp + 0x18]
mov qword [rbp + 0x38], rax
lea rax, case.0x140213b9a.51
mov qword [rbp + 0x40], rax
lea rax, [0x1402ab4a0]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], 1
mov qword [rbp + 0x98], 0
lea rax, [rbp + 0x38]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x90], 1
lea rcx, [0x1402ab4b0]
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], 4
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], 4
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x78]
lea r8, [rbp + 0x50]
mov edx, 3
xor r9d, r9d
call fcn.1401a7b20
lea rcx, [rbp + 0x18]
call fcn.140226540
add rdx, rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rdx
mov word [rbp - 8], 0
mov dword [rbp], 1
lea rcx, [rbp + 0x38]
lea rdx, [rbp - 0x18]
call fcn.1400247b0
xor ecx, ecx
xor edx, edx
mov r8d, 2
call qword [sym.imp.advapi32.dll_OpenSCManagerW]
mov rsi, rax
inc rax
cmp rax, 1
ja 0x14008acc3
call fcn.140203920
test edx, edx
jne 0x14008adc6
mov rsi, rax
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rcx
mov word [rbp + 0x88], 0
mov dword [rbp + 0x90], 1
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x78]
call fcn.1400247b0
mov rdx, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x58]
test rdx, rdx
je 0x14008ad17
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.1400fcbd0
mov qword [rbp + 0x78], rbx
lea rax, [0x1402ab601]
mov qword [rbp + 0x80], rax
mov word [rbp + 0x88], 0
mov dword [rbp + 0x90], 1
lea rcx, [rbp + 0x50]
lea rdx, [rbp + 0x78]
call fcn.1400247b0
mov rdx, qword [rbp + 0x50]
mov rbx, qword [rbp + 0x58]
test rdx, rdx
je 0x14008ad67
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.1400fcbd0
mov rax, qword [rbp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x110
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
mov r9d, 0xf01ff
call qword [sym.imp.advapi32.dll_CreateServiceW]
lea rcx, [rax + 1]
cmp rcx, 1
ja 0x14008ae1c
call fcn.140203920
test edx, edx
je 0x14008ae1c
mov r9, qword [rbp + 0x38]
test r9, r9
je 0x14008adee
mov rcx, qword [rbp + 0x40]
add r9, r9
mov r8d, 2
mov esi, edx
mov rdx, r9
mov rdi, rax
call fcn.1400fcbd0
mov edx, esi
mov rax, rdi
mov r9, qword [rbp + 0x18]
test r9, r9
je 0x14008af37
mov rcx, qword [rbp + 0x20]
mov r8d, 1
mov esi, edx
mov rdx, r9
mov rdi, rax
call fcn.1400fcbd0
mov edx, esi
mov rax, rdi
jmp 0x14008af37
mov rcx, qword [r14]
cmp rcx, 3
jb 0x14008ae9a
lea rcx, str._INFO__Service_created_successfully.
mov qword [rbp + 0x78], rcx
mov qword [rbp + 0x80], 1
mov qword [rbp + 0x88], 8
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
lea rcx, [0x1402ab500]
mov rdi, rax
call fcn.1401a7c10
lea rcx, str.ICBM_INFO__Service_binary_path:
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], 4
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], 4
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x78]
lea r8, [rbp + 0x50]
mov edx, 3
xor r9d, r9d
call fcn.1401a7b20
mov rax, rdi
mov rcx, rax
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
test eax, eax
jne 0x14008aece
call fcn.140203920
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x14008aece
lea rcx, [rbp + 0x78]
call fcn.14010c210
mov rcx, rsi
call qword [sym.imp.advapi32.dll_CloseServiceHandle]
test eax, eax
jne 0x14008af02
call fcn.140203920
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x80], edx
test edx, edx
sete cl
test rax, rax
sete al
or al, cl
jne 0x14008af02
lea rcx, [rbp + 0x78]
call fcn.14010c210
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x14008af1d
mov rcx, qword [rbp + 0x40]
add rdx, rdx
mov r8d, 2
call fcn.1400fcbd0
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x14008af35
mov rcx, qword [rbp + 0x20]
mov r8d, 1
call fcn.1400fcbd0
xor edx, edx
add rsp, 0x130
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret