Function at 0x1401b15d0
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 [0x14049e510]
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, [0x1403600a8]
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.1401b13dc
nop
call fcn.14004d8a4
mov r10, qword [rax + 8]
lea rbx, [rsi + 0x18]
or r13, 0xffffffffffffffff
cmp dword [r10], 5
jbe 0x1401b17db
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 0x1401b1720
mov rcx, qword [rbx]
lea rdx, [0x140344690]
mov rax, r12
test rcx, rcx
je 0x1401b173f
mov rdx, rcx
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1401b1735
mov qword [rbp + 0x340], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x348], eax
mov dword [rbp + 0x34c], r12d
lea rax, [rsi + 0x38]
mov qword [rbp + 0x350], rax
mov qword [rbp + 0x358], 8
lea rax, [rsi + 0x40]
mov qword [rbp + 0x360], rax
mov qword [rbp + 0x368], 1
lea rax, [rsi + 0x41]
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x378], 1
lea rax, [rsi + 0x42]
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, [0x1403dbbf0]
mov rcx, r10
call fcn.140001158
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, [0x140360080]
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.1401b0e5c
nop
mov r8b, byte [rsi + 0x42]
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1401b1fac
nop
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.14018e668
call fcn.1400569d8
mov rcx, rax
lea rdx, [rbp - 0x80]
call fcn.140077c98
nop
mov rbx, qword [rbp - 0x80]
test rbx, rbx
jne 0x1401b18df
call fcn.1402b9bb8
mov rcx, qword [rbp + 0x3c8]
test rbx, rbx
je 0x1401b1f8e
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
movabs rax, 0xfffffffffffffff
test rdx, rdx
je 0x1401b192e
cmp rdx, rax
ja 0x1401b1fa6
lea rcx, [rsp + 0x50]
call fcn.1400650ac
cmp rdi, qword [rbp - 0x28]
je 0x1401b1bee
lea rdx, [rsi + 0x38]
lea rcx, [rsp + 0x70]
call fcn.1401b2948
nop
mov rax, qword [rdi + 0x10]
cmp rax, qword [0x14049ff10]
jbe 0x1401b1a5e
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x48]
call fcn.140062650
lea r9, [0x14049ff00]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae r9, qword [0x14049ff00]
lea rcx, [rbp + 0x48]
mov rbx, qword [rbp + 0x48]
mov r14, qword [rbp + 0x60]
cmp r14, 8
cmovae rcx, rbx
mov rax, qword [0x14049ff10]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov r15, qword [rbp + 0x58]
mov rdx, r15
call fcn.1401cdb24
lea rcx, [rbp + 0x48]
test rax, rax
jne 0x1401b19c0
call fcn.14004e0f0
jmp 0x1401b1a78
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 6
lea r9, str.pipe_
xor r8d, r8d
mov rdx, r15
call fcn.1401cdb24
mov r12, rax
test rax, rax
je 0x1401b1a52
lea rcx, [rbp + 0x48]
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 2
lea r9, [0x140369024]
xor r8d, r8d
mov rdx, r15
call fcn.1401cdb24
test rax, rax
jne 0x1401b1a52
lea rcx, [rbp + 0x48]
cmp r14, 8
cmovae rcx, rbx
mov qword [rsp + 0x20], 1
lea r9, [0x140347380]
lea r8d, [rax + 2]
mov rdx, r15
call fcn.1401cdb24
cmp rax, r12
jne 0x1401b1a52
lea rcx, [rbp + 0x48]
call fcn.14004e0f0
xor r12d, r12d
jmp 0x1401b1a78
lea rcx, [rbp + 0x48]
call fcn.14004e0f0
xor r12d, r12d
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401b1a6b
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 0x1401b1a7b
mov r14b, r12b
test r14b, r14b
je 0x1401b1b5f
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.140204c5c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401b1aa5
lock inc dword [rcx + 8]
movaps xmm0, xmmword [rbp - 0x80]
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 - 0x70]
call fcn.1401f8fb4
mov rax, qword [rbp - 0x70]
test byte [rax + 0x120], 0x10
je 0x1401b1af8
mov r14b, r12b
jmp 0x1401b1b0a
mov rcx, qword [rsp + 0x70]
add rcx, 0x60
lea rdx, [rbp - 0x70]
call fcn.14006bc0c
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1401b1b51
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401b1b51
mov rbx, qword [rbp - 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401b1b51
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
lea rcx, [rbp + 0x68]
call fcn.14004e0f0
test r14b, r14b
jne 0x1401b1b82
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x70], 2
add rcx, 0x78
mov rdx, rdi
call fcn.140064f70
test r14b, r14b
jne 0x1401b1b82
cmp byte [rsi + 0x41], r12b
je 0x1401b1b92
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140054f24
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401b1bdc
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401b1bdc
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1401b1bdc
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
add rdi, 0x20
cmp rdi, qword [rbp - 0x28]
jne 0x1401b1938
or r13, 0xffffffffffffffff
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jne 0x1401b1c6f
cmp byte [rsi + 0x40], r12b
je 0x1401b1c6f
lea rdx, [rsi + 0x38]
lea rcx, [rbp - 0x60]
call fcn.1401b2948
nop
mov rax, qword [rbp - 0x60]
mov dword [rax + 0x70], SafeArrayUnlock
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.140054f24
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x1401b1c6f
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401b1c6f
mov rbx, qword [rbp - 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401b1c6f
mov rcx, qword [rbp - 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
call fcn.1400569d8
mov rcx, rax
lea rdx, [rbp - 0x50]
call fcn.14018e928
nop
cmp qword [rbp - 0x50], r12
jne 0x1401b1c8c
call fcn.1402b9bb8
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
cmp rdi, r14
je 0x1401b1d8a
add rdi, 8
mov ecx, 0x30
call fcn.1402e0358
mov rbx, rax
mov qword [rsp + 0x68], 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 0x1401b1ce2
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 0x1401b1cfd
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.14018ebf0
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 [case.0x140245398.0]
nop
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1401b1d79
mov eax, r13d
lock xadd dword [rbx + 8], eax
add eax, r13d
jne 0x1401b1d79
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401b1d79
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
add rdi, 0x10
lea rax, [rdi - 8]
cmp rax, r14
jne 0x1401b1ca3
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.14018e668
nop
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1401b1de1
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401b1de1
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401b1de1
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401b1eb8
mov rsi, qword [rsp + 0x58]
cmp rcx, rsi
je 0x1401b1e50
lea rdi, [rcx + 8]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1401b1e3e
mov eax, r13d
lock xadd dword [rbx + 8], eax
add eax, r13d
jne 0x1401b1e3e
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401b1e3e
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
add rdi, 0x10
lea rax, [rdi - 8]
cmp rax, rsi
jne 0x1401b1dfd
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
sub rax, rcx
sar rax, 4
mov rdx, rcx
movabs r8, 0xfffffffffffffff
cmp rax, r8
ja 0x1401b1f87
shl rax, 4
cmp rax, 0x1000
jb 0x1401b1ea5
test dl, 0x1f
jne 0x1401b1f87
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x1401b1f87
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
ja 0x1401b1f87
call fcn.1402e0278
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1401b1f00
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x1401b1f00
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1401b1f00
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
nop
lea rcx, [rbp - 0x30]
call fcn.1400593e8
nop
lea rax, vtable.sense::CommonTelemetry::GetFileNamesFromCommandLineActivity.0
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x90]
call fcn.14018e25c
lea rcx, [rbp + 0x90]
call fcn.14018d5d4
nop
lea rax, vtable.sense::CommonTelemetry::ExtractFilesFromCommandLineActionActivity.0
mov qword [rbp + 0x1d0], rax
lea rcx, [rbp + 0x1d0]
call fcn.14018e25c
lea rcx, [rbp + 0x1d0]
call fcn.14018d5d4
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.1402dfdb0
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 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, 0x53
call fcn.14005bcd4
nop
call fcn.14005510c
int3