Function at 0x140008760
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rsp + 0x280], rax
cmp qword [rdx + 0x10], 0
mov rsi, rcx
jne 0x1400087e2
lea rcx, str.Not_specify_the_service_name_.
call fcn.14000a500
lea rdi, [rsi + 0x18]
mov r8d, 0x13
mov rcx, rdi
lea rdx, str.C:WINDOWS_system32
call fcn.140004570
mov r8d, 1
lea rdx, [0x14002e9b4]
mov rcx, rdi
call fcn.140004570
mov r8d, 0x17
lea rdx, str.HonorSuiteService64.exe
mov rcx, rdi
call fcn.140004570
jmp 0x140008999
lea rax, [rsp + 0x170]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x802a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1400088b0
lea rdx, str.HonorSuiteHandSetService
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x170]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140008831
lea rdx, [rsp + 0x170]
lea rcx, [0x140036d40]
call fcn.140004420
mov r8d, 1
lea rdx, [0x14002e9b4]
lea rcx, [0x140036d40]
call fcn.140004570
lea rdx, str.HonorSuiteService64.exe
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov r8d, 0x17
lea rdx, str.HonorSuiteService64.exe
lea rcx, [0x140036d20]
call fcn.140004420
lea rax, [rsp + 0x170]
lea rdi, [rsi + 0x18]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400088a2
jmp 0x14000897a
lea rax, [rsp + 0x170]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x8026
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1400089fc
lea rdx, str.HonorSuiteHandSetService
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rbx, 0xffffffffffffffff
lea rax, [rsp + 0x170]
mov r8, rbx
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140008900
lea rdx, [rsp + 0x170]
lea rcx, [0x140036d40]
call fcn.140004420
mov r8d, 1
lea rdx, [0x14002e9b4]
lea rcx, [0x140036d40]
call fcn.140004570
lea rdx, str.HonorSuiteService64.exe
lea rcx, [rsp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov r8d, 0x17
lea rdx, str.HonorSuiteService64.exe
lea rcx, [0x140036d20]
call fcn.140004420
lea rax, [rsp + 0x170]
lea rdi, [rsi + 0x18]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140008971
mov r8, rbx
lea rdx, [rsp + 0x170]
mov rcx, rdi
call fcn.140004420
lea rcx, str.Get_path_successfully_where_the_service_in_.
call fcn.14000a500
cmp qword [rdi + 0x18], 0x10
jb 0x1400089a3
mov rdi, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea rbx, [rsi + 0x18]
cmp rax, 0xffffffffffffffff
jne 0x1400089d6
cmp qword [rbx + 0x18], 0x10
jb 0x1400089c5
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.Not_find_the_service_application_:__s__
call fcn.14000a590
jmp 0x140008a08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbx + 0x18], 0x10
jb 0x1400089e9
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, str.Find_the_service_application_:__s__
call fcn.14000a500
mov al, 1
jmp 0x140008a0a
lea rcx, str.Get_path_fail_where_the_service_in_.
call fcn.14000a590
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14000d490
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret