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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x468]
sub rsp, 0x550
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14002c010]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov rdi, rdx
mov ebx, ecx
lea rdx, str._Enter_wmain__
xor ecx, ecx
call fcn.1400013f0
cmp ebx, 1
jle 0x1400017da
mov rdx, qword [rdi + 8]
movzx eax, word [rdx]
sub ax, 0x2d
mov ecx, 0xfffd
test cx, ax
jne 0x1400017da
add rdx, 2
lea rcx, str.install
call fcn.14000de3c
test eax, eax
jne 0x1400017b4
lea rdx, str._Enter_InstallService__
xor ecx, ecx
call fcn.1400013f0
mov dword [rsp + 0x70], 0x22
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x20]
call fcn.140009410
mov r8d, 0x104
lea rdx, [rbp + 0x230]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14000169c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.140001560
jmp 0x140001925
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x1400016cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.140001560
jmp 0x140001925
lea r8, [rsp + 0x70]
mov edx, 0x104
lea rcx, [rbp + 0x20]
call fcn.14000e0b8
lea r8, [rbp + 0x230]
mov edx, 0x104
lea rcx, [rbp + 0x20]
call fcn.14000e0b8
lea r8, [rsp + 0x70]
mov edx, 0x104
lea rcx, [rbp + 0x20]
call fcn.14000e0b8
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
lea rax, [0x1400245c0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
lea rax, [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
lea r9d, [rbx + 4]
lea r8, str.ELAN_FP_Service
lea rsi, str.ELANFPService
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x140001785
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService_failed_w_err_0x_08lx_n
call fcn.140001560
jmp 0x140001794
mov rdx, rsi
lea rcx, str._s_is_installed._n
call fcn.140001560
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test rbx, rbx
je 0x140001925
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140001925
mov rdx, qword [rdi + 8]
add rdx, 2
lea rcx, str.remove
call fcn.14000de3c
test eax, eax
jne 0x140001925
call fcn.140006f40
jmp 0x140001925
lea rcx, str.Parameters:_n
call fcn.140001560
lea rcx, str.__install__to_install_the_service._n
call fcn.140001560
lea rcx, str.__remove___to_remove_the_service._n
call fcn.140001560
lea rdx, str._Prepare_to_CService_service_SERVICE_NAME_
xor ecx, ecx
call fcn.1400013f0
lea r14, vtable.CServiceBase.0
mov qword [rbp - 0x60], r14
xor ebx, ebx
mov qword [rbp - 0x58], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x38], ebx
lea rdx, [0x1400269a0]
xor ecx, ecx
call fcn.1400013f0
lea rsi, str.ELANFPService
mov qword [rbp - 0x30], rsi
mov qword [rbp - 8], rbx
mov dword [rbp - 0x28], 0x10
mov dword [rbp - 0x24], 2
mov qword [rbp - 0x20], 0x85
mov qword [rbp - 0x18], rbx
mov dword [rbp - 0x10], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rdi, vtable.CService.0
mov qword [rbp - 0x60], rdi
mov dword [rbp + 0x10], ebx
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 0x18], rax
test rax, rax
je 0x14000194e
lea rdx, str._Enter_CServiceBase::Run
xor ecx, ecx
call fcn.1400013f0
lea rax, [rbp - 0x60]
mov qword [0x14002e098], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x78], rax
lea rax, [0x140003890]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], rbx
lea rcx, [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x1400018f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Service_failed_to_run_w_err_0x_08lx_n
call fcn.140001560
mov qword [rbp - 0x60], rdi
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x140001909
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x18], rbx
mov qword [rbp - 0x60], r14
lea rdx, str._Enter_CServiceBase::CServiceBase
xor ecx, ecx
call fcn.1400013f0
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140007310
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov dword [rsp + 0x70], eax
lea rdx, [0x14002ae70]
lea rcx, [rsp + 0x70]
call fcn.1400098b8
int3