Function at 0x140082ba0
Capabilities:
Copy file
Create service
Modify service

Disassembly:
jmp 0x140082ba0
mov r11, rsp
push rdi
sub rsp, 0x1c0
mov rax, qword [0x140125350]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
lea rcx, [r11 - 0x108]
xor esi, esi
xor ebx, ebx
mov qword [r11 - 0x10], r14
mov qword [r11 - 0x144], rsi
mov qword [r11 - 0x12c], rbx
call fcn.1400015b4
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xb8], eax
movups xmmword [rsp + 0xa8], xmm0
mov rdi, qword [rsp + 0xac]
test rdi, rdi
jne 0x140082c1d
lea rdx, str.Error:_Unable_to_get_the_executable_file_path._n
lea ecx, [rsi + 3]
call fcn.1400013e3
jmp 0x140082e23
mov qword [rsp + 0x40], 0x20
lea rax, [rsp + 0xe0]
xor r14d, r14d
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x30], 0x40
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], r14
call fcn.140096414
lea rcx, [rsp + 0xc0]
call fcn.1400016c2
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x88], eax
movups xmmword [rsp + 0x78], xmm0
mov rsi, qword [rsp + 0x7c]
test rsi, rsi
jne 0x140082c9e
lea rdx, str.Error:_Unable_to_get_system_directory_path._n
lea ecx, [rsi + 3]
call fcn.1400013e3
jmp 0x140082e23
lea rax, [rsp + 0xe0]
lea r9, [rsp + 0x120]
lea rdx, str._s_s_s
lea rcx, [rsp + 0xc0]
mov r8, rsi
mov qword [rsp + 0x20], rax
call fcn.1400013bb
movups xmm0, xmmword [rax]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0xa0], eax
movups xmmword [rsp + 0x90], xmm0
mov rbx, qword [rsp + 0x94]
test rbx, rbx
je 0x140082e30
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140082d17
lea rdx, str.Error:_Unable_to_copy_executable_to_system_folder._n
lea ecx, [rax + 3]
call fcn.1400013e3
jmp 0x140082e23
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov qword [rsp + 0x1d8], rbp
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
jne 0x140082d4b
lea rdx, str.Error:_Unable_to_get_a_handle_to_the_SCM.__s_n
lea ecx, [rax + 3]
call fcn.1400013e3
jmp 0x140082e1b
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x1b0], r15
lea r15, str.Intel_R__Dynamic_Platform_and_Thermal_Framework_Service
lea rdx, str.esifsvc
mov r9d, 0xf01ff
mov rcx, rax
mov r8, r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], reloc.WSOCK32.dll_recv
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov r14, rax
test rax, rax
jne 0x140082dc2
lea rdx, str.Error:_Unable_to_create_the_service._n
lea ecx, [rax + 3]
call fcn.1400013e3
jmp 0x140082e0a
lea r8, [rsp + 0x70]
mov edx, 1
mov rcx, rax
mov qword [rsp + 0x70], r15
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x140082ded
lea rdx, str.Error:_Unable_to_update_service_description._n
lea ecx, [rax + 3]
call fcn.1400013e3
lea rdx, str._S_successfully_installed._n
mov r8, r15
mov ecx, 3
call fcn.1400013e3
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r15, qword [rsp + 0x1b0]
mov rbp, qword [rsp + 0x1d8]
test rbx, rbx
je 0x140082e30
mov rcx, rbx
call fcn.14008c8c8
mov r14, qword [rsp + 0x1b8]
mov rbx, qword [rsp + 0x1d0]
test rsi, rsi
je 0x140082e4d
mov rcx, rsi
call fcn.14008c8c8
mov rsi, qword [rsp + 0x1e0]
test rdi, rdi
je 0x140082e62
mov rcx, rdi
call fcn.14008c8c8
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14008d900
add rsp, 0x1c0
pop rdi
ret