Function at 0x14000afe0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xc8]
sub rsp, 0x1c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
cmp dword [0x14003841c], ebx
je 0x14000b036
lea rcx, str.START_TASK_RECEIVE_DEVICE_Receive_m_hExitUSBEvent
call fcn.140006a20
jmp 0x14000b37e
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x60]
call fcn.14000f580
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x802a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x14000b093
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8026
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x14000b093
mov rax, 0xffffffffffffffff
jmp 0x14000b380
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], bl
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000b0b0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140004420
nop
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x50]
add rdx, 0x2d
lea rcx, [rsp + 0x60]
call fcn.1400070a0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.140004570
mov r8d, 0x2d
lea rdx, str.HiSuiteHandSetServiceSmartPhoneAutorun.cfg
lea rcx, [rsp + 0x60]
call fcn.140004570
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000b16b
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b166
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b3b0
call fcn.14000d4b4
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x40], xmm0
movdqu xmm1, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rdx, rcx
mov rcx, rdi
call fcn.14000bfa0
cmp dword [rdi + 0x134], 0
jne 0x14000b2ed
lea rcx, [rdi + 0x138]
cmp qword [rdi + 0x150], 0x10
jb 0x14000b1c9
mov rcx, qword [rdi + 0x138]
call fcn.140002080
test eax, eax
jne 0x14000b2ed
lea rdx, [rdi + 0x30]
lea r8, [rdi + 0x138]
lea rcx, [rsp + 0x60]
call fcn.14000a6b0
nop
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov r8d, 3
lea rdx, [0x140030350]
lea rcx, [rbp - 0x80]
call fcn.140004420
nop
lea rcx, [rdi + 0x138]
call fcn.14000cde0
test eax, eax
je 0x14000b264
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x14000b264
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
call fcn.1400015d0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14000b29f
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b29a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b3b6
call fcn.14000d4b4
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000b2ed
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b2e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b3bc
call fcn.14000d4b4
lea rcx, str.start_HiSuite__by_devices_input
call fcn.140006a20
call fcn.14000cae0
test eax, eax
jne 0x14000b345
lea rcx, str.start_HiSuite_error
call fcn.140006a20
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000b37e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b379
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b3aa
jmp 0x14000b379
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000b37e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b379
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b3a4
call fcn.14000d4b4
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14000d490
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14001179c
int3
call fcn.14001179c
nop
call fcn.14001179c
nop
call fcn.14001179c
nop
call fcn.14001179c
int3