Function at 0x1401a1830
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3b8]
sub rsp, 0x490
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rsi, rcx
xor r12d, r12d
mov qword [rbp + 0x1c8], r12
lea rax, [rbp + 0x1c0]
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], r12
mov dword [rbp + 0x1e0], r12d
lea rax, [rbp + 0x220]
mov qword [rbp + 0x1e8], rax
lea rax, [rbp + 0x1f8]
mov qword [rbp + 0x1f0], rax
mov dword [rbp + 0x1f8], r12d
mov byte [rbp + 0x1fc], r12b
mov byte [rbp + 0x238], r12b
mov dword [rbp + 0x220], r12d
lea rax, [0x1403274a0]
mov qword [rbp + 0x228], rax
mov qword [rbp + 0x230], r12
mov qword [rbp + 0x240], 1
mov qword [rbp + 0x2d8], r12
mov edi, 0x90
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x248]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rbp + 0x2e0], rax
mov qword [rbp + 0x2e8], rax
mov qword [rbp + 0x2f0], r12
lea rax, vtable.sense::CommonTelemetry::ExtractFilesFromCommandLineActionActivity.0
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x1c0]
call fcn.1401a163c
nop
call fcn.14004acb4
mov r10, qword [rax + 8]
lea rbx, [rsi + 0x18]
or r13, 0xffffffffffffffff
cmp dword [r10], 5
jbe 0x1401a1a3b
lea rax, str.ExtractFilesFromCommandLineAction::Execute_is_called
mov qword [rbp + 0x320], rax
mov qword [rbp + 0x328], WSACleanup
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401a1980
mov rcx, qword [rbx]
lea rdx, [0x14030cae0]
mov rax, r12
test rcx, rcx
je 0x1401a199f
mov rdx, rcx
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401a1995
mov qword [rbp + 0x330], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x338], eax
mov dword [rbp + 0x33c], r12d
lea rax, [rsi + 0x38]
mov qword [rbp + 0x340], rax
mov qword [rbp + 0x348], 8
lea rax, [rsi + 0x40]
mov qword [rbp + 0x350], rax
mov qword [rbp + 0x358], 1
lea rax, [rsi + 0x41]
mov qword [rbp + 0x360], rax
mov qword [rbp + 0x368], 1
lea rax, [rsi + 0x42]
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x378], 1
lea rax, [rbp + 0x300]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 8
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140399819]
mov rcx, r10
call fcn.140001158
mov qword [rbp + 0x88], r12
lea rax, [rbp + 0x80]
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], r12
mov dword [rbp + 0xa0], r12d
lea rax, [rbp + 0xe0]
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0xb8]
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xb8], r12d
mov byte [rbp + 0xbc], r12b
mov byte [rbp + 0xf8], r12b
mov dword [rbp + 0xe0], r12d
lea rax, [0x1403274d0]
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0xf0], r12
mov qword [rbp + 0x100], 1
mov qword [rbp + 0x198], r12
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x108]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], rax
mov qword [rbp + 0x1b0], r12
lea rax, vtable.sense::CommonTelemetry::GetFileNamesFromCommandLineActivity.0
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x80]
call fcn.1401a10bc
nop
mov r8b, byte [rsi + 0x42]
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.1401a2214
nop
xor edx, edx
lea rcx, [rbp + 0x80]
call fcn.140181ee8
call fcn.140053d18
mov rcx, rax
lea rdx, [rsp + 0x70]
call fcn.1400747f8
nop
mov rbx, qword [rsp + 0x70]
test rbx, rbx
jne 0x1401a1b41
call fcn.140298678
mov rcx, qword [rbp + 0x3b8]
test rbx, rbx
je 0x1401a21f5
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov rdx, qword [rbp - 0x38]
mov rdi, qword [rbp - 0x40]
sub rdx, rdi
sar rdx, 5
movabs rax, 0xfffffffffffffff
test rdx, rdx
je 0x1401a1b90
cmp rdx, rax
ja 0x1401a220d
lea rcx, [rsp + 0x40]
call fcn.140061ecc
cmp rdi, qword [rbp - 0x38]
je 0x1401a1e52
lea rdx, [rsi + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1401a2a3c
nop
mov rax, qword [rdi + 0x10]
cmp rax, qword [0x140463ea0]
jbe 0x1401a1cc0
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x38]
call fcn.14005f560
lea r9, [0x140463e90]
cmp qword [0x140463ea8], 8
cmovae r9, qword [0x140463e90]
lea rcx, [rbp + 0x38]
mov rbx, qword [rbp + 0x38]
mov r14, qword [rbp + 0x50]
cmp r14, 8
cmovae rcx, rbx
mov rax, qword [0x140463ea0]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov r15, qword [rbp + 0x48]
mov rdx, r15
call fcn.1401a2ae0
lea rcx, [rbp + 0x38]
test rax, rax
jne 0x1401a1c22
call fcn.14004b500
jmp 0x1401a1cda
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 6
lea r9, str.pipe_
xor r8d, r8d
mov rdx, r15
call fcn.1401a2ae0
mov r12, rax
test rax, rax
je 0x1401a1cb4
lea rcx, [rbp + 0x38]
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 2
lea r9, [0x140330a2c]
xor r8d, r8d
mov rdx, r15
call fcn.1401a2ae0
test rax, rax
jne 0x1401a1cb4
lea rcx, [rbp + 0x38]
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 1
lea r9, [0x14030f790]
lea r8d, [rax + 2]
mov rdx, r15
call fcn.1401a2ae0
cmp rax, r12
jne 0x1401a1cb4
lea rcx, [rbp + 0x38]
call fcn.14004b500
xor r12d, r12d
jmp 0x1401a1cda
lea rcx, [rbp + 0x38]
call fcn.14004b500
xor r12d, r12d
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401a1ccd
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
test eax, eax
mov r14b, 1
jne 0x1401a1cdd
mov r14b, r12b
test r14b, r14b
je 0x1401a1dc3
mov rdx, rdi
lea rcx, [rbp + 0x58]
call fcn.1401efba0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401a1d08
lock inc dword [rcx + 8]
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
mov byte [rsp + 0x38], r12b
mov byte [rsp + 0x30], r12b
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp]
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x80]
call fcn.1401e49b0
mov rax, qword [rbp - 0x80]
test byte [rax + 0x120], 0x10
je 0x1401a1d5c
mov r14b, r12b
jmp 0x1401a1d6e
mov rcx, qword [rsp + 0x60]
add rcx, 0x60
lea rdx, [rbp - 0x80]
call fcn.1400689a4
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401a1db5
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401a1db5
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401a1db5
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
lea rcx, [rbp + 0x58]
call fcn.14004b500
test r14b, r14b
jne 0x1401a1de6
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x70], 2
add rcx, 0x78
mov rdx, rdi
call fcn.140061d90
test r14b, r14b
jne 0x1401a1de6
cmp byte [rsi + 0x41], r12b
je 0x1401a1df6
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400520c8
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401a1e40
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401a1e40
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401a1e40
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
add rdi, 0x20
cmp rdi, qword [rbp - 0x38]
jne 0x1401a1b9a
or r13, 0xffffffffffffffff
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x40], rax
jne 0x1401a1ed3
cmp byte [rsi + 0x40], r12b
je 0x1401a1ed3
lea rdx, [rsi + 0x38]
lea rcx, [rbp - 0x70]
call fcn.1401a2a3c
nop
mov rax, qword [rbp - 0x70]
mov dword [rax + 0x70], SafeArrayAccessData
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400520c8
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1401a1ed3
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401a1ed3
mov rbx, qword [rbp - 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401a1ed3
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
call fcn.140053d18
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.1401821a8
nop
cmp qword [rbp - 0x60], r12
jne 0x1401a1ef0
call fcn.140298678
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
cmp rdi, r14
je 0x1401a1fee
add rdi, 8
mov ecx, 0x30
call fcn.1402aee08
mov rbx, rax
mov qword [rsp + 0x58], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_sense::behavior::LogicEvent_.0
mov qword [rbx], rax
lea r15, [rbx + 0x10]
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1401a1f46
lock inc dword [rcx + 8]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi + 8]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rcx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401a1f61
lock inc dword [rcx + 8]
mov rcx, qword [rdi]
mov rax, qword [rdi - 8]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x20]
mov rcx, r15
call fcn.140182470
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], rbx
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
mov rax, qword [rax + 0x28]
call qword [str.PM_]
nop
mov rbx, qword [rbp - 0x48]
test rbx, rbx
je 0x1401a1fdd
mov eax, r13d
lock xadd dword [rbx + 8], eax
add eax, r13d
jne 0x1401a1fdd
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401a1fdd
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [str.PM_]
add rdi, 0x10
lea rax, [rdi - 8]
cmp rax, r14
jne 0x1401a1f07
xor edx, edx
lea rcx, [rbp + 0x1c0]
call fcn.140181ee8
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1401a2045
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401a2045
mov rbx, qword [rbp - 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401a2045
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1401a211c
mov rsi, qword [rsp + 0x48]
cmp rcx, rsi
je 0x1401a20b4
lea rdi, [rcx + 8]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1401a20a2
mov eax, r13d
lock xadd dword [rbx + 8], eax
add eax, r13d
jne 0x1401a20a2
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401a20a2
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [str.PM_]
add rdi, 0x10
lea rax, [rdi - 8]
cmp rax, rsi
jne 0x1401a2061
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
sub rax, rcx
sar rax, 4
mov rdx, rcx
movabs r8, 0xfffffffffffffff
cmp rax, r8
ja 0x1401a21ee
shl rax, 4
cmp rax, 0x1000
jb 0x1401a2109
test dl, 0x1f
jne 0x1401a21ee
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x1401a21ee
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
ja 0x1401a21ee
call fcn.1402aed28
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401a2167
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401a2167
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401a2167
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
nop
lea rcx, [rbp - 0x40]
call fcn.1400565a8
nop
lea rax, vtable.sense::CommonTelemetry::GetFileNamesFromCommandLineActivity.0
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x80]
call fcn.140181adc
lea rcx, [rbp + 0x80]
call fcn.140180f44
nop
lea rax, vtable.sense::CommonTelemetry::ExtractFilesFromCommandLineActionActivity.0
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x1c0]
call fcn.140181adc
lea rcx, [rbp + 0x1c0]
call fcn.140180f44
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1402ae860
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop
mov r9d, 0x80004003
lea r8, str.amcorewcd_source_behaviormonitor_srcextractfilesfromcommandlineaction.cpp
mov edx, 0x51
call fcn.140058db4
nop
call fcn.1400522a8
int3