Function at 0x140001c50
Capabilities:
Check if file exists
Get disk information

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x79], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, str.IsAddNewCDPath_need_clear_device_vector
call fcn.14000a500
mov rdx, qword [0x1400384b0]
mov rcx, qword [0x1400384a8]
call fcn.140004c90
mov rax, qword [0x1400384a8]
mov qword [0x1400384b0], rax
xor dil, dil
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x29]
call fcn.14000f580
lea rdx, [rbp - 0x29]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor esi, esi
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], sil
xor r8d, r8d
lea rdx, [0x14002e610]
lea rcx, [rbp - 0x69]
call fcn.140004420
nop
lea rbx, [rbp - 0x29]
cmp byte [rbp - 0x29], sil
je 0x140001e77
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x140001e52
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140001d20
mov rdx, rbx
lea rcx, [rbp - 0x69]
call fcn.140004420
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x49]
call fcn.140004180
mov rcx, rax
call fcn.140001ef0
test al, al
jne 0x140001e52
mov r8d, 0x15
lea rdx, str.SmartPhoneAutorun.cfg
lea rcx, [rbp - 0x69]
call fcn.140004570
lea rdx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rdx, qword [rbp - 0x69]
lea rcx, str.IsAddNewCDPath_DriveValue__s
call fcn.14000a500
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae rcx, qword [rbp - 0x69]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x140001e52
lea rcx, str.IsAddNewCDPath_PathFileExists_is_add_new_device
call fcn.14000a500
mov dil, 1
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140001dc5
mov rdx, rbx
lea rcx, [rbp - 0x49]
call fcn.140004420
nop
mov rdx, qword [0x1400384b0]
cmp qword [0x1400384b8], rdx
je 0x140001e0e
movups xmm0, xmmword [rbp - 0x49]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x39]
movups xmmword [rdx + 0x10], xmm1
mov edx, 0xf
mov byte [rbp - 0x49], 0
add qword [0x1400384b0], 0x20
jmp 0x140001e1b
lea r8, [rbp - 0x49]
call fcn.140004920
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x140001e52
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001e4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001edd
call fcn.14000d4b4
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140001e60
inc rbx
add rbx, rax
cmp byte [rbx], 0
jmp 0x140001cfd
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140001eae
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001ea9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ed7
call fcn.14000d4b4
movzx eax, dil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000d490
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14001179c
nop
call fcn.14001179c
nop
int3