Function at 0x1401d1660
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rsi, rcx
xor r12d, r12d
mov qword [rbp + 0x1d8], r12
lea rax, [rbp + 0x1d0]
mov qword [rbp + 0x1e0], rax
mov qword [rbp + 0x1e8], r12
mov dword [rbp + 0x1f0], r12d
lea rax, [rbp + 0x230]
mov qword [rbp + 0x1f8], rax
lea rax, [rbp + 0x208]
mov qword [rbp + 0x200], rax
mov dword [rbp + 0x208], r12d
mov byte [rbp + 0x20c], r12b
mov byte [rbp + 0x248], r12b
mov dword [rbp + 0x230], r12d
lea rax, [0x1403e88a8]
mov qword [rbp + 0x238], rax
mov qword [rbp + 0x240], r12
mov qword [rbp + 0x250], 1
mov qword [rbp + 0x2e8], r12
mov edi, 0x90
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x258]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rbp + 0x2f0], rax
mov qword [rbp + 0x2f8], rax
mov qword [rbp + 0x300], r12
lea rax, vtable.sense::CommonTelemetry::ExtractFilesFromCommandLineActionActivity.0
mov qword [rbp + 0x1d0], rax
lea rcx, [rbp + 0x1d0]
call fcn.1401d13c8
nop
call fcn.1400550c0
mov r10, qword [rax + 8]
or r13, 0xffffffffffffffff
lea rbx, [rsi + 0x50]
cmp dword [r10], 5
jbe 0x1401d186b
lea rax, str.ExtractFilesFromCommandLineAction::Execute_is_called
mov qword [rbp + 0x330], rax
mov qword [rbp + 0x338], WSAStartup
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1401d17b0
mov rcx, qword [rbx]
lea rdx, [0x1403cb630]
mov rax, r12
test rcx, rcx
je 0x1401d17cf
mov rdx, rcx
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401d17c5
mov qword [rbp + 0x340], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x348], eax
mov dword [rbp + 0x34c], r12d
lea rax, [rsi + 0x70]
mov qword [rbp + 0x350], rax
mov qword [rbp + 0x358], 8
lea rax, [rsi + 0x78]
mov qword [rbp + 0x360], rax
mov qword [rbp + 0x368], 1
lea rax, [rsi + 0x79]
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x378], 1
lea rax, [rsi + 0x7a]
mov qword [rbp + 0x380], rax
mov qword [rbp + 0x388], 1
lea rax, [rbp + 0x310]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 8
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14047ef0c]
mov rcx, r10
call fcn.140001208
mov qword [rbp + 0x98], r12
lea rax, [rbp + 0x90]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], r12
mov dword [rbp + 0xb0], r12d
lea rax, [rbp + 0xf0]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xc8]
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xc8], r12d
mov byte [rbp + 0xcc], r12b
mov byte [rbp + 0x108], r12b
mov dword [rbp + 0xf0], r12d
lea rax, [0x1403e8880]
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], r12
mov qword [rbp + 0x110], 1
mov qword [rbp + 0x1a8], r12
mov r8, rdi
xor edx, edx
lea rcx, [rbp + 0x118]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], r12
lea rax, vtable.sense::CommonTelemetry::GetFileNamesFromCommandLineActivity.0
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x90]
call fcn.1401d0df8
nop
mov r8b, byte [rsi + 0x7a]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1401d20ac
nop
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.1401ae82c
call fcn.140061d0c
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140083b10
nop
mov rbx, qword [rbp - 0x70]
test rbx, rbx
jne 0x1401d196f
call fcn.140329e68
mov rcx, qword [rbp + 0x3c8]
test rbx, rbx
je 0x1401d208b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov rdx, qword [rbp - 0x28]
mov rdi, qword [rbp - 0x30]
sub rdx, rdi
sar rdx, 5
test rdx, rdx
je 0x1401d19be
movabs rax, 0xfffffffffffffff
cmp rdx, rax
ja 0x1401d2085
lea rcx, [rsp + 0x50]
call fcn.14006ffb8
cmp rdi, qword [rbp - 0x28]
je 0x1401d1cc3
lea rdx, [rsi + 0x70]
lea rcx, [rsp + 0x68]
call fcn.1401d2b0c
nop
mov rax, qword [rdi + 0x10]
cmp rax, qword [0x140543e60]
jbe 0x1401d1aee
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x48]
call fcn.14006d604
lea r9, [0x140543e50]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae r9, qword [0x140543e50]
lea rcx, [rbp + 0x48]
mov rbx, qword [rbp + 0x48]
mov r14, qword [rbp + 0x60]
cmp r14, 8
cmovae rcx, rbx
mov rax, qword [0x140543e60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov r15, qword [rbp + 0x58]
mov rdx, r15
call fcn.1401fc598
lea rcx, [rbp + 0x48]
test rax, rax
jne 0x1401d1a50
call fcn.140055f70
jmp 0x1401d1b0e
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 6
lea r9, str.pipe_
xor r8d, r8d
mov rdx, r15
call fcn.1401fc598
mov r12, rax
test rax, rax
je 0x1401d1ae2
lea rcx, [rbp + 0x48]
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 2
lea r9, [0x1403f51ec]
xor r8d, r8d
mov rdx, r15
call fcn.1401fc598
test rax, rax
jne 0x1401d1ae2
lea rcx, [rbp + 0x48]
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 1
lea r9, [0x1403ce9d8]
lea r8d, [rax + 2]
mov rdx, r15
call fcn.1401fc598
cmp rax, r12
jne 0x1401d1ae2
lea rcx, [rbp + 0x48]
call fcn.140055f70
xor r12d, r12d
jmp 0x1401d1b0e
lea rcx, [rbp + 0x48]
call fcn.140055f70
xor r12d, r12d
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401d1afb
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
mov r14b, 1
jne 0x1401d1b11
mov r14b, r12b
test r14b, r14b
je 0x1401d1bf5
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.14023e320
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1401d1b3b
lock inc dword [rcx + 8]
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
mov byte [rsp + 0x38], r12b
mov byte [rsp + 0x30], r12b
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x60]
call fcn.14022e1ec
mov rax, qword [rbp - 0x60]
test byte [rax + 0x120], 0x10
je 0x1401d1b8e
mov r14b, r12b
jmp 0x1401d1ba0
mov rcx, qword [rsp + 0x68]
add rcx, 0x70
lea rdx, [rbp - 0x60]
call fcn.1400773f0
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1401d1be7
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401d1be7
mov rbx, qword [rbp - 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401d1be7
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
lea rcx, [rbp + 0x68]
call fcn.140055f70
test r14b, r14b
jne 0x1401d1c1e
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 0x80], 2
add rcx, 0x88
mov rdx, rdi
call fcn.14006fe84
test r14b, r14b
jne 0x1401d1c1e
cmp byte [rsi + 0x79], r12b
je 0x1401d1c67
mov rdx, qword [rsp + 0x58]
cmp qword [rsp + 0x60], rdx
je 0x1401d1c58
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401d1c44
lock inc dword [rcx + 8]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
add qword [rsp + 0x58], 0x10
jmp 0x1401d1c6c
lea r8, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.1401a2614
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401d1cb1
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401d1cb1
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401d1cb1
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
add rdi, 0x20
cmp rdi, qword [rbp - 0x28]
jne 0x1401d19c8
or r13, 0xffffffffffffffff
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jne 0x1401d1d89
cmp byte [rsi + 0x78], r12b
je 0x1401d1d89
lea rdx, [rsi + 0x70]
lea rcx, [rsp + 0x78]
call fcn.1401d2b0c
nop
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x80], SafeArrayLock
mov rdx, qword [rsp + 0x58]
cmp qword [rsp + 0x60], rdx
je 0x1401d1d33
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401d1d24
lock inc dword [rcx + 8]
mov rcx, qword [rbp - 0x80]
mov rax, qword [rsp + 0x78]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
add qword [rsp + 0x58], 0x10
jmp 0x1401d1d46
lea r8, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.1401a2614
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1401d1d89
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401d1d89
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401d1d89
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
call fcn.140061d0c
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.1401aeb74
nop
cmp qword [rbp - 0x50], r12
jne 0x1401d1da6
call fcn.140329e68
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
cmp rdi, r14
je 0x1401d1ea3
add rdi, 8
mov ecx, 0x30
call fcn.140356b9c
mov rbx, rax
mov qword [rbp - 0x78], 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 0x1401d1dfb
lock inc dword [rcx + 8]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi + 8]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rcx
mov rcx, qword [rdi]
test rcx, rcx
je 0x1401d1e16
lock inc dword [rcx + 8]
mov rcx, qword [rdi]
mov rax, qword [rdi - 8]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rcx
lea r8, [rbp + 0x20]
lea rdx, [rbp + 0x30]
mov rcx, r15
call fcn.1401aee60
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], rbx
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
mov rax, qword [rax + 0x28]
call qword [str.p76_]
nop
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1401d1e92
mov eax, r13d
lock xadd dword [rbx + 8], eax
add eax, r13d
jne 0x1401d1e92
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401d1e92
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [str.p76_]
add rdi, 0x10
lea rax, [rdi - 8]
cmp rax, r14
jne 0x1401d1dbd
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.1401ae82c
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1401d1efa
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401d1efa
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401d1efa
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401d1fb6
mov rsi, qword [rsp + 0x58]
cmp rcx, rsi
je 0x1401d1f69
lea rdi, [rcx + 8]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1401d1f57
mov eax, r13d
lock xadd dword [rbx + 8], eax
add eax, r13d
jne 0x1401d1f57
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401d1f57
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [str.p76_]
add rdi, 0x10
lea rax, [rdi - 8]
cmp rax, rsi
jne 0x1401d1f16
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401d1fa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401d1fa3
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140356b5c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1401d1ffe
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401d1ffe
mov rbx, qword [rbp - 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401d1ffe
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
lea rcx, [rbp - 0x30]
call fcn.14005e188
nop
lea rax, vtable.sense::CommonTelemetry::GetFileNamesFromCommandLineActivity.0
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x90]
call fcn.1401ae3bc
lea rcx, [rbp + 0x90]
call fcn.1401ad498
nop
lea rax, vtable.sense::CommonTelemetry::ExtractFilesFromCommandLineActionActivity.0
mov qword [rbp + 0x1d0], rax
lea rcx, [rbp + 0x1d0]
call fcn.1401ae3bc
lea rcx, [rbp + 0x1d0]
call fcn.1401ad498
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0x4a0]
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 fcn.14005f030
nop
mov r9d, 0x80004003
lea r8, str.amcorewcd_source_behaviormonitor_srcextractfilesfromcommandlineaction.cpp
mov edx, 0x54
call fcn.140055ee4
int3