Function at 0x140008980
Capabilities:
Create service
Modify service
Persist via windows service
Start service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140098500]
xor rax, rsp
mov qword [rbp + 0x1a8], rax
xor r13d, r13d
lea r12, [0x1400970e0]
mov rax, r12
cmp qword [0x1400970f8], 0xf
cmova rax, qword [0x1400970e0]
mov qword [rsp + 0x70], rax
mov rax, qword [0x1400970f0]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rsp + 0x70], sendto
lea rax, [rbp + 0x10]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rax, str.installing_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], sendto
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.1400728e0
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140050590
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], sendto
lea ecx, [r13 + 0x60]
call fcn.1400734b0
mov rcx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x5c
mov qword [rbp - 0x38], 0x5f
movaps xmm0, xmmword [str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14007e1a0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14007e1b0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14007e1c0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x14007e1d0]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x14007e1e0]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x14007e1e8]
mov dword [rcx + 0x58], eax
mov byte [rcx + 0x5c], r13b
mov r9, rbx
mov r8d, 0xfc
lea rdx, [rbp - 0x50]
lea ecx, [r13 + 1]
call fcn.14004f120
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140008b23
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], sendto
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140008b71
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008bc1
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008bbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008bbb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
nop
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, eax
test eax, eax
je 0x140009976
cmp rdi, 0x104
je 0x140009976
lea rax, [rbp + 0x90]
mov qword [rbp + 0x10], rax
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rsp + 0x70], sendto
lea rax, [rbp + 0x10]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rax, str.installing_at_location_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x1c
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.1400728e0
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140050590
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], sendto
mov ecx, 0x60
call fcn.1400734b0
mov rcx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x5c
mov qword [rbp - 0x38], 0x5f
movaps xmm0, xmmword [str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14007e1a0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14007e1b0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14007e1c0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x14007e1d0]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x14007e1e0]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x14007e1e8]
mov dword [rcx + 0x58], eax
mov byte [rcx + 0x5c], 0
mov r9, rbx
mov r8d, 0x10a
lea rdx, [rbp - 0x50]
mov ecx, 1
call fcn.14004f120
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140008d43
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d3e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], sendto
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140008d91
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d8c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d8c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140008de0
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ddb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008ddb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.140009bc0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov r8, rdi
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x30]
call fcn.140006860
nop
mov r14, qword [rbp + 0x40]
movabs rax, 0x7fffffffffffffff
cmp r14, rax
je 0x140009bae
lea r15, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r15, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rsi, [r14 + 1]
mov ebx, 0xf
lea rdi, [rbp - 0x50]
cmp rsi, rbx
jbe 0x140008ed2
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x140008e94
mov rbx, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400734b0
test rax, rax
je 0x140008fec
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140008ece
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140008ebc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140009bb4
jmp 0x140008e75
test rcx, rcx
je 0x140008ecb
call fcn.1400734b0
mov rdi, rax
jmp 0x140008ece
mov rdi, r13
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rbx
mov byte [rdi], 0x22
lea rcx, [rdi + 1]
mov r8, r14
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
mov byte [rdi + rsi], 0
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x140008f3b
lea rax, [rcx + 5]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rdx, 0xf
cmova rbx, qword [rbp - 0x50]
add rbx, rcx
mov r8d, 5
lea rdx, [0x14007e4f0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], 0
lea rax, [rbp - 0x50]
jmp 0x140008f5e
mov qword [rsp + 0x20], 5
lea r9, [0x14007e4f0]
movzx r8d, byte [rbp - 0x80]
mov edx, 5
lea rcx, [rbp - 0x50]
call fcn.1400069f0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], sendto
mov byte [rax], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140008fb2
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008fad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008fad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
movups xmmword [rbp + 0x30], xmm6
movups xmmword [rbp + 0x40], xmm7
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140008ff8
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008ff3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008ff3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
xor edx, edx
xor ecx, ecx
mov r8d, 0x40000000
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rcx, rax
mov qword [rbp - 0x60], rax
test rax, rax
jne 0x1400091c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140033f90
mov rbx, rax
cmp qword [0x1400970f8], 0xf
cmova r12, qword [0x1400970e0]
mov qword [rsp + 0x70], r12
mov rcx, qword [0x1400970f0]
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rsp + 0x70], sendto
lea rax, [rbp + 0x10]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rax, str.unable_to_open_the_service_manager_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x27
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.1400728e0
nop
lea rsi, str.message:__with_code:_
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0x19
mov r9, rbx
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140006ff0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 0x5c
lea rdx, str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp
lea rcx, [rbp - 0x50]
call fcn.140006860
nop
mov r9, rbx
mov r8d, 0x113
lea rdx, [rbp - 0x50]
mov ecx, 2
call fcn.14004f120
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140009144
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000913f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000913f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov r8, qword [rbp - 0x18]
cmp r8, 0xf
jbe 0x14000916c
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov r8, qword [rbp + 8]
cmp r8, 0xf
jbe 0x140009194
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov r8, qword [rbp + 0x68]
cmp r8, 0xf
jbe 0x1400091bc
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.140007e40
mov ebx, 1
jmp 0x140009923
lea rax, [rbp - 0x60]
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rax, qword [rbp + 0x30]
lea rdi, [0x140097100]
mov r8, rdi
cmp qword [0x140097118], 0xf
cmova r8, qword [0x140097100]
mov rdx, r12
cmp qword [0x1400970f8], 0xf
cmova rdx, qword [0x1400970e0]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], sendto
mov r9d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rcx, rax
mov qword [rbp - 0x78], rax
lea rsi, str.message:__with_code:_
test rax, rax
jne 0x140009434
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x140009430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140033f90
mov rbx, rax
lea rax, str.cannot_create_service__because_service_already_existed
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x3a
mov r8, r12
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x10]
call fcn.140006ed0
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0x19
mov r9, rbx
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140006ff0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 0x5c
lea rdx, str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp
lea rcx, [rbp - 0x50]
call fcn.140006860
nop
mov r9, rbx
mov r8d, 0x11e
lea rdx, [rbp - 0x50]
mov ecx, 2
call fcn.14004f120
nop
mov r8, qword [rbp - 0x38]
cmp r8, 0xf
jbe 0x140009328
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov r8, qword [rbp - 0x18]
cmp r8, 0xf
jbe 0x140009350
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov r8, qword [rbp + 8]
cmp r8, 0xf
jbe 0x140009378
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov r8, qword [rbp + 0x68]
cmp r8, 0xf
jbe 0x1400093a0
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.140007e40
call fcn.14000b010
test eax, eax
jne 0x140009430
lea rax, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rax, qword [rbp + 0x30]
cmp qword [0x140097118], 0xf
cmova rdi, qword [0x140097100]
mov rdx, r12
cmp qword [0x1400970f8], 0xf
cmova rdx, qword [0x1400970e0]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], sendto
mov r9d, 0xf01ff
mov r8, rdi
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov rcx, rax
mov qword [rbp - 0x78], rax
jmp 0x140009434
mov rcx, qword [rbp - 0x78]
test rcx, rcx
jne 0x1400095b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x70]
call fcn.140033f90
mov rbx, rax
cmp qword [0x1400970f8], 0xf
cmova r12, qword [0x1400970e0]
mov qword [rsp + 0x70], r12
mov rcx, qword [0x1400970f0]
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rsp + 0x70], sendto
lea rax, [rbp + 0x10]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rax, str.unable_to_create_the_service_
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x21
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x50]
call fcn.1400728e0
nop
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0x19
mov r9, rbx
lea r8, [rbp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140006ff0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 0x5c
lea rdx, str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp
lea rcx, [rbp - 0x10]
call fcn.140006860
nop
mov r9, rbx
mov r8d, 0x12a
lea rdx, [rbp - 0x10]
mov ecx, 2
call fcn.14004f120
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140009562
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000955d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000955d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov r8, qword [rbp - 0x18]
cmp r8, 0xf
jbe 0x14000958a
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
lea rcx, [rbp + 0x50]
call fcn.140007850
nop
lea rcx, [rbp + 0x70]
call fcn.140007850
mov ebx, 1
jmp 0x140009918
lea rax, [rbp - 0x78]
mov qword [rsp + 0x70], rax
lea rax, [0x140097120]
cmp qword [0x140097138], 0xf
cmova rax, qword [0x140097120]
mov qword [rbp - 0x58], rax
lea r8, [rbp - 0x58]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
test eax, eax
jne 0x14000974f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp + 0x50]
call fcn.140033f90
mov rbx, rax
lea rax, str.unable_to_set_the_service_description_
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0x2a
mov r8, r12
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140006ed0
nop
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 0x19
mov r9, rbx
mov r8, rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140006ff0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, 0x5c
lea rdx, str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp
lea rcx, [rbp - 0x10]
call fcn.140006860
nop
mov r9, rbx
mov r8d, 0x134
lea rdx, [rbp - 0x10]
mov ecx, 2
call fcn.14004f120
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400096c9
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400096c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov r8, qword [rbp - 0x18]
cmp r8, 0xf
jbe 0x1400096f1
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov r8, qword [rbp - 0x38]
cmp r8, 0xf
jbe 0x140009719
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov r8, qword [rbp + 0x68]
cmp r8, 0xf
jbe 0x140009843
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.140007e40
mov ebx, 1
jmp 0x14000990d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
test eax, eax
jne 0x14000984d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.140033f90
mov rbx, rax
lea rax, str.unable_to_start_the_service_
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0x20
mov r8, r12
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x50]
call fcn.140006ed0
nop
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 0x19
mov r9, rbx
mov r8, rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x70]
call fcn.140006ff0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 0x5c
lea rdx, str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp
lea rcx, [rbp - 0x50]
call fcn.140006860
nop
mov r9, rbx
mov r8d, 0x139
lea rdx, [rbp - 0x50]
mov ecx, 2
call fcn.14004f120
nop
mov r8, qword [rbp - 0x38]
cmp r8, 0xf
jbe 0x140009815
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
lea rcx, [rbp + 0x70]
call fcn.140007850
nop
lea rcx, [rbp + 0x50]
call fcn.140007850
nop
lea rcx, [rbp - 0x30]
call fcn.140007850
mov ebx, 1
jmp 0x14000990d
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov r8d, sendto
lea rdx, str.service_installed
lea rcx, [rbp - 0x10]
call fcn.140006860
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140050590
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov r8d, 0x5c
lea rdx, str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp
lea rcx, [rbp - 0x50]
call fcn.140006860
nop
mov r9, rbx
mov r8d, 0x13d
lea rdx, [rbp - 0x50]
mov ecx, 1
call fcn.14004f120
nop
lea rcx, [rbp - 0x50]
call fcn.140007850
nop
mov r8, qword [rbp - 0x18]
cmp r8, 0xf
jbe 0x1400098e2
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140007e40
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov r8, qword [rbp + 8]
cmp r8, 0xf
jbe 0x14000990a
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140007e40
mov ebx, r13d
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140009961
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000995c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000995c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], sendto
mov byte [rbp + 0x30], 0
jmp 0x140009b61
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], sendto
mov ecx, 0x20
call fcn.1400734b0
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x20], 0x1d
mov qword [rbp + 0x28], 0x1f
movups xmm0, xmmword [str.unable_to_get_executable_path]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14007e4c0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x14007e4c8]
mov dword [rax + 0x18], ecx
movzx ecx, byte [0x14007e4cc]
mov byte [rax + 0x1c], cl
mov byte [rax + 0x1d], 0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.140050590
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], sendto
mov ecx, 0x60
call fcn.1400734b0
mov rcx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], 0x5c
mov qword [rbp - 0x38], 0x5f
movaps xmm0, xmmword [str.C:BuildXoap1YSt2HaplyInternalhardware_api_service_srclts_src_service_service_main.cpp]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14007e1a0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14007e1b0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14007e1c0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x14007e1d0]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x14007e1e0]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x14007e1e8]
mov dword [rcx + 0x58], eax
mov byte [rcx + 0x5c], 0
mov r9, rbx
mov r8d, 0x106
lea rdx, [rbp - 0x50]
mov ecx, 3
call fcn.14004f120
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140009abf
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009aba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009aba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], sendto
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140009b0d
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009b08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
movdqa xmm0, xmmword [0x14007e9a0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140009b5c
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140009b57
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400734ec
mov ebx, 1
mov qword [rbp - 0x70], 1
lea rcx, [rbp - 0x70]
call fcn.1400070b0
mov eax, ebx
mov rcx, qword [rbp + 0x1a8]
xor rcx, rsp
call fcn.140073840
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140007ea0
nop
call fcn.140007e80
int3